webtier@glassfish.java.net

Re: JSF Issue

From: John Yeary <johnyeary_at_gmail.com>
Date: Mon, 5 Sep 2011 11:50:06 -0400

Please check out the Java EE 6 tutorial, but in general the scope of the
bean should be set to as small as possible a scope like request scope.

On Mon, Sep 5, 2011 at 6:05 AM, <forums_at_java.net> wrote:

> Guys
>
> My first post here so please bare with me. I have a web application that
> uses
> JSF components. One of the pages is a details page and this is made-up of a
> number of those components. Users can open mulriple instances of this page.
>
> I have the following probklem which I would appreciate your help with.
>
> 1) User opens window (A)
> 2) User opens window (B)
> 3) User enters data in window (A) and submits
> 4) User refreshes window (B)
> 5) Data entered in window (A) appears in window (B)
>
> Is it possible that the JSF components used for window (A) are also used by
> window (B)? If this is the case, how can I prevent this from happening?
>
> Regards
>
> Patrick
>
>
> --
>
> [Message sent by forum member 'zzpprk']
>
> View Post: http://forums.java.net/node/**840129<http://forums.java.net/node/840129>
>
>
>


-- 
John Yeary
--
http://javaevangelist.blogspot.com
http://www.johnyeary.com
*_at_jyeary*
"Far better it is to dare mighty things, to win glorious triumphs, even
though checkered by failure, than to take rank with those poor spirits who
neither enjoy much nor suffer much, because they live in the gray twilight
that knows not victory nor defeat."
-- Theodore Roosevelt