hi
you can go here:
http://jakarta.apache.org/struts/api-1.0/org/apache/struts/taglib/logic/pack
age-summary.html
- Original Message -
From: Sher_A [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, January 31, 2002 3:36 PM
Subject: Need help on logic:iterate
Can someone help
This is only a debugging type suggestion, but you could put your interate inside of a
logic:present name=user property=schedule
SCHEDULE WAS FOUND
your iterate
/logic:present tag and make sure that the collection is being
found.
Brian
Hi,
Yes user is your bean.
Have you send it in a session context with
session.setAttribute(user,variable) in your Action Class ?
Philippe Hodapp
Responsable PĂ´le DĂ©veloppement
1Genia - Groupe 2Is
76, av Edouard Vaillant, 92100 Boulogne
Tel : 01 48 25 76
Because you havent included the %@ taglib uri=/WEB-INF/struts-logic.tld
prefix=logic % page directive in the current jsp page.
-Original Message-
From: marco volpe [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 31, 2002 10:02 AM
To: Struts Users Mailing List
Subject: Re: Need help
You're closing your first element, so the iterate never gets to the
bean:write until after the loop is finished.
You have:
logic:iterate id="storerooms" name="storeroomList" scope="application"
property="storeroomList"/
It should be (note the lack of the trailing slash):
logic:iterate
Your logic:iterate tag closes itself before it gets to the tag body.
i.e. logic:iterate/
I made this mistake a couple times too so don't feel bad!
On your bonus question, your JSP shouldn't be performing business logic,
the bean should be. Create another getter on your bean for the
Hi Alex,
see below
Alex Colic schrieb:
Hi,
I am trying to get a handle on the logic:iterate tag.
I have an object in application scope under the key 'storeroomList.'
There is a vector of objects under the property 'storeroomList'. Each one of
the objects in this vector has a property
7 matches
Mail list logo