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

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

This is a problem of the jsf spec.
We can't solved this in tobago this must be solved in the spec.
Maybe it is solved in a future version of the spec but I don't expect a 
solution so far.

The other problem is the bookmarking. 
The request of the bookmark would be a non faces request generates a faces 
response.
This must be handled by a special servlet

But I have setup a working example how your use-case can handled by jsf.

Please look at the tobago-example-test web app.

The url of the example would be http://localhost:8080/faces/solarDetail.jsp.
The name is a link to a detail page.





> 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