Re: jakarta input taglib libraries

Kris Schneider <[email protected]>
Newsgroups gmane.comp.jakarta.taglibs.user
Message-ID <[email protected]>
Stephen Ince wrote:
> Kris,
>    Thanx for your response. The online documentation 
> (http://jakarta.apache.org/taglibs/doc/input-doc/index.html) taglib 
> input referes to 1.2 and downloadadble version is only 1.0. Is it 
> possible to download 1.2 from cvs?  I am using Tomcat 4.1.31. I guest 
> this wont work but I do use the El expression stuff in struts 1.3.

If you're using TC 4.1 (JSP 1.2), then you cannot use the EL with rtexpr 
attributes. For JSP 1.2, EL evaluation has to be handled explicitly by the 
taglib. This is what the Struts EL taglib does (as well as Standard 1.0).

I see what you mean WRT to the docs stating "Version: 1.2", but AFAIK you 
can only download one of the nightly builds from the link I provided. I see 
that the <tlibversion> element in the TLD is set to "1.0", so I think 
that's as recent as you can get:

http://svn.apache.org/viewvc/jakarta/taglibs/proper/input/trunk/conf/input.tld?view=markup

> Steve
> ----- Original Message ----- From: "Kris Schneider" <[email protected]>
> To: "Tag Libraries Users List" <[email protected]>
> Sent: Wednesday, June 06, 2007 7:27 PM
> Subject: Re: jakarta input taglib libraries
> 
> 
>> Stephen Ince wrote:
>>
>>> I am trying to download 1.2 taglib-input but I only see 1.0 on the 
>>> jakarata site. I am missing something?
>>> Does taglib-input 1.2 support EL expression? e.g. can I do the 
>>> following.
>>> <input:radio name="durationType[${counter}]}" value="count" 
>>> default="${durationType}"  />
>>
>>
>> Any taglib attribute that's an rtexpr will work with EL expressions in 
>> a JSP 2.0 (or later) container - like Tomcat 5.5. This is due to the 
>> fact that EL evaluation was moved into the container as of JSP 2.0. 
>> I'm pretty sure the Input taglib falls into that category, but it 
>> should be really easy to test ;-).
>>
>> BTW, I don't think that the Input taglib has ever been officially 
>> released, so I'm not sure what "1.2 taglib-input but I only see 1.0" 
>> means. This is where the nightly builds live:
>>
>> http://people.apache.org/builds/jakarta-taglibs/nightly/projects/input/
>>
>>> Steve
>>
>>
>> -- 
>> Kris Schneider <mailto:[email protected]>
>> D.O.Tech       <http://www.dotech.com/>

-- 
Kris Schneider <mailto:[email protected]>
D.O.Tech       <http://www.dotech.com/>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.