History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: LOOM-122
Type: Bug Bug
Status: Closed Closed
Resolution: Won't Fix
Priority: Major Major
Assignee: Ignacio Coloma
Reporter: Rafael Serrano Fernandez
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Loom

<l:url> cannot point to @DELETE events

Created: 26/Nov/08 03:38 PM   Updated: 18/May/09 09:41 PM
Component/s: Loom JSP tags
Affects Version/s: 1.0
Fix Version/s: 1.5


 Description  « Hide
Loom doesn't complain about <l:url> tags that point to an event marked with @DELETE which is wrong (the browser sends a GET request). Therefore an exception should be thrown.

In fact, clicking on the link doesn't call the desired event.

 All   Comments   Change History      Sort Order:
Ignacio Coloma - 18/May/09 09:38 PM
Won't fix. Actually, there is the possibility of generating a <a href> pointing to a non-GET event, using Ajax to launch the request (actually, the Rails people have been doing so for some time).

Right now, the event will be rendered but a method attribute has been added. It is responsibility of the application developer to do something with the generated attribute, otherwise a GET request will be used (which, as pointed out, will probably not point to the desired event, if any).