Re: if-then-else tag

2001-08-06 Thread Pierre Delisle
You might be interested in looking at the current early access release of the JSP Standard Tag Library at: http://jakarta.apache.org/taglibs/doc/jsptl-doc/jsptl-ea1/index.html The expert group currently privileges the approach to handle mutually exclusive conditionals. For example, for an

Re: MATCH=null bug in JRun?, Re: ELSE tag

1999-04-29 Thread Walter Jerusalinsky
I insist: IMHO Between a Java method, the statements are executed one after other, with a correlation with the temporal axis.- That's not conceptually true for a markup language ( except because of implementation reasons).- So what may seem redundant now, such as if(){}; vs

Re: ELSE tag

1999-04-28 Thread Mike McElligott
you make it , in which case you'll have to have a code attribute like , which is kinda lame). Mike -Original Message- From: Ben Engber [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 28, 1999 1:47 PM To: [EMAIL PROTECTED] Subject: Re: ELSE tag Well, the way I think about it is

Re: ELSE tag

1999-04-28 Thread Josh McCormack
I've stopped looking at alphaworks because of the lack of clear information on liscensing. Josh --- "Weiner, Sam" <[EMAIL PROTECTED]> wrote: > IBM has what looks like a reasonably nice set of > these (though I haven't > played with them yet). They call it their JSP Format > Bean library. It's mo

Re: ELSE tag

1999-04-28 Thread Ben Engber
Well, the way I think about it is: If you're a programmer -- do it in java. If you're a designer -- you're not going to understand XML semantics any better than java semantics, so make it as simple as possible: i.e. and forget the looping stuff and fancy tags. I'm also wondering, has anyo

Re: ELSE tag

1999-04-28 Thread Rod McChesney
net > > -Original Message- > From: A mailing list about Java Server Pages specification and > reference [mailto:[EMAIL PROTECTED]] On Behalf Of Christopher Cobb > Sent: den 28 april 1999 15:05 > To: [EMAIL PROTECTED] > Subject:Re: ELSE tag > > <&

Re: ELSE tag

1999-04-28 Thread Kirkdorffer, Daniel
usalinsky[SMTP:[EMAIL PROTECTED]] > Reply To: Walter Jerusalinsky > Sent: Wednesday, April 28, 1999 11:13 AM > To: [EMAIL PROTECTED] > Subject: Re: ELSE tag > > I think there is certain orthoganility( is it well written?) between Java > and HTML ( in the conte

Re: ELSE tag

1999-04-28 Thread Weiner, Sam
nesday, April 28, 1999 2:28 PM To: [EMAIL PROTECTED] Subject:Re: ELSE tag The clean way to do this, imho, is for a display bean to implement display logic, with another underlying bean implementing business rules. Just add another tier or 3. That said

Re: ELSE tag

1999-04-28 Thread Mike McElligott
). Just pointing out that both methods can work. One is just (at least for me) more tedious. Of course, it's the 'pure' one. :) Mike -Original Message- From: Arie Fishler [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 28, 1999 11:32 AM To: [EMAIL PROTECTED] Subject: Re: ELSE

Re: ELSE tag

1999-04-28 Thread Walter Jerusalinsky
hler > Sent: Wednesday, April 28, 1999 3:32 PM > To: [EMAIL PROTECTED] > Subject: Re: ELSE tag > > > Way to go Daniel ! > > When you want the job done use JAVA. Why use awkward methods > instead of the > real thing? > > -Original Message- > From: A mailing li

Re: ELSE tag

1999-04-28 Thread Arie Fishler
28, 1999 6:03 PM To: [EMAIL PROTECTED] Subject:Re: ELSE tag I have been following this thread with amusement. I've been waiting for people to finally point out this is why we need scriptlets. The same people saying that scriptlets are a no no, seem to have discovered that the tags

Re: ELSE tag

1999-04-28 Thread Duane Fields
I see the dual--approach presented by JSP to be one of its strongest points. As has been noted, TAGS can't do everything. However, they can do a lot. And while maybe there's room for one or two more - I would introduce too much more in the way of flow control or other programmatical issues, as the

Re: ELSE tag

1999-04-28 Thread Kirkdorffer, Daniel
TED]] > Reply To: Brian Burridge > Sent: Wednesday, April 28, 1999 5:53 AM > To: [EMAIL PROTECTED] > Subject: Re: ELSE tag > > <% if (condition) { %> > output blah blah blah -- condition is true > <% } else { %> > you failed > <% } %>

Re: ELSE tag

1999-04-28 Thread Magnus Stenman
. Ideas/suggestions? /Magnus Stenman Orion WebServer - http://orion.evermind.net -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]] On Behalf Of Christopher Cobb Sent: den 28 april 1999 15:05 To: [EMAIL PROTECTED] Subjec

Re: ELSE tag

1999-04-28 Thread Arie Fishler
t: Re: ELSE tag <% if (condition) { %> output blah blah blah -- condition is true <% } else { %> you failed <% } %> The above syntax you had in your email is exactly what we do here. Of course, as most of you know, we don't use the markup tags we strictly do Ja

Re: ELSE tag

1999-04-28 Thread Christopher Cobb
Rod McChesney wrote: > To retain some vestige of HTML or XML syntax, I believe this would > have to look like > > > > > > > and so on. Otherwise the tags don't nest meaningfully. This kind of > thing is easy to hack into a parser but SGML/HTML/XML tools won't > necessarily understand it. Un

Re: ELSE tag

1999-04-28 Thread Brian Burridge
it for JSP 2.0 (We want 1.0 now!) > > > > Walter > > > > > -Original Message- > > > From: A mailing list about Java Server Pages specification and reference > > > [mailto:[EMAIL PROTECTED]]On Behalf Of Rod McChesney > > > Sent: Tuesday, April 27, 199

Re: ELSE tag

1999-04-28 Thread Walter Jerusalinsky
f Of Anil K. Vijendran > Sent: Thursday, April 29, 1999 12:09 AM > To: [EMAIL PROTECTED] > Subject: Re: ELSE tag > > > YMMV but I'm not too excited about turning HTML into a language with > programming constructs etc. I'd rather see support for defining your own >

Re: ELSE tag

1999-04-27 Thread Anil K. Vijendran
> From: A mailing list about Java Server Pages specification and reference > > [mailto:[EMAIL PROTECTED]]On Behalf Of Rod McChesney > > Sent: Tuesday, April 27, 1999 10:47 PM > > To: [EMAIL PROTECTED] > > Subject: Re: ELSE tag > > > > > > To retain some vest

Re: ELSE tag

1999-04-27 Thread Walter Jerusalinsky
Pages specification and reference > [mailto:[EMAIL PROTECTED]]On Behalf Of Rod McChesney > Sent: Tuesday, April 27, 1999 10:47 PM > To: [EMAIL PROTECTED] > Subject: Re: ELSE tag > > > To retain some vestige of HTML or XML syntax, I believe this would > have to look li

Re: ELSE tag

1999-04-27 Thread Rod McChesney
To retain some vestige of HTML or XML syntax, I believe this would have to look like and so on. Otherwise the tags don't nest meaningfully. This kind of thing is easy to hack into a parser but SGML/HTML/XML tools won't necessarily understand it. Unless I'm just missing something... Rod McCh

Re: ELSE tag

1999-04-27 Thread Stuart Hargreaves
At 03:38 PM 4/27/99 -0700, you wrote: >vis a vis the discussion regarding the '.' vs. the ':', why even >call these things "includeif"?? > >I vote for a more programmatic syntax, like, say, "if/else" ala >most common programming languages such as c, java and c++. I vote "aye" to that. I'd also li

Re: ELSE tag

1999-04-27 Thread Lastname Firstname
about Java Server Pages specification and reference > > [mailto:[EMAIL PROTECTED]]On Behalf Of Magnus Stenman > > Sent: Tuesday, April 27, 1999 2:27 PM > > To: [EMAIL PROTECTED] > > Subject: ELSE tag > > > > > > Hi, something we found lacking in the 0.92 sp

Re: ELSE tag

1999-04-27 Thread Carles Pi-Sunyer
ailing list about Java Server Pages specification and reference > > [mailto:[EMAIL PROTECTED]]On Behalf Of Magnus Stenman > > Sent: Tuesday, April 27, 1999 2:27 PM > > To: [EMAIL PROTECTED] > > Subject: ELSE tag > > > > > > Hi, something we found lacking

Re: ELSE tag

1999-04-27 Thread Walter Jerusalinsky
I Agree Walter > -Original Message- > From: A mailing list about Java Server Pages specification and reference > [mailto:[EMAIL PROTECTED]]On Behalf Of Magnus Stenman > Sent: Tuesday, April 27, 1999 2:27 PM > To: [EMAIL PROTECTED] > Subject: ELSE tag > > > Hi,

ELSE tag

1999-04-27 Thread Magnus Stenman
Hi, something we found lacking in the 0.92 spec when we implemented it was an optional tag inside INCLUDEIF/EXLUDEIF tags. Such a tag would be useful quite often in our opinion. Is this a shared opinion? Syntax would loke something like this: Condition succeeded! Condition failed! (We are s