RE: XMLForm JavaBean getter & setter methods

2002-11-23 Thread Senhaji
I've got the following errors :

(1)=
ERROR   (2002-11-23) 21:52.51:646   [sitemap.transformer.xmlform]
(/cocoon/samples/xmlform/wizard) Thread-11/XMLFormTransformer: unknown
element [item]

=(2)
ERROR   (2002-11-23) 21:52.56:774   [sitemap.transformer.xmlform]
(/cocoon/samples/xmlform/wizard) Thread-11/XMLFormTransformer: pass through
element [group]

=(3)
ERROR   (2002-11-23) 21:52.56:804   [sitemap.transformer.xmlform]
(/cocoon/samples/xmlform/wizard) Thread-11/XMLFormTransformer: unknown
element [group]

Each one is thrown many times.

-Message d'origine-
De : Ivelin Ivanov [mailto:[EMAIL PROTECTED]]
Envoyé : samedi 23 novembre 2002 16:34
À : [EMAIL PROTECTED]
Objet : Re: XMLForm JavaBean getter & setter methods



Does the log suggest something? (look for sitemap.transformer.xmlform).



- Original Message -
From: "Senhaji" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 20, 2002 3:17 PM
Subject: RE: XMLForm JavaBean getter & setter methods


Yes, the "system" Node is set correctly. But what about the other bean's
getter methods that are called by the framework many times !

Senhaji

-Message d'origine-
De : Ivelin Ivanov [mailto:[EMAIL PROTECTED]]
Envoyé : mercredi 20 novembre 2002 04:43
À : [EMAIL PROTECTED]
Objet : Re: XMLForm JavaBean getter & setter methods



JXpath gets the collection and directly sets its items.



- Original Message -
From: "Senhaji" <[EMAIL PROTECTED]>
To: "Cocoon-Users" <[EMAIL PROTECTED]>
Sent: Monday, November 18, 2002 5:31 AM
Subject: XMLForm JavaBean getter & setter methods


> Hello,
>
> In the wizard example, I added some log traces in the UserBean's getter
and
> setter methods to see what happen behind the scene. When I push the start
> button, the getAllHobbies is called many times (>20). The same thing
happens
> with the getSystem(). However the setSystem() method is never called. Can
> some one explain this behaviour?
>
> Thanks,
>
> Senhaji
>
>
> -
> 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]>
>


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


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



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


-
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: XMLForm JavaBean getter & setter methods

2002-11-20 Thread Senhaji
Yes, the "system" Node is set correctly. But what about the other bean's
getter methods that are called by the framework many times !

Senhaji

-Message d'origine-
De : Ivelin Ivanov [mailto:[EMAIL PROTECTED]]
Envoyé : mercredi 20 novembre 2002 04:43
À : [EMAIL PROTECTED]
Objet : Re: XMLForm JavaBean getter & setter methods



JXpath gets the collection and directly sets its items.



- Original Message -
From: "Senhaji" <[EMAIL PROTECTED]>
To: "Cocoon-Users" <[EMAIL PROTECTED]>
Sent: Monday, November 18, 2002 5:31 AM
Subject: XMLForm JavaBean getter & setter methods


> Hello,
>
> In the wizard example, I added some log traces in the UserBean's getter
and
> setter methods to see what happen behind the scene. When I push the start
> button, the getAllHobbies is called many times (>20). The same thing
happens
> with the getSystem(). However the setSystem() method is never called. Can
> some one explain this behaviour?
>
> Thanks,
>
> Senhaji
>
>
> -
> 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]>
>


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


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




XMLForm JavaBean getter & setter methods

2002-11-18 Thread Senhaji
Hello,

In the wizard example, I added some log traces in the UserBean's getter and
setter methods to see what happen behind the scene. When I push the start
button, the getAllHobbies is called many times (>20). The same thing happens
with the getSystem(). However the setSystem() method is never called. Can
some one explain this behaviour?

Thanks,

Senhaji


-
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: XMLForm UI Builder

2002-11-18 Thread Senhaji
Thank you guys. I'll get a look to the XYbrix tool.
Scott, your approach sounds good too. I'll appreciate a lot if you can drop
me your ANT generation script to save me time and money -)

Regards,

Senhaji

-Message d'origine-
De : Nicola Ken Barozzi [mailto:[EMAIL PROTECTED]]
Envoye : dimanche 17 novembre 2002 23:49
A : [EMAIL PROTECTED]
Objet : Re: XMLForm UI Builder



I've been using XYbrix (http://www.jbrix.org/kits/xybrix/overview.html)
to edit xml files for some time and find it quite easy to use.
IIUC it uses xforms stuff to make the forms, and it's all GUI.
The license is apache compatible, so maybe it could help.

my 2c

Scott Warren wrote:
> Senhaji,
>
> An easy way that I have achieved this is to generate an XML document
> that has all the information (Java Bean properties + code, Form Elements
> etc) then I created a number of XSL Documents that take the XML doc and
> produce the JavaBean code, XMLForm.XSP, Validation Descriptor.XML etc.
> Then all you need to do is change the layout of the XMLForm as
> needed.. I use Ant to generate the files from the XML but you can
> use a Cocoon pipleine to generate the files.
>
> Hope this helps
>
> Scott Warren
>
> Senhaji wrote:
>
>> Hello,
>>
>> I've just finished playing with the XMLForm wizard example. I've
>> learned a
>> lot of good concepts such as the separation between the content, the
>> presentation and the validation in the form building process. After
>> that, I
>> started looking for an XMLForm builder that would help me speed up the
>> form
>> building process. But without success! How can I explain to the
>> management
>> that even building a simple Form with C2 will take ~3 days of
>> development?
>> not easy -).
>>
>> It could be very nice if from a form builder one can generate all the
>> necessary files for C2 (JavaBeans, XSL for transforming XMLForm widget to
>> HTML or whatever widget, XSL for the form layout, XML schema for
>> validation,...).
>>
>> Are there any works in this area ?
>>
>> Thanks in advance,
>>
>> Senhaji
>>

--
Nicola Ken Barozzi   [EMAIL PROTECTED]
 - verba volant, scripta manent -
(discussions get forgotten, just code remains)
-


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


-
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: XMLForm UI Builder

2002-11-17 Thread Senhaji
Thanks Ivelin.

-Message d'origine-
De : Ivelin Ivanov [mailto:[EMAIL PROTECTED]]
Envoyé : dimanche 17 novembre 2002 17:49
À : [EMAIL PROTECTED]
Objet : Re: XMLForm UI Builder


There is no current work on a XMLForm builder, to my knowledge.

But you are welcome to pitch in if you want.


Ivelin


- Original Message -
From: "Senhaji" <[EMAIL PROTECTED]>
To: "Cocoon-Users" <[EMAIL PROTECTED]>
Sent: Sunday, November 17, 2002 10:12 AM
Subject: XMLForm UI Builder


> Hello,
>
> I've just finished playing with the XMLForm wizard example. I've learned a
> lot of good concepts such as the separation between the content, the
> presentation and the validation in the form building process. After that,
I
> started looking for an XMLForm builder that would help me speed up the
form
> building process. But without success! How can I explain to the management
> that even building a simple Form with C2 will take ~3 days of development?
> not easy -).
>
> It could be very nice if from a form builder one can generate all the
> necessary files for C2 (JavaBeans, XSL for transforming XMLForm widget to
> HTML or whatever widget, XSL for the form layout, XML schema for
> validation,...).
>
> Are there any works in this area ?
>
> Thanks in advance,
>
> Senhaji
>
>
> -
> 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]>
>


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


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




XMLForm UI Builder

2002-11-17 Thread Senhaji
Hello,

I've just finished playing with the XMLForm wizard example. I've learned a
lot of good concepts such as the separation between the content, the
presentation and the validation in the form building process. After that, I
started looking for an XMLForm builder that would help me speed up the form
building process. But without success! How can I explain to the management
that even building a simple Form with C2 will take ~3 days of development?
not easy -).

It could be very nice if from a form builder one can generate all the
necessary files for C2 (JavaBeans, XSL for transforming XMLForm widget to
HTML or whatever widget, XSL for the form layout, XML schema for
validation,...).

Are there any works in this area ?

Thanks in advance,

Senhaji


-
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 Framework User Management

2002-11-08 Thread Senhaji
Hello,

The authentication framework uses the SourceWritingTransformer to handle the
user management functions : newuser, deluser, changeuser, newrole,... This
transformer uses actually a FileSource as a writable source. I would like to
use a database or LDAP as a datastore. Is there any simple solution to
handle that.

Thanks in advance

Senhaji


-
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: Authentication: redirect

2002-11-07 Thread Senhaji
Hi,

You said in your last post : "...I actually pass the resource given to me
and store it within the login page as a hidden field.  When the user submits
username, password/etc this will come along too...". Could you please
explain how do you store the resource as a hidden field?

Thanks

Senhaji

-Message d'origine-
De : [EMAIL PROTECTED] [mailto:Markdelanoy@;aol.com]
Envoyé : lundi 4 novembre 2002 18:50
À : [EMAIL PROTECTED]
Objet : Re: Authentication: redirect


I did a hack because as you say currently the examples only work for a
particular "url"/file/resource.

I actually pass the resource given to me and store it within the login page
as a hidden field.  When the user submits username, password/etc this will
come along too.

Then if authenticated i redirect to that "resource" using
"request:resource".  This retrieves the resource parameter from the http
request parameters object and off you go.

My redirect looks like this, e.g.


This then will work for any page in the site that you want protected.

Note that I don't point to url's rather I have a single URL (the cocoon
servlet and my app).  cocoon:/ helps to establish that.  I use action id's
much like struts (I guess but the concept has been around much longer than
struts.) pointing into metadata to help distinguish what page to show.

But whether you use action id parameters or file url's this work.

later, md

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


-
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: Authentication Resource

2002-11-05 Thread Senhaji
I get it. You should use request.getParameter("user") rather than
parameters.getParameter("user") in your XSP server page to access the user
information.

Below the XSP code that works

http://apache.org/xsp";
  xmlns:esql="http://apache.org/cocoon/SQL/v2";
  xmlns:log="http://apache.org/xsp/log/2.0";
  xmlns:xsp-request="http://apache.org/xsp/request/2.0";>



org.apache.avalon.framework.parameters.ParameterException




private  String getUserName ()  {
try {
return request.getParameter("myName");
}catch (ParameterException pe) {
return "x" ;
}
}

private  String getPassword ()  {
try {
return request.getParameter("myPass");
}catch (ParameterException pe) {
return "x" ;
}
}



  
   Processing the beginning of the authentication page


   


 portal
 

   
SELECT id,password,color from PORTALUSER_TABLE where id =
'getUserName()' and password =
'getPassword()'
   

   
 
   








getLogger().debug("UserName::" + getUserName() + " password::" 
+
getPassword());
    
    
    
 
   

 


   
Processing the end of the page
  


Enjoy

Senhaji

-Message d'origine-
De : Senhaji [mailto:osenhaji@;wanadoo.fr]
Envoyé : mardi 5 novembre 2002 16:55
À : [EMAIL PROTECTED]
Objet : RE: Authentication Resource


Thanks Mark I'll try this. I didn't try the getParameter method yet

-Message d'origine-
De : [EMAIL PROTECTED] [mailto:Markdelanoy@;aol.com]
Envoyé : mardi 5 novembre 2002 16:20
À : [EMAIL PROTECTED]
Objet : Re: Authentication Resource


You'll need to confirm this but look in cocoon's sitemap.log.  You should
see the pipeline parameters being passed around.

in the sitemap your passing cocoon parameters but in the XSP your looking in
the HTTP request.  Try looking in the parameters, e.g.
parameters.getParameter( name ); parameters.getParameter( pass );

the names of the username password duo are the same spelling as in the
sitemap.

also make sure your login page widget id/name s are the same as request:..
in the sitemap and then look for cocoon parameters named the same as the
sitemap instead of http request parameters named as you have in your login
page.

so try that.

md

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


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


-
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: Authentication Resource

2002-11-05 Thread Senhaji
Thanks Mark I'll try this. I didn't try the getParameter method yet

-Message d'origine-
De : [EMAIL PROTECTED] [mailto:Markdelanoy@;aol.com]
Envoyé : mardi 5 novembre 2002 16:20
À : [EMAIL PROTECTED]
Objet : Re: Authentication Resource


You'll need to confirm this but look in cocoon's sitemap.log.  You should
see the pipeline parameters being passed around.

in the sitemap your passing cocoon parameters but in the XSP your looking in
the HTTP request.  Try looking in the parameters, e.g.
parameters.getParameter( name ); parameters.getParameter( pass );

the names of the username password duo are the same spelling as in the
sitemap.

also make sure your login page widget id/name s are the same as request:..
in the sitemap and then look for cocoon parameters named the same as the
sitemap instead of http request parameters named as you have in your login
page.

so try that.

md

-
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: Authentication Resource

2002-11-05 Thread Senhaji
the sitemap looks like this :

***
* The auth-login action
***




  
  

  =






***
Protected page
***



  

  

   
   
   
  

*
* The authenticate resource
*





  



Thanks for your help


-Message d'origine-
De : [EMAIL PROTECTED] [mailto:Markdelanoy@;aol.com]
Envoyé : mardi 5 novembre 2002 15:50
À : [EMAIL PROTECTED]
Objet : Re: Authentication Resource


You've got the XSP but what does the sitemap look like??

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




Authentication Resource

2002-11-05 Thread Senhaji
Hi all,

I am trying to protect my pages by using the Authentication framework. The
authentication resource uses XSP to access the datastore. I've tried almost
everything but I didn't succeed to retrieve the auth-login action parameters
("{request:...}") from within the XSP code to complete the select statement.

Here is the XSP code.
=

http://apache.org/xsp";
  xmlns:esql="http://apache.org/cocoon/SQL/v2";
  xmlns:xsp-request="http://apache.org/xsp/request/2.0";>


  

   

  String userName = ;
  String password = ;



portal


   
SELECT id,password,color from PORTALUSER_TABLE where id =
'$userName'
   

   
 
   







 
   

 


   

  


Any help

Thanks


-
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: Ldap authentication

2002-11-05 Thread Senhaji
Mark,

I try to configure out the authenticate resource using XSP calling to the
database (see the code bellow). The  within the select statement seems not work correctly. The
following exception is thrown :

C2.1 Exception :

java.lang.NullPointerException
at
org.apache.xerces.dom.ParentNode.internalInsertBefore(ParentNode.java:333)
at org.apache.xerces.dom.ParentNode.insertBefore(ParentNode.java:320)
at org.apache.xerces.dom.NodeImpl.appendChild(NodeImpl.java:267)
at
org.apache.cocoon.webapps.authentication.components.AuthenticationManager.au
thenticate(AuthenticationManager.java:460)
at
org.apache.cocoon.webapps.authentication.acting.LoginAction.act(LoginAction.
java:130)
at
org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTyp
eNode.java:133)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:85)
at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invok
e(PreparableMatchNode.java:166)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:109)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(Pipel
ineNode.java:153)
...

XSP code :
==
http://apache.org/xsp";
xmlns:esql="http://apache.org/cocoon/SQL/v2";
xmlns:xsp-request="http://apache.org/xsp/request/2.0";>

  

   


  portal
  

   
SELECT id,password,color from PORTALUSER_TABLE where id =
''
   

   
 
   







 
   

 


   

  



Any help. I'll appreciate if you can send me your XSP code that access to
the datastore

Thanks in advance

Senhaji

-Message d'origine-
De : [EMAIL PROTECTED] [mailto:Markdelanoy@;aol.com]
Envoyé : lundi 4 novembre 2002 18:40
À : [EMAIL PROTECTED]; [EMAIL PROTECTED]
Objet : Re: Ldap authentication


If you want to use the authentication framework look at the authenticate
resource.  You'll get passed in a password/username and really anything else
you had in your login page.  Then within the authenticate resource you can
call LDAP.  the resource can be a cocoon pipeline or some external resource.

I use XSP in my authenticate resource calling to the database but you could
call LDAP.

MD


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


-
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: webapps Authentication framework vs sunRise Authentication framework

2002-11-04 Thread Senhaji
I mean if the sunRise framework was really the prototype for the
authentication framework, this information should be in the authentication
framework doc. I was a little bit confused that C2 supports two frameworks
for the same purpose and apparently there is no relationship between them.

Senhaji


-Message d'origine-
De : [EMAIL PROTECTED] [mailto:Markdelanoy@;aol.com]
Envoyé : lundi 4 novembre 2002 20:45
À : [EMAIL PROTECTED]
Objet : Re: webapps Authentication framework vs sunRise Authentication
framework


"Shall this information be in the authentication framework
documentation."

I'm not sure what you mean by that.  If your referring to my saying you
should use the release version versus the scratchpad version...  I'd take
release version as presumeably scratchpad development would stop.

beyond that I'm not sure what you mean.

md


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


-
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: webapps Authentication framework vs sunRise Authentication framework

2002-11-04 Thread Senhaji
Thank you Mark. Shall this information be in the authentication framework
documentation.

-Message d'origine-
De : [EMAIL PROTECTED] [mailto:Markdelanoy@;aol.com]
Envoyé : lundi 4 novembre 2002 18:15
À : [EMAIL PROTECTED]
Objet : Re: webapps Authentication framework vs sunRise Authentication
framework


sunrise I believe was the prototype, e.g. scratchpad, for the authentication
framework.  You should probably not use it.

MD

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




webapps Authentication framework vs sunRise Authentication framework

2002-11-04 Thread Senhaji
Hi everybody,

Can someone explain what is the difference between the Webapps
authentication framework that comes with the auth-login, the auth-logout and
the auth-loggedIn actions and the sunRise' actions. Why there are two
authentication frameworks?


Thanks


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




C2.1 installation problem

2002-11-04 Thread Senhaji
Hi,
I've just finished building the C2.1 with the following configuration :
JDK 1.4.1_01
Tomacat 4.1.12
Win2K

When I try to access the starter link
"http://localhost:8080/cocoon/documents/index.html"; I receive this exception
:

type fatal

message Failed to execute pipeline.

description org.apache.cocoon.ProcessingException: Failed to execute
pipeline.: org.apache.cocoon.ProcessingException: Failed to execute
pipeline.: java.net.MalformedURLException: no protocol: characters.ent

sender org.apache.cocoon.servlet.CocoonServlet

source Cocoon servlet

stack-trace

org.apache.cocoon.ProcessingException: Failed to execute pipeline.:
org.apache.cocoon.ProcessingException: Failed to execute pipeline.:
java.net.MalformedURLException: no protocol: characters.ent
at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLP
ipeline(AbstractProcessingPipeline.java:518)
at
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline
.processXMLPipeline(AbstractCachingProcessingPipeline.java:204)
at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(Abs
tractProcessingPipeline.java:483)
at
org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(Seri
alizeNode.java:149)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:85)
at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invok
e(PreparableMatchNode.java:166)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:109)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(Pipel
ineNode.java:153)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(AbstractParentProcessingNode.java:109)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(Pipe
linesNode.java:143)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess
or.java:326)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess
or.java:308)
at
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNod
e.java:131)

Any Help please.

Thanks in advance



-
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: svg2jpeg serialiser error

2002-11-01 Thread Senhaji
In my configuration, your proposal does not fix the problem. I've checked
the batik jar file, the SVGDocument class file is there. Very strange...

-Message d'origine-
De : François Quartenoud [mailto:francois@;quartenoud.ch]
Envoyé : vendredi 1 novembre 2002 08:20
À : [EMAIL PROTECTED]
Objet : Re: svg2jpeg serialiser error


If there is one help here is the line I use to make the same as you (~line
130 )


  


François Quartenoud

___
envie de vins? www.vinsjulesgex.ch
envie de boissons? www.halleauxboissons.ch
envie de boissons à domicile? www.allo-boissons.ch - 0848 444 111

- Original Message -----
From: "Senhaji" <[EMAIL PROTECTED]>
To: "Cocoon-Users" <[EMAIL PROTECTED]>
Sent: Thursday, October 31, 2002 10:05 PM
Subject: svg2jpeg serialiser error


> Hi,
>
> I'm playing with Cocoon since one week. I try to run the "Gallery" sample
> shipped with the "Building XML Applications" book with no success.
>
> The System: Tomcat-4.0.3, Win2k, Cocoon 2.0.3, JDK1.4.0
>
> When I try to transform the svg.xml document to jpeg image using the
> "svg2jpeg" serialiser the following error is thrown:
>
> java.lang.NoClassDefFoundError: org/w3c/dom/svg/SVGDocument
> at java.lang.ClassLoader.defineClass0(Native Method)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:509)
> at
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
> 3)
> at
> org.apache.catalina.loader.WebappClassLoader.findClassInternal(Webapp
> ClassLoader.java:1631)
> at
> org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoa
> der.java:926)
> at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
> der.java:1360)
> at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
> der.java:1243)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:322)
> at
> org.apache.batik.dom.svg.SVGDOMImplementation.createDocument(Unknown
> Source)
> at
> org.apache.cocoon.xml.dom.SVGBuilder.startDocument(SVGBuilder.java:11
> 8)
> at
> org.apache.xalan.transformer.ResultTreeHandler.flushDocEvent(ResultTr
> eeHandler.java:824)
> at
> org.apache.xalan.transformer.ResultTreeHandler.flushPending(ResultTre
> eHandler.java:932)
> at
> org.apache.xalan.transformer.ResultTreeHandler.startElement(ResultTre
> eHandler.java:241)
> at
> org.apache.xalan.transformer.ClonerToResultTree.cloneToResultTree(Clo
> nerToResultTree.java:229)
> at org.apache.xalan.templates.ElemCopy.execute(ElemCopy.java:152)
> at
> org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(
> ElemApplyTemplates.java:422)
> at
> org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTempla
> tes.java:226)
> at
> org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Tr
> ansformerImpl.java:2243)
> at
> org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(Tran
> sformerImpl.java:2069)
> at
> org.apache.xalan.transformer.TransformerImpl.transformNode(Transforme
> rImpl.java:1171)
> at
> org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java
> :3196)
> at java.lang.Thread.run(Thread.java:536)
>
>
> any help?
>
> 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]>
>
>



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




svg2jpeg serialiser error

2002-10-31 Thread Senhaji
Hi,

I'm playing with Cocoon since one week. I try to run the "Gallery" sample
shipped with the "Building XML Applications" book with no success.

The System: Tomcat-4.0.3, Win2k, Cocoon 2.0.3, JDK1.4.0

When I try to transform the svg.xml document to jpeg image using the
"svg2jpeg" serialiser the following error is thrown:

java.lang.NoClassDefFoundError: org/w3c/dom/svg/SVGDocument
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:509)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
3)
at
org.apache.catalina.loader.WebappClassLoader.findClassInternal(Webapp
ClassLoader.java:1631)
at
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoa
der.java:926)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
der.java:1360)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
der.java:1243)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:322)
at
org.apache.batik.dom.svg.SVGDOMImplementation.createDocument(Unknown
Source)
at
org.apache.cocoon.xml.dom.SVGBuilder.startDocument(SVGBuilder.java:11
8)
at
org.apache.xalan.transformer.ResultTreeHandler.flushDocEvent(ResultTr
eeHandler.java:824)
at
org.apache.xalan.transformer.ResultTreeHandler.flushPending(ResultTre
eHandler.java:932)
at
org.apache.xalan.transformer.ResultTreeHandler.startElement(ResultTre
eHandler.java:241)
at
org.apache.xalan.transformer.ClonerToResultTree.cloneToResultTree(Clo
nerToResultTree.java:229)
at org.apache.xalan.templates.ElemCopy.execute(ElemCopy.java:152)
at
org.apache.xalan.templates.ElemApplyTemplates.transformSelectedNodes(
ElemApplyTemplates.java:422)
at
org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTempla
tes.java:226)
at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Tr
ansformerImpl.java:2243)
at
org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(Tran
sformerImpl.java:2069)
at
org.apache.xalan.transformer.TransformerImpl.transformNode(Transforme
rImpl.java:1171)
at
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java
:3196)
at java.lang.Thread.run(Thread.java:536)


any help?

Thanks!


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