cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastien Arbogast <sebastien.arbog...@gmail.com>
Subject Fwd: Debug view ?
Date Sun, 10 Apr 2005 17:33:29 GMT
---------- Forwarded message ----------
From: Sebastien Arbogast <sebastien.arbogast@gmail.com>
Date: Apr 10, 2005 12:33 PM
Subject: Re: Debug view ?
To: "gounis@osmosis.gr" <gounis@osmosis.gr>


I'm just reading the documentation of Cocoon 2.1 concerning request
special context and it seems to provide exactly what I need in terms
of data. I just need to figure out how I could create some kind of
stylesheet to present that data in more human-readable form. There are
just 2 questions that remain unanswered :
- I don't understand the interest of having parametervalues children
delared in cinclude namespace
- Should I create an XML document with <getxml> elements inside, or
get the whole request context document (how would I do that) and send
it as input for a XSLT stylesheet ?
...knowing that the idea would be to make a new debug-view with this
process in ordre to be able to plug this debugging utility on any
pipeline at any useful place thanks to labels.

On Apr 10, 2005 9:21 AM, Sebastien Arbogast
<sebastien.arbogast@gmail.com> wrote:
> I didn't find any such section in cocoon.xconf, except something with
> a JavaScript debugger but it doesn't seem to fit my needs...
>
> On Apr 9, 2005 5:53 AM, gounis@osmosis.gr <gounis@osmosis.gr> wrote:
> > hi sebastien
> >
> > you have to use flow to handle requests, sessions etc,
> > if so you will find that there is a real debuger where you can set
> > breackpoints and watch your objects/variable
> >
> > i cocoon.xconf is a commentet entry about debuger. uncomment it and restar
> > your container (tomcat). net time your request use flow debuger will
> > appear.
> >
> > regards
> >
> > -stavros
> >
> >
> > On Fri, 8 Apr 2005, Sebastien Arbogast wrote:
> >
> > > Hi,
> > >
> > > When I work in PHP for other projects I often reuse a debug page that
> > > echoes all the available variables from the current environment like
> > > session, request parameters and other superglobal tables. It's very
> > > practical to check the output of a form before writing the script to
> > > treat that data.
> > > Would it be possible to have the same utility page with Cocoon ? With
> > > what technique ? Because I guess it would be possible with XSP but I
> > > heard that XSP was likely to be deprecated in the future... And would
> > > it be possible to make a view of it, like "content" or "prettycontent"
> > > for example ?
> > >
> > > Thank you in advance.
> > > Regards
> > >
> >
> >
>
> --
> Sebastien ARBOGAST
>

--
Sebastien ARBOGAST


-- 
Sebastien ARBOGAST

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


Mime
View raw message