Users Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, March 16, 2004 2:43 PM
Subject: Re: logic:iterate
> Daniel,
>
> A litle bit more info on what the columns are holding...
> becuase can you make them rows...then logic:iterate is easy to use...
>
> -Sam.
>
> Dan
Daniel,
A litle bit more info on what the columns are holding...
becuase can you make them rows...then logic:iterate is easy to use...
-Sam.
Daniel <[EMAIL PROTECTED]> wrote:
How can I make to print 3 coluns for line with iterate, the modulos is a ArrayList
populate with myBean (atributes:mod
Put ALL the values in an arraylist and manipulate the arraylist values uppon return to
the action. All the values are available in the same row together. The trick is
getting the values from the arrayList back to the action when the form is submitted.
I'm a genuine newbie and I have managed
A couple of options:
1) Use a key for the checkbox that is a combination of the two keys,
combined with a character that cannot be in the keys themselves (e.g.
key1::key2). They just separate them in the action, or better yet, have the
form separate them.
2) Use JavasSript on the check of a row
I forgot to add, parms is a bean declared as such:
and is used all over this JSP. I don't get it.
:-> -Original Message-
:-> From: Randy Dillon
:-> Sent: Friday, February 20, 2004 12:48 PM
:-> To: 'Struts Users Mailing List'
:-> Subject: Logic:iterate Exception
:->
:->
:-> I have lo
I don't think you can pass parameters in JSTL, at least not yet. But
you could, in your action, call getModelList passing the String you got
from the request, and then when you forward to the JSP, iterate over
that Collection.
I am not sure what you meant, Wendy, but, in case you meant that you c
Forgot the obligatory, "but you should really do this in an action". There's no
reason to clog your JSP with this kind of stuff. Grab the collection in an
action, set it as a request attribute, forward to the JSP, and...
Quoting Kris Schneider <[EMAIL PROTECTED]>:
> You should be able to use Bean
You should be able to use BeanUtils' mapped property access for this, right?
Which should give you a bean called "modelList" that holds your collection. This
assumes there's a bean called "bean" whose class implements the getModelList method.
Quoting Wendy Smoak <[EMAIL PROTECTED]>:
> > From
> From: Dragos Madalin Popa [mailto:[EMAIL PROTECTED]
> Thank you for your answer.I would like to change the code shown below,
> to pass a request parameter to the modelList function;something like
> this:
> public Collection getModelList(String requestString){}, where
> requestString is a paramet
Hi,
Thank you for your answer.I would like to change the code shown below,
to pass a request parameter to the modelList function;something like
this:
public Collection getModelList(String requestString){}, where
requestString is a parameter of the http request..
Warmest Regards,
Dragos
> From: Dragos Madalin Popa [mailto:[EMAIL PROTECTED]
> How can I iterate over a collection which depends of a request
> parameter?
JSTL and/or Struts-EL can probably help, but I'm not quite sure what
your question is. Can you give an example?
--
Wendy Smoak
Application Systems Analyst, Sr.
A
> shouldn't that be?
> >
Yes, it sure should. And the first line should be:
So the whole thing should look like this:
--
Tim Slattery
[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For add
x
MSN: [EMAIL PROTECTED]
- Original Message -
From: "Slattery, Tim - BLS" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Friday, February 06, 2004 9:29 AM
Subject: RE: logic:iterate question
> > i have a questio
> i have a question about the tag. My tag
> iterates over an ArrayList which contains an amount of beans.
> However, in the last iteration i want to perform some special
> action. My current code looks something like this:
>
>
>
> ...
>
> ...
>
>
>
This is something
hi otto,
that solution didnt work - it wouldn't recognise bar as a variable in the <%= %>.
this solution does work for me:
...
...
...
...
the value parameter must be a string, so i used the String.valueOf method.
however this isnt very clean - are there better solutio
Solution 1 :
Active
...
Solution 2 :
Active
...
Nico.
> Hi all,
> I need to use the logic:equal inside a logic iterate..and I am
> Having problems..
> My case is that I hae in an ActionForm an HashMap property which
> contains
> Pairs of String, MyObject. My object has a Boolean property
Well,
a) I have not used logic:iterate for these purpose, hence won't be able
to help you out much there. I use the JSTL tags and try to keep away
from the struts tag as much as possible.
b) I would use ArrayList instead of Vectors.
What I would do if I were you would be something like this:
but I don't know how large this Vector will be
One trick is to submit the size back in a hidden field. In the forms reset()
method, you can use request.getParameter() (unless its a multipart form!) to
get the size and initialise the vector before the form is populated from the
request.
Id sugge
if you know its only one item, why don't change the action...
insteat of:
request.setAttribute("testers",testerInfo);
try
request.setAttribute("testers",testerInfo[0]);
hernux
- Original Message -
From: "struts" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Se
try something similar to this
(of course all the Java code to construct the lists should be in (or called by) a
Struts Action class, so focus on the use of the logic:iterate tag)
--8
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%
You should probably use JSTL for this.
> -Original Message-
> From: gentyjp [mailto:[EMAIL PROTECTED]
> Sent: Thursday, December 18, 2003 12:16 PM
> To: [EMAIL PROTECTED]
> Subject: logic:iterate inside a logic:iterate ??
>
>
>
>Hi
>
> I'am a Struts newbie, s
Hi Joe underneath should i have it as
> In the scriptlet expression, there is no property "key" on the object
> aciterator; use aciterator.getKey() instead.
>
> However, you can't mix string literals and runtime expressions like
> that in a JSP tag attribute. If you use a runtime attribute, it mu
In the scriptlet expression, there is no property "key" on the object
aciterator; use aciterator.getKey() instead.
However, you can't mix string literals and runtime expressions like
that in a JSP tag attribute. If you use a runtime attribute, it must
be the exclusive content of the attribu
Hi All
I have tried this
testScoresVector is a vector stored as a session Attribute as
request.getSession().setAttribute("testScoresVector", testScoresVector)
Please let me know what the problem is
--Mohan
> Hi Guys
> The reason i am using the logic:iterate is not to populate the select
> box b
Hi Guys
The reason i am using the logic:iterate is not to populate the select box
but to create the select box for the number times the length of the
testScoresVector and store the option selected in the select box in each
of the testScoresVector element.
--Mohan
> Hi All
> I have a Vector called
try this
>
>
> :
> :
>
>
>
cheers
Gurpreet DHanoa
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 25, 2003 3:24 AM
Subject: logic:iterate help
> Hi All
> I have a Vector called as testScoresVector (Vecto
hi MOhan
Error is coming coz your syntax is not upto the mark. Try with the following
>
>
>
Cheers
gary
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 25, 2003 3:24 AM
Subject: logic:iterate help
> Hi All
> I have a V
I recommend you drop the Struts logic tags and switch to JSTL combined with the
Struts-el tags.
"JSTL has support for common, structural tasks such as iteration and conditionals,
tags for
manipulating XML documents, internationalization and locale-sensitive formatting tags,
and SQL
tags. It als
On Oct 2, 2003, "Smith, Johnathan M." <[EMAIL PROTECTED]> wrote:
|In Struts 1.0.2?
|
|Can I have a logic:iterate within a logic:iterate loop??
Yup.
|If so can someone please send me a sample
stuff here
HTH...
/greg
--
Gregory F. March-=-http://www.gfm
Thats not. You use something like or an other tag that
uses message resources. But the Struts-Framework can't find the
resourceBundle..
Manfred
Gregory F. March wrote:
Make sure your getters and setters conform to the Java naming conventions - I
got burned by something similar and that was t
Make sure your getters and setters conform to the Java naming conventions - I
got burned by something similar and that was the root cause...
HTH...
/greg
On Sep 26, 2003, "MaFai" <[EMAIL PROTECTED]> wrote:
|Hello, struts-user,
|
|[code]
|
|
|
|
|[/code]
|
|customers
uhh.. Never mind. Figured it out. Told you all it would be something
stupid.
Forgot to add the <%@ taglib uri="/tags/struts-bean" prefix="bean"%>...
Sorry to waste bandwidth.
--
Bryce Fischer <[EMAIL PROTECTED]>
-
To unsubscr
To partially answer my own question, I changed this:
>
> CenterTitleTotal
> type="com.berzerkersoft.bisweb.db.ejb.value.CenterBrowseValue">
>
>
>
>
>
to read:
CenterTitleTotal
Element Value:
and I get the exact number of "E
This will use the editResourceAttributesForm bean and retrieve the arraylist
named indexedBeans from it, then will iterate through the list putting each
element in the arraylist into the variable named indexedBean. then inside
the tags I output the id property of indexedBean.
-Good Luck
--- Aaron Humphrey <[EMAIL PROTECTED]> wrote:
>
>
> > If both JSTL and Struts are failing, it's probably your code that's
> > broken.
>
> > David
>
> Often a reasonable assumption, in the circumstances, but it turns out
> not so.
>
> I got my page to work with a straight Servlet full of out.pr
> If both JSTL and Struts are failing, it's probably your code that's
> broken.
> David
Often a reasonable assumption, in the circumstances, but it turns out not so.
I got my page to work with a straight Servlet full of out.println() statements.
Then I got it working using one Servlet filling
to actually check if struts or validator is the
culprit.
-- nagi
---Original Message---
From: Struts Users Mailing
List
Date: Tuesday, July 22,
2003 03:15:09 PM
To: Struts Users Mailing
List
Subject: Re
Hi,
I am using struts validator in the logon.jsp of my application. If I don't
enter the username & click on submit the message displayed is "null is
required". Instead it should be "Username is required".
The part of the code in the validator-rules.xml is correct. I have given
msg="errors.requir
--- Aaron Humphrey <[EMAIL PROTECTED]> wrote:
>
>
> >>> [EMAIL PROTECTED] 07/21/03 12:00PM >>>
> > I suggest you use the JSTL's tag instead of the Struts
> iterate
> > tag. I have dynamic query pages that use forEach and display n number
> of
> > fields with no problem. As an added bonus you'l
>>> [EMAIL PROTECTED] 07/21/03 12:00PM >>>
> I suggest you use the JSTL's tag instead of the Struts iterate
> tag. I have dynamic query pages that use forEach and display n number of
> fields with no problem. As an added bonus you'll get improved page
> rendering time because containers can op
I suggest you use the JSTL's tag instead of the Struts iterate
tag. I have dynamic query pages that use forEach and display n number of
fields with no problem. As an added bonus you'll get improved page
rendering time because containers can optimize the performance of JSTL
tags.
David
--- Aar
The following link should help:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg71256.html
however it talks about using el, but this is not
necessary.
I have got the nested tags to work properly. The
logic tag should work, but I think I was doing
something slightly wrong when I tried.
Remembe
Hello Nadja,
according to the docs:
"The length value or attribute name (<=0 means no limit)."
Thus, it's a feature.
***
WN> Hello all,
WN> I have a question regarding the length attribute of . If I set it
to "0" it seems to ignore
Rick Reumann[SMTP:[EMAIL PROTECTED]
> Reply To: Struts Users Mailing List
> Sent: Tuesday, June 24, 2003 8:28 PM
> To: Struts Users Mailing List
> Subject: RE: logic:iterate using HashMap
>
> Thanks rick.I loaded a select box containing
On Tue, 2003-06-24 at 10:46, O_Parthasarathy Kesavaraj wrote:
> > O_Parthasarathy Kesavaraj írta:
> Thanks Tib.I did look at the docs.But i got struck up.If u have any
> sample code pls send.
I admit the docs I think are lame on this area. This should work..
-
JSTL should be
> --
> From: Gemes Tibor[SMTP:[EMAIL PROTECTED]
> Reply To: Struts Users Mailing List
> Sent: Tuesday, June 24, 2003 7:46 PM
> To: Struts Users Mailing List
> Subject: Re: logic:iterate using HashMap
>
> O_Parthasarathy Kesavaraj írta:
O_Parthasarathy Kesavaraj írta:
How to iterate thro HashMap using logic:iterate?
You did not look into the docs, did you?
http://jakarta.apache.org/struts/userGuide/struts-logic.html#iterate
Normally, each object exposed by the iterate tag is an element of the
underlying collection you are i
You might need to add this before your :
-Original Message-
From: Shashank Dixit [mailto:[EMAIL PROTECTED]
Sent: Friday, June 20, 2003 7:44 AM
To: Struts Users Mailing List
Subject: Logic:Iterate - Pls Help.
Hello All
Can somebody pls explain how to use
I am using following
nt: Friday, June 20, 2003 11:53 AM
Subject: Re: Logic:iterate
HI,
where is ur "list" coming from??
---Original Message---
From: Struts Users Mailing List
Date: Friday, June 20, 2003 11:22:39 AM
To: Struts Users Mailing
HI,
where is ur "list" coming from??
---Original Message---
From: Struts Users Mailing
List
Date: Friday, June 20,
2003 11:22:39 AM
To: Struts Users Mailing
List
Subject:
Logic:itera
Sandeep,
you are spot on. I cannot believe I have wasted a few hours over this.
Thankyou very much.
Ralph
-Original Message-
From: Sandeep Takhar [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 18 June 2003 10:13 AM
To: Struts Users Mailing List
Subject: RE: logic:iterate displaying blanks
uot;userName" />
>
>
>
> auditDate= property="auditDate" />
>
> user name= property="userName" />
>
>
-
From: Sandeep Takhar [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 17 June 2003 9:25 PM
To: Struts Users Mailing List
Subject: Re: logic:iterate displaying blanks
I think you want to do a
html:form action="/showLogs.do" ?
also, check to see what your html source is for this
form line and ve
nal Message-
> From: Matt E [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 17, 2003 11:23 AM
> To: Struts Users Mailing List
> Subject: RE: logic:iterate problems
>
>
> Hello!
>
> Changed the code to read:
>
> <%
> Collection c = ...getProductLines();
&
Next element is
Doesn't matter what scope you put it in.
-Tim
-Original Message-
From: Matt E [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 17, 2003 11:23 AM
To: Struts Users Mailing List
Subject: RE: logic:iterate problems
Hello!
Changed the code to read:
<%
Co
t; Hello,
>
> Try to put your collection in the pageContext and
> not in the request...
>
> Strut's tags works a lot with the pageContext...
>
>
> -Original Message-
> From: Matt E [mailto:[EMAIL PROTECTED]
> Sent: mardi, 17. juin 2003 17:09
> To:
Hello,
Try to put your collection in the pageContext and not in the request...
Strut's tags works a lot with the pageContext...
-Original Message-
From: Matt E [mailto:[EMAIL PROTECTED]
Sent: mardi, 17. juin 2003 17:09
To: Struts Users Mailing List
Subject: Re: logic:iterate pro
> <%
> Collection c = ...getProductLines();
> Iterator it = c.iterator();
>out.print(it);
> %>
This worked as expected. It wrote:
[EMAIL PROTECTED] to the HTML, which
leads me to belive that the collection is returning an
iterator.
I then tried this (after deleting the above):
<%
Co
If i were you, i would check like this in my jsp:
<%@ page import="java.util.Collection" %>
<%@ page import="java.util.Iterator" %>
<%
Collection c = ...getProductLines();
Iterator it = c.iterator();
out.print(it);
%>
do not yet util the above code run
ok.And then you can be sur
Hello!
I tried that (I found I needed to change Collection c
to java.util.Collection c, so the compiler would not
complain) but I'm still experiancing the same problem:
org.apache.jasper.JasperException: Cannot create
iterator for this collection
I added some print statements to help me debug, a
I think you want to do a
html:form action="/showLogs.do" ?
also, check to see what your html source is for this
form line and verify that it is using the "name"
element from your struts-config.
sandeep
--- RALPH ROPER <[EMAIL PROTECTED]> wrote:
> hi,
>
> I had a good search on the user group a
try something like:
<%
Collection c =
org.ellism.tir.util.DatabaseConstantsAdapter.getInstance().getProductLines();
request.setAttribute("colName",c);
%>
and then:
you can alse put your collection into the jsp scope
variable somewhere in your action.
hope it helps.
guo
--- Matt E <[EM
Default offset is zero , is it not?
> -Original Message-
> From: J, Sadhasivam (Cognizant) [mailto:[EMAIL PROTECTED]
> Sent: Monday, June 16, 2003 1:00 PM
> To: Struts Users Mailing List
> Subject: RE: logic:iterate issue
>
>
> Offset property is there in it
Offset property is there in iterate check it up please
-Original Message-
From: raghu_c [mailto:[EMAIL PROTECTED]
Sent: Monday, June 16, 2003 12:54 PM
To: [EMAIL PROTECTED]
Subject: logic:iterate issue
Hi -
My logic:iterate tag doesnt loop thru the no of elements in the list :(
Can som
It works fine for the taglib test suite. Can you post your action code
(where you setup the array and store it in the request/session)?
You ARE using a defined form on the page right?
--
James Mitchell
Software Developer/Struts Evangelist
http://www.struts-atlanta.org
770-822-3359
AIM:jmitchtx
In here he talk abt indexed properties . Could not understand
You form bean class will look like this:
public class MyFormBean extends ActionForm {
private List fPersonList;
public List getPersonList() { ... }
public void getPerson(int index) { ... }
}
Thanks
>>> [EMAIL PROTECTED] 06/10/
This is similar to what I am trying to accomplish
http://www.scioworks.net/devnews/strutsDistilled/updates/update-030401/indexedAttr.html
Thanks
>>> [EMAIL PROTECTED] 06/10/03 09:43AM >>>
This is because "row" is defined on the page as a String.
(getIterator()
returns an array of String)
Based
I have a situation of
MULTIPLE HTML ELEMENTS WITH THE SAME NAME.
So I would like to know is how to repopulate multiple html elements
which have the same name.
Also I am not aware of the count of HTML elements I will have as it can
be 1 or many.
In the code I sent I took an example of one HTML
This is because "row" is defined on the page as a String. (getIterator()
returns an array of String)
Based on the jsp snippet you've provided, I'm not understanding what you are
trying to do.
Can you explain further?
--
James Mitchell
Software Developer/Struts Evangelist
http://www.struts-atlan
ing in the bean definition:
>
> type="java.lang.String" />
>
> Marco
>
> - Original Message -
> From: "Rodrigo di Lorenzo Lopes" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> Sent:
Try my code and add the following in the bean definition:
Marco
- Original Message -
From: "Rodrigo di Lorenzo Lopes" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, June 09, 2003 2:09 AM
Subject: Re: logic:iterat
On Sun, Jun 08,'03 (10:09 PM GMT-0300), Rodrigo wrote:
> Sorry friend, but it doesnt work too.
>
> Marco Tedone writes:
> > Try:
> >
> >
> >
> >
> >
> >
> >
> > > title="Alterar"/>Alterar
Try <% out.print( buttonName.toString() ); %>
You'd think <%= would call the
ROTECTED]>
> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> Sent: Sunday, June 08, 2003 11:51 PM
> Subject: Re: logic:iterate and html:submit
>
>
> > Thanx for your attention...
> >
> >
> >
> > Still not compilin
Try:
Alterar
- Original Message -
From: "Rodrigo di Lorenzo Lopes" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Sunday, June 08, 2003 11:51 PM
Subject: Re: logic:iterate and html:sub
tried
> ?
>
> Hope it will help,
>
> Marco
> ----- Original Message -
> From: "Rodrigo di Lorenzo Lopes" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> Sent: Sunday, June 08, 2003 10:56 PM
> Subject: Re: log
lt;[EMAIL PROTECTED]>
Sent: Sunday, June 08, 2003 10:56 PM
Subject: Re: logic:iterate and html:submit
> Marco Tedone writes:
> >
> > - Original Message -
> > From: "Rodrigo di Lorenzo Lopes" <[EMAIL PROTECTED]>
> > To: "Struts Users M
Marco Tedone writes:
>
> - Original Message -
> From: "Rodrigo di Lorenzo Lopes" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> Sent: Sunday, June 08, 2003 10:34 PM
> Subject: logic:iterate and html:submit
>
>
> > Friendly developers,
> >
> > I am substituti
- Original Message -
From: "Rodrigo di Lorenzo Lopes" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Sunday, June 08, 2003 10:34 PM
Subject: logic:iterate and html:submit
> Friendly developers,
>
> I am substituting html:link to html:submit, to populate th
Got it. Length
-Original Message-
From: Steven Sajous [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 05, 2003 10:09 AM
To: Struts Users Mailing List
Subject: logic:iterate break
Is there a way to break out of an iterate after a certain amount of
iterations.
I wrap my collection in a bean
-Original Message-
From: Jason Vinson [mailto:[EMAIL PROTECTED]
Sent: March 14, 2003 9:59 AM
To: Struts Users Mailing List
Subject: logic:iterate and collections
I am putting a collection on the request as an attribute, and i can't
access it for some reas
> http://jakarta.apache.org/struts/faqs/indexedprops.html
Thank you! That was the link I was hunting for! Awesome! Now
I totally understand what is going on with indexed form properties.
Dan
--
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Daniel Allen, <[EMAIL PROTECTED
I think that using an old fashioned form bean is better when you're
looking at generating forms in this manner..
do the nested tag tutorial is does what you are doing but it's not ugly
as hell. www.keyboardmonkey.com
its what you are after...
Giovedì, 13 mar 2003, alle 08:23 Europe/Rome, Dan A
, March 12, 2003 11:41 PM
To: [EMAIL PROTECTED]
Subject: Re: logic:iterate and html:text
im not sure if i answered that completely, let me read it again and get back
to you ;)
*** REPLY SEPARATOR ***
On 03/12/2003 at 11:38 PM Mark wrote:
>It would be easier for some of us if y
Okay, I finally worked it out, but it is ugly as hell. Pardon me if
I step on toes or shine my ignorance, but it seems to me like this
problem should be resolved more gracefully. First of all, I have to
resort to scriptlets and secondly, I have to include the name of the
form in the logic:iterate
im not sure if i answered that completely, let me read it again and get back to you ;)
*** REPLY SEPARATOR ***
On 03/12/2003 at 11:38 PM Mark wrote:
>It would be easier for some of us if your emails didnt come through as attachments ;)
>
>but to answer this you dont need value="
It would be easier for some of us if your emails didnt come through as attachments ;)
but to answer this you dont need value="" for this
thats what the property does
so what you want is
And what kind of form bean are you storing this in?
I have some other advice about a problem you're a
eforge.net/struts-atlanta/
>
>
>
> > -Original Message-
> > From: Jamesey [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, March 12, 2003 10:18 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: logic:iterate.. newbie question
> >
> >
>
Mitchell
Software Developer/Struts Evangelist
http://struts.sourceforge.net/struts-atlanta/
> -Original Message-
> From: Jamesey [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 12, 2003 10:18 AM
> To: [EMAIL PROTECTED]
> Subject: Re: logic:iterate.. newbie ques
that helps massively.. and confirms my own deductions...
and i'm assuming if i use an array of objects the name property changed to
reflect the setAttribute name
"James Mitchell" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> > -Original Message-
> > From: Jamesey [mailto:[
> -Original Message-
> From: Jamesey [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 12, 2003 9:52 AM
> To: [EMAIL PROTECTED]
> Subject: logic:iterate.. newbie question
>
>
> I have and array or collection of objects (the object has two
> members with
> appropriate getter and setters
a better page :
http://jakarta.apache.org/struts/faqs/actionForm.html
--
Alexandre Jaquet
- Original Message -
From: "Steve Vanspall" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, March 07, 2003 4:49 AM
Subject:
t; <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, March 07, 2003 4:49 AM
Subject: RE: logic:iterate tag revisited
> Yeah that's col, I figured I would have to do that. that's the way I
> originally was going to do it,
>
>
process it from there.
How do I do that.
There isn't much info about uploading a dynamic number of files to the serve
using struts.
Steve
-Original Message-
From: alexj [mailto:[EMAIL PROTECTED]
Sent: Friday, 7 March 2003 2:34 PM
To: Struts Users Mailing List
Subject: Re: logic:iterate
>
> Steve
>
> P.S. Alternatively how to I create a FormFile, with inputstream etc. from
a
> string giving me the path of a file on the clients machine.
>
>
>
>
>
> -Original Message-
> From: alexj [mailto:[EMAIL PROTECTED]
> Sent: Friday, 7 March 2003 2:07
age-
From: alexj [mailto:[EMAIL PROTECTED]
Sent: Friday, 7 March 2003 2:07 PM
To: Struts Users Mailing List
Subject: Re: logic:iterate tag revisited
I can't understand why you need to re-iterate .
Do you need to do some update on a view page ?
If yes you will need to have an action def
me ? The default
value you define on your based ActionForm ?
--
Alexandre Jaquet
- Original Message -
From: "Steve Vanspall" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, March 07, 2003 4:01 AM
Subject: RE: logic:
he apporopriate formFile information
Regards
Steve
-Original Message-
From: Steve Vanspall [mailto:[EMAIL PROTECTED]
Sent: Friday, 7 March 2003 12:42 PM
To: Struts Users Mailing List
Subject: RE: logic:iterate tag revisited
Ah it's always the small thing,
I can't beleive I
Ah it's always the small thing,
I can't beleive I missed that
Thank you, I will procedd to kick myself several times
Steve
-Original Message-
From: Rick Reumann [mailto:[EMAIL PROTECTED]
Sent: Friday, 7 March 2003 11:51 AM
To: Struts Users Mailing List
Subject: Re: log
On Fri, 7 Mar 2003 11:33:50 +1100
"Steve Vanspall" <[EMAIL PROTECTED]> wrote:
> Hi there
>
> Here's my problem, I have modelled my iterate tag on a working example
> I was given by a colleague.
>
> this is my jsp code
>
> type="com.crm.util.TemplateBeans.IMGTemplateBean"
> property="imageField
Thanks David that worked - I did try that in my investigations but must
have missed
something
HUW
-Original Message-
From: Karr, David [mailto:[EMAIL PROTECTED]
Sent: 28 February 2003 18:24
To: Struts Users Mailing List
Subject: RE: logic:iterate over a HashMap - can't pass key t
1 - 100 of 204 matches
Mail list logo