new cocoon2 powered website

2001-12-20 Thread Valdas Rapsevicius

Hello,

we have finished our new GEOIN (Geoindicators)
website: http://www.lgt.lt/geoin
powered by Cocoon 2.

Please list this website publicaly.
Cocoon version - Cocoon 2 RC2.

Good luck,
Valdo
---
mailto:[EMAIL PROTECTED]




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

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




new Cocoon2 powered website!

2001-12-17 Thread Valdas Rapsevicius

Hello Cocoon users,

I would like to introduce novice website powered by Cocoon2.

http://www.lgt.lt/geoin

It is an official Geoindicators website.

Good luck,
Valdo
---
mailto:[EMAIL PROTECTED]




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

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




RE: Help needed Passing Parameters

2001-10-25 Thread Valdas Rapsevicius

sorry, but can't help You.
This trick with

xsl:variable name=selectedPerson
select=document('people.xml',.)/people/person[name='$person']/
xsl:value-of select=$selectedPerson/favoriteColour

didn't work for me too.
You took to selectedPerson just a value of
document('people.xml',.)/people/person[name='$person'] node, but not entire
node...

As I noticed nobody succeded in passing a node as variable or param.
If somebody did - please tell us how?

Good luck,
Valdo
---
mailto:[EMAIL PROTECTED]


-Original Message-
From: Phil Blake [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 25, 2001 1:57 AM
To: [EMAIL PROTECTED]
Subject: Help needed Passing Parameters


I am missing something when it comes to getting and passing request
arguments. I've looked at the cocoon examples, and although my test
example appears to match the cocoon one in every way there is obviously
something fundamental missing.

I think I'm pretty close. :) If anyone could help me get past this
misunderstanding it would be much appreciated.

My example scenario allows the user to enter a URL like the following:
http://hostname/example/colour.html?person=Phil%20Blake
The result would be a HTML page with the person's favorite colour.

In the sitemap I added a generic matcher that matches anything .html and
returns the corresponding xsp. I figured (as opposed to read anywhere in
documentation) that I needed to include the use-request-parameters and
use-browser-capabilities-db parameters - I don't know why I want them,
just that they appeared in the cocoon sitemap.
!-- Match *.html and map to *.xsp --
map:match pattern=**.html
map:generate type=serverpages src={1}.xsp/
map:transform src=Example.xsl
 map:parameter
name=use-request-parameters value=true/
 map:parameter
name=use-browser-capabilities-db value=true/
/map:transform
map:serialize/
/map:match

The requested xsp page looks like this. (colour.xsp)
xsp:page
   language=java
   xmlns:xsp=http://apache.org/xsp;
   xmlns:xsp-request=http://apache.org/xsp/request/2.0;
   xmlns:xsp-response=http://apache.org/xsp/response/2.0;
 xsp:logic
 String person = null;
 /xsp:logic
html
titleThe favorite colour page - Yay/title
xsp:logic
person = xsp-request:get-parameter name=person/;
 /xsp:logic
 xsp:exprperson/xsp:expr has a favorite colour! It is
person-colour/
/html
/xsp:page

I then have a half/broken stylesheet that is supposed to select the
person named in the URL person path arg. Then return their favorite
colour. However, as you'll notice, I can't see how to get from the first
line, to the second one. I assume the variable selectedPerson contains a
person node. (I don't know 'cause I can't make it work).
However, I have no idea how to use that variable to retrieve the colour.
XSL Stylesheet:
xsl:template match=person-colour
!-- Select the person, somehow --
xsl:variable name=selectedPerson
select=document('people.xml',.)/people/person[name='$person']/
!-- return their favorite colour, somehow  --
xsl:value-of select=$selectedPerson/favoriteColour
/xsl:template



XML External Content (people.xml)
people
person
namePhil/name
favoriteColourblue/favoriteColour
/person
person
nameArthur/name
favoriteColouryellow/favoriteColour
/person
/people


Thanks for your help. Have fun,

Phil


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

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. http://xml.apache.org/cocoon/faqs.html

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




RE: Cocoon 1.8.2 and IIS

2001-10-23 Thread Valdas Rapsevicius


IIS serves static pages + microsoft's server pages.
For Cocoon u need Java servlet engine (ex. Tomcat).
So look for info about:
IIS  Java Servlet engine integration;
Java Servlet engine  Cocoon integration;

Good luck,
Valdo
---
mailto:[EMAIL PROTECTED]


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 23, 2001 10:22 AM
To: [EMAIL PROTECTED]
Subject: Cocoon 1.8.2 and IIS


Where can i find Setup Documentations for Cocoon 1.8.2 and IIS???
I have searched for a long time and cant find any. Are there any existing?
Thx for an answer
Jan

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

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. http://xml.apache.org/cocoon/faqs.html

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




RE: Cocoon 1.8.2 and IIS

2001-10-23 Thread Valdas Rapsevicius

I have IIS and Tomcat plus Cocoon running separately (different ports).
To integrate em I'm using redirect pages in IIS.
For more smooth integration u should use isapi filter for
tomcat.

Sekmes,
Valdo
---
mailto:[EMAIL PROTECTED]


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 23, 2001 10:38 AM
To: [EMAIL PROTECTED]
Subject: RE: Cocoon 1.8.2 and IIS


I have Tomcat running and i now wanted to install cocoon. but i cant find a
docu instructing how to proceed with IIS.
Is it not theoretically possible to run Cocoon 1.8.2 IIS and Tomcat???
If it is possible, can somebody tell me how to set it up?
Grtz Jan

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

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. http://xml.apache.org/cocoon/faqs.html

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




RE: Cocoon 1.8.2 and IIS

2001-10-23 Thread Valdas Rapsevicius

if I got You well:

You have:
1. Windows NT running well :-));
2. IIS running well (say, port 80);
3. Tomcat running well (say, port 8080);
4. You are not using isapi redirector;

And You can not set up Cocoon 1.8.2 on Tomcat?

Am I right?

Good luck,
Valdo
---
mailto:[EMAIL PROTECTED]


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 23, 2001 10:59 AM
To: [EMAIL PROTECTED]
Subject: RE: Cocoon 1.8.2 and IIS


Valdo, could you send me a file (maybe you documentanted your installation
process) or send me a link so i can properly setup cocoon?
For all:
I have Tomcat installed and also IIS 5.0.
I just need to connect Cocoon 1.8.2
Thx for any help, i have been seraching the net for so long im frustrated!
Friendly Grtz
Jan

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

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. http://xml.apache.org/cocoon/faqs.html

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




RE: Request Parameters in XSP

2001-10-23 Thread Valdas Rapsevicius



include in sitemap

map:transform src=""map:parameter 
name="use-request-parameters" 
value="true"/map:parameter 
name="use-browser-capabilities-db" 
value="true"//map:transform
Sekmes,Valdo---mailto:[EMAIL PROTECTED]

  -Original Message-From: Adam A R 
  [mailto:[EMAIL PROTECTED]]Sent: Tuesday, October 23, 2001 11:30 
  AMTo: [EMAIL PROTECTED]Subject: Request 
  Parameters in XSP
  Hi All,
  
  I am a newbie in the world of 
  COCOON.
  
  Hope you all Butterflies will be able to 
  help this little larva.. ;-) in flying with wings of XML.
  
  ok.. heres my problem..
  
  I want to access the parameters being 
  passed in the request object. I have tried a few examples(from tutorials and 
  documentation of C2). But i am unable to get the parameters being passed in 
  the request object usingXSP request taglib.
  
  Am i missing out something? 

  
  Thanks in advance.
  
  cheers
  
  Adam