Figured it out.

getActivitiesForSubject() takes a Subject object and I was passing a
SubjectHolder object. OGNL silently drops the argument if its the
wrong type.

Geoff

On 7/19/05, Geoff Longman <[EMAIL PROTECTED]> wrote:
> Having one of those days.
> 
> I have a nested Foreach:
> 
> <div jwcid="[EMAIL PROTECTED]"
>       source="ognl:beans.studentActivities.subjects">
> 
>       <div jwcid="[EMAIL PROTECTED]"
> source="ognl:beans.studentActivities.getActivitiesForSubject(components.subjectTitleLoop.value)"
>     >
> 
> beans.studentActivities.subjects returns a nonempty set, this is verified.
> 
> But, in the 'source' expression for the second Foreach this part,
> 
> components.subjectTitleLoop.value
> 
> always evaluates to null.
> 
> Anybody see the obvious here?
> 
> Geoff
> 
> 
> --
> The Spindle guy.           http://spindle.sf.net
> Get help with Spindle:
> http://lists.sourceforge.net/mailman/listinfo/spindle-user
> Announcement Feed:
> http://www.jroller.com/rss/glongman?catname=/Announcements
> Feature Updates:            http://spindle.sf.net/updates
> 


-- 
The Spindle guy.           http://spindle.sf.net
Get help with Spindle:   
http://lists.sourceforge.net/mailman/listinfo/spindle-user
Announcement Feed:    
http://www.jroller.com/rss/glongman?catname=/Announcements
Feature Updates:            http://spindle.sf.net/updates

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

Reply via email to