Re: Cocoon and XIndice versions - FIXED

2002-03-23 Thread Christian Zoffoli

Vadim Gritsenko wrote:
> 
> > From: root [mailto:root] On Behalf Of Christian Zoffoli
> >
> > Alex McLintock wrote:
> > >
> > > Hi folks,
> > >
> > > I'm trying to find satisfactory versions of Cocoon and XIndice which
> work
> > > together.
> > >
> > [cut]
> >
> > my little how-to
> >
> > 1- copy batik-libs,xerces,xalan,xml-apis from
> > $CATALINA_HOME/webapps/cocoon/WEB-INF/libs to $CATALINA_HOME/lib
> 
> ???
> 
> Christian:
> Please, explicitly specify which tomcat version you use. Otherwise, you
> are going to screw lots of innocent newbies.
> 

you are right:

tomcat 4.0.3-LE



> Newbies:
> Read newest install instruction from the Cocoon 2.0.2 (due in several
> days; instructions now available at
> http://cvs.apache.org/viewcvs.cgi/xml-cocoon2/src/documentation/xdocs/in
> stalling/index.xml?rev=1.16&content-type=text/vnd.viewcvs-markup) before
> trying to follow any of the instructions on this list.
> 
> > 2- add export CATALINA_OPTS='-Djava.awt.headless=true
> 
> This is for JDK1.4 *only*


>From the original message:

---
I am told that I need a CVS version of cocoon rather than the latest 
release - but the CVS snapshots don't currently work.
(I am using Xinidice 1.0 and Tomcat 4.0something on RedHat Linux 7.2,
and 
Sun's JDK 1.4)
---



> 
> > -Duser.language=en' at the beginning of $CATALINA_HOME/bin/catalina.sh
> 
> If I'm not mistaken, this applies to the Xalan 2.3.1 only.


...in fact, we are talking about cocoon 2.0.2-dev


> 
> > 3- add -Djava.endorsed.dirs=$XINDICE_HOME/java/lib to
> > $XINDICE_HOME/config/vm.cfg  (note: expand $XINDICE_HOME with the real
> > path!)
> 
> This is also for JDK1.4 *only*.

...Alex uses JDK1.4




...I'm only reporting my personal experience with cocoon2.0.2-dev,
xindice 1.0, jdk 1.4 & tomcat 4.0.3/4.0.4b1 . 
I have no intention to screw innocent newbies ;) .



Christian

-
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 and XIndice versions - FIXED

2002-03-23 Thread Christian Zoffoli

Alex McLintock wrote:
> 
> Hi folks,
> 
> I'm trying to find satisfactory versions of Cocoon and XIndice which work
> together.
> 
[cut]


my little how-to

1- copy batik-libs,xerces,xalan,xml-apis from
$CATALINA_HOME/webapps/cocoon/WEB-INF/libs to $CATALINA_HOME/lib
2- add export CATALINA_OPTS='-Djava.awt.headless=true
-Duser.language=en' at the beginning of $CATALINA_HOME/bin/catalina.sh
3- add -Djava.endorsed.dirs=$XINDICE_HOME/java/lib to
$XINDICE_HOME/config/vm.cfg  (note: expand $XINDICE_HOME with the real
path!)
4- patch
org.apache.cocoon.transformation.XMLDBTransformerXMLDBTransformer.java
with http://www.mail-archive.com/cocoon-dev@xml.apache.org/msg12028.html


Christian

-
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 and XIndice versions

2002-03-23 Thread Christian Zoffoli

Alex McLintock wrote:
> 
> Hi folks,
> 
> I'm trying to find satisfactory versions of Cocoon and XIndice which work
> together.
> 
[cut]


my little how-to

1- copy batik-libs,xerces,xalan,xml-apis from
$CATALINA_HOME/webapps/cocoon/WEB-INF/libs to $CATALINA_HOME/lib
2- add export CATALINA_OPTS='-Djava.awt.headless=true
-Duser.language=en' at the beginning of $CATALINA_HOME/bin/catalina.sh
3- add -Djava.endorsed.dirs=$XINDICE_HOME/java/lib to
$XINDICE_HOME/config/vm.cfg
4- patch
org.apache.cocoon.transformation.XMLDBTransformerXMLDBTransformer.java
with http://www.mail-archive.com/cocoon-dev@xml.apache.org/msg12028.html


Christian

-
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 and xindice

2002-03-16 Thread Christian Zoffoli

Axel Honfi wrote:
> 
> Hello!
> 
> O.K., my combination works, I can query and update XIndice, but how did
> anybody solve the problem of user-authentication with the user-data
> (username, password) saved in XIndice?
> 
> Thanks for some clues
> 
> Axel
> 

try
src/scratchpad/src/org/apache/cocoon/acting/DbXMLAuthenticatorAction.java



Christian

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




DbXMLAuthenticatorAction

2002-02-05 Thread Christian Zoffoli


I'm developing a DbXMLAuthenticatorAction ...and if you think it's
useful I could contribute it .

It's based on DatabaseAuthenticatorAction and it has the same features.


Christian

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




how to prevent action caching

2002-02-01 Thread Christian Zoffoli


Hi to all.
I'm developing an action on cocoon... but everytime I change the code I
need to restart tomcat to make cocoon see the changes. 
Actually I run cocoon 2.0.2-dev under tomcat 4.0.1 (same problem with
tomcat 3.3a) and the action is on a jar file ( I have also tried with
the class repository [/WEB-INF/classes/...]). 



any hints ?


Thanks,
Christian

-
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: problem with stylesheet aggregation

2002-01-23 Thread Christian Zoffoli

Vadim Gritsenko wrote:
> 

[cut]

> >
> >
> > now there's another problem ... all is prefixed by "xsl"
> >
> > -
> > 
> > http://www.w3.org/1999/XSL/Transform";>
> >
> >
> >  > xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
> >
> > 
> > 
> > 
> 
> This looks weird :)))
> 
> Do you have default namespace defined in you included stylsheets?
> Like:
> 
> http://www.w3.org/1999/XSL/Transform";
> xmlns="http://www.w3.org/HTML/whatever";>
> 

yes i have I have also tried Cinclude ...but it doesn't solve my
problem


> Disclaimer: I don't know exact solution, just suggesting the ways which
> could help you to solve the problem.


thanks for you suggestion

Christian

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




DOC & Session logicsheet

2002-01-22 Thread Christian Zoffoli


I think that the namespace in the documentation concerning Session
logicsheet needs to be updated from
"http://www.apache.org/1999/XSP/Session"; to
"http://apache.org/xsp/session/2.0"; ...


Bye Christian

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




dynamic stylesheet using an XSP ...possible?

2002-01-18 Thread Christian Zoffoli


Hi to all.

Is it possible to generate a stylesheet using an XSP ?  ...and using is
like a normal stylesheet with the cocoon pseudo protocol ?? 


...thanks in advance 

Christian

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




stylesheets aggregation

2002-01-14 Thread Christian Zoffoli



Hi to all.

Is it possible to aggregate many stylesheets ?  ...how ?



thanks,
Christian

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




stylesheets aggregation

2002-01-14 Thread Christian Zoffoli



Hi to all.

Is it possible to aggregate stylesheets (using map:aggregate) ?  ...how
?



thanks,
Christian

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

2002-01-08 Thread Christian Zoffoli


Hi to all.
Is it possible to see an example of xmldb Xupdate using cocoon ?


thanks,
Christian

-
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: xindice & xpath queries

2002-01-08 Thread Christian Zoffoli

Gianugo Rabellino wrote:
> 
> Christian Zoffoli wrote:
> 
> > but I can't do more complex queries:
> > ...
> > 
> >
> >
> > Could you give me some suggestions ?
> 
> Don't use the XMLDB Generators, they will be deprecated and removed in
> favor of the much more flexible and useful XMLDB pseudo-protocol, which
> is available in CVS and which, BTW, supports XPath Queries via an
> xpointer-like syntax. This means that your sitemap code would become
> something like:
> 
> 
> 
> HTH,
> 
> --
> Gianugo
> 


thank you very much ...now it works fine  :)

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




xindice & xpath queries

2002-01-08 Thread Christian Zoffoli


Hi to all.
First of all a big thank to the cocoon team for their great work. 
Secondly I have a question concerning the support of xindice added to
the cocoon CVS... I have changed class definitions to reflect the new
package structure and I'm able to do a simple query like this one:

...






but I can't do more complex queries:

...



Could you give me some suggestions ? 


...thanks,
Christian

-
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]: To Cocoon Team -- dynamic parameters

2001-06-25 Thread Christian Zoffoli


Hi to all.
I tried the sitemap patch of Vadim Gritsenko ...and I have solved many
problems. 
Why isn't it included in the official distribution? ...I think it's
important to have dynamic parameters. Is there another way to do it ?


How could I solve a problem like this?

...







...


thanks,
Christian

-
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] dynamic session propagation

2001-06-20 Thread Christian Zoffoli


Hi to all.
First of all thanks for the beautiful work!


Could I read a session variable from a sitemap and pass it to an action
?


es:























Christian

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