Re: html:image - running into an infinite loop

2004-03-12 Thread anuj . upadhyay
Niall, Thanks for the help. Atleast now I know where to look to solve the problem. My next question, how to remove / reset the button parameters (x & y) in the Request? I need the other parameters to stay (sort of refresh / repost, but don't want to go back to 'ResetDataAction') . -Anuj R

Re: html:image - running into an infinite loop

2004-03-12 Thread Niall Pemberton
The problem you are having, is that each time you forward to an action then struts will re-populate the form from the request. That is why you are getting into a loop - when your "ResetDataAction" forwards back to "getData" - the action for getData is having the form re-populated from the request,

Re: Html:image

2003-11-10 Thread David Graham
--- Ben Anderson <[EMAIL PROTECTED]> wrote: > Shishir, > > you cannot nest tags within tags. Just to be clear, you can nest tags but you cannot use a tag as the value of another tag's attribute. David > You probably want to use > > http://jakarta.apache.org/struts/faqs/struts-el.html > > -Be

Re: Html:image

2003-11-10 Thread Ben Anderson
Shishir, you cannot nest tags within tags. You probably want to use http://jakarta.apache.org/struts/faqs/struts-el.html -Ben From: "Shishir K. Singh" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Subject: Html:

Re: html:image swapping

2003-10-01 Thread Frank Maritato
You will have to write your own taglib to do this. I wrote one that extended org.apache.struts.taglib.html.ImgTag and just added the call to RequestUtils.message to get the image location from the resource key and then output the onmouseover and onmouseout tags. Take a look at the source for Im

RE: html:image syntax

2003-06-17 Thread Mike Jasnowski
Can you share "how" it's failing now? -Original Message- From: Ali Manji [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 17, 2003 5:04 PM To: [EMAIL PROTECTED] Subject: html:image syntax Hi, I am pretty certain that I used to use the following syntax with a previous version of Struts wi

RE: HTML:image tag question

2002-08-29 Thread Jacob Hookom
allows the same parameters to be set. You should read the struts tag documentation. -Jacob | -Original Message- | From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]] | Sent: Thursday, August 29, 2002 10:26 AM | To: Struts Users Mailing List | Subject: HTML:image tag question | | | Hi, |

Re: HTML:Image (was: HTML / Struts Help)

2002-02-15 Thread Ted Husted
The advice in the User Guide may be obsolete now that we support the dotted syntax :o( You may need to define a ImageButtonBean on the ActionForm with x and y properties. The getCreateButton method could then call the getX() (or getY()) method on that bean to determine whether it was pushed. --

Re: HTML:Image (was: HTML / Struts Help)

2002-02-15 Thread Keith
A quick reply & probably crazy. But struts would try to call formBean.getCreateButton().setX(); (It would I assume not try to call formBean.getCreatebutton().getX()). it might be worth trying in your form bean:- public class formBean extends ActionForm { CreateButton createButton = new

Re: html:image tag example

2001-10-24 Thread Eric Rizzo
chiji nwankwo wrote: > Does anyone have any examples of how to use the html:image tag to > perform a submit. Please point me in the right direction. You just need to put the tag within a tag. This works for me: ...input fields, etc HTH, Eric -- Eric Rizzo, So

RE: html:image tag example

2001-10-24 Thread Fuller, Wayne
-Original Message- From: chiji nwankwo [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 24, 2001 5:15 AM To: [EMAIL PROTECTED] Subject: html:image tag example Hi, Does anyone have any examples of how to use the html:image tag to perform a submit. Please point me in the right direct

RE: html:image does not call the setter-method of the form

2001-09-21 Thread CARDON Denis
Title: RE: html:image does not call the setter-method of the form Hi Beat, When you post a form by clicking on a button, you only receive the coordinates where the user clicked the button as:   my_button_name.x=###   my_button_name.y=### but the browser does not post the value contained

Re: html:image does not call the setter-method of the form

2001-09-21 Thread Jan Sorensen
I believe that the HTML specification says that for an input of type image the value is not submitted to the server, instead the x- and y-coordinate of the click is submitted. The name of these parameters is name.x and name.y, where name is the name attribute of the element. I don't think the tag

Re: html:image does not call the setter-method of the form

2001-09-21 Thread Terence Jacyno
Hi. There are two solutions, depending on what you want to do. If you want to have an image map (i.e. you want to recover the coordinates of the image that was clicked), you can follow the directions for the image tag (http://jakarta.apache.org/struts/struts-html.html#image). However, if you ha

RE: html:image bug?

2001-05-17 Thread Niall Pemberton
You can look at the history of changes to Struts throug CVS Web, for ImageTag: http://jakarta.apache.org/cvsweb/index.cgi/jakarta-struts/src/share/org/apac he/struts/taglib/html/ImageTag.java According to the entries this bug was fixed on 27/02/2001, so you need a nightly build after that to cor

RE: html:image bug?

2001-05-17 Thread Dan Powell
Title: RE: html:image bug? Ahh, sorry, this actually has already been corrected in cvs, so you could backport the change from there.  http://nagoya.apache.org/bugzilla/show_bug.cgi?id=708 -- J. Daniel Powell Sr. Systems Architect   -Original Message- From: Nathan Coast [mailto

Re: html:image bug?

2001-05-17 Thread Dan Miser
Yes, this is an existing bug. See #1399. It's fixed in the nightly build. -- Dan Miser http://www.distribucon.com ><%@ taglib uri="/WEB-INF/tld/struts-html.tld" prefix="html" %> > > >results in this html being generated: > >style="cursor:hand"> > >obvious problems with name=" and src="/img/but_s

RE: html:image bug?

2001-05-17 Thread Sean McGrath
it's a bug, you need to escape the ", like this > -- > From: Nathan Coast[SMTP:[EMAIL PROTECTED]] > Reply To: [EMAIL PROTECTED] > Sent: Thursday, May 17, 2001 10:02 AM > To: struts-user > Subject: html:image bug? > > Hi > > <%@ taglib uri="/WEB-INF/tld/strut

RE: html:image bug?

2001-05-17 Thread Dan Powell
Title: RE: html:image bug? Yes, I discovered this problem two days ago, actually.  The code was simple to fix, I hope to submit a patch to struts-dev today or tomorrow, or I'm sure you can notice the problem easily yourself. -- J. Daniel Powell Sr. Systems Architect   -Original Me

Re: html:image tag "border" attribute?

2001-02-28 Thread Incze Lajos
On Wed, Feb 28, 2001 at 01:59:59PM -0600, [EMAIL PROTECTED] wrote: > > Shouldn't there be a "border" attribute for the html:image tag? Or is it > there and I overlooked it? > As I see struts is tied to the strict HTML 4.01 DTD which does not have this attribute. You are supposed to use CSS for