RE: MVC Framework - options?

2004-05-12 Thread Derek Hohls
Ralph It is a pity you cant release code - I guess that is the downside of using open source code for commercial ends. I am new to this, so I am very much in the mode of learning by example - code does help to get a grip of the complexities; at this stage I am just trying to suss out which

Re: HTML SendMail Help

2004-05-12 Thread Christian Haul
Sun, Chris wrote: Hello, I am having problems sending HTML email through the sendmail/mail tags provided by cocoon in XSP. I can send HTML email using the body tag and cocoon utility tag but not through the src/srcMimeType tags. I am trying to execute the XSP via the command line interface. Any

Re: [Heads-Up] List Etiquette Return Recipts (Was: Re: Asking again Portal framework login issue)

2004-05-12 Thread Sylvain Wallez
Tony Collen wrote: This is a just general FYI for anyone who posts to the user and -dev lists: *Please un-set the option which causes your mail client to request a return receipt!* Return receipts are generally not useful, especially when the message you are sending likely gets read by

RE: How to... use input modules inside a pipeline.

2004-05-12 Thread H . vanderLinden
You can always take data from an input module in the sitemap and supply it to a flowscript function as a parameter. I need to find a way to inject those values into the pipeline. Use the session-context input module (see

Conditional replace / reinsert with SourceWritingTransformer

2004-05-12 Thread Stephanie Zohner
Hi specialists in SourceWritingTransformer usage ;-), Here is my problem: I want to replace and reinsert certain elements in an xml-filem if they have set an attribute to a certain value: For example: My xml file looks like this page a b flag=true1/b b flag=false2/b b flag=true3/b /a

Re: Prefill form with Woody and XML without binding?

2004-05-12 Thread Upayavira
Because the Woody binding framework uses JXPath, it can bind to java objects or to XML documents. Look at the example that binds to an xml document. It looks like what you need. Upayavira Christian Rosenberger wrote: Hello! I have i question regarding the prefilling of a form using Woody.

Re: Prefill form with Woody and XML without binding?

2004-05-12 Thread Marc Portier
Christian Rosenberger wrote: Hello! I have i question regarding the prefilling of a form using Woody. The data to use in the form is placed in a XML file, which I get by a Java class. So I want to use this XML file to fill in values in the form and then show the form to the user. Need no

Re: Binding to xmldb

2004-05-12 Thread Timur Izhbulatov
Marc Portier wrote: I suggest adding transformer.setOutputProperty(Packages.javax.xml.transform.OutputKeys.ENCO DING, utf-8); which will enforce utf-8 encoding to all saved content. I'm sorry. I've forgot to change my stitemap to make it work with the xmldb source and the data were still

XQueryGenerator and context Sessions

2004-05-12 Thread Nacho Jimenez
Hello all, I need to access my authentication framework's username in Exist's XQueryGenerator. As you all know, the username is stored in the Authenticarion session context, but the generator can only get it's data from the request or the session. Any idea?, someone with

Re: Prefill form with Woody and XML without binding?

2004-05-12 Thread Christian Rosenberger
Ok, will give it a try. One problem remains (maybe just as I am new to the whole flowscript/woody framework). How can I transfer my XML document from and to the flowscript? My sitemap would like this: Generator = call flowscript = user doing updates = flowscript calls transformer In

retrieve user in logout action

2004-05-12 Thread Flavio Palumbo
Hi all, forgive me for the quick repost, but I'm getting crazy to figure out how retrieve the user ID that is currently doing logout from the authentication framework. I'd like to get it in a custom action, called just before auth-logout action, because I need to update some Db tables based on

Re: retrieve user in logout action

2004-05-12 Thread Nacho Jimenez
Flavio Palumbo wrote: Hi all, forgive me for the quick repost, but I'm getting crazy to figure out how retrieve the user ID that is currently doing logout from the authentication framework. I'd like to get it in a custom action, called just before auth-logout action, because I need to update

Re: [Heads-Up] List Etiquette Return Recipts (Was: Re: Asking again Portal framework login issue)

2004-05-12 Thread Geoff Howard
Sylvain Wallez wrote: Tony Collen wrote: This is a just general FYI for anyone who posts to the user and -dev lists: *Please un-set the option which causes your mail client to request a return receipt!* ... A good way to invite people to disable this option is for everybody to send the

AW: Actions passing Data via Request

2004-05-12 Thread Marco Rolappe
-Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Auftrag von Hildebrandt, Ole Gesendet: Mittwoch, 12. Mai 2004 12:12 An: [EMAIL PROTECTED] Betreff: Actions passing Data via Request Hi, I am going to use Actions to pass data via request to a

Re: Binding to xmldb

2004-05-12 Thread Marc Portier
Timur Izhbulatov wrote: Marc Portier wrote: I suggest adding transformer.setOutputProperty(Packages.javax.xml.transform.OutputKeys.ENCO DING, utf-8); which will enforce utf-8 encoding to all saved content. I'm sorry. I've forgot to change my stitemap to make it work with the xmldb source

Upload Widget and multiple user

2004-05-12 Thread laurent_rorive
Dear Members, Does anyone know what happen if 2 user simultaneously upload a file called by example : blabla.txt but with a different content What will happen in my flowscript ? Can I be sure that the correct file will follow the correct user ? Thx for the info Laurent

authentication

2004-05-12 Thread Jasper Michalczik
Hello, Ive been using the authentication framework for a while now, but recently I thought about how to avoid people from different computers using a single acount and logging in simultaneously. Is there any parameter to set to allow only one login per account? Thanks, Jasper

Re: Binding to xmldb

2004-05-12 Thread Timur Izhbulatov
Marc Portier wrote: ? sorry. I'm afraid I don't understand what you tested and what was the outcome In my previous message I said that setting output encoding solves the problem. But it's not true. my turn to be sorry, I've running out of clues here maybe you can send over how your script

Re: Displaying XML document as it is ??

2004-05-12 Thread laurent_rorive
Or serialize it with xml ... map:match pattern=get-xml map:generate src=""> map:serialize type=xml/ /map:match [EMAIL PROTECTED] 11/05/2004 21:11 Please respond to users To: [EMAIL

XSP : store the result of the ESQL query

2004-05-12 Thread olivier demah
Hi, i would like to know if i can store the result of an ESQL query in a variable to be reused in another ESQL query later in the same XSP ? regards - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

RE: authentication

2004-05-12 Thread Ralph Goers
Not that I can recall. Ralph -Original Message- From: Jasper Michalczik [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 12, 2004 6:32 AM To: [EMAIL PROTECTED] Subject: authentication Hello, I've been using the authentication framework for a while now, but recently I

Re: XSP : store the result of the ESQL query

2004-05-12 Thread olivier demah
olivier demah a e'crit : Hi, i would like to know if i can store the result of an ESQL query in a variable to be reused in another ESQL query later in the same XSP ? regards here is the solution : sql = SELECT rub_position FROM m_rub_player_ope WHERE player_url_name = '+player_url_name+'

RE: cforms validation bug?

2004-05-12 Thread Thomas . Zirnsack
Return Receipt Your RE: cforms validation bug? document :

Re: Woody binding - How to debug?

2004-05-12 Thread Christian Rosenberger
Forgot to mention that if I want to save the document I get the error: org.apache.commons.jxpath.JXPathException: Exception trying to create xpath /data/wrapper/context; java.lang.ClassCastExceptionMaybe this error is caused by the same as the missing values in form.Regards,Christian -

woody: null instead of empty string if field left empty

2004-05-12 Thread Hubert Trzewik
I have a problem with woody. Let's say I store filled form in SQL DB. On woody exit an XSP page is fired. Inside XSP SQL query is builded. Let say form has 4 fields. We filled two first, and the 3rd and 4th we left empty. SQL query I get in result is: INSERT INTO onetable VALUES ('filled

Re: woody: null instead of empty string if field left empty

2004-05-12 Thread Joerg Heinicke
On 12.05.2004 18:09, Hubert Trzewik wrote: I have a problem with woody. Let's say I store filled form in SQL DB. On woody exit an XSP page is fired. Inside XSP SQL query is builded. Let say form has 4 fields. We filled two first, and the 3rd and 4th we left empty. SQL query I get in result is:

Re: Woody binding - How to debug?

2004-05-12 Thread Joerg Heinicke
On 12.05.2004 18:16, Christian Rosenberger wrote: Hello! As mentioned in another posting this morning, I try to use the Woody binding framework to bind to a XML file got by an java class. My form appears, but without any data filled in. How can I debug the binding? There is no logging in

Re: Prefill form with Woody and XML without binding?

2004-05-12 Thread Joerg Heinicke
On 12.05.2004 12:16, Christian Rosenberger wrote: Ok, will give it a try. One problem remains (maybe just as I am new to the whole flowscript/woody framework). How can I transfer my XML document from and to the flowscript? You don't pass XML to and get it from flowscript. The flowscript must

Dynamic URI in form-template action

2004-05-12 Thread Isidro Vila Verde
Hello, I have several pages (PageA, PageB, etc) all them with the same forms fields. As I have a lot of them I want to define only one template-transformer and include the result of same cform pipeline into each Page. But after the user submit the form I want to go to different pages depended

Re: Woody binding - How to debug?

2004-05-12 Thread Christian Rosenberger
I found the cocoon.log.info() method in flowscript to get some values. This is some kind of help to me. Saw that my input document is null. Now I have to find out why! ;-) Thanks! Regards, Christian Joerg Heinicke wrote: On 12.05.2004 18:16, Christian Rosenberger wrote: Need to now, why

Re: Prefill form with Woody and XML without binding?

2004-05-12 Thread Joerg Heinicke
On 12.05.2004 19:43, Christian Rosenberger wrote: My sitemap would like this: Generator = call flowscript = user doing updates = flowscript calls transformer That can not work. And I already got the feeling that something is strange from your first mail. Maybe you can more explicitely what you

Re: [woody/cforms] submit a form to a new window

2004-05-12 Thread Joerg Heinicke
Found it myself: Instead of hacking the document link with Javascript, that submits the form, etc., I set the correct link in the stylesheet: The URL is the same as the form's @action with an additional request parameter woody_submit_id set to the wi:action's @id. Additionally the link gets

Re: Flowscript, continuations, reloading

2004-05-12 Thread Mark Lundquist
On May 7, 2004, at 5:18 AM, Samuel Tribehou wrote: Hello there. I'm a new cocoon user, so please bear with my ignorance ;) Par for the course, as they say :-) Here is my problem : Say I have page which contains a main form. This form contains not only traditionnal form elements, but also some

RE: [woody/cforms] submit a form to a new window

2004-05-12 Thread JD Daniels
You condused me :) I have the same problem... calling the forms action in the new window wont stop the original window from being unaware the form has been called will it? JD -Original Message- From: Joerg Heinicke [mailto:[EMAIL PROTECTED] Sent: May 12, 2004 9:39 AM To: [EMAIL

Re: Prefill form with Woody and XML without binding?

2004-05-12 Thread Christian Rosenberger
Joerg Heinicke wrote On 12.05.2004 19:43, Christian Rosenberger wrote: My sitemap would like this: Generator = call flowscript = user doing updates = flowscript calls transformer I get XML from my backend java class. This xml data I want to use to present a form with prefilled values. The user

Re: Prefill form with Woody and XML without binding?

2004-05-12 Thread Joerg Heinicke
On 12.05.2004 20:10, Christian Rosenberger wrote: My sitemap would like this: Generator = call flowscript = user doing updates = flowscript calls transformer I get XML from my backend java class. This xml data I want to use to present a form with prefilled values. The user make changes and the

Re: [woody/cforms] submit a form to a new window

2004-05-12 Thread Joerg Heinicke
On 12.05.2004 21:06, JD Daniels wrote: You condused me :) I feared that when writing the mail :) I have the same problem... calling the forms action in the new window wont stop the original window from being unaware the form has been called will it? What does calling the forms action in the new

Re: Prefill form with Woody and XML without binding?

2004-05-12 Thread Christian Rosenberger
Joerg Heinicke wrote: Ah, if you have already XML and need it in the backend too, then the conversion is not of sense of course. I thought you convert it in the generator/transformer from/to XML, e.g. via castor or another java/xml convertor. No, it is already XML. No conversion done. Ok, than

Re: Prefill form with Woody and XML without binding?

2004-05-12 Thread Christian Rosenberger
Just one additional questions. The function processPipelineToDOM() is only available in CVS, isn't it? How can I use it in 2.1.4? Is this just another javascript code? Can you post it to the list? Thanks, Christian - Original Message - From: Christian Rosenberger [EMAIL PROTECTED] To:

Re: Prefill form with Woody and XML without binding?

2004-05-12 Thread Joerg Heinicke
On 12.05.2004 21:03, Christian Rosenberger wrote: map:match pattern=form !-- pass the control to flowscript -- map:call function=form/ /map:match Here is the binding framework missing, I think. Is your solution without using the binding framework? How is the binding form vars = input xml

Re: Prefill form with Woody and XML without binding?

2004-05-12 Thread Joerg Heinicke
On 12.05.2004 21:10, Christian Rosenberger wrote: Just one additional questions. The function processPipelineToDOM() is only available in CVS, isn't it? How can I use it in 2.1.4? Is this just another javascript code? Can you post it to the list? No, I use it at a project at work also with

Re: Flowscript, continuations, reloading

2004-05-12 Thread Joerg Heinicke
On 12.05.2004 20:06, Mark Lundquist wrote: script language=javascript if (!self.opener.closed) { self.opener.document.location.reload(); } self.close(); /script I only would not do it with

Re: Prefill form with Woody and XML without binding?

2004-05-12 Thread Christian Rosenberger
Joerg Heinicke wrote: How can I use it in 2.1.4? Is this just another javascript code? Can you post it to the list? No, I use it at a project at work also with 2.1.4. My fast code type might be somewhat inexact: http://wiki.cocoondev.org/Wiki.jsp?page=FOM_Cocoon Ah, thanks a lot. Maybe this is a

Re: Prefill form with Woody and XML without binding?

2004-05-12 Thread Christian Rosenberger
Joerg Heinicke wrote: map:match pattern=form !-- pass the control to flowscript -- map:call function=form/ /map:match Here is the binding framework missing, I think. Is your solution without using the binding framework? How is the binding form vars = input xml doc done? It's just shortened

Re: Prefill form with Woody and XML without binding?

2004-05-12 Thread Joerg Heinicke
On 12.05.2004 21:40, Christian Rosenberger wrote: How can I use it in 2.1.4? Is this just another javascript code? Can you post it to the list? No, I use it at a project at work also with 2.1.4. My fast code type might be somewhat inexact: http://wiki.cocoondev.org/Wiki.jsp?page=FOM_Cocoon Ah,

Re: Prefill form with Woody and XML without binding?

2004-05-12 Thread Joerg Heinicke
On 12.05.2004 21:47, Christian Rosenberger wrote: My backend classes have a global configuration file. The file is passed in sitemap: map:transformer name=mytrans src=myTransformer configdirwork/configdir configfilemyconfig.cfg/configfile /map:transformer The configuration is passed

Availability of user-request-parameter by the end of pipeline ??

2004-05-12 Thread Sam
Hi List, I want to make a user-request-parameter available till the end of the pipeline, so that I could use it in the last transformer for displaying what the user requested for. The pipeline in my case looks something like this: map:match pattern=adh/user/search map:generate

Re: Dynamic URI in form-template action

2004-05-12 Thread Joerg Heinicke
On 12.05.2004 19:29, Isidro Vila Verde wrote: Hello, I have several pages (PageA, PageB, etc) all them with the same forms fields. As I have a lot of them I want to define only one template-transformer and include the result of same cform pipeline into each Page. But after the user submit the

Re: Prefill form with Woody and XML without binding?

2004-05-12 Thread Christian Rosenberger
Good Evening! :-) Just want you to inform, that I found my problem. There was never a problem with my first thought, but with my typing of the binding file. ;-) There was a syntax mistake in the file. Defined to seperate contexts. That could NEVER work. ;-) But thanks a lot to Joerg. Showed

Re: Availability of user-request-parameter by the end of pipeline ??

2004-05-12 Thread Joerg Heinicke
On 12.05.2004 21:27, Sam wrote: Hi List, I want to make a user-request-parameter available till the end of the pipeline, so that I could use it in the last transformer for displaying what the user requested for. snip what=pipeline/ I have this parameter available till the build-search.xsl, in

Re: Upload Widget and multiple user

2004-05-12 Thread Joerg Heinicke
On 12.05.2004 15:21, [EMAIL PROTECTED] wrote: Dear Members, Does anyone know what happen if 2 user simultaneously upload a file called by example : blabla.txt but with a different content What will happen in my flowscript ? Can I be sure that the correct file will follow the correct user ?

Re: cforms validation bug?

2004-05-12 Thread Joerg Heinicke
On 12.05.2004 00:53, Isidro Vila Verde wrote: fd:multivaluefield id=drinks fd:labelIndicate which 2 of the following drinks you'd like to receive:/fd:label fd:datatype base=string/ fd:validation !--fd:value-count exact=2/--!-- WON'T VALIDATE ANY FIELD --

Re: Problem with losing session context 'authentication' - looking fo r workaround or bugfix

2004-05-12 Thread Joerg Heinicke
No help from my side and not much time to investigate at the moment. It really sounds weird. And - that's the reason I write - I fear that I will come to the same problem when I switch on authentication in my application. I already have some test pipelines as it is my first project with

Re: source writer transformer

2004-05-12 Thread Joerg Heinicke
On 11.05.2004 22:31, keith d. zimmerman wrote: Ok, as has been suggested, simple questions, single question per e-mail. Can I do this? Http Generator Transformer to basically aquire a particular img tag within the doc. something or the other to go get the image source writing transformer to

Re: Re: Availability of user-request-parameter by the end of pipeline ??

2004-05-12 Thread Sam
Hello Joerg, Nice to see a reply from you again. Everytime I happen to learn something new. :) :) Thanks to you. By the way I had realized the typo and the missing use-reuest-parameters in the last three stylesheets I made proper changes but still it doesnt wanna work. Correct me if I am

Re: Business Objects vs Data Objects [was Re: JXTemplates - what'sin a name?]

2004-05-12 Thread Joerg Heinicke
On 07.05.2004 12:36, Derek Hohls wrote: Jochen Bedersdorfer says: I designed a little sub-project using the DAO design pattern to make it independent from the persistence technology. WHAT A WASTE OF TIME! You are writing class after class just plumbing things together, after that your business

Re: Availability of user-request-parameter by the end of pipeline ??

2004-05-12 Thread Joerg Heinicke
On 13.05.2004 02:26, Sam wrote: Hello Joerg, Nice to see a reply from you again. Everytime I happen to learn something new. :) :) Thanks to you. By the way I had realized the typo and the missing use-reuest-parameters in the last three stylesheets I made proper changes but still it doesnt wanna

Re: Business Objects vs Data Objects [was Re:JXTemplates-what's in a name?]

2004-05-12 Thread Joerg Heinicke
On 07.05.2004 13:35, Antonio Gallardo wrote: 2. What is the best(?) OS implementation of JDO that you know of? Another hard question. You can try the RI from Sun used in OJB. Personally, I am waiting for the Apache OJB own implementation (Brian McCallister - currently working on it, thank

Re: Business Objects vs Data Objects [was Re: JXTemplates-what' s in a name?]

2004-05-12 Thread Joerg Heinicke
On 07.05.2004 17:37, Ralph Goers wrote: Antonio, People who say Cocoon is just a web publishing framework are nuts. We use very little flowscript and find it to be a very powerful presentation framework. I saw a comparison of various frameworks a while ago and Cocoon easily came out on top