R: Cocoon SQL Transformation
Tom, what about adding a couple quotes around the username value ? Something like: insert into user_info (USERNAME) values ('xsl:value-of select=detail/name/') Best regards, P.S. Mind ! Strings may contain unmatched single quotes, which greatly offend the SQL parser, think about converting unmatched single quotes in matched ones (' -- '') before sending SQL statements to the SQLTransformer. Luca Morandini [EMAIL PROTECTED] -Messaggio originale- Da: Tom Place [mailto:psyttrp;nottingham.ac.uk] Inviato: lunedì 28 ottobre 2002 18.19 A: [EMAIL PROTECTED] Oggetto: RE: Cocoon SQL Transformation OK the actual XML that is going into the failing XSL is as follows: user detail nametomplace/name passwordtom/password firsttom/first lastplace/last /detail existing-user rowset / /existing-user /user The fact that the existing user rowset is empty is a good thing (if it wasn't empty then something else happens that works! The xsl that fails is as follows: ?xml version=1.0? xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform; xmlns:sql=http://apache.org/cocoon/SQL/2.0; xsl:template match=user page xsl:choose xsl:when test=existing-user/sql:rowset/sql:row titleBlah/title /xsl:when xsl:otherwise execute-query xmlns=http://apache.org/cocoon/SQL/2.0; query insert into user_info (USERNAME) values (xsl:value-of select=detail/name/) /query /execute-query titleBlah 2/title /xsl:otherwise /xsl:choose /page /xsl:template /xsl:stylesheet -Original Message- From: Luca Morandini [mailto:spectrum.morandini;ipzs.it] Sent: 28 October 2002 15:27 To: [EMAIL PROTECTED] Subject: R: Cocoon SQL Transformation Tom, I guess your pipeline contains a couple XSLT transformations and a couple SQL ones (one for the select, one for the insert), isn't it ? If this is true, could you please send me the XML which is sent to the failing transformation (be it SQL or XSLT) ? I'm interested in the actual XML document going into the transformer, not in the XSL source code. Best regards, Luca Morandini Istituto Poligrafico e Zecca dello Stato [EMAIL PROTECTED] [EMAIL PROTECTED] We are protected from the virus by Norton Antivirus Corporate Edition - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] We are protected from the virus by Norton Antivirus Corporate Edition - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
xmlform and build
hello, I'm trying to write my first XMLForm form and I follow the doc example (wizard howto). In the last step (step 5) you have to (re)build the entire Cocoon app using the command build ... webapp to have a new cocoon.war. Is it possible to compile only the new java files and add the .class directly in the Tomcat webapps directory (without using the .war). And when you want the up-to-date .war, you make the command jar ?? Thank you for your suggestions and experiences. Sylvain Thevoz - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
R: XML to Excel file
Boris, I think your message got a bit underlooked: I agree it is quite a dirty trick, but it actually seems to work. I tried on both Excel 97 and 2000: in both cases the file gets correctly opened, and it retains the original HTML formatting (multiple colspan, colors, etc.). As you save the file from within Excel, it seems to get saved in XLS binary format, which prevents further HTML conversions as the file is opened later. Since I think that most time spent on M$ proprietary formats could be better spent :-), I definitely suggest anyone needing such a solution to give it a try. I actually added such a line to the sitemap: map:serializer name=xls mime-type=application/vnd.ms-excel src=org.apache.cocoon.serialization.HTMLSerializer I think that the POI HSSF approach is definitely the right way to go, but I also think that it can be quite time-consuming (the need to write an alternate XSL in yet-another markup language can be quite tedious, especially for complex tables, since the GNumeric format also requires you to think in quite a different way from HTML table logic). I would appreciate any comments, L. -Messaggio originale- Da: Boris Althaus [mailto:boris;petra-productions.de] Inviato: lunedì 28 ottobre 2002 17.43 A: [EMAIL PROTECTED] Oggetto: Re: XML to Excel file Hi Chris, when you set the content-type in a servlet like response.setContentType(application/vnd.ms-excel); a simple html-table will opened as excel-file, if Excel is installed. but i think it is not a question for [EMAIL PROTECTED] Boris - Original Message - From: Dorsey, Chris To: [EMAIL PROTECTED] Sent: Monday, October 28, 2002 5:25 PM Subject: XML to Excel file Does anyone have recommendations on how to get from an XML stream to an Excel file without using cocoon? - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: xmlform and build
Hallo Sylvain Yes, it is bossible to compile the new Java files and put them under the WEB-INF classes directory under cocoon and the ramaing files relating to schematron and XMLForms files and stylesheets put them as a common web application under cocoon samples or whatever u want. I wish this will help Mohamed [EMAIL PROTECTED] wrote: hello, I'm trying to write my first XMLForm form and I follow the doc example (wizard howto). In the last step (step 5) you have to (re)build the entire Cocoon app using the command build ... webapp to have a new cocoon.war. Is it possible to compile only the new java files and add the .class directly in the Tomcat webapps directory (without using the .war). And when you want the up-to-date .war, you make the command jar ?? Thank you for your suggestions and experiences. Sylvain Thevoz - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[sitemap] Passing parameters to XML
In Cocoon-1.8.2, I can handle parameters to XML as follows: http://b.c/Q/zzz.xml?color=red and I can recover the value of 'color' in zzz.xml with: xsp:logic String colorParameter = request.getParameter(color); /xsp:logic But I have tried to duplicate the above with numerous incantations of sitemap (under cocoon/mount/MyProject) with no luck. How can I handle the above in Cocoon 2? (Windows XP, Apache 2, Tomcat 4.1.12(JK2:ajp13), Cocoon-2.0.3) Dave Biggar - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: xmlform and build
Yes it will help me, thank you Mohamed. Do you know how to extend this sample to write data you entered in persistence storage (database)? Sylvain -Message d'origine- De: Mohamed El-Refaey [mailto:m.refaey;imkenberg.de] Date: mardi, 29. octobre 2002 22:13 À: [EMAIL PROTECTED] Objet: Re: xmlform and build Hallo Sylvain Yes, it is bossible to compile the new Java files and put them under the WEB-INF classes directory under cocoon and the ramaing files relating to schematron and XMLForms files and stylesheets put them as a common web application under cocoon samples or whatever u want. I wish this will help Mohamed [EMAIL PROTECTED] wrote: hello, I'm trying to write my first XMLForm form and I follow the doc example (wizard howto). In the last step (step 5) you have to (re)build the entire Cocoon app using the command build ... webapp to have a new cocoon.war. Is it possible to compile only the new java files and add the .class directly in the Tomcat webapps directory (without using the .war). And when you want the up-to-date .war, you make the command jar ?? Thank you for your suggestions and experiences. Sylvain Thevoz - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: once again urlrewriting
hi all! does nobody has an idea what my problem is? please help, i can't continue my work! greetings, chris -Ursprüngliche Nachricht- Von: Christoph Stocker [mailto:chris.stocker;gmx.at] Gesendet: Montag, 28. Oktober 2002 11:46 An: [EMAIL PROTECTED] Betreff: once again urlrewriting hi all! i use cocoon 2.0.2, win2000 and weblogic 6.0sp2 sorry to write again about my problem with url-rewriting. i want to tell again, in a detailed from, my problem. maybe someone can help me. i wrote a web-app using a java action described in http://comphy.fsu.edu/xml/docs/actions.html with additional session-handling. with the use of cookies, everthing is fine - now i want to do it with url-rewriting and i did it the following way. my action looks as following (here a code snipped from the main-part) --- package com.isolab.or.action; import org.apache.avalon.framework.parameters.Parameters; import org.apache.cocoon.acting.AbstractAction; import org.apache.cocoon.Constants; import org.apache.cocoon.environment.Redirector; import org.apache.cocoon.environment.Request; import org.apache.cocoon.environment.SourceResolver; import org.apache.cocoon.environment.Session; import org.apache.cocoon.environment.ObjectModelHelper; import org.apache.cocoon.environment.Response; import java.util.*; import java.util.Map; import java.util.HashMap; public class ORMainAction extends AbstractAction { public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters params) { Map sitemapParams = new HashMap(); Request req = ObjectModelHelper.getRequest(objectModel); Session session = req.getSession(); if (session.isNew()) { session.setAttribute(atr1, TestAttribute1); sitemapParams.put(nextpage, test1); } else { session.setAttribute(atr2, TestAttribute2); sitemapParams.put(nextpage, test2); } return sitemapParams; } } my sitemap looks as following -- as described in http://xml.apache.org/cocoon/userdocs/transformers/encodeurl-transformer .html . . map:transformer logger=sitemap.transformer.encodeURL name=encodeURL src=org.apache.cocoon.transformation.EncodeURLTransformer/ . . map:action name=ORAction src=com.isolab.or.action.ORMainAction/ . . . map:match pattern=startOR map:act type=ORAction map:generate src=orneu/{nextpage}.xsp type=serverpages/ map:transform src=orneu/xml2html.xsl type=xslt/ map:transform type=encodeURL/ /map:act map:serialize type=html/ /map:match i turned off the use of cookies in my weblogic-property file weblogic.xml --- if i call my page an the action is called the first time, everthing works fine (a new session is created, ...). but the second time with the same browser (when the session is still there), the session is creted again). this doesn't happen when i enable cookies in my welogic.xml propertiy file welogic.xml -- ?xml version=1.0 encoding=UTF-8? weblogic-web-app session-descriptor session-param param-nameCookiesEnabled/param-name param-valueTrue/param-value /session-param session-param param-nameURLRewritingEnabled/param-name param-valueTrue/param-value /session-param session-param param-nameSessionTrackingEnabled/param-name param-valueTrue/param-value /session-param /session-descriptor /weblogic-web-app i studied the EncodeURLTransformer, but it doesn't helped me (i don't know how to in my action use this for url-rewriting) i also read chapters in some books about url-rewriting, they always use response.encodeURL(URL); but how can i use this response in my action? what do i have to modify? how can i use the EncodeURLTransformer in my action? do i have to do this? is the only part to change, to use url-rewriting to insert map:serialize type=html/ in my sitemap? are there some examples or has someone examples doing url-rewriting with cocoon and actions. i tried several tasks, but it always leeds to the error (every time a new session is creted and the previous session information is lost) described above. please help, if someone has an answere. greetings, chris - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail:
Re: once again urlrewriting
Hi I don't know what may cause your problem. But I realized that your sitemap snippet is wrong: The map:serialize must be in the map:act element -peter . . map:match pattern=startOR map:act type=ORAction map:generate src=orneu/{nextpage}.xsp type=serverpages/ map:transform src=orneu/xml2html.xsl type=xslt/ map:transform type=encodeURL/ /map:act map:serialize type=html/ /map:match - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Using SOAP Response in logic
Hello, I have tried several techniques to try and get a value from a SOAP response to use as the value of a cookie. The closest I have got is to capture an XMLFragment using a xscript transform. But I have been unable to get a string from this fragment for use in a call to the builtin cookie logicsheet. A more general question might be 'How can I use dynamic XML in logic within a generator?' Would Cocoon benefit by the addition of one or more 'Processor' pipeline steps between the generator and transformer? I am using Cocoon 2.0.3 on Tomcat. Thanks, Robin Robin Cottiss Applied Decision Support - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: xsp request variable is not declaired
Try putting a document tag around all of your content and logic. I.e.: = ?xml version=1.0? xsp:page language=java xmlns:xsp=http://apache.org/xsp; content xsp:logic String keyword = request.getParameter(value); /xsp:logic The 'value' parameter was: xsp:exprkeyword/xsp:expr /content /xsp:page = I think the problem might come from the fact that until first XML data is emited, you are not in the context of the request handler, but in the context of the class. I am not 100% sure, but it would be easy for you to check if you looked at the generated source code. The request variable probably isn't set until you are actually in the handler method. Also, the namespace URI you have for xsp prefix (xmlns:xsp=http://apache.org/xsp;) seems to be correct - that's what the xsp.xsl logicsheet is using. G'luck. -- Ilya Eric Everman wrote: At 10/28/2002, you wrote: You do not appear to have declared `keyword'. i.e., try: String keyword = request.getParameter(value); Dave Ha, fair enough. But believe it or not, this is a copy/paste error. Here is the simplest xsp page that causes the problem (verbatim this time): = ?xml version=1.0? xsp:page language=java xmlns:xsp=http://apache.org/xsp; xsp:logic String keyword = request.getParameter(value); /xsp:logic content The 'value' parameter was: xsp:exprkeyword/xsp:expr /content /xsp:page = This xsp causes a NPE: java.lang.NullPointerException at org.apache.cocoon.www.examples.db1_xsp.(D:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\cctest\cocoon-files\org/apache/cocoon/www/examples\db1_xsp.java:62) Line 62 is String keyword = request.getParameter(value); Sorry for the initial mis-post. Any ideas? Eric Everman - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: xmlform and build
Hallo Sylvain nice, that this help u :) . ofCourse it is easy to extend this sample to write data entered in the XMLForms into persistance storage[DB] for e.g : if u use EJB as a persistance layer in ur project , u can easily in the Perform() method in ur Action after u get ur model Bean: DataBean jBean = (DataBean) getForm().getModel(); u can extract the entered data from this bean, and sned it in any way[Collection data type or whatever u accept the user data] along with a VO(value-object) to be entered into DB by the aid of EJB Class that take this VO and perform the Insert query or whatever the command u need to do with DB I think this is a breif answer but I wish it give u the way Thanx Mohamed [EMAIL PROTECTED] wrote: Yes it will help me, thank you Mohamed. Do you know how to extend this sample to write data you entered in persistence storage (database)? Sylvain -Message d'origine- De: Mohamed El-Refaey [mailto:[EMAIL PROTECTED]] Date: mardi, 29. octobre 2002 22:13 : [EMAIL PROTECTED] Objet: Re: xmlform and build Hallo Sylvain Yes, it is bossible to compile the new Java files and put them under the WEB-INF classes directory under cocoon and the ramaing files relating to schematron and XMLForms files and stylesheets put them as a common web application under cocoon samples or whatever u want. I wish this will help Mohamed [EMAIL PROTECTED] wrote: hello, I'm trying to write my first XMLForm form and I follow the doc example (wizard howto). In the last step (step 5) you have to (re)build the entire Cocoon app using the command build ... webapp to have a new cocoon.war. Is it possible to compile only the new java files and add the .class directly in the Tomcat webapps directory (without using the .war). And when you want the up-to-date .war, you make the command jar ?? Thank you for your suggestions and experiences. Sylvain Thevoz - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
sunRise-logout NullPointerException
Hi, my apologies if a solution for this problem has already been posted to this group. I've followed the threads related to the issue of getting a NullPointerException when using the sunRise-logout action and setup my environment as suggested (putting the xml parsers in tomcat's endorsed directory etc). My environement is: Java: 1.4.1 Tomcat: 1.4.12 Cocoon: 2.0.3 The NullPointerException occurs at: java.lang.NullPointerException at org.apache.cocoon.sunshine.sunrise.SunRise.logout(SunRise.java:1083) An interesting thing is that if after loggin in the session times out or you remove the cookie from the browser then logging out seems to work. I've heard a fix has been made for this bug, if so, how can I apply it to my version of Cocoon? Thankyou in advance, Damian. - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Fatal error - how to test database connection?
I get the following fatal error when trying to load a sub-sitemap: FATAL_E (2002-10-29) 16:32.18:484 [cocoon ] (Unknown-URI) Unknown-thread/JdbcConnectionPool: Excalibur could not create any connections. Examine your settings to make sure they are correct. Make sure you can connect with the same settings on your machine. As far as I can tell I have set up the MySQL database permissions and cocoon.xconf file properly (i.e. in the same way as my other projects...): jdbc name="sbwq" pool-controller min="5" max="50"/ auto-committrue/auto-commit dburljdbc:mysql://localhost:3306/sbwq/dburl userusername/user passwordpassword/password /jdbc Does any one have a simple test file that I can use to "connect with the same settings" outside of Cocoon so I can try and pin down the source of the error? Thanks Derek
Re: Fatal error - how to test database connection?
Derek - Did you declare the MySQL jar in web.xml thusly? init-param param-nameload-class/param-name param-value org.gjt.mm.mysql.Driver /param-value /init-param And put the jar where Cocoon will find it? Regards, Lajos Derek Hohls wrote: I get the following fatal error when trying to load a sub-sitemap: FATAL_E (2002-10-29) 16:32.18:484 [cocoon ] (Unknown-URI) Unknown-thread/JdbcConnectionPool: Excalibur could not create any connections. Examine your settings to make sure they are correct. Make sure you can connect with the same settings on your machine. As far as I can tell I have set up the MySQL database permissions and cocoon.xconf file properly (i.e. in the same way as my other projects...): jdbc name=sbwq pool-controller min=5 max=50/ auto-committrue/auto-commit dburljdbc:mysql://localhost:3306/sbwq/dburl userusername/user passwordpassword/password /jdbc Does any one have a simple test file that I can use to connect with the same settings outside of Cocoon so I can try and pin down the source of the error? Thanks Derek -- galatea.com Cocoon training, consulting support - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Using SOAP Response in logic
You might want to post your sitemap as well as the code used. It's hard to picture your problem without more contextual info such as code. Are you using XSP?? That would be the generator creating dynamic XML. Unless I missed the point of your question. thanks, md - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [sitemap] Passing parameters to XML
I'm not sure why that's not working as I use that concept all the time. I typically create actions that pull from the request object ,e.g. getParameter but action vs XSP shouldn't matter. ??? MD - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Fatal error - how to test database connection?
Lajos Yes, I did (same driver for all the projects). I did a shutdown/restart and now it seems OK?? Thanks Derek [EMAIL PROTECTED] 29/10/2002 04:35:08 Derek -Did you declare the MySQL jar in web.xml thusly? init-param param-nameload-class/param-name param-value org.gjt.mm.mysql.Driver /param-value /init-paramAnd put the jar where Cocoon will find it?Regards,LajosDerek Hohls wrote: I get the following fatal error when trying to load a sub-sitemap: FATAL_E (2002-10-29) 16:32.18:484 [cocoon ] (Unknown-URI) Unknown-thread/JdbcConnectionPool: Excalibur could not create any connections. Examine your settings to make sure they are correct. Make sure you can connect with the same settings on your machine. As far as I can tell I have set up the MySQL database permissions and cocoon.xconf file properly (i.e. in the same way as my other projects...): jdbc name="sbwq" pool-controller min="5" max="50"/ auto-committrue/auto-commit dburljdbc:mysql://localhost:3306/sbwq/dburl userusername/user passwordpassword/password /jdbc Does any one have a simple test file that I can use to "connect with the same settings" outside of Cocoon so I can try and pin down the source of the error? Thanks Derek-- galatea.comCocoon training, consulting support-Please check that your question has not already been answered in theFAQ before posting. http://xml.apache.org/cocoon/faq/index.htmlTo unsubscribe, e-mail: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED]
Mixed XSL performance under Windows/UNIX?
Does anyone know of a reason why an XSL stylesheet would exhibit different behaviour under Windows (test machine) and Unix (server). Could it be related to the fact that when I try and generate the XML input to the stylesheet on the server, the brower returns an error: The XML page cannot be displayed Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later. The namespace prefix is not allowed to start with the reserved string xml. Line 2, Position 7 page xmlns:xml=http://www.w3.org/XML/1998/namespace; xmlns:xsp=http://apache.org/xsp; xmlns:xspdoc=http://apache.org/cocoon/XSPDoc/v1; xmlns:esql=http://apache.org/cocoon/SQL/v2; I have also tried running a static file through the same stylesheet and it seems to work OK - of course, as I cannot see the generated XML there may be problems with it. Does anyone know how to overcome either (ot both!) of these problems. Thanks Derek - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
i18n:number and XMLFroms, need help here!
Hello, I'm using the latest CVS HEAD. I wanna use I18n number formatting i18n:number with XMLFORMS... here is the problem xf:output ref=priceAmount xf:captioni18n:textPrice/i18n:text:/xf:caption xf:violations class=error/ /xf:output I wanna format the priceAmount which comes from the XmlForm bean. How I'm supposed to do that with i18n:number value=something-here, where att value should get the priceAmount after it's gets populated from the bean? Help is much appreciated. -- Ramy Mamdouh Kamel [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: xmlform and build
Thank you Mohamed. I don't use EJB but I use an RDBMS-object mapping tool named OJB. I haven't enough know-how in XMLForm to apply easily what you said. Have you a short example to demonstrate it? Thank you Sylvain -Message d'origine- De: Mohamed El-Refaey [mailto:m.refaey;imkenberg.de] Date: mercredi, 30. octobre 2002 00:51 À: [EMAIL PROTECTED] Objet: Re: xmlform and build Hallo Sylvain nice, that this help u :) . ofCourse it is easy to extend this sample to write data entered in the XMLForms into persistance storage[DB] for e.g : if u use EJB as a persistance layer in ur project , u can easily in the Perform() method in ur Action after u get ur model Bean: DataBean jBean = (DataBean) getForm().getModel(); u can extract the entered data from this bean, and sned it in any way[Collection data type or whatever u accept the user data] along with a VO(value-object) to be entered into DB by the aid of EJB Class that take this VO and perform the Insert query or whatever the command u need to do with DB I think this is a breif answer but I wish it give u the way Thanx Mohamed [EMAIL PROTECTED] wrote: Yes it will help me, thank you Mohamed. Do you know how to extend this sample to write data you entered in persistence storage (database)? Sylvain -Message d'origine- De: Mohamed El-Refaey [ mailto:m.refaey;imkenberg.de] Date: mardi, 29. octobre 2002 22:13 À: [EMAIL PROTECTED] Objet: Re: xmlform and build Hallo Sylvain Yes, it is bossible to compile the new Java files and put them under the WEB-INF classes directory under cocoon and the ramaing files relating to schematron and XMLForms files and stylesheets put them as a common web application under cocoon samples or whatever u want. I wish this will help Mohamed [EMAIL PROTECTED] wrote: hello, I'm trying to write my first XMLForm form and I follow the doc example (wizard howto). In the last step (step 5) you have to (re)build the entire Cocoon app using the command build ... webapp to have a new cocoon.war. Is it possible to compile only the new java files and add the .class directly in the Tomcat webapps directory (without using the .war). And when you want the up-to-date .war, you make the command jar ?? Thank you for your suggestions and experiences. Sylvain Thevoz - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: mailto:cocoon-users-unsubscribe;xml.apache.org [EMAIL PROTECTED] For additional commands, e-mail: mailto:cocoon-users-help;xml.apache.org [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: mailto:cocoon-users-unsubscribe;xml.apache.org [EMAIL PROTECTED] For additional commands, e-mail: mailto:cocoon-users-help;xml.apache.org [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: mailto:cocoon-users-unsubscribe;xml.apache.org [EMAIL PROTECTED] For additional commands, e-mail: mailto:cocoon-users-help;xml.apache.org [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: sunRise-logout NullPointerException
Hi, I think this bug is fixed in the current cvs of 2.0.4. You have to check it out via cvs. HTH Carsten -Original Message- From: Damian Chojna [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 29, 2002 3:01 PM To: [EMAIL PROTECTED] Subject: sunRise-logout NullPointerException Hi, my apologies if a solution for this problem has already been posted to this group. I've followed the threads related to the issue of getting a NullPointerException when using the sunRise-logout action and setup my environment as suggested (putting the xml parsers in tomcat's endorsed directory etc). My environement is: Java: 1.4.1 Tomcat: 1.4.12 Cocoon: 2.0.3 The NullPointerException occurs at: java.lang.NullPointerException at org.apache.cocoon.sunshine.sunrise.SunRise.logout(SunRise.java:1083) An interesting thing is that if after loggin in the session times out or you remove the cookie from the browser then logging out seems to work. I've heard a fix has been made for this bug, if so, how can I apply it to my version of Cocoon? Thankyou in advance, Damian. - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Using SOAP Response in logic
Here is the XSP code. There is only a generator at the moment. Note that the xscript transform gives and error because it seems to call the cookie logicsheet at the wrong point (during the transform). If I create an XML fragment tokenbla/token in the transform then I cannot figure out how to use it in a call the the cookie logicsheet. ?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; xmlns:soap=http://apache.org/xsp/soap/3.0; xmlns:xscript=http://apache.org/xsp/xscript/1.0; xmlns:capture=http://apache.org/cocoon/capture/1.0; xmlns:xsp-cookie=http://apache.org/xsp/cookie/2.0; xmlns:xsp-token=http://adsconsult.com/xsp/token/1.0; xsp:logicsheet location=logicsheets/token.xsl/ bla xscript:variable name=soap-result xsp-token:get-token aps=rcottiss4 user=administrator pwd= / /xscript:variable xscript:variable name=stylesheet xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform; xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/; xmlns:xsp-cookie=http://apache.org/xsp/cookie/2.0; xmlns:x=http://tempuri.org/; xsl:template match=/ xsp-cookie:cookie xsp-cookie:nametestname1/xsp-cookie:name xsp-cookie:valuexsl:value-of select=/soap:Envelope/soap:Body/x:logonCEResponse/x:logonCEResult//x sp-cookie:value xsp-cookie:setMaxAgexsp:expr120*60/xsp:expr/xsp-cookie:setMaxAge /xsp-cookie:cookie !-- I tried this also. See commented out code below -- token xsl:value-of select=/soap:Envelope/soap:Body/x:logonCEResponse/x:logonCEResult/ /token /xsl:template /xsl:stylesheet /xscript:variable xscript:transform name=soap-result stylesheet=stylesheet/ !-- capture:fragment-variable name=tokenxml xscript:transform name=soap-result stylesheet=stylesheet/ /capture:fragment-variable name=page_part xsp-cookie:cookie xsp-cookie:nametestname1/xsp-cookie:name xsp:exprtokenxml/xsp:expr xsp-cookie:setMaxAgexsp:expr120*60/xsp:expr/xsp-cookie:setMaxAge /xsp-cookie:cookie -- /bla /xsp:page Robin Cottiss Applied Decision Support -Original Message- From: [EMAIL PROTECTED] [mailto:Markdelanoy;aol.com] Sent: Tuesday, October 29, 2002 9:46 AM To: [EMAIL PROTECTED] Subject: Re: Using SOAP Response in logic You might want to post your sitemap as well as the code used. It's hard to picture your problem without more contextual info such as code. Are you using XSP?? That would be the generator creating dynamic XML. Unless I missed the point of your question. thanks, md - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: xmlform and build
Hi Sylvain the following snippet is from the WizardAction in the cocoon XMLForm Sample public Map perform (){ // get the actual model which this Form encapsulates // and apply additional buziness logic to the model UserBean jBean = (UserBean) getForm().getModel(); jBean.incrementCount(); if ( getCommand().equals( CMD_NEXT ) getForm().getViolations () != null ) { // errors, back to the same page return page( getFormView() ); } else{ getForm().clearViolations(); String command = getCommand(); String formView = getFormView(); if ( formView.equals ( VIEW_USERID ) ) { if ( command.equals( CMD_NEXT ) ){ return page( VIEW_DEPLOYMENT ); } } else if ( formView.equals ( VIEW_DEPLOYMENT ) ){ if ( command.equals( CMD_NEXT ) ){ return page( VIEW_SYSTEM ); } else if( command.equals( CMD_PREV ) ) return page( VIEW_USERID ); } else if ( formView.equals ( VIEW_SYSTEM ) ){ if ( command.equals( CMD_NEXT ) ){ return page( VIEW_CONFIRM ); } else if( command.equals( CMD_PREV ) ) return page( VIEW_DEPLOYMENT ); } else if ( formView.equals ( VIEW_CONFIRM ) ) { if ( command.equals( CMD_NEXT ) ){ - here u can call ur Businees method that insert this data into DB for e.g : - call the method : submitData(jBean); Form.remove( getObjectModel(), getFormId() ); return page( VIEW_END ); } else if( command.equals( CMD_PREV ) ) return page( VIEW_SYSTEM ); } } return page( VIEW_START ); } -- so u can implement this method in the SAME Action private void submitData(UserBean bean){ if u want for e.g input the user data into DB: String fName = bean.getFirstName(); String lastName =bean.getLastName(); String age =bean.getAge(); String email =bean.getEmail(); then now u have the data entered by the User so u can map or insert these data in whatever mapping tool u have and then this tool will do the rest as I think. (In my case I use EJB here to insert these data into DB but In OJB I don't know how it is implemented) } BTW: u can find this action code in the cocoon source distribution in the pacjage : org.apache.cocoon.samples.xmlform I wish this clarify ur needs Thanx Mohamed [EMAIL PROTECTED] wrote: Thank you Mohamed. I don't use EJB but I use an RDBMS-object mapping tool named OJB. I haven't enough know-how in XMLForm to apply easily what you said. Have you a short example to demonstrate it? Thank you Sylvain -Message d'origine- De: Mohamed El-Refaey [mailto:[EMAIL PROTECTED]] Date: mercredi, 30. octobre 2002 00:51 : [EMAIL PROTECTED] Objet: Re: xmlform and build Hallo Sylvain nice, that this help u :) . ofCourse it is easy to extend this sample to write data entered in the XMLForms into persistance storage[DB] for e.g : if u use EJB as a persistance layer in ur project , u can easily in the Perform() method in ur Action after u get ur model Bean: DataBean jBean = (DataBean) getForm().getModel(); u can extract the entered data from this bean, and sned it in any way[Collection data type or whatever u accept the user data] along with a VO(value-object) to be entered into DB by the aid of EJB Class that take this VO and perform the Insert query or whatever the command u need to do with DB I think this is a breif answer but I wish it give u the way Thanx Mohamed [EMAIL PROTECTED] wrote: Yes it will help me, thank you Mohamed. Do you know how to extend this sample to write data you entered in persistence storage (database)? Sylvain -Message d'origine- De: Mohamed El-Refaey [ mailto:[EMAIL PROTECTED]] Date: mardi, 29. octobre 2002 22:13 : [EMAIL PROTECTED] Objet: Re: xmlform and build Hallo Sylvain Yes, it is bossible to compile the new Java files and put them under the WEB-INF classes directory under cocoon and the ramaing files relating to schematron and XMLForms files and stylesheets put them as a common web application under cocoon samples or whatever u want. I wish this will help Mohamed [EMAIL PROTECTED] wrote: hello, I'm trying to write my first XMLForm form and I follow the doc example (wizard howto). In the last step (step 5) you have to (re)build the entire Cocoon app using the command build ... webapp to have a new cocoon.war. Is it possible to compile only the new java files and add the .class directly in the Tomcat webapps directory (without using the .war). And when you want the up-to-date .war, you make the command jar ?? Thank you for your suggestions and experiences. Sylvain Thevoz - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] [EMAIL PROTECTED]
Re: xsp request variable is not declaired
THANKYOU! That was the problem - Implicit variables are not created until the content tag is reached, thus logic referencing them will fail if prior to the content tag. The code that I reference for placing the logic outside the content tag was from a JavaWorld article. Did this used to work and now doesn't? This seems like a bug or at least an anti-feature. Should I report it? Thanks, Eric Everman At 10/29/2002, you wrote: Try putting a document tag around all of your content and logic. I.e.: = ?xml version=1.0? xsp:page language=java xmlns:xsp=http://apache.org/xsp; content xsp:logic String keyword = request.getParameter(value); /xsp:logic The 'value' parameter was: xsp:exprkeyword/xsp:expr /content /xsp:page = I think the problem might come from the fact that until first XML data is emited, you are not in the context of the request handler, but in the context of the class. I am not 100% sure, but it would be easy for you to check if you looked at the generated source code. The request variable probably isn't set until you are actually in the handler method. Also, the namespace URI you have for xsp prefix (xmlns:xsp=http://apache.org/xsp;) seems to be correct - that's what the xsp.xsl logicsheet is using. G'luck. -- Ilya Eric Everman wrote: At 10/28/2002, you wrote: You do not appear to have declared `keyword'. i.e., try: String keyword = request.getParameter(value); Dave Ha, fair enough. But believe it or not, this is a copy/paste error. Here is the simplest xsp page that causes the problem (verbatim this time): = ?xml version=1.0? xsp:page language=java xmlns:xsp=http://apache.org/xsp; xsp:logic String keyword = request.getParameter(value); /xsp:logic content The 'value' parameter was: xsp:exprkeyword/xsp:expr /content /xsp:page = This xsp causes a NPE: java.lang.NullPointerException at org.apache.cocoon.www.examples.db1_xsp.(D:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\cctest\cocoon-files\org/apache/cocoon/www/examples\db1_xsp.java:62) Line 62 is String keyword = request.getParameter(value); Sorry for the initial mis-post. Any ideas? Eric Everman - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
encoding match problem
Hello, I have a little problem with encoding: I have data encoded in ISO-8859-1 that I try to serialize in XLS. On linux (debian) I have no problem but on NT I have an error like: org.apache.cocoon.ProcessingException: Failed to execute pipeline: org.xml.sax.SaxParseException: The declared encoding ISO-8859-1 doesn't match with the actual encoding UTF-8 This might not be an error. (it's not the exact error because it's done in french in my browser) So I tried with the sitemap: ?xml version=1.0 encoding=iso-8859-1? map:sitemap xmlns:map=http://apache.org/cocoon/sitemap/1.0; map:components map:generators default=file/ map:readers default=resource/ map:serializers default=html map:serializer name=xls src=org.apache.cocoon.serialization.HSSFSerializer mime-type=application/vnd.ms-excel locale=us/ /map:serializers map:selectors default=browser/ map:matchers default=wildcard map:matcher name=wildcard src=org.apache.cocoon.matching.WildcardURIMatcherFactory/ /map:matchers map:transformers default=xslt/ map:actions map:action name=request src=org.apache.cocoon.acting.RequestParamAction/ /map:actions /map:components map:pipelines map:pipeline map:match pattern=listing.xls* map:act type=request map:parameter name=parameters value=true/ map:generate src=http://localhost:8080/listingwebui/jsp-xml/listing.jsp?begindate={begindate}amp;enddate={enddate}amp;administratorid={administratorid}; encodingISO-8859-1/encoding /map:generate map:transform src=http://localhost:8080/listingwebui/xslt/listing2xls.xsl; type=xslt encodingISO-8859-1/encoding /map:transform map:serialize type=xls/ encodingISO-8859-1/encoding /map:transform /map:act /map:match /map:pipeline /map:pipelines /map:sitemap And all my xml files have encoding=iso-8859-1 But this does the same result. Any idea ? Does Cocoon search for a default encoding on the host ? What is exactly the actual encoding ? Iris - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: once again urlrewriting
hi! ok - i changed this, but the problem is still there. but thank your for your hint. greetings, chris -Ursprüngliche Nachricht- Von: Peter Nuetzel . inglobo [mailto:peter.nuetzel;inglobo.de] Gesendet: Dienstag, 29. Oktober 2002 13:02 An: [EMAIL PROTECTED] Betreff: Re: once again urlrewriting Hi I don't know what may cause your problem. But I realized that your sitemap snippet is wrong: The map:serialize must be in the map:act element -peter . . map:match pattern=startOR map:act type=ORAction map:generate src=orneu/{nextpage}.xsp type=serverpages/ map:transform src=orneu/xml2html.xsl type=xslt/ map:transform type=encodeURL/ /map:act map:serialize type=html/ /map:match - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] hi all! does nobody has an idea what my problem is? please help, i can't continue my work! greetings, chris -Ursprüngliche Nachricht- Von: Christoph Stocker [mailto:chris.stocker;gmx.at] Gesendet: Montag, 28. Oktober 2002 11:46 An: [EMAIL PROTECTED] Betreff: once again urlrewriting hi all! i use cocoon 2.0.2, win2000 and weblogic 6.0sp2 sorry to write again about my problem with url-rewriting. i want to tell again, in a detailed from, my problem. maybe someone can help me. i wrote a web-app using a java action described in http://comphy.fsu.edu/xml/docs/actions.html with additional session-handling. with the use of cookies, everthing is fine - now i want to do it with url-rewriting and i did it the following way. my action looks as following (here a code snipped from the main-part) --- package com.isolab.or.action; import org.apache.avalon.framework.parameters.Parameters; import org.apache.cocoon.acting.AbstractAction; import org.apache.cocoon.Constants; import org.apache.cocoon.environment.Redirector; import org.apache.cocoon.environment.Request; import org.apache.cocoon.environment.SourceResolver; import org.apache.cocoon.environment.Session; import org.apache.cocoon.environment.ObjectModelHelper; import org.apache.cocoon.environment.Response; import java.util.*; import java.util.Map; import java.util.HashMap; public class ORMainAction extends AbstractAction { public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters params) { Map sitemapParams = new HashMap(); Request req = ObjectModelHelper.getRequest(objectModel); Session session = req.getSession(); if (session.isNew()) { session.setAttribute(atr1, TestAttribute1); sitemapParams.put(nextpage, test1); } else { session.setAttribute(atr2, TestAttribute2); sitemapParams.put(nextpage, test2); } return sitemapParams; } } my sitemap looks as following -- as described in http://xml.apache.org/cocoon/userdocs/transformers/encodeurl-transformer .html . . map:transformer logger=sitemap.transformer.encodeURL name=encodeURL src=org.apache.cocoon.transformation.EncodeURLTransformer/ . . map:action name=ORAction src=com.isolab.or.action.ORMainAction/ . . . map:match pattern=startOR map:act type=ORAction map:generate src=orneu/{nextpage}.xsp type=serverpages/ map:transform src=orneu/xml2html.xsl type=xslt/ map:transform type=encodeURL/ /map:act map:serialize type=html/ /map:match i turned off the use of cookies in my weblogic-property file weblogic.xml --- if i call my page an the action is called the first time, everthing works fine (a new session is created, ...). but the second time with the same browser (when the session is still there), the session is creted again). this doesn't happen when i enable cookies in my welogic.xml propertiy file welogic.xml -- ?xml version=1.0 encoding=UTF-8? weblogic-web-app session-descriptor session-param param-nameCookiesEnabled/param-name param-valueTrue/param-value /session-param session-param param-nameURLRewritingEnabled/param-name param-valueTrue/param-value /session-param session-param param-nameSessionTrackingEnabled/param-name param-valueTrue/param-value /session-param /session-descriptor /weblogic-web-app i studied the EncodeURLTransformer, but it doesn't helped me (i don't know how to in my action use this for url-rewriting) i also read chapters in some books about url-rewriting, they always use response.encodeURL(URL); but how can i use this response in my action? what do i have
Re: [sitemap] Passing parameters to XML
Dave- I believe you are having the same problem I was having. Ilya's reply to me fixed the problem: Implicit variables are not created until the content tag is reached, thus logic prior to content that references them will fail. I'm *very* new to Cocoon so I have no experience with past versions. If this worked previously for you and now doesn't, this must be the result of a change in the way xsp pages are processed (isn't this breaking all kinds of code?!!!). I was going to report this as a bug, however, someone with more history (like yourself) should make that call. Is this what is causing your problem? Eric Everman At 10/29/2002, you wrote: In Cocoon-1.8.2, I can handle parameters to XML as follows: http://b.c/Q/zzz.xml?color=red and I can recover the value of 'color' in zzz.xml with: xsp:logic String colorParameter = request.getParameter(color); /xsp:logic But I have tried to duplicate the above with numerous incantations of sitemap (under cocoon/mount/MyProject) with no luck. How can I handle the above in Cocoon 2? (Windows XP, Apache 2, Tomcat 4.1.12(JK2:ajp13), Cocoon-2.0.3) Dave Biggar - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: xmlform and build
Hi Sylvain I had a quick look on the OJB (Object Relational Bridge tool) and I think now it will be easy to enter the Data into Persistance storage have a look at http://jakarta.apache.org/ojb/tutorial1.html in the part relating to Storing Objects and u can see what happend. // now perform persistence operations try { //1 . open transaction broker.beginTransaction(); //2 . make the new object persistent broker.store(newProduct); broker.commitTransaction(); } catch (PersistenceBrokerException ex) { // if something went wrong: rollback broker.abortTransaction(); System.out.println(ex.getMessage()); ex.printStackTrace(); } I wish this help u Mohamed [EMAIL PROTECTED] wrote: Thank you Mohamed. I don't use EJB but I use an RDBMS-object mapping tool named OJB. I haven't enough know-how in XMLForm to apply easily what you said. Have you a short example to demonstrate it? Thank you Sylvain -Message d'origine- De: Mohamed El-Refaey [mailto:m.refaey;imkenberg.de] Date: mercredi, 30. octobre 2002 00:51 À: [EMAIL PROTECTED] Objet: Re: xmlform and build Hallo Sylvain nice, that this help u :) . ofCourse it is easy to extend this sample to write data entered in the XMLForms into persistance storage[DB] for e.g : if u use EJB as a persistance layer in ur project , u can easily in the Perform() method in ur Action after u get ur model Bean: DataBean jBean = (DataBean) getForm().getModel(); u can extract the entered data from this bean, and sned it in any way[Collection data type or whatever u accept the user data] along with a VO(value-object) to be entered into DB by the aid of EJB Class that take this VO and perform the Insert query or whatever the command u need to do with DB I think this is a breif answer but I wish it give u the way Thanx Mohamed [EMAIL PROTECTED] wrote: Yes it will help me, thank you Mohamed. Do you know how to extend this sample to write data you entered in persistence storage (database)? Sylvain -Message d'origine- De: Mohamed El-Refaey [ mailto:m.refaey;imkenberg.de] Date: mardi, 29. octobre 2002 22:13 À: [EMAIL PROTECTED] Objet: Re: xmlform and build Hallo Sylvain Yes, it is bossible to compile the new Java files and put them under the WEB-INF classes directory under cocoon and the ramaing files relating to schematron and XMLForms files and stylesheets put them as a common web application under cocoon samples or whatever u want. I wish this will help Mohamed [EMAIL PROTECTED] wrote: hello, I'm trying to write my first XMLForm form and I follow the doc example (wizard howto). In the last step (step 5) you have to (re)build the entire Cocoon app using the command build ... webapp to have a new cocoon.war. Is it possible to compile only the new java files and add the .class directly in the Tomcat webapps directory (without using the .war). And when you want the up-to-date .war, you make the command jar ?? Thank you for your suggestions and experiences. Sylvain Thevoz - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: mailto:cocoon-users-unsubscribe;xml.apache.org [EMAIL PROTECTED] For additional commands, e-mail: mailto:cocoon-users-help;xml.apache.org [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: mailto:cocoon-users-unsubscribe;xml.apache.org [EMAIL PROTECTED] For additional commands, e-mail: mailto:cocoon-users-help;xml.apache.org [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: mailto:cocoon-users-unsubscribe;xml.apache.org [EMAIL PROTECTED] For additional commands, e-mail: mailto:cocoon-users-help;xml.apache.org [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your
Empty anchor tags
Hi, I'm trying to produce an empty anchor tag (HTML) with attribute name, but cocoon (XSL Tansformer + HTML Serializer) makes the closing tag in the result, which causes some browsers (IE) not to regognize the anchor. Tag: a name=foo Called with: a href=#foolink to foo/a This doesn't work with IE: a name=foo/a Ideas anyone? Cocoon 2.1-DEV (abouth one month old) Tomcat 4.05 -Tuomo - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: xsp request variable is not declaired
I'm pretty sure it is an XSP feature, but is possibly a documentation bug. The feature allows you to, for example, declare instance variables or declare instance or static methods to be used in the body of the XSP. Wouldn't you agree? I'm actually using it in some of my XSP pages, so please don't report it as a bug - or someone might actually fix it. :-) Glad I could help. -- Ilya Eric Everman wrote: THANKYOU! That was the problem - Implicit variables are not created until the content tag is reached, thus logic referencing them will fail if prior to the content tag. The code that I reference for placing the logic outside the content tag was from a JavaWorld article. Did this used to work and now doesn't? This seems like a bug or at least an anti-feature. Should I report it? Thanks, Eric Everman At 10/29/2002, you wrote: Try putting a document tag around all of your content and logic. I.e.: = ?xml version=1.0? xsp:page language=java xmlns:xsp=http://apache.org/xsp; content xsp:logic String keyword = request.getParameter(value); /xsp:logic The 'value' parameter was: xsp:exprkeyword/xsp:expr /content /xsp:page = I think the problem might come from the fact that until first XML data is emited, you are not in the context of the request handler, but in the context of the class. I am not 100% sure, but it would be easy for you to check if you looked at the generated source code. The request variable probably isn't set until you are actually in the handler method. Also, the namespace URI you have for xsp prefix (xmlns:xsp=http://apache.org/xsp;) seems to be correct - that's what the xsp.xsl logicsheet is using. G'luck. -- Ilya Eric Everman wrote: At 10/28/2002, you wrote: You do not appear to have declared `keyword'. i.e., try: String keyword = request.getParameter(value); Dave Ha, fair enough. But believe it or not, this is a copy/paste error. Here is the simplest xsp page that causes the problem (verbatim this time): = ?xml version=1.0? xsp:page language=java xmlns:xsp=http://apache.org/xsp; xsp:logic String keyword = request.getParameter(value); /xsp:logic content The 'value' parameter was: xsp:exprkeyword/xsp:expr /content /xsp:page = This xsp causes a NPE: java.lang.NullPointerException at org.apache.cocoon.www.examples.db1_xsp.(D:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\cctest\cocoon-files\org/apache/cocoon/www/examples\db1_xsp.java:62) Line 62 is String keyword = request.getParameter(value); Sorry for the initial mis-post. Any ideas? Eric Everman - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Empty anchor tags
On Tuesday 29 October 2002 17:26, Tuomo L wrote: a name=foo Whooa, that would be a spec violation, IIRC... :-) Called with: a href=#foolink to foo/a This doesn't work with IE: a name=foo/a Ideas anyone? Use the id-attribute. All elements have an id-attribute which is intended for this purpose. Presumably, you can use the id-attribute with some other element, e.g. a header h2 id=fooThis is the Foo Subsection/a or, if there is no natural anchor there, you need one of the generic elements, span for inline and div for block, e.g.: There's a span id=fooFoo/span in the Bar! See http://www.w3.org/TR/html401/struct/global.html#adef-id Note that id is a relatively new attribute, and not all older browsers support it, lynx was the first, AFAIK! :-) Best, Kjetil -- Kjetil Kjernsmo Astrophysicist/IT Consultant/Skeptic/Ski-orienteer/Orienteer/Mountaineer [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] Homepage: http://www.kjetil.kjernsmo.net/ - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Saving (or not) transformed output in a local file
Hello, I am using Cocoon only to generate PDF documents, but I have to send them in the HttpResponse or to save them in a file localized in the server. I am looking for the best way to make it : - Overriding the CocoonServlet using a FileSavingEnvironment ? - In a stylesheet ? logicsheet ? Thanks for your answers, Ludovic - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
dynamic XMLForm taking inout data from previous steps?
Hi, all. This is what I'm trying to do: 1.- I want to have a form similar to the wizard sample. In the first page I want to have a input box that can hold a number and another for a name. Something like this: ?xml version=1.0? document xmlns:xf=http://xml.apache.org/cocoon/xmlform/2002; xf:form id=form-insert view=product action=insert method=POST xf:captionNew Product/xf:caption error xf:violations class=error/ /error xf:textbox ref=/productName xf:captionProduct Name:/xf:caption xf:violations class=error/ /xf:textbox xf:textbox ref=/descriptions xf:captionNumber of Descriptions/xf:caption xf:help (one for each language you'll choose later)/xf:help xf:violations class=error/ /xf:textbox xf:submit id=prev class=button xf:captionPrev/xf:caption xf:hintGo to previous page/xf:hint /xf:submit xf:submit id=next class=button xf:captionNext/xf:caption xf:hintGo to next page/xf:hint /xf:submit /xf:form /document 2.- Now I want to query the form so I can get the number the user put in the 'descriptions' field. Then I could show him the number of boxes she requested at the previous page, so she could fill descriptions for a product for the number of languages she wanted in step 1. I tried to figure how the xf:repeat and xf:group tags work, maybe that's the way to go. Still not much info about it anyway. Ivelin, anyone...is this possible? If so, how could I make it work? I'm having a VERY hard time making XMLForms work, I'm still unsure if they derserve the time. Please, convince me, I really want to keep on trying, but I'm sooo tired... I know Javascript validation is not that good, but I have a strong Javascript background and I think I could code something similar quicker. Thanks in advance. - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Empty anchor tags
Thanks, it works now. Should follow the specs. Wasn't a name=foo valid in HTML 4.0, though? Id is better anyway, it's more generic. -Tuomo On Tue, 29 Oct 2002, Kjetil Kjernsmo wrote: On Tuesday 29 October 2002 17:26, Tuomo L wrote: a name=foo Whooa, that would be a spec violation, IIRC... :-) Called with: a href=#foolink to foo/a This doesn't work with IE: a name=foo/a Ideas anyone? Use the id-attribute. All elements have an id-attribute which is intended for this purpose. Presumably, you can use the id-attribute with some other element, e.g. a header h2 id=fooThis is the Foo Subsection/a or, if there is no natural anchor there, you need one of the generic elements, span for inline and div for block, e.g.: There's a span id=fooFoo/span in the Bar! See http://www.w3.org/TR/html401/struct/global.html#adef-id Note that id is a relatively new attribute, and not all older browsers support it, lynx was the first, AFAIK! :-) Best, Kjetil -- Kjetil Kjernsmo Astrophysicist/IT Consultant/Skeptic/Ski-orienteer/Orienteer/Mountaineer [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] Homepage: http://www.kjetil.kjernsmo.net/ - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
FormValidatorAction
using a descriptor file like employee-form.xml in the tutorial directory. have FormValidatorAction called from the sitemap. a line in core.log states All form params successfully validated - written by FormValidatorAction. no other lines from FormValidatorAction. therefore, neither the 'validate' if statement nor the 'validate-set' if statement are entered. started by using the parameter, 'validate', before getting fancy and using constraint-set. cannot understand constraint-set in the descriptor file when FormValidatorAction and AbstractValidatorAction look for the parameter, 'validate-set'. cannot find the association. but, am trying to stay simple even though the info in FormValidatorAction says that the check for 'validate' is obsolete. i have validate elements within the 'root' element - but, it does not hit in the code. - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Mixed XSL performance under Windows/UNIX?
One thing that comes to mind is the different ways Unix and Windows insert line breaks. I sometimes author XSLT text files in Windows, and after opening them in Linux (X-Emacs) there are a bunch of ^M characters at the end of each line. I replace them just because they are annoying and make the XSLT hard to read -- never considered them to cause problems, but worth looking into if nothing else works. -Original Message- From: Derek Hohls [mailto:DHohls;csir.co.za] Sent: Tuesday, October 29, 2002 9:58 AM To: [EMAIL PROTECTED] Subject: Mixed XSL performance under Windows/UNIX? Does anyone know of a reason why an XSL stylesheet would exhibit different behaviour under Windows (test machine) and Unix (server). Could it be related to the fact that when I try and generate the XML input to the stylesheet on the server, the brower returns an error: The XML page cannot be displayed Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later. The namespace prefix is not allowed to start with the reserved string xml. Line 2, Position 7 page xmlns:xml=http://www.w3.org/XML/1998/namespace; xmlns:xsp=http://apache.org/xsp; xmlns:xspdoc=http://apache.org/cocoon/XSPDoc/v1; xmlns:esql=http://apache.org/cocoon/SQL/v2; I have also tried running a static file through the same stylesheet and it seems to work OK - of course, as I cannot see the generated XML there may be problems with it. Does anyone know how to overcome either (ot both!) of these problems. Thanks Derek - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: restricting access to cocoon
On Tue, 2002-10-29 at 06:29, Ivelin Ivanov wrote: A few other people asked the same question recently. My personal believe is that security is orthogonal to Cocoon and belongs to the J2EE container. If you will have the time, please consider submitting a HOWTO patch to Cocoon's bugzilla on using Tomcat security with Cocoon. We used the Tomcat-security-approach in a project, so I quickly wrote down some notes about how to do it. You can find it in the wiki: http://outerthought.net/wiki/Wiki.jsp?page=AuthWithTomcat -- Bruno Dumon http://outerthought.org/ Outerthought - Open Source, Java XML Competence Support Center [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Empty anchor tags
Thanks, it works now. Should follow the specs. Wasn't a name=foo valid in HTML 4.0, though? Id is better anyway, it's more generic. It's still valid, from the same document: http://www.w3.org/TR/html401/struct/links.html#h-12.2.1 You can use either name or id, but the name has to be unique. a name=foo Whooa, that would be a spec violation, IIRC... :-) Called with: a href=#foolink to foo/a This doesn't work with IE: a name=foo/a Unless I missed something I don't think there is an obvious reason one should work and the other not work... - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Empty anchor tags
On Tuesday 29 October 2002 18:09, Tuomo L wrote: Thanks, it works now. Great! Should follow the specs. Yup! Wasn't a name=foo valid in HTML 4.0, though? Nope, I'm quite sure it wasn't. May have been valid in 3.2 but 3.2 was DTDed tag soup anyway :-) Id is better anyway, it's more generic. Yeah, it's nice! Best, Kjetil -- Kjetil Kjernsmo Astrophysicist/IT Consultant/Skeptic/Ski-orienteer/Orienteer/Mountaineer [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] Homepage: http://www.kjetil.kjernsmo.net/ - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Saving (or not) transformed output in a local file
It depends. I am using the PDF serializer to create some reports from data in a database. I am making it on the fly. Because is the better way to always have the lastest data into the PDF. By the way it is very fast. But maybe if you have a big static document, you can create it once and then let the file reader to take care of that. Antonio Gallardo El Martes, 29 de Octubre de 2002 11:12, Ludovic de Beaurepaire escribió: Hello, I am using Cocoon only to generate PDF documents, but I have to send them in the HttpResponse or to save them in a file localized in the server. I am looking for the best way to make it : - Overriding the CocoonServlet using a FileSavingEnvironment ? - In a stylesheet ? logicsheet ? Thanks for your answers, Ludovic - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Restricting access to cocoon
I made my own solution :) I use the auth-block from Cocoon. Then I added some permisions to user to define some actions they can do. After that before I generate the new page I check if the user can the access to the page using session:getxml. I know this is not the best approach. But it initially works I am planning to create a new Action for the sitemap.The idea is to put this action after the standard user authentication. Once the user is authenticated (isLoggedIn). I can read some permissions of this user from the session. If the user has the permission to see the page the action return OK. Then the generation continues. If not, I send a simple page: You have not permission. Regards, Antonio Gallardo El Martes, 29 de Octubre de 2002 11:42, Bruno Dumon escribió: On Tue, 2002-10-29 at 06:29, Ivelin Ivanov wrote: A few other people asked the same question recently. My personal believe is that security is orthogonal to Cocoon and belongs to the J2EE container. If you will have the time, please consider submitting a HOWTO patch to Cocoon's bugzilla on using Tomcat security with Cocoon. We used the Tomcat-security-approach in a project, so I quickly wrote down some notes about how to do it. You can find it in the wiki: http://outerthought.net/wiki/Wiki.jsp?page=AuthWithTomcat - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Cocoon 2.0.3, Resin 2.1.4, core.log, and StoreJanitorImpl
I'm running Cocoon 2.0.3 with Resin 2.1.4. It seems to work fine. It used to die unexpectedly quite often until I tweaked a few parameters in my resin servlet engine conf file. It was improperly configured to the constraints imposed upon me by the web host being used. But I still noticed many repetitive errors in the Resin server error.log file as the following (just three here): [2002/10/29 01:50:04] DEBUG (2002-10-29) 01:50.04:453 [ ] (/cocoon/status) tcpConnection-8080-0/DefaultLogKitManager: Logger for category sitemap.generator.status not defined in configuration. New Logger created and returned [2002/10/29 01:50:04] DEBUG (2002-10-29) 01:50.04:456 [ ] (/cocoon/status) tcpConnection-8080-0/DefaultLogKitManager: Logger for category sitemap.transformer.xslt not defined in configuration. New Logger created and returned [2002/10/29 01:50:04] DEBUG (2002-10-29) 01:50.04:460 [ ] (/cocoon/status) tcpConnection-8080-0/DefaultLogKitManager: Logger for category core.xslt-processor not defined in configuration. New Logger created and returned So then I started studying the core.log file of each webapp I am experimenting with and noticed when a URL is selected via the sitemap, for each access, I get a head of info as follows (I placed the '***' in a few spots below): REQUEST: /cocoon/status CONTEXT PATH: /cocoon SERVLET PATH: /status PATH INFO: null REMOTE HOST: 63.202.***.*** REMOTE ADDRESS: 63.202.***.*** REMOTE USER: null REQUEST SESSION ID: null REQUEST PREFERRED LOCALE: en_US SERVER HOST: www.***.net SERVER PORT: 8080 METHOD: GET CONTENT LENGTH: -1 PROTOCOL: HTTP/1.1 SCHEME: http AUTH TYPE: Basic CURRENT ACTIVE REQUESTS: 1 REQUEST PARAMETERS: HEADER PARAMETERS: PARAM: 'Host' VALUES: '[www.***.net:8080]' PARAM: 'User-Agent' VALUES: '[Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0]' PARAM: 'Accept' VALUES: '[text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,te xt/css,*/*;q=0.1]' PARAM: 'Accept-Language' VALUES: '[en-us, en;q=0.50]' PARAM: 'Accept-Encoding' VALUES: '[gzip, deflate, compress;q=0.9]' PARAM: 'Accept-Charset' VALUES: '[ISO-8859-1, utf-8;q=0.66, *;q=0.66]' PARAM: 'Keep-Alive' VALUES: '[300]' PARAM: 'Connection' VALUES: '[keep-alive]' PARAM: 'Referer' VALUES: '[http://www.***.net:8080/cocoon/]' SESSION ATTRIBUTES: Then many lines such as the following occur (only three here): DEBUG (2002-10-29) 01:50.04:408 [core.manager] (/cocoon/status) tcpConnection-8080-0/ResourceLimitingPool: Got a org.apache.cocoon.components.pipeline.CachingEventPipeline from the pool. DEBUG (2002-10-29) 01:50.04:408 [core.manager] (/cocoon/status) tcpConnection-8080-0/ResourceLimitingPool: Got a org.apache.cocoon.components.pipeline.CachingStreamPipeline from the pool. DEBUG (2002-10-29) 01:50.04:451 [core.manager] (/cocoon/status) tcpConnection-8080-0/DefaultComponentFactory: ComponentFactory creating new instance of org.apache.cocoon.generation.StatusGenerator. Then the fun startsmany, many lines of the following (only six listed): DEBUG (2002-10-29) 01:50.08:842 [core.store.janitor] (Unknown-URI) Unknown-thread/StoreJanitorImpl: JVM total Memory: 24309760 DEBUG (2002-10-29) 01:50.08:842 [core.store.janitor] (Unknown-URI) Unknown-thread/StoreJanitorImpl: JVM free Memory: 5772608 DEBUG (2002-10-29) 01:50.08:842 [core.store.janitor] (Unknown-URI) Unknown-thread/StoreJanitorImpl: Memory is low = false DEBUG (2002-10-29) 01:50.18:850 [core.store.janitor] (Unknown-URI) Unknown-thread/StoreJanitorImpl: JVM total Memory: 24309760 DEBUG (2002-10-29) 01:50.18:850 [core.store.janitor] (Unknown-URI) Unknown-thread/StoreJanitorImpl: JVM free Memory: 5727272 DEBUG (2002-10-29) 01:50.18:851 [core.store.janitor] (Unknown-URI) Unknown-thread/StoreJanitorImpl: Memory is low = false They come in groups of three, and are created at fairly regular intervals (10 secs on my particular server.) Cocoon seems to run fine. The only concern is it may not be operating as efficiently as it could, and also fills up the log files real quick. Is there a parameter I may have missed? Perhaps it is something with the configuration of my Resin 2.1.4 server. Thanks for any input. Jon Lancelle
Re: [sitemap] Passing parameters to XML
Thanks Eric but unfortunately my problem is not the same as yours. I have always had a root element page. Dave - Original Message - From: Eric Everman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 29, 2002 11:13 AM Subject: Re: [sitemap] Passing parameters to XML Dave- I believe you are having the same problem I was having. Ilya's reply to me fixed the problem: Implicit variables are not created until the content tag is reached, thus logic prior to content that references them will fail. I'm *very* new to Cocoon so I have no experience with past versions. If this worked previously for you and now doesn't, this must be the result of a change in the way xsp pages are processed (isn't this breaking all kinds of code?!!!). I was going to report this as a bug, however, someone with more history (like yourself) should make that call. Is this what is causing your problem? Eric Everman - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: R: XML to Excel file
El Martes, 29 de Octubre de 2002 04:50, Lorenzo De Sio escribió: Boris, I think your message got a bit underlooked: I agree it is quite a dirty trick, but it actually seems to work. I tried on both Excel 97 and 2000: in both cases the file gets correctly opened, and it retains the original HTML formatting (multiple colspan, colors, etc.). As you save the file from within Excel, it seems to get saved in XLS binary format, which prevents further HTML conversions as the file is opened later. Since I think that most time spent on M$ proprietary formats could be better spent :-), I definitely suggest anyone needing such a solution to give it a try. I actually added such a line to the sitemap: map:serializer name=xls mime-type=application/vnd.ms-excel src=org.apache.cocoon.serialization.HTMLSerializer I think that the POI HSSF approach is definitely the right way to go, but I also think that it can be quite time-consuming (the need to write an alternate XSL in yet-another markup language can be quite tedious, especially for complex tables, since the GNumeric format also requires you to think in quite a different way from HTML table logic). It depends, you can write a general XSL and then try to sort the data as they can be interpreted by the general XSL. The true about XSL is that you write it once and use it many times. This is the reason I love Cocoon and XSL. Antonio Gallardo I would appreciate any comments, L. -Messaggio originale- Da: Boris Althaus [mailto:boris;petra-productions.de] Inviato: lunedì 28 ottobre 2002 17.43 A: [EMAIL PROTECTED] Oggetto: Re: XML to Excel file Hi Chris, when you set the content-type in a servlet like response.setContentType(application/vnd.ms-excel); a simple html-table will opened as excel-file, if Excel is installed. but i think it is not a question for [EMAIL PROTECTED] Boris - Original Message - From: Dorsey, Chris To: [EMAIL PROTECTED] Sent: Monday, October 28, 2002 5:25 PM Subject: XML to Excel file Does anyone have recommendations on how to get from an XML stream to an Excel file without using cocoon? - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [sitemap] Passing parameters to XML
As I understand it, and that's not great, runtime parameters may be manipulated by either an Action or by XSP. I realize that my knowledge of Actions is not enough to get anything working -- and it's back to the manual for me. I haven't found a single example so far. But I am still curious as to how the sitemap would handle logic in XSP. As I recall, there's something explicit for POST but nothing explicit for GET and a query string. For what I want, I am doubtful that the power of Actions is necessary and I certainly wouldn't want to write a servlet if I can avoid it. I just want to get a couple of parameters and use 'esql:query' to retrieve data from my database. Dave - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED]; Dave Biggar [EMAIL PROTECTED] Sent: Tuesday, October 29, 2002 9:47 AM Subject: Re: [sitemap] Passing parameters to XML I'm not sure why that's not working as I use that concept all the time. I typically create actions that pull from the request object , e.g. getParameter but action vs XSP shouldn't matter. ??? MD - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Cocoon 2.1 Authentication Samples
Hello, A number of people a couple of weeks ago had problems getting 1.2 dev authentication samples (as well as portal) to run. The issue was an IlligalState exception or something of that sort. Does anyone know if it's been fixed in the current CVS? Thanks, -Alex - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
xml document validation against schema or dtd
Hello, Has anybody tried to implement xml document validation in cocoon? I can'tconfigure validation in cocoon.xconf, because cocoon needs a grammar when this feature is setup. So, I would like to know if it is a good idea to build a component that doesthe validation, and in this case, which component (generator, transformer, ...)is the best. Oskar
HTML entities in UTF-8
Hi, Why does Cocoon generates UTF-8 encoded HTML with named entities? Does anyone know how to produce pure UTF-8 encoded HTML (without any character entities)? I am using Cocoon 2.0.3 + Tomcat 4.1.12 + JDK 1.4.1. Robert Lubczynski - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
More sub-sitemap questions
Good afternoon (in Cali), As I mentioned in my last email (anyone figure an answer yet? I haven't), I'm trying to keep all my Cocoon projects running live on my development server via auto mounting sub-sitemaps. The ability for each mount to have it's own cocoon.xconf file seems to be the last piece that makes this possible. I setup datasources and some custom components in cocoon.xconf. My question is how are name conflicts dealt with if you have components with the same name in the main cocoon.xconf file and the sub cocoon.xconf file? More specifically, if I have this in my code: public void compose(ComponentManager manager) throws ComponentException { super.compose(manager); if (nodeStore == null) { this.nodeStore = (NodeStore)manager.lookup(NodeStore.ROLE); } } and I have a NodeStore component defined in both cocoon.xconf files, is there any guarantee which component I will get? (the reason it matters is because my NodeStores are setup up to access different databases) Thanks, Justin - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Cocoon task scheduler
Ivelin Ivanov wrote: Did you look at Quartz? http://quartz.sourceforge.net/ Well, we have added Quartz to Wyona, and Wyona is based on Cocoon, so ... ;-) I also don't think it's a good idea to add another feature to Cocoon, but maybe this is something for cocoon-apps. We would certainly not mind donating it to Apache. Another option would be the Avalon scheduler if I remember correctly. Giacomo told me once that they used it for one of their projects. HTH Michael - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, October 28, 2002 7:02 AM Subject: Cocoon task scheduler Hello everybody, I'm writing application with Cocoon which include Cocoon portal, authentication, etc.. All you need when you use an application server. But I think about a functionnality which would be very useful on a app server: a scheduler (like the Cron in Unix). So my question is: what the solution with Cocoon if I want to automate and execute tasks without a HTTP request (for example to execute a task every sunday at 12 o'clock)?? Could I use an independant software in my server or is there a concept in Cocoon? Thank you Sylvain - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Current 2.1-dev CVS build
Folks, Environment: === Windows/2000 Professional with all relevant patches IIS 5 with all relevant patches JDK 1.3.1_04 Tomcat 4.1.14 running as a service mod_jk 1.2 (isapi_redirector.dll) Jetspeed current CVS (as of 0900 PST 10/01/02) Cocoon 2.1-dev current CVS (as of 01000 PDST 10/29/02) What works == http://localhost:8080/ http://localhost/Tomcat/ http://localhost:8080/jetspeed/ http://localhost/jetspeed/ http://localhost:8080/cocoon/documents/index.html http://localhost/cocoon/documents/index.html What fails == All examples fail with the following: java.lang.NoClassDefFoundError: org/apache/regexp/RESyntaxException at org.apache.xalan.xsltc.compiler.Mode.peepHoleOptimization(Mode.java:1263) at org.apache.xalan.xsltc.compiler.Mode.compileApplyTemplates(Mode.java:908) at org.apache.xalan.xsltc.compiler.Stylesheet.compileModes(Stylesheet.java:447) at org.apache.xalan.xsltc.compiler.Stylesheet.translate(Stylesheet.java:548) at org.apache.xalan.xsltc.trax.TemplatesHandlerImpl.getTemplates(TemplatesHandlerImpl.java:167) at org.apache.avalon.excalibur.xml.xslt.XSLTProcessorImpl.getTransformerHandlerAndValidity(XSLTProcessorImpl.java:224) at org.apache.cocoon.transformation.TraxTransformer.setup(Unknown Source) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupPipeline(Unknown Source) at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.setupPipeline(Unknown Source) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(Unknown Source) at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(Unknown Source) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(Unknown Source) at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(Unknown Source) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(Unknown Source) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(Unknown Source) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(Unknown Source) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(Unknown Source) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(Unknown Source) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(Unknown Source) at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(Unknown Source) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(Unknown Source) at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(Unknown Source) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(Unknown Source) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(Unknown Source) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(Unknown Source) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(Unknown Source) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(Unknown Source) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(Unknown Source) at org.apache.cocoon.Cocoon.process(Unknown Source) at org.apache.cocoon.servlet.CocoonServlet.service(Unknown Source) This says that RESyntaxException.class is not found in the Apache regular expression jar file. However, in cocoon\WEB-INF\lib\jakarta-regexp-1.2.jar, the following is listed: jar tf jakarta-regexp-1.2.jar META-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/regexp/ org/apache/regexp/ReaderCharacterIterator.class org/apache/regexp/REUtil.class org/apache/regexp/RESyntaxException.class org/apache/regexp/REDebugCompiler.class org/apache/regexp/RETest.class org/apache/regexp/StreamCharacterIterator.class org/apache/regexp/REProgram.class org/apache/regexp/StringCharacterIterator.class org/apache/regexp/RE.class org/apache/regexp/RECompiler.class org/apache/regexp/RECompiler$RERange.class org/apache/regexp/recompile.class org/apache/regexp/REDemo.class org/apache/regexp/REDemo$1.class org/apache/regexp/CharacterIterator.class org/apache/regexp/CharacterArrayCharacterIterator.class This shows that the class is in the expected jar file. The build command for cocoon 2.1-dev was: build -Dinclude.webapp.libs=yes -Dinclude.scratchpad.libs=yes -Dinstall.war=%TOMCAT_HOME%\webapps webapp I'm going to do some digging into the construction of the war package, but any thoughts would be appreciated. Building from CVS worked as late as 10/21/02, which is the last time I rebuilt Cocoon 2.1-dev. Thanks in advance - /mde/ just my two cents . . . .
Re: dynamic XMLForm taking inout data from previous steps?
I tried to figure how the xf:repeat and xf:group tags work, maybe that's the way to go. Still not much info about it anyway. I think I've almost got it: xf:repeat nodeset=languages[position() lt;= /descriptionsNumber] id=descriptionLangs xf:textbox ref=. class=info xf:captionLanguage (code):/xf:caption /xf:textbox /xf:repeat And I have in the model bean: ... private int descriptionsNumber = 1; private List languages = new ArrayList(); ... public InsertBean () { initLanguages(); } public void initLanguages() { languages.add(en); languages.add(es); } ... And the 'descriptionsNumber' is filled on a previous step in the form wizard. But...oh yes, there's a but, I can only generate in the repeat as many input boxes as elements the 'languages' ArrayList have. It seems that it doesn't show more than two of them no matter the number I put to fill the 'descriptionsNumber' field. If I put 1, it shows just one field, if I put 2, it shows two fields, if I put three or more, it only shows two anyway. I guess that's because the ArrayList only have two elements and the rest of the calls return null. Is there a workaround? I think I'll try looking at the source code of the transformer... Best. - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
xscript:transform parameters and xsp:expr
Hey all, I'm working on a problem and maybe somebody knows what is going wrong. It seems that if I make a soap request to build a new xscript variable, even if part of the soap request is build using xsp:expr's, the result successfully gets placed in the variable. This means that the XSP expressions must have been evaluated before the XScript expressions. On the other hand, when I get to my transformation, I'm trying to pass parameters to the XSLT using XSP expressions and they simply aren't being evaluated before the transform. I'm always getting the text of the expression as the parameter value inside of the stylesheet. The attempted call looks like this: xscript:transform name=soapresult stylesheet=stylesheet xscript:parameter name=collectionNamexsp:exprcollectionName/xsp:expr/xscript:parameter /xscript:transform Any ideas? Thanks for any help anyone can provide. /S -- Steven Cummings Columbia, MO Email: [EMAIL PROTECTED] AIM: cummingscs ICQ: 3330114 __ The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/ - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Current 2.1-dev CVS build
try reinstalling your tomcat and make sure that there are no spaces. like: c:\program files\apache group\tomcat\4.1 change to c:\apachegroup\tomcat\4.1... - Original Message - From: Mark Eggers [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, October 30, 2002 6:04 AM Subject: Current 2.1-dev CVS build Folks, Environment: === Windows/2000 Professional with all relevant patches IIS 5 with all relevant patches JDK 1.3.1_04 Tomcat 4.1.14 running as a service mod_jk 1.2 (isapi_redirector.dll) Jetspeed current CVS (as of 0900 PST 10/01/02) Cocoon 2.1-dev current CVS (as of 01000 PDST 10/29/02) What works == http://localhost:8080/ http://localhost/Tomcat/ http://localhost:8080/jetspeed/ http://localhost/jetspeed/ http://localhost:8080/cocoon/documents/index.html http://localhost/cocoon/documents/index.html What fails == All examples fail with the following: java.lang.NoClassDefFoundError: org/apache/regexp/RESyntaxException at org.apache.xalan.xsltc.compiler.Mode.peepHoleOptimization(Mode.java:1263) at org.apache.xalan.xsltc.compiler.Mode.compileApplyTemplates(Mode.java:908) at org.apache.xalan.xsltc.compiler.Stylesheet.compileModes(Stylesheet.java:447) at org.apache.xalan.xsltc.compiler.Stylesheet.translate(Stylesheet.java:548) at org.apache.xalan.xsltc.trax.TemplatesHandlerImpl.getTemplates(TemplatesHandl erImpl.java:167) at org.apache.avalon.excalibur.xml.xslt.XSLTProcessorImpl.getTransformerHandler AndValidity(XSLTProcessorImpl.java:224) at org.apache.cocoon.transformation.TraxTransformer.setup(Unknown Source) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupPipeli ne(Unknown Source) at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline .setupPipeline(Unknown Source) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(Unk nown Source) at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(Unkn own Source) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo keNodes(Unknown Source) at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invok e(Unknown Source) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo keNodes(Unknown Source) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(Unkno wn Source) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo keNodes(Unknown Source) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(Unkn own Source) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(Unknown Source) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(Unknown Source) at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(Unknown Source) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo keNodes(Unknown Source) at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invok e(Unknown Source) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo keNodes(Unknown Source) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(Unkno wn Source) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo keNodes(Unknown Source) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(Unkn own Source) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(Unknown Source) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(Unknown Source) at org.apache.cocoon.Cocoon.process(Unknown Source) at org.apache.cocoon.servlet.CocoonServlet.service(Unknown Source) This says that RESyntaxException.class is not found in the Apache regular expression jar file. However, in cocoon\WEB-INF\lib\jakarta-regexp-1.2.jar, the following is listed: jar tf jakarta-regexp-1.2.jar META-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/regexp/ org/apache/regexp/ReaderCharacterIterator.class org/apache/regexp/REUtil.class org/apache/regexp/RESyntaxException.class org/apache/regexp/REDebugCompiler.class org/apache/regexp/RETest.class org/apache/regexp/StreamCharacterIterator.class org/apache/regexp/REProgram.class org/apache/regexp/StringCharacterIterator.class org/apache/regexp/RE.class org/apache/regexp/RECompiler.class org/apache/regexp/RECompiler$RERange.class org/apache/regexp/recompile.class org/apache/regexp/REDemo.class org/apache/regexp/REDemo$1.class org/apache/regexp/CharacterIterator.class org/apache/regexp/CharacterArrayCharacterIterator.class This shows that the class is in the expected jar file. The build command for cocoon 2.1-dev was: build -Dinclude.webapp.libs=yes -Dinclude.scratchpad.libs=yes -Dinstall.war=%TOMCAT_HOME%\webapps webapp I'm going to do some digging into
Current 2.1-dev CVS build
I re-installed the production version (2.0.3) from source into the same environment, and that version works fine. Unfortunately, I have grown accustomed to XML Forms . . . In addition to jakarta-regexp-1.2.jar being present in cocoon/WEB-INF/lib, it is also present in the commons area for Tomcat. If I remember correctly, those jar files are then available to all contexts. There is a possibility that the version of xalan in the CVS repository is having trouble. I'll investigate that next. Meanwhile, if anyone has a clue as to what's going on, I would greatly appreciate it. Thanks in advance - /mde/ just my two cents . . . . __ Do you Yahoo!? HotJobs - Search new jobs daily now http://hotjobs.yahoo.com/ - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Cocoon 2.1 Authentication Samples
AFAIK it's fixed. Carsten -Original Message- From: Alex Romayev [mailto:romayev;yahoo.com] Sent: Tuesday, October 29, 2002 9:03 PM To: [EMAIL PROTECTED] Subject: Cocoon 2.1 Authentication Samples Hello, A number of people a couple of weeks ago had problems getting 1.2 dev authentication samples (as well as portal) to run. The issue was an IlligalState exception or something of that sort. Does anyone know if it's been fixed in the current CVS? Thanks, -Alex - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]