Note one thing about <s:link> (I renamed it yesterday): it does NOT do form 
submissions. It is purely for things like search screens and master-detail 
views. What it *does* support is:

Calling Actions:

<s:link action="#{my.actionMethod}"/>

Or Navigation Rules:

<s:link action="success"/>
  |   | 
  |   | Linking to a view by JSF view id:
  |   | 
  |   | <s:link view="/myView.xhtml"/>
  |   | 
  |   | Both at Once:
  |   | 
  |   | <s:link action="#{before.myView}" view="/myView.xhtml"/>
  |   | 
  |   | Specifying the conversation propagation type:
  |   | 
  |   | <s:link action="#{childEditor.selectChild}" propagation="nest"/>
  |   | 
  |   | <s:link action="#{childEditor.selectChild}" propagation="begin"/>
  |   | 
  |   | <s:link action="#{childEditor.selectChild}" propagation="end"/>
  |   | 
  |   | <s:link action="#{childEditor.selectChild}" propagation="join"/>
  |   | 
  |   | <s:link action="#{childEditor.selectChild}" propagation="none"/>
  |   | 
  |   | Finally, if you use <s:link> inside a <h:dataTable> that is pointed to 
a @DataModel, the @DataModelSelection is populated.
  |   | 
  |   | ---
  |   | 
  |   | I don't see how it is helpful to have <s:link> support the JAAS stuff 
if other stuff like <h:commandLink> and <h:inputText> do not ... or are you 
assuming that users will be using this stuff together with a library like 
tomahawk that *does* support it?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934271#3934271

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3934271


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to