[ http://issues.apache.org/jira/browse/MYFACES-924?page=comments#action_12359935 ]
Volker Weber commented on MYFACES-924: -------------------------------------- on which page (EntityList or EntityDetails) did you use this link? did you need the form values submitted? if not you can use <t:link label="#{currEntity.name}" type="navigate" action="EntityDetails?id=#{currEntity.id}" rendered="#{!currEntity.directory}" /> > REST Support > ------------ > > Key: MYFACES-924 > URL: http://issues.apache.org/jira/browse/MYFACES-924 > Project: MyFaces > Type: Improvement > Components: Tobago > Reporter: Olexandr Zakordonskyy > > On the action controls we need submitURL attriute. > This url means the URL where the request should be send. > You may add new function: > function submitActionWithURL(formId, actionId, actionURL) { > setAction(formId, actionId); > var form = document.getElementById(formId); > if (form) { > form.action = actionURL; > form.submit(); > } > } > First 2 parameters will be as in submitAction functions. > actionURL - the url where to send request to execute action. > This function may be rendered if actionURL is not null instead of > submitAction. > We need this functionality to support REST-style navigation. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira