Hi,
That is wrong... if you do this, throws a NullPointerException...
2008/2/1 Joey
> I found it . like this.
>
>Map param = new HashMap();
>ActionContext.getContext().setSession(param);
>
> Thanks for your help
>
> On Feb 1, 2008 4:53 PM, Joey wrote:
> > Thanks, I just check
go...
>
> Nils-H
>
> On Mon, Aug 3, 2009 at 12:44 PM, Juanjo Cuadrado
> wrote:
> > Hi,
> >
> > That is wrong... if you do this, throws a NullPointerException...
> >
> >
> > 2008/2/1 Joey
> >
> >> I found it . like this.
> >>
>
does not exist.
>
> Nils-H
>
> On Mon, Aug 3, 2009 at 1:06 PM, Juanjo Cuadrado
> wrote:
> > And... what is the problem??? I have the same problem with junit test and
> > actions. No matter how long ago the comment was written. He might have
> found
> > out alr
nAware if it was possible, since it's
> a lot more test friendly.
>
> Nils-H
>
> On Mon, Aug 3, 2009 at 1:37 PM, Juanjo Cuadrado
> wrote:
> > Uummm... I haven't looked at the source, but I looked the
> documentation...
> > And I could see that the getContex
And in the version 1.x?
2008/1/3, xianwinwin <[EMAIL PROTECTED]>:
>
>
> YES! exactly what I needed. thanks!!!
>
>
>
>
>
> Alberto A. Flores wrote:
> >
> > one way I did that was by using the "non-validating" method point to a
> > method (in the Action class) to have the following annotation
> >
>
Hi,
Where is the Form bean into the request??? What is the label??
I want to put a actionform in the request and I dont know where...
(prepopulate???)
Thanks.
Thanks Antonio, but I need to prepopulate a ActionForm from another Action
and forward it to jsp...
Sorry for my English.
2008/3/6, Antonio Petrelli <[EMAIL PROTECTED]>:
>
> 2008/3/6, Juanjo Cuadrado <[EMAIL PROTECTED]>:
>
> > Hi,
> >
> > Where is th
Hi,
I'm having problems to show a error message with validation xml file.
This is the code in my struts.xml
/pages/opciones.jsp
The action class is this:
public class TestAction {
private String dniParticipante;
public String execute() {
return A
gt; 5.- If you want javascript validation you must use validate="true"/>
>
> Nestor
> On Tue, Oct 14, 2008 at 10:08 AM, Lukasz Lenart <
> [EMAIL PROTECTED]> wrote:
>
> > 2008/10/14 Juanjo Cuadrado <[EMAIL PROTECTED]>:
> > > No... but this
No... but this too I have tried it :(
2008/10/14 Lukasz Lenart <[EMAIL PROTECTED]>
> 2008/10/14 Juanjo Cuadrado <[EMAIL PROTECTED]>:
> > Hi,
> >
> > I'm having problems to show a error message with validation xml file.
>
Hi,
I have a Struts2 application and I'm using the display:table tag.
My problem is that I want to change the param's name for paging (in my case
"d-457775-p") for another... How can I do it?
I have seen the parameters (
Hi,
I need to know how to recover (from the validation method) the name of de
action that has been invoked. I want to know the name of the method that
will be executed for this action (in the struts.xml I have put diferents
methods for the same action class).
Thanks.
thod
> from each action method ?
>
>
> On Wed, Oct 29, 2008 at 10:55 AM, Juanjo Cuadrado <[EMAIL PROTECTED]>
> wrote:
> > Hi,
> >
> > I need to know how to recover (from the validation method) the name of de
> > action that has been invoked. I want to k
if(hasErrors()) return INPUT;
> ... // real method1 work
> }
>
>
> public void validate1() {
> ...
> }
>
> public void validate2() {
> ...
> }
>
> public void validate () {
> // common validation for every method
>
Hi,
I'm working with s:tree tag, but it not working for me.
I have this code in my jsp
...
dojo.even.topic.subscribe("treeSelected", function(e){
alert("The id is:" + e.node.widgetId);
});
...
Sorry...
I'm using Struts 2.0.11.2
2008/12/11 Juanjo Cuadrado <[EMAIL PROTECTED]>
> Hi,
>
> I'm working with s:tree tag, but it not working for me.
>
> I have this code in my jsp
>
> ...
>
> dojo.even.topic.subscribe("treeSele
Hi,
I have a Action class than extends ActionSupport and implements ModelDriven
and Preparable.
Into prepare method, I put in request scope a class bean. If in my jsp (into
a form) I can recover the property's value with a s:textfield, but how to
recover this value without s:textfield?
Ej.
Z
I would like not user Java scriptlet in my JSP. Only tags.
have you any examples?
2008/12/18 Dave Newton
> > Into prepare method, I put in request scope a class bean.
> > If in my jsp (into form) I can recover the property's value
> > with a s:textfield, but how to recover this value without
>
Sorry, I don't knew it. But, can you give me any example, please? Or, any
URL with info about this.
2008/12/18 Dave Newton
> JSP EL isn't a scriptlet.
>
> --- On Thu, 12/18/08, Juanjo Cuadrado wrote:
>
> From: Juanjo Cuadrado
> Subject: Re: Recover property
Great idea Thanks!
2008/3/6, Antonio Petrelli <[EMAIL PROTECTED]>:
>
> 2008/3/6, Juanjo Cuadrado <[EMAIL PROTECTED]>:
> >
>
> > Thanks Antonio, but I need to prepopulate a ActionForm from another
> Action
> > and forward it to jsp...
>
>
>
&
Hi,
How I can preserve the data in the form when I do submit the form and
ActionForm finds a error?
When it return to jsp, the form's field are voids.
Thanks
Hi,
I have a form (... ) and a ActionForm. In the method validate I have a
errors.add(ActionMessages.GLOBAL_MESSAGE, new ActionMessage("errors.required",
"Name"))... and in the struts-config I have declared a action element wiht
scope="session" I think that all is OK, but don't work..
Hi,
the problem is the sequence of tags you have to put before
Sorry for my English.
2006/9/19, Tom Jerry <[EMAIL PROTECTED]>:
why do I get this error ?
SEVERE: Parse Error at line 87 column 19: The content of element type
"form-validation" must match "(global*,formset*)".
org.x
Hi,
I don't know if I have you understands, but I think that this mail of
Eric Givler responds to your question
You'd need to rebuild the second list on the posting of the form, i.e.
1. get value selected from first list
2. invoke method to refresh dependent list based on user prm from fis
Hi,
Can you try to to put the attribute "name" in the tag action (in
struct-config.xml)?
I hope help you
2006/9/21, Yamir Encarnacion <[EMAIL PROTECTED]>:
Hello,
I am getting the following warning (log4j) when
pre-loading a form and was wondering i
Hi,
Can`t I use this?
Hi,
I need to use the <[EMAIL PROTECTED] file= a dynamic way.
Ej.
<[EMAIL PROTECTED] file="/WEB-INF/jspf/${query.action}.jspf"%>
or
<[EMAIL PROTECTED] file="/WEB-INF/jspf/<%= query.getAction() %>.jspf"%>
but I can't do it... I only get the follow trace:
org.apache.jasper.JasperExce
uot;%>
<%@ taglib uri="/tags/smartcv2" prefix="s" %>
<%@ taglib uri="/tags/jstl-c" prefix="c" %>
El lun, 30 de 10 de 2006 a las 16:48, Juanjo Cuadrado escribió:
> Hi,
>
> I need to use the <[EMAIL PROTECTED] file= a d
Hi,
I think that you have to put the follow in the first line of your error
page:
<%@ page isErrorPage="true" %>
2006/10/30, Chetan Pandey <[EMAIL PROTECTED]>:
Hi All:
I am trying to include an Error Page in my Struts-based Web App.
The following is what I have in my web.xml
40
Hi,
Can I use the forms of kinds "ValidatorActionForm" and "ValidatorForm"
with the feature validator? I'm using this feature but it only works when my
forms are of kinds "DynaValidatorForm".
Sorry, my question already was answered in another thread. The next time, I
will search for before to ask.
2006/11/15, Juanjo Cuadrado <[EMAIL PROTECTED]>:
Hi,
Can I use the forms of kinds "ValidatorActionForm" and "ValidatorForm"
with the feature validator? I
31 matches
Mail list logo