Degradable partial updates to the client side
---------------------------------------------
Key: TAPESTRY-2168
URL: https://issues.apache.org/jira/browse/TAPESTRY-2168
Project: Tapestry
Issue Type: Improvement
Components: JavaScript
Affects Versions: 5.0.11
Reporter: Igor Drobiazko
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 [EMAIL PROTECTED] 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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]