[ http://issues.apache.org/jira/browse/MYFACES-924?page=comments#action_12359944 ]
Volker Weber commented on MYFACES-924: -------------------------------------- Hm, i don't see how this could work with jsf. Did you map the 'EntityDetails' url to a special servlet or have you a custom ViewHandler? But i don't think this is a typycal tobago usecase and so i don't see it included soon. Anyway you can do this by using a action with type=script (see my first comment). @ all (especially other tobago comitters): Any other thoughts to this issue? > 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