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
/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.
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
-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
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
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
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
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
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
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
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.
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
/s:submit
/s:form
/s:div
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
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.
=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
or refer to
the displaytag documentation on how to configure the export filter
(requires j2ee 1.3).
Someone know what happens?
Manuel Correa.
of the server the same case when use the validations.
Thanks,
Manuel Correa.
???
What I s a better option:
1. Use XML validation files.
2. Use annotations
Manuel Correa.
?
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
;
}
}
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
How how I change the color blue of the tabbedpane.
Thanks.
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.
=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.
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
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
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
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
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();
}
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
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
33 matches
Mail list logo