You have to define the p: prefix at the top of your TML:

<html ...
      xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd";
      xmlns:p="tapestry:parameter">

mrg


On Mon, Feb 13, 2012 at 9:13 AM, sommeralex <alexander.som...@gmail.com> wrote:
> Hi!
>
> I just want to use a simple t:if statement in my TML file, but it fails with
> the error message The prefix "p" for element "p:else" is not bound.
>
>        <t:if test="folderIsEmpty()">
>                        empty!
>
>                        <p:else>
>                        not empty!
>                        </p:else>
>        </t:if>
>
> --
> View this message in context: 
> http://tapestry.1045711.n5.nabble.com/The-prefix-p-for-element-p-else-is-not-bound-tp5479368p5479368.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to