Re: Render an html button tag

2005-06-29 Thread Jeff Beal
I sent a couple of additional comments on this to Frank; I guess I should have paid more attention so they made it to the list, too. I won't belabor the points too much, but if you're interested in this question, section 17.13.2 "Successful Controls" (http://www.w3.org/TR/html401/interact/forms.ht

Re: Render an html button tag

2005-06-28 Thread Michael Jouravlev
On 6/28/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > I'm curious though... I'm looking at the 4.01 spec now and I don't see > anyplace that says the non-clicked button shouldn't be submitted... I > would actually expect it to work like any other form element in that they > all get submitted r

Re: Render an html button tag

2005-06-28 Thread Gary Cauthon
From: Wendy Smoak <[EMAIL PROTECTED]> From: "Gary Cauthon" <[EMAIL PROTECTED]> > Using HTML, I can create a button using this syntax: > remove > remove > > So how do I > do this with the struts html:button tag? As far as I can tell, it just > renders an tag of type "input" that does nothing wh

Re: Render an html button tag

2005-06-28 Thread Frank W. Zammetti
Interestingly, I have never even thought of using a within a form :) I suppose it is subconscious, but I always use within forms and outside them. I'm curious though... I'm looking at the 4.01 spec now and I don't see anyplace that says the non-clicked button shouldn't be submitted... I would

Re: Render an html button tag

2005-06-28 Thread Jeff Beal
Oddly, the element doesn't work well in Internet Explorer. (I just checked.) I have this form in an HTML page: Click Click 2 Now, if you click on one of the buttons, only that button and its value are supposed to be submitted. However, both are. Not only that, but the bu

Re: Render an html button tag

2005-06-28 Thread Frank W. Zammetti
On Tue, June 28, 2005 11:20 am, Wendy Smoak said: > I can't say why we don't have something that renders . It's in > the > HTML 4.01 specification so I don't think there would be any objection to > adding it if someone wanted to. (Though what would we call it?) What, isn't to your liking Wendy?

RE: Render an html button tag

2005-06-28 Thread Folashade Adeyosoye
You can use a button shardayyy -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 28, 2005 11:20 AM To: Struts Users Mailing List Subject: Re: Render an html button tag From: "Gary Cauthon" <[EMAIL PROTECTED]> > Using HTML, I

Re: Render an html button tag

2005-06-28 Thread Lucas Bern
Hello Gary, You can do: SearchYour Feelings SearchYour Feelings your form: public class SomeForm extends ActionForm{ public String darkSideButton = null; public String jedisSideButton = null; ... getters ... setters } So when de user clicks some button, the property asociated with

Re: Render an html button tag

2005-06-28 Thread Wendy Smoak
From: "Gary Cauthon" <[EMAIL PROTECTED]> > Using HTML, I can create a button using this syntax: > remove > remove > > So how do I > do this with the struts html:button tag? As far as I can tell, it just > renders an tag of type "input" that does nothing when you click it. > Do I need to write it

Render an html button tag

2005-06-28 Thread Gary Cauthon
Using HTML, I can create a button using this syntax: remove * * * misc html * * * remove So if a user clicks on one of the buttons then I know which one they clicked because a value of 1 or 2 is sent. Notice how the 1 or 2 do not appear on the face of the button because that would look od