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

Don Brown moved STR-2747 to SHALE-159:
--------------------------------------

      Project: Shale  (was: Struts Action 1)
          Key: SHALE-159  (was: STR-2747)
    Component:     (was: Shale)
      Version:     (was: Nightly Build)
    Assign To:     (was: Struts Developer Mailing List)

> Symbol attributes only work as all lower-case
> ---------------------------------------------
>
>          Key: SHALE-159
>          URL: http://issues.apache.org/struts/browse/SHALE-159
>      Project: Shale
>         Type: Bug

>  Environment: Operating System: Linux
> Platform: PC
>     Reporter: Richarad Wallace

>
> I have the clay definition:
>    <component jsfid="commonPageLayout" extends="clay">
>       <attributes>
>           <set name="clayJsfid" value="/templates/common.html" />
>       </attributes>
>       <symbols>
>           <set name="@title" value="#{labels.map['default.title']}" />
>           <set name="@headercontent" value="/templates/common/header.html" />
>           <set name="@leftcontent" value="/templates/common/left.html" />
>           <set name="@bodycontent" value="space" />
>           <set name="@footercontent" value="/templates/common/footer.html" />
>       </symbols>
>    </component> 
> If I try and change the names of the symbols @headercontent, @leftcontent,
> @bodycontent, and @footercontent so that some letter in them is capitalized
> (I've tried headerContent, heaDercontent, heaDerContent, and other variations 
> to
> make sure there's nothing special going on), and go through and change the 
> usage
> of them _everywhere_ then defining a page that overrides those settings 
> doesn't
> work.  So normally I might have something like
> <html jsfid="commonPageLayout"
>      bodycontent="/testtemplatingbody.html"
>      leftcontent="/templates/blank.html"
>      allowBody="false">
>   <head><title>Mock Header</title></head>
>   <body>The entire document is replaced by the layout.</body>
> </html>
> And that works great.  But if I change all the symbol names to have a capital 
> C,
> Clay seems to ignore the settings in the page definition and just use the
> default values for commonPageLayout.

-- 
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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to