I don't believe this is possible exactly as you say. Here are my inputs ;) :
The html:image DOES allow you to capture an x and y coordinate where the
user clicked. These are returned in the form foo.x and foo.y where the
parameter name for the image control is foo. More on this in Struts in
Take a look at the Scarab web application - it builds a Tomcat sandbox as
part of the install process. You might be able to steal some of their ideas
when deploying your app. I think the install process is pretty simple once
you find the right document. With Scarab, you do need to edit a
I did the following to get around the drawback with RequestProcessor that
you pointed out:
1) keep the ActionErrors as a request attribute
2) set the validate parameter to false for the ActionMapping
3) add code like the following to the search action itself:
errs = form.validate();
if
If your fields are currently Strings, just put
field = new String[0];
in your reset() method. You don't need to change it to a [Bb]oolean.
This advice should work for any type.
B
-Original Message-
From: Sgarlata Matt [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 17, 2003 12:48
You are correct.
Your decision to put the errors in the session is necessary if you want the
URL to read that way. My understanding is that all request attributes will
vanish if you redirect. Most notably including the ActionErrors that the
thread was all about! :) I have long since given up
C,
You can't nest tags as you did in the value attribute.
bean:define ... value=bean:write name=author/ /
The rest of the list will croak when I recommend that you use
%= author %
instead of
bean:write name=author/
Maybe they can tell you a fancy -el/JSTL way to do it. :)
B
-Original
Thoughts:
1) Assuming that you have a separate value object to carry this
item to the view, try replacing any \n with br in the action.
2) Have you also considered using the pre HTML tag?
B
-Original Message-
From: David Erickson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 17,
This is a web server configuration problem. Are you using Tomcat?
Try examining the web server configuration file for the local host name. A
simple search for localhost should find some candidiates for change to
isunit81.
Send more information about your web server and perhaps I or someone else
Use indexId=count instead of idName=count.
Count will then be a scripting variable containing the iteration index.
B
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 26, 2003 3:20 PM
To: [EMAIL PROTECTED]
Subject: Accessing page variables in
9 matches
Mail list logo