Re: I would like help with the template theme changes in 2.3.16.1

2014-04-22 Thread Stuart James
Hi Lukasz, That's a great solution, thanks for your assistance. Regards Steve - Original Message - From: Lukasz Lenart To: Struts Users Mailing List ; Stuart James Cc: Sent: Monday, 14 April 2014, 20:03 Subject: Re: I would like help with the template theme changes in 2.3.16

Re: I would like help with the template theme changes in 2.3.16.1

2014-04-09 Thread Stuart James
Hi Lukasz, I have raised an issue https://issues.apache.org/jira/browse/WW-4319 and included an demo app. Please let me know if there are any problems with the demo. Thanks Steve - Original Message - From: Lukasz Lenart To: Struts Users Mailing List ; Stuart James Cc: Sent: Wednesday

I would like help with the template theme changes in 2.3.16.1

2014-04-09 Thread Stuart James
Hi, I am developing an application which has been predominantly written with Struts2 version 2.3.15.3 and the struts2-jquery-plugin version 3.6.1. I have recently upgraded to Struts2 version 2.3.16.1 and struts2-jquery-plugin version 3.7.0. The application has used the css_xhtml theme throughout,

Re: how to get productID from the url into action class.

2009-05-28 Thread Stuart Ellidge
In the forum entry user David Newton told you to "Remove line 28." Did you do as he suggested? You didn't respond to his suggestion. What he was trying to explain is that Struts should call setProductId() for you so that you have no need to mess about with Request parameters, etc. If you are de

Re: how to get productID from the url into action class.

2009-05-28 Thread Stuart Ellidge
an infinite loop. Can you come back to the list with a more detailed explanation of you aims? Stuart On 28/05/2009 10:41, "Prashant Singh" wrote: Hi dear, I have been trying to read the productID from the url but it goes into an infinite loop at point 1. I am posting the

Re: Struts2+ReST-plugin prolems need help!!!

2009-05-28 Thread Stuart Ellidge
the constant “struts.convention.default.parent.package” points to our globalPackage. Hope that helps you Regards Stuart On 28/05/2009 02:12, "xnpeng" wrote: can any one help? i use struts2.1.6. 在2009-05-20,xnpeng 写道: >I'm doing my project with struts2+rest-plugin for ab

Re: Accessing protected resources via a login page

2009-05-20 Thread Stuart Ellidge
you could post an example, I can file it away for future reference. Thanks Stuart On 20/05/2009 17:00, "Steve" wrote: Thanks to Stuart, Lukasz and Wes for your advice. I decided to stick with a home-grown solution because I'm only interested in GET's right now and I

Re: Accessing protected resources via a login page

2009-05-19 Thread Stuart Ellidge
ity to use OGNL within your results... so your result could be of type "redirect" sending to a location of ${url} (that being the parameter name in your example below, and resolving to LoginAction.getUrl(). Regards Stuart p.s. the reason for using the interceptor, rather than just a

Re: Using PUT with REST Plugin

2009-05-13 Thread Stuart Ellidge
th}/product-quantity/" + friendlyCode + ".json?_method=PUT Regards Stuart On 13/05/2009 01:22, "David Whitehurst" wrote: Can someone show me using my example of how to use the PUT feature of the REST Plugin. I'll provide my example that doesn't work. I need to k

Re: REST Plugin and PreResultListeners

2009-05-05 Thread Stuart Ellidge
Thanks for replying Dustin / Wes, I'll see where I get to with this and if I can possibly submit something reusable, I'll certainly do so. Regards Stuart On 02/05/2009 17:47, "dusty" wrote: Are you registering the listener in the action or interceptor. Does it matte

REST Plugin and PreResultListeners

2009-05-01 Thread Stuart Ellidge
ow to subsequently remove them after execution! Thanks in advance for any help Regards Stuart

Re: Is it possible to get Struts' FilterDispatcher to serve up static files

2007-02-27 Thread Stuart Piltch
/WEB-INF/widgets/{1}.html /WEB-INF/widgets/Editor2/{1}.html /WEB-INF/widgets/Editor2/Dialog/{1}.html It seems convoluted, but it's working. The other dojo files (css, js, etc) are working fine from within

Re: [s2] s:select and non-primitive values

2007-01-29 Thread Stuart Piltch
If you wanted to keep this workaround in the JSP itself, without using the Integer/String workaround in the model that I mentioned above, you'd have to do something like this: A bit ugly, but it should do the job until the bugs are fixed. Cheers, - stuart - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [S2] Tag select have problems

2007-01-22 Thread Stuart Piltch
attribute of the class by converting between String and Integer. As a specific example, below is a snippet from our Address class, which sometimes is used by a County pulldown in a struts2 form. The form element itself looks like this: Cheers, - stuart private Integer id; private Int

Re: Validation _without_ looking up keys in resource bundles

2006-10-11 Thread Stuart Robertson
Ah ha. Found it. Looks like the dev guys accounted for this. You can see how in org.apache.struts.validator.Resources. public static ActionMessage getActionMessage(Validator validator, HttpServletRequest request, ValidatorAction va, Field field) { Msg msg = field.getMessage(va.ge

Validation _without_ looking up keys in resource bundles

2006-10-11 Thread Stuart Robertson
I see that Commons Validator now supports this as an option. For applications (and whole companies) which aren't concerned about i18n it would be very nice to have less moving pieces and place the name of the field directly into validation.xml rather than referencing a key into a resource bundle.

RE: UML and Struts

2005-01-18 Thread Stuart
Wow... thanks for the great discussion- it helped. Cheers, Stuart -Original Message- From: Matthias Wessendorf [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 18, 2005 10:50 AM To: 'Struts Users Mailing List' Subject: RE: UML and Struts yes, it mixes some structual as

RE: UML and Struts

2005-01-18 Thread Stuart
Wow... thanks for the great discussion- it helped. Cheers, Stuart -Original Message- From: Matthias Wessendorf [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 18, 2005 10:50 AM To: 'Struts Users Mailing List' Subject: RE: UML and Struts yes, it mixes some structual as

UML and Struts

2005-01-17 Thread Stuart
asking is what key strut classes would you put on a UML sequence diagram to describe the architecture of a web application when you do not want the focus to be struts? Thanks in advance for your help. Regards, Stuart

UML and Struts

2005-01-17 Thread Stuart
asking is what key strut classes would you put on a UML sequence diagram to describe the architecture of a web application when you do not want the focus to be struts? Thanks in advance for your help. Regards, Stuart

RE: [OT] Help files as Static HTML Content

2004-08-25 Thread Towers, Stuart G
Yes, it's definitely relative URLs - I've even tried just a link to a file at the same level as the root - as soon as I try to navigate away from the page explicitly mentioned in the Struts action I get the 404. ____ Stuart G Towers Manager, Software E

[OT] Help files as Static HTML Content

2004-08-25 Thread Towers, Stuart G
hen trying to access embedded HTML. Is there a way I can tell Struts or the web container to serve up the HTML as it is? (The help files are generated by our documentation team, using a commercial product). Thank you, Stuart. ____ Stuart G Towers

Re: What happended to Ted Husteds Struts pages?

2004-08-23 Thread Stuart Guthrie
On Tue, 2004-08-24 at 15:17, Michael McGrady wrote: > Yes! And, he has changed his name to "Net Husnet". Not possible, I patented that method last year. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional comm

Re: What happended to Ted Husteds Struts pages?

2004-08-23 Thread Stuart Guthrie
I though Ted had bailed out to .NET? Is he still involved in Struts? On Tue, 2004-08-24 at 10:13, David Stevenson wrote: > On 23/8/04 23:51, "Nathan Maves" <[EMAIL PROTECTED]> wrote: > > > Yeah I know what happenedIt's still there :) > > Not from here. > > > --

Re: Complex web 'stacks' in Struts

2004-08-19 Thread Stuart Guthrie
ight want to include the ability to lookup a customer in 20 or 30 forms, not just order entry. It's the modular approach known to console-based and gui based applications. My question is: how does this translate in struts? Does it? Stuart On Fri, 2004-08-20 at 15:06, struts lover wrote:

Complex web 'stacks' in Struts

2004-08-19 Thread Stuart Guthrie
e. 3. Can't be done. Don't go there! I'm all ears, unless I hear otherwise, I'll probably write the 'stack'technology. TIA Stuart Guthrie - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: html:text - want to set disable= to a bean value

2004-08-16 Thread Stuart Guthrie
quot;${userFormBean.customerCodeEnabled}" /> This looks promising. Thanks for your help.. Stuart On Tue, 2004-08-17 at 01:24, Rick Reumann wrote: > Stuart Guthrie wrote: > > > Hi there, > > > > What I'm trying to do is re-use the same jsp for ADD/UPD

Re: html:text - want to set disable= to a bean value

2004-08-16 Thread Stuart Guthrie
Thank you Susan, that looks spot on. I'll try it this AM.. ATB Stuart On Tue, 2004-08-17 at 01:09, Susan Bradeen wrote: > Stuart Guthrie <[EMAIL PROTECTED]> wrote on 08/16/2004 10:01:49 AM: > > > Hi there, > > > > What I'm trying to do is re-u

html:text - want to set disable= to a bean value

2004-08-16 Thread Stuart Guthrie
Hi there, What I'm trying to do is re-use the same jsp for ADD/UPDATE modes. In order to do this, certain field attributes will be different depending on the modes and sometimes even on the user's security credentials or the 'status' of the customer row. To this end I need to pass in the form be

RE: Tomcat startup error using struts.

2004-05-24 Thread BARBEY Stuart R
ks. -Original Message- From: Joe Germuska [mailto:[EMAIL PROTECTED] Sent: Monday, 24 May 2004 22:55 PM To: Struts Users Mailing List Subject: Re: Tomcat startup error using struts. At 2:30 PM +1000 5/24/04, BARBEY Stuart R wrote: >Has anyone seen the

Tomcat startup error using struts.

2004-05-24 Thread BARBEY Stuart R
Has anyone seen the following error before? INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true 24/05/2004 14:05:55 org.apache.commons.digester.Digester error SEVERE: Parse Error at line 18 column 19: The content of element type "set-property" must match "EMPTY"

RE: Validation only on SUBMIT but not on BACK

2004-05-20 Thread Towers, Stuart G
ce of this attribute. Stuart. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 19, 2004 5:34 AM To: [EMAIL PROTECTED] Subject: SV: Validation only on SUBMIT but not on BACK Hi In the javascript validation routine there is a parameter : bCancel &l