website link info

2008-07-23 Thread Fini Decima
I'm posting here because I could not find a Web Master contact info: I'll like to know when the "Reporting Security Issues" link was added to the Struts home page.The link is under "Support". Is it a recent addition or has it been there for some time? Thanks, ---

how to fix Validation isses in a wizard application + Train

2008-07-23 Thread ravi_eze
hi, The issue: 1. We have implemented a wizard application (with 4 Steps) with action variables maintained in session. 2. The pages also have train in the top, i.e. from any step he can jump to any of the other steps. 3. The Step1, 2,3,4 (mentioned above ) are interdependent i.e. based on select

Re: S2 REST plugin

2008-07-23 Thread Jeromy Evans
Mike Watson wrote: Hi folks, As mentioned in previous posts I'm using the REST plugin to serve images and everything seems to work fine when the content exists. However if I return an empty inputstream to StreamResult with a 404 response code I get the exception below. Stepping through the code

S2 REST plugin

2008-07-23 Thread Mike Watson
Hi folks, As mentioned in previous posts I'm using the REST plugin to serve images and everything seems to work fine when the content exists. However if I return an empty inputstream to StreamResult with a 404 response code I get the exception below. Stepping through the code the getBufferSize()

Re: What is the best way to handle cancel, Update, Back Buttons in Struts2

2008-07-23 Thread Gabriel Belingueres
The defaultStack interceptor stack provides you with convenient method name defaults which will not run validations. When you call an action executing any of these method names: "input", "back", "cancel" or "browse", the validations will not execute. 2008/7/23 hisameer <[EMAIL PROTECTED]>: > > Hel

Re: Adding " tag in web.xml results in Resource not found error on browser

2008-07-23 Thread Jeromy Evans
anaeem wrote: Can any one who has used ServletContextListener class, share their build.xml. Thanks much It's not a build.xml issue. The Resource Not Found error implies your Container failed to start. The log for the Container will contain an error message. In Tomcat this may look like:

What is the best way to handle cancel, Update, Back Buttons in Struts2

2008-07-23 Thread hisameer
Hello Everyone I know this might be very easy for you guys but it is being difficult for me.:working: I am developing an updateUser.jsp page and it has three buttons those are: Update, Cancel, Back Now if I press update it should invoke the updateUser action mapping also I need to do the valida

Re: [S2] i18n messages, Tiles2 l10n, "default" locale, and browser preferences.

2008-07-23 Thread Chris Pratt
I don't know why that's happening, but I've seen it as well. Have you tried using an essentially empty tiles_en.xml? It might have the same effect as the ApplicationResources_en.properties. I would assume it would need to be a well formed, but empty xml document. (*Chris*) On Wed, Jul 23, 200

[S2] i18n messages, Tiles2 l10n, "default" locale, and browser preferences.

2008-07-23 Thread Pierre Thibaudeau
Using Struts 2.1.2 My browser (Firefox 3) has a prefered locale (and only one): fr_CA Struts2 constant: struts.locale=en_US I use i18n throughout the software. There is a "default" resource (whose content happens to be in English): ApplicationResource.properties. There are also resource bundles i

Re: Firefox 3 and render issues

2008-07-23 Thread secondsun
I am not sure what the exact problem is, but it has to do with the way that browser_debug.js gets processed. One would think that this file would only get pulled in when the head tag attribute debug=true, but one would be wrong in that situation. The "correct" way to fix this bug is to supply yo

Re: Adding " tag in web.xml results in Resource not found error on browser

2008-07-23 Thread Gabriel Belingueres
that could be a sign that your context listener is not initializing correctly. Take a look at your server log. 2008/7/23 anaeem <[EMAIL PROTECTED]>: > > Can any one who has used ServletContextListener class, share their build.xml. > > Thanks much > > > newton.dave wrote: >> >> --- On Wed, 7/23/08,

Build.xml

2008-07-23 Thread anaeem
Can any one who has used ServletContextListener class in a project, share their Build.xml file? -- View this message in context: http://www.nabble.com/Build.xml-tp18615736p18615736.html Sent from the Struts - User mailing list archive at Nabble.com.

Re: Adding " tag in web.xml results in Resource not found error on browser

2008-07-23 Thread anaeem
Can any one who has used ServletContextListener class, share their build.xml. Thanks much newton.dave wrote: > > --- On Wed, 7/23/08, anaeem <[EMAIL PROTECTED]> wrote: >> When I insert "" tag to my web descriptor file, >> application gives 404 error "Resource not Found". When I >> remove lis

Re: Adding " tag in web.xml results in Resource not found error on browser

2008-07-23 Thread Dave Newton
--- On Wed, 7/23/08, anaeem <[EMAIL PROTECTED]> wrote: > When I insert "" tag to my web descriptor file, > application gives 404 error "Resource not Found". When I > remove listener tag it works fine. Please advice some solution. ... Leave the listener element out? But seriously--that's like s

Re: Adding " tag in web.xml results in Resource not found error on browser

2008-07-23 Thread anaeem
Here are some more details: - I like to use context listener class to save datasource information. I have implemented a ServletContextListener named AppListener. Following is the code for Web.xml: - http://java.sun.com/xml/ns/javaee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";

Re: [S2] , resource key and OgnlValueStack

2008-07-23 Thread Pierre Thibaudeau
2008/7/23 Jeromy Evans <[EMAIL PROTECTED]>: > Can you please raise this in JIRA? Here ya go, Jeromy: https://issues.apache.org/struts/browse/WW-2732 (I hesitated on the "Type" to give to this issue...) - To unsubscribe, e-mail:

Re: Adding " tag in web.xml results in Resource not found error on browser

2008-07-23 Thread Lukasz Lenart
Hi, Maybe some more details? Regards -- Lukasz http://www.lenart.org.pl/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Adding " tag in web.xml results in Resource not found error on browser

2008-07-23 Thread anaeem
When I insert "" tag to my web descriptor file, application gives 404 error "Resource not Found". When I remove listener tag it works fine. Please advice some solution. -- View this message in context: http://www.nabble.com/Adding-%3CLinstener%3E%22-tag-in-web.xml-results-in-Resource-not-found-e

Re: Problem accessing iterated object (

2008-07-23 Thread Lukasz Lenart
> I don't think the var will work always, ie I am using struts 2.0.6 > The webworl.tld does not contain the var. var was introduced with Struts 2.1 and id was depreacted Regards -- Lukasz http://www.lenart.org.pl/ - To unsubsc

RE: Problem accessing iterated object (

2008-07-23 Thread Jishnu Viswanath
I don't think the var will work always, ie I am using struts 2.0.6 The webworl.tld does not contain the var. I expect lawDraft.docs contains a title then Regards, Jishnu Viswanath Software Engineer *(+9180)41190300 - 222(Ext) ll * ( + 91 ) 9731209330ll Tavant Technologies Inc.,

Re: Problem accessing iterated object (

2008-07-23 Thread Jim Kiley
The 'status' variable does not hold the individual instance. It holds an IteratorStatus object, which does things like tell you whether this row is odd or even. You want to do var="document" instead. On Wed, Jul 23, 2008 at 11:53 AM, holod <[EMAIL PROTECTED]> wrote: > > Plsease, see my code: >

Problem accessing iterated object (

2008-07-23 Thread holod
Plsease, see my code:

Re: namespace headpain

2008-07-23 Thread Lyallex
Wow, something has started to work, I think .. it's a bit difficult to tell really but this is the first time I have ever managed to give an imported struts file a namespace and actually managed to get access to the actions Now I just gotta understand the ramifications Thanks for taking the time t

Re: [S2] Conversion validation issue

2008-07-23 Thread Gabriel Belingueres
That's my experience too. That's why I wanted to avoid validation after conversion error on a field. Is there any interest in adding this functionality? I think that would be fairly easy to add. If I understood the code correctly, it would be a matter of extending the DefaultActionValidatorManager

RE: [s2] Formatting input textfields

2008-07-23 Thread Jishnu Viswanath
I don't know about that, I don't know about any input field that can change based on locale, it just pure text field, it does not know that it has to takes an internationalized number. If this thing looks complicated, I don't know, may be you can try writing your own custom tag. Regards, Jishnu

RE: namespace headpain

2008-07-23 Thread Dasgupta, Ranjan
try setting: in your struts.xml -Original Message- From: mujoko mujoko [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 23, 2008 4:30 AM To: Struts Users Mailing List Subject: Re: namespace headpain It was happen to me also, then I just used annotation to replace struts configuration

Re: need some help regarding Display List and Update In Struts2

2008-07-23 Thread hisameer
Thanks Man ! You are great:clap: As soon I changed ID it worked. I really appreciate it. Lukasz Lenart wrote: > >> using Strust 2.0 you have to use var instead. > > should be "id instead" ;-) > > > Regards > -- > Lukasz > http://www.lenart.org.pl/ > >

RE: Struts 2 perfromance among the worst???

2008-07-23 Thread Shannon, Andrew
Performance testing is part art and part science. While this study appears to have some had some credible effort put into it, I have seen how this kind of a study can get people really worked up. Yet for me there is still some vital information lacking from it that tells me the study is incomplet

RE: [s2] Formatting input textfields

2008-07-23 Thread Milan Milanovic
Thank you Jishnu. This looks like complicated solution to me, could I just change locale for that jsp or textfield ? -- Thx, Milan Jishnu Viswanath wrote: > > AJAX validation is done through js, before that we can have our own > client side validation. > Since your's is an easy client side v

Re: Unit testing Struts2 + Spring application?

2008-07-23 Thread Paweł Wielgus
Hi Joachim, isn't StrutsTestCase for Struts 1.x ? Best regards, Paweł Wielgus. On 23/07/2008, Joachim Ansorg <[EMAIL PROTECTED]> wrote: > Hi, > I'm working on a Struts2 application which uses Spring as factory. > I'm using Struts 2.1 and Spring 2.5. > > The problem is for me that >- I don

RE: [s2] Formatting input textfields

2008-07-23 Thread Jishnu Viswanath
AJAX validation is done through js, before that we can have our own client side validation. Since your's is an easy client side validation we can do something like this. If its not something you wanted mail back. function roundOf(/*id Of the widget*/someId) { var i

RE: [S2] Using ajax to fill selectboxes

2008-07-23 Thread Jishnu Viswanath
Why don't use mailto:[EMAIL PROTECTED] Sent: Wednesday, July 23, 2008 1:36 PM To: Struts Users Mailing List Subject: [S2] Using ajax to fill selectboxes Hi, are there any hints or examples how I can fill a selectbox with content over ajax-technology? I have some problems to find out, how I can

Re: [S2] Using SSL, HTTP, HTTPS and invoking Action classes

2008-07-23 Thread Nuwan Chandrasoma
Hi, Have a look at this plug-in, it may help you http://code.google.com/p/struts2-ssl-plugin/ Thanks, Nuwan Anastasios Patrikis wrote: Hi, I have problem in switching my application context from http to https an back again. Because I am new to Struts I am not sure if I use the framework t

Unit testing Struts2 + Spring application?

2008-07-23 Thread Joachim Ansorg
Hi, I'm working on a Struts2 application which uses Spring as factory. I'm using Struts 2.1 and Spring 2.5. The problem is for me that - I don't know how to use StrutsTestCase so the created action are spring-wired - How to make the tests use my /WEB-INF/struts.xml file as Struts configu

[S2] Using SSL, HTTP, HTTPS and invoking Action classes

2008-07-23 Thread Anastasios Patrikis
Hi, I have problem in switching my application context from http to https an back again. Because I am new to Struts I am not sure if I use the framework the right way, so any help or hint is greatly appreciated Here is the task: I have some pages in my application which are available via http. Th

RE: [s2] Formatting input textfields

2008-07-23 Thread Milan Milanovic
Hi Jishnu, well, I'm not sure what to do with ajax validation on jsp page, because my BigDecimal field in my action class wouldn't accept it ? I need one another thing, that my number be rounded on exactly two decimals, like: 198,19833 to 198,20 ? -- Thx, Milan Jishnu Viswanath wrote: > > h

Re: [s2] Formatting input textfields

2008-07-23 Thread Milan Milanovic
Hi, could you give here your source code for that converter ? -- Thx, Milan aretobios wrote: > > I had the same problem. I solved it by creating a custom type conversion > for bigdecimal fields. > > Take a look > http://struts.apache.org/2.0.11.2/docs/type-conversion.html#TypeConversion-App

Re: [S2] Using ajax to fill selectboxes

2008-07-23 Thread Lukasz Lenart
Hi, Add id to your tag and then use it like this $("#myid").addOption("value", "Label"); Regards -- Lukasz http://www.lenart.org.pl/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTEC

Re: namespace headpain

2008-07-23 Thread Lukasz Lenart
Hi, Don't treat namespace as directory, they are not relevant. Namespace is logic name for given set of actions, jsp, whatever. If Struts2 can't find action in given namespace, it's jumping to default namespace / and try to search it there. I didn't understand what problem do you have, but you ca

Re: namespace headpain

2008-07-23 Thread mujoko mujoko
It was happen to me also, then I just used annotation to replace struts configuration and I used config-browser/index.action to list available action and the detail. if my app is http://localhost:8080/kopkar then i will check to http://localhost:8080/kopkar/config-browser/index.action but you n

Re: configuring the error handling of Struts

2008-07-23 Thread Antonio Petrelli
2008/7/23 Helge Wiemann <[EMAIL PROTECTED]>: > I just thought about a solution which might be integrated perhaps in a > validation.xml > > Example: A user types a "1" in a form field. This value is not ok but it is > not so important. Thus the operation is marked as successful although there > i

namespace headpain

2008-07-23 Thread Lyallex
Hi I'm having a problem getting my head around namespaces I have the folowing link ">Create New Establishment in the main struts.xml I have the following /establishment/getEstablishmentDetails.jsp ... This works fine Now I want to move the establishment st

Re: configuring the error handling of Struts

2008-07-23 Thread Helge Wiemann
Unfortunately still version 1.1 > -Ursprüngliche Nachricht- > Von: "Antonio Petrelli" <[EMAIL PROTECTED]> > Gesendet: 23.07.08 10:11:17 > An: "Struts Users Mailing List" > Betreff: Re: configuring the error handling of Struts > 2008/7/23 Helge Wiemann <[EMAIL PROTECTED]>: > > I just th

Re: configuring the error handling of Struts

2008-07-23 Thread Antonio Petrelli
2008/7/23 Helge Wiemann <[EMAIL PROTECTED]>: > I just thought about a solution which might be integrated perhaps in a > validation.xml > > Example: A user types a "1" in a form field. This value is not ok but it is > not so important. Thus the operation is marked as successful although there > i

Re: [S2] , resource key and OgnlValueStack

2008-07-23 Thread Jeromy Evans
Can you please raise this in JIRA? I think the key has always been evaluated but I'd have to check. I did make some significant changes to this tag for 2.1.2 and may have accidentally changed the behaviour. I'd be very happy to turn off evaluation of the key as it wastes cycles but would ha

[S2] Using ajax to fill selectboxes

2008-07-23 Thread Michael Obster
Hi, are there any hints or examples how I can fill a selectbox with content over ajax-technology? I have some problems to find out, how I can start this. What I have is a page like: -- Project: Select1 Milestone: Select2 -

Re: configuring the error handling of Struts

2008-07-23 Thread Helge Wiemann
I just thought about a solution which might be integrated perhaps in a validation.xml Example: A user types a "1" in a form field. This value is not ok but it is not so important. Thus the operation is marked as successful although there is this error. > -Ursprüngliche Nachricht- > Vo

Re: configuring the error handling of Struts

2008-07-23 Thread Antonio Petrelli
2008/7/23 Helge Wiemann <[EMAIL PROTECTED]>: > Is it possible to configure Struts in a way that Struts do not send a > response by a forward (error handling) in the case of specific error but > therefore declares the operation as successful ? try-catch? Antonio

configuring the error handling of Struts

2008-07-23 Thread Helge Wiemann
Hello !!! My question is the following one: Is it possible to configure Struts in a way that Struts do not send a response by a forward (error handling) in the case of specific error but therefore declares the operation as successful ? Thanks for some help. Regards, Helge ___