Re: Cocoon Portal - User Roles

2002-11-12 Thread Wouter Scheele
ey,

i am not totally aware of the ideas behind the authentication-fw but i think
you could use xsp/esql to generate an xml file from your database conforming
to the authentication-fw specs.

HTH,
wouter

 Hi Guys,
 I am trying to use the C2 portal application and would like to transfer
 the storage of the roles from xml files to a mysql database.
 Can someone teach me how to do this?
 
 I cannot find anything on the sitemap file that transforms or uses the sunrise 
roles.xml
 
 btw,
 
 im using 
 tomcat 4.1
 sdk 1.3
 c2.1 dev
 
 thanks 

-
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: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




authentication-fw session-fw

2002-11-06 Thread Wouter Scheele
L.S.

What is the status of authentication-fw and/or session-fw,

- are they stable enough to use in production?
- can i use them in cocoon-2.0.3?
- if so how do i get my hands on a usable version?

they look mighty handy to me, problem is that i am momentarily on
a very tight schedule for first release, and i need to make some
decisions fast.

maybe needless to add, but if before mentioned items are not usable yet,
other suggestions on authentication and session methods are very welcome.

kind regards,
wouter

-
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: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




Re: xsp without stylesheet?

2001-12-19 Thread Wouter Scheele

hi,

to my knowledge you have access in an xsp page to a response object.
this response object has a method setHeader(String name, String value)
you can use this method to send a Location header with the redirect url.
i think this will provide you with the needed behaviour.

HTH,
wouter

 
 I am using netscape 4.7 to view. When I use the serialize as xml 
 the I get the option to download the file which is what i dont want 
 i want the xsp page to execute and redirect me to an html page based on
 some conditional statements in the file.
 
 
 //|  Dwayne A. Kemp    |
 | [EMAIL PROTECTED]    if the gospel be hid it is hid  |
 //| 732 932 3938//   to those that are lost   |
 | Programmer  ///  | 
 ___|
 
 On Wed, 19 Dec 2001, Martijn Bouterse wrote:
 
  Dwayne Kemp wrote:
   
   I need to execute an xsp page without a stylesheet. this file is used for
   redirecting the client to a particular page
   
   i tried
   
   map:match pattern=valid.xml
   map:generate type=serverpages src=valid.xsp/
   map:serialize src=xml/
   /map:match
   
   and
   
   map:match pattern=valid.xml
   map:generate type=serverpages src=valid.xsp/
   map:serialize type=xml/
   /map:match
   
   and the browser throws document contained no data.
   how do i tell cocoon to process this file without the stylesheet?
  
  What browser do you use? With serializer type=xml the output from
  Cocoon has mime-type text/xml. Different webbrowsers react differently
  to such pages.
  Further, to my knowledge there is no special serializer for XHTML, you
  can use the HTML serializer or the XML serializer or write your own
  serializer :-). Also if you feel changes to your sitemap are ignored, it
  may be nessecary to restart your servlet engine (for example Tomcat) to
  reload the sitemap.
  
  Greetz
  Martijn Bouterse
  
  -
  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]
 

-
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]