I just Voted for https://issues.apache.org/jira/browse/TAP5-2140
On Jul 13, 2013, at 6:54 PM, Barry Books wrote: > TAPS-2140 created with patch for Choose if someone can apply it. > Thanks > > > On Fri, Jul 12, 2013 at 4:39 PM, Lenny Primak <lpri...@hope.nyc.ny.us>wrote: > >> +1. A big plus one. >> >> >> >> On Jul 12, 2013, at 5:34 PM, Lance Java <lance.j...@googlemail.com> wrote: >> >>> My personal preference is for the JSTL style >>> >>> <t:choose> >>> <t:when test="test1">value1</t:when> >>> <t:when test="test2">value2</t:when> >>> <t:otherwise>default</t:otherwise> >>> </t:choose> >>> >>> >>> On 12 July 2013 19:54, Thiago H de Paula Figueiredo <thiag...@gmail.com >>> wrote: >>> >>>> On Fri, 12 Jul 2013 14:41:04 -0300, Barry Books <trs...@gmail.com> >> wrote: >>>> >>>> I don't like it either. Perhaps it should be >>>>> >>>>> <t:if test="checked'> >>>>> <p:then> >>>>> </p:then> >>>>> <p:else> >>>>> </p:else> >>>>> </t:if> >>>> >>>> IMHO this looks way better then just <p:else>, but I still prefer the >> two >>>> If instances version. Matter of taste, probably. >>>> >>>> >>>> >>>>> >>>>> On Fri, Jul 12, 2013 at 7:51 AM, Thiago H de Paula Figueiredo < >>>>> thiag...@gmail.com> wrote: >>>>> >>>>> On Thu, 11 Jul 2013 23:21:28 -0300, Taha Hafeez Siddiqi < >>>>>> tawushaf...@gmail.com> wrote: >>>>>> >>>>>> You can try >>>>>> >>>>>>> >>>>>>> <t:if test='checked'> >>>>>>> <input type='checkbox' name='leaf' id='leaf' value='leaf' >>>>>>> checked='checked'/> >>>>>>> >>>>>>> <p:else> >>>>>>> <input type='checkbox' name='leaf' id='leaf' value='leaf'/> >>>>>>> </p:else> >>>>>>> </t:if> >>>>>> Better yet (I hate using p:else. I think it's quite confusing to have >> the >>>>>> else part inside the if part), >>>>>> >>>>>> >>>>>> <t:if test='checked'> >>>>>> <input type='checkbox' name='leaf' id='leaf' value='leaf' >>>>>> checked='checked'/> >>>>>> </t:if> >>>>>> <t:if test='!checked'> >>>>>> >>>>>> <input type='checkbox' name='leaf' id='leaf' value='leaf'/> >>>>>> </t:if> >>>>>> >>>>>> >>>>>> -- >>>>>> Thiago H. de Paula Figueiredo >>>>>> >>>>>> ------------------------------****----------------------------** >>>>>> --**--------- >>>>>> To unsubscribe, e-mail: users-unsubscribe@tapestry.**a**pache.org< >> http://apache.org> >>>>>> <users-unsubscribe@**tapestry.apache.org< >> users-unsubscr...@tapestry.apache.org> >>>>>> For additional commands, e-mail: users-h...@tapestry.apache.org >>>> >>>> -- >>>> Thiago H. de Paula Figueiredo >>>> >>>> >> ------------------------------**------------------------------**--------- >>>> To unsubscribe, e-mail: users-unsubscribe@tapestry.**apache.org< >> 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 >> >> --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org