Re: Tags as template parameters?

2009-10-03 Thread Paul Benedict
Dave, You're a valuable resource to the Struts board! Pascal should pay attention to what you say. Paul On Mon, Jul 20, 2009 at 4:15 PM, Kawczynski, David wrote: > Sitemesh doesn't build the entire page... it is a Filter that grabs the > response text (immediately before the servlet container se

Re: [Struts 1.3] first time use custom converter not working

2009-10-03 Thread Paul Benedict
Ever solve this? Are you sure you registered your converter properly? Paul On Wed, Sep 23, 2009 at 3:14 AM, senderj wrote: > > I have a class Stk with property warType of type enum WarrType > >    public enum WarrType { >        NONE, CALL, PUT; } > > I have in my struts config > > type="org.ap

Re: How is the max file size controlled for file uploads in Struts 1.3.8?

2009-10-03 Thread Paul Benedict
Frank, Do you prefer an exception? What would you do with it? Paul On Thu, Jul 9, 2009 at 8:17 AM, Frank Russo wrote: > org.apache.struts.util.RequestUtils has the following at lines 408-415: > >                Boolean maxLengthExceeded = >                    (Boolean) > request.getAttribute(M

Re: Struts 1 - Initialization versus validation

2009-10-03 Thread Paul Benedict
Kevin, Sounds like you want two separate action mappings. You could use to direct your use case. Paul On Mon, Sep 14, 2009 at 3:35 PM, Kevin Hale Boyes wrote: > Yes, I'm using form.reset() to initialize my fields but the problem is > I don't want to initialize > the fields if I'm coming into t

Re: Convention Confusion [BUG]?

2009-10-03 Thread RogerV
Musachy Barroso wrote: > > that is pretty suspicious, can you open a jira ticket with the details? > Logged. I have a demo war file (with source) available, but I couldn't see where to attach it to the JIRA report. Regards -- View this message in context: http://www.nabble.com/Convention-C

Re: ognl problem with double value in form

2009-10-03 Thread Bill Bohnenberger
OK, thanks, Wes. Sorry I forgot to mention I was using 2.1.6. Works fine with 2.1.8 jars! Thanks again, - Bill On Sat, Oct 3, 2009 at 9:57 AM, Wes Wannemacher wrote: > Which version of struts are you using? We updated the OGNL dependency > between 2.1.6 & 2.1.8, so if this is a bug with the ne

Re: ognl problem with double value in form

2009-10-03 Thread Wes Wannemacher
Which version of struts are you using? We updated the OGNL dependency between 2.1.6 & 2.1.8, so if this is a bug with the new version we'll have to address it. If it's a problem with an old version, try updating to 2.1.8 jars. -Wes On Fri, Oct 2, 2009 at 7:43 PM, Bill Bohnenberger wrote: > I hav

Re: Access Denied error with Struts 2.1.8

2009-10-03 Thread Dale Newfield
Dan R. Olsen III wrote: I moved the project to a path with no spaces and I am still getting the same access denied error. And what are the permissions on that deployed file? (not the input file, but the one pointed to by the error message) Also, is that file valid? Is there a chance you got

RE: Setting a checkbox

2009-10-03 Thread Lee Clemens
You may need a getter method isIsChecked() or getIsChecked() -Original Message- From: Dan R. Olsen III [mailto:danec...@gmail.com] Sent: Friday, October 02, 2009 6:19 PM To: Struts Users Mailing List Subject: Setting a checkbox I have the following tag: isChecked is a boolean variable

Re: [strut2] How to get ServletActionContext

2009-10-03 Thread Gary Moore
Uh, no sooner than I sent this query did I realize that adding singleton="false" to the factory bean solves my problem. Thanks Gary Gary Moore wrote: Newbie question here. In my struts1 apps stuff gets loaded into an application container on start-up using ActionServlet, e.g. servlet.getServle

[strut2] How to get ServletActionContext

2009-10-03 Thread Gary Moore
Newbie question here. In my struts1 apps stuff gets loaded into an application container on start-up using ActionServlet, e.g. servlet.getServletContext().setAttribute( IConstants.APPLICATION_CONTAINER_KEY, app ); . I'm trying to do the comparable in struts2 using a bean in applicationConte

[struts 2] different actions.extentions for different packages

2009-10-03 Thread Halil Ağın
Hello List; I want to have differen extention names for actions in different packages. For example, i have 2 package namespace 1. mail 2. registered the actions in mail should have .ml extentions and others should have .scr meanly, /mail/abc.ml should mapped to action named abc in the mail pa