You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Terry Paddy <te...@yahoo.com> on 2002/11/29 23:25:17 UTC

sunShine context c2.0.3

Hi,

I have a question regarding the sunRise context. I
appreciate that everything has improved/moved/changed
to the frameworks in 2.1-dev but unfortunately I must
continue to use 2.0.3 scratch pad until 2.1 is
released.

I cannot get any info out of the sunRise context with
<sunshine:getxml context='sunRise'
path='/authentication/role'/> etc....

As a test, I put the above request in the "feedback"
sunlet of the working "sample" in 2.0.3 I made sure
that the sunlets were able to process the request by
putting <map:transform type="sunShine"/> in the
sunspotdemosunlet-*.xml pipeline

The result was a nullpointerexception when the sunRise
context was being accessed. The context existed but no
object was present?

However <sunshine:getxml context="request"
path="/querystring" /> does give me the query string
AND I can store and extract "stuff" into and out of my
own context (context="mycontext").

QUESTION: Why can't I access the sunRise context?

Thanks in advance.

=====
_______________________________________
Terry Paddy - Christchurch, New Zealand

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


RE: sunShine context c2.0.3

Posted by Terry Paddy <te...@yahoo.com>.
Hi Antonio,

I haven't in this case since I want to extract data
from the sunRise context. But I have done a test using
XSP and "session" tags and note that I can retrieve
data that I have previously set.

... Terry 

--- Antonio Gallardo
<ag...@agsoftware.dnsalias.com> wrote:
> Are you using XSP?
> 
> Antonio Gallardo
> 
> Carsten Ziegeler dijo:
> > Hi Terry,
> >
> > did you try the latest CVS version of the 2.0.3
> branch?
> > The NPE should be fixed there.
> >
> > HTH
> > Carsten
> >
> >> -----Original Message-----
> >> From: Terry Paddy [mailto:terrypaddy@yahoo.com]
> >> Sent: Friday, November 29, 2002 11:25 PM
> >> To: cocoon-users@xml.apache.org
> >> Subject: sunShine context c2.0.3
> >>
> >>
> >> Hi,
> >>
> >> I have a question regarding the sunRise context.
> I
> >> appreciate that everything has
> improved/moved/changed
> >> to the frameworks in 2.1-dev but unfortunately I
> must
> >> continue to use 2.0.3 scratch pad until 2.1 is
> >> released.
> >>
> >> I cannot get any info out of the sunRise context
> with
> >> <sunshine:getxml context='sunRise'
> >> path='/authentication/role'/> etc....
> >>
> >> As a test, I put the above request in the
> "feedback"
> >> sunlet of the working "sample" in 2.0.3 I made
> sure
> >> that the sunlets were able to process the request
> by
> >> putting <map:transform type="sunShine"/> in the
> >> sunspotdemosunlet-*.xml pipeline
> >>
> >> The result was a nullpointerexception when the
> sunRise
> >> context was being accessed. The context existed
> but no
> >> object was present?
> >>
> >> However <sunshine:getxml context="request"
> >> path="/querystring" /> does give me the query
> string
> >> AND I can store and extract "stuff" into and out
> of my
> >> own context (context="mycontext").
> >>
> >> QUESTION: Why can't I access the sunRise context?
> >>
> >> Thanks in advance.
> >>
> >> =====
> >> _______________________________________
> >> Terry Paddy - Christchurch, New Zealand
> >>
> >>
> __________________________________________________
> >> Do you Yahoo!?
> >> Yahoo! Mail Plus - Powerful. Affordable. Sign up
> now.
> >> http://mailplus.yahoo.com
> >>
> >>
>
---------------------------------------------------------------------
> >> Please check that your question  has not already
> been answered in the
> >> FAQ before posting.    
> <http://xml.apache.org/cocoon/faq/index.html>
> >>
> >> To unsubscribe, e-mail:    
> <co...@xml.apache.org>
> >> For additional commands, e-mail:  
> <co...@xml.apache.org>
> >>
> >
> >
>
---------------------------------------------------------------------
> > Please check that your question  has not already
> been answered in the
> > FAQ before posting.    
> <http://xml.apache.org/cocoon/faq/index.html>
> >
> > To unsubscribe, e-mail:    
> <co...@xml.apache.org>
> > For additional commands, e-mail:  
> <co...@xml.apache.org>
> 
> 
> 
> 
>
---------------------------------------------------------------------
> Please check that your question  has not already
> been answered in the
> FAQ before posting.    
> <http://xml.apache.org/cocoon/faq/index.html>
> 
> To unsubscribe, e-mail:    
> <co...@xml.apache.org>
> For additional commands, e-mail:  
> <co...@xml.apache.org>
> 


=====
_______________________________________
Terry Paddy - Christchurch, New Zealand

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


RE: sunShine context c2.0.3

Posted by Antonio Gallardo <ag...@agsoftware.dnsalias.com>.
Are you using XSP?

Antonio Gallardo

Carsten Ziegeler dijo:
> Hi Terry,
>
> did you try the latest CVS version of the 2.0.3 branch?
> The NPE should be fixed there.
>
> HTH
> Carsten
>
>> -----Original Message-----
>> From: Terry Paddy [mailto:terrypaddy@yahoo.com]
>> Sent: Friday, November 29, 2002 11:25 PM
>> To: cocoon-users@xml.apache.org
>> Subject: sunShine context c2.0.3
>>
>>
>> Hi,
>>
>> I have a question regarding the sunRise context. I
>> appreciate that everything has improved/moved/changed
>> to the frameworks in 2.1-dev but unfortunately I must
>> continue to use 2.0.3 scratch pad until 2.1 is
>> released.
>>
>> I cannot get any info out of the sunRise context with
>> <sunshine:getxml context='sunRise'
>> path='/authentication/role'/> etc....
>>
>> As a test, I put the above request in the "feedback"
>> sunlet of the working "sample" in 2.0.3 I made sure
>> that the sunlets were able to process the request by
>> putting <map:transform type="sunShine"/> in the
>> sunspotdemosunlet-*.xml pipeline
>>
>> The result was a nullpointerexception when the sunRise
>> context was being accessed. The context existed but no
>> object was present?
>>
>> However <sunshine:getxml context="request"
>> path="/querystring" /> does give me the query string
>> AND I can store and extract "stuff" into and out of my
>> own context (context="mycontext").
>>
>> QUESTION: Why can't I access the sunRise context?
>>
>> Thanks in advance.
>>
>> =====
>> _______________________________________
>> Terry Paddy - Christchurch, New Zealand
>>
>> __________________________________________________
>> Do you Yahoo!?
>> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
>> http://mailplus.yahoo.com
>>
>> ---------------------------------------------------------------------
>> Please check that your question  has not already been answered in the
>> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
>>
>> To unsubscribe, e-mail:     <co...@xml.apache.org>
>> For additional commands, e-mail:   <co...@xml.apache.org>
>>
>
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail:     <co...@xml.apache.org>
> For additional commands, e-mail:   <co...@xml.apache.org>




---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


RE: sunShine context c2.0.3

Posted by Terry Paddy <te...@yahoo.com>.
Thanks Carsten,

We have used the latest CVS 2.0.3 and the problem is
fixed.

--- Carsten Ziegeler <cz...@s-und-n.de> wrote:
> Hi Terry,
> 
> did you try the latest CVS version of the 2.0.3
> branch?
> The NPE should be fixed there.
> 
> HTH
> Carsten
> 
> > -----Original Message-----
> > From: Terry Paddy [mailto:terrypaddy@yahoo.com]
> > Sent: Friday, November 29, 2002 11:25 PM
> > To: cocoon-users@xml.apache.org
> > Subject: sunShine context c2.0.3
> > 
> > 
> > Hi,
> > 
> > I have a question regarding the sunRise context. I
> > appreciate that everything has
> improved/moved/changed
> > to the frameworks in 2.1-dev but unfortunately I
> must
> > continue to use 2.0.3 scratch pad until 2.1 is
> > released.
> > 
> > I cannot get any info out of the sunRise context
> with
> > <sunshine:getxml context='sunRise'
> > path='/authentication/role'/> etc....
> > 
> > As a test, I put the above request in the
> "feedback"
> > sunlet of the working "sample" in 2.0.3 I made
> sure
> > that the sunlets were able to process the request
> by
> > putting <map:transform type="sunShine"/> in the
> > sunspotdemosunlet-*.xml pipeline
> > 
> > The result was a nullpointerexception when the
> sunRise
> > context was being accessed. The context existed
> but no
> > object was present?
> > 
> > However <sunshine:getxml context="request"
> > path="/querystring" /> does give me the query
> string
> > AND I can store and extract "stuff" into and out
> of my
> > own context (context="mycontext").
> > 
> > QUESTION: Why can't I access the sunRise context?
> > 
> > Thanks in advance.
> > 
> > =====
> > _______________________________________
> > Terry Paddy - Christchurch, New Zealand
> > 
> > __________________________________________________
> > Do you Yahoo!?
> > Yahoo! Mail Plus - Powerful. Affordable. Sign up
> now.
> > http://mailplus.yahoo.com
> > 
> >
>
---------------------------------------------------------------------
> > Please check that your question  has not already
> been answered in the
> > FAQ before posting.    
> <http://xml.apache.org/cocoon/faq/index.html>
> > 
> > To unsubscribe, e-mail:    
> <co...@xml.apache.org>
> > For additional commands, e-mail:  
> <co...@xml.apache.org>
> > 
> 
>
---------------------------------------------------------------------
> Please check that your question  has not already
> been answered in the
> FAQ before posting.    
> <http://xml.apache.org/cocoon/faq/index.html>
> 
> To unsubscribe, e-mail:    
> <co...@xml.apache.org>
> For additional commands, e-mail:  
> <co...@xml.apache.org>
> 


=====
_______________________________________
Terry Paddy - Christchurch, New Zealand

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


RE: sunShine context c2.0.3

Posted by Terry Paddy <te...@yahoo.com>.
Thanks Carsten, I haven't used the latest CVS for
2.0.3 I'll look into it.


--- Carsten Ziegeler <cz...@s-und-n.de> wrote:
> Hi Terry,
> 
> did you try the latest CVS version of the 2.0.3
> branch?
> The NPE should be fixed there.
> 
> HTH
> Carsten
> 
> > -----Original Message-----
> > From: Terry Paddy [mailto:terrypaddy@yahoo.com]
> > Sent: Friday, November 29, 2002 11:25 PM
> > To: cocoon-users@xml.apache.org
> > Subject: sunShine context c2.0.3
> > 
> > 
> > Hi,
> > 
> > I have a question regarding the sunRise context. I
> > appreciate that everything has
> improved/moved/changed
> > to the frameworks in 2.1-dev but unfortunately I
> must
> > continue to use 2.0.3 scratch pad until 2.1 is
> > released.
> > 
> > I cannot get any info out of the sunRise context
> with
> > <sunshine:getxml context='sunRise'
> > path='/authentication/role'/> etc....
> > 
> > As a test, I put the above request in the
> "feedback"
> > sunlet of the working "sample" in 2.0.3 I made
> sure
> > that the sunlets were able to process the request
> by
> > putting <map:transform type="sunShine"/> in the
> > sunspotdemosunlet-*.xml pipeline
> > 
> > The result was a nullpointerexception when the
> sunRise
> > context was being accessed. The context existed
> but no
> > object was present?
> > 
> > However <sunshine:getxml context="request"
> > path="/querystring" /> does give me the query
> string
> > AND I can store and extract "stuff" into and out
> of my
> > own context (context="mycontext").
> > 
> > QUESTION: Why can't I access the sunRise context?
> > 
> > Thanks in advance.
> > 
> > =====
> > _______________________________________
> > Terry Paddy - Christchurch, New Zealand
> > 
> > __________________________________________________
> > Do you Yahoo!?
> > Yahoo! Mail Plus - Powerful. Affordable. Sign up
> now.
> > http://mailplus.yahoo.com
> > 
> >
>
---------------------------------------------------------------------
> > Please check that your question  has not already
> been answered in the
> > FAQ before posting.    
> <http://xml.apache.org/cocoon/faq/index.html>
> > 
> > To unsubscribe, e-mail:    
> <co...@xml.apache.org>
> > For additional commands, e-mail:  
> <co...@xml.apache.org>
> > 
> 
>
---------------------------------------------------------------------
> Please check that your question  has not already
> been answered in the
> FAQ before posting.    
> <http://xml.apache.org/cocoon/faq/index.html>
> 
> To unsubscribe, e-mail:    
> <co...@xml.apache.org>
> For additional commands, e-mail:  
> <co...@xml.apache.org>
> 


=====
_______________________________________
Terry Paddy - Christchurch, New Zealand

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


RE: sunShine context c2.0.3

Posted by Carsten Ziegeler <cz...@s-und-n.de>.
Hi Terry,

did you try the latest CVS version of the 2.0.3 branch?
The NPE should be fixed there.

HTH
Carsten

> -----Original Message-----
> From: Terry Paddy [mailto:terrypaddy@yahoo.com]
> Sent: Friday, November 29, 2002 11:25 PM
> To: cocoon-users@xml.apache.org
> Subject: sunShine context c2.0.3
> 
> 
> Hi,
> 
> I have a question regarding the sunRise context. I
> appreciate that everything has improved/moved/changed
> to the frameworks in 2.1-dev but unfortunately I must
> continue to use 2.0.3 scratch pad until 2.1 is
> released.
> 
> I cannot get any info out of the sunRise context with
> <sunshine:getxml context='sunRise'
> path='/authentication/role'/> etc....
> 
> As a test, I put the above request in the "feedback"
> sunlet of the working "sample" in 2.0.3 I made sure
> that the sunlets were able to process the request by
> putting <map:transform type="sunShine"/> in the
> sunspotdemosunlet-*.xml pipeline
> 
> The result was a nullpointerexception when the sunRise
> context was being accessed. The context existed but no
> object was present?
> 
> However <sunshine:getxml context="request"
> path="/querystring" /> does give me the query string
> AND I can store and extract "stuff" into and out of my
> own context (context="mycontext").
> 
> QUESTION: Why can't I access the sunRise context?
> 
> Thanks in advance.
> 
> =====
> _______________________________________
> Terry Paddy - Christchurch, New Zealand
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
> 
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
> 
> To unsubscribe, e-mail:     <co...@xml.apache.org>
> For additional commands, e-mail:   <co...@xml.apache.org>
> 

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>