[Trinidad] Lightweight dialogs and Seam conversations?

View: New views
4 Messages — Rating Filter:   Alert me  

[Trinidad] Lightweight dialogs and Seam conversations?

by Stephen Friedrich-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Any body has an idea how to make Trinidad's lighweight dialogs work with Seam conversations?

The "old" solution from the Wiki does not work  ( http://wiki.apache.org/myfaces/Trinidad_And_Seam ).

Antwort: [Trinidad] Lightweight dialogs and Seam conversations?

by wolfgang.toepfer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


There is a Seam JIRA issue with priority minor assigned to it (actually I wonder why minor..)
so. one day, it will probably be solved :<

Our current approach is simply to put the required data from the main conversation into the newly created one,
which is done automatically by Seam if you use the Trinidad 'useWindow' tags such as commandButton.

The result values are sent back by means of the ReturnEvent.

When the dialog is closed, the new conversation is closed as well and the system is switched back to the main one.
 


Stephen Friedrich <trinidad@...>

04.04.2008 14:26
Bitte antworten an
"MyFaces Discussion" <users@...>

An
<users@...>
Kopie
Thema
[Trinidad] Lightweight dialogs and Seam conversations?





Any body has an idea how to make Trinidad's lighweight dialogs work with Seam conversations?

The "old" solution from the Wiki does not work  ( http://wiki.apache.org/myfaces/Trinidad_And_Seam ).


Re: Antwort: [Trinidad] Lightweight dialogs and Seam conversations?

by Stephen Friedrich-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hooray, I finally found a way that works with current Trinidad and Seam versions
for both heavyweight and lighweight dialogs.
See
http://wiki.apache.org/myfaces/Trinidad_And_Seam

wolfgang.toepfer@... wrote:

>
> There is a Seam JIRA issue with priority minor assigned to it (actually
> I wonder why minor..)
> so. one day, it will probably be solved :<
>
> Our current approach is simply to put the required data from the main
> conversation into the newly created one,
> which is done automatically by Seam if you use the Trinidad 'useWindow'
> tags such as commandButton.
>
> The result values are sent back by means of the ReturnEvent.
>
> When the dialog is closed, the new conversation is closed as well and
> the system is switched back to the main one.
>  
>
>
> *Stephen Friedrich <trinidad@...>*
>
> 04.04.2008 14:26
> Bitte antworten an
> "MyFaces Discussion" <users@...>
>
>
>
> An
> <users@...>
> Kopie
>
> Thema
> [Trinidad] Lightweight dialogs and Seam conversations?
>
>
>
>
>
>
>
>
> Any body has an idea how to make Trinidad's lighweight dialogs work with
> Seam conversations?
>
> The "old" solution from the Wiki does not work  (
> http://wiki.apache.org/myfaces/Trinidad_And_Seam ).
>


Antwort: Re: Antwort: [Trinidad] Lightweight dialogs and Seam conversations?

by wolfgang.toepfer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi Stephen,

Congratulations! We tested it and it also works

- without explicitly setting the conversation id in components.xml
- and without passing the cid parameter by f:param

The versions we used are: Trinidad 1.2.5 and Seam 2.0.1

Thanks so much! May I invite you to a beer or two? :))

Best wishes
Wolfgang



Stephen Friedrich <trinidad@...>

07.05.2008 00:51
Bitte antworten an
"MyFaces Discussion" <users@...>

An
MyFaces Discussion <users@...>
Kopie
Thema
Re: Antwort: [Trinidad] Lightweight dialogs and Seam conversations?





Hooray, I finally found a way that works with current Trinidad and Seam versions
for both heavyweight and lighweight dialogs.
See
http://wiki.apache.org/myfaces/Trinidad_And_Seam

wolfgang.toepfer@... wrote:
>
> There is a Seam JIRA issue with priority minor assigned to it (actually
> I wonder why minor..)
> so. one day, it will probably be solved :<
>
> Our current approach is simply to put the required data from the main
> conversation into the newly created one,
> which is done automatically by Seam if you use the Trinidad 'useWindow'
> tags such as commandButton.
>
> The result values are sent back by means of the ReturnEvent.
>
> When the dialog is closed, the new conversation is closed as well and
> the system is switched back to the main one.
>  
>
>
> *Stephen Friedrich <trinidad@...>*
>
> 04.04.2008 14:26
> Bitte antworten an
> "MyFaces Discussion" <users@...>
>
>
>                  
> An
>                  <users@...>
> Kopie
>                  
> Thema
>                  [Trinidad] Lightweight dialogs and Seam conversations?
>
>
>                  
>
>
>
>
>
> Any body has an idea how to make Trinidad's lighweight dialogs work with
> Seam conversations?
>
> The "old" solution from the Wiki does not work  (
> http://wiki.apache.org/myfaces/Trinidad_And_Seam ).
>