Re: [Flow] Looking for docs!

2003-01-08 Thread Tony Collen
On Thu, 9 Jan 2003, Tony Collen wrote: > Got it. I assume any Java objects can be instantiated this way. Where > is the code that defines "Packages" however? Is it part of Rhino, or is > it being created elsewhere? It seems like an odd automatic process... Never mind about this part... found

defining a global sitemap variable in terms of another?

2003-01-08 Thread icewind
Is it possible to define a global sitemap variable in terms of another global sitemap variable? I am trying it and it doesn't seem to work: /home/icewind0/cocoonfiles {global:base}/static __ Do you Yahoo!? Yahoo! Mail Plus - Powerful.

Re: [Flow] Looking for docs!

2003-01-08 Thread Tony Collen
On Wed, 8 Jan 2003, Ovidiu Predescu wrote: > Unfortunately Tony, there isn't any documentation for the control flow. > Yet! I already started a Flow page on the Wiki... feel free to add whatever. > I've started a project at work which uses the control flow. I'll > document the control flow as pa

Re: [Flow] Looking for docs!

2003-01-08 Thread Ovidiu Predescu
Unfortunately Tony, there isn't any documentation for the control flow. Yet! I've started a project at work which uses the control flow. I'll document the control flow as part of explaining it to my colleagues. In the meantime, don't be shy and ask your questions on the mailing list. On Wednes

Re: xmlform dtd

2003-01-08 Thread Ivelin Ivanov
Shah, There is no DTD available at this point. The goal is to eventually use the XForms DTD or a subset of it, once XForms is finalized. Ivelin - Original Message - From: "Yatin Shah" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 08, 2003 2:20 PM Subject: xmlfor

[Flow] Looking for docs!

2003-01-08 Thread Tony Collen
Hi everybody, I'm working on getting up to speed on the FlowScript in Cocoon. (Yeah, I know I'm a slacker...) I've been digging through the JavaScript in samples/flow/examples, particularly the "prefs" sample. I see all sorts of interesting objects that are floating around that I'm not sure whe

AW: How to get back XMLForm data to Cocoon

2003-01-08 Thread Kirchhoff, Lars
hello sylvain, I'm using the page parameter, which is returned from the action class to separate the stylesheets for the forms and the one for the actual output. Below an example of the sitemap. -- code

XMLform JavaBean and Database Connection Pool

2003-01-08 Thread Kirchhoff, Lars
Hello, hello I have a question related to xmlform and database connections. I would like to know which would be the best way to implement database connections and querys. So far I tried to put all database connection into methods within the javabean. therefore I didn't used the cocoon database

[2.0.4] SQLTransformer and j2ee vs. jdbc datasource

2003-01-08 Thread Renaud Bruyeron
I am facing a weird problem with the SQLTransformer. This happens with cocoon 2.0.4 on jdk1.3.1 running in Tomcat 4.1.12 I have a J2EE Datasource defined via Tomcat's JNDI (the db is MySQL) bound at "java:comp/env/jdbc/Publisher" I am trying to get cocoon to use that datasource via the element

trouble using xsp input logicsheet in cocoon 2.0.4

2003-01-08 Thread Timothy Larson
When I try to use the XSP Input logicsheet in cocoon-2.0.4 I get this error: /org/apache/cocoon/components/language/markup/xsp/java/input.xsl; Line 199; Column 54; Could not find template named: get-string-attribute Looking in the cocoon source, "get-string-attribute" is only mentioned in th

trouble using xsp input logicsheet in cocoon 2.0.4

2003-01-08 Thread Timothy Larson
When I try to use the XSP Input logicsheet in cocoon-2.0.4 I get this error: /org/apache/cocoon/components/language/markup/xsp/java/input.xsl; Line 199; Column 54; Could not find template named: get-string-attribute Looking in the cocoon source, "get-string-attribute" is only mentioned in th

RE: Regexp matching

2003-01-08 Thread Geoff Howard
ah, that could be it as well - i'm using those in 2.1. Same JVM, but I don't think that comes into play. I'd do a diff on the regexp matcher from 2.0.4 to 2.1HEAD - maybe that will turn something up? Geoff > -Original Message- > From: John R. Daily [mailto:[EMAIL PROTECTED]] > Sent: Wed

xmlform dtd

2003-01-08 Thread Yatin Shah
Hello all, Anyone know where can I find the dtd for xmlform(xmlns:xf="http://xml.apache.org/cocoon/xmlform/2002";)? I'm interested in learning about all available UI types for use in the form xml files. [It's not included in src/documentation/xdocs/drafts, src/documentation/xdocs/dtd/ or src/webapp

Re: Regexp matching

2003-01-08 Thread John R. Daily
At (time_t)1042043581 "Geoff Howard" wrote: > I'm not sure why, but in the regexp matcher I'm using I have [] around the > last slash, so try: > That doesn't work either, unfortunately. What version of cocoon are you using? I'm using 2.0.4, with Java 1.4.1 (beta). -John -

Re: Cocoon webpage in Arabic

2003-01-08 Thread Jeremy Quinn
Thanks everyone for your insightful replies. regards Jeremy - Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail:

Comparison in ESQL doesn't work

2003-01-08 Thread Johannes . Becker
Hi, I have a strange problem. I'm trying to compare two values in the ""-Part with an if-compare, but somehow the if-construct is never entered even if there are matches. (I put the System.out's to see if there are matches. There are some.) Here my XSP: http://apache.org/xsp"; xmlns:xsp-r

Cocoon with Websphere V5, anyone?

2003-01-08 Thread Sree A Ratnasinghe
Hello, I am new to cocoon and am porting a cocoon app from tomcat 4.1.1.8 to Websphere V5.0. The app works for the most part after porting. I can successfully serve html, jsp and xml pages. However, whenever I try to serve an xsp page (sits in the war file), I get the following error: The or

Re: Output beautifier

2003-01-08 Thread Miles Elam
Luca Morandini wrote: 1) have you checked your XML serializer declaration has the "indent" element set to "yes" ? If it is set to "no", the indenting is stripped off while serializing 2) You should use the "exclude-result-prefixes" attribute of your "xsl:stylesheet" element to get rid of those u

RE: Regexp matching

2003-01-08 Thread Geoff Howard
I'm not sure why, but in the regexp matcher I'm using I have [] around the last slash, so try: Those cases _should_ be equivalent but mine's working and yours isn't. I don't remember if I did that to make the conditional match more clear at a glance or because it didn't work without it. I don't

error building using new mail component.

2003-01-08 Thread Antonio Gallardo
Hi. Sorry to point to the same thing again. ;-) Still there is a build error based on import javax.mail.internet.MimePart. I know the problem is based on the missing mail.jar, but this can be fixed in the build.xml. Regards, Antonio Gallardo. ---

Regexp matching

2003-01-08 Thread John R. Daily
I have a path that I'm matching with wildcards as: Unfortunately, that doesn't match if another / is appended, so I switched to regexp matching: ...which still doesn't work if a / is appended. I can't find any useful documentation on the regexp matching. Am I doing something wrong?

Slide/Cocoon Domain Sharing

2003-01-08 Thread Julian Klein
Hi all, I am currently trying to integrate slide content with the publishing content of Cocoon. I have the built the latest and greatest cocoon version on Red Hat 8, java 1.4. I was wondering if anyone has been able to get the slide webapp and the webdav servlet to run all in the same servlet co

Re: Cocoon webpage in Arabic

2003-01-08 Thread Konstantin Piroumian
From: "Jeremy Quinn" <[EMAIL PROTECTED]> > Dear All, > > I just found out yesterday that I have to have a page in Arabic on a > site I am working on that is otherwise in English, with a bit of French > and Spanish (using UTF-8). > > I have never worked in non-latin languages before! Take a look a

Re: Cocoon webpage in Arabic

2003-01-08 Thread J.Pietschmann
Jeremy Quinn wrote: Does utf-8 cover Arabic? Yes. UTF-8 covers all of Unicode. Look the character codes up in the Unicode character index http://www.unicode.org/charts/charindex.html You can either use an Unicode-aware editor which allows you to enter arabic directly, or use character references

AW: Cocoon webpage in Arabic

2003-01-08 Thread Ines Robbers
Hi Jeremy, I found something on that in "Beginning XML" by D. Hunter on page 48, in case you have it :-) It sais that Unicode is designed to cover all of the characters in *any* human language. Also it is recommended to use UTF-16 for any other language that is not English because the file size wo

How to get back XMLForm data to Cocoon

2003-01-08 Thread Sylvain.Thevoz
Hello, I'm using XMLForm to collect information. With these information I retrieve a result from a database (with Java code in the Action file). Now I want to take this result to display it on the screen. And I want to use the Cocoon publication features. My question is: how to get back this r

cocoon login action

2003-01-08 Thread Charlene Mitchell
Here's an easy one (?) I use form authentication in my web.xml and my login page posts to j_security_check When a user logs in I want to set some attributes in the session. How can I integrate my own login action to be called after j_security_check has been carried out? e.g. the flow will be 1

AW: Return value from Stored Procedure

2003-01-08 Thread Raffy
Hi Igor, try something like this: Hope this helps. Raffy -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 8. Januar 2003 13:48 An: [EMAIL PROTECTED] Betreff: Return value from Stored Procedure Please, can you give me an example, how c

Re: Problem expanding Cocoon.

2003-01-08 Thread Jacob Bager
Don't mind this question anymore...   I figured it out .. i strangly had to use   export CATALINA_OPTS='-Xbootclasspath/a:/path/to/pja.jar \ -Dawt.toolkit=com.eteks.awt.PJAToolkit \ -        Djava.awt.graphicsenv=com.eteks.java2d.PJAGraphicsEnvironment \ -Djava.awt.fonts=/usr/local/jdk/jre

login action

2003-01-08 Thread Charlene Mitchell
Here's an easy one (?) I use form authentication in my web.xml and my login page posts to j_security_check When a user logs in I want to set some attributes in the session. How can I integrate my own login action to be called after j_security_check has been carried out? e.g. the flow will be 1

Return value from Stored Procedure

2003-01-08 Thread Igor . Kozlov
Title: Return value from Stored Procedure Please, can you give me an example, how can i get the return-value of 3. "OUT"-parameter here: {call sp_add_user(,     userpass,     )} I have always "no results", but my Stored Procedure returns always 888: procedure sp_add_user( name

Re: i18n catalogue and sql [act howto]

2003-01-08 Thread Konstantin Piroumian
From: "Cocoon User" <[EMAIL PROTECTED]> > > hi konstantin > > i plan to create an action that will create sitiemap variables for > specific request-parameters not for use only with i18n There is already such action in Cocoon: src\java\org\apache\cocoon\acting\RequestParamAction.java But I'd pref

Re: i18n catalogue and sql [act howto]

2003-01-08 Thread Cocoon User
hi konstantin i plan to create an action that will create sitiemap variables for specific request-parameters not for use only with i18n is there any simple action or any howto create an action for cocoon? i need just a point to start form (something for example) thnx stavros On Wed, 8 Jan 200

Cocoon webpage in Arabic

2003-01-08 Thread Jeremy Quinn
Dear All, I just found out yesterday that I have to have a page in Arabic on a site I am working on that is otherwise in English, with a bit of French and Spanish (using UTF-8). I have never worked in non-latin languages before! Can anyone advise me what kind of issues I will face? Does utf-8

Re: i18n catalogue and sql

2003-01-08 Thread Konstantin Piroumian
From: "Cocoon User" <[EMAIL PROTECTED]> > hi martin this is a way to send a parameter inside your xsl file (pretty > good) but i need something else > > i want to use a request parameter as a variable inside my sitemap > > example > > if i have http://../...?locale=el > > src="{locale}_data.xml" >

Problem expanding Cocoon.

2003-01-08 Thread Jacob Bager
Hey..   Im running Tomcat 4.1.18, with java1.4.1 on a Linux Distribution.   And can't get cocoon to run/expand. In the logs i get this.   2003-01-08 11:59:38 HostConfig[localhost] Exception while expanding web application archive cocoon.warjava.io.FileNotFoundException: /var/tomcat4/webapps/

Re: ESQL and JavaScript

2003-01-08 Thread Johannes . Becker
Hi, just like this: ... function example() { i=0; xxx

Re: i18n Transformation problem

2003-01-08 Thread Konstantin Piroumian
From: "Murari Dhoot" <[EMAIL PROTECTED]> > Hello Friends, > I am applying a i18n Transformation on the following button > >i18n:attr="value"> > > Actually depending upon the value of Button i.e. "Search" , i am calling a > method, but if i apply i18n transformaion the value of button chang

Re: ESQL and JavaScript

2003-01-08 Thread Christian Haul
On 08.Jan.2003 -- 11:50 AM, [EMAIL PROTECTED] wrote: > > Hi, > > I know its not the (to be harmless) nicest way, but my ESQL in JavaScript > works fine. I just wanted to know if it is possible in Javascript-Functions > to place passed parameters in ESQL-Statements. I'm missing something here: h

Re: ESQL and JavaScript

2003-01-08 Thread Johannes . Becker
Hi, I know its not the (to be harmless) nicest way, but my ESQL in JavaScript works fine. I just wanted to know if it is possible in Javascript-Functions to place passed parameters in ESQL-Statements. Jonny ---

Re: ESQL and JavaScript

2003-01-08 Thread Christian Haul
On 08.Jan.2003 -- 10:53 AM, [EMAIL PROTECTED] wrote: > I have a Javascript-Function, which gets a parameter passed. I want this > parameter now in my ESQL-Statement. Is there a way to do this? Javascript (if client side) is completely unrelated to XSP and ESQL in particular. Server side Javascrip

RE: calling "neighbour" sitemap

2003-01-08 Thread Arjé Cahn
Could you show me how you have mounted both sub-sitemaps? If it's like this: {root sitemap} Then it would be src="cocoon://map2/other-resource" from within a matcher in map1. Regards, Arjé Cahn - Software Department

ESQL and JavaScript

2003-01-08 Thread Johannes . Becker
I have a Javascript-Function, which gets a parameter passed. I want this parameter now in my ESQL-Statement. Is there a way to do this? My (Example)-Function: function insert(ID) { cdr

RE: Output beautifier

2003-01-08 Thread Arjé Cahn
Miles, I would suggest using the XSL transformation that we always use to remove the namespaces: http://www.w3.org/1999/XSL/Transform";> To get the indenting right,

RE: Output beautifier

2003-01-08 Thread Luca Morandini
Miles, 1) have you checked your XML serializer declaration has the "indent" element set to "yes" ? If it is set to "no", the indenting is stripped off while serializing 2) You should use the "exclude-result-prefixes" attribute of your "xsl:stylesheet" element to get rid of those unwanted namesp

[ANN/OT] xreporter 1.0 release - Avalon/Cocoon-based database reporting

2003-01-08 Thread Steven Noels
Hi all, yesterday, we've released the 1.0 version of xReporter, our open source Avalon/Cocoon-based database reporting framework, available from http://xreporter.cocoondev.org/ xReporter consists of 2 main components: * an Avalon Phoenix-based query server, which is configured through XML-ba