You would have to have both set to "false", correct. You don't actually
"run" the "isValid" method, the JSP translator will run that for you.
> -Original Message-
> From: Jeff Born [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, February 25, 2003 2:02 PM
> To: Tag Libraries Users List
> Subjec
On Tue, 2003-02-25 at 17:02, Jeff Born wrote:
> Is it best practices to have both attributes have a "false" required
> attribute and then run isValid() to check if one or the other was supplied?
I think you'd have to, otherwise you'd have to decide which one was
pseudo-required, and that would pro
Cool thanks for the information. One point of clarification after looking at
the sparse information I could find on the web is:
Is it best practices to have both attributes have a "false" required
attribute and then run isValid() to check if one or the other was supplied?
Thanks,
jb
Well, if you want to validate this at translation time, then I guess a
"TagExtraInfo" class would do it. This will have a "isValid()" method,
which takes a "TagData" object, which is basically a hashmap of
attributes and values. You specify the presence of the TEI class in the
TLD.
> -Origin
I have two attributes that one or the other is required, not both.
Where do I define this? I know I read this is possible, but haven't been
able to figure out where I saw that information.
Thanks in advance for any insight into this,
Jeff Born
Thanks it works. Also i found another way around it.
Just love JSTL
- Original Message -
From: "Pierre Delisle" <[EMAIL PROTECTED]>
To: "Tag Libraries Users List" <[EMAIL PROTECTED]>
Sent: Monday, February 24, 2003 8:57 PM
Subject: Re: fmt:parseNumber
>
>
> Eddie Barna wrote:
> > I thoug
Cool.
It worked. Thanks!
- Original Message -
From: "Karr, David" <[EMAIL PROTECTED]>
To: "Tag Libraries Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, February 25, 2003 12:15 PM
Subject: RE: Session
Use the JSTL. It would be as simple as this:
Or if you wanted to make sure you
Use the JSTL. It would be as simple as this:
Or if you wanted to make sure you got it from session scope:
> -Original Message-
> From: Sloan Seaman [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, February 25, 2003 9:16 AM
> To: [EMAIL PROTECTED]
> Subject: Session
>
> What is the bes
What is the best way to get an object out of the session?
The session taglib only has the tag which will print it.
I want to do more along the lines of:
I have written my own tag to do this but I ma curious if there are any
apache tags to do this and if not, why?
You can store more than