That was the wrong topic, I'm trying to find the right one....but
in the meantime.
The action string
is not evaluated and rendered in the page as a string of the form fruitHome.createNew(10). Instead the raw action expression is checked against raw action expressions defined in navigation rules. So if you have a navigation rule that says
then that navigation rule will be executed.
Thanks for the pointer. I found some JIRA tickets dated back in 2006 about seam supporting passing object as parameters on action but looks like it's dropped now. I've changed the s:link approach and opted for the more traditional approach through conditional action in the page.xml.