You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Baun, Kevin" <kb...@cghtech.com> on 2004/03/02 19:10:54 UTC

xsp:logic question...

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()).values()).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




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kevin W. Baun
CGH Technologies, Inc.
1331 Elmwood Avenue, Suite 160
Columbia, SC 29201

www.cghtech.com
Phone: 1-803-744-1900 x18
Fax: 1-803-744-1905
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


RE: logic question...

Posted by Rob Gregory <Mi...@RosesGroup.com>.
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: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


RE: logic question...

Posted by Rob Gregory <Mi...@RosesGroup.com>.
Is this a JSP or an XSP?? Can you post the complete page so we can help
further...

Regards Rob

 
> 
> 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
> 
> 
> 
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Kevin W. Baun
> CGH Technologies, Inc.
> 1331 Elmwood Avenue, Suite 160
> Columbia, SC 29201
> 
www.cghtech.com
Phone: 1-803-744-1900 x18
Fax: 1-803-744-1905
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org