You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Anuradha D Dodda <da...@in.ibm.com> on 2002/02/26 13:01:56 UTC

Problem with submitting runtime parameters with and

Hi,

I have a problem with <html:link> and <html:checkbox>

 I have this link in <logic:iterate> , which repeats on no.of records.
Each link has to submit a runtime value which will be taken from bean which
is been used
in Logic:iterate.
I have to submit that value , onclick of that link.
I have a FormBean which can hold that value and from which I am getting the
value that is
set to link dynamically.
But that value is not been set to FormBean itself.

My Problem with this check box is also same kind of ..
My checkbox is also there in <logic:iterate> loop.
It will give a checkbox for every record in that loop.
And I have to assign a value from the bean that is used by <logic:iterate>
to checkBox
And runtime when I submit , by selecting more than one checkbox , it should
set it to
a string array variable defined in my formbean.But it is not happening ?

Please help me out in this matter..

I am pasting my screen shot


Please select the service you wish to edit by selecting the EDIT button to
the right of the selected service.


|--------+-----------------------+--------------+---------+---+-----+--+-------------+-------------+-------------+-------------+------------->
|        | ID                    | Name         |Status   |   |     |  |             |             |             |             |             |
|--------+-----------------------+--------------+---------+---+-----+--+-------------+-------------+-------------+-------------+------------->
  >-------------|
  |             |
  >-------------|
|--------+-----------------------+--------------+---------+---+-----+--+-------------+-------------+-------------+-------------+------------->
|        |                       |              |         |   |     |  |             |             |             |             |             |
|--------+-----------------------+--------------+---------+---+-----+--+-------------+-------------+-------------+-------------+------------->
  >-------------|
  |             |
  >-------------|
|--------+-----------------------+--------------+---------+---+-----+--+-------------+-------------+-------------+-------------+------------->
||------||232                    |asdf          |Undefined|   |edit |  |             |             |             |             |             |
|| [ ]  ||                       |              |         |   |     |  |             |             |             |             |             |
|        |                       |              |         |   |     |  |             |             |             |             |             |
|--------+-----------------------+--------------+---------+---+-----+--+-------------+-------------+-------------+-------------+------------->
  >-------------|
  |             |
  >-------------|
|--------+-----------------------+--------------+---------+---+-----+--+-------------+-------------+-------------+-------------+------------->
||------||121                    |asdfas        |Undefined|   |edit |  |             |             |             |             |             |
|| [ ]  ||                       |              |         |   |     |  |             |             |             |             |             |
|        |                       |              |         |   |     |  |             |             |             |             |             |
|--------+-----------------------+--------------+---------+---+-----+--+-------------+-------------+-------------+-------------+------------->
  >-------------|
  |             |
  >-------------|
|--------+-----------------------+--------------+---------+---+-----+--+-------------+-------------+-------------+-------------+------------->
||------||1245                   |gfdgfd        |Undefined|   |edit |  |             |             |             |             |             |
|| [ ]  ||                       |              |         |   |     |  |             |             |             |             |             |
|        |                       |              |         |   |     |  |             |             |             |             |             |
|--------+-----------------------+--------------+---------+---+-----+--+-------------+-------------+-------------+-------------+------------->
  >-------------|
  |             |
  >-------------|
|--------+-----------------------+--------------+---------+---+-----+--+-------------+-------------+-------------+-------------+------------->
|        |delete                 |              |         |   |     |  |             |             |             |             |             |
|--------+-----------------------+--------------+---------+---+-----+--+-------------+-------------+-------------+-------------+------------->
  >-------------|
  |             |
  >-------------|
|--------+-----------------------+--------------+---------+---+-----+--+-------------+-------------+-------------+-------------+------------->
|        |please reply me the    |              |         |   |     |  |             |             |             |             |             |
|        |solution asap !!!!!!!!!|              |         |   |     |  |             |             |             |             |             |
|        |                       |              |         |   |     |  |             |             |             |             |             |
|        |                       |              |         |   |     |  |             |             |             |             |             |
|        |                       |              |         |   |     |  |             |             |             |             |             |
|--------+-----------------------+--------------+---------+---+-----+--+-------------+-------------+-------------+-------------+------------->
  >-------------|
  |             |
  >-------------|
|--------+-----------------------+--------------+---------+---+-----+--+-------------+-------------+-------------+-------------+------------->
|        |Thanks in              |              |         |   |     |  |             |             |             |             |             |
|        |Advance................|              |         |   |     |  |             |             |             |             |             |
|        |                       |              |         |   |     |  |             |             |             |             |             |
|        |Anuradha               |              |         |   |     |  |             |             |             |             |             |
|--------+-----------------------+--------------+---------+---+-----+--+-------------+-------------+-------------+-------------+------------->
  >-------------|
  |             |
  >-------------|
|--------+-----------------------+--------------+---------+---+-----+--+-------------+-------------+-------------+-------------+------------->
|        |                       |              |         |   |     |  |             |             |             |             |             |
|--------+-----------------------+--------------+---------+---+-----+--+-------------+-------------+-------------+-------------+------------->
  >-------------|
  |             |
  >-------------|










--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>