Hi,
I am trying to use the exception handling from default struts
ExceptionHandler.
I declared this inside a action tag in struts config.xml :
1- I was always getting the "white screen". So I put the input property in
the action tag. It started going to the input I declared, but what I wanted
w
Yes it is. I am from Brazil. It is in portuguese.
Tks.
- Original Message -
From: "Rick Reumann" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, November 17, 2003 2:39 AM
Subject: Re: ExceptionHandler
>
Hi,
I have a ProcessBeanBase subclass that is my business object.
I implemented a JUnit test to see why I was getting the final Response "Cannot create
iterator for this collection' in my browser screen,
and I always fall in that ClassCastException.
Need help to understand why. Tks!
Here is
Hi,
i am following the Struts In Action Artimus example.
In section 15.9 there is a good sample of how to use these classes.
But in 15.9.6, it says that "The ProcessAction will than just save the
ResultList collection in request scope, using the default RESULT attribute
name, and forward control
Hi,
I really needed to know how ProcessAction acts. Struts In Action says
"The ProcessAction will than just save the ResultList collection in
request scope, using the default RESULT attribute name, and forward
control to success.".
The problem is that i am not getting a RESULT attribute in my js
Hi,
I have the following definition in my tiles-defs.xml:
In mainTemplate.jsp I have:
What I want is to put more variable content in my foo.jsp, the same way I
put in mainTemplate.jsp
something like
foo.jsp:
I tried some things here, but I always g
#x27;body' in your maintemplate:
HTH
Adam
On 12/01/2003 06:41 AM Felipe Nascimento wrote:
> Hi,
>
> I have the following definition in my tiles-defs.xml: name="mainTemplate" path="/mainTemplate.jsp">
>
>
>
>
t extra tiles? Try this - your tiles-defs.xml:
in your mainTemplate.jsp, you would have:
in your foo.jsp you would have:
I haven't actually done tiles to 3 levels deep, just 2, but I've never
heard of any problems with it.
Adam
On 12/01/2003 08:52 PM Feli
A simple way that I use do go:
Super Action class, like:
UserMustBeLoggedAction{
execute(attribs){
verify session stuff
if ok -> myExecute(attribs);
else return ActionForward;
}
abstract myExecute(attribs);
}
NewAction extends UserMustBeLoggedAction{
m
atcher
Regards,
Guido.
PD. I am not sure, but i think you can find a discussion about that in
Struts in Action.
Felipe Nascimento wrote:
>A simple way that I use do go:
>
>Super Action class, like:
>UserMustBeLoggedAction{
>execute(attribs){
>verify session stuf
Hi,
I was wondering what do experts recommend:
inside Action´s execute method we should pass the attributes to the Facade
or create the business objects in the Action and pass them on?
1)
execute(){
Facade.addUser(name, surname, login, birth, );
}
or
2)
execute(){
User u
atter case. You can (typically) use BeanUtils.populate()
do move all properties in one fell swoop.
Tim Lucia
> -Original Message-
> From: Felipe Nascimento [mailto:[EMAIL PROTECTED]
> Sent: Saturday, December 06, 2003 10:15 PM
> To: [EMAIL PROTECTED]
> Subject: from Action to Fa
http://java.sun.com/products/servlet/Filters.html
http://www.javaworld.com/javaworld/jw-06-2001/jw-0622-filters-p2.html
http://securityfilter.sourceforge.net/
-Mensagem original-
De: Baljinder Singh [mailto:[EMAIL PROTECTED]
Enviada em: domingo, 7 de dezembro de 2003 13:16
Para: Struts
Hi,
I have a Form Bean of type DynaValidatorActionForm that is shared among
multiple actions.
I set validation.xml with something like the code bellow. But when I tried
to enable client side validation placing html:javascript and adding onsubmit
to html:form I can´t get it to work
What I see is t
Hi all,
I am using struts validator.
I have a form that needs a object in the request to populate some bean:write
outputs and some form input elements values.
When I submit this form to an action mapping that has validate=true and the
validation is not successfull, the user returns to the original
15 matches
Mail list logo