You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by lightbulb432 <ve...@hotmail.com> on 2007/05/18 19:12:58 UTC
Tiles fragment as XML
How can I use the Tiles page shown below from the Tiles distribution example
WAR in an editor that expects XML?
What would the root XML element of this fragment be?
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
<tiles:insertTemplate template="/putattributeslayout.jsp">
<tiles:putAttribute name="stringTest" value="This is a string"
type="string" />
<tiles:putListAttribute name="list">
<tiles:addAttribute value="valueOne" type="string" />
<tiles:addAttribute value="valueTwo" type="string" />
<tiles:addAttribute value="valueThree" type="string" />
</tiles:putListAttribute>
</tiles:insertTemplate>
--
View this message in context: http://www.nabble.com/Tiles-fragment-as-XML-tf3778935.html#a10686183
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Tiles fragment as XML
Posted by Antonio Petrelli <an...@gmail.com>.
2007/5/18, lightbulb432 <ve...@hotmail.com>:
>
> How can I use the Tiles page shown below from the Tiles distribution example
> WAR in an editor that expects XML?
Please ask this question, regarding Tiles 2, in Tiles Users mailing list:
http://tiles.apache.org/mail-lists.html
Antonio
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
[OT] Re: Tiles fragment as XML
Posted by Dave Newton <ne...@yahoo.com>.
--- lightbulb432 <ve...@hotmail.com> wrote:
> How can I use the Tiles page shown below from the
> Tiles distribution example
> WAR in an editor that expects XML?
>
> What would the root XML element of this fragment be?
It's JSP.
d.
____________________________________________________________________________________You snooze, you lose. Get messages ASAP with AutoCheck
in the all-new Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/newmail_html.html
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org