RE: Looking for help in the upcomming release

2002-07-14 Thread Carsten Ziegeler

Many thanks to all of you who helped the Cocoon team assuring a
better quality for the upcomming release! Thanks!

As far as I can tell by the responses and by the commit mails,
we have fixed all main problems. Or did I oversee something?

I'm currently building the distribution and will do a test
myself - if everything works and noone complains, I will do
the release in the afternoon.

Again, thanks to all helping us!

Carsten 

Carsten Ziegeler Chief Architect Open Source Group, S&N AG
--
mailto:[EMAIL PROTECTED]  http://www.s-und-n.de
http://ziegeler.bei.t-online.de


> -Original Message-
> From: Carsten Ziegeler [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 11, 2002 5:11 PM
> To: Cocoon-Dev; Cocoon-Users
> Subject: Looking for help in the upcomming release
> 
> 
> The Cocoon Project is working very hard to release 2.0.3 by Monday, July 
> 15.
> To meet this goal -- which clearly will benefit all users -- we need 
> some *specific* QA (quality assurance) input from the user community.
> 
> To help, here's what you need to do:
> 
> 1. Update your local CVS repository to the *latest* 2.0.3 branch 
>version from CVS.
> 
> 2.  ./build.[sh|bat] clean
> 
> 3. If you want to build for JDK 1.4 change in build.xml the following 
>line from
>  
>to
>  
>Do not run Cocoon build for JDK 1.3 on a JDK 1.4 system or 
>vice versa. Please note, that the build for JDK 1.3 is also
>targetted for JDK 1.2
> 
> 4. ./build.[sh\bat] -Dinclude.webapp.libs=true webapp  (or webapp-local)
> 
> 5. Test *all* samples. Hit each and every sample page from links
> beginning at http://127.0.0.1:8080/cocoon/samples/
> 
> 6. Report back here on your findings, good or bad.
> 
> 7. Make sure you describe your test environment: Platform and JVM, 
> including version numbers.
> 
> 8. If you find problems, be specific about the problem description: what 
>page, what error, etc.
> 
> 9. If you can provide a patch/info to fix the problem, even better.
> 
> What we do *not* need:
> Please do not submit requests for XYZ features, dreams, etc. Please save 
> these ideas for future versions.
> 
> 
> Thanks.
> 
> The Cocoon Team
> 
> 
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. 
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
> 

-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Re: [Q] util:include-uri relative path

2002-07-14 Thread Christian Haul

On 14.Jul.2002 -- 11:10 AM, Vadim Gritsenko wrote:
> > From: Christian Haul [mailto:[EMAIL PROTECTED]]
> > 
> > On 12.Jul.2002 -- 10:58 PM, Christian Haul wrote:
> > > On 12.Jul.2002 -- 04:24 PM, Vadim Gritsenko wrote:
> > > > > From: Christian Haul
> [mailto:[EMAIL PROTECTED]]
> > >
> > > Now, if you really want to make this a happy evening for me, tell me
> why
> > > I can't use the logicsheet-util.xsl twice, and I'll promise to patch
> &
> > > commit the corrected util.xsl today :-)
> > 
> > Couldn't find the reason for this problem, but was able to find a way
> > around it.
> 
> What was the issue ?

When using the 'get-string-parameter' $namspace-prefix is set correctly 
the first time. Following calls to the same template have it set to "".
Maybe it's OK with the spec (Sylvain authored this logicsheet), but it's
unusable this way. I've settled with calling the 'get-namespce-prefix'
template everytime. This works OK for me.

> 
> > Fixes are in both branches.
> 
> What mymap is used for? :)

Touch'e. It's been left over and now is removed.

Chris.
-- 
C h r i s t i a n   H a u l
[EMAIL PROTECTED]
fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Re: Monday Night: Free POI, lots of Pizza, And all the infoyou can takein one night about POI and the C

2002-07-14 Thread Derek Hohls

Any chance that *all* the links off of:

http://www.trilug.org/~acoliver/poiPres18.html

could be updated to point to a 'non localhost' machine
(eg cvs.apache.org)

Thanks!

>>> [EMAIL PROTECTED] 13/07/2002 04:37:25 >>>
http://www.trijug.org/ -

Monday night, if you're not doing too much and you live on the US East

coast, why not come on down (or up to North Carolina),
we'll have lots of nutritious Hawaiian poi!  We'll have pizza, pop as 
well for those of you who are not into eating mushed tarro root.

We'll go over the POI project, how to use it, what it is, etc.  We'll 
tackle some basics of Cocoon (as applies to using the HSSF Serializer 
and reporting), and I'll answer lots of questions.

We should have some great information sources on hand.  You'll have me

(your humble poi-servant), Marc Johnson (who won't come on stage but
you 
might be able to corner him before or afterwards) and author of an 
upcoming book, Conrad D'Cruz, who can talk to you in more detail about

Cocoon, life, the universe and everything.

Hope to see anyone who can make it!

-Andy





-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




XML Form, extended validation and error messages

2002-07-14 Thread michael_hampel

Hello,

  i again have a question concerning validation in connection with XMl
forms.
  Is there a standard way how to handle validation, that cannot be done
with
  the Schematron approach?

 I mean something like validating if a password is already existing in a
 database or running a Luhn Test for credit card validation.

 In the moment I would do this validation in my Action that I provide for
 the form handling (e.g.: the perform() method).

What I would like to find out now is how to get error messages back
to the page where the wrong input came from, if the validation fails.

Can I access the xml file and  add an error?

How is it supposed to be done?


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Re: Monday Night: Free POI, lots of Pizza, And all the info you can take in one night about POI and the Cocoon HSSF Serializer!

2002-07-14 Thread Liam Morley

I'm in MA, and slightly considering the trip, although at the moment I'm 
almost comparing it to all of the mozilla 1.0 parties that sprung up 
around the country: I'm just interested in meeting other people who use 
Cocoon (I am only mildly interested in poi at the moment, as I have no 
current uses for it). But that's a good amount of driving, and I already 
live on the east coast...:)

Liam Morley


Peter Royal wrote:

>On Friday 12 July 2002 10:55 pm, Argyn Kuketayev wrote:
>  
>
>>I wonder how many ppl do Cocoon on East Coast? If more than 3 then it's
>>enough to have a sort of workshop on Outer Banks some time :)
>>
>>
>
>I'm in Jacksonville, FL.
>-pete
>
>  
>


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Re: passing a value into an XML form from somewhere else

2002-07-14 Thread Ivelin Ivanov



I assume your cinclude transformer substitures the actual value.

This is what you could do:


  


Now after cinclude substitues the value, the XMLFormTransformer will not
(should not) use the value of the bean property, but the explicitly
specified value in the markup instead.

How is that?


> Ivelin Ivanov wrote:
>
> >Seems like you extended the framework to support xmlform-model ;)
> >This has been discussed before, maybe we should check it in.
> >
> I didn't do it... It must already be there...?
>
> >Of course this is a little delicate, because the model can be a DOM node.
> >
> >As to your question, why don't you use xf:hidden? See the most recent
> >XMLForm demo.
> >
> >
> Right, but how do I get the value into the hidden from OUTSIDE the
> xmlform pipeline?  meaning how do I pass a parameter into the
> xmlfrom-based pipeline and get it INTO the xmlfrom.  I made it textbox
> so I could see it was always 0 instead of 3.
>
> -Andy
>
> >Ivelin
> >
> >- Original Message -
> >From: "Andrew C. Oliver" <[EMAIL PROTECTED]>
> >To: <[EMAIL PROTECTED]>
> >Sent: Sunday, July 14, 2002 6:58 PM
> >Subject: Re: passing a value into an XML form from somewhere else
> >
> >
> >
> >
> >>Sure.
> >>
> >>here is the offer action (which loads the form)
> >>
> >>
> >> 
> >>   
> >>   
> >>   
> >>   
> >>
> >>   
> >>   
> >>   
> >>>>
> >>
> >src="context://stylesheets/xmlform/xmlform2html.xsl"/>
> >
> >
> >>   
> >> 
> >>
> >>
> >>here is the url which calls it
> >>
> >>
> >>
> >>
>
>http://www.superlinksoftware.com/cocoon/samples/bringmethis/action/postoffe
r
> >.html?itemNo=3
> >
> >
> >>Where the screen calling the form is not itself an XML form.  However it
> >>needs to pass a parameter to be stored
> >>in a hidden field (or otherwise poke it into the OfferBean attached to
> >>the form).
> >>
> >>You can actually go here:
> >>
> >>
> >>
>
>http://www.superlinksoftware.com/cocoon/samples/bringmethis/category/Antiqu
e
> >s/3.html?category=Antiques
> >
> >
> >>and see what I mean (click on Make An Offer)
> >>
> >>-Andy
> >>
> >>
> >>Ivelin Ivanov wrote:
> >>
> >>
> >>
> >>>Myabe I misunderstand the problem.
> >>>
> >>>Can you send your sitemap and some more details.
> >>>
> >>>
> >>>
> >>>
> >>>- Original Message -
> >>>From: "Andrew C. Oliver" <[EMAIL PROTECTED]>
> >>>To: <[EMAIL PROTECTED]>
> >>>Sent: Sunday, July 14, 2002 5:39 PM
> >>>Subject: Re: passing a value into an XML form from somewhere else
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> Ivelin Ivanov wrote:
> 
> 
> 
> 
> 
> >The name of the parameter has to represent the XPath to the bean
> >
> >
> >
> >
> >>>property.
> >>>
> >>>
> >>>
> >>>
> >See the html source of an xmlform page to see how element names are
> >translated into widgets @name attributes.
> >
> >Does this help?
> >
> >
> >
> >
> >
> >
> I don't think so.  I need to pass the data into the pipeline from
> outside.  If I just pass the same parameter as a propery it
> is not picking it up.  Or at least its not ending up in the form.
> 
> -Andy
> 
> 
> 
> 
> 
> >Ivelin
> >
> >
> >- Original Message -
> >From: "Andrew C. Oliver" <[EMAIL PROTECTED]>
> >To: <[EMAIL PROTECTED]>
> >Sent: Sunday, July 14, 2002 11:50 AM
> >Subject: Q: passing a value into an XML form from somewhere else
> >
> >
> >
> >
> >
> >
> >
> >
> >>Hi All,
> >>
> >>I've got a situation where I have multiple items on a dynamically
> >>generated page and I want to be able to allow the user to
> >>click on a link and "post an offer" on them.  So for instance
> >>
> >>on
> >>
> >>
> >>
> >>
> >>
> >>
> >>
>
>>>http://www.superlinksoftware.com/cocoon/samples/bringmethis/category/Anti
q
> >>>
> >>>
> >u
> >
> >
> 
> 
> >>>e
> >>>
> >>>
> >>>
> >>>
> >s/3.html
> >
> >
> >
> >
> >
> >
> >>I want to be able to have the user click
> >>"make an offer"
> >>
> >>
> >>
> >>
> >>
> >>
> >>
>
>>>http://www.superlinksoftware.com/cocoon/samples/bringmethis/action/postof
f
> >>>
> >>>
> >e
> >
> >
> 
> 
> >>>r
> >>>
> >>>
> >>>
> >>>
> >.html?itemNo=3
> >
> >
> >
> >
> >
> >
> >>which will pass to an XMLForm based action.
> >>
> >>The problem is I need itemNo to end up in my OfferBean.java along
with
> >>the user populated fields in the form.  How do I take
> >>an http parameter and get it into the bean attached to an XMLForm?
> >>
> >>Thanks,
> >>
> >>Andy
> >>
> >>
> >>
> >>
>
>>-
> >>Please check that your question  has not already been answered in
the
> >>FAQ before posting.


Re: passing a value into an XML form from somewhere else

2002-07-14 Thread Andrew C. Oliver

Ivelin Ivanov wrote:

>Seems like you extended the framework to support xmlform-model ;)
>This has been discussed before, maybe we should check it in.
>
I didn't do it... It must already be there...?

>Of course this is a little delicate, because the model can be a DOM node.
>
>As to your question, why don't you use xf:hidden? See the most recent
>XMLForm demo.
>  
>
Right, but how do I get the value into the hidden from OUTSIDE the 
xmlform pipeline?  meaning how do I pass a parameter into the 
xmlfrom-based pipeline and get it INTO the xmlfrom.  I made it textbox 
so I could see it was always 0 instead of 3.

-Andy

>Ivelin
>
>- Original Message -
>From: "Andrew C. Oliver" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Sunday, July 14, 2002 6:58 PM
>Subject: Re: passing a value into an XML form from somewhere else
>
>
>  
>
>>Sure.
>>
>>here is the offer action (which loads the form)
>>
>>
>> 
>>   
>>   
>>   
>>   
>>
>>   
>>   
>>   
>>   >
>>
>src="context://stylesheets/xmlform/xmlform2html.xsl"/>
>  
>
>>   
>> 
>>
>>
>>here is the url which calls it
>>
>>
>>
>>
>http://www.superlinksoftware.com/cocoon/samples/bringmethis/action/postoffer
>.html?itemNo=3
>  
>
>>Where the screen calling the form is not itself an XML form.  However it
>>needs to pass a parameter to be stored
>>in a hidden field (or otherwise poke it into the OfferBean attached to
>>the form).
>>
>>You can actually go here:
>>
>>
>>
>http://www.superlinksoftware.com/cocoon/samples/bringmethis/category/Antique
>s/3.html?category=Antiques
>  
>
>>and see what I mean (click on Make An Offer)
>>
>>-Andy
>>
>>
>>Ivelin Ivanov wrote:
>>
>>
>>
>>>Myabe I misunderstand the problem.
>>>
>>>Can you send your sitemap and some more details.
>>>
>>>
>>>
>>>
>>>- Original Message -
>>>From: "Andrew C. Oliver" <[EMAIL PROTECTED]>
>>>To: <[EMAIL PROTECTED]>
>>>Sent: Sunday, July 14, 2002 5:39 PM
>>>Subject: Re: passing a value into an XML form from somewhere else
>>>
>>>
>>>
>>>
>>>  
>>>
Ivelin Ivanov wrote:





>The name of the parameter has to represent the XPath to the bean
>
>
>  
>
>>>property.
>>>
>>>
>>>  
>>>
>See the html source of an xmlform page to see how element names are
>translated into widgets @name attributes.
>
>Does this help?
>
>
>
>
>  
>
I don't think so.  I need to pass the data into the pipeline from
outside.  If I just pass the same parameter as a propery it
is not picking it up.  Or at least its not ending up in the form.

-Andy





>Ivelin
>
>
>- Original Message -
>From: "Andrew C. Oliver" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Sunday, July 14, 2002 11:50 AM
>Subject: Q: passing a value into an XML form from somewhere else
>
>
>
>
>
>
>  
>
>>Hi All,
>>
>>I've got a situation where I have multiple items on a dynamically
>>generated page and I want to be able to allow the user to
>>click on a link and "post an offer" on them.  So for instance
>>
>>on
>>
>>
>>
>>
>>
>>
>>
>>>http://www.superlinksoftware.com/cocoon/samples/bringmethis/category/Antiq
>>>  
>>>
>u
>  
>


>>>e
>>>
>>>
>>>  
>>>
>s/3.html
>
>
>
>
>  
>
>>I want to be able to have the user click
>>"make an offer"
>>
>>
>>
>>
>>
>>
>>
>>>http://www.superlinksoftware.com/cocoon/samples/bringmethis/action/postoff
>>>  
>>>
>e
>  
>


>>>r
>>>
>>>
>>>  
>>>
>.html?itemNo=3
>
>
>
>
>  
>
>>which will pass to an XMLForm based action.
>>
>>The problem is I need itemNo to end up in my OfferBean.java along with
>>the user populated fields in the form.  How do I take
>>an http parameter and get it into the bean attached to an XMLForm?
>>
>>Thanks,
>>
>>Andy
>>
>>
>>
>>
>>-
>>Please check that your question  has not already been answered in the
>>FAQ before posting. 
>>
>>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>>For additional commands, e-mail:   <[EMAIL PROTECTED]>
>>
>>
>>
>>
>>
>>
>>
>-
>Please check that your question  has not already been answered in the
>FAQ before posting. 
>
>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>For additional commands, e-mail:   <[EMAIL PROTECTED]>
>
>
>
>
>
>
>

Re: passing a value into an XML form from somewhere else

2002-07-14 Thread Ivelin Ivanov


Seems like you extended the framework to support xmlform-model ;)
This has been discussed before, maybe we should check it in.
Of course this is a little delicate, because the model can be a DOM node.

As to your question, why don't you use xf:hidden? See the most recent
XMLForm demo.

Ivelin

- Original Message -
From: "Andrew C. Oliver" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, July 14, 2002 6:58 PM
Subject: Re: passing a value into an XML form from somewhere else


> Sure.
>
> here is the offer action (which loads the form)
>
> 
>  
>
>
>
>
>
>
>
>
>
>
>  
> 
>
> here is the url which calls it
>
>
http://www.superlinksoftware.com/cocoon/samples/bringmethis/action/postoffer
.html?itemNo=3
>
> Where the screen calling the form is not itself an XML form.  However it
> needs to pass a parameter to be stored
> in a hidden field (or otherwise poke it into the OfferBean attached to
> the form).
>
> You can actually go here:
>
http://www.superlinksoftware.com/cocoon/samples/bringmethis/category/Antique
s/3.html?category=Antiques
>
> and see what I mean (click on Make An Offer)
>
> -Andy
>
>
> Ivelin Ivanov wrote:
>
> >Myabe I misunderstand the problem.
> >
> >Can you send your sitemap and some more details.
> >
> >
> >
> >
> >- Original Message -
> >From: "Andrew C. Oliver" <[EMAIL PROTECTED]>
> >To: <[EMAIL PROTECTED]>
> >Sent: Sunday, July 14, 2002 5:39 PM
> >Subject: Re: passing a value into an XML form from somewhere else
> >
> >
> >
> >
> >>Ivelin Ivanov wrote:
> >>
> >>
> >>
> >>>The name of the parameter has to represent the XPath to the bean
> >>>
> >>>
> >property.
> >
> >
> >>>See the html source of an xmlform page to see how element names are
> >>>translated into widgets @name attributes.
> >>>
> >>>Does this help?
> >>>
> >>>
> >>>
> >>>
> >>I don't think so.  I need to pass the data into the pipeline from
> >>outside.  If I just pass the same parameter as a propery it
> >>is not picking it up.  Or at least its not ending up in the form.
> >>
> >>-Andy
> >>
> >>
> >>
> >>>Ivelin
> >>>
> >>>
> >>>- Original Message -
> >>>From: "Andrew C. Oliver" <[EMAIL PROTECTED]>
> >>>To: <[EMAIL PROTECTED]>
> >>>Sent: Sunday, July 14, 2002 11:50 AM
> >>>Subject: Q: passing a value into an XML form from somewhere else
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> Hi All,
> 
> I've got a situation where I have multiple items on a dynamically
> generated page and I want to be able to allow the user to
> click on a link and "post an offer" on them.  So for instance
> 
> on
> 
> 
> 
> 
> 
>
>>http://www.superlinksoftware.com/cocoon/samples/bringmethis/category/Antiq
u
> >>
> >>
> >e
> >
> >
> >>>s/3.html
> >>>
> >>>
> >>>
> >>>
> I want to be able to have the user click
> "make an offer"
> 
> 
> 
> 
> 
>
>>http://www.superlinksoftware.com/cocoon/samples/bringmethis/action/postoff
e
> >>
> >>
> >r
> >
> >
> >>>.html?itemNo=3
> >>>
> >>>
> >>>
> >>>
> which will pass to an XMLForm based action.
> 
> The problem is I need itemNo to end up in my OfferBean.java along with
> the user populated fields in the form.  How do I take
> an http parameter and get it into the bean attached to an XMLForm?
> 
> Thanks,
> 
> Andy
> 
> 
> 
> 
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. 
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
> 
> 
> 
> 
> 
> >>>-
> >>>Please check that your question  has not already been answered in the
> >>>FAQ before posting. 
> >>>
> >>>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> >>>For additional commands, e-mail:   <[EMAIL PROTECTED]>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>
> >>
> >>-
> >>Please check that your question  has not already been answered in the
> >>FAQ before posting. 
> >>
> >>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> >>For additional commands, e-mail:   <[EMAIL PROTECTED]>
> >>
> >>
> >>
> >
> >
> >-
> >Please check that your question  has not already been answered in the
> >FAQ before posting. 
> >
> >To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> >For additional commands, e-mail:   <[EMAIL PROTECTED]>
> >
> >
> >
> >
>
>
>
>
> -
> Please check that you

Re: passing a value into an XML form from somewhere else

2002-07-14 Thread Andrew C. Oliver

Sure.  

here is the offer action (which loads the form)


 
   
   
   
   

   
   
   
   
   
 


here is the url which calls it

http://www.superlinksoftware.com/cocoon/samples/bringmethis/action/postoffer.html?itemNo=3

Where the screen calling the form is not itself an XML form.  However it 
needs to pass a parameter to be stored
in a hidden field (or otherwise poke it into the OfferBean attached to 
the form).  

You can actually go here: 
http://www.superlinksoftware.com/cocoon/samples/bringmethis/category/Antiques/3.html?category=Antiques

and see what I mean (click on Make An Offer)

-Andy


Ivelin Ivanov wrote:

>Myabe I misunderstand the problem.
>
>Can you send your sitemap and some more details.
>
>
>
>
>- Original Message -
>From: "Andrew C. Oliver" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Sunday, July 14, 2002 5:39 PM
>Subject: Re: passing a value into an XML form from somewhere else
>
>
>  
>
>>Ivelin Ivanov wrote:
>>
>>
>>
>>>The name of the parameter has to represent the XPath to the bean
>>>  
>>>
>property.
>  
>
>>>See the html source of an xmlform page to see how element names are
>>>translated into widgets @name attributes.
>>>
>>>Does this help?
>>>
>>>
>>>  
>>>
>>I don't think so.  I need to pass the data into the pipeline from
>>outside.  If I just pass the same parameter as a propery it
>>is not picking it up.  Or at least its not ending up in the form.
>>
>>-Andy
>>
>>
>>
>>>Ivelin
>>>
>>>
>>>- Original Message -
>>>From: "Andrew C. Oliver" <[EMAIL PROTECTED]>
>>>To: <[EMAIL PROTECTED]>
>>>Sent: Sunday, July 14, 2002 11:50 AM
>>>Subject: Q: passing a value into an XML form from somewhere else
>>>
>>>
>>>
>>>
>>>  
>>>
Hi All,

I've got a situation where I have multiple items on a dynamically
generated page and I want to be able to allow the user to
click on a link and "post an offer" on them.  So for instance

on





>>http://www.superlinksoftware.com/cocoon/samples/bringmethis/category/Antiqu
>>
>>
>e
>  
>
>>>s/3.html
>>>
>>>
>>>  
>>>
I want to be able to have the user click
"make an offer"





>>http://www.superlinksoftware.com/cocoon/samples/bringmethis/action/postoffe
>>
>>
>r
>  
>
>>>.html?itemNo=3
>>>
>>>
>>>  
>>>
which will pass to an XMLForm based action.

The problem is I need itemNo to end up in my OfferBean.java along with
the user populated fields in the form.  How do I take
an http parameter and get it into the bean attached to an XMLForm?

Thanks,

Andy




-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>





>>>-
>>>Please check that your question  has not already been answered in the
>>>FAQ before posting. 
>>>
>>>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>>>For additional commands, e-mail:   <[EMAIL PROTECTED]>
>>>
>>>
>>>
>>>
>>>  
>>>
>>
>>
>>-
>>Please check that your question  has not already been answered in the
>>FAQ before posting. 
>>
>>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>>For additional commands, e-mail:   <[EMAIL PROTECTED]>
>>
>>
>>
>
>
>-
>Please check that your question  has not already been answered in the
>FAQ before posting. 
>
>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>For additional commands, e-mail:   <[EMAIL PROTECTED]>
>
>
>  
>




-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Re: passing a value into an XML form from somewhere else

2002-07-14 Thread Ivelin Ivanov


Myabe I misunderstand the problem.

Can you send your sitemap and some more details.




- Original Message -
From: "Andrew C. Oliver" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, July 14, 2002 5:39 PM
Subject: Re: passing a value into an XML form from somewhere else


> Ivelin Ivanov wrote:
>
> >The name of the parameter has to represent the XPath to the bean
property.
> >See the html source of an xmlform page to see how element names are
> >translated into widgets @name attributes.
> >
> >Does this help?
> >
> >
> I don't think so.  I need to pass the data into the pipeline from
> outside.  If I just pass the same parameter as a propery it
> is not picking it up.  Or at least its not ending up in the form.
>
> -Andy
>
> >Ivelin
> >
> >
> >- Original Message -
> >From: "Andrew C. Oliver" <[EMAIL PROTECTED]>
> >To: <[EMAIL PROTECTED]>
> >Sent: Sunday, July 14, 2002 11:50 AM
> >Subject: Q: passing a value into an XML form from somewhere else
> >
> >
> >
> >
> >>Hi All,
> >>
> >>I've got a situation where I have multiple items on a dynamically
> >>generated page and I want to be able to allow the user to
> >>click on a link and "post an offer" on them.  So for instance
> >>
> >>on
> >>
> >>
> >>
>
>http://www.superlinksoftware.com/cocoon/samples/bringmethis/category/Antiqu
e
> >s/3.html
> >
> >
> >>I want to be able to have the user click
> >>"make an offer"
> >>
> >>
> >>
>
>http://www.superlinksoftware.com/cocoon/samples/bringmethis/action/postoffe
r
> >.html?itemNo=3
> >
> >
> >>which will pass to an XMLForm based action.
> >>
> >>The problem is I need itemNo to end up in my OfferBean.java along with
> >>the user populated fields in the form.  How do I take
> >>an http parameter and get it into the bean attached to an XMLForm?
> >>
> >>Thanks,
> >>
> >>Andy
> >>
> >>
> >>
> >>
> >>-
> >>Please check that your question  has not already been answered in the
> >>FAQ before posting. 
> >>
> >>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> >>For additional commands, e-mail:   <[EMAIL PROTECTED]>
> >>
> >>
> >>
> >
> >
> >-
> >Please check that your question  has not already been answered in the
> >FAQ before posting. 
> >
> >To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> >For additional commands, e-mail:   <[EMAIL PROTECTED]>
> >
> >
> >
> >
>
>
>
>
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. 
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
>


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Re: passing a value into an XML form from somewhere else

2002-07-14 Thread Andrew C. Oliver

Ivelin Ivanov wrote:

>The name of the parameter has to represent the XPath to the bean property.
>See the html source of an xmlform page to see how element names are
>translated into widgets @name attributes.
>
>Does this help?
>  
>
I don't think so.  I need to pass the data into the pipeline from 
outside.  If I just pass the same parameter as a propery it
is not picking it up.  Or at least its not ending up in the form.

-Andy

>Ivelin
>
>
>- Original Message -
>From: "Andrew C. Oliver" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Sunday, July 14, 2002 11:50 AM
>Subject: Q: passing a value into an XML form from somewhere else
>
>
>  
>
>>Hi All,
>>
>>I've got a situation where I have multiple items on a dynamically
>>generated page and I want to be able to allow the user to
>>click on a link and "post an offer" on them.  So for instance
>>
>>on
>>
>>
>>
>http://www.superlinksoftware.com/cocoon/samples/bringmethis/category/Antique
>s/3.html
>  
>
>>I want to be able to have the user click
>>"make an offer"
>>
>>
>>
>http://www.superlinksoftware.com/cocoon/samples/bringmethis/action/postoffer
>.html?itemNo=3
>  
>
>>which will pass to an XMLForm based action.
>>
>>The problem is I need itemNo to end up in my OfferBean.java along with
>>the user populated fields in the form.  How do I take
>>an http parameter and get it into the bean attached to an XMLForm?
>>
>>Thanks,
>>
>>Andy
>>
>>
>>
>>
>>-
>>Please check that your question  has not already been answered in the
>>FAQ before posting. 
>>
>>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>>For additional commands, e-mail:   <[EMAIL PROTECTED]>
>>
>>
>>
>
>
>-
>Please check that your question  has not already been answered in the
>FAQ before posting. 
>
>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>For additional commands, e-mail:   <[EMAIL PROTECTED]>
>
>
>  
>




-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Re: passing a value into an XML form from somewhere else

2002-07-14 Thread Ivelin Ivanov


The name of the parameter has to represent the XPath to the bean property.
See the html source of an xmlform page to see how element names are
translated into widgets @name attributes.

Does this help?

Ivelin


- Original Message -
From: "Andrew C. Oliver" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, July 14, 2002 11:50 AM
Subject: Q: passing a value into an XML form from somewhere else


> Hi All,
>
> I've got a situation where I have multiple items on a dynamically
> generated page and I want to be able to allow the user to
> click on a link and "post an offer" on them.  So for instance
>
> on
>
http://www.superlinksoftware.com/cocoon/samples/bringmethis/category/Antique
s/3.html
> I want to be able to have the user click
> "make an offer"
>
http://www.superlinksoftware.com/cocoon/samples/bringmethis/action/postoffer
.html?itemNo=3
> which will pass to an XMLForm based action.
>
> The problem is I need itemNo to end up in my OfferBean.java along with
> the user populated fields in the form.  How do I take
> an http parameter and get it into the bean attached to an XMLForm?
>
> Thanks,
>
> Andy
>
>
>
>
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. 
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
>


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Re: Looking for help in the upcomming release

2002-07-14 Thread Andrew C. Oliver

Giacomo Pati wrote:

>On Fri, 12 Jul 2002, Carsten Ziegeler wrote:
>
>  
>
>>Just an update to the procedure:
>>
>>If you use the latest CVS step 3 - setting the targetted jvm -
>>is done now automatically by the build system. It detects the
>>compiler version you use and chooses by itself the correct target.
>>
>>So, everything is getting easier.
>>
>>
>
>Nice work, Carsten.
>  
>
+1

>Giacomo
>
>
>-
>Please check that your question  has not already been answered in the
>FAQ before posting. 
>
>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>For additional commands, e-mail:   <[EMAIL PROTECTED]>
>
>
>  
>




-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




RE: Looking for help in the upcomming release

2002-07-14 Thread Giacomo Pati

On Fri, 12 Jul 2002, Carsten Ziegeler wrote:

> Just an update to the procedure:
>
> If you use the latest CVS step 3 - setting the targetted jvm -
> is done now automatically by the build system. It detects the
> compiler version you use and chooses by itself the correct target.
>
> So, everything is getting easier.

Nice work, Carsten.

Giacomo


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Re: requesting a form text block as xml

2002-07-14 Thread Colm O'Riordan

Thanks Bert I am looking into it. Did you request the conversion/validation
on the fly via XSP ?

Bert Van Kets wrote:

> I did this using JTidy.  In my case I validated a string containing html
> and converted to xhtml.
> JTidy also has an option to parse XML and another one to ouput to a DOM
> document stream.  Some samples are available on the JTidy site at
> http://sourceforge.net/projects/jtidy/
>
> Bert
>
> At 19:27 13/07/2002 -0500, you wrote:
> >Hi All,
> >
> >I want to send a block of XML from a form to a new XML page which will
> >render it.
> >
> >Does anyone know how can I use XSP to get the block and treat it as XML
> >(like xsl:copy-of) ?
> >It may be a simple one but I cant find any reference to it.
> >It is for Cocoon 1.8 (last project on this platform - moving to 2.x next
> >time round !).
> >
> >Many Thanks in Advance.
> >
> >Colm.
> >
> >-
> >Please check that your question  has not already been answered in the
> >FAQ before posting. 
> >
> >To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> >For additional commands, e-mail:   <[EMAIL PROTECTED]>
>
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. 
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>

--
Colm O'Riordan | Director
Communicraft Ltd.
106 Pembroke Road,
Ballsbridge,
Dublin 4,
Ireland.
phone: 353 1 6607400
mobile: 353 86 2225078
web: www.communicraft.com

* Online Radio by Communicraft: http://www.powerfm.org *



-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Re: requesting a form text block as xml

2002-07-14 Thread Bert Van Kets

I did this using JTidy.  In my case I validated a string containing html 
and converted to xhtml.
JTidy also has an option to parse XML and another one to ouput to a DOM 
document stream.  Some samples are available on the JTidy site at 
http://sourceforge.net/projects/jtidy/

Bert

At 19:27 13/07/2002 -0500, you wrote:
>Hi All,
>
>I want to send a block of XML from a form to a new XML page which will
>render it.
>
>Does anyone know how can I use XSP to get the block and treat it as XML
>(like xsl:copy-of) ?
>It may be a simple one but I cant find any reference to it.
>It is for Cocoon 1.8 (last project on this platform - moving to 2.x next
>time round !).
>
>Many Thanks in Advance.
>
>Colm.
>
>-
>Please check that your question  has not already been answered in the
>FAQ before posting. 
>
>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>For additional commands, e-mail:   <[EMAIL PROTECTED]>


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Re: Request Parameters from multipart request.

2002-07-14 Thread Graeme Colman

Thanks for that, I've been tearing my hair out trying
to figure why this wasn't working.

Graeme.

 --- "j.tervoorde" <[EMAIL PROTECTED]> wrote: > I
think
>
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7510
> is the cause
> of
> the problem. Anyway, in 2.0.3 (to be released in a
> couple of days as i
> understand) you should be able to use
> getParameter().
> 
> Jeroen
> 
> - Original Message -
> From: "Graeme Colman" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Sunday, July 14, 2002 6:50 PM
> Subject: Re: Request Parameters from multipart
> request.
> 
> 
> > I have read an email saying that there is a bug
> with
> > the MultipartRequest in Cocoon release 2.0.2 but
> hve
> > found nothing else about it.
> >
> > Does anyone know about this?
> >
> >  --- Graeme Colman <[EMAIL PROTECTED]>
> wrote: >
> > I have a multipart form with file fields and
> normal
> > > text fields.
> > >
> > > The request object on the server contains no
> form
> > > parameters, well, the request input stream holds
> the
> > > parameters, but the request.getParameter()
> returns
> > > null for my fields.
> > >
> > > Should I be able to use the
> request.getParameter()
> > > for
> > > a multipart form?
> > >
> > > I am using Cocoon 2.0.2, jdk1.4 & tomcat4.0.3
> > >
> > >
> > > Many thanks
> > > Graeme.
> > >
> > >
> > >
> > >
> __
> > > Do You Yahoo!?
> > > Everything you'll ever need on one web page
> > > from News and Sport to Email and Music Charts
> > > http://uk.my.yahoo.com
> > >
> > >
> >
>
-
> > > Please check that your question  has not already
> > > been answered in the
> > > FAQ before posting.
> > > 
> > >
> > > To unsubscribe, e-mail:
> > > <[EMAIL PROTECTED]>
> > > For additional commands, e-mail:
> > > <[EMAIL PROTECTED]>
> > >
> >
> > __
> > Do You Yahoo!?
> > Everything you'll ever need on one web page
> > from News and Sport to Email and Music Charts
> > http://uk.my.yahoo.com
> >
> >
>
-
> > Please check that your question  has not already
> been answered in the
> > FAQ before posting.
> 
> >
> > To unsubscribe, e-mail:
> <[EMAIL PROTECTED]>
> > For additional commands, e-mail:  
> <[EMAIL PROTECTED]>
> >
> 
> 
>
-
> Please check that your question  has not already
> been answered in the
> FAQ before posting.
> 
> 
> To unsubscribe, e-mail:
> <[EMAIL PROTECTED]>
> For additional commands, e-mail:  
> <[EMAIL PROTECTED]>
>  

__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Re: Request Parameters from multipart request.

2002-07-14 Thread j.tervoorde

I think http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7510 is the cause
of
the problem. Anyway, in 2.0.3 (to be released in a couple of days as i
understand) you should be able to use getParameter().

Jeroen

- Original Message -
From: "Graeme Colman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, July 14, 2002 6:50 PM
Subject: Re: Request Parameters from multipart request.


> I have read an email saying that there is a bug with
> the MultipartRequest in Cocoon release 2.0.2 but hve
> found nothing else about it.
>
> Does anyone know about this?
>
>  --- Graeme Colman <[EMAIL PROTECTED]> wrote: >
> I have a multipart form with file fields and normal
> > text fields.
> >
> > The request object on the server contains no form
> > parameters, well, the request input stream holds the
> > parameters, but the request.getParameter() returns
> > null for my fields.
> >
> > Should I be able to use the request.getParameter()
> > for
> > a multipart form?
> >
> > I am using Cocoon 2.0.2, jdk1.4 & tomcat4.0.3
> >
> >
> > Many thanks
> > Graeme.
> >
> >
> >
> > __
> > Do You Yahoo!?
> > Everything you'll ever need on one web page
> > from News and Sport to Email and Music Charts
> > http://uk.my.yahoo.com
> >
> >
> -
> > Please check that your question  has not already
> > been answered in the
> > FAQ before posting.
> > 
> >
> > To unsubscribe, e-mail:
> > <[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <[EMAIL PROTECTED]>
> >
>
> __
> Do You Yahoo!?
> Everything you'll ever need on one web page
> from News and Sport to Email and Music Charts
> http://uk.my.yahoo.com
>
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. 
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
>


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




[Fwd: Q: passing a value into an XML form from somewhere else]

2002-07-14 Thread Andrew C. Oliver



--- Begin Message ---

Hi All,

I've got a situation where I have multiple items on a dynamically 
generated page and I want to be able to allow the user to
click on a link and "post an offer" on them.  So for instance

on 
http://www.superlinksoftware.com/cocoon/samples/bringmethis/category/Antiques/3.html 
I want to be able to have the user click
"make an offer"
http://www.superlinksoftware.com/cocoon/samples/bringmethis/action/postoffer.html?itemNo=3
which will pass to an XMLForm based action.

The problem is I need itemNo to end up in my OfferBean.java along with 
the user populated fields in the form.  How do I take
an http parameter and get it into the bean attached to an XMLForm?

Thanks,

Andy





--- End Message ---

-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>


Q: passing a value into an XML form from somewhere else

2002-07-14 Thread Andrew C. Oliver

Hi All,

I've got a situation where I have multiple items on a dynamically 
generated page and I want to be able to allow the user to
click on a link and "post an offer" on them.  So for instance

on 
http://www.superlinksoftware.com/cocoon/samples/bringmethis/category/Antiques/3.html 
I want to be able to have the user click
"make an offer"
http://www.superlinksoftware.com/cocoon/samples/bringmethis/action/postoffer.html?itemNo=3
which will pass to an XMLForm based action.

The problem is I need itemNo to end up in my OfferBean.java along with 
the user populated fields in the form.  How do I take
an http parameter and get it into the bean attached to an XMLForm?

Thanks,

Andy




-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Re: Request Parameters from multipart request.

2002-07-14 Thread Graeme Colman

I have read an email saying that there is a bug with
the MultipartRequest in Cocoon release 2.0.2 but hve
found nothing else about it. 

Does anyone know about this?

 --- Graeme Colman <[EMAIL PROTECTED]> wrote: >
I have a multipart form with file fields and normal
> text fields.
> 
> The request object on the server contains no form
> parameters, well, the request input stream holds the
> parameters, but the request.getParameter() returns
> null for my fields.
> 
> Should I be able to use the request.getParameter()
> for
> a multipart form?
> 
> I am using Cocoon 2.0.2, jdk1.4 & tomcat4.0.3
> 
> 
> Many thanks
> Graeme.
> 
>  
> 
> __
> Do You Yahoo!?
> Everything you'll ever need on one web page
> from News and Sport to Email and Music Charts
> http://uk.my.yahoo.com
> 
>
-
> Please check that your question  has not already
> been answered in the
> FAQ before posting.
> 
> 
> To unsubscribe, e-mail:
> <[EMAIL PROTECTED]>
> For additional commands, e-mail:  
> <[EMAIL PROTECTED]>
>  

__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Request Parameters from multipart request.

2002-07-14 Thread Graeme Colman

I have a multipart form with file fields and normal
text fields.

The request object on the server contains no form
parameters, well, the request input stream holds the
parameters, but the request.getParameter() returns
null for my fields.

Should I be able to use the request.getParameter() for
a multipart form?

I am using Cocoon 2.0.2, jdk1.4 & tomcat4.0.3


Many thanks
Graeme.

 

__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




RE: XML output transformed into XSP.

2002-07-14 Thread Graeme Colman

I never got this working :( 

I resorted to using java to add the xml that I needed.

Regards
Graeme.

 --- Vadim Gritsenko <[EMAIL PROTECTED]>
wrote: > > From: Graeme Colman
> [mailto:[EMAIL PROTECTED]]
> > 
> > I know that this type of question has been
> answered a
> > lot on this list but I still can't get this to
> work as
> > I would like.
> > 
> > What I have is an xml file.
> > I need to transform this xml adding a few tags.
> > I then need to put this through an xsp processor.
> > 
> > so:  pipeline 1: xml file -> xsl -> xml
> >  pipeline 2: pipeline1 -> xsp -> xsl -> html
> > 
> > 
> > with the sitemap:
> > 
> >
> >  
> >   src="stylesheets/dbConfig.xsl"/>
> >  
> >
> > 
> > 
> >
> >   > src="cocoon:/config"/>
> >  
> >  
> >
> > 
> > 
> > Sounds simple using the sub sitemap stuff.
> 
> Did you make it work? Sub sitemap has identical
> sample:
> 
> http://localhost:8080/cocoon/sub/xsp-cocoon
> 
> The only difference is that it does not have
> transformation:
> 
> >   src="stylesheets/dbConfig.xsl"/>
> 
> I can speculate that there is an issue in this XSLT.
> 
> 
> Vadim
> 
> 
> > 
> > I can get this working if the original xml is an
> xsp
> > file and generated with a type="serverpages".
> > 
> > But.
> > 
> > When I try to do as above, the html output is
> still as
> > the original post which is:
> > 
> > 
> >   C:\...WEB-INF/classes/dams/logicsheets/damDb.xsl
> > 
> > 
> > 
> > Question:
> > Can this work with an XML file input to a pipeline
> and
> > using this XML output as the source for an XSP
> > processing pipeline?
> > 
> > 
> > Any help much appreciated
> > Graeme Colman.
> ...
>  

__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




RE: xsl vs cocoon

2002-07-14 Thread Vadim Gritsenko

Othman,

Try the following:


  
  
  


  
  
  



get-xsl-from-param-x.xsp will be close to:


  

 
request.getParameter(x)

  



Vadim


-Original Message-
From: Othman Haddad [mailto:[EMAIL PROTECTED]] 
Sent: Friday, July 12, 2002 3:52 AM
To: [EMAIL PROTECTED]
Subject: RE: xsl vs cocoon

ok,
imagine i have an xsp page witch contains a input file field named "x". 
i want that the content of the field "x" will be a stylesheet which will
be applied on a fixed file "b.xml".
so how can you do that ? can you give an example ?
thanks.
PS:sorry fot HTML e-mails,i'm using IncrediMail which can't deliver
other thing than HTML!
 
...


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




RE: Cocoon database connection

2002-07-14 Thread Luca Morandini

Leszek,

I did a little experiment:

1) shut Oracle down
2) tried a query with Cocoon (it doesn't work, of course)
3) started Oracle up
4) tried the same query with Cocoon (it works, to my surprise)

Hence, I presume your problem is DBMS-(or JDBC driver-) specific.

Best regards,

P.S.
My configuration:
- Windows 2000 Professional
- Oracle 8.1.7
- IIS 5.0
- Tomcat 4.0.1
- Cocoon 2.0.2
- Thin JDBC Oracle driver

- 
   Luca Morandini 
   GIS Consultant 
  [EMAIL PROTECTED] 
http://utenti.tripod.it/lmorandini/index.html 
-
 

> -Original Message-
> From: Leszek Gawron [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, July 14, 2002 5:37 PM
> To: [EMAIL PROTECTED]
> Subject: Cocoon database connection 
> 
> 
> I have encountered next problem:
> After restarting dbms that cocoon uses via pool it is not able to reconnect to
> it. Am I doing something wrong or is cocoon problem ?
>   ouzo
> -- 
> __
>  | /  \ |Leszek Gawron//  \\
> \_\\  //_/  [EMAIL PROTECTED]  _\\()//_
>  .'/()\'. Phone: +48(600)341118 / //  \\ \
>   \\  //  recursive: adj; see recursive  | \__/ |
> 
> 
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. 
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
> 

-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




RE: XML output transformed into XSP.

2002-07-14 Thread Vadim Gritsenko

> From: Graeme Colman [mailto:[EMAIL PROTECTED]]
> 
> I know that this type of question has been answered a
> lot on this list but I still can't get this to work as
> I would like.
> 
> What I have is an xml file.
> I need to transform this xml adding a few tags.
> I then need to put this through an xsp processor.
> 
> so:  pipeline 1: xml file -> xsl -> xml
>  pipeline 2: pipeline1 -> xsp -> xsl -> html
> 
> 
> with the sitemap:
> 
>
>  
>  
>  
>
> 
> 
>
>   src="cocoon:/config"/>
>  
>  
>
> 
> 
> Sounds simple using the sub sitemap stuff.

Did you make it work? Sub sitemap has identical sample:

http://localhost:8080/cocoon/sub/xsp-cocoon

The only difference is that it does not have transformation:

>  

I can speculate that there is an issue in this XSLT.


Vadim


> 
> I can get this working if the original xml is an xsp
> file and generated with a type="serverpages".
> 
> But.
> 
> When I try to do as above, the html output is still as
> the original post which is:
> 
> 
>   C:\...WEB-INF/classes/dams/logicsheets/damDb.xsl
> 
> 
> 
> Question:
> Can this work with an XML file input to a pipeline and
> using this XML output as the source for an XSP
> processing pipeline?
> 
> 
> Any help much appreciated
> Graeme Colman.
...


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




RE: Cocoon database connection

2002-07-14 Thread Vadim Gritsenko

> From: Leszek Gawron [mailto:[EMAIL PROTECTED]]
> 
> I have encountered next problem:
> After restarting dbms that cocoon uses via pool it is not able to
reconnect to
> it. Am I doing something wrong or is cocoon problem ?

Cocoon uses database pools of Avalon Excalibur. You may want to ask on
Avalon user list or wait couple of days - may be somebody will answer
this question here.

Vadim


>   ouzo
> --
> __
>  | /  \ |Leszek Gawron//  \\
> \_\\  //_/  [EMAIL PROTECTED]  _\\()//_
>  .'/()\'. Phone: +48(600)341118 / //  \\ \
>   \\  //  recursive: adj; see recursive  | \__/ |


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




RE: Refresh Problem with included XSLs

2002-07-14 Thread Vadim Gritsenko

> From: Alexander Schatten [mailto:[EMAIL PROTECTED]]
> 
> I use the include XSL mechanism heavily as it allows a kind of
> "component based" publishing putting together xsls from different
pieces.
> 
> so it happens, that multiple XSL stylesheet include one or multiple
> other XSLs, lets say like this:
> 
> a <--includes-- x
> b <--includes-- x
> c <--includes-- x
> 
> if I modify x: a, b and x are NOT reloaded, as Cocoon 2 does not
detect
> that this is necessary. Now I would have to modify a, b and c or
restart
> the Cocoon server and delete the tomcat work directory. this is the
only
> safe way to perform the refresh.
> 
> is there another option?

Upgrade to 2.0.3.

Also, you could search for particular problem in BugZilla and see when
it was resolved (if resolved). Log of Changes also useful resource.

Vadim


> so btw: It would be extremely valuable to hava a cocoon command (e.g.
> via network), that forces cocoon to flush the complete cache and
refresh
> all documents?!
> 
> 
> thank you
> 
> 
> Alex


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Cocoon database connection

2002-07-14 Thread Leszek Gawron

I have encountered next problem:
After restarting dbms that cocoon uses via pool it is not able to reconnect to
it. Am I doing something wrong or is cocoon problem ?
ouzo
-- 
__
 | /  \ |Leszek Gawron//  \\
\_\\  //_/  [EMAIL PROTECTED]  _\\()//_
 .'/()\'. Phone: +48(600)341118 / //  \\ \
  \\  //  recursive: adj; see recursive  | \__/ |


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




where is the FlowMap Docs ?

2002-07-14 Thread Mohamed El-Refaey



Hi all
 
in the last weeks I noticed a very interesting 
discussion about the FlowMap (flow control)and continuation concept and 
integrating the XMLForm sample with this layer, and I had checked out the 
lastest CVS version of the cocoon but I didn't found any new Docs or samples 
relating to this discussion.
 
I wish there will be some docs to summarize and 
cocument this interesting Discussion of that important topic.
 
Thank you


RE: [Q] util:include-uri relative path

2002-07-14 Thread Vadim Gritsenko

> From: Christian Haul [mailto:[EMAIL PROTECTED]]
> 
> On 12.Jul.2002 -- 10:58 PM, Christian Haul wrote:
> > On 12.Jul.2002 -- 04:24 PM, Vadim Gritsenko wrote:
> > > > From: Christian Haul
[mailto:[EMAIL PROTECTED]]
> > >
> > > Hint: two start document events, two end document events.
> > >
> > > See my other email, my proposed patch uses include consumer.
> > > (not sure though why no output)
> >
> > Ah, beautiful! Yes!
> >
> > Now, if you really want to make this a happy evening for me, tell me
why
> > I can't use the logicsheet-util.xsl twice, and I'll promise to patch
&
> > commit the corrected util.xsl today :-)
> 
> Couldn't find the reason for this problem, but was able to find a way
> around it.

What was the issue ?


> Fixes are in both branches.

What mymap is used for? :)

Vadim

 
>   Chris.
> --
> C h r i s t i a n   H a u l
> [EMAIL PROTECTED]
> fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08



-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Re: [Q] util:include-uri relative path

2002-07-14 Thread Christian Haul

On 12.Jul.2002 -- 10:58 PM, Christian Haul wrote:
> On 12.Jul.2002 -- 04:24 PM, Vadim Gritsenko wrote:
> > > From: Christian Haul [mailto:[EMAIL PROTECTED]]
> > 
> > Hint: two start document events, two end document events.
> > 
> > See my other email, my proposed patch uses include consumer.
> > (not sure though why no output)
> 
> Ah, beautiful! Yes!
> 
> Now, if you really want to make this a happy evening for me, tell me why
> I can't use the logicsheet-util.xsl twice, and I'll promise to patch &
> commit the corrected util.xsl today :-)

Couldn't find the reason for this problem, but was able to find a way
around it. Fixes are in both branches.

Chris.
-- 
C h r i s t i a n   H a u l
[EMAIL PROTECTED]
fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




RE: Refresh Problem with included XSLs

2002-07-14 Thread Koen Pellegrims

During development, I usually use: 

find stylesheets/ -name *.xsl -exec touch \{\} \;

... that helps ;)

K.


> -Oorspronkelijk bericht-
> Van: Alexander Schatten [mailto:[EMAIL PROTECTED]]
> Verzonden: zondag 14 juli 2002 15:46
> Aan: [EMAIL PROTECTED]
> Onderwerp: Refresh Problem with included XSLs
> 
> 
> I use the include XSL mechanism heavily as it allows a kind of 
> "component based" publishing putting together xsls from different pieces.
> 
> so it happens, that multiple XSL stylesheet include one or multiple 
> other XSLs, lets say like this:
> 
> a <--includes-- x
> b <--includes-- x
> c <--includes-- x
> 
> if I modify x: a, b and x are NOT reloaded, as Cocoon 2 does not detect 
> that this is necessary. Now I would have to modify a, b and c or restart 
> the Cocoon server and delete the tomcat work directory. this is the only 
> safe way to perform the refresh.
> 
> is there another option?
> 
> so btw: It would be extremely valuable to hava a cocoon command (e.g. 
> via network), that forces cocoon to flush the complete cache and refresh 
> all documents?!
> 
> 
> thank you
> 
> 
> Alex
> 
> 
> 
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. 
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
> 
> 

-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




Refresh Problem with included XSLs

2002-07-14 Thread Alexander Schatten

I use the include XSL mechanism heavily as it allows a kind of 
"component based" publishing putting together xsls from different pieces.

so it happens, that multiple XSL stylesheet include one or multiple 
other XSLs, lets say like this:

a <--includes-- x
b <--includes-- x
c <--includes-- x

if I modify x: a, b and x are NOT reloaded, as Cocoon 2 does not detect 
that this is necessary. Now I would have to modify a, b and c or restart 
the Cocoon server and delete the tomcat work directory. this is the only 
safe way to perform the refresh.

is there another option?

so btw: It would be extremely valuable to hava a cocoon command (e.g. 
via network), that forces cocoon to flush the complete cache and refresh 
all documents?!


thank you


Alex



-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




xmldb generator and utf-8 problems

2002-07-14 Thread adrian . dimulescu

Hello,

i am using xindice as data source in cocoon. the problem is that the xml 
documents in xindice are encoded in utf-8 and cocoon seems to alter the 
"special" characters before returning them:

so: while a simple xindice query which returns a piece of a document like, for 
instance:

xindice xpath -c /db/carti/biblia -q /div1[@id=\'Fac\']  \
> tmp-facere-from-xindice.xml

returns a nice UTF-8-encoded XML file which I can edit with emacs and see that 
there is no problem, the equivalent cocoon sitemap code, which goes like 
this:

   




   

returns an invalidly-encoded XML file. 


==
I will illustrate this by dumping hexa codes for a string containing a small 
Romanian phrase, which is the first bit of the book of Genesis:

"La început a fãcut"

1. using the xindice client, the correct codes are returned:

L   a  _  î   n  c  e  pu  t  _  a_ 
4C  61 20 C3 AE   6E 63 65 70   75 74 20 61   20 

f  ã   c  u  t 
66 C4 83   63 75 74 


2. the result from cocoon goes like this:

L  a  _  ??  ?  ?  nc  e  p  ut  _  a  _
4C 61 20 C3 ? 83 C2 AE 6E ? 63 65 70 75 ? 74 20 61 20

f  ?  ?  &#  1  3  1;  c  u  t
66 C3 84 26 ? 23 31 33 31 ? 3B 63 75 74


so it actually seems that cocoon is interpreting my utf-8 like it was 
something else (look at the ƒ that it adds by itself)


thank you in advance for your ideas,
adrian.

-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>