volosied commented on PR #356:
URL: https://github.com/apache/myfaces/pull/356#issuecomment-1310515902
@werpu
To follow up on the f:param problem, I think it's related to the `<f:ajax
execute="@this" render="output" />`:
With f:ajax:
```
hello2: Hello from f:param
Hello World: Hello from f:param2
```
I also noticed the array was structured with curly brackets and
`myfaces.ab` is called.
onclick="faces.util.chain(this,
event,function(event){myfaces.ab(this,event,'action','form1:submitButton2','form1:submitButton2',**{'hello2':'Hello
from f:param','Hello World':'Hello from f:param2'})})**
Without f:ajax:
```
0: hello2,Hello from f:param
1: Hello World,Hello from f:param2
```
Sqaure Brackets and `myfaces.oam.submitForm` is called instead:
onclick="return
myfaces.oam.submitForm('form1','form1:submitButton2',null,**[['hello2','Hello
from f:param'],['Hello World','Hello from f:param2']]**);"
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]