Cocoon 2.0 running on weblogic 7 with struts thrown in the mix, although I
dont see how that could be effecting anything. 

The Error:
the formatting XSLs will generate all the time, but my aggregate xsl stops
processing at this line:
ListIterator patForecast = new LinkedList((((Schedule)
session.getAttribute("patSchedule")).getForecast()).values()).listIterator(0
);
I thought that the xsp parser might be balking at the processes going on in
this statement so I broke it down to basic levels as so:
Schedule shedX = (Schedule) session.getAttribute("patSchedule");
HashMap hashX = shedX.getForcast();
LinkedList llX = new LinkedList(hashX.values());
ListIterator patForecast = llX.listIterator(0);

and it bombs at the first line.
Thanks Again for all of your help,
-Mel

-----Original Message-----
From: Rob Gregory [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 02, 2004 4:05 PM
To: [EMAIL PROTECTED]
Subject: RE: logic question...



What version of Cocoon are you using and can you expand on your error as
I can't find your problem code in your complete page example? Have you
checked the log files for any pointers towards your errors? Another
pointer is to NOT rely on printStackTrace(); for your error logging as
you are not sure where this System.out is eventually going to end up.
Can I suggest you use getLogger().error(e.getMessage,e); or similar
logging features when using XSP so logging messages are caught within
log file - I have found this helps loads. Are you running Cocoon within
Tomcat/Catalina? If so is this running as a windows service? 


> > 
> > Greetings all,
> >   Realitivly new to the cocoon/xsp world, so please keep 
> that in mind.
> > Here is my problem:
> > test.jsp (using map:generate type="serverpages")
> > jdk 1.3
> > weblogic 7.0
> > <tab name="a">
> >  <group name="a1">
> >   <line>
> >   <free/>
> >   <element type="raw">
> >    <span>
> >    <xsp:logic>
> >     ListIterator myListItr = new LinkedList((((CastedObject)
> > session.getAttribute("mySessionAttribute")).getHashMap()).valu
> > es()).listIter
> > ator(0);
> >    </xsp:logic>
> > ...blah-blah-blah...
> > 
> > The page renders but all of the logic in the page after this 
> > point gets
> > 'choped off'.
> > I've been banging my head about this one, any ideas? anybody?
> > 
> > Thanks in advance,
> > -Mel
> > 



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

Reply via email to