myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bernd Bohmann (JIRA)" <...@myfaces.apache.org>
Subject [jira] Commented: (TOBAGO-2) REST Support
Date Wed, 01 Mar 2006 20:40:24 GMT
    [ http://issues.apache.org/jira/browse/TOBAGO-2?page=comments#action_12368353 ] 

Bernd Bohmann commented on TOBAGO-2:
------------------------------------

Thanks for your description.

Do you need the rest style navigation for store this page as a bookmark?



> REST Support
> ------------
>
>          Key: TOBAGO-2
>          URL: http://issues.apache.org/jira/browse/TOBAGO-2
>      Project: MyFaces Tobago
>         Type: Bug
>     Reporter: Olexandr Zakordonskyy
>  Attachments: RESTWrapper functionality description.pdf
>
> 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


Mime
View raw message