You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shale.apache.org by "Gary VanMatre (JIRA)" <ji...@apache.org> on 2006/09/13 04:31:32 UTC

[jira] Resolved: (SHALE-279) The prefix used to declare clay template namespaces can not be overridden

     [ http://issues.apache.org/struts/browse/SHALE-279?page=all ]

Gary VanMatre resolved SHALE-279.
---------------------------------

    Fix Version/s: 1.0.4-SNAPSHOT
       Resolution: Fixed

The template prefix no longer has to correspond to the prefix of the jsfid in the component definition.  The URI is matched with the prefix know to the clay markup parser.

Consider the following template fragment:

<span jsfid="void" xmlns:face="http://java.sun.com/jsf/core" 
      xmlns:html="http://java.sun.com/jsf/html"
      xmlns:tom="http://myfaces.apache.org/tomahawk">

<html:form                id="mainMenuForm">

  <tom:messages  globalOnly="true"/>



> The prefix used to declare clay template namespaces can not be overridden
> -------------------------------------------------------------------------
>
>                 Key: SHALE-279
>                 URL: http://issues.apache.org/struts/browse/SHALE-279
>             Project: Shale
>          Issue Type: Bug
>          Components: Clay
>    Affects Versions: 1.0.3
>            Reporter: Gary VanMatre
>         Assigned To: Gary VanMatre
>            Priority: Minor
>             Fix For: 1.0.4-SNAPSHOT
>
>
> The prefix used to declare namespace binding could not differ from the clay component definitions.  For example, when using a tomahawk component, the prefix in the template has to correspond to the prefix used in defining the component in clay's XML metadata.
> Example:
> <span jsfid="void" xmlns:t="http://myfaces.apache.org/tomahawk"
> <component jsfid="t:commandLink"
> 	componentType="org.apache.myfaces.HtmlCommandLink"
> 	extends="baseAction">

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira