RE: S2: input by method for validations

2007-11-07 Thread Manuel Correa
Break in different classes is not the idea, in that way we need a class for each method or action. The solution is: result name=input{1}.jsp/result In that way the method has the same name of the jsp, and the input is variable!! Works fine! Manuel Correa. -Original Message- From

S2: input by method for validations

2007-11-06 Thread Manuel Correa
/result result name=inputBinputB.jsp/result result name=inputinputDefault.jsp/result (Other method by default use the input) But he validations understands to which input goes. Manuel Correa.

RE: S2: input by method for validations

2007-11-06 Thread Manuel Correa
The validations works fine. Sorry about the mistake. The problem is the result: The input. When something is wrong with the fields..by default the validation stack forward to the INPUT, I need to define depends of the method which is the input. Manuel Correa. -Original Message- From

RE: S2: input by method for validations

2007-11-06 Thread Manuel Correa
-ref name=workflow param name=inputResultName input_{1}/param (This doesn't work) /interceptor-ref I need to find a way to define dynamically the input depends of the method that is call.!! Thanks Manuel Correa. -Original Message- From

RE: S2: EL in tags 2.0.11

2007-10-30 Thread Manuel Correa
Didn't work: s:property value=%{#request['javax.servlet.forward.context_path']/ I think that the best solution is rewrite the tld. Is painful. Manuel Correa. -Original Message- From: Desbois Arnaud [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 30, 2007 3:55 AM To: Struts Users

RE: S2: EL in tags 2.0.11

2007-10-30 Thread Manuel Correa
That is not possible, because in Struts 2.0.11 you can't use EL in any Struts tag, including s:set ... Manuel Correa. -Original Message- From: Chris Pratt [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 30, 2007 12:11 PM To: Struts Users Mailing List Subject: Re: S2: EL in tags

S2: EL in tags 2.0.11

2007-10-29 Thread Manuel Correa
In S2.09 is possible to use EL in the properties tags. For example: s:property value=${pageContext.request.contextPath} / That because the parameter in tld is rtexprvalue=true In S2.0.11 this is not possible (rtexprvalue=false). I want to know is some property that active and

RE: S2: EL in tags 2.0.11

2007-10-29 Thread Manuel Correa
How I get the contextPath with OGNL?? Or the other request methods? Manuel Correa. -Original Message- From: Chris Pratt [mailto:[EMAIL PROTECTED] Sent: Monday, October 29, 2007 12:17 PM To: Struts Users Mailing List Subject: Re: S2: EL in tags 2.0.11 On 10/29/07, Manuel Correa [EMAIL

RE: S2: EL in tags 2.0.11

2007-10-29 Thread Manuel Correa
So, I have to write a custom library for each method that I want access for the request?? Manuel Correa. -Original Message- From: cilquirm [mailto:[EMAIL PROTECTED] Sent: Monday, October 29, 2007 12:51 PM To: user@struts.apache.org Subject: Re: S2: EL in tags 2.0.11 I believe

RE: [struts] S2: EL in tags 2.0.11

2007-10-29 Thread Manuel Correa
page s:property value=%{#request.request.contextPath}/ Didn't work! Have to be a way to active the EL in the Attributes.. Manuel Correa. -Original Message- From: cilquirm [mailto:[EMAIL PROTECTED] Sent: Monday, October 29, 2007 3:17 PM To: user@struts.apache.org Subject: Re: [struts

Validation by method issue or bug??

2007-09-26 Thread Manuel Correa
and confirm) is validated. I just want to validate amount when execute is called and only the field confirm when the confirm method is called. What am I doing wrong? Manuel Correa.

Param in Validation Annotation for a key I18n

2007-09-11 Thread Manuel Correa
Is possible to pass parameter in a Validation Annotation: . . . @RequiredStringValidator(type = ValidatorType.SIMPLE, fieldName = user.email, message=, key=field.required.msg), . . . I want to pass one parameter to the key field.required.msg, but the annotation

S2: ReferenceError: validateForm_

2007-09-10 Thread Manuel Correa
/s:submit /s:form /s:div Manuel Correa.

s2: Targets depends of the action result - AJAX

2007-09-05 Thread Manuel Correa
Someone knows how to define a target depends of the result of the action, for example when the action SUCCESS so go to some target but when make a ERROR go to another target. Thanks, Manuel

images tabbedpanel

2007-08-30 Thread Manuel Correa
about the colors and design and I can't tell that we can't do this. In this moment I changed the styles css but I have the problem with the images. Thanks, Manuel Correa.

Interceptor bug *

2007-08-28 Thread Manuel Correa
=token/interceptor-ref result name=success/success.jsp/result /action /package /struts Manuel Correa. Application Analyst Specialist. ITOS, Carl Vinson Institute of Government. The University of Georgia. Tel. (706) - 542-2164

tabletags

2007-08-27 Thread Manuel Correa
or refer to the displaytag documentation on how to configure the export filter (requires j2ee 1.3). Someone know what happens? Manuel Correa.

navigations inside tabbedPanel

2007-08-24 Thread Manuel Correa
of the server the same case when use the validations. Thanks, Manuel Correa.

use the same validation file for two actions...

2007-08-24 Thread Manuel Correa
??? What I s a better option: 1. Use XML validation files. 2. Use annotations Manuel Correa.

displaytable and Struts 2

2007-08-09 Thread Manuel Correa
? Manuel Correa.

RE: RE displaytable and Struts 2

2007-08-09 Thread Manuel Correa
Display table works fine, the problem is : I have the table immerse in s:div component and a s:tabbedpane component, so when I click in order some column or next results, the page reload and show me single page without the tabpanes and div. Thanks, Manuel Correa. -Original Message

get properties action for theme ajax

2007-08-08 Thread Manuel Correa
; } } Manuel Correa.

RE: get properties action for theme ajax

2007-08-08 Thread Manuel Correa
Ok, I found, targets property in the submit button. Thanks. Manuel Correa. -Original Message- From: Manuel Correa [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 08, 2007 4:04 PM To: Struts Users Mailing List Subject: get properties action for theme ajax How I get the properties

change the colors of tagpanned

2007-08-07 Thread Manuel Correa
How how I change the color blue of the tabbedpane. Thanks. Manuel Correa.

LookandFeel

2007-08-07 Thread Manuel Correa
I need to change the lookandfeel of the tabbedpane component, I found the image that load is: /struts/dojo/src/widget/templates/images/tab_top_right.gif But, I want to know how make my own lookandfeel using this gadget. Manuel Correa.

div href dojo scripts

2007-08-07 Thread Manuel Correa
=page1.jsp id=page1 label=Page / /s:tabbedPanel The Javascript that are in the index.jsp and page1.jsp don't work, if I put the javascript outside, where is the tabbedpanel, works. But I don't want to do this because is a lot of javascript outside. Thanks, Manuel Correa.

RE: div href dojo scripts

2007-08-07 Thread Manuel Correa
When I put that, the application freeze and do anything Manuel Correa. -Original Message- From: Musachy Barroso [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 07, 2007 1:18 PM To: Struts Users Mailing List Subject: Re: div href dojo scripts set executeScripts = true on the div tag

RE: executeScript not working?

2007-08-07 Thread Manuel Correa
I have the same problem, how we fix this ?? we have to wait to 2.1 release ?? Manuel Correa. -Original Message- From: rrecoba [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 07, 2007 4:17 PM To: user@struts.apache.org Subject: Re: executeScript not working? Hi, The problem

change s:div with clic action in sa

2007-08-06 Thread Manuel Correa
listenTopics=link1_topic Placeholder... /s:div Manuel Correa. Application Analyst Specialist. ITOS, Carl Vinson Institute of Government. The University of Georgia. Tel. (706) - 542-2164

RE: change s:div with clic action in sa

2007-08-06 Thread Manuel Correa
But how know what is the page to change in the div, if you I want to change another page in my server... ? Manuel Correa. -Original Message- From: Musachy Barroso [mailto:[EMAIL PROTECTED] Sent: Monday, August 06, 2007 1:49 PM To: Struts Users Mailing List Subject: Re: change s:div

div properties

2007-08-03 Thread Manuel Correa
How I get with dojo (Struts 2) the properties of div or some another element, I'm running this code: function updateDiv( url ) { var reportDiv= window['info']; reportDiv.href = url; reportDiv.refresh(); }

layout Struts 2

2007-08-02 Thread Manuel Correa
Some Knows how to build my own layout in Struts 2 ?? I want to use Ajax and the UI Tags and make my own layout. Thanks Manuel

FW: layout Struts 2

2007-08-02 Thread Manuel Correa
I want to have one div in the left and when some click in some link refresh the div in the right, with Ajax. Manuel -Original Message- From: Manuel Correa [mailto:[EMAIL PROTECTED] Sent: Thursday, August 02, 2007 1:51 PM To: user@struts.apache.org Subject: layout Struts 2 Some Knows