ESQL result pushed in sendmail in same XSP page?

2004-03-17 Thread Philippe Guillard
Hi all, I make the serverpage generator treat ESQL and sendmail in the same .xsp, and i'd like to pass the parameter i get from my ESQL statement in the sendmail generation. Question : - I'd like to know if this is possible? - If not, what solution could avoid this situation (XSP Action for ESQL

Re: [forms] Populate selection list from flow

2004-03-17 Thread Ugo Cei
Il giorno 17/mar/04, alle 04:52, Mark Lundquist ha scritto: OK, now I have a form with a selection list that I need to populate from flowscript — programmatically, not just calling setSelectionList(uri). How do I do it? See , nam

Re: ESQL result pushed in sendmail in same XSP page?

2004-03-17 Thread julien bloit
Hi Phil, I have the same kind of action to perform, I do it by including the sendmail section inside the esql:row-results. Maybe there're other ways to do it, but here's a snippet that works for me : dvdadmin SELECT * FROM users WHERE email=''

Re: ESQL result pushed in sendmail in same XSP page?

2004-03-17 Thread Philippe Guillard
Thanks a lot. I tried this before without success, but it works now. Phil On Wed, 2004-03-17 at 16:36, julien bloit wrote: > Hi Phil, > > I have the same kind of action to perform, I do it by including the sendmail > section inside the esql:row-results. Maybe there're other ways to do it, but > h

[datasource] Behaviour when shutdown/restart database

2004-03-17 Thread Olivier Billard
Hi all ! I would like to know what is the bahaviour of the datasource component when a shutdown/restart of the database occur. And what is the best thing to do ? - restart tomcat OR - let excalibur-datasource live its life and deal with it, with keep-alive fonctionnality Thanks in advance !

authentication fw : multiple handlers for same resource?

2004-03-17 Thread julien bloit
Hi, I use cocoon 2.1.3 and authentication framework. I have 2 different handlers (and 2 different authentication resources for them), but some of the protected pipelines should be common to both. My problem is kind of similar to Antonio's in this thread : http://marc.theaimsgroup.com/?l=xml-cocoon-

Re: National chars in forms

2004-03-17 Thread Hubert Trzewik
> Hello Hubert, > (...) > > Regards, > Marcin Okraszewski > > P.S.2 > How do you expect can we connect your "localhost" - your and our > localhosts are different!! I did not. I meant "try it with your own instalation and samples included". > > P.S.2 > Write Polish with capital "P", otherwise you s

web.xml servletpath

2004-03-17 Thread Magne Skjeret
Hi I have used cocoon for some time now, and find it very useful. But I have a small problem and that is I cant seem to move the servlet path to other than root. If I use url pattern other than / it will not answer. I get a tomcat 404, not a cocoon error. So it does not seem to answer at all. I

Re: changes woody --> cocoon forms

2004-03-17 Thread Upayavira
Mark Lundquist wrote: Check out http://wiki.cocoondev.org/Wiki.jsp?page=Woody2CocoonForms There's a build script that'll do your updates for you. Regards, Upayavira On Mar 16, 2004, at 9:02 PM, Philippe Guillard wrote: Hi, As woody changed to cocoon forms, somebody has a global view of what ha

Newbie question

2004-03-17 Thread Albert Shih
Hi anyone. Sorry for my stupid question and not really over cocoon. The wiki.cocoondev.org site working under what ? cocoon or oder wiki server ? The internal format is XML or not ? Regards -- Albert SHIH Universite de Paris 7 (Denis DIDEROT) U.F.R. de Mathematiques. Heure local/Local time: W

Re: [forms] Populate selection list from flow

2004-03-17 Thread Mark Lundquist
On Mar 16, 2004, at 11:30 PM, Ugo Cei wrote: Il giorno 17/mar/04, alle 04:52, Mark Lundquist ha scritto: OK, now I have a form with a selection list that I need to populate from flowscript — programmatically, not just calling setSelectionList(uri). How do I do it? See

Re: [forms] Populate selection list from flow

2004-03-17 Thread Ugo Cei
Mark Lundquist wrote: 1) I don't see a way to specify the initial selected value — i.e., generate the "selected" attribute in the HTML element. I looked in the source code for FlowJXPathSelectionList just to see if I was missing something... I think it would need to generate an element as a

Re: Cocoon App Invocation & server.xml

2004-03-17 Thread Samuel Bruce
Hi, No. Before my app was at http://localhost:8080/myapp and once invoking my app at the above location, a pattern in my sitemap () worked. Since I made the previously mentioned change in server.xml, I could invoke my app at http://localhost:8080 but for some reason inside my app when there was

Re: Newbie question

2004-03-17 Thread Derek Hohls
Cocoon Wiki uses JSPwiki, and the underlying format is Wiki markup (not XML). See: http://www.jspwiki.org and http://www.jspwiki.org/Wiki.jsp?page=TextFormattingRules Derek >>> [EMAIL PROTECTED] 2004/03/17 03:10:33 PM >>> Hi anyone. Sorry for my stupid question and not really over cocoon. T

Re: Newbie question

2004-03-17 Thread Albert Shih
Le 17/03/2004 à 15:34:58+0200, Derek Hohls a écrit > Cocoon Wiki uses JSPwiki, and the underlying format is > Wiki markup (not XML). > > See: > http://www.jspwiki.org > and > http://www.jspwiki.org/Wiki.jsp?page=TextFormattingRules Lots of thanks. And do you known some wiki serveur where the

Re: Newbie question

2004-03-17 Thread Darren Petrie
Open Wiki - http://www.openwiki.com Uses Wiki syntax for input but any page can be pulled in XML format. Only downside is it's an ASP only app. On Mar 17, 2004, at 8:55 AM, Albert Shih wrote: Le 17/03/2004 à 15:34:58+0200, Derek Hohls a écrit Cocoon Wiki uses JSPwiki, and the underlying form

Re: Newbie question

2004-03-17 Thread Albert Shih
Le 17/03/2004 à 09:04:08-0500, Darren Petrie a écrit > Open Wiki - http://www.openwiki.com > > Uses Wiki syntax for input but any page can be pulled in XML format. OK. Lots of thanks. > Only downside is it's an ASP only app. ARGGGHH.Really bad... Regards -- Albert SHIH Universite

RE: Can a Woody selection-list relationship be not set?

2004-03-17 Thread Uchenna Igwebuike
I use the FlowJXPathSelectionList to populate my selection lists from bean collections. You can use an extension of that model to insert a prompt message into the selection lists. The prompt message should be located in a message bundle that you refer to in the form definition. You also have to ins

RE: [forms] Populate selection list from flow

2004-03-17 Thread Uchenna Igwebuike
See thread " Can a Woody selection-list relationship be not set?" -Original Message- From: Ugo Cei [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 17, 2004 5:21 AM To: [EMAIL PROTECTED] Subject: Re: [forms] Populate selection list from flow Mark Lundquist wrote: > 1) I don't see a way

jboss / cocoon deployment

2004-03-17 Thread Peter Meier
Hi cocoon users, where can I find the deployed (extracted) cocoon.war files within jboss (windows xp: Jboss 3.2.3/Tomcat 4.1/Cocoon 2.0/JAVA jdk 1.3.1_01). E.g. I can not find the files cocoon.xconf and sitemap.xmap. It seems cocoon was correct deployed according to the log file : 21:11:18,308 I

Re: Newbie question

2004-03-17 Thread Derek Hohls
Albert If the user is going to enter info, then somewhere along the line you will have to care about the format; esp. if they are able to enter non-standard markup. The whole point of a wiki is to allow a user to do simple markup that does not rely on any plugins or fancy formatting; if your info

Encoding problem

2004-03-17 Thread JLM
Hello! I have written a custom authenticator object that sends back to the user an error message if login fails. So I build a DOM structure and I pass it to the AuthenticationResult object, returning it from authenticate method. Because I use DOM, all error messages are in UTF8. I get session cont

CHECKING LOGIN IN XSP

2004-03-17 Thread Davide
Hi all! I would like to check into an xsp if the user is i'm logged or not; i'm using the authentication framework. I'd like something like this: ... ... do something do something Any Idea?? Thanks a lot. Best Regards, Davide --

RE: Encoding problem

2004-03-17 Thread Jean-Luc Mathieu
After a lot of tries, it seems that Cocoon authentication is not involved, nor DOM model : it is the fact of transforming such characters in a xsl:comment section that produce this kind of error. If I remove the xsl:comment tags, my string appears without any error. Is anybody knows the problem ?

Where to find RequestAttributeGenerator.java

2004-03-17 Thread Jeff Conrad
In the api docs, I can see a RequestAttributeGenerator, dated as: CVS $Id: RequestAttributeGenerator.html,v 1.3 2004/02/13 13:28:36 joerg Exp $ Here is the url to the documentation: http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/generation/RequestAttributeGenerator.html Where is this cla

how do you set up your version control?

2004-03-17 Thread Dan
Hi, How are people setting up version control (CVS, SVN) for their projects? Do you just keep your content (sitemap, config files, stylesheets, etc) under version control or do you keep the entire app, including the cocoon jars there too? Any suggestions in this area would be apprectiated. --

Re: how do you set up your version control?

2004-03-17 Thread Christopher Painter-Wakefield
We keep our entire webapp in CVS, including the jars. We work with the project under Eclipse, using the Tomcat plugin. Eclipse does a terrific job with CVS. The only stuff we don't currently keep in CVS (but we want to eventually) are the Tomcat conf files and supporting libraries directorie

Exception JSPReader.generate()

2004-03-17 Thread Carlos Dias
Hi, I'm trying to access a jsp inside cocoon but I got the following error: org.apache.cocoon.ProcessingException: Exception JSPReader.generate(): java.lang.StringIndexOutOfBoundsException: String index out of range: -1   I notice that this question was already post here, but nobody answer

Re: transfer xml data to a subpipe

2004-03-17 Thread Joerg Heinicke
On 17.02.2004 14:06, [EMAIL PROTECTED] wrote: Hi, my problem is to transfer xml data into a subpipe. You always have to fetch the XML from a pipe by using . In contrary to your model the two pipes exchange their roles sub- and superpipe of course. Joerg -

Re: how do you set up your version control?

2004-03-17 Thread Z.Z.
Hello, I am using Linux, it has a lot of excellent method for this. 1. there is RCS utility on linux, which can store all of version for each files. It is very simple and very excellent. 2. there is cvs which is like RCS, but it can save repositories to local or remote machine. (CVS has WIN ver

Re: Where to find RequestAttributeGenerator.java

2004-03-17 Thread Joerg Heinicke
On 17.03.2004 18:59, Jeff Conrad wrote: In the api docs, I can see a RequestAttributeGenerator, dated as: CVS $Id: RequestAttributeGenerator.html,v 1.3 2004/02/13 13:28:36 joerg Exp $ Here is the url to the documentation: http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/generation/RequestA

Re: CHECKING LOGIN IN XSP

2004-03-17 Thread Siraj Shakil
You can play with session and find out if the user session is valid or not. I worked on a project where we did just that. We created a logicsheet that handles the session and we had simply put a in the block to check logon. --- Davide <[EMAIL PROTECTED]> wrote: > Hi all! I would like to check in

Fonts

2004-03-17 Thread Martin Mauri
Hi! Where can I find a list of the basic font families supported by FOP 0.20.5?? thanks! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [forms+flow v2] removeRow(0) no work?

2004-03-17 Thread Mark Lundquist
In case anyone's interested... On Mar 16, 2004, at 1:45 PM, I wrote: Hello, I've got the following flowscript: function addPromo (text) { var row = wid.promos[wid.promos.length]; row.text.value = text; var button = row.deleteButton; button.onClick =

JXForms and XPath, what's wrong?

2004-03-17 Thread Stephan Coboos
Hello, in my Flowscript I set a bean under the name "picture". Within a JXTemplate I want to read the filename of the picture. This version works fine: ${picture.fileName} But this doesn't work: #{picture/fileName} or #{$picture/fileName} Why? If I use the XPath version I got the following

Re: how do you set up your version control?

2004-03-17 Thread Z.Z.
Hello, Sorry I think you are interesting version controlling in general, but I don ´t say concrets. So, cvs is very well for text files versioning, but it only stores binary in repository without versioning. I store only text files in repository. I usually make two of repository, one for progra

Re: JXForms and XPath, what's wrong?

2004-03-17 Thread Christopher Oliver
Try #{$picture/fileName} XPath variables start with a $. Chris Stephan Coboos wrote: Hello, in my Flowscript I set a bean under the name "picture". Within a JXTemplate I want to read the filename of the picture. This version works fine: ${picture.fileName} But this doesn't work: #{pic

RE: how do you set up your version control?

2004-03-17 Thread Ralph Goers
Actually, since we use maven I build cocoon as a war and store it in the maven repository. When building my webapp I use "unwar" to expand the cocoon war, use XconfToolTask to update the configuration files and everything else gets copied from my project into the webapp initialized by the Cocoon w

Re: Where to find RequestAttributeGenerator.java

2004-03-17 Thread Peter Velychko
Hello Jeff, It resides in "scratchpad" block. See ${cocoon-2.1}\src\blocks\scratchpad\java\org\apache\cocoon\generation\RequestAttributeGenerator.java JC> In the api docs, I can see a JC> RequestAttributeGenerator, dated as: JC> CVS $Id: RequestAttributeGenerator.html,v 1.3 JC> 2004/02/13 13:28:3

where to put custom .java files

2004-03-17 Thread Dan
I have some custom code that I want to be built by the cocoon build system. It requires lucene.jar. What is the best way to do this? 1. make a block for it and then create the necessary entries in the build system to build it? 2. put the classes in cocoon/src/java? I'm tempted to do this but th

Why source-writing doesn´t append?

2004-03-17 Thread Z.Z.
Hello All, I try to make an authentication´s log with sourceWriter, but it doesn´t insert it. I tried it without replace and reinsert but it doesn´t works? What do I do wrong? log/entry logon logon

Re: JXForms and XPath, what's wrong?

2004-03-17 Thread Christopher Oliver
Whoops, sorry I didn't read your post carefully. You already tried that. Are you sure the ${} version actually works? If no such property is found it simply returns an empty result without failing. What output do you see for: ${picture} ${picture/fileName} #{picture} #{$picture} Chris Christop

Re: Concerning a) Woody bindings, b) Web Service publishing using existing Generator?

2004-03-17 Thread Joerg Heinicke
On 17.02.2004 19:05, Ulf Sahlin wrote: 1. I've been playing around a little with Woody. From my short usage experience, it looks very promising for form management. My business logic is implemented in EJB. Is there some load/save binding framework for EJB available? Also, I have implemented an XML

Re: accessing object model from flow

2004-03-17 Thread Steve Steinitz
On Wednesday, 17 March 2004 at 11:35am, Steve Steinitz wrote: >How can flow access the objectModel? Answering my own question, I discovered: var om = CocoonComponentManager.getCurrentEnvironment().getObjectModel(); - To unsu

Re: How to use i18n inside of a user defined action?

2004-03-17 Thread Joerg Heinicke
On 18.02.2004 12:59, ToyToy wrote: Hi, I'm using i18n inside a xsl to translate the options of a html selector (combo-box). The individual options are generated by a user-defined cocoon action (in java) as i18n keys. The same action also processes the client response. Unfortunatly the parameter w

Re: Problem with disable-output-escaping with the 2.1.4 version

2004-03-17 Thread Joerg Heinicke
On 18.02.2004 18:44, MAHE Vincent FTRD/DIH/REN wrote: I use to generate some add-hoc content with my XSLT. After my XSLT, I have an i18n transform in the pipeline, so I have put method="xml" in my It used to work well with all previous cocoon 2.0.X versions and even with cocoon 2.1.3. I wonder h

How to add a processing instruction to SVG/XML Serializer?

2004-03-17 Thread Alex Kovacs
Hi, I am trying to use the SVG/XML Serializer and would like to add a processing instruction right after the . I need this to add a stylesheet reference like I noticed that to use the svg serializer I need to add the following in the sitemap -//W3C//DTD SVG 1.0//EN

Re: How to add a processing instruction to SVG/XML Serializer?

2004-03-17 Thread Joerg Heinicke
On 18.03.2004 02:19, Alex Kovacs wrote: Hi, I am trying to use the SVG/XML Serializer and would like to add a processing instruction right after the . I need this to add a stylesheet reference like I noticed that to use the svg serializer I need to add the following in the sitemap

New to Cocoon - best practice for setting up sandbox?

2004-03-17 Thread David Swearingen
I'm new to Cocoon. I'm trying to understand how to set up an area on my server where I can 1) start doing some testing and 2) eventually deploy production code. I've scoured the docs and several websites but have had no luck in finding an answer to my question, below. I've dropped the cocoon.war

Re: New to Cocoon - best practice for setting up sandbox?

2004-03-17 Thread Geoff Howard
David Swearingen wrote: I'm new to Cocoon. I'm trying to understand how to set up an area on my server where I can 1) start doing some testing and 2) eventually deploy production code. I've scoured the docs and several websites but have had no luck in finding an answer to my question, below. I'v

RE: Problem with disable-output-escaping with the 2.1.4 version

2004-03-17 Thread David Leangen
Joerg, I just wanted to point something out that probably has no relevance at all to this escaping problem. > > I use to generate > > some... > > I wonder how this should have worked. The xsl:output is only for > serializing the XML, so has no meaning for the intermediate steps. Although I do

RE: Problem with disable-output-escaping with the 2.1.4 version

2004-03-17 Thread Conal Tuohy
Vincent, I know you asked us not to tell you not to use disable-output-escaping, so instead I'll just ask you :-) Why do you use disable-output-escaping?!!! You obviously know that it is a grubby hack ... everyone despises it, and for good reason :-) You should realise that it is never needed

Re: CHECKING LOGIN IN XSP

2004-03-17 Thread Davide
At 09:55 PM 17-03-04, you wrote: You can play with session and find out if the user session is valid or not. I worked on a project where we did just that. We created a logicsheet that handles the session and we had simply put a in the block to check logon. i'm a beginner...it's not so simply. Are

Re: JXForms and XPath, what's wrong?

2004-03-17 Thread Jan Hoskens
It may help if you gave a bit more info about your setup, ie how do you pass your variable from flow, how does your jx-page look like, are there any other paths used? I've used a templategenerator as follows, which does work: flow: bean "listContainer" contains collection with other beans, collec

Re: Why source-writing doesn´t append?

2004-03-17 Thread Jan Hoskens
If you're trying to add something to your log use this: log/entry mylog.log This adds elements to your file "mylog.log" within the path "log/entry": Kind Regards, Jan - Original Messag