On 12-07-03 05:59 AM, Luchs, Marvin wrote:
> Hi,
>
> I am using Apache Tiles 2.2.2 (with Spring) and I am wondering if nobody
> except me had the following problem as I can't find any information
> about it.
>
> In my .jspx file I have the following markup:
>
> <div class="actions">
>    <button><i class="icon-ok"></i> Button 1</button>
>    <button><i class="icon-remove "></i> Button 2</button>
> </div>
>
> When rendered using Apache Tiles it becomes this:
>
> <div class="actions"><button><i class="icon-ok" />Button
> 1</button><button><i class="icon-remove" />Button 2</button></div>
>
> As you can see, there are several modifications to the markup I've
> written.

Hi Marvin,

Apache Tiles is definitely *not* rewriting anything, whatever the version.

I believe your JSP container is the culprit, optimizing the XML tags, either because it's a .jspx instead of .jsp, or perhaps because you use the tag <jsp:root>, or because of some configuration.

I'll refer you to the documentation of your application server.

Hope this helps,
Nick

Reply via email to