Re: Usage of c:out with Map backed objects

2003-10-27 Thread Rick Ross
No, I don't think so. You'll probably have to wrap the class with a custom tag. Or, in a 2.0 container, you could create an EL function. R Chaimungkalanot, Mark wrote: Hi there, I have an Object that is returned to a JSP which has a "Object get(Object key)" key method, much like a Map object

Usage of c:out with Map backed objects

2003-10-27 Thread Chaimungkalanot, Mark
Hi there, I have an Object that is returned to a JSP which has a "Object get(Object key)" key method, much like a Map object. However, it doesn't implment the Map interface. Is it possible to use a to get an object under the key in the object blah? This doesn't seem to work immediately I can't

RE: dbtags - 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 and tags. I posted a question about this last Sunday... alas though no response thus far from the list. The behavior is inconsi

Re: setting locale

2003-10-27 Thread Ruth, Brice
I don't believe that the locale object in pageContext.request will be updated by the fmt JSTL that you're using - but, the locale sensitive JSTL tags for formatting numbers & dates should pick it up correctly ... is that working? e wrote: What's wrong with this picture? I can't seem to set

setting locale

2003-10-27 Thread e
What's wrong with this picture? I can't seem to set the locale correctly - it always prints out as en_US. <%@ taglib prefix="f" uri="http://java.sun.com/jstl/fmt"; %> <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"; %> -

Re: dbtags - question

2003-10-27 Thread Peter Choe
the problem seems to be that if i use the session.getAttribute("sid"), it will display the value on the browser even though it is between the . so, i am not sure if this is a bug anyone has encountered before or if i am doing something wrong? a little help here. Peter Choe Manos Papantoniou

Re: dbtags - question

2003-10-27 Thread Manos Papantoniou
I am not an expert, but it could be that when you refresh the page, the <%=request.getParameter("discipline")%> value is empty. Or it could be another variable that only has request-time life and not session-time life duration, so the contents of the variable are empty when the reload happens. P

dbtags - question

2003-10-27 Thread Peter Choe
i am using dbtags library in my jsp file. i have the following set up: CourseDays of WeekTime SELECT crs_id, discipline, course_num, days_of_week, time_slot FROM time_slots, wait_list_course WHERE time_slots.time_id=wait_list_course.t ime_id AND is_available='Yes' AND discipline=? AND wait_

Re: Tags creating Tags

2003-10-27 Thread Lukas Bradley
Mike emailed me this idea last night, and I think it's the best yet. Brilliant solution, Mike. Lukas "Mike Jasnowski" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Going from your example, I'm not sure why you even need to subclass a Struts > tag to get the output you described.

RE: Tags creating Tags

2003-10-27 Thread Nedwick, Robert
> -Original Message- > From: Lukas Bradley [mailto:[EMAIL PROTECTED] > > I think you can accomplish what you're looking for using > JSP 2.0 and > > tag files. > > Yep. That's exactly what I'm looking for. Now Tomcat 5 just > needs to be released, because I'm stuck with JSP 1.2 for now. *sn