You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org> on 2008/10/28 21:09:44 UTC

[jira] Closed: (TAP5-30) Problem with HTML Markup in Block when updating a Zone

     [ https://issues.apache.org/jira/browse/TAP5-30?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship closed TAP5-30.
------------------------------------

    Resolution: Duplicate
      Assignee: Howard M. Lewis Ship

TAP5-290

> Problem with HTML Markup in Block when updating a Zone
> ------------------------------------------------------
>
>                 Key: TAP5-30
>                 URL: https://issues.apache.org/jira/browse/TAP5-30
>             Project: Tapestry 5
>          Issue Type: Bug
>    Affects Versions: 5.0.15
>         Environment: Windows
> Tomcat 5.5
> JDK 1.5.0_11
>            Reporter: Christophe Cordenier
>            Assignee: Howard M. Lewis Ship
>            Priority: Minor
>
> I have a simple action link that update a zone with a Block.
> I have implemented the Layout pattern and my Layout template starts with : 
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd">
> ...
> </html>
> If the block returned by the method associated with my actionlink contains HTML Markup like a simple <div>...</div>, I have this error :
> [ERROR] RequestExceptionHandler Processing of request failed with uncaught exception: Namespace prefix for URI 'http://www.w3.org/1999/xhtml' is not defined.
> java.lang.RuntimeException: Namespace prefix for URI 'http://www.w3.org/1999/xhtml' is not defined.
> ...
> The errors seems to be due to the partial request handling, when a HTML element is transformed in the "toMarkup" method, it looks for the parent to know the mapping for the "http://www.w3.org/1999/xhtml" namespace and fails because parent is "null" due to partial rendering.

-- 
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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org