RE: Tag || JSP problem

2002-05-21 Thread Ken . Horn
Or: html:select property=definition onchange=%= \formSubmit(this.form,\ + s + \)\ % -Original Message- From: Robert Taylor [mailto:[EMAIL PROTECTED]] Sent: 21 May 2002 17:18 To: Struts Users Mailing List Subject: RE: Tag || JSP problem I haven't tested this code, but you can try %

RE: Struts Actions are Singletons?

2002-04-25 Thread Ken . Horn
The local variables mentioned below, are method scope. They have no baring on sessions. For session held objects, yes, a cluster would need to replicate them (hence they need to be Serializable). However, the servlet spec mandates that all requests for a session, should go to the same VM. Only

BUG: Multiple Servlet mappings problem (Struts 1.0.1)

2002-04-05 Thread Ken . Horn
Not sure if this is considered a bug, it may be. Certainly the code needs a catch-all to fix it. I was having trouble getting a html:form tag to work, the action in the generated html, was always =. Having resorted to using struts:form which worked (them were days, struts, pre version

RE: Populating a FormBean's underlying value object

2002-03-15 Thread Ken . Horn
the servlet spec only provides Strings for received parameters, so you need to be able to convert from this. I use adapters to get this type oof conversion via struts. I wrap the real bean inside, and the population of the underlying bean is handled by the wrapper ( it's actually just parsing

RE: Svar: How make a forward when redirect=true

2002-03-14 Thread Ken . Horn
It could be server config. A spec compliant web server will send a redirect like this: HTTP/1.0 302 OK Location: http://myserver:port/ChangePassword/changePassword.jsp Though, and the above url should be what's in the browser location bar. Make sure the location provided has the correct host

RE: Determining the name of a calling class

2002-03-12 Thread Ken . Horn
You can do this kind of call checking in AspectJ (www.aspectj.org) -Original Message- From: Galbreath Sent: 15 February 2002 23:15 To: struts-user Cc: Galbreath Subject: RE: Determining the name of a calling class Most excellent - if this is not a reference to the new 1.4 utility!

RE: Displaying recursively defined bean...

2002-02-19 Thread Ken . Horn
I've done this recently for a calculation tree. I just defined a method in the jsp, passing in the Message (in your example) and the JSPWriter. This method then recursively calls itself while outputting nested html tables (ie each call draws a table, with the child call filling a cell of it).

RE: if tag

2002-02-15 Thread Ken . Horn
I think you are. :o) Do you really want two pages if the if statement only changes one line? You could predetermine the line in an action but it depends if you follow push or pull styles.. I prefer pull. Bring on the if tag .. unless the equal tag is really if in disguise (still learning the

Turbine style multiple method actions

2002-02-07 Thread Ken . Horn
I'm just trying to catch up with what's changed in struts 1.0.1 / 1.1 from the version I previously used (pre version numbers). Is there a facility to map a request to different methods / actions based on a request parameter? For example, if the request contains a parameter function, can I

RE: Turbine style multiple method actions

2002-02-07 Thread Ken . Horn
Thanks, Ted. Spot on. -Original Message- From: husted Sent: 07 February 2002 10:52 To: struts-user Cc: husted Subject: Re: Turbine style multiple method actions See http://jakarta.apache.org/struts/api-1.0/org/apache/struts/actions/DispatchAction.html Really should mention this in

RE: Dynamic Property.

2002-02-07 Thread Ken . Horn
you can use either indexed or mapped properties in struts for this. Alternatively the standard request.getParameterNames/getParameterValues will supply all the data values. For the mapped properties, use something like: input type=text name=prop[%= rowNum %] or input

Nightlies stability and 1.1

2002-02-07 Thread Ken . Horn
How stable are the current nightly builds? Is there a proposed timescale for when a 1.1 is likely? (approx weeks/months/years? :o) Ken Visit our website at http://www.ubswarburg.com This message contains confidential information and is intended only for the individual named. If you are