Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Invalid
-
5.0.11
-
None
-
None
Description
Disabling JavaScript in the browser the update of a Zone after a click on ActionLink doesn't work.
Here are the snippets of the template:
<t:zone t:id="viewZone"/>
....
<t:block id="userDetails">.....</t:block>
...
<t:actionlink t:id="view" zone="viewZone" context="user.id">View</t:actionlink>
The action method returns the block "userDetails".
@Inject
private Block userDetails;
Object onActionFromView(long id)
{ detailUser = userDAO.find(id); return userDetails; }When JavaScript is disabled, following exception is thrown:
An unexpected application exception has occurred.
A component event handler method returned the value org.apache.tapestry.internal.structure.BlockImpl@21b42f. Return type org.apache.tapestry.internal.structure.BlockImpl can not be handled. Configured return types are java.lang.Class, java.lang.String, java.net.URL, org.apache.tapestry.Link, org.apache.tapestry.StreamResponse, org.apache.tapestry.runtime.Component.