Re: ELSE for JSTL
On Sat, 8 Feb 2003, Henri Yandell wrote: > Why not: > > > > foo > > > bar > > > > ?? Just to make it a bit nicer in xml look and feel. > > Which of course is synonymous to choose I think :) Yes, exactly. The , , and tags simply provide a more generalized syntax since they allow multiple conditions. During the JSR-52 EG's deliberations, most of the members felt that there were definite advantages to a simple tag unencumbered by multi-way conditions; no matter where a tag appears, its body is included if 'test' is true and excluded otherwise. Either way, evaluation continues after the closing tag. Particularly for large and complex pages, this kind of simplicity -- for, after all, a task that is one of JSTL's simplest functions -- was considered desirable. Note also that XSLT faced an identical problem (or at least a very similar one) and came to the same conclusions. -- Shawn Bayern "JSTL in Action" http://www.manning.com/bayern - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ELSE for JSTL
On Sat, 8 Feb 2003, Mirko Nasato wrote: > Henri Yandell wrote: > > >On Fri, 7 Feb 2003, Ivonne Barrantes wrote: > > > > > >>? When we'll be able to enjoy the beneficts of our beloved "ELSE" for JSTL ? > >> > >>I know we have the tag, but it takes more code lines then a > >>simple > >> > >>What do you think about it Shawn? > >> > >> > > > >Shawn mentioned it in a post a week back or so I think. Unsure if it was > >on Dev or Users. Basically the problem with is that there's no > >container tag: > > > > > > > > > > > > > >so it's probably a pain to implement. > > > > > Why not something like: > > > foo > > bar > > Why not: foo bar ?? Just to make it a bit nicer in xml look and feel. Which of course is synonymous to choose I think :) Hen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ELSE for JSTL
Henri Yandell wrote: On Fri, 7 Feb 2003, Ivonne Barrantes wrote: ? When we'll be able to enjoy the beneficts of our beloved "ELSE" for JSTL ? I know we have the tag, but it takes more code lines then a simple What do you think about it Shawn? Shawn mentioned it in a post a week back or so I think. Unsure if it was on Dev or Users. Basically the problem with is that there's no container tag: so it's probably a pain to implement. Why not something like: foo bar Regards. \mirko - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ELSE for JSTL
On Fri, 7 Feb 2003, Ivonne Barrantes wrote: > > ¿ When we'll be able to enjoy the beneficts of our beloved "ELSE" for JSTL ? > > I know we have the tag, but it takes more code lines then a > simple > > What do you think about it Shawn? Shawn mentioned it in a post a week back or so I think. Unsure if it was on Dev or Users. Basically the problem with is that there's no container tag: so it's probably a pain to implement. However, it's probably worth trying outside of JSTL to see if it's possible :) Any interest in working on an else tag? Either one that worked with or had its own tag would be a good way to show the JSTL JSR group that such a thing is possible. I'll add it to the list I've started compiling of useful tags to code to compliment the JSTL. Hen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
ELSE for JSTL
¿ When we'll be able to enjoy the beneficts of our beloved "ELSE" for JSTL ? I know we have the tag, but it takes more code lines then a simple What do you think about it Shawn? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]