RE:

2005-01-26 Thread Seaman, Sloan
That would work if I was using an action to populate the ${treatments} variable. But I am not. The variable is populated via a custom tag and the page is directly accessed, not via an Action. Thanks for the info though. I do use that method in other places. -- Sloan -Original Message-

user@struts.apache.org

2005-01-26 Thread Seaman, Sloan
I'm using the html:select tag in a jsp page and I want the set the selected values via the value attribute but I'm not sure how to do it if my allows multiples. I'm using struts-html-el.tld and the values that I want to have selected are available as a comma seperated list in ${treatments}. Idea

LazyForm

2004-11-17 Thread Seaman, Sloan
Is there anyway to use a LazyForm to do a something like: Not the best example, but exactly what I need to do :) Otherwise I'm stuck with: And then searching through the request.getParamaterNames() or something like that... Thanks... -- Sloan

RE: C:out and LazyValidatorActionForm

2004-09-14 Thread Seaman, Sloan
onForm ("map" property defined here) ^ | BeanValidatorForm ^ | LazyValidatorForm ^ | LazyValidatorActionForm Quoting "Seaman, Sloan" <[EMAIL PROTECTED]>: > I'm trying to use c:out to display the contents of a form bean that is > of

C:out and LazyValidatorActionForm

2004-09-14 Thread Seaman, Sloan
I'm trying to use c:out to display the contents of a form bean that is of type: I set a form value like so: DynaBean df = (DynaBean)_form; df.set("accessionDate", new java.util.Date()); I thought that doing a would do it but I keep getting an error that it can't find .map How do I go about g

[OT] Java Charting API's

2004-09-09 Thread Seaman, Sloan
Sorry to go off topic, but can anyone suggest a good free charting package for Java? It needs to be able to generate a pretty wide variety of charts (bar, pie, etc) and render them as some image format that I can post to the web. Thanks! -- Sloan

RE: Single sign-on

2004-09-09 Thread Seaman, Sloan
We use JNDI to hit our MS Active Directory server. Works rather well :) -- Sloan -Original Message- From: Prasad, Kamakshya [mailto:[EMAIL PROTECTED] Sent: Thursday, September 09, 2004 8:30 AM To: Struts Users Mailing List Subject: RE: Single sign-on HI, Actually client wants a solu

RE: Struts login with JAAS (Part 2)

2004-08-20 Thread Seaman, Sloan
I'm messing with this right now myself. Quick question that may help (or I may be way off as I am just starting with this).. It the handler you are passing to the LoginContext a singleton? If it is, shouldn't you stay logged in until you somehow call logout()? Again.. Still learning this myself

TagLib

2004-08-10 Thread Seaman, Sloan
This isn't a struts specific question (more towards tag-libs) but I figure it is worth asking: Why does org.apache.taglivs.standard.tag.common.sql.DataSourceUtil assume that the datasource is within java:comp/env? What if you loaded it outside of Tomcat into another namespace (since Tomcat makes

Struts 1.2 Validation error

2004-08-05 Thread Seaman, Sloan
I've just upgraded to Struts 1.2.1 and I'm getting an error when I have the tag: This worked fine under 1.1 but now I get: java.lang.NullPointerException at org.apache.struts.validator.Resources.getMessage(Resources.java:173) at org.apache.struts.taglib.html.JavascriptValidatorTag