Issue Details (XML | Word | Printable)

Key: SHALE-279
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Gary VanMatre
Reporter: Gary VanMatre
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Shale

The prefix used to declare clay template namespaces can not be overridden

Created: 13/Sep/06 02:13 AM   Updated: 23/Jan/07 04:40 PM
Return to search
Component/s: Clay
Affects Version/s: 1.0.3
Fix Version/s: 1.0.4


 Description  « Hide
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">



 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Repository Revision Date User Message
ASF #442798 Wed Sep 13 02:26:16 UTC 2006 gvanmatre The clay template prefix to define namespaces no longer need to be identical to the prefix used to define the component definition (SHALE-279).
Files Changed
MODIFY /shale/framework/trunk/shale-clay/src/main/resources/org/apache/shale/clay/parser/builder/chain/shale-builder-config.xml
MODIFY /shale/framework/trunk/shale-clay/src/main/java/org/apache/shale/clay/parser/builder/JsfDefaultBuilder.java
MODIFY /shale/framework/trunk/shale-clay/src/main/java/org/apache/shale/clay/parser/builder/chain/JsfDefaultBuilderRule.java

Repository Revision Date User Message
ASF #442799 Wed Sep 13 02:31:51 UTC 2006 gvanmatre Example for SHALE-279. Added example of using alternate namespace prefixes.
Files Changed
MODIFY /shale/sandbox/shale-clay-mailreader/src/main/webapp/WEB-INF/clay-config.xml
ADD /shale/sandbox/shale-clay-mailreader/src/main/webapp/pages/layout_nsjsp.html
MODIFY /shale/sandbox/shale-clay-mailreader/src/main/webapp/pages/mainMenu_nsjsp.html