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
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
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
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
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
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
>
> <&
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
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
).
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
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
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
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
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
> <% } %>
. 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
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
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
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
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
>
> 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
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
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
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
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
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
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,
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
26 matches
Mail list logo