Werner Punz | 2 Jul 10:17 2007
Picon

Re: How to handle links outside a SCXML Dialog?

Ok first of all
I added an issue
https://issues.apache.org/struts/browse/SHALE-453

to streamline this discussion.

Craig McClanahan schrieb:
> On 6/29/07, Werner Punz <werner.punz <at> gmail.com> wrote:
>> Rahul Akolkar schrieb:
>>
>> > I suspect this will be relevant to both implementations. By design, it
>> > helps to think of a dialog as a complete model. However, I think we
>> > have talked about bits like headers, footers and navigation bars some
>> > time ago, and one of the things that could be done is to wire each
>> > "outside" link to an action that checks whether there is an active
>> > DialogContext and stop()s it, if there is one.
>> >
>> > See bottom of this page for some documentation on terminating dialogs:
>> >
>> > http://shale.apache.org/shale-dialog/index.html (v1.1.0-SNAP)
>> >
>> > -Rahul
>> >
>> >
>> This is lots of wiring, and does not cover the case of a user typing in
>> an outside url of the application manually or pushing it in via a
>> bookmark.
>>
>> I assume the best option would be to leave it open for a short period of
>> time of a few minutes and then do some garbage collecting of tangeling
(Continue reading)

Zarick Lau | 2 Jul 15:59 2007
Picon

Shale-tiger and Spring 2

Dear list,

Our project currently using JSF RI 1.2, facelets 1.1.11, trinidad 1.0.1. and
spring2.

I've just added shale-core (for ViewController) into our project.
I'm also try to add shale-tiger, however, once shale-tiger are added.

Spring's integration stop working. We're currently using
org.springframework.web.jsf.DelegatingVariableResolver

To inject spring bean into normal JSF backing bean.

Is it a legitimate use case for mixing spring2, jsf-ri and shale-tiger
together?

Regards,
Zarick
mario.buonopane | 2 Jul 17:45 2007
Picon

How know dialog name in onStart method of AbstractDialogContextListener

Hi, 

i'm using Shale Basic Dialog 1.1.0 and I have a my DialogContextListener
extending AbstractDialogContextListener. In the onStart() method I need
to know the dialog name is starting. How can I know it?

Thanks in advance

Mario Buonopane

This message is for the designated recipient only and may contain privileged, proprietary, or otherwise
private information.  If you have received it in error, please notify the sender immediately and delete
the original.  Any other use of the email by you is prohibited.
Rahul Akolkar | 2 Jul 19:01 2007
Picon

Re: How know dialog name in onStart method of AbstractDialogContextListener

On 7/2/07, mario.buonopane <at> accenture.com <mario.buonopane <at> accenture.com> wrote:
> Hi,
>
> i'm using Shale Basic Dialog 1.1.0 and I have a my DialogContextListener
> extending AbstractDialogContextListener. In the onStart() method I need
> to know the dialog name is starting. How can I know it?
>
<snip/>

public void onStart() {

    String dialogName = getDialogContext().getName();
    // ...

}

-Rahul

>
>
> Thanks in advance
>
> Mario Buonopane
>
>

Craig McClanahan | 2 Jul 19:48 2007
Picon

Re: Shale-tiger and Spring 2

On 7/2/07, Zarick Lau <zarick <at> gmail.com> wrote:
> Dear list,
>
> Our project currently using JSF RI 1.2, facelets 1.1.11, trinidad 1.0.1. and
> spring2.
>
> I've just added shale-core (for ViewController) into our project.

What version of Shale are you using?  From version 1.0.4 (the current
on) onwards, the ViewController stuff is in shale-view-xxx.jar, not
shale-core-xxx.jar.

> I'm also try to add shale-tiger, however, once shale-tiger are added.
>
> Spring's integration stop working. We're currently using
> org.springframework.web.jsf.DelegatingVariableResolver
>
> To inject spring bean into normal JSF backing bean.
>
> Is it a legitimate use case for mixing spring2, jsf-ri and shale-tiger
> together?

It should indeed by a legitimate use case.  I suspect there might be
something going on with the order that the resolvers are loaded ...
will need to do some investigation to figure that out.

Craig

>
> Regards,
(Continue reading)

mario.buonopane | 2 Jul 20:38 2007
Picon

RE: How know dialog name in onStart method of AbstractDialogContextListener

No, does not work because getDialogContext().getName() returns null
(also in onStop() method).
Does work in onEntry(String stateId)....

Any suggestion?

-----Original Message-----
From: Rahul Akolkar [mailto:rahul.akolkar <at> gmail.com] 
Sent: 2 luglio 2007 19.01
To: user <at> shale.apache.org
Subject: Re: How know dialog name in onStart method of
AbstractDialogContextListener

On 7/2/07, mario.buonopane <at> accenture.com <mario.buonopane <at> accenture.com>
wrote:
> Hi,
>
> i'm using Shale Basic Dialog 1.1.0 and I have a my
DialogContextListener
> extending AbstractDialogContextListener. In the onStart() method I
need
> to know the dialog name is starting. How can I know it?
>
<snip/>

public void onStart() {

    String dialogName = getDialogContext().getName();
    // ...

(Continue reading)

Rahul Akolkar | 2 Jul 21:19 2007
Picon

Re: How know dialog name in onStart method of AbstractDialogContextListener

On 7/2/07, mario.buonopane <at> accenture.com <mario.buonopane <at> accenture.com> wrote:
> No, does not work because getDialogContext().getName() returns null
> (also in onStop() method).
> Does work in onEntry(String stateId)....
>
> Any suggestion?
>
<snip/>

Indeed, I see, it has to do with some internals of the basic
implementation (the "positions" stack happens to be empty in both
cases).

Please raise an issue in JIRA [1] (component "Dialog").

-Rahul

[1] http://issues.apache.org/struts/browse/SHALE

>
>
> -----Original Message-----
> From: Rahul Akolkar [mailto:rahul.akolkar <at> gmail.com]
> Sent: 2 luglio 2007 19.01
> To: user <at> shale.apache.org
> Subject: Re: How know dialog name in onStart method of
> AbstractDialogContextListener
>
> On 7/2/07, mario.buonopane <at> accenture.com <mario.buonopane <at> accenture.com>
> wrote:
(Continue reading)

Zarick Lau | 3 Jul 03:37 2007
Picon

Re: Shale-tiger and Spring 2

>
> > Our project currently using JSF RI 1.2, facelets 1.1.11, trinidad 1.0.1.
> and
> > spring2.
> >
> > I've just added shale-core (for ViewController) into our project.
>
> What version of Shale are you using?  From version 1.0.4 (the current
> on) onwards, the ViewController stuff is in shale-view-xxx.jar, not
> shale-core-xxx.jar.

Yes, you're right.
I'm using shale-view and shale-core.

> I'm also try to add shale-tiger, however, once shale-tiger are added.
> >
> > Spring's integration stop working. We're currently using
> > org.springframework.web.jsf.DelegatingVariableResolver
> >
> > To inject spring bean into normal JSF backing bean.
> >
> > Is it a legitimate use case for mixing spring2, jsf-ri and shale-tiger
> > together?
>
> It should indeed by a legitimate use case.  I suspect there might be
> something going on with the order that the resolvers are loaded ...
> will need to do some investigation to figure that out.

You mean, shale-tiger also providing a resolvers.
The order of shale-resolver and spring resolver is not correct?
(Continue reading)

Kito D. Mann | 3 Jul 04:20 2007

RE: Shale-tiger and Spring 2

Craig, does Shale really need the Spring integration anymore? Does it do
anything that Spring 2 doesn't?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kito D. Mann - Author, JavaServer Faces in Action
http://www.virtua.com - JSF/Java EE consulting, training, and mentoring
http://www.JSFCentral.com - JavaServer Faces FAQ, news, and info

* Sign up for the JSF Central newsletter!
http://oi.vresp.com/?fid=ac048d0e17 *

> -----Original Message-----
> From: craigmcc <at> gmail.com [mailto:craigmcc <at> gmail.com] On Behalf Of Craig
> McClanahan
> Sent: Monday, July 02, 2007 1:49 PM
> To: user <at> shale.apache.org
> Subject: Re: Shale-tiger and Spring 2
> 
> On 7/2/07, Zarick Lau <zarick <at> gmail.com> wrote:
> > Dear list,
> >
> > Our project currently using JSF RI 1.2, facelets 1.1.11, trinidad
> 1.0.1. and
> > spring2.
> >
> > I've just added shale-core (for ViewController) into our project.
> 
> What version of Shale are you using?  From version 1.0.4 (the current
> on) onwards, the ViewController stuff is in shale-view-xxx.jar, not
> shale-core-xxx.jar.
(Continue reading)

Craig McClanahan | 3 Jul 05:24 2007
Picon

Re: Shale-tiger and Spring 2

On 7/2/07, Zarick Lau <zarick <at> gmail.com> wrote:
> >
> > > Our project currently using JSF RI 1.2, facelets 1.1.11, trinidad 1.0.1.
> > and
> > > spring2.
> > >
> > > I've just added shale-core (for ViewController) into our project.
> >
> > What version of Shale are you using?  From version 1.0.4 (the current
> > on) onwards, the ViewController stuff is in shale-view-xxx.jar, not
> > shale-core-xxx.jar.
>
>
> Yes, you're right.
> I'm using shale-view and shale-core.
>
> > I'm also try to add shale-tiger, however, once shale-tiger are added.
> > >
> > > Spring's integration stop working. We're currently using
> > > org.springframework.web.jsf.DelegatingVariableResolver
> > >
> > > To inject spring bean into normal JSF backing bean.
> > >
> > > Is it a legitimate use case for mixing spring2, jsf-ri and shale-tiger
> > > together?
> >
> > It should indeed by a legitimate use case.  I suspect there might be
> > something going on with the order that the resolvers are loaded ...
> > will need to do some investigation to figure that out.
>
(Continue reading)


Gmane