Re: How to use a jbean of an XMLFORM from a custom generator?

2002-08-02 Thread apurva zaveri
Great it works. Thanx Ivelin. I did something like this. Form myFormInstance = Form.lookup( objectModel, "form-feedback1" ); UserBean1 jBean = (UserBean1) myFormInstance.getModel(); String sql_query_where_clause = "where pro_city = '" + jBean.getCity() + "'"; I should have realized that same is

RE: attribute and cinclude

2002-08-02 Thread Vadim Gritsenko
> From: Michael Zehrer [mailto:[EMAIL PROTECTED]] > > Hi again, > > In earlier (2.0.2) versions of Cocoon I constructed the path for > cinclude like this and it worked: > > > some/static/xml/ name="parm2"/>/ name="parm2"/>/content.xinc > > > in 2.1-dev this gives Cocoon 2.1-dev doesn't give

RE: XSLT select: does case matter in tag cames?

2002-08-02 Thread Vadim Gritsenko
> From: Joerg Heinicke [mailto:[EMAIL PROTECTED]] > > Yes, in the whole XML world size matters. The behaviour you describe is > really strange. It never encountered to me. Ditto, size matters. Must be bug somewhere. Alan, Take a look at: http://localhost:8080/cocoon/news/xmlhack.xml?cocoon-vie

RE: Cocoon Won't Parce

2002-08-02 Thread Vadim Gritsenko
Nika, Seems that you are a newbie... I recommend you first to familiarize itself with simple setup before doing more complex stuff. Please start with: 1. Get Tomcat 4.0.4 and install it. URL: http://localhost:8080/ should show you tomcat welcome page. 2. Copy cocoon.war to tomcat/webapps direct

RE: Authenticators call DB (or other) every request?

2002-08-02 Thread Vadim Gritsenko
> From: Per Kreipke [mailto:[EMAIL PROTECTED]] ... > > As for my other thread, any experience using container managed security with > Cocoon? Declarative security will work without any changes in Cocoon itself; for programmatic you can do IsUserInRoleAction and protect some parts of sitemap...

Cocoon Won't Parce

2002-08-02 Thread Nika Jones
-- Hello: I've been looking through the archives and I can't quite seem to find my problem. Which is... I go to http://localhost/cocoon and the directory contents are displayed... They are formatted and broken down into "subdirectories" and "files". Does anyone know why they are not being

Re: Servlet generating an XML--->How to write the pipeline?

2002-08-02 Thread Skip Carter
Kavitha, > I have the class, Servlet.class and I have placed it > in the Web-Inf folder.Now my main sitemap is as > follows: > > (what should be there > in the Servlet folder?) > > > (what should be the source?) > > > > > > My servlet generates an xml file as an output stream. > > and

Re: jboss 3 + cocoon 2.0.3

2002-08-02 Thread Ted T. Garrett II
Ok, can someone point me to where I find out how to build an ear from a war? Terry Anderson wrote: >Actually, built the .war into the .ear along with the applications.xml >file. > >-Original Message- >From: Per Kreipke [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, July 30, 2002 12:53 PM >T

Re: advice on a simple architecture for xml versioning

2002-08-02 Thread Robert S. Koberg
Hi, Gerd Mueller wrote: >>My research on the subject led me to the following (not much, I admit): >> >>1. It does exist an XMLDiff utility (see www.vmguys.com), but it needs JDOM. >> Is anyone using it in a C2 environment ? >> Does exist some other alternative in the xml.apache realm ? > >

HSSFSerializer / Null Pointer exception

2002-08-02 Thread PLISSON Sébastien (DSIT-XS/I)
Hi, When i try to use the HSSFSerializer from java, using an XMLReader, i get a NullPointer Exception when i use the parse function. I use POI, Xerces and xalan from cocoon 2.0.3 distribution. All is deployed on Websphere 3.5.6. Any idea how to solve this problem ? Thanks. Seb Here is my cod

Uploading files

2002-08-02 Thread Alejandro Raiczyk
Hi, I want to upload files, and put the uploaded files in a directory other than the default and with a name other than the original name, how can I do this ? Thanks in advance. Alejandro - Please check that your question

Re: advice on a simple architecture for xml versioning

2002-08-02 Thread Gerd Mueller
> My research on the subject led me to the following (not much, I admit): > > 1. It does exist an XMLDiff utility (see www.vmguys.com), but it needs JDOM. >Is anyone using it in a C2 environment ? >Does exist some other alternative in the xml.apache realm ? Within the Prowler-Project (h

Re: XSLT select: does case matter in tag cames?

2002-08-02 Thread Joerg Heinicke
Yes, in the whole XML world size matters. The behaviour you describe is really strange. It never encountered to me. Regards, Joerg Alan Hodgkinson wrote: > Dear All, > > WARNING: I'm a Cocoon newbie.. > > I'm implementing an XSLT transformation that generates HTML >>from XML. > > It all wo

XSLT select: does case matter in tag cames?

2002-08-02 Thread Alan Hodgkinson
Dear All, WARNING: I'm a Cocoon newbie.. I'm implementing an XSLT transformation that generates HTML from XML. It all works fine except that the XML that gets generated has some tags with names in upper case (Yeah, it's lame. I'm trying to extend somone else's code). When using my Cocoon

Re: How to use Redirector...

2002-08-02 Thread Andrew Sterling Hanenkamp
This should only be necessary if you are using URL encoded sessions. The nature of cookies is such that until the cookie expires, the client should be sending the information in the cookie with each request. Regards, Sterling On Thu, 2002-08-01 at 11:51, Justin Fagnani-Bell wrote: > Thanks, > >

XSP Question

2002-08-02 Thread Lindy Quick
Title: XSP Question Hello all, I gather address information for different companies and allow for them to then later update the existing address information. I am using cinclude address.xsp to my page.xsp.  I need my address.xsp to perform the following, but I am not sure how to create this

Re: How to Lock and specify the Width of Cells using POI..

2002-08-02 Thread Andrew C. Oliver
You cannot currently "lock" cells (assuming you mean ether "protect" via encryption or freeze in place). Look at: http://xml.apache.org/cocoon/userdocs/serializers/xls-serializer.html Specifically gmr:ColInfo as well as the webapp/cocoon/samples/poi examples (under Legacy Formats from the men

RE: Authenticators call DB (or other) every request?

2002-08-02 Thread Per Kreipke
> > It looks to me like authenticator Actions query the database, dbxml, > or > > whatever on every > > login > > > request. Ah. You're right below, I see now that the db-authentication is only called on the login handler > > - Is that really necessary once the session has been established?

Re: form never validates !...

2002-08-02 Thread Barbara Post
ok I have to see what's wrong with "cocoon://", when I use "xml\mydesc.xml" it's ok (forgot to type the ".xml" lol :-/ ). - Original Message - From: "Barbara Post" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, August 02, 2002 4:36 PM Subject: Re: form never validates !... >

Re: form never validates !...

2002-08-02 Thread Barbara Post
My generated descriptor is empty, I wonder why... Pipeline for "getdescriptor" works ok alone (database query)... but not when I use : cocoon://getdescriptor/hard_coded_template_name Even when I write : assuming that it is in my webapp's root \ xml folder... :-o - Original Message - Fr

Re: form never validates !...

2002-08-02 Thread Christian Haul
On 02.Aug.2002 -- 04:03 PM, Barbara Post wrote: > Hello, my form does not validate The "submit" button of form sends to > "form2fill" and thanks to Christian's transformer I keep my request > parameters to regenerate fully the form (will add a template to my xsl to > add an error message). I c

form never validates !...

2002-08-02 Thread Barbara Post
Hello, my form does not validate The "submit" button of form sends to "form2fill" and thanks to Christian's transformer I keep my request parameters to regenerate fully the form (will add a template to my xsl to add an error message). I can't go to the "success" part (google to test :-p ). In

xsp:attribute and cinclude

2002-08-02 Thread Michael Zehrer
Hi again, In earlier (2.0.2) versions of Cocoon I constructed the path for cinclude like this and it worked: some/static/xml///content.xinc in 2.1-dev this gives in the resulting xml where the values for parm1 and parm2 are correct but the extra slash betwen them and the filename are compl

TextSerializer working like XMLSerializer

2002-08-02 Thread Torsten Knodt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, next problem. I've created some xsl's which transform (most) vCard's in rdf format to the text version. Also I have patched MIMEUtils to support the mime-type (text/x-vcard) and the file extension (vcf). This part works without problems. The

AW: inserting xml with util:include-expr

2002-08-02 Thread Michael Zehrer
Hi Vadim, that works, thank you. Michael -Ursprüngliche Nachricht- Von: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 2. August 2002 14:32 An: [EMAIL PROTECTED] Betreff: RE: inserting xml with util:include-expr > From: Michael Zehrer [mailto:[EMAIL PROTECTED]] > > Hi

Re: LinkSerializer not seeing links (href, src)

2002-08-02 Thread Torsten Knodt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Vadim, > > > > I have a second problem with LinkSerializer. Sometimes I can only > > > > see href's (no src), > > > Give an example (reproducible). > > > > sometimes I can't see any links. > > > Same here. > > I wasn't able to reproduce the vers

RE: inserting xml with util:include-expr

2002-08-02 Thread Vadim Gritsenko
> From: Michael Zehrer [mailto:[EMAIL PROTECTED]] > > Hi List, > > In earlier (2.0.2) versions of Cocoon I included a string containing > XML-Data from a session variable into XSPs this way: > > > > > > > > in 2.0.3 and recent 2.1-dev from cvs this gives the following error, > whats wrong

inserting xml with util:include-expr

2002-08-02 Thread Michael Zehrer
Hi List, In earlier (2.0.2) versions of Cocoon I included a string containing XML-Data from a session variable into XSPs this way: in 2.0.3 and recent 2.1-dev from cvs this gives the following error, whats wrong? org.apache.cocoon.components.language.LanguageException: Error compiling sea

AW: fop

2002-08-02 Thread Andres, Judith
An url (http://localhost/..) would do as well Judith > -Ursprüngliche Nachricht- > Von: Andrew Timberlake [SMTP:[EMAIL PROTECTED]] > Gesendet am: Freitag, 2. August 2002 13:08 > An: [EMAIL PROTECTED] > Betreff: Re: fop > > The only way I could get images to work through cocoon

Re: fop

2002-08-02 Thread Barbara Post
did you set up an pipeline matching **.gif and **.jpg ? it works fine here, so no worry about absolute paths, only relative ones. are the images out of the webapp's main directory ? Babs - Original Message - From: Andrew Timberlake <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Frida

RE: decision issue (document and sitemap communication)

2002-08-02 Thread Vadim Gritsenko
> From: Barbara Post [mailto:[EMAIL PROTECTED]] > > Hello, I have the following problem : > > 1. Query "foo" document from a database, using xmldb query shortcut, so this > comes as map:generate src="xmldb:..."). > * I want to decide on the presence of a certain tag in "foo", let's say > , t

Re: fop

2002-08-02 Thread Wolle
hi! which parameter did you use in the sitemap. can you show a example? bye wolfgang weigel *The only way I could get images to work through cocoon was to provide an *absolute file system path to the image using the file:// protocol. *I used a sitemap parameter to pass the path into my style

Re: fop

2002-08-02 Thread Andrew Timberlake
The only way I could get images to work through cocoon was to provide an absolute file system path to the image using the file:// protocol. I used a sitemap parameter to pass the path into my stylesheet so that it was still configurable on different machines. Andrew On Fri, 2002-08-02 at 12:01,

JDBC Connection: The url cannot be null

2002-08-02 Thread Joern_Hoos
Hello, i´ve got a problem connecting to SQLBase with JDBC and i hope someone here can give me a hint: When transforming an xml document with the sql-transformer i get an error: The url cannot be null. This is the result: http://apache.org/cocoon/SQL/2.0";>The url cannot be null I can see tha

Re: Servlet generating an XML--->How to write the pipeline?

2002-08-02 Thread kavitha ramesh
Hi Skip, I have the class, Servlet.class and I have placed it in the Web-Inf folder.Now my main sitemap is as follows: (what should be there in the Servlet folder?) (what should be the source?) My servlet generates an xml file as an output stream. and is the following URL be used to see

Re: fop

2002-08-02 Thread Wolle
On Fri, 2 Aug 2002, Barbara Post wrote: *image path issue ? absolute, relative ? here is some code from the xml-file: here is some code from the xsl-file: the pictures are in the same directory as the xsl/xml file. i also tried: , bye ww * *Babs *- Original Message -

Re: fop

2002-08-02 Thread Barbara Post
image path issue ? absolute, relative ? Babs - Original Message - From: Wolle <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, August 02, 2002 11:48 AM Subject: fop > hi! > > I made a xsl-file to generate from a xml file a pdf. this works fine as > long as i use fop standalone

fop

2002-08-02 Thread Wolle
hi! I made a xsl-file to generate from a xml file a pdf. this works fine as long as i use fop standalone (command line). if producing the pdf with cocoon i get the text without any pictures (gif/jpg). has anybody the same problem? where can i get some information about whats working wrong? i

Re: form validator

2002-08-02 Thread Barbara Post
was dumb : validate-set and not constraint-set in the pipeline ! huh time to have lunch here lol Babs - Original Message - From: Barbara Post <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, August 02, 2002 11:29 AM Subject: form validator > Hello, I use the following and the

form validator

2002-08-02 Thread Barbara Post
Hello, I use the following and the redirect-to is always executed, why ? I directly call this "foo" uri. The returned descriptor is ok : parameters with name and nullable attribute set (but not "type", should I set it ? How can I say "ignore type attribute when validating ?").

Re: log-files!

2002-08-02 Thread Barbara Post
no, it's created in your webapp's WEB-INF directory when you run it (execute Cocoon servlet). so if you use Cocoon's webapp have a look there... - Original Message - From: Wolle <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, August 02, 2002 11:12 AM Subject: Re: log-files! >

Re: log-files!

2002-08-02 Thread Wolle
hi! *When you run cocoon don't you have logfiles into WEB-INF/logs ? * there is no such directory! do i have to touch it first? bye ww *Location of logfiles is defined in WEB-INF/logkit.xconf. * *Babs *- Original Message - *From: Wolle <[EMAIL PROTECTED]> *To: <[EMAIL PROTECTED]

Re: log-files!

2002-08-02 Thread Barbara Post
When you run cocoon don't you have logfiles into WEB-INF/logs ? Location of logfiles is defined in WEB-INF/logkit.xconf. Babs - Original Message - From: Wolle <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, August 02, 2002 11:04 AM Subject: log-files! > hi! > > i am using c

RE: log-files!

2002-08-02 Thread Piroumian Konstantin
See: /WEB-INF/logs/*.log -- Konstantin Piroumian [EMAIL PROTECTED] > -Original Message- > From: Wolle [mailto:[EMAIL PROTECTED]] > Sent: Friday, August 02, 2002 1:04 PM > To: [EMAIL PROTECTED] > Subject: log-files! > > > hi! > > i am using cocoon 2.0.3. where can find some logfile

log-files!

2002-08-02 Thread Wolle
hi! i am using cocoon 2.0.3. where can find some logfiles about cocoon-working? bye wolfgang weigel - Please check that your question has not already been answered in the FAQ before posting.

Re: own generator

2002-08-02 Thread Istvan Beszteri
Hi, I have updated the setup method. here is the code: public void setup(SourceResolver resolver, Map objectModel, String src, Parameters par) throws ProcessingException, SAXException,

decision issue (document and sitemap communication)

2002-08-02 Thread Barbara Post
Hello, I have the following problem : 1. Query "foo" document from a database, using xmldb query shortcut, so this comes as map:generate src="xmldb:..."). * I want to decide on the presence of a certain tag in "foo", let's say , to do a map:act. * 2a. if exists : there are required fiel