[ 
http://issues.apache.org/jira/browse/TOBAGO-2?page=comments#action_12368482 ] 

Iryna Stetska commented on TOBAGO-2:
------------------------------------

This is one of the reasons.
The second reason is to make the the address bar string look adequately.
Also to change the address bar string in accordance with the current page (not 
to see the previous page's url like when using t:link).

Besides, if the user is often using the application, he can instinctivly enter 
some page just by entering the url in the address bar, skipping all the 
sequence of steps which should be performed. (For example, if you need Process 
Details page for the process with id=2 you shouldn't enter Processes page and 
wait till all processes are loaded, you can just enter the 
http://link_to_app/ProcessDetails?id=2).

Don't you find all these reasons sufficient?

> REST Support
> ------------
>
>          Key: TOBAGO-2
>          URL: http://issues.apache.org/jira/browse/TOBAGO-2
>      Project: MyFaces Tobago
>         Type: Improvement
>     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

Reply via email to