Debugging Cocoon Applications

2004-09-21 Thread Jennifer Yip
Does anyone have knowledge of a plugin for Eclipse (or other development 
environments) that would allow me to set break points in a sitemap and step 
through a pipeline - inspect parameters, session etc.

Normally at present I bring Cocoon into Eclipse and set break points or use 
RHINO Flowscript debugger as required.

Failing all of this what are the key place to break point in code - ie at 
start of pipeline, genberator, transformer etc

really appreciated
JENNY
_
Want to block unwanted pop-ups? Download the free MSN Toolbar now!  
http://toolbar.msn.co.uk/



Struts compared Cocoon

2004-09-21 Thread Jennifer Yip
Hi guys,
Does anyone have any papers / URLs that might highlight +/- aspects of 
Structs and Cocoon

appreciated
JENNY
_
Express yourself with cool new emoticons http://www.msn.co.uk/specials/myemo


Authentication

2004-09-20 Thread Jennifer Yip
Sorry guys - just came out of a long meeting on Security / Authentication 
and the question raised was:

Is J2EE or JAAS container managed security better than that found in the 
cocoon (portal) authentication framework?

Any help appreciated before this meeting continues in the morning
Regards
JENNY
_
It's fast, it's easy and it's free. Get MSN Messenger today! 
http://www.msn.co.uk/messenger



Re: Inceptors are cool and trendy

2004-09-01 Thread Jennifer Yip
Thanks (Nuno) for responses to my Request interception question.
Can I follow on:
I have added the config to cocoon.xconf and sure enough I am picking up on 
the request flow.

I want to extend this and make a more generic process to handle request flow
ie
I want to be able to add into sitemap

  
 
etc
I understand therefore I need to mod the sitemap-v06.rng file (RelaxNg) in a 
similiar fashion to use by authentication-manager.

Questions:
1) Was it expected that developers extend cocoon by modifications to 
sitemap-v06.rng OR should some other direction be taken?
2) What are the plans for a more flexible interceptor framework 
(declarative) within new releases of cocoon?
3) Why does cocoon.xconf contain - what is the value add here? just for 
logger aspect?

   
   
Thanks
JENNY
_
It's fast, it's easy and it's free. Get MSN Messenger today! 
http://www.msn.co.uk/messenger



Inceptors are cool and trendy

2004-08-31 Thread Jennifer Yip
Guys - you are always great help for me.
I have new problem for you to help.
I need to intercept a request at the earliest possible point within the 
Cocoon context.
any ideas - does the concept of interceptors exist within Cocoon.

What about using nested actions is that a possible direction? Any examples 
would be so appreicated

thanks in advance
JENNY
_
Use MSN Messenger to send music and pics to your friends 
http://www.msn.co.uk/messenger



Re: Dont let it spoil my weekend

2004-08-20 Thread Jennifer Yip
Vadim,
Big thank you - all working - opened my eyes to inpuit modules and better 
use of flowscript

I had an XSP hammer and everythink looked like a nail
Have a great weekend
Jenny

From: Vadim Gritsenko <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Dont let it spoil my weekend
Date: Fri, 20 Aug 2004 10:59:13 -0400
Jennifer Yip wrote:
The request etc works fine but I have just started testing exceptions in 
the soap service and these get transformed to soap-env:faults when 
response is received above.
If you want to throw an exception when web service faults, I personally 
would use axis webservice client from the flowscript - and axis client will 
throw an exception (which you can either catch in flowscript or it will get 
propagated to the error handler).

If you don't want to use flowscript, you can write an action.
If do *not* want to throw exception but rather just display different 
result depending on the response, do it in xslt...


  
...
Pick right tool for the job...
Vadim
_
Use MSN Messenger to send music and pics to your friends 
http://www.msn.co.uk/messenger



Dont let it spoil my weekend

2004-08-20 Thread Jennifer Yip
Guys,
Please help:
Is there a standard approach to dealing with Soap-Env:Fault in Cocoon 
pipelines

Ok I think I understand the error handling aspects, when an exception is 
thrown, but picture this XSP file using the built in logic sheet:

referencedata.xsp

 xmlns:xsp="http://apache.org/xsp";
 xmlns:xsp-request="http://apache.org/xsp/request/2.0";
 xmlns:soap="http://apache.org/xsp/soap/3.0";
 xmlns:xscript="http://apache.org/xsp/xscript/1.0";
 xmlns:log="http://apache.org/xsp/log/2.0";>

 http://localhost:/axis/ReferenceService.jws"; 
method="http://localhost/axis/getReferenceItems"; >
  http://localplace.com/";>

  
 



The request etc works fine but I have just started testing exceptions in the 
soap service and these get transformed to soap-env:faults when response is 
received above.

The pipeline I currently have is
   
 
 
 
   
So guys of the development group HELP
do I xpath match in the transformer and then do what? use 1.4 Java Xalan 
extension to throw real exception.. putting in domain of error handler?

do I somehow switch on xpath test of output of referenceData.xsp? HOW?
or is there a 3rd place :)
Help guys
Jenny ... 2 week old cocooner...
_
Want to block unwanted pop-ups? Download the free MSN Toolbar now!  
http://toolbar.msn.co.uk/



Navigation and Cocoon Portal

2004-08-15 Thread Jennifer Yip
Hi guys,
Quick question as I struggle through work on a Sunday afternoon.
I have spent a week or two now looking at Cocoon and the new portal block - 
loving it to death - you guys are doing a great job.

ok quick question for newbie (but learning quick)
I am trying to work out how to be able to add a tab containing a portlet to 
a users config dynamically - ie I have a popup tree of things and when 
selected each thing should be displayed in a coplet window - ie

popup contains - Sheep, Cow, Dog
User selects and this somehow make a new tab appear in portal with a mapped 
Coplet..

is that possible?
or do I modify the pipeline that supplies the initial layout to be dynamic 
and somehow do it that way?

  
kind regards
Jenny
_
It's fast, it's easy and it's free. Get MSN Messenger today! 
http://www.msn.co.uk/messenger



Ghent in Oct

2004-08-09 Thread Jennifer Yip
Hi,
Just found out about this - is this closed now or is there anyway to sign 
up?

Appreciated
Jenny
_
Express yourself with cool new emoticons http://www.msn.co.uk/specials/myemo


Portal Path

2004-08-02 Thread Jennifer Yip
Is it possible to get a quick outline of where the development team are 
heading with Portal Blocks?

The new portal block does not appear to have any aspects for managing 
Coplets and or users?
Is this likely to happen over next couple of months (or did I miss 
something)?

JetSpeed2 seems like a key aspect in the open source portal world and I read 
somewhere that JetSpeed2 was based on Cocoon2 (I am going to try and look 
closer at this today) Is it?

In general is JetSpeed2 seen as a good direction for a front end container 
for 168 portlets? These portlets being generated by Cocoon?

Finally I am confused for 2.2 Cocoon is Spring or Fortress current flavour 
and is Avalon being dropped?

Really appreciate responses - need to complete eval in double quick time...
regards
Jenny
_
It's fast, it's easy and it's free. Get MSN Messenger today! 
http://www.msn.co.uk/messenger