users@javaserverfaces.java.net

Re: multiple view instances?

From: Jay Houghton <jhoughton_at_limebrokerage.com>
Date: Thu, 17 May 2007 13:09:25 -0400

noah wrote:
> You're looking for something like Seam's conversationScope or Apache
> Trinidad's pageFlowScope. I believe Trinidad works in 1.2 without any
> major issues. Seam is supposed to as well.

Thanks, I did take a look at Trinidad. It does have the 'conversational'
scoping functionality, but does not have the capability to do multiple
instances of the same view.

I wonder if any other have had the need to launch two instances of the
same root view.


>> I've seen mention of a "window identifier" in the 1.2 spec and some RI
>> patches (Issue 28
>> https://javaserverfaces.dev.java.net/issues/show_bug.cgi?id=28) but the
>> latest RI code no longer contains reference to this functionality
>> (removed?). I've attempted to test this case, bringing up the same view
>> in two frames (or two browsers - same session, or two divs using Dojo).
>> But the state is still shared between the two views.
>>
>> What configuration and/or calls need to be made to support multiple
>> instances of the same view?
>>
>> Using request scope isn't an option I'd like to consider, as I'd like
>> some of these views use state and have some non-trivial navigation.
>>
>> I see that Tiles may have solved this also, by implementing a
>> ViewHandler to manipulate the view ids.
>>
>> Any help/pointers is much appreciated.
>>
>> -Jay
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_javaserverfaces.dev.java.net
>> For additional commands, e-mail: users-help_at_javaserverfaces.dev.java.net
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_javaserverfaces.dev.java.net
> For additional commands, e-mail: users-help_at_javaserverfaces.dev.java.net
>
>