Re: Showing a Block condirionally

2012-11-15 Thread Muhammad Gelbana
Its what Lance said about JSTL and tapestry making use of a similar component and then he add tags similar to tapestry's (ex: t:choose). I guess he was only suggesting and giving and example. Thanks. On Thu, Nov 15, 2012 at 1:16 AM, Lenny Primak wrote: > Serge didn't mention anything about JSTL.

Re: Showing a Block condirionally

2012-11-14 Thread Lenny Primak
Serge didn't mention anything about JSTL. This is pure tapestry 5 case switching. On Nov 14, 2012, at 6:09 PM, Muhammad Gelbana wrote: > Is this still tapestry5 ? I couldn't find how t5 can use JSTL ! - To unsubscribe, e-mail

Re: Showing a Block condirionally

2012-11-14 Thread Muhammad Gelbana
ontext: > http://tapestry-users.832.n2.nabble.com/Showing-a-Block-condirionally-tp7583424p7583436.html > Sent from the Tapestry Users mailing list archive at Nabble.com. > > - > To unsubscribe, e-mail: users-unsubsc

Re: Showing a Block condirionally

2012-11-14 Thread Serge Eby
There is a simple example already here: http://tapestry.apache.org/switching-cases.html /Serge -- View this message in context: http://tapestry-users.832.n2.nabble.com/Showing-a-Block-condirionally-tp7583424p7583436.html Sent from the Tapestry Users mailing list archive at Nabble.com

Re: Showing a Block condirionally

2012-11-14 Thread Geoff Callender
t? > > > Foo > Bar > Baz > > > [1] http://www.tutorialspoint.com/jsp/jstl_core_choose_tag.htm > > > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/Showing-a-Block-condirionall

Re: Showing a Block condirionally

2012-11-13 Thread Thiago H de Paula Figueiredo
On Tue, 13 Nov 2012 14:33:29 -0200, Lance Java wrote: In JSTL, there is a "choose" tag [1] which I think is a more elegant way of handling the else condition. Perhaps tapestry could benefit from a similar component? Foo Bar Baz I still prefer to use blocks, the Delegate comp

Re: Showing a Block condirionally

2012-11-13 Thread Lance Java
ext: http://tapestry.1045711.n5.nabble.com/Showing-a-Block-condirionally-tp5717967p5717985.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For

Re: Showing a Block condirionally

2012-11-13 Thread Geoff Callender
+1 On 13/11/2012, at 10:03 PM, Thiago H de Paula Figueiredo wrote: > On Tue, 13 Nov 2012 08:18:40 -0200, mateen wrote: > >> Hi, > > Hi! > >> >> I have a Border component that has the following code >> div id="right"> >> >> >> >> >> >> > > Guys, please, this f

Re: Showing a Block condirionally

2012-11-13 Thread Muhammad Gelbana
> wheter to show that part yes or not. > > So in your component: > > @Parameter > @Property > private boolean showRight; > > in .tml: > > > > > > > > > > > > -- > View this message in context: > http

Re: Showing a Block condirionally

2012-11-13 Thread Thiago H de Paula Figueiredo
On Tue, 13 Nov 2012 08:18:40 -0200, mateen wrote: Hi, Hi! I have a Border component that has the following code div id="right"> Guys, please, this form of if-else is very, very confusing to read. Why don't we all use this instead: so

Re: Showing a Block condirionally

2012-11-13 Thread nquirynen
.nabble.com/Showing-a-Block-condirionally-tp5717967p5717968.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

Showing a Block condirionally

2012-11-13 Thread mateen
w are you Now in this page i want to hide the above div, but only in this page, the rest of the component i want to show as it is ? What is the best way to do this ? Kind Regards -- View this message in context: http://tapestry.1045711.n5.nabble.com/Showing-a-Block-condirionally-tp5717