struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Musachy Barroso" <musa...@gmail.com>
Subject Re: Missing </#if> in simple/submit.ftl
Date Sun, 23 Nov 2008 15:41:41 GMT
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 <spam.trash@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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message