RE: creating a for loop structure for multibox

2004-12-17 Thread David G. Friedman
Frank,

I'll agree with you on not wanting taglibs to be tied directly into Struts.
Why?  Because I like the idea of modularity.  I think this comes from
skimming over struts-chains and thinking (GASP) there are things I could do
without using the traditional struts at all. *shivers in fear AND excitement
at that idea*

Just my $0.02 worth.

Regards,
David

-Original Message-
From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
Sent: Friday, December 17, 2004 5:44 PM
To: Struts Users Mailing List
Subject: Re: creating a for loop structure for multibox


> Well, then you have JSTL... :)
>
> And, struts tags don't require struts.

As I just wrote in another reply :)

Yeah, your right about the Struts tags, but I always worry that there
might be something under the covers that ties it to Struts.  Sure, I
could look at the source, but I've never wanted to know that bad :)

Eh, I knew I was saying something controversial to begin with :)  I'm in
the minority with regard to taglibs, I know that.

--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com

>>Jim and Frank.
>>
>>Frank W. Zammetti wrote:
>>
>>
>>>Fair enough.  But, now you are tied  pretty securely to
>>
>>Struts.  I'm
>>
>>>not saying that's a bad thing or even a concern to most, but it is
>>>something to be aware of.
>>>
>>>We all strive for separation and low-coupling of everything these
>>>days, and rightly so, and to me that also means the ability
>>
>>to change
>>
>>>frameworks without touching my presentation layer (within some
>>>necessary constraints of course)
>>>
>>>You make perfectly valid points though, so throw it all into the
>>>hopper and make a decision Kedar! :)
>>>
>>
>>
>>-
>>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]



Re: creating a for loop structure for multibox

2004-12-17 Thread Frank W. Zammetti
Well, then you have JSTL... :)
And, struts tags don't require struts.
As I just wrote in another reply :)
Yeah, your right about the Struts tags, but I always worry that there 
might be something under the covers that ties it to Struts.  Sure, I 
could look at the source, but I've never wanted to know that bad :)

Eh, I knew I was saying something controversial to begin with :)  I'm in 
the minority with regard to taglibs, I know that.

--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
Jim and Frank.
Frank W. Zammetti wrote:

Fair enough.  But, now you are tied  pretty securely to 
Struts.  I'm 

not saying that's a bad thing or even a concern to most, but it is 
something to be aware of.

We all strive for separation and low-coupling of everything these 
days, and rightly so, and to me that also means the ability 
to change 

frameworks without touching my presentation layer (within some 
necessary constraints of course)

You make perfectly valid points though, so throw it all into the 
hopper and make a decision Kedar! :)


-
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]


Re: creating a for loop structure for multibox

2004-12-17 Thread Frank W. Zammetti
It's also fair to tell you that you can do the same thing with JSTL and 
NOT be tied to Struts (assuming you abstract the ActionForm a little and 
don't do anything with it that can't be done with a normal bean later). 
 Kind of a best of both worlds answer I guess, but I think JSTL tends 
to be just a hair more complicated (not much, but a little).

--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
Kedar Deshpande wrote:
Both solutions seem like they will do the trick. thank you for giving me 
two choices to deceide from, i guess my choice will be based on wheather 
i want to stick firmly with struts tag or not. thanks for all your help 
Jim and Frank.

Frank W. Zammetti wrote:
Fair enough.  But, now you are tied  pretty securely to Struts.  I'm 
not saying that's a bad thing or even a concern to most, but it is 
something to be aware of.

We all strive for separation and low-coupling of everything these 
days, and rightly so, and to me that also means the ability to change 
frameworks without touching my presentation layer (within some 
necessary constraints of course)

You make perfectly valid points though, so throw it all into the 
hopper and make a decision Kedar! :)


-
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]


RE: creating a for loop structure for multibox

2004-12-17 Thread Jim Barrows


> -Original Message-
> From: Kedar Deshpande [mailto:[EMAIL PROTECTED]
> Sent: Friday, December 17, 2004 3:19 PM
> To: Struts Users Mailing List
> Subject: Re: creating a for loop structure for multibox
> 
> 
> Both solutions seem like they will do the trick. thank you 
> for giving me 
> two choices to deceide from, i guess my choice will be based 
> on wheather 
> i want to stick firmly with struts tag or not. thanks for all 
> your help 

Well, then you have JSTL... :)

And, struts tags don't require struts.

> Jim and Frank.
> 
> Frank W. Zammetti wrote:
> 
> > Fair enough.  But, now you are tied  pretty securely to 
> Struts.  I'm 
> > not saying that's a bad thing or even a concern to most, but it is 
> > something to be aware of.
> >
> > We all strive for separation and low-coupling of everything these 
> > days, and rightly so, and to me that also means the ability 
> to change 
> > frameworks without touching my presentation layer (within some 
> > necessary constraints of course)
> >
> > You make perfectly valid points though, so throw it all into the 
> > hopper and make a decision Kedar! :)
> >
> 
> 
> -
> 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]



Re: creating a for loop structure for multibox

2004-12-17 Thread Kedar Deshpande
Both solutions seem like they will do the trick. thank you for giving me 
two choices to deceide from, i guess my choice will be based on wheather 
i want to stick firmly with struts tag or not. thanks for all your help 
Jim and Frank.

Frank W. Zammetti wrote:
Fair enough.  But, now you are tied  pretty securely to Struts.  I'm 
not saying that's a bad thing or even a concern to most, but it is 
something to be aware of.

We all strive for separation and low-coupling of everything these 
days, and rightly so, and to me that also means the ability to change 
frameworks without touching my presentation layer (within some 
necessary constraints of course)

You make perfectly valid points though, so throw it all into the 
hopper and make a decision Kedar! :)


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


Re: creating a for loop structure for multibox

2004-12-17 Thread Frank W. Zammetti
Fair enough.  But, now you are tied  pretty securely to Struts.  I'm not 
saying that's a bad thing or even a concern to most, but it is something 
to be aware of.

We all strive for separation and low-coupling of everything these days, 
and rightly so, and to me that also means the ability to change 
frameworks without touching my presentation layer (within some necessary 
constraints of course)

You make perfectly valid points though, so throw it all into the hopper 
and make a decision Kedar! :)

--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
Jim Barrows wrote:

-Original Message-
From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
Sent: Friday, December 17, 2004 2:14 PM
To: Struts Users Mailing List
Subject: Re: creating a for loop structure for multibox
If I understand correctly, you will get from an Action an 
upper limit to 
the number of checkboxes to display, and you want each checkbox to be 
named 'valueX' where X is the value of the for loop.  Some 
people will 
argue, but I don't see where a taglib is really required here...

<%
  // Assume you got a reference to your action form in af,
  // and that is has a getUpperLimit() method...
  int ul = af.getUpperLimit();
  for (int i = 0; i < ul; i++) {
%>

<%
  }
%>
Not much more than that required.  To make them retain state, you'll 
have to provide some method to determine when a given checkbox is 
checled, and add a checked attribte accordingly, something like:



That'll do the trick, assuming getIsChecked() accepts an 
index value and 
returns a boolean stating whether that particular checkbox is 
checked or 
not.

I have a personal distaste for taglibs in most cases, I know 
many people 
disagree, but I figured you might as well know all your options, then 
you can choose whickever you prefer from an informed position.

And in that spirit:

 

is 4 lines of code
plus the 3 lines of code you'll need in reset.  Plus the i18n ability with no 
additional codeing.
Not to mention being able to hand off the code to the web design folks and have 
them easily make things purty.

--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
Jim Barrows wrote:
-Original Message-
From: Kedar Deshpande [mailto:[EMAIL PROTECTED]
Sent: Friday, December 17, 2004 1:52 PM
To: Struts Users Mailing List
Subject: Re: creating a for loop structure for multibox
i am currently using struts tags and cant find a proper 
solution. it 

would be better to have a simple struts code, otherwise i'll 
try to use 
the JSTL.

Then you want the logic:iterate tag.


thank you
Kedar
Jim Barrows wrote:


-Original Message-
From: Kedar Deshpande [mailto:[EMAIL PROTECTED]
Sent: Friday, December 17, 2004 1:21 PM
To: [EMAIL PROTECTED]
Subject: creating a for loop structure for multibox
Could someone please post an example of using a 'for loop' 
structure in 
 

Using JSTL, or Struts tag libs?



a JSP. i need to get the loop limit from the action and 
then assign 

individual 'value' values for a column of checkboxes so 
that i know 

which ones were selected and so that they can be set again 
when viewing 
the page.

thanks

-

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]


-
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]


Re: creating a for loop structure for multibox

2004-12-17 Thread Wendy Smoak
From: "Kedar Deshpande" <[EMAIL PROTECTED]>
> bu then even if i pass the iterate tag a list of same lenth of required
> number of checkboxes, how would i make sure each checkbox has a unique
> 'value' value so that i know which ones are checked when the form is
> sent to the action?

The List would contain the values.  As you iterate over the List, for each
multibox, the Struts framework will render it as checked if its value
matches one of the values in the String[] that's in the Form bean.

   
   



This uses a Map which is sitting in session scope.  Yours might be a List, I
think any Collection would do. In the example, 'accounts' is a String[]
property of the Form bean.

-- 
Wendy Smoak


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



RE: creating a for loop structure for multibox

2004-12-17 Thread Jim Barrows


> -Original Message-
> From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
> Sent: Friday, December 17, 2004 2:14 PM
> To: Struts Users Mailing List
> Subject: Re: creating a for loop structure for multibox
> 
> 
> If I understand correctly, you will get from an Action an 
> upper limit to 
> the number of checkboxes to display, and you want each checkbox to be 
> named 'valueX' where X is the value of the for loop.  Some 
> people will 
> argue, but I don't see where a taglib is really required here...
> 
> <%
>// Assume you got a reference to your action form in af,
>// and that is has a getUpperLimit() method...
>int ul = af.getUpperLimit();
>for (int i = 0; i < ul; i++) {
> %>
>  
> <%
>}
> %>
> 
> Not much more than that required.  To make them retain state, you'll 
> have to provide some method to determine when a given checkbox is 
> checled, and add a checked attribte accordingly, something like:
> 
>   <%=af.getIsChecked(i)=true?"checked":"">
> 
> That'll do the trick, assuming getIsChecked() accepts an 
> index value and 
> returns a boolean stating whether that particular checkbox is 
> checked or 
> not.
> 
> I have a personal distaste for taglibs in most cases, I know 
> many people 
> disagree, but I figured you might as well know all your options, then 
> you can choose whickever you prefer from an informed position.

And in that spirit:


 

is 4 lines of code
plus the 3 lines of code you'll need in reset.  Plus the i18n ability with no 
additional codeing.
Not to mention being able to hand off the code to the web design folks and have 
them easily make things purty.

> 
> -- 
> Frank W. Zammetti
> Founder and Chief Software Architect
> Omnytex Technologies
> http://www.omnytex.com
> 
> 
> Jim Barrows wrote:
> > 
> >>-Original Message-
> >>From: Kedar Deshpande [mailto:[EMAIL PROTECTED]
> >>Sent: Friday, December 17, 2004 1:52 PM
> >>To: Struts Users Mailing List
> >>Subject: Re: creating a for loop structure for multibox
> >>
> >>
> >>i am currently using struts tags and cant find a proper 
> solution. it 
> >>would be better to have a simple struts code, otherwise i'll 
> >>try to use 
> >>the JSTL.
> > 
> > 
> > Then you want the logic:iterate tag.
> > 
> > 
> > 
> >>thank you
> >>Kedar
> >>
> >>Jim Barrows wrote:
> >>
> >>
> >>> 
> >>>
> >>>
> >>>>-Original Message-
> >>>>From: Kedar Deshpande [mailto:[EMAIL PROTECTED]
> >>>>Sent: Friday, December 17, 2004 1:21 PM
> >>>>To: [EMAIL PROTECTED]
> >>>>Subject: creating a for loop structure for multibox
> >>>>
> >>>>
> >>>>Could someone please post an example of using a 'for loop' 
> >>>>structure in 
> >>>>   
> >>>>
> >>>
> >>>Using JSTL, or Struts tag libs?
> >>>
> >>>
> >>> 
> >>>
> >>>
> >>>>a JSP. i need to get the loop limit from the action and 
> then assign 
> >>>>individual 'value' values for a column of checkboxes so 
> that i know 
> >>>>which ones were selected and so that they can be set again 
> >>>>when viewing 
> >>>>the page.
> >>>>
> >>>>thanks
> >>>>
> >>>>
> >>
> >>-
> >>
> >>>>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]
> 
> 

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



RE: creating a for loop structure for multibox

2004-12-17 Thread Jim Barrows
>From the struts multibox documentation:
Renders an HTML  element of type checkbox, whose "checked" status is 
initialized based on whether the specified value matches one of the elements of 
the underlying property's array of current values. This element is useful when 
you have large numbers of checkboxes, and prefer to combine the values into a 
single array-valued property instead of multiple boolean properties. This tag 
is only valid when nested inside a form tag body.

WARNING: In order to correctly recognize cases where none of the associated 
checkboxes are selected, the ActionForm bean associated with this form must 
include a statement setting the corresponding array to zero length in the 
reset() method.

The value to be returned to the server, if this checkbox is selected, must be 
defined by one of the following methods:

* Specify a value attribute, whose contents will be used literally as the 
value to be returned.
* Specify no value attribute, and the nested body content of this tag will 
be used as the value to be returned.

so: from j2ee.lagnada.com/struts/multibox-exampl1.htm :

Please select your subscriptions:



 




Submit




> -Original Message-
> From: Kedar Deshpande [mailto:[EMAIL PROTECTED]
> Sent: Friday, December 17, 2004 2:10 PM
> To: Struts Users Mailing List
> Subject: Re: creating a for loop structure for multibox
> 
> 
> bu then even if i pass the iterate tag a list of same lenth 
> of required 
> number of checkboxes, how would i make sure each checkbox has 
> a unique 
> 'value' value so that i know which ones are checked when the form is 
> sent to the action?
> 
> 
> 
> Jim Barrows wrote:
> 
> >  
> >
> >>-Original Message-
> >>From: Kedar Deshpande [mailto:[EMAIL PROTECTED]
> >>Sent: Friday, December 17, 2004 1:52 PM
> >>To: Struts Users Mailing List
> >>Subject: Re: creating a for loop structure for multibox
> >>
> >>
> >>i am currently using struts tags and cant find a proper 
> solution. it 
> >>would be better to have a simple struts code, otherwise i'll 
> >>try to use 
> >>the JSTL.
> >>
> >>
> >
> >Then you want the logic:iterate tag.
> >
> >
> >  
> >
> >>thank you
> >>Kedar
> >>
> >>Jim Barrows wrote:
> >>
> >>
> >>
> >>> 
> >>>
> >>>  
> >>>
> >>>>-Original Message-
> >>>>From: Kedar Deshpande [mailto:[EMAIL PROTECTED]
> >>>>Sent: Friday, December 17, 2004 1:21 PM
> >>>>To: [EMAIL PROTECTED]
> >>>>Subject: creating a for loop structure for multibox
> >>>>
> >>>>
> >>>>Could someone please post an example of using a 'for loop' 
> >>>>structure in 
> >>>>   
> >>>>
> >>>>
> >>>>
> >>>Using JSTL, or Struts tag libs?
> >>>
> >>>
> >>> 
> >>>
> >>>  
> >>>
> >>>>a JSP. i need to get the loop limit from the action and 
> then assign 
> >>>>individual 'value' values for a column of checkboxes so 
> that i know 
> >>>>which ones were selected and so that they can be set again 
> >>>>when viewing 
> >>>>the page.
> >>>>
> >>>>thanks
> >>>>
> >>>>
> >>>>
> >>>>
> >>-
> >>
> >>
> >>>>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]
> 
> 

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



Re: creating a for loop structure for multibox

2004-12-17 Thread Frank W. Zammetti
If I understand correctly, you will get from an Action an upper limit to 
the number of checkboxes to display, and you want each checkbox to be 
named 'valueX' where X is the value of the for loop.  Some people will 
argue, but I don't see where a taglib is really required here...

<%
  // Assume you got a reference to your action form in af,
  // and that is has a getUpperLimit() method...
  int ul = af.getUpperLimit();
  for (int i = 0; i < ul; i++) {
%>

<%
  }
%>
Not much more than that required.  To make them retain state, you'll 
have to provide some method to determine when a given checkbox is 
checled, and add a checked attribte accordingly, something like:



That'll do the trick, assuming getIsChecked() accepts an index value and 
returns a boolean stating whether that particular checkbox is checked or 
not.

I have a personal distaste for taglibs in most cases, I know many people 
disagree, but I figured you might as well know all your options, then 
you can choose whickever you prefer from an informed position.

--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
Jim Barrows wrote:

-Original Message-
From: Kedar Deshpande [mailto:[EMAIL PROTECTED]
Sent: Friday, December 17, 2004 1:52 PM
To: Struts Users Mailing List
Subject: Re: creating a for loop structure for multibox
i am currently using struts tags and cant find a proper solution. it 
would be better to have a simple struts code, otherwise i'll 
try to use 
the JSTL.

Then you want the logic:iterate tag.

thank you
Kedar
Jim Barrows wrote:



-Original Message-
From: Kedar Deshpande [mailto:[EMAIL PROTECTED]
Sent: Friday, December 17, 2004 1:21 PM
To: [EMAIL PROTECTED]
Subject: creating a for loop structure for multibox
Could someone please post an example of using a 'for loop' 
structure in 
  

Using JSTL, or Struts tag libs?


a JSP. i need to get the loop limit from the action and then assign 
individual 'value' values for a column of checkboxes so that i know 
which ones were selected and so that they can be set again 
when viewing 
the page.

thanks

-
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]


Re: creating a for loop structure for multibox

2004-12-17 Thread Kedar Deshpande
bu then even if i pass the iterate tag a list of same lenth of required 
number of checkboxes, how would i make sure each checkbox has a unique 
'value' value so that i know which ones are checked when the form is 
sent to the action?


Jim Barrows wrote:
 

-Original Message-
From: Kedar Deshpande [mailto:[EMAIL PROTECTED]
Sent: Friday, December 17, 2004 1:52 PM
To: Struts Users Mailing List
Subject: Re: creating a for loop structure for multibox
i am currently using struts tags and cant find a proper solution. it 
would be better to have a simple struts code, otherwise i'll 
try to use 
the JSTL.
   

Then you want the logic:iterate tag.
 

thank you
Kedar
Jim Barrows wrote:
   


 

-Original Message-
From: Kedar Deshpande [mailto:[EMAIL PROTECTED]
Sent: Friday, December 17, 2004 1:21 PM
To: [EMAIL PROTECTED]
Subject: creating a for loop structure for multibox
Could someone please post an example of using a 'for loop' 
structure in 
  

   

Using JSTL, or Struts tag libs?

 

a JSP. i need to get the loop limit from the action and then assign 
individual 'value' values for a column of checkboxes so that i know 
which ones were selected and so that they can be set again 
when viewing 
the page.

thanks

   

-
   

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]


RE: creating a for loop structure for multibox

2004-12-17 Thread Jim Barrows


> -Original Message-
> From: Kedar Deshpande [mailto:[EMAIL PROTECTED]
> Sent: Friday, December 17, 2004 1:52 PM
> To: Struts Users Mailing List
> Subject: Re: creating a for loop structure for multibox
> 
> 
> i am currently using struts tags and cant find a proper solution. it 
> would be better to have a simple struts code, otherwise i'll 
> try to use 
> the JSTL.

Then you want the logic:iterate tag.


> 
> thank you
> Kedar
> 
> Jim Barrows wrote:
> 
> >  
> >
> >>-Original Message-
> >>From: Kedar Deshpande [mailto:[EMAIL PROTECTED]
> >>Sent: Friday, December 17, 2004 1:21 PM
> >>To: [EMAIL PROTECTED]
> >>Subject: creating a for loop structure for multibox
> >>
> >>
> >>Could someone please post an example of using a 'for loop' 
> >>structure in 
> >>
> >>
> >
> >Using JSTL, or Struts tag libs?
> >
> >
> >  
> >
> >>a JSP. i need to get the loop limit from the action and then assign 
> >>individual 'value' values for a column of checkboxes so that i know 
> >>which ones were selected and so that they can be set again 
> >>when viewing 
> >>the page.
> >>
> >>thanks
> >>
> >>
> -
> >>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]



Re: creating a for loop structure for multibox

2004-12-17 Thread Kedar Deshpande
i am currently using struts tags and cant find a proper solution. it 
would be better to have a simple struts code, otherwise i'll try to use 
the JSTL.

thank you
Kedar
Jim Barrows wrote:
 

-Original Message-
From: Kedar Deshpande [mailto:[EMAIL PROTECTED]
Sent: Friday, December 17, 2004 1:21 PM
To: [EMAIL PROTECTED]
Subject: creating a for loop structure for multibox
Could someone please post an example of using a 'for loop' 
structure in 
   

Using JSTL, or Struts tag libs?
 

a JSP. i need to get the loop limit from the action and then assign 
individual 'value' values for a column of checkboxes so that i know 
which ones were selected and so that they can be set again 
when viewing 
the page.

thanks
-
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]


RE: creating a for loop structure for multibox

2004-12-17 Thread Jim Barrows


> -Original Message-
> From: Kedar Deshpande [mailto:[EMAIL PROTECTED]
> Sent: Friday, December 17, 2004 1:21 PM
> To: [EMAIL PROTECTED]
> Subject: creating a for loop structure for multibox
> 
> 
> Could someone please post an example of using a 'for loop' 
> structure in 

Using JSTL, or Struts tag libs?


> a JSP. i need to get the loop limit from the action and then assign 
> individual 'value' values for a column of checkboxes so that i know 
> which ones were selected and so that they can be set again 
> when viewing 
> the page.
> 
> thanks
> 
> -
> 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]



creating a for loop structure for multibox

2004-12-17 Thread Kedar Deshpande
Could someone please post an example of using a 'for loop' structure in 
a JSP. i need to get the loop limit from the action and then assign 
individual 'value' values for a column of checkboxes so that i know 
which ones were selected and so that they can be set again when viewing 
the page.

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