can ActionError be returned by Action?

2002-09-27 Thread Andy Kriger
Is there any way that an ActionErrors object can be returned by Action.perform (in the same way it can be returned by ActionForm.validate)? I would like to use the html:errors tags in my JSP to handle output from exceptions received in the Action.perform method. But I'm not sure how to set the htm

form validation text coloring question

2002-09-25 Thread Andy Kriger
I would like to have our form change text color of field labels to red if they are required fields that were not filled out when the form was submitted (a common feature of forms). Currently, we are doing custom validation that sets a flag. The JSP checks this flag in tags and creates the a wra

RE: dynamic img src attribute

2002-09-19 Thread Andy Kriger
ROTECTED]] Sent: Thursday, September 19, 2002 16:04 To: Struts Users Mailing List Subject: RE: dynamic img src attribute On Thu, 19 Sep 2002, Andy Kriger wrote: > That is neat - but I'm not talking about query parameters. I'm talking about > the src string itself. ">

RE: dynamic img src attribute

2002-09-19 Thread Andy Kriger
quot;); and it will generate : /image.do?image=image222311.jpg&application=photos I find that neat :) danny Andy Kriger wrote: >I tried asking this few days ago when my understanding of struts was >significantly less than it is now (and I didn't phrase my question very well >at

dynamic img src attribute

2002-09-19 Thread Andy Kriger
I tried asking this few days ago when my understanding of struts was significantly less than it is now (and I didn't phrase my question very well at that). Here's what I'd like to do... with the constraint that I'd like to avoid the <% %> syntax (i want to keep the JSP free of these things compl

RE: newbie include question

2002-09-17 Thread Andy Kriger
ng List" Subject: RE: newbie include question Andy, I think you could use the syntax: "Andy Kriger" <[EMAIL PROTECTED]> wrote: >I have information in a session variable that I would like to use as part of >a jsp:include (or a bean:include if that'll solve the

newbie include question

2002-09-17 Thread Andy Kriger
I have information in a session variable that I would like to use as part of a jsp:include (or a bean:include if that'll solve the problem). Here's the problem I am running into, how do you pass the dynamic info to the jsp:include path attribute? " /> is not valid - but i figure somebody must've

refreshing application properties

2002-09-17 Thread Andy Kriger
I have a webapp running under Resin using Struts. I am storing message strings and SQL queries in an application properties file. I have a class that extends Action. It does... MessageResources messages=getResources(); String msg = messages.getMessage("myString"); I would like to be able to make

<    1   2