Oh, I forgot; after S2.0.mumble EL is turned off in the tags because of the 
potential security issue. Some of us have been "fixing" the TLD to allow this 
if the app takes into account the risks.

Sorry, slipped my mind.

Dave

--- On Mon, 6/16/08, Bruno Cavestro <[EMAIL PROTECTED]> wrote:

> From: Bruno Cavestro <[EMAIL PROTECTED]>
> Subject: RE: iterators for input buttons?
> To: "Struts Users Mailing List" <user@struts.apache.org>
> Date: Monday, June 16, 2008, 9:16 AM
> Hello,
> 
> in fact even the name event gives some problems. it seems
> that the TLD does
> not support variables for name
> I have a french error message so I don't think it may
> help
> 
> 
> 
> -----Message d'origine-----
> De : Bruno Cavestro [mailto:[EMAIL PROTECTED]
> Envoye : lundi 16 juin 2008 14:41
> A : Struts Users Mailing List; [EMAIL PROTECTED]
> Objet : RE: iterators for input buttons?
> 
> 
> 
> Onclick is the real problem! Regular ognl
> "<s:submit" does not support
> onclick!!!
> 
> and the onclick event run a function which will fill some
> textfield with the
> proper value so ...
> any idea?
> 
> -----Message d'origine-----
> De : Dave Newton [mailto:[EMAIL PROTECTED]
> Envoye : lundi 16 juin 2008 13:53
> A : Struts Users Mailing List
> Objet : Re: iterators for input buttons?
> 
> 
> Did you try just using regular OGNL in the onclick and
> value attributes?
> It'll obviously work for "value", not sure if
> onclick is evaluated.
> 
> It seems like it wouldn't take much time to just try
> it.
> 
> Dave
> 
> --- On Mon, 6/16/08, Bruno Cavestro
> <[EMAIL PROTECTED]> wrote:
> 
> > From: Bruno Cavestro <[EMAIL PROTECTED]>
> > Subject: iterators for input buttons?
> > To: "Struts Users Mailing List"
> <user@struts.apache.org>
> > Date: Monday, June 16, 2008, 6:44 AM
> > Hello,
> >
> > I want my jsp code to use an iterator. The goal is to
> get
> > my html page
> > contains some code like the following:
> >
> > <FORM NAME="form_name"
> > METHOD="POST">
> >             <INPUT TYPE="BUTTON"
> > VALUE="value1_fromIterator"
> >
> ONCLICK="button1('value1_fromIterator')">
> >             <INPUT TYPE="BUTTON"
> > VALUE="value2_fromIterator"
> >
> ONCLICK="button1('value2_fromIterator')">
> >             ...
> > </FORM>
> >
> > so .. given the basic iteration:
> >  <s:iterator value="myList">
> >         <s:property /><br>
> >  </s:iterator>
> >
> > How can I do that? And How can I force each input
> button to
> > have an Onclick
> > event associated?
> >
> >
> >
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to