[INPUT] Is input:text .../ producing the correct HTML?

2004-10-23 Thread Adrian Beech
G'day all, I've been fiddling with the input:text ... / tag from the input taglib and noticed that the resulting code has a / at the end of the generated HTML. For example, input:text name='message'/ produces input type=text name=message value= /. Is this a non-impacting bug? AB

[JSTL] Retrieving the key from a LinkedMap for a known value?

2004-10-09 Thread Adrian Beech
G'day all, Is it possible to retrieve the key from a LinkedMap for a known value using the expression language syntax under JSTL 1.0? For example, I have a LinkedMap object which is being used to generate a drop down with the input:select .../ tag from the Input taglib. Apart from needing the

RE: [JSTL] Retrieving the key from a LinkedMap for a known value?

2004-10-09 Thread Adrian Beech
: [JSTL] Retrieving the key from a LinkedMap for a known value? I have a bean with a HashMap named errorCodes. To access a key using jstl, I do the following: c:out value=${bean.errorCodes['categoryId']}/c:out -Original Message- From: Adrian Beech [mailto:[EMAIL PROTECTED] Sent: Saturday

[INPUT] Generating drop downs with a specific ordering?

2004-09-21 Thread Adrian Beech
G'day, Is it at all possible to generate a select list (drop down) with a specific order? For example, I can add the option items to a map like object in a given sequence (yeah, yeah... I know this doesn't guarantee the order of access is linear!) but when the control is generated the options

RE: [JSTL] Exposing CONTEXT-PARAM defined elements in a JSP

2004-09-17 Thread Adrian Beech
September 2004 1:16 AM To: Tag Libraries Users List Subject: Re: [JSTL] Exposing CONTEXT-PARAM defined elements in a JSP Adrian Beech wrote: TITLEc:out value='${initParams[applicationName]}'//TITLE ... it's initParam -- singular -- c:out value='${initParam[applicationName]}'/ or c:out value

[INPUT] I need some clarification with using the select tag

2004-09-17 Thread Adrian Beech
Hi folks, I'm trying to get my head around using the select tag... Basically to start with I need to produce a drop down that has three options. In HTML (as we all know!) it looks like this: select name=active option value=/option option value=YYes/option option value=NNo/option /select

[INPUT] Has this tag lib been officially released?

2004-09-17 Thread Adrian Beech
Hi folks, When hunting for this tag lib I noticed it only appears under the nightly build tree in the download area. Is this tag lib stable enough to deploy in a production environment? A few months back I think this question was raised as well? AB

[JSTL] Exposing CONTEXT-PARAM defined elements in a JSP

2004-09-12 Thread Adrian Beech
G'day all, I have a context parameter defined in the web.xml file and was wondering how to get it into the JSP? For example, I have CONTEXT-PARAMPARAM-NAMEapplicationName/PARAM-NAMEPARAM-VALUERASCAL - Development/PARAM-VALUE/CONTEXT-PARAM in the web.xml and TITLEc:out

Standard: Retrieving values defined in a env-entry tag in a web.xml file?

2004-02-18 Thread Adrian Beech
G'day all, Can someone please tell me how to retrieve the value which as been defined using a env-entry tag in the web.xml file? For example, the snipet below is what has been defined in the web.xml file: env-entry env-entry-nameapplicationName/env-entry-name env-entry-valueRASCAL -

RE: dbtags - sql:setColumn question

2003-10-27 Thread Adrian Beech
G'day Peter list, I'm getting similar behavior with the SQL query string being included as part of the HTML text even though the SQL statement is definitely between sql:query and /sql:query tags. I posted a question about this last Sunday... alas though no response thus far from the list. The

SQL query string appears as part of the HTML text when result set is empty

2003-10-26 Thread Adrian Beech
G'day folks, I've been tinkering with taglibs for the first time today and I've come across something that I cannot seem to find an answer to. Basically when ever a query returns an empty result set the SQL query string itself is appearing as part of the HTML text. The JSP contains the