You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Ondrej Zizka <sp...@seznam.cz> on 2008/11/23 14:04:34 UTC
Missing #if> in simple/submit.ftl
Maybe I'm wrong, but shouldn't there be one more </#if> in
template/simple/submit.ftl?
The structure is as follows:
<#if parameters.type?exists && parameters.type=="button">
<button type="submit"<#rt/>...</button>
<#else>
<#if parameters.type?exists && parameters.type=="image">
<input type="image"<#rt/> ... />
</#if>
???
At the place marked by ???, I guess there should be one more closing </#if>.
Correct me if I'm wrong.
Ondra Zizka
--
View this message in context: http://www.nabble.com/Missing-%3C--if%3E-in-simple-submit.ftl-tp20646009p20646009.html
Sent from the Struts - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: Missing #if> in simple/submit.ftl
Posted by Musachy Barroso <mu...@gmail.com>.
That "if" is closed at the end:
<#if parameters.type?exists && parameters.type=="image">
...
<#else>
<input type="submit"<#rt/>
</#if>
....
</#if> <-- here
musachy
On Sun, Nov 23, 2008 at 8:04 AM, Ondrej Zizka <sp...@seznam.cz> wrote:
>
> Maybe I'm wrong, but shouldn't there be one more </#if> in
> template/simple/submit.ftl?
>
> The structure is as follows:
>
> <#if parameters.type?exists && parameters.type=="button">
> <button type="submit"<#rt/>...</button>
>
> <#else>
> <#if parameters.type?exists && parameters.type=="image">
> <input type="image"<#rt/> ... />
> </#if>
> ???
>
> At the place marked by ???, I guess there should be one more closing
> </#if>.
> Correct me if I'm wrong.
>
> Ondra Zizka
> --
> View this message in context:
> http://www.nabble.com/Missing-%3C--if%3E-in-simple-submit.ftl-tp20646009p20646009.html
> Sent from the Struts - Dev mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>
--
"Hey you! Would you help me to carry the stone?" Pink Floyd