Re: Modular database actions

2012-11-14 Thread Christian Haul
Am 14.11.2012 21:21, schrieb Mika M Lehtonen: Hi, I am using ye old modular database actions which in my opinion is extremely handy tool. I was just wondering, how would I get some sort of a callback from e.g. insert/update action in order to tell the user that his/her data is saved?

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: AW: Sendmail Action HTML-Mail Attachment

2004-05-09 Thread Christian Haul
Nils wrote: Hi Christian, Thanks for your answer. The lack of the Body-part wasn't the real problem. The problem ist, that it throws an exception as soon as i have an attachment and a html-mail. As far as I know the body-part is only used, when theres no src etc. Nils, I believe to have found

Re: Sendmail Action HTML-Mail Attachment

2004-05-07 Thread Christian Haul
Joerg Heinicke wrote: On 04.05.2004 13:07, Nils Köster wrote: I'm trying to send mail via the sendmail action with html-body and pdf-attachment, my sitemap looks like this: map:act type=sendmail map:parameter name=smtphost value=some.smtp.de/ map:parameter name=from value=[EMAIL

Re: Database Insert Across Multiple Tables

2004-05-01 Thread Christian Haul
lable with no inherent meaning. table-set name=user_groups table name=user_groups others-mode=request/ /table-set Chris. -Original Message- From: Christian Haul [mailto:[EMAIL PROTECTED] Please have a look at the descriptor.xml (I've removed the comments): table name

Re: sitemap.java

2004-04-29 Thread Christian Haul
Carmona Perez, David wrote: Hi all, Where can I find the generated sitemap.java in order to debug some problems I have? In Cocoon 2.0.4 I could find it in the configured work directory of my servlet. You won't -- in 2.1.x the sitemap is not compiled to java code anymore. Instead, the result of

Re: Database Insert Across Multiple Tables

2004-04-27 Thread Christian Haul
Mike Dickson wrote: When you hit the new user button in the Modular Database Actions demo application it does a GET with the user info and the group info. Why are only the user data listed below as params? Shouldn't the group data be also listed as params? Oh well, this is only a guard -- a

Re: Database Insert Across Multiple Tables

2004-04-24 Thread Christian Haul
Mike Dickson wrote: We are using Cocoon 2.1/MySQL 4.0.16 and have user data from a HTML form that needs to be inserted into two tables inside a single transaction. Inserts into a single table seem to be simple, but into multiple tables is little harder... How should I accomplish this? I have

Re: need help with xsp:formval

2004-04-20 Thread Christian Haul
Vlad Ali wrote: Hi all! i'm newbie in cocoon/ Explain to me pls where i can write xsp-formval:... logicsheet's tags? I have not found clear explanation this question on cocoonwiki and google You can write then anywhere on your XSP. However, IMO you should consider to use the

Re: Generic Table printout for Oracle ORDBMS

2004-04-18 Thread Christian Haul
Frank Thilo Mueller wrote: Dear Christian, thank you very much for your answer. I already had tried both ways before but I couldnt reach the result I am heading at. Im using the esql example to print out table column name number i. esql:get-column-name esql:param

Re: Database Actions - Multiple Deletion

2004-04-18 Thread Christian Haul
Davide wrote: Hi all i'm having a problem. I've a db with 2 tables, one takes posts and one other takes comments. there can be more comments related to a post, so when i delete a row form posts i want to delete every related comment from comments. How to do? this is the descriptor i use to

Re: DatabaseUpdateAction and {session-attr:custid}

2004-04-16 Thread Christian Haul
Stefan Geelen wrote: Hi, I posted this question a month ago or so but did not get any reaction. I hope I've more luck now... Basically the question is: How can I passs the a session attribute to a DatabaseUpdateAction ? More info below: I have following in my sitemap: map:action name=

Re: HTML fragment from database come escaped

2004-04-16 Thread Christian Haul
[EMAIL PROTECTED] wrote: hi all i try to post the html fragment as content of a text area in a xsp-action that add this content to a database (msaccess), everything works fine and when i check the table's content i see the posted html fragment. but when i use xsp to make a SELECT query, when

Re: Generic Table printout for Oracle ORDBMS

2004-04-16 Thread Christian Haul
Frank Thilo Mueller wrote: Dear Apache Community, I am a cocoon newbie and would like to implement an Oracle database frontend. The database tables are user generated, therefore I know neither the table names nor the type of the contents of the rows. They could be filled with ORDBMS Oracle

Re: ESQl and Stored Procedures

2004-04-16 Thread Christian Haul
Carlos Dias wrote: Hi, I'm trying to use a stored procedure for making an update in an Oracle database. Here is the xsp+esql code: ?xml version=1.0 encoding=iso-8859-1? xsp:page language=java xmlns:xsp=http://apache.org/xsp; xmlns:xsp-request=http://apache.org/xsp/request/2.0;

Re: MORE: [ESQL] esql:more-results seems broke with Oracle

2004-02-28 Thread Christian Haul
Rob Gregory wrote: Hi All I have been looking into the issue of EQSL paging no longer working with Oracle since upgrading Cocoon from 2.0.3 to 2.1.4 and although I can't see any direct reason in the code for this problem I have noticed that if I use jdbc as the limit clause instead of our default

Re: Processing errors from Database Actions

2004-02-21 Thread Christian Haul
Derek Hohls wrote: Perhaps I have used the wrong keywords, but I cannot find anything in the docs that deals with this I am trying to present to the user the reason why a Database Add (or Update) action may have failed. The sitemap is set up for the entry form to be redisplayed on failure

Re: Best practice for database manipulation?

2004-02-21 Thread Christian Haul
[EMAIL PROTECTED] wrote: Hello Christian, -Original Message- From: Christian Haul [mailto:[EMAIL PROTECTED] Sent: Monday, 16 February 2004 13:51 To: [EMAIL PROTECTED] Subject: Re: Best practice for database manipulation? Other than that, my advice is to put your database access

Re: Debugging Modular Database Actions...

2004-02-18 Thread Christian Haul
Derek Hohls wrote: I am struggling to get a simple database add performed when using the Modular Database Action (and, no, I do not want to do this in flow or some other way ;-). The log files do not show any errors - the database connection works OK for retrieving data (and I have checked the

Re: JXPathMetaModule configuration and sample use for function, package

2004-02-18 Thread Christian Haul
Roman Hrivik wrote: Hi Does anyone uses JXPathMetaModule with function or package parameter ? I have this in my cocoon.xconf : component-instance class=org.apache.cocoon.components.modules.input.JXPathMetaModule logger=core.modules.input.utils name=utils package

Re: Sendmail.xsp and whitespace gives error ?

2004-02-17 Thread Christian Haul
Stefan Geelen wrote: Hi, following sendmail action (partially reproduced) runs fine: sendmail:send-mail sendmail:fromxsp:exprrequest.get(from)/xsp:expr/sendmail:from ... == Note that you should read the sendmail:from as one line (in case your mail program wraps it). Now, with

Re: Best practice for database manipulation?

2004-02-17 Thread Christian Haul
[EMAIL PROTECTED] wrote: Other than that, my advice is to put your database access into a java class (better: Avalon components) and access it from flow. If you cannot or don't want to use flow, use actions to access it. Hmm. Could you give a more detailed example of how this would look like

Re: Best practice for database manipulation?

2004-02-17 Thread Christian Haul
Bastian Breithaupt wrote: Hello: If the logic is contained in avalon components, you'd need to obtain them first (AFAIR cocoon.newInstance(MYCOMPONENT.ROLE)) and release them afterwards. Remember to release components before creating a continuation, though. I have a flow script: var

Re: Combining database actions and Woody

2004-02-16 Thread Christian Haul
Derek Hohls wrote: In the Cocoon sample set for modular database actions, the author says: Note, that we do no parameter validation here, just see if some parameters are present. For a real application, you'd want to check their values as well. * First question - has anyone created an

Re: Best practice for database manipulation?

2004-02-16 Thread Christian Haul
[EMAIL PROTECTED] wrote: Due to the very specific nature of the interface to the databases. If you're interested: they are PIDS and COAS servers (see http://www.omg.org/healthcare, search for Person Identification Specification and Clinical Observation Access Specification). Basically they don't

Re: [ESQL] esql:more-results seems broke with Oracle

2004-02-16 Thread Christian Haul
Rob Gregory wrote: Please could anyone confirm that they are using Oracle with ESQL on Cocoon 2.1+ with the esql:more-results tag working?? Thanks in advance for any input. There have been some refactorings of the code that determines the number of rows in a resultset. These are most likely

Re: Cocoon and informix stored procedures

2004-02-14 Thread Christian Haul
Anna Bikkina wrote: Hi, I have to some a web app that runs stored procedures in informix. Gets the data in xml and converts to html,(tables),excel and other formats. Hence I choose cocoon to write my webapp. Is there a way I can call a stored procedure from cocoon and convert the resultset

Re: Checkbox and simple-form-validation

2004-02-08 Thread Christian Haul
Frederic Gaus wrote: Just a simple thing .. but I can not find any hint :( I'm validating a form using the simple-form-vatidation. The Problem is, the form should only be successfully validated, if the user enables a checkbox (to agree the licenses). The Validator can check agains String, long

Re: Impossible to use reader as source of XSLT?

2004-01-08 Thread Christian Haul
[EMAIL PROTECTED] wrote: Hi, I have a problem. I want to use transformer, it gets XSL stylesheets not from filesystem, but from database. As some good mind advised, I used cocoon:/ protocol to call another pipeline with databasereader, which returns appropriate XSL stylesheet. But cocoon

Re: XSL template from database

2004-01-08 Thread Christian Haul
Jorg Heymans wrote: Hi, Can you elaborate a bit on what you mean by creating a source? Is this an avalon component? I've seen this word popup every now and then, just curious :) please see http://avalon.apache.org/excalibur/api/ Chris.

Re: Sendmail attachment : cocoon:/// - why 3 /s ?

2004-01-07 Thread Christian Haul
Joerg Heinicke wrote: I have never used it myself, but I know that some are using it through reading mails on this list. I searched the archives a bit and nobody complains about a similar error, for everybody cocoon: with 1 and 2 slashes seem to work. Where are the people having sendmail with

Re: XSL template from database

2004-01-05 Thread Christian Haul
Jorg Heymans wrote: You could make a custom transformer that reads the stylesheet from the This is not necessary. One could use the cocoon: protocol when specifying the source for the stylesheet. Next, a pipeline for the stylesheet is needed that consists only of the database reader et voilà. And

Re: Cocoon + postgreSQL

2004-01-05 Thread Christian Haul
Tommy Smith wrote: Thank you and Luca for your replies. I'm getting closer to what I want now. My problem now is processing the resultset from my stored procedure. esql:call snip/ esql:call-results esql:row-results esql:get-columns/ This works *only* if the driver will return a

Re: how to configure JXPathMetaModule?

2004-01-04 Thread Christian Haul
joakim verona wrote: Hello, I would like to URL encode in the sitemap, and I figured the JXPathMetamodule would be useful. However, I cant figure out how to configure it. The docs mention a function element that can be used to define java classes to be used with jxpath: function

Re: [mod-db] Pb with input module

2004-01-04 Thread Christian Haul
Laurent Trillaud wrote: Hello I want to override the default request-param input module in the database.xml by another input module. For example, if I change name filed in the database.xml provided in /samples/databases/mod-db/ to this snippet table name=user alias=user keys...keys values

Re: Chaining modules and prefixes

2004-01-04 Thread Christian Haul
g[R]eK wrote: . Hi users! . I want to chain request-param and session-context modules. The problem is with context name for session-context module. For example if I ask request-param module for 'view' value, the session-context module should be asked for 'user/view' where 'user' is a name

Re: PATCH: RawRequestParameterModule

2004-01-04 Thread Christian Haul
joakim verona wrote: Hello list, This is a patched version of RawRequestParameterModule so that it returns URLencoded request parameters. The docs say that whats this module is supposed to do, and I'm shure it did/does in some circumstances. I'm trying to do a proper patch entry in bugzilla

Re: map:select parameter value from xsp?

2004-01-04 Thread Christian Haul
julien bloit wrote: Isn't there a work-around for this ? I'm not a java expert, and I'm in a testing phase for my project where using xsp would be much more straight-forward, as in my case, the logic needs to make database and session-context accesses to set the parameter value. use an xsp-action

Re: Newbie: Nested map:act in sitemap for DatabaseAuthenticatorAction and DatabaseSelectAction?

2003-12-23 Thread Christian Haul
Joe D. Williams wrote: map:match pattern=dologin map:act type=authenticator map:parameter name=descriptor value=context://support/content/defs/authenticate.xml/ map:act type=select map:parameter name=descriptor value=context://support/content/select.xml/ Mmmh, sure the file location is

Re: How to get an array form request in flowscript?

2003-12-23 Thread Christian Haul
Stephan Coboos wrote: Hello, I have a html form with some checkboxes in it. The checkboxes have all the same name but different values: input type=checkbox name=del value=first/ input type=checkbox name=del value=second/ input type=checkbox name=del value=third/ In my flowscript now I want to

Re: Pipeline matching problem

2003-12-23 Thread Christian Haul
[EMAIL PROTECTED] wrote: Hi, I cannot imagine I'm the first to stumble onto this so I hope some of you have a solution to this problem: How can I refer to an absolute path, but relative to the root directory of my webapplication, both in the sitemap and in any content file. Situation:

Re: Pipeline matching problem

2003-12-23 Thread Christian Haul
Christian Haul wrote: [EMAIL PROTECTED] wrote: Hi, I cannot imagine I'm the first to stumble onto this so I hope some of you have a solution to this problem: How can I refer to an absolute path, but relative to the root directory of my webapplication, both in the sitemap and in any content

Re: Pipeline matching problem

2003-12-23 Thread Christian Haul
[EMAIL PROTECTED] wrote: Hi, Thank you all for trying to solve this problem. As far as possible I've tried your suggestions but so far I only realized I haven't provided enough information. BTW. Christian: I haven't been able to find any info on the LinkRewritingTransformer. Could you give a

Re: Newbie: Nested map:act in sitemap for DatabaseAuthenticatorAction and DatabaseSelectAction?

2003-12-22 Thread Christian Haul
Joe D. Williams wrote: Thanks to Christian Haul for answering my previous post. Still can't get the parameter I want passed to the session. I want to authenticate users by a username and password, using DatabaseAuthenticatorAction and then pull information from the same database table

Re: Need Help with SessionAttributeSelector in Sitemap

2003-12-22 Thread Christian Haul
Jürgen Haas wrote: Hello, unfortunately I could not find what I am searching for neither by using a search engine nor by browsing cocoon faq or mail archives. Maybe You can help me. I tried to use the SessionAttributeSelector in my sitemap as follows:

Re: Problem in passing http request parameters

2003-12-19 Thread Christian Haul
Ashish Kumar wrote: 2) I have to pass second parameter from a simple query, where I m using the line: xsl:attribute name=HREFc_code=xsl:value-of Please remember that starts an entity in XML. Exactly for this reason there is an entity representing : amp; Hence the above code will complain about an

Re: Improved handling of mod-db and actions in sitemap?

2003-12-19 Thread Christian Haul
Derek Hohls wrote: !-- delete one user -- map:act type=req-params map:parameter name=parameters value=del-user user.uid/ map:act type=mod-db-del map:parameter name=table-set value=user/ /map:act /map:act This approach means that for each new table or table group you need to create a

Re: Improved handling of mod-db and actions in sitemap?

2003-12-19 Thread Christian Haul
Derek Hohls wrote: Chris Thank you for all the help - I will need to go and process this to see how it all works - one quick question ... is it possible for Woody to be part of the process outlined below i.e. could it serve as the form descriptor file and help with validation... Derek, to be

Re: Complete database sample with Cocoon 2.1 ?

2003-12-18 Thread Christian Haul
Derek Hohls wrote: Does anyone know of a more comprehensive sample than the one supplied in the Cocoon samples directory? (under cocoon/samples/databases/mod-db). In the sitemap, the comment is made that: * no parameter validation is done (in a real application, you'd want to check their values

Re: Form validation problem

2003-12-15 Thread Christian Haul
Joe D. Williams wrote: Working on the examples in Chapter 12 of Lajos and Jeremy's book, I cannot get the new ticket form to return the results. It just keeps displaying the blank form, without updating the database. I am running Cocoon 2.0.4 on Tomcat 4.1.27 standalone with J2SDK1.4.1 and MySQL

Re: Authentication context and modular database action.

2003-12-12 Thread Christian Haul
Simon Hutchinson wrote: Hi, I am using a ModularDatabaseAction to insert a row into a database. Everything is working fine as most of the field values are available as request parameters.However I also need to store a value that is stored in the authentication context. I am sure that writing my

Re: Using Cron to call pipelines in background

2003-12-10 Thread Christian Haul
Dean Cording wrote: Has anyone used the Cron block to invoke a pipeline in the background? If you use the scheduler, you may not access cocoon: URLs because they are only available from within a request. A workaround is to use http: URLs and thus create an external request. To avoid others from

Re: flow: how to upload images into a database

2003-12-09 Thread Christian Haul
Joern Wallstabe wrote: or can I use convert, setColumn etc. from org.apache.cocoon.util.JDBCTypeConversions ?? Guess so. But the input object must be of a supported type (the sample uses the raw-request-param module for this). Chris.

Re: Problems with simple-form transformer in 2.1.3

2003-12-05 Thread Christian Haul
Frederic Gaus wrote: On Thu, Dec 04, 2003 at 01:47:39PM +0100, Christian Haul wrote: Frederic Gaus wrote: to get a line-break. This is not working any longer. After transforming a few tags are missing (not the br, but for example the /form-Tag) and my xml gets invalid. I also

Re: Problems with simple-form transformer in 2.1.3

2003-12-04 Thread Christian Haul
Frederic Gaus wrote: On Tue, Dec 02, 2003 at 08:33:24PM +0100, Christian Haul wrote: Christian Haul wrote: Hi! I used cocoon 2.1.1 with no problems (using Form-validation). After a update to 2.1.3, I got very many problems with the simple-form-transformer. I have no solution

Re: modular database actions

2003-12-03 Thread Christian Haul
Garvin Riensche wrote: hi there, i tried to create a simple example with modular database actions. the only thing i want cocoon to do is to store a number from a form field into my database. but it seems like cocoon doesn't propagate the input number from the form to the action as i always get

Re: log messages of actions and modules

2003-12-02 Thread Christian Haul
Michael Wolf wrote: Hello, Is there a introduction to the cocoon log-system? I look for log-messages in the WEB-INF/logs directory. And I can also write my own error messages from the flow, but I cannot find any messages from my input/output modules and the modular database actions I use. The

Re: Problems with simple-form transformer in 2.1.3

2003-12-02 Thread Christian Haul
Frederic Gaus wrote: Hi! I used cocoon 2.1.1 with no problems (using Form-validation). After a update to 2.1.3, I got very many problems with the simple-form-transformer. I have no solution to these problems, maybe someone could help me: in my source-xml I used error-tags like: error

Re: Problems with simple-form transformer in 2.1.3

2003-12-02 Thread Christian Haul
Christian Haul wrote: Frederic Gaus wrote: Hi! I used cocoon 2.1.1 with no problems (using Form-validation). After a update to 2.1.3, I got very many problems with the simple-form-transformer. I have no solution to these problems, maybe someone could help me: in my source-xml I used error-tags

Re: How to show files from database / DatabaseReader problem

2003-11-30 Thread Christian Haul
Joerg Heinicke wrote: On 30.11.2003 02:20, [EMAIL PROTECTED] wrote: Hi, I have a big problem with Database reader. I'd like to make a common stuff - in the database I are stored binary files (table structure looks: (id, content, filename, mimetype) and I'd like to map url file/234 on the

Re: Upload with incorrect encoding

2003-11-30 Thread Christian Haul
[EMAIL PROTECTED] wrote: Db supports BLOBs, but I never did anything with them in java, less so cocoon :) Is it possible to use ESQL someways? Probably not, isn't it :) ESQL and (modular) database actions support blob, clob types. AFAIR ESQL can only get them while the actions can insert and

Re: Docs or examples for modular database actions?

2003-11-29 Thread Christian Haul
Thomas Nichols wrote: BTW I've been reading docs on SOFIA recently From salmonllc.com? Looks interesting on paper - RAD for J2EE... Yep. Although I believe Cocoon is well up to the job ;-) and am wondering if we should provide a _second_, less powerful but simpler interface to esql: ol

Re: Docs or examples for modular database actions?

2003-11-28 Thread Christian Haul
Steve Schwarz wrote: ModularDb is quite stable and Christian has been very helpful in answering any questions. I can't quite put a finger on what is wrong :-D this saves me writing go ahead, just ask :-) BTW I've been reading docs on SOFIA recently and am wondering if we should provide a

Re: RequestParameterModule

2003-11-27 Thread Christian Haul
Roman Hrivik wrote: This can be reported as bug, I think. When I try to access for parameter from request in sitemap and in request is not such parameter I'll get null-exception. I think that RequestParameterModule should return always not null value. Nope since is different from null eg on

Re: portal engine on Cocoon 2.1.3

2003-11-27 Thread Christian Haul
David Geleyn wrote: Hi all! I'm looking at the (new) portal engine of cocoon and I have some questions about it: It is possible to make any coplet fullscreen, which is great, but how exactly do you know whether you are in full screen mode or not (when you are creating the coplet)? It would be

Re: xsp troubles with loops and an esql

2003-11-24 Thread Christian Haul
[EMAIL PROTECTED] wrote: hi people last days i'm in trouble trying to run a recursive - like SQL query in my table are rows with an id column and a column that specify the parent_id (row). so when i get a row (with id=10 for example) the i have to ask all the rows with the value 10 in column

Re: Custom Action - return custom object in Map

2003-11-21 Thread Christian Haul
Roman Hrivik wrote: Hi there, I'm trying to do my custom action. I want to return any other object to sitemap For example I will do mymap.put(retparam, myCustomObject) myCustomObject has few set/get methods for example getUsPrice(), getEurPrice() what I want to ask is - how can I access

Re: DB Modular Actions and Output Modules?

2003-11-20 Thread Christian Haul
Andrzej Jan Taramina wrote: Is there any way to change the name of the attribute that is used when a DB Modular Action writes an attribute out to the request? That is, any way to get rid of the massively long prefix of org.apache.cocoon.components.modules.output.OutputModule: that is used as

Re: Making Sitemap parameters available in XSP

2003-11-05 Thread Christian Haul
Chris Morgan wrote: I'm trying to return a series of parameters from an authentication action that I'd like to make available to the XSP pages within the same pipeline. These parameters represent common session variables that are retrieved from a database and made available to the application for

Re: Database actions - how to implement conditions?

2003-10-31 Thread Christian Haul
Jan Wielgus wrote: Hello, I'm using DatabaseDeleteAction to delete rows from a table. But before the row is deleted I would like to check it for a condition (in this special case if the primary key of that row is not anymore referenced in other tables - if it would be, than it can't be deleted).

Re: xsp-formval question

2003-10-27 Thread Christian Haul
Jian Dai wrote: Hi, Is there anybody know if we can dynamic assign the value for the name in xsp-formval tag? Here is an example: -Original Message- From: Johannes Becker [mailto:[EMAIL PROTECTED] Sent: Monday, October 27, 2003 1:16 AM To: [EMAIL PROTECTED] Subject: XSP-vormvalidation

Re: SimpleFormTransformer not working

2003-10-27 Thread Christian Haul
Leszek Gawron wrote: On Mon, Oct 27, 2003 at 05:14:54PM +0100, Leszek Gawron wrote: Hello, I have been using SimpleFormTransformer (for prefilling form values I forgot to tell you that the problem occurs in most recent cocoon 2.1 cvs snapshot ouzo, I can confirm this problem. First look

Re: SimpleFormTransformer not working

2003-10-27 Thread Christian Haul
Joerg Heinicke wrote: On 27.10.2003 22:10, Christian Haul wrote: ouzo, I can confirm this problem. First look suggests it's related to the move to the serviceable interface. E.g. using modules from logicsheet does fail as well but database actions work fine. I will try to look

Re: Example for session output module anyone?

2003-10-23 Thread Christian Haul
Mika Fonsen wrote: Hi, As far as I know, output modules work only from modular database actions (set in the descriptor files). I asked this few messages back and got confirmation to this. This would be a great feature, tough :) This is incorrect. Output modules are in no way tied to the database

Re: Cocoon Forms or not?

2003-10-23 Thread Christian Haul
Gianluca Sartori wrote: Okay, thank you all, I think I'll go with the FormValidatorActions. It seems to be the most documented. Unfortunally I don't have much time neither to follow Woody progress nor to try undocumented features. If you really want to use plain HTML forms you should make sure to

Re: How to pass parameters to mod-db actions from sitemap?

2003-10-20 Thread Christian Haul
Mika Fonsen wrote: Question: What's the best way to pass parameters from sitemap to mod-db-action? Could output modules be used to do this? Unfortunately, this is not possible because of the way sitemap parameters work and the fact that an input module must be used. This does not work together

Re: Serializing to a request attribute Database Actions questions....

2003-10-17 Thread Christian Haul
Andrzej Jan Taramina wrote: What confuses me a bit still is how the modes actually work. It seems that you can specify multiple modes and then select them, which will in turn cause the input/output data to be read/written to different places. Yes. Only input, though. Output is configured from

Re: Getting request parameters as an XML document

2003-10-17 Thread Christian Haul
Tony Collen wrote: Oleg Dulin wrote: Dear Colleagues: Is there a way to get HTTP POST parameters as elements in an XML document ? For instance: requets post parameter name=foo value=bar / /post /request Oleg, Yep, check out the RequestGenerator:

Re: PreparedStatement

2003-10-14 Thread Christian Haul
On 14.Oct.2003 -- 10:15 AM, Geert Van Damme wrote: Hi all, The docs say a prepared statement is created whenever a esql:parameter/ tag appears in the query. If I use this tag in a nested query (not a subquery in sql but a nested query in XSP), will the same prepared statement be used for

Re: I am also having problems with logicsheets

2003-10-14 Thread Christian Haul
On 14.Oct.2003 -- 12:18 PM, Christopher Painter-Wakefield wrote: A logicsheet that really does nothing at all would contain at least one template, e.g.: xsl:template match=xsp:page xsl:copy-of select=./ /xsl:template better !-- Copy all nodes that were not handled by a dedicated

Re: modular database actions and passing params from sitemap

2003-10-13 Thread Christian Haul
On 13.Oct.2003 -- 11:05 AM, Joose Vettenranta wrote: Hi, I didn't find info on the subject, to how to pass information to AddAction from sitemap. I have created resource, which I call with certain parameters. These parameters I would like to add to database.. little like this: AFAIK

Re: output-modules

2003-10-10 Thread Christian Haul
On 10.Oct.2003 -- 10:33 AM, Frederic Gaus wrote: Hi! I would like to use output-modules. But I just can not find out how to use them. It's very clear and easy to use input-modules, just like variables. But how do I have to use the output-modules? Thanks for all your hints. Concept is

Re: output-modules

2003-10-10 Thread Christian Haul
On 10.Oct.2003 -- 07:47 AM, Ralph Goers wrote: Christian, Do you have any examples? Anything special? Modular database actions use output modules, SimpleFormInstanceExtractionTransformer, and TestAction do as well. Chris. -- C h r i s t i a n H a u l [EMAIL PROTECTED]

Re: Sendmail attachment

2003-10-09 Thread Christian Haul
On 08.Oct.2003 -- 06:09 PM, Josep Riudavets wrote: Thanks a lot ... now, it works perfectly ... I did not undersand cocoon protocol, but now I have learned some things about it ... thanks again Another question ... I'm generating pdf files in order to be attached. These files are named

Re: request:requestURI vs requestURI:requestURI

2003-10-09 Thread Christian Haul
Sonny Sukumar wrote: From: Horsfield, Peter A. [EMAIL PROTECTED] Hey Sonny, Sorry it didn't end up clear. {request:requestURI} and {requestURI:requestURI} the first, and differing, part can be any name that is mapped to the RequestURIModule in cocoon.xconf : Using the names as

Re: request:requestURI vs requestURI:requestURI

2003-10-09 Thread Christian Haul
Sonny Sukumar wrote: From: Horsfield, Peter A. [EMAIL PROTECTED] Assuming these things, I'd like something that returns the request URI along with the full query string. Use RequestModule Try: {request:/requestURI} I've not personally done this, but it seems logical. Hmm, why the /?

Re: Sendmail attachment

2003-10-08 Thread Christian Haul
Josep Riudavets wrote: I'm using Cocoon 2.1. In Cocoon documentatio, there is an example of sending mail with attachment: sendmail:send-mail sendmail:fromfrom address/sendmail:from sendmail:tosome maillinglist address/sendmail:to sendmail:subjectxsp-request:get-parameter

Re: outputing parameters in XSP

2003-10-07 Thread Christian Haul
Gell, Ashley wrote: I am using Cocoon 2.1.1 As illustrated by the sample pipeline below, I have a navigate action which determines, among other things, the buttons to be displayed on the page. The current page is passed into the navigate action, which is used to determine and return the

Re: [GT] Ghent 2003 - Meeting on Sunday Evening?

2003-10-02 Thread Christian Haul
On 02.Oct.2003 -- 11:11 AM, Bruno Dumon wrote: Will you still need to eat then? If so, I'll save my hunger. Note: for eating we'll probably go to the backstage, 30 meters further, other side of the street. IIRC my train arrives around 18 something. So there wouldn't be much time to eat

Re: sendmail...again

2003-09-26 Thread Christian Haul
On 26.Sep.2003 -- 02:27 PM, Michael Hohmann wrote: Hi people, got sendmail working now by using a local mailserver that doesnt require smtp-auth. The server then forwards the mails into inet (one day :-)) I think that's a bit fake but I guess smtp-auth will be implemented in cocoon one day.

Re: Database access using sitemap parameter

2003-09-26 Thread Christian Haul
On 26.Sep.2003 -- 05:37 PM, Stephen Winnall wrote: Hi I am writing a generator which returns metadata from a database via JDBC. I would like to retrieve the name of the database from the pool declared in cocoon.xconf. The examples that I have seen show how to do this by extending

Re: Accessing FormValidatorAction parameters in the sitemap

2003-09-23 Thread Christian Haul
in the page2html.xsl transform - however, I always get a null value returned even when the validation is successful - is the above syntax incorrect? Chris. -- Christian Haul -- C h r i s t i a n H a u l [EMAIL PROTECTED] fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08

Re: nested variable substitution?

2003-09-23 Thread Christian Haul
Verwer, Nico wrote: Dear subscribers, I have a question concerning variable substitution. In my sitemap I define a global variable: map:component-configurations global-variables basemyDirectory/base /global-variables /map:component-configurations Now I try to use this

Re: Accessing FormValidatorAction parameters in the sitemap

2003-09-22 Thread Christian Haul
On 22.Sep.2003 -- 02:36 PM, Derek Hohls wrote: Working with Cocoon 2.0.4 and JDK 1.3... I am trying to get the value of parameters used in a FormValidatorAction, to pass as new parameters further on in the sitemap. According to the Cocoon API docs, if I have : map:act

Re: Parameters

2003-09-18 Thread Christian Haul
On 17.Sep.2003 -- 05:41 PM, Diego Cattelan wrote: Hi I'm new to Cocoon system and I don't understand how to pass parameters from sitemap: sitemap.xmap: map:match pattern=auth_entra map:generate src=../globals/authentication/auth.xsp type=serverpages

Re: Parameters

2003-09-18 Thread Christian Haul
On 17.Sep.2003 -- 11:07 AM, jcplerm wrote: I implemented an action to set an attribute on the request object which looks like: map:act type=SetRequestAttributeAction map:parameter name=requestAttributeName value=attr1/ map:parameter

Re: XML2HTML

2003-09-18 Thread Christian Haul
On 18.Sep.2003 -- 03:36 PM, Christoph Strehl wrote: Hello there, I am new to Cocoon and I am already having problems with my first example. I am trying to convert a XML file to HTML. My XML-file looks - simplified - like this: para Text with picture picsource.jpg/pic and some

Re: 2 questions about sendmail logicsheet/block

2003-09-09 Thread Christian Haul
On 09.Sep.2003 -- 03:48 AM, Tomasz Nowak wrote: Hello, I wonder: 1. How can I smtp-authorize at given sendmail:smtphost ? Is that feature implemented somewhere or shall I go to dev@ and ask developers to implement such function? javamail supports this to some extend. However,

Re: Problem getting result set from Oracle stored procedures

2003-09-08 Thread Christian Haul
On 08.Sep.2003 -- 02:47 PM, Martin Rusnak wrote: Finally I used that approach, but I encountered another bug in esql.xsl. There is no matching prarenthesis on line 1007: Thanks for reporting. Fixed in CVS. Chris. -- C h r i s t i a n H a u l [EMAIL PROTECTED] fingerprint:

Re: get-xml in ESQL problem

2003-09-06 Thread Christian Haul
g[R]eK wrote: . Hi users! . I have strange problem with ESQL. I want read xml from database as full xml document (not fragment). So I decided to use esql:get-xml, it works almost fine. 'Almost' because I must insert the xml from database in some tag, the root element of xml in database

  1   2   >