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
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
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
--- On Mon, 6/16/08, Bruno Cavestro [EMAIL PROTECTED] wrote:
Onclick is the real problem! Regular ognl s:submit does not
support onclick!!! [...] any idea?
You cold try using JSP EL; if you're creating an OGNL variable with the
s:iterator... you should be able to access it via ${}. S2 uses a
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
: 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
should I do?
Sincerely
Bruno Cavestro
-Message d'origine-
De : Dave Newton [mailto:[EMAIL PROTECTED]
Envoye : lundi 16 juin 2008 15:19
A : Struts Users Mailing List
Objet : RE: iterators for input buttons?
Oh, I forgot; after S2.0.mumble EL is turned off in the tags because
7 matches
Mail list logo