Hi
As i can see here is used to display the images where u can reduce the
adding same source with path using message resources , while the this
is used as link where we have same tag for struts like , can please specify
what u want to say?
Regards
Naveen.
-Original Message-
From: Srini
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
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
> Felipe Nascimento wrote:
>
> > key="tatilJ.exce
hi Sumit
Can u sedn the code snapshot for nested iterate.
I have 2 beans .Oneis for category and secound is for sub category. I m
returning one collection to the JSp File which contain the category name and
subcategory beans List.Subcategory bean list is further having its own
properties which ar
Felipe Nascimento wrote:
key="tatilJ.exception.faseJaExisteException" path="tiles.erro" />
Is the tiles definition really called "tiles.erro" and not "tiles.error" ?
--
Rick
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addit
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> This might be more involved than you may think. The easy answer is to extend
> the RequestProcessor and add this functionality there. The hard answer is
> that you may not want to enable a user to just jump to any given page, only
> havin
hello,
is there a difference between :
response.sendRedirect("/test.do");
return null;
&
return (mapping.findForward("test"));
with the action mapping in struts-config.xml :
both goes to /test.do but is there any difference if i specify
redirect="true" in forward mapping
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> You could do that... or you could do it the J2EE way, decleratively
> without any coding, letting container do it that way:
Thanks for the reply Vic. I can see how that would be the way to go if
I were starting from scratch. Unfortun
You could do that... or you could do it the J2EE way, decleratively
without any coding, letting container do it that way:
Ex in web.xml:
Secure
/do/loginPg/*
/do/newsBlgCmntAddPg/*
/do/userChngPg/*
VALID
ENHANCED
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
Hi,
Make use of nested:iterate .. its pretty simple to use and it is ment to
iterate inside an iterate
But do make a parent child relationship for this nested iterate to work
Rgds,
Sumeet:)
On Mon, 17 Nov 2003 Hari_s wrote :
>Hi everyone..
>I have problem with iterate within ite
Hi everyone..
I have problem with iterate within iterate..
I have iterate table that contain iterate data
and this is my code ...
but that code produce error like this
javax.servlet.jsp.JspException: No getter method for property data2 of bean ide
java.lang.Object
I have an action that does the following:
public ActionForward execute(
ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
throws Exception {
request.setAttribute( "testing", "This is a test" );
Linda, et al,
Now that I've had a moment to review the code, I understand that the
ActionMessage/ActionError is just an encapsulation of the key/replacement
values for a resource message. It is not until this information is rendered
that the bundle is specified.
For example, the tag allows a "b
Well you know what you want to which is most the way there..
You'll want to check the struts docs on indexed properties.
..ActionForm
private ArrayList userList;
public ArrayList getUsers() {
return userList;
}
public addUser(User user) {
this.userList.add(user);
}
...
This might be more involved than you may think. The easy answer is to extend
the RequestProcessor and add this functionality there. The hard answer is
that you may not want to enable a user to just jump to any given page, only
having to go through a login step to get there. You may very well need
s
Some of my pages need the user to be logged on before they can be
viewed, so I have cobbled together some simple behaviour in my Action
superclass that forwards them to a logon page. Now, I need to send them
back to where they were originally trying to go before I redirected them
to logon. I
Thanks Caoilte.
- Original Message -
From: "Caoilte O'Connor" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, November 16, 2003 10:04 PM
Subject: Re: Where to get the latest Scaffold jar and documentation?
> The Scaffold in Struts in Action book is very different from
> the v
I have a similiar problem.
I hava a userForm that has a ArrayList of User objects, each User object has several
properties: fistname, lastname, age.
How can I get all User's firstname, lastname, age in an iterate?
- Original Message -
From: "Sumit S." <[EMAIL PROTECTED]>
To: "Struts
Hi,
I hava a userForm that has a ArrayList of User objects, each User object has several
properties: fistname, lastname, age.
How can I get all User's firstname, lastname, age in an iterate?
Thanks.
bruce
Ok I figured out a way to make it all work ...
The solution ended up being to put all the commons jar files in the root of
the ear, and add them to application.xml as java modules. Looks like it was
indeed a classloader issue then ... which would lead me to think that this
is a bug. No reason why
The Scaffold in Struts in Action book is very different from
the version included with the Artimus example app in Struts
1.1 contrib.
I wouldn't advise using those chapters as anything more than
a general introduction to the framework.
and AFAIK ted considers the framework finished.
c
On Sat
i've not used dynaforms with fileupload so if that is the
problem I couldn't say. you could try it with a normal
formBean.
However as the problem is trying to set a formfile using a
string it looks like the problem could be in your jsp.
have you set the enctype like below,
and the form prop
The 3.1 distribution of torque is divided into generator and runtime.
Other than that works just like 3.0.
On 16 Nov 2003, at 13:41, Caoilte O'Connor wrote:
some bugfixes that may or may not affect you. I updated my
runtime jar to 3.1 but left the generation of java files
(in a separate project)
some bugfixes that may or may not affect you. I updated my
runtime jar to 3.1 but left the generation of java files
(in a separate project) using 3.0 as I had enough trouble
just getting that to work.
Anyway that seems to be working well, though if I was
starting from scratch today I'd try and
Hi Andreas,
i think the best way is to write your own
validate() method in your action form. There you
can easily check the value of the userAction attribute
and depending on that the other attributes.
example:
public ActionErrors validate(ActionMapping mapping, HttpServletRequest
request) {
A
Hi Victor,
thanks for you reply. the lookupdispatchaction does not really solve
my problem, since handling the different actions is not the problem.
the problems is the validation of the input fields for the different
action. i need different validations depending on the value of the
userAction
Oi Andre,
Tries to verify the LookupDispatchAction class, this
class allows to manage diverse actions in simple
Action and in this way you can better manage its
validations with the Validator.
Good code.
Victor Amano Izawa
__
28 matches
Mail list logo