You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by sL07 <lu...@asteriski.com> on 2006/11/01 07:01:29 UTC

commandnavigation2 and request scope beans

hi all,

i have simple navigation structure. However when the top level
commandnavigation is pressed it performs a submit and either close/expands
menu. 
No problem. 
However when i am using request scope backing beans the close/expands action
causes the backing bean instance is blasted away and the previously
populated form is now empty of data.

How can i prevent this behaviour? 
I am guess that the easy way is to prevent a submit from being done. Is
suitable?

What other strategies are in place to handle this?

many thanks

-lp



<t:commandNavigation2 id="nav_2"
value="#{example_messages['nav_assetManagement']}" action=""
disabled="#{jobForm.name==null}">
        
            <t:commandNavigation2 id="nav_2_4_2"
value="#{example_messages['nav_assetSearch']}" action="go_asset_search" />
            
    </t:commandNavigation2>
-- 
View this message in context: http://www.nabble.com/commandnavigation2-and-request-scope-beans-tf2550436.html#a7108589
Sent from the MyFaces - Users mailing list archive at Nabble.com.