Hi,
I have more details on my issue. Browsing this forum I found some info but
no solution. It looks like my backing bean get initialize twice. The first
time it gets everything initialized right but for some reason it get
re-initialized with nulls params... How do I avoid the second
re-initialization? The userList/userForm behavior is what I'm looking for
and I can't find the differences..
Both my list and my Form are in request scope exactly like the
userList/userForm.
Thanks
ycharron wrote:
>
> Hi guys,
> I'm currently experimenting with JSF and I am struggling with a new
> basic form that I've added based on the userForm . The issue is that for
> some reason my row id is being set twice. The first time I can see that my
> param is being set, the edit() method retrieve the correct values from the
> db and finally issues the correct navigation outcome. Now for some reason
> the setRowId(String _rowId) is called again but this time with a null
> value in the param which causes my form the be empty. I’m trying the same
> approach of the userForm and I still no success. Any pointer would be
> super appreciated.
>
> Bean declaration:
>
> <managed-bean>
> <managed-bean-name>someForm</managed-bean-name>
> <managed-bean-
> class>appfuse.app.webapp.action.someForm</managed-bean-class>
> <managed-bean-scope>request</managed-bean-scope>
> <managed-property>
> <property-name>rowId</property-name>
> <value>#{param.rowId}</value>
> </managed-property>
> <managed-property>
> <property-name>someManager</property-name>
> <value>#{someManager}</value>
> </managed-property>
> </managed-bean>
>
> List view call:
> <h:commandLink action="#{someForm.edit}" value="#{some.id}">
> <f:param name="rowId" value="#{some.id}"/>
> </h:commandLink>
>
> Thanks Yves
>
>
--
View this message in context:
http://www.nabble.com/Appfuse-2.0.2-JSF-Archetype----Form-request-scope-not-working-tp20205896s2369p20209012.html
Sent from the AppFuse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]