Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-2168

Degradable partial updates to the client side

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 5.0.11
    • None
    • JavaScript
    • 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.

      Attachments

        Activity

          People

            hlship Howard Lewis Ship
            igor.drobiazko Igor Drobiazko
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: