You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Alex2222 <ma...@tapestryforums.com> on 2005/12/19 12:56:56 UTC
@Insert with boolean
Hi!
How do I affect the output of a boolean value?
I could write
X
-
But I would like to like to avoid using @components in my *.html-file. How could I archive the same output only with the *.page-file?
Regards,
Alex.
-------------------- m2f --------------------
Sent from www.TapestryForums.com
Read this topic online here: <<topic_link>>
http://www.tapestryforums.com/viewtopic.php?p=12174#12174
-------------------- m2f --------------------
Re: @Insert with boolean
Posted by Martin Strand <ma...@entcap.se>.
Perhaps I misunderstood your question, but this should do the job:
<component id="yourInsertComponent" type="Insert">
<binding name="value" value="ognl:(boolean ? 'X' : '-')"/>
</component>
--Martin
On Mon, 19 Dec 2005 12:56:56 +0100, Alex2222 <ma...@tapestryforums.com>
wrote:
> Hi!
>
> How do I affect the output of a boolean value?
> I could write
>
>
> X
> -
>
>
> But I would like to like to avoid using @components in my *.html-file.
> How could I archive the same output only with the *.page-file?
>
>
> Regards,
> Alex.
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
RE: @Insert with boolean
Posted by Alex2222 <ma...@tapestryforums.com>.
"Martin Strand" wrote:
> Perhaps I misunderstood your question, but this should do the job:
>
>
>
>
>
> --Martin
>
Thank you very much!
Alex.
-------------------- m2f --------------------
Sent from www.TapestryForums.com
Read this topic online here: <<topic_link>>
http://www.tapestryforums.com/viewtopic.php?p=12180#12180
-------------------- m2f --------------------