[ 
https://issues.apache.org/jira/browse/TRINIDAD-970?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12664495#action_12664495
 ] 

Dominic Spring commented on TRINIDAD-970:
-----------------------------------------

I ran into the same problem using myFaces1.1.5 with Facelets 1.1.14 and 
Trinidad 1.0.4.

I have two forms on my page. In one of the forms I have a commandLink which 
triggers an action listener in my backing bean using PPR. In the action 
listener method I set an attribute of the page flow scope. The problem is that 
on form submit, I get a null value on the page flow scope attribute which was 
set previously.
This works fine if I remove the first form or if I remove the PPR from the 
commandLink.

So it seems that PPR does not work with mulitple forms on a page. 

Has this been fixed in recent releases ? If not, is it planned to be fixed in a 
future release ?

Thank you,

Dominic

> PPR and multiple forms
> ----------------------
>
>                 Key: TRINIDAD-970
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-970
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>    Affects Versions: 1.2.5-core, 1.2.6-core
>         Environment: JSF 1.2 Sun, Facelets 1.1.14 (Trinidad 1.2.7 Snapshot)
>            Reporter: Tomas Cerny
>
> I tried to use newer Trinidad, (I had 1.2.1) and got in troubles with 
> multiple forms.
> I have a dialog that sets a value to my bean. When I have just one form in my 
> view then everything is ok. 
> When I have more forms than it will set the value, but on form submit it 
> crashes because property is null. 
> Could be id generation problem which does not set id to form hidden input
> <input type="hidden" value="teamFormMain" 
> name="org.apache.myfaces.trinidad.faces.FORM"/>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to