RE: [woody] binding the forms to data
-Original Message- From: Marc Portier [mailto:[EMAIL PROTECTED] Sent: Dienstag, 1. Juli 2003 07:37 To: [EMAIL PROTECTED] Subject: [woody] binding the forms to data ... The actual binding definition file could be filled with: bnd:field id=widget-name path=xpath expression into model / I don't see the added value of putting the binding definition into a separate file. It should be inside the woody-definition file to avoid yet another maintenance nightmare of joining two XML files by an id. Using JXPath there should be a fairly easy way to have this binding work for a backend producing either javabeans or XML files. what do people think? The possibility to define constant initial values in wd:datatype is urgently needed. To have an easy way to set it dynamically would be really cool. wd:field id=widget-name wd:datatype base=string wd:initialconstant value/wd:initial !-- or -- wd:initial path='constant value'/ !-- dynamic -- wd:initial path=xpath expression into model/ /wd:datatype /wd:field A general load/save binding specification in XML can get pretty nasty for real-world examples with one-to-many and many-to-one mappings between external form and model attributes. I'd say Woody should stick to the rule to have a simple solution for simple problems and provide hooks for solving difficult problems in Java. Cheers, Alfred. This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company.
Re: [woody] binding the forms to data
Nathaniel Alfred wrote: -Original Message- From: Marc Portier [mailto:[EMAIL PROTECTED] Sent: Dienstag, 1. Juli 2003 07:37 To: [EMAIL PROTECTED] Subject: [woody] binding the forms to data ... The actual binding definition file could be filled with: bnd:field id=widget-name path=xpath expression into model / I don't see the added value of putting the binding definition into a separate file. It should be inside the woody-definition file to avoid yet another maintenance nightmare of joining two XML files by an id. mmm, the set of ids in the form-model are pretty much it's contract to the outside world if you need to code getWidget(id).setValue(..) then the nightmare becomes syncing the java code with the XML file... there is not that much that binding can do to prevent that IMHO? sliding everythin in one file might result in the opposite of your own 'simplicity' baseline? (see further) might be me being too overly SoC concerned though... Using JXPath there should be a fairly easy way to have this binding work for a backend producing either javabeans or XML files. what do people think? The possibility to define constant initial values in wd:datatype is urgently needed. To have an easy way to set it dynamically would be really cool. wd:field id=widget-name wd:datatype base=string wd:initialconstant value/wd:initial !-- or -- wd:initial path='constant value'/ !-- dynamic -- wd:initial path=xpath expression into model/ /wd:datatype /wd:field nice feature on the static side of things... but, I think I am more ambitious on the dynamic side of things: I want the changed values to propagate back to the objectmodel. (think editing XML documents for instance) that is more then just 'initial' binding A general load/save binding specification in XML can get pretty nasty for real-world examples with one-to-many and many-to-one mappings between external form and model attributes. yep, thought crossed my mond, although defining some straightforward 'actions' in the binding should do the trick bnd:repeater .. bnd:action event=insert-row bnd:insert-node...template to insert.../insert-node bnd:set-attribute name=status value=updated / other issues you see? I'd say Woody should stick to the rule to have a simple solution for simple problems and provide hooks for solving difficult problems in Java. that is probably the biggest argument for keeping this binding into separate files. maybe you like it more if you look at it as FormManager builds Forms Bindingmanager build Bindings the code applies the binding to the form as such woody's form model remains as simple as you like the present hook for the code 'setValue' just got a more declarative way of exploiting things to be totally clear: binding should never be required to be able to use a woody form. regards, -marc= -- Marc Portierhttp://outerthought.org/ Outerthought - Open Source, Java XML Competence Support Center Read my weblog at http://radio.weblogs.com/0116284/ [EMAIL PROTECTED] [EMAIL PROTECTED]
[FYI] Javascript 2.0 proposal
Since we have put our bets on javascript, it may be inetresting to follow discussions about the new Javascript. http://www.mozilla.org/js/language/js20/ The nice thing is that the discussions seem to point to a more Java/Python-esque language, that can only make us happy :-) -- Nicola Ken Barozzi [EMAIL PROTECTED] - verba volant, scripta manent - (discussions get forgotten, just code remains) -
Re: Introduction Reinhard Pötz
Welcome Reinhard, and thanks for the overview of you and your excellent ambitions. Reinhard Pötz wrote: snip/ Apart from Cocoon I'm on the way to become a Certified Transactional Analyst (this has nothing to do with IT as many people believe but more with psychology), ... snip/ Then you might also be interested in http://www.why-compete.org/ and Aleader for Situation Assessment. The Manual doc provides background and the Empathy Index provides some examples. --David
DO NOT REPLY [Bug 21213] New: - [PATCH] Paginator caches dynamic pagesheet rules
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21213. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21213 [PATCH] Paginator caches dynamic pagesheet rules Summary: [PATCH] Paginator caches dynamic pagesheet rules Product: Cocoon 2 Version: Current CVS 2.1 Platform: All OS/Version: All Status: NEW Severity: Normal Priority: Other Component: sitemap components AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] When the pagesheet rules are served over the cocoon protocol, instead of a static file, the pagesheet definitions are cached from the first time they are used. This is my usecase: map:transform src=cocoon:/pagesheets/searchmachine.xml type=paginate map:parameter name=page value={request-param:page}/ /map:transform The problem lies in the fact, that the cocoon protocol Source alway's gives 0 for their lastModified date. These let the Paginator think that the pagesheet rules has never changed. This patch enables the paginator to work correctly with this scenario.
DO NOT REPLY [Bug 21213] - [PATCH] Paginator caches dynamic pagesheet rules
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21213. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21213 [PATCH] Paginator caches dynamic pagesheet rules --- Additional Comments From [EMAIL PROTECTED] 2003-07-01 08:52 --- Created an attachment (id=7036) patch for Pagesheet.java
Re: Aspect-based pipelines and link view ( Re: Link view goodness)
Upayavira wrote, On 30/06/2003 18.18: Guys, The link stuff is a cross-cutting concern. This thread has IMHO shown how aspects can be easily added to the sitemap, and effectively used. Let's see... ... map:resource name=gather-links from-position=content !-- Any required link munging -- map:transformer type=gather-links/ /map:resource ... Seems like simply adding this capability to resources is nice. We could similarly make a link-view that uses the same transformer and a serializer. In this way it could also be compatible with the 3pass method. Hmmm... Ie, a Resource inserted in each pipeline after the 'content' label. Rather AOP'ish. Yup. As link gathering is a cross-cutting concern, it also makes sense conceptually. So you're saying, with a resource that has a 'from-position' attribute, that specifies after which label it should be inserted? That makes sense. So you only have to have the resource once per sitemap, rather than having to insert it into every pipeline. Exactly. As you say, it automatically gets inserted in each place where I would have to put it manually. So it's not part of the single pipelines, but it's a common aspect of the system that gets applied. For example, if I wanted to log all method exits, I could put by hand a log() call in each method. Or I could factor out this aspect and specify with a rule where it applies, like saying: foreach(method.return){ log() } The important thing here is how I can tell the system about where to apply that code. It's important that it can be explained as a common rule, or else I'll be just moving the single log calls out of the methods, with no gain. Here, linking has to be applied to a *group* of pipelines, in a specific *part* of them. IE: for xml pipelines, where the content is done, insert this transformer. But - what if the pipeline itself needs modifying to expose links from within PDFs for example. The LinkGatheringTransformer I have coded has two modes, one where it just hunts for href, src and xlink attributes, and the other that searches for attributes in the http://apache.org/cocoon/link-gatherer/1.0 namespace (probably to be used with a 'link' prefix). This latter kind is required for gathering links that don't conform to the href, src or xlink conventions. Just auto-inserting a link gatherer wouldn't work in this case. It has to be possible to define when one or the other apply. Examples of the two usages? ... Now we say: when the view is triggered, start at a label After it could be: when the view is triggered, start at position Instead we need: when the position is met, check if it has to be triggered. Here is an example that uses this inverted AOPish system for views. The following adds two aspects: - an aspect gets called from every content position and gathers links. - the other one gets called from every content position. If the request has a cocoon-view=links, then the links are serialized. map:aspects map:aspect type=from-label test=content !-- Any required link munging -- map:transformer type=gather-links/ /map:aspect map:aspect type=from-label test=content map:action type=request-param map:param name=cocoon-view value=link map:serializer type=links/ /map:action /map:aspect /map:aspects This would make it very easy to add security-based checks, logging, or any other stuff. map:aspects map:aspect type=pipeline test=start map:action type=check-security/ /map:aspect map:aspect type=pipeline test=all map:transformer type=logger/ /map:aspect map:aspect type=error test=all map:action type=notify-admin/ /map:aspect /map:aspects What do others think? ... I'm afraid you left me completely behind there. I've not really yet understood what AOP is, and your ideas go far further than my Cocoon implementation skills currently allow. It's quite easy once you go behind the words... I'd quite like to find something that can be implemented reasonably short term, and then explore these more far-reaching ideas as time passes (and as the size and capacity of my brain increases). Are you guys interested for the time being in a LinkGatheringTransformer as described above? Or is there something not too far away that we can do now to gather links? - Upayavira sanity check System - - please wait... - - ... - - control NicolaKen ... - in progress... *** ALERT ALERT *** *** Highly volatile thoughts *** *** ALERT ALERT *** Ok, I got the message ;-) Thanks for bringing me back to earth, I have the ?slight? ;-) tendency of flying high. Let's see what we need to resolve for this case. We said that the current gatherer has the problem of being fixed. We have seen that a transformer placed in the right place can be more configurable. So, the reasonable solution that comes from this is that if the user-defined pipeline is caching links, those are used. If not, Cocoon inserts a gatherer in the right position. This mixes ease of use with configurability
DO NOT REPLY [Bug 21177] - a crash in the name() function of the xslt, when using SQL transformer
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21177. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21177 a crash in the name() function of the xslt, when using SQL transformer --- Additional Comments From [EMAIL PROTECTED] 2003-07-01 09:59 --- it's definitively not the same as bug 19770. I've patched the xalan.jar and it stills breaks.
DO NOT REPLY [Bug 21177] - a crash in the name() function of the xslt, when using SQL transformer
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21177. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21177 a crash in the name() function of the xslt, when using SQL transformer --- Additional Comments From [EMAIL PROTECTED] 2003-07-01 10:34 --- more comments: when using the result obtained from the sqltransformer as a plain xml file, the pipe works fine. It seems like it only breaks when the sqltransformer is involved in the pipe.
cvs commit: cocoon-2.1/src/java/org/apache/cocoon/selection SimpleSelector.java
haul2003/07/01 04:18:51 Added: src/java/org/apache/cocoon/selection SimpleSelector.java Log: action dev=CH type=add Added SimpleSelector that operates just on Strings. Useful in conjunction with a sitemap variable or input module. /action Revision ChangesPath 1.1 cocoon-2.1/src/java/org/apache/cocoon/selection/SimpleSelector.java Index: SimpleSelector.java === /* The Apache Software License, Version 1.1 Copyright (C) 1999-2003 The Apache Software Foundation. All rights reserved. Redistribution and use in source and binary forms, with or without modifica- tion, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. The end-user documentation included with the redistribution, if any, must include the following acknowledgment: This product includes software developed by the Apache Software Foundation (http://www.apache.org/). Alternately, this acknowledgment may appear in the software itself, if and wherever such third-party acknowledgments normally appear. 4. The names Apache Cocoon and Apache Software Foundation must not be used to endorse or promote products derived from this software without prior written permission. For written permission, please contact [EMAIL PROTECTED] 5. Products derived from this software may not be called Apache, nor may Apache appear in their name, without prior written permission of the Apache Software Foundation. THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU- DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. This software consists of voluntary contributions made by many individuals on behalf of the Apache Software Foundation and was originally created by Stefano Mazzocchi [EMAIL PROTECTED]. For more information on the Apache Software Foundation, please see http://www.apache.org/. */ package org.apache.cocoon.selection; import org.apache.avalon.framework.configuration.Configurable; import org.apache.avalon.framework.configuration.Configuration; import org.apache.avalon.framework.configuration.ConfigurationException; import org.apache.avalon.framework.parameters.Parameters; import org.apache.avalon.framework.thread.ThreadSafe; import java.util.Map; /** * A very simple selector that operates on string literals, useful especially * in conjunction with input modules. Usage example: * pre *lt;map:selector name=simple src=org.apache.cocoon.selection.SimpleSelector/gt; * *lt;map:select type=simplegt; * lt;map:parameter name=value value={request:method}/gt; * lt;map:when test=GETgt; * ... * lt;/map:whengt; * lt;map:when test=POSTgt; * ... * lt;/map:whengt; * lt;map:when test=PUTgt; * ... * lt;/map:whengt; * lt;map:otherwisegt; * ... * lt;/map:otherwisegt; *lt;/map:selectgt; * /pre * * @author a href=mailto:[EMAIL PROTECTED]Christian Haul/a * @version CVS $Id: SimpleSelector.java,v 1.1 2003/07/01 11:18:51 haul Exp $ * @since 2.1 */ public class SimpleSelector extends AbstractSwitchSelector implements ThreadSafe { public Object getSelectorContext(Map objectModel, Parameters parameters) { return parameters.getParameter(value, ); } public boolean select(String expression, Object selectorContext) { if (selectorContext == null) { if (getLogger().isWarnEnabled()) getLogger().warn(Value not set --
cvs commit: cocoon-2.1/src/blocks/databases/java/org/apache/cocoon/acting/modular DatabaseUpdateAction.java DatabaseAddAction.java DatabaseAction.java
haul2003/07/01 04:23:19 Modified:src/blocks/databases/java/org/apache/cocoon/acting/modular DatabaseUpdateAction.java DatabaseAddAction.java DatabaseAction.java Log: action dev=CH type=update Added feature to allow a database action (i.e. delete) not to fail if no row was affected. Formating. /action Revision ChangesPath 1.2 +15 -12 cocoon-2.1/src/blocks/databases/java/org/apache/cocoon/acting/modular/DatabaseUpdateAction.java Index: DatabaseUpdateAction.java === RCS file: /home/cvs/cocoon-2.1/src/blocks/databases/java/org/apache/cocoon/acting/modular/DatabaseUpdateAction.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- DatabaseUpdateAction.java 9 Mar 2003 00:03:04 - 1.1 +++ DatabaseUpdateAction.java 1 Jul 2003 11:23:19 - 1.2 @@ -126,21 +126,24 @@ fillModes( values, false, defaultModeNames, modeTypes, queryData ); StringBuffer queryBuffer = new StringBuffer(UPDATE ); -queryBuffer.append(table.getAttribute(name)).append( SET ); +queryBuffer.append(table.getAttribute(name)); - -int cols = 0; -for (int i = 0; i queryData.columns.length; i++) { -if ( !queryData.columns[i].isKey ) { -if ( cols 0 ) { -queryBuffer.append(, ); +if (values.length 0){ +queryBuffer.append( SET ); +int cols = 0; +for (int i = 0; i queryData.columns.length; i++) { +if ( !queryData.columns[i].isKey ) { +if ( cols 0 ) { +queryBuffer.append(, ); +} +cols++; +queryBuffer +.append( queryData.columns[i].columnConf.getAttribute( name ) ) +.append( = ? ); } -cols++; -queryBuffer -.append( queryData.columns[i].columnConf.getAttribute( name ) ) -.append( = ? ); } } + queryBuffer.append( WHERE ); for (int i = 0; i queryData.columns.length; i++) { if ( queryData.columns[i].isKey ) { 1.2 +4 -2 cocoon-2.1/src/blocks/databases/java/org/apache/cocoon/acting/modular/DatabaseAddAction.java Index: DatabaseAddAction.java === RCS file: /home/cvs/cocoon-2.1/src/blocks/databases/java/org/apache/cocoon/acting/modular/DatabaseAddAction.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- DatabaseAddAction.java9 Mar 2003 00:03:04 - 1.1 +++ DatabaseAddAction.java1 Jul 2003 11:23:19 - 1.2 @@ -270,7 +270,9 @@ AutoIncrementModule autoincr = null; try { autoincrSelector=(ComponentSelector) this.manager.lookup(DATABASE_MODULE_SELECTOR); -if (queryData.columns[i].mode != null autoincrSelector != null autoincrSelector.hasComponent(queryData.columns[i].mode)){ +if (queryData.columns[i].mode != null +autoincrSelector != null + autoincrSelector.hasComponent(queryData.columns[i].mode)){ autoincr = (AutoIncrementModule) autoincrSelector.select(queryData.columns[i].mode); if ( autoincr.includeInQuery() ) { 1.3 +10 -4 cocoon-2.1/src/blocks/databases/java/org/apache/cocoon/acting/modular/DatabaseAction.java Index: DatabaseAction.java === RCS file: /home/cvs/cocoon-2.1/src/blocks/databases/java/org/apache/cocoon/acting/modular/DatabaseAction.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- DatabaseAction.java 21 May 2003 08:45:37 - 1.2 +++ DatabaseAction.java 1 Jul 2003 11:23:19 - 1.3 @@ -115,6 +115,7 @@ * trtdreloadable /tdtddynamically reload descriptor file if change is detected/td/tr * trtduse-transactions /tdtddefaults to yes/td/tr * trtdconnection /tdtdconfigured datasource connection to use (overrides value from descriptor file)/td/tr + * trtdfail-on-empty
cvs commit: cocoon-2.1/src/blocks/databases/java/org/apache/cocoon/util JDBCTypeConversions.java
haul2003/07/01 04:29:55 Modified:src/blocks/databases/java/org/apache/cocoon/util JDBCTypeConversions.java Log: action dev=CH type=update Added feature to allow a database action (i.e. delete) not to fail if no row was affected. Formating. Use toString() to convert to String rather than cast. /action Revision ChangesPath 1.4 +11 -11 cocoon-2.1/src/blocks/databases/java/org/apache/cocoon/util/JDBCTypeConversions.java Index: JDBCTypeConversions.java === RCS file: /home/cvs/cocoon-2.1/src/blocks/databases/java/org/apache/cocoon/util/JDBCTypeConversions.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- JDBCTypeConversions.java 4 Apr 2003 13:19:07 - 1.3 +++ JDBCTypeConversions.java 1 Jul 2003 11:29:55 - 1.4 @@ -322,7 +322,7 @@ length = (int)((Source) value).getContentLength(); clob = new ClobHelper(asciiStream, length); } else { -String asciiText = (String) value; +String asciiText = value.toString(); asciiStream = new ByteArrayInputStream(asciiText.getBytes()); length = asciiText.length(); clob = new ClobHelper(asciiStream, length); @@ -350,7 +350,7 @@ length = (int) anyFile.getSize(); clob = new ClobHelper(asciiStream, length); } else { -String asciiText = (String) value; +String asciiText = value.toString(); asciiStream = new BufferedInputStream(new ByteArrayInputStream(asciiText.getBytes())); length = asciiText.length(); } @@ -366,7 +366,7 @@ } else if (value instanceof Number) { bd = BigDecimal.valueOf(((Number)value).longValue()); } else { -bd = new BigDecimal((String) value); +bd = new BigDecimal(value.toString()); } statement.setBigDecimal(position, bd); @@ -380,7 +380,7 @@ } else if (value instanceof Number) { b = new Byte(((Number) value).byteValue()); } else { -b = new Byte((String) value); +b = new Byte(value.toString()); } statement.setByte(position, b.byteValue()); @@ -396,7 +396,7 @@ } else if (value instanceof Calendar) { d = new Date(((Calendar) value).getTime().getTime()); } else { -d = Date.valueOf(String.valueOf(value)); +d = Date.valueOf(value.toString()); } statement.setDate(position, d); @@ -408,7 +408,7 @@ if (value instanceof Number) { db = (((Number) value).doubleValue()); } else { -db = Double.parseDouble(String.valueOf(value)); +db = Double.parseDouble(value.toString()); } statement.setDouble(position, db); break; @@ -419,7 +419,7 @@ if (value instanceof Number) { f = (((Number) value).floatValue()); } else { -f = Float.parseFloat(String.valueOf(value)); +f = Float.parseFloat(value.toString()); } statement.setFloat(position, f); break; @@ -430,7 +430,7 @@ if (value instanceof Number) { l = (((Number) value).longValue()); } else { -l = Long.parseLong(String.valueOf(value)); +l = Long.parseLong(value.toString()); } statement.setLong(position, l); @@ -444,7 +444,7 @@ } else if (value instanceof Number) { s = new Short(((Number) value).shortValue()); } else { -s = new Short((String) value); +s = new Short(value.toString()); } statement.setShort(position, s.shortValue()); @@ -493,7 +493,7 @@ break; case Types.VARCHAR: //System.out.println(VARCHAR); -statement.setString(position, (String) value); +statement.setString(position, value.toString()); break; case Types.BLOB: //System.out.println(BLOB);
cvs commit: cocoon-2.1/src/blocks/web3/java/org/apache/cocoon/transformation Web3RfcTransformer.java
haul2003/07/01 04:33:55 Modified:src/blocks/web3/java/org/apache/cocoon/transformation Web3RfcTransformer.java Log: action dev=CH type=fix due-to=Michael Gerzabek due-to-email=[EMAIL PROTECTED] Web3: Fix extra close element on connectivity loss. /action Revision ChangesPath 1.5 +7 -3 cocoon-2.1/src/blocks/web3/java/org/apache/cocoon/transformation/Web3RfcTransformer.java Index: Web3RfcTransformer.java === RCS file: /home/cvs/cocoon-2.1/src/blocks/web3/java/org/apache/cocoon/transformation/Web3RfcTransformer.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- Web3RfcTransformer.java 6 May 2003 14:13:01 - 1.4 +++ Web3RfcTransformer.java 1 Jul 2003 11:33:55 - 1.5 @@ -207,9 +207,13 @@ catch (Exception ex) { String error = Problems getting client for backend: ' + this.backend + '; -getLogger().error (error, ex); +getLogger().error (error, ex); + +error = ex.getMessage(); +attributes.clear(); +super.contentHandler.startElement(uri, loc, raw, a); super.contentHandler.startElement(uri, Web3.PROCESSING_X_ELEM, -Web3.PROCESSING_X_ELEM, a); +Web3.PROCESSING_X_ELEM, attributes); super.contentHandler.characters(error.toCharArray(), 0, error.length()); super.contentHandler.endElement(uri, Web3.PROCESSING_X_ELEM,
cvs commit: cocoon-2.1/src/java/org/apache/cocoon/transformation SimpleFormTransformer.java
haul2003/07/01 04:39:12 Modified:src/java/org/apache/cocoon/transformation SimpleFormTransformer.java Log: action dev=CH type=update SimpleFormTransformer: Make complete form protectable, ability to use more than one transformation with different fixed attributes, optionally let error elements pass, configure prefix, suffix, separator at configuration time, add optional use of form name, formating. /action Revision ChangesPath 1.2 +366 -196 cocoon-2.1/src/java/org/apache/cocoon/transformation/SimpleFormTransformer.java Index: SimpleFormTransformer.java === RCS file: /home/cvs/cocoon-2.1/src/java/org/apache/cocoon/transformation/SimpleFormTransformer.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- SimpleFormTransformer.java9 Mar 2003 00:09:39 - 1.1 +++ SimpleFormTransformer.java1 Jul 2003 11:39:12 - 1.2 @@ -81,7 +81,8 @@ * pThis transformer fills all HTML 4 form elements with values from * an InputModule, e.g. request, with the same name. It handles select * boxes, textareas, checkboxes, radio buttons, password and text - * fields, and buttons./p + * fields, and buttons. Form elements and complete forms can be protected + * from substitution by adding an attribute fixed=true to them./p * * pIn addition, it handles FormValidatorAction results by * selectively omitting lt;error/gt; elements. These elements need a @@ -100,6 +101,9 @@ * multiple error elements for the same form element may be * present./p * + * pemNames of error elements are never augmented by prefix, suffix or + * form name./em/p + * * pTo use this transformer, add the following to your * transformation pipeline: pre * lt;map:transform type=simple-form/gt; @@ -109,6 +113,25 @@ * table * trtdinput-module/tdtd(String) InputModule configuration, * defaults to an empty configuration and the request-param module/td/tr + * trtdfixed-attribute/tdtd(String) Name of the attribute used to + * indicate that this element should not be changed. (fixed)/td/tr + * trtduse-form-name/tdtd(boolean) Add the name of the form to the + * name of form elements. Uses default Separator , if default separator is null + * or empty, separator is set to /. (false)/td/tr + * trtduse-form-name-twice/tdtd(boolean) Add the name of the form twice to the + * name of form elements. This is useful when the form instance has no + * all enclosing root tag and the form name is used instead emand/em the + * form name needs to be used to find the form data. Uses default Separator , + * if default separator is null or empty, separator is set to /.(false)/td/tr + * trtdseparator/tdtd(String) Separator between form name and element name (/) + * /td/tr + * trtdprefix/tdtd(String) Prefix to add to element name for value lookup. No + * separator will be added between prefix and rest of the name. Default + * is , when use-form-name is set, defaults to separator./td/tr + * trtdsuffix/tdtd(String) Added to the input element's name. No + * separator will be added between rest of the name and suffix. ()/td/tr + * trtdignore-validation/tdtd(boolean) If set to true, all error + * tags are copied as is regardless of the validation results.(false)/td/tr * /table * /p * @@ -129,7 +152,8 @@ * @author a href=mailto:[EMAIL PROTECTED]Christian Haul/a * @version CVS $Id$ */ -public class SimpleFormTransformer extends AbstractTransformer +public class SimpleFormTransformer +extends AbstractTransformer implements Composable, Configurable, Recyclable { /** Symbolic names for elements */ @@ -145,6 +169,8 @@ private static final int ELEMENT_TXTAREA = 4; /** error element */ private static final int ELEMENT_ERROR = 5; +/** form element */ +private static final int ELEMENT_FORM = 6; /** default element as Integer (needed as default in org.apache.cocoon.util.HashMap.get()) */ private static final Integer defaultElement = new Integer(ELEMENT_DEFAULT); @@ -156,9 +182,9 @@ private static final int TYPE_RADIO = 2; /** default input type as Integer (needed as default in org.apache.cocoon.util.HashMap.get()) */ private static final Integer defaultType = new Integer(TYPE_DEFAULT); - + protected static final String INPUT_MODULE_ROLE = InputModule.ROLE; -protected static final String INPUT_MODULE_SELECTOR = INPUT_MODULE_ROLE+Selector; +protected static final String INPUT_MODULE_SELECTOR = INPUT_MODULE_ROLE + Selector; /** map element name
Re: More on FOM
On 30.Jun.2003 -- 10:29 PM, Sylvain Wallez wrote: Ricardo Rocha wrote: Sylvain Wallez wrote: Ricardo Rocha wrote: Imo, the flow renders actions (and modules outside the sitemap) unnecessary, so we shouldn't encourage their continued use by providing FOM-level support for them. The idea, in the long term, is to stop using actions (and xsp's, for that matter) in favor of the flow. That said, *indirect* access to modules and actions would satisfy short-term, transitional requests to allow reuse of such legacy components from the flow (if only by popular demand :-)). Ok. So we allow some abuse to satify transition of legacy applications or code. I'm happy with the suggested legacy.js in conjunction with the changes needed with regard to the object model. Nag : I still believe that creating a new, cut-down request, session, properties, cookie object for flow is unwise and we'd be better off ripping them out and go through modules instead. That would simplify the FOM a lot and yet would be more powerful. Chris. -- C h r i s t i a n H a u l [EMAIL PROTECTED] fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08
cvs commit: cocoon-2.1 status.xml
haul2003/07/01 04:53:50 Modified:.status.xml Log: reflect changes Revision ChangesPath 1.70 +19 -1 cocoon-2.1/status.xml Index: status.xml === RCS file: /home/cvs/cocoon-2.1/status.xml,v retrieving revision 1.69 retrieving revision 1.70 diff -u -r1.69 -r1.70 --- status.xml1 Jul 2003 05:31:51 - 1.69 +++ status.xml1 Jul 2003 11:53:50 - 1.70 @@ -183,6 +183,24 @@ changes release version=@version@ date=@date@ + action dev=CH type=fix due-to=Michael Gerzabek due-to-email=[EMAIL PROTECTED] +Web3: Fix extra close element on connectivity loss. + /action + action dev=CH type=update +SimpleFormTransformer: Make complete form protectable, ability to use more +than one transformation with different fixed attributes, optionally let +error elements pass, configure prefix, suffix, separator at configuration +time, add optional use of form name, formating. + /action + action dev=CH type=update +Added feature to allow a database action (i.e. delete) not to fail if no +row was affected. Formating. Use toString() to convert to String rather +than cast. + /action + action dev=CH type=add +Added SimpleSelector that operates just on Strings. Useful in conjunction +with a sitemap variable or input module. + /action action dev=JH type=fix fixes-bug=19104 due-to=Johan Stuyts due-to-email=[EMAIL PROTECTED] Fixed SchematronValidator.evalRule() in xmlforms block: create a relative context instead of an absolute one. This allows to refer to another form field by using relative paths (../password) instead of choosing a common root.
DO NOT REPLY [Bug 21218] New: - Broken Link: Jisp
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21218. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21218 Broken Link: Jisp Summary: Broken Link: Jisp Product: Cocoon 2 Version: Current CVS 2.1 Platform: Other URL: http://cocoon.apache.org/2.1/userdocs/concepts/persisten ce.html OS/Version: Linux Status: NEW Severity: Minor Priority: Other Component: general components AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] The link on http://cocoon.apache.org/2.1/userdocs/concepts/persistence.html to Jisp on http://www.coyotegulch.com/algorithm/jisp/index.html seems to be broken. http://www.coyotegulch.com/jisp/index.html works.
DO NOT REPLY [Bug 39] - XSLTProcessor reports hasChanged true for Lynx
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=39. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=39 XSLTProcessor reports hasChanged true for Lynx [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||WONTFIX --- Additional Comments From [EMAIL PROTECTED] 2003-07-01 12:30 --- Won't fix http://marc.theaimsgroup.com/?l=xml-cocoon-devm=105327622716480w=2
DO NOT REPLY [Bug 39] - XSLTProcessor reports hasChanged true for Lynx
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=39. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=39 XSLTProcessor reports hasChanged true for Lynx [EMAIL PROTECTED] changed: What|Removed |Added Status|RESOLVED|CLOSED
DO NOT REPLY [Bug 40] - Provide optional conversion from Java line nums to XSP line nums
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=40. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=40 Provide optional conversion from Java line nums to XSP line nums [EMAIL PROTECTED] changed: What|Removed |Added AssignedTo|[EMAIL PROTECTED] |[EMAIL PROTECTED]
DO NOT REPLY [Bug 76] - get-xml can't be used without a parent XML element
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=76. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=76 get-xml can't be used without a parent XML element [EMAIL PROTECTED] changed: What|Removed |Added AssignedTo|[EMAIL PROTECTED] |[EMAIL PROTECTED] Priority||High
DO NOT REPLY [Bug 694] - Request for XSLT style {} attribute processing
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=694. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=694 Request for XSLT style {} attribute processing [EMAIL PROTECTED] changed: What|Removed |Added AssignedTo|[EMAIL PROTECTED] |[EMAIL PROTECTED] Priority||High
DO NOT REPLY [Bug 819] - Cocoon installation in AppServer 4.5
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=819. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=819 Cocoon installation in AppServer 4.5 [EMAIL PROTECTED] changed: What|Removed |Added AssignedTo|[EMAIL PROTECTED] |[EMAIL PROTECTED]
DO NOT REPLY [Bug 885] - On max-rows attribute in ESQL logicsheet
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=885. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=885 On max-rows attribute in ESQL logicsheet [EMAIL PROTECTED] changed: What|Removed |Added AssignedTo|[EMAIL PROTECTED] |[EMAIL PROTECTED] Priority||High
DO NOT REPLY [Bug 1285] - Installation instructions need updating again
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1285. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1285 Installation instructions need updating again [EMAIL PROTECTED] changed: What|Removed |Added AssignedTo|[EMAIL PROTECTED] |[EMAIL PROTECTED]
DO NOT REPLY [Bug 1614] - iPlanet installation documentation error
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1614. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1614 iPlanet installation documentation error [EMAIL PROTECTED] changed: What|Removed |Added AssignedTo|[EMAIL PROTECTED] |[EMAIL PROTECTED] Status|ASSIGNED|NEW
DO NOT REPLY [Bug 1615] - Cocoon fails to initialize under iPlanet install
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1615. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1615 Cocoon fails to initialize under iPlanet install [EMAIL PROTECTED] changed: What|Removed |Added AssignedTo|[EMAIL PROTECTED] |[EMAIL PROTECTED] Status|ASSIGNED|NEW
DO NOT REPLY [Bug 1903] - SAXON transformer does not accept local file 'sheetBase' + FIX in transformer interface
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1903. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1903 SAXON transformer does not accept local file 'sheetBase' + FIX in transformer interface [EMAIL PROTECTED] changed: What|Removed |Added AssignedTo|[EMAIL PROTECTED] |[EMAIL PROTECTED]
DO NOT REPLY [Bug 1983] - Using 1 column more then once in esql:row-results cause unexpected results
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1983. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1983 Using 1 column more then once in esql:row-results cause unexpected results [EMAIL PROTECTED] changed: What|Removed |Added AssignedTo|[EMAIL PROTECTED] |[EMAIL PROTECTED] OS/Version||All
DO NOT REPLY [Bug 2087] - The XSP engine always renders the data within a CDATA tag as Java fragment.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2087. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2087 The XSP engine always renders the data within a CDATA tag as Java fragment. [EMAIL PROTECTED] changed: What|Removed |Added AssignedTo|[EMAIL PROTECTED] |[EMAIL PROTECTED]
DO NOT REPLY [Bug 2346] - Cache only works for one browser
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2346. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2346 Cache only works for one browser [EMAIL PROTECTED] changed: What|Removed |Added AssignedTo|[EMAIL PROTECTED] |[EMAIL PROTECTED]
DO NOT REPLY [Bug 2534] - Problem in the installing procedure
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2534. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2534 Problem in the installing procedure [EMAIL PROTECTED] changed: What|Removed |Added AssignedTo|[EMAIL PROTECTED] |[EMAIL PROTECTED]
DO NOT REPLY [Bug 2608] - Augmenting cocoon.properties with additional properties
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2608. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2608 Augmenting cocoon.properties with additional properties [EMAIL PROTECTED] changed: What|Removed |Added AssignedTo|[EMAIL PROTECTED] |[EMAIL PROTECTED]
DO NOT REPLY [Bug 2739] - XSP compile-time vs run-time classpath issue
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2739. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2739 XSP compile-time vs run-time classpath issue [EMAIL PROTECTED] changed: What|Removed |Added AssignedTo|[EMAIL PROTECTED] |[EMAIL PROTECTED]
DO NOT REPLY [Bug 3599] - Errors with Acrobat Reader v5
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3599. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3599 Errors with Acrobat Reader v5 [EMAIL PROTECTED] changed: What|Removed |Added AssignedTo|[EMAIL PROTECTED] |[EMAIL PROTECTED]
DO NOT REPLY [Bug 3603] - Cocoon and EAR applications
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3603. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3603 Cocoon and EAR applications [EMAIL PROTECTED] changed: What|Removed |Added AssignedTo|[EMAIL PROTECTED] |[EMAIL PROTECTED]
DO NOT REPLY [Bug 3869] - pb with other namespaces in the xml document
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3869. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3869 pb with other namespaces in the xml document [EMAIL PROTECTED] changed: What|Removed |Added AssignedTo|[EMAIL PROTECTED] |[EMAIL PROTECTED]
DO NOT REPLY [Bug 4795] - Check for Servlet Container Version
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4795. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4795 Check for Servlet Container Version [EMAIL PROTECTED] changed: What|Removed |Added AssignedTo|[EMAIL PROTECTED] |[EMAIL PROTECTED]
DO NOT REPLY [Bug 5215] - does not support ';' as parameter seperator
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5215. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5215 does not support ';' as parameter seperator [EMAIL PROTECTED] changed: What|Removed |Added AssignedTo|[EMAIL PROTECTED] |[EMAIL PROTECTED]
DO NOT REPLY [Bug 40] - Provide optional conversion from Java line nums to XSP line nums
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=40. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=40 Provide optional conversion from Java line nums to XSP line nums [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||WONTFIX --- Additional Comments From [EMAIL PROTECTED] 2003-07-01 12:37 --- Won't fix http://marc.theaimsgroup.com/?l=xml-cocoon-devm=105327622716480w=2
DO NOT REPLY [Bug 74] - Better support for not applying stylesheets for certain UAs
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=74. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=74 Better support for not applying stylesheets for certain UAs [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||WONTFIX --- Additional Comments From [EMAIL PROTECTED] 2003-07-01 12:37 --- Won't fix http://marc.theaimsgroup.com/?l=xml-cocoon-devm=105327622716480w=2
DO NOT REPLY [Bug 76] - get-xml can't be used without a parent XML element
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=76. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=76 get-xml can't be used without a parent XML element [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||WONTFIX --- Additional Comments From [EMAIL PROTECTED] 2003-07-01 12:37 --- Won't fix http://marc.theaimsgroup.com/?l=xml-cocoon-devm=105327622716480w=2
DO NOT REPLY [Bug 694] - Request for XSLT style {} attribute processing
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=694. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=694 Request for XSLT style {} attribute processing [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||WONTFIX --- Additional Comments From [EMAIL PROTECTED] 2003-07-01 12:38 --- Won't fix http://marc.theaimsgroup.com/?l=xml-cocoon-devm=105327622716480w=2
DO NOT REPLY [Bug 819] - Cocoon installation in AppServer 4.5
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=819. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=819 Cocoon installation in AppServer 4.5 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||WONTFIX --- Additional Comments From [EMAIL PROTECTED] 2003-07-01 12:38 --- Won't fix http://marc.theaimsgroup.com/?l=xml-cocoon-devm=105327622716480w=2
DO NOT REPLY [Bug 882] - Caching does not check for foreign documents loaded by XSLT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=882. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=882 Caching does not check for foreign documents loaded by XSLT [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||WONTFIX --- Additional Comments From [EMAIL PROTECTED] 2003-07-01 12:38 --- Won't fix http://marc.theaimsgroup.com/?l=xml-cocoon-devm=105327622716480w=2
DO NOT REPLY [Bug 885] - On max-rows attribute in ESQL logicsheet
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=885. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=885 On max-rows attribute in ESQL logicsheet [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||WONTFIX --- Additional Comments From [EMAIL PROTECTED] 2003-07-01 12:39 --- Won't fix http://marc.theaimsgroup.com/?l=xml-cocoon-devm=105327622716480w=2
cvs commit: cocoon-2.1/src/documentation/xdocs/userdocs/concepts persistence.xml
upayavira2003/07/01 05:37:48 Modified:src/documentation/xdocs/userdocs/concepts persistence.xml Log: Fixing broken link in CVS, reported as Bug 21218 by cgaffga at triplemind.com. Does the site now need to be rebuilt? Upayavira Revision ChangesPath 1.2 +1 -1 cocoon-2.1/src/documentation/xdocs/userdocs/concepts/persistence.xml Index: persistence.xml === RCS file: /home/cvs/cocoon-2.1/src/documentation/xdocs/userdocs/concepts/persistence.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- persistence.xml 9 Mar 2003 00:08:18 - 1.1 +++ persistence.xml 1 Jul 2003 12:37:47 - 1.2 @@ -23,7 +23,7 @@ have problems when the filenames are very long./p /s1 s1 title=Jisp based persistence: - pThe aim of the link href=http://www.coyotegulch.com/algorithm/jisp/index.html;Jisp + pThe aim of the link href=http://www.coyotegulch.com/jisp/index.html;Jisp based/link persistence is to provide a more scalable persistence. The objects are stored in an indexed file, which uses a B-Tree alghorithm to store the objects. This is a more elegant and fast solution, especially when you have to handle many
DO NOT REPLY [Bug 1285] - Installation instructions need updating again
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1285. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1285 Installation instructions need updating again [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||WONTFIX --- Additional Comments From [EMAIL PROTECTED] 2003-07-01 12:40 --- Won't fix http://marc.theaimsgroup.com/?l=xml-cocoon-devm=105327622716480w=2
DO NOT REPLY [Bug 1614] - iPlanet installation documentation error
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1614. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1614 iPlanet installation documentation error [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||WONTFIX --- Additional Comments From [EMAIL PROTECTED] 2003-07-01 12:40 --- Won't fix http://marc.theaimsgroup.com/?l=xml-cocoon-devm=105327622716480w=2
DO NOT REPLY [Bug 1615] - Cocoon fails to initialize under iPlanet install
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1615. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1615 Cocoon fails to initialize under iPlanet install [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||WONTFIX --- Additional Comments From [EMAIL PROTECTED] 2003-07-01 12:40 --- Won't fix http://marc.theaimsgroup.com/?l=xml-cocoon-devm=105327622716480w=2
DO NOT REPLY [Bug 1821] - Unable to use cocoon begind orion application server
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1821. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1821 Unable to use cocoon begind orion application server [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||WONTFIX --- Additional Comments From [EMAIL PROTECTED] 2003-07-01 12:40 --- Won't fix http://marc.theaimsgroup.com/?l=xml-cocoon-devm=105327622716480w=2
DO NOT REPLY [Bug 1903] - SAXON transformer does not accept local file 'sheetBase' + FIX in transformer interface
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1903. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1903 SAXON transformer does not accept local file 'sheetBase' + FIX in transformer interface [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||WONTFIX --- Additional Comments From [EMAIL PROTECTED] 2003-07-01 12:41 --- Won't fix http://marc.theaimsgroup.com/?l=xml-cocoon-devm=105327622716480w=2
DO NOT REPLY [Bug 1983] - Using 1 column more then once in esql:row-results cause unexpected results
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1983. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1983 Using 1 column more then once in esql:row-results cause unexpected results [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||WONTFIX --- Additional Comments From [EMAIL PROTECTED] 2003-07-01 12:41 --- Won't fix http://marc.theaimsgroup.com/?l=xml-cocoon-devm=105327622716480w=2
DO NOT REPLY [Bug 21218] - XDocs: Broken Link: Jisp
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21218. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21218 XDocs: Broken Link: Jisp [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Additional Comments From [EMAIL PROTECTED] 2003-07-01 12:41 --- Fixed broken link in CVS.
DO NOT REPLY [Bug 2087] - The XSP engine always renders the data within a CDATA tag as Java fragment.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2087. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2087 The XSP engine always renders the data within a CDATA tag as Java fragment. [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||WONTFIX --- Additional Comments From [EMAIL PROTECTED] 2003-07-01 12:41 --- Won't fix http://marc.theaimsgroup.com/?l=xml-cocoon-devm=105327622716480w=2
DO NOT REPLY [Bug 2346] - Cache only works for one browser
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2346. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2346 Cache only works for one browser [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||WONTFIX --- Additional Comments From [EMAIL PROTECTED] 2003-07-01 12:41 --- Won't fix http://marc.theaimsgroup.com/?l=xml-cocoon-devm=105327622716480w=2
DO NOT REPLY [Bug 2534] - Problem in the installing procedure
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2534. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2534 Problem in the installing procedure [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||WONTFIX --- Additional Comments From [EMAIL PROTECTED] 2003-07-01 12:41 --- Won't fix http://marc.theaimsgroup.com/?l=xml-cocoon-devm=105327622716480w=2
DO NOT REPLY [Bug 2608] - Augmenting cocoon.properties with additional properties
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2608. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2608 Augmenting cocoon.properties with additional properties [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||WONTFIX --- Additional Comments From [EMAIL PROTECTED] 2003-07-01 12:41 --- Won't fix http://marc.theaimsgroup.com/?l=xml-cocoon-devm=105327622716480w=2
DO NOT REPLY [Bug 2739] - XSP compile-time vs run-time classpath issue
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2739. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2739 XSP compile-time vs run-time classpath issue [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||WONTFIX --- Additional Comments From [EMAIL PROTECTED] 2003-07-01 12:42 --- Won't fix http://marc.theaimsgroup.com/?l=xml-cocoon-devm=105327622716480w=2
DO NOT REPLY [Bug 2850] - socket write error
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2850. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2850 socket write error [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||WONTFIX --- Additional Comments From [EMAIL PROTECTED] 2003-07-01 12:42 --- Won't fix http://marc.theaimsgroup.com/?l=xml-cocoon-devm=105327622716480w=2
DO NOT REPLY [Bug 3603] - Cocoon and EAR applications
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3603. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3603 Cocoon and EAR applications [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||WONTFIX --- Additional Comments From [EMAIL PROTECTED] 2003-07-01 12:42 --- Won't fix http://marc.theaimsgroup.com/?l=xml-cocoon-devm=105327622716480w=2
DO NOT REPLY [Bug 3869] - pb with other namespaces in the xml document
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3869. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3869 pb with other namespaces in the xml document [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||WONTFIX --- Additional Comments From [EMAIL PROTECTED] 2003-07-01 12:42 --- Won't fix http://marc.theaimsgroup.com/?l=xml-cocoon-devm=105327622716480w=2
DO NOT REPLY [Bug 4795] - Check for Servlet Container Version
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4795. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4795 Check for Servlet Container Version [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||WONTFIX --- Additional Comments From [EMAIL PROTECTED] 2003-07-01 12:43 --- Won't fix http://marc.theaimsgroup.com/?l=xml-cocoon-devm=105327622716480w=2
DO NOT REPLY [Bug 5215] - does not support ';' as parameter seperator
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5215. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5215 does not support ';' as parameter seperator [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||WONTFIX --- Additional Comments From [EMAIL PROTECTED] 2003-07-01 12:44 --- Won't fix http://marc.theaimsgroup.com/?l=xml-cocoon-devm=105327622716480w=2
cvs commit: cocoon-2.1/src/scratchpad/webapp/samples/eventcache - New directory
ghoward 2003/07/01 06:51:51 cocoon-2.1/src/scratchpad/webapp/samples/eventcache - New directory
cvs commit: cocoon-2.1/src/scratchpad/webapp/samples scratchpad-samples.xml
ghoward 2003/07/01 06:51:59 Modified:src/scratchpad/webapp/samples scratchpad-samples.xml Added: src/scratchpad/webapp/samples/eventcache eventcache.xsp sitemap.xmap Log: Scratchpad sample for event-based cache validity Revision ChangesPath 1.1 cocoon-2.1/src/scratchpad/webapp/samples/eventcache/eventcache.xsp Index: eventcache.xsp === ?xml version=1.0 encoding=ISO-8859-1? !-- XSP event-based cache sample. $Id$ -- xsp:page language=java xmlns:xsp=http://apache.org/xsp; xmlns:xsp-request=http://apache.org/xsp/request/2.0; xsp:structure xsp:includeorg.apache.excalibur.source.SourceValidity/xsp:include xsp:includeorg.apache.cocoon.caching.validity.EventValidity/xsp:include xsp:includeorg.apache.cocoon.caching.validity.NamedEvent/xsp:include xsp:includejava.io.Serializable/xsp:include /xsp:structure xsp:logic // artificial slowdown to make the effects of the cache visible final int DELAY_SECS = 2; /** * Generate the unique key for the cache. * * This key must be unique inside the space of this XSP page, it is used * to find the page contents in the cache (if getValidity says that the * contents are still valid). * * This method will be invoked before the getValidity() method. * * @return The generated key or null if the component * is currently not cacheable. */ public Serializable getKey() { // for our test, pages having the same value of pageKey will share // the same cache location return + request.getParameter(pageKey); } /** * Generate the validity object, tells the cache how long to * keep contents having this key around. In this case, it will * be until an Event is retrieved matching the NamedEvent created below. * * Before this method can be invoked the getKey() method * will be invoked. * * @return The generated validity object or null if the * component is currently not cacheable. */ public SourceValidity getValidity() { return new EventValidity(new NamedEvent(request.getParameter(pageKey))); } /xsp:logic page titleA Cacheable XSP Page (Demonstrating Event-Aware Caching)/title content paraThis xsp page is based on (copied from) the cacheable xsp sample but there are some important differences. Read the text below, and the sitemap and source for more details. /para para Hi there! I'm a simple dynamic page generated by XSP (eXtensible Server Pages). In order to use this sample property, you must have edited cocoon.roles and specified the class for role org.apache.cocoon.caching.Cache is set to be org.apache.cocoon.caching.impl.EventAwareCacheImpl. /para para I need xsp:exprDELAY_SECS/xsp:expr seconds to be generated, so you can tell if I'm being served from the cache or not. br/ What you see here has been generated on bxsp:exprnew java.util.Date()/xsp:expr/b. /para para I'm cached for every different value of request parameter 'pageKey'. br/ Here the value is: bxsp-request:get-parameter name=pageKey//b. br/ If this is not the same as the 'pageKey' parameter in the page URL, we have a problem. /para para All other request parameters do not influence cache status. Unlike other cacheable pages in Cocoon, I can be un-cached by events external to Cocoon - for instance, when a database table or row is updated. br/ My cache entry will be invalidated (actually, removed) when an event named ixsp-request:get-parameter name=pageKey//i occurs. This can be manually simulated by clicking axsp:attribute name=href?xsp-request:get-query-string/amp;event=xsp-request:get-parameter name=pageKey//xsp:attributehere/a. /para para bNOTE: /bBecause the EventAwareCacheImpl has not yet implemented persistence for its mappings, the event mappings will disappear but the cached keys will not. Until this is implemented you will want to clear both the in-memory and persistent store after using this sample. Once the mapping from the EventAwareCacheImpl is gone, firing the events using the sample action bwill not/b clear those cached items.
Use of generated stylesheets
Hi all ! I posted my question on Users, but it seems more appropriate to ask it here. I want to use a generated stylesheet with an XSL transformer, using the cocoon protocol. But I get this error : org.apache.cocoon.ProcessingException: Unable to get transformer handler for cocoon://picto-filter.xsl: org.apache.excalibur.xml.xslt.XSLTProcessorException: Exception in creating Transform Handler Here is my sitemap : map:match pattern=picto-filter.xsl map:generate src=context://WEB-INF/workflow.xconf/ map:transform src=stylesheets/picto-filter-generator.xsl/ map:serialize type=xml/ /map:match ... map:match pattern=requestlist-part ... map:transform src=cocoon:/picto-filter.xsl/ map:serialize type=xml/ /map:match The first pipe works well ! Isn't the cocoon protocol not used by transformers/TraxTransformer ? Upayavira (thanks again !) pointed me to http://wiki.cocoondev.org/Wiki.jsp?page=MetaStylesheets, where some people were able to use this with older version of cocoon (I'm using the CVS version of last days)... Thanks in advance ! -- Olivier BILLARD
Re: Use of generated stylesheets
Olivier Billard wrote: Hi all ! I posted my question on Users, but it seems more appropriate to ask it here. I want to use a generated stylesheet with an XSL transformer, using the cocoon protocol. But I get this error : org.apache.cocoon.ProcessingException: Unable to get transformer handler for cocoon://picto-filter.xsl: org.apache.excalibur.xml.xslt.XSLTProcessorException: Exception in creating Transform Handler This exception often occurs when the stylesheet is not correct. You should have more details about what goes wrong either in some chained exception, or in the log files (Xalan often logs the error before raising the exception). Sylvain -- Sylvain Wallez Anyware Technologies http://www.apache.org/~sylvain http://www.anyware-tech.com { XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects } Orixo, the opensource XML business alliance - http://www.orixo.com
Re: Use of generated stylesheets
Thanks (again :) !) Sylvain ! It seems that you're right... The effect is still not what I meant, but now the cocoon: works... -- Olivier Sylvain Wallez wrote: Olivier Billard wrote: Hi all ! I posted my question on Users, but it seems more appropriate to ask it here. I want to use a generated stylesheet with an XSL transformer, using the cocoon protocol. But I get this error : org.apache.cocoon.ProcessingException: Unable to get transformer handler for cocoon://picto-filter.xsl: org.apache.excalibur.xml.xslt.XSLTProcessorException: Exception in creating Transform Handler This exception often occurs when the stylesheet is not correct. You should have more details about what goes wrong either in some chained exception, or in the log files (Xalan often logs the error before raising the exception). Sylvain
DO NOT REPLY [Bug 20271] - [PATCH] General background task manager leveraging Avalon
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20271. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20271 [PATCH] General background task manager leveraging Avalon --- Additional Comments From [EMAIL PROTECTED] 2003-07-01 15:51 --- Created an attachment (id=7039) zip containing two actions mentioned in documentation
Re: [woody] binding the forms to data
Le Mardi, 1 juil 2003, à 07:36 Europe/Zurich, Marc Portier a écrit : what do people think? I'm a bit short on time to study your proposed syntax, but I like the idea of defining JXPath-like mappings (or bindings) between data and forms. Also, being able to use either java classes or XML documents to hold the data, as you suggest, would be great. -Bertrand
Re: More on FOM
Upayavira wrote: On 30 Jun 2003 at 22:29, Sylvain Wallez wrote: ... I suggested that components being heavyweight resource, allowing them to cross continuation boundaries should be prohibited. Automatic release doesn't seem a good solution to me, as it would mean that script variables would hold released components, thus leading to unpredictable behaviour (think about stateful pooled components). So my opinion is to raise an error if there are some unreleased components when a continuation is created. This will allow users to quickly learn the safe practices related to component management in flow scripts. I tend to agree. ... Once again, I agree that explicit release is very unnatural. But automagic release is good only if we can have some automagic restore. For this we can have getComponent() actually return a proxy to the real component, and have the proxy do a release/lookup when a continuation is suspended/reactivated. But as elegant this may seem, this won't work : stateful components have... a state, and a release/lookup cycle destroys this state. So I don't see any other solution... How about defining a FlowSafe interface (contains no state and can be released/looked up transparently), and maybe a FlowSerializable interface (has a way that the state can be stored into the continuation and then restored, all transparently? Continuations do not serialize state. Continuations restore the program counter and cause you to retain references to function invocations and local variables, however they do not roll back the values of those variables.
Re: [Flow] Calling internal-only pipelines
Stefano Mazzocchi wrote: on 6/27/03 11:48 AM Stefano Mazzocchi wrote: As for implementing this, I planned to look into this today. ... In short, the flow ends up emulating a request as it came from the outside, while it should emulate it as it came from the inside (as the cocoon: protocol does) Now, the change between process() and processInternal() is not that trivial because the second returns a ProcessingPipeline while the first returns a boolean and I have no clue on what I should do with that pipeline, expecially regarding how to setup the environment and all those things. See SitemapSource, init() method and toSAX method... It might help. ... Looking around the code I found the following code Object processKey = CocoonComponentManager.startProcessing(newEnv); try { if (!this.internal) { processingResult = usedProcessor.process(newEnv); } else { ProcessingPipeline pp = usedProcessor.processInternal(newEnv); if (pp != null) pp.release(); processingResult = pp != null; } } finally { CocoonComponentManager.endProcessing(newEnv, processKey); } in o.a.c.Environment.ForwardRedirector, can anybody explain what the hell does it mean that the processing results depends on the result of releasing the processing pipeline? It does not depend on release; you can swap those two statements. AFAIU, according to the FIXME - What to do here? and due to the fact that pp.proces() is not called, this piece does not work -- which means that forward (or where this redirector is used?) to internal pipeline should not work. Vadim
Re: [vote] FOM design methodology
On Sun, 15 Jun 2003, Stefano Mazzocchi wrote: There are two possible methodologies I see: 1) big to small - give users all possible freedom and restrict that freedom once we understand potentially problematic usages. 2) small to big - give users the least possible freedom based on some required functionality and grow as the users express their needs. The actual FOM design reflects methodology #1. The FOM design that was proposed by myself and Ricardo follows methodology #2. Now, the vote I ask is: which methodology would you like to be applied? #2 if it is different from the one actually in use in the actual version of the FOM, would you like to see the FOM changed as to follow your preferred methodology? +1 I'm late, I know ;-) Giacomo
DO NOT REPLY [Bug 20271] - [PATCH] General background task manager leveraging Avalon
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20271. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20271 [PATCH] General background task manager leveraging Avalon [EMAIL PROTECTED] changed: What|Removed |Added AssignedTo|[EMAIL PROTECTED] |[EMAIL PROTECTED]
cvs commit: cocoon-2.1/src/java/org/apache/cocoon/selection SimpleSelector.java
cziegeler2003/07/01 11:23:19 Modified:src/java/org/apache/cocoon/selection SimpleSelector.java Log: Organize imports Revision ChangesPath 1.2 +3 -6 cocoon-2.1/src/java/org/apache/cocoon/selection/SimpleSelector.java Index: SimpleSelector.java === RCS file: /home/cvs/cocoon-2.1/src/java/org/apache/cocoon/selection/SimpleSelector.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- SimpleSelector.java 1 Jul 2003 11:18:51 - 1.1 +++ SimpleSelector.java 1 Jul 2003 18:23:19 - 1.2 @@ -50,13 +50,10 @@ */ package org.apache.cocoon.selection; -import org.apache.avalon.framework.configuration.Configurable; -import org.apache.avalon.framework.configuration.Configuration; -import org.apache.avalon.framework.configuration.ConfigurationException; +import java.util.Map; + import org.apache.avalon.framework.parameters.Parameters; import org.apache.avalon.framework.thread.ThreadSafe; - -import java.util.Map; /** * A very simple selector that operates on string literals, useful especially
Re: [vote] FOM design methodology
Giacomo Pati wrote: I'm late, I know ;-) But welcome anyway!
Re: Cocoon 2.1 showstopper?
On Mon, 16 Jun 2003, Carsten Ziegeler wrote: Hi, I think I found a showstopper for 2.1 :( : 2.1 is not binary compatible to 2.0.x - if you compile a (sitemap) component using 2.0.x and put this into 2.1 it will in most cases fail to run. As a simple example, you can use the FileGenerator.class from 2.0.x. Why is this so? Well, the reason is the change from Loggable to LogEnabled. If you write your own sitemap component, you most likely use the provided abstract classes (e.g. AbstractGenerator or ComposerGenerator). In 2.0.4 these classes inherited from AbstractLoggable - in 2.1 they inherit from AbstractLogEnabled. Both offer the same method but with a different return type, so if you use a component compiled for 2.0.4 in 2.1 it looks for the getLogger() method of AbstractLoggable and does not find one with a matching signature. Bang. I think, mostly this affects own sitemap components inheriting from the provided classes, but of course this can occur with every class where we changed from Loggable to LogEnabled. We could solve this problem for sitemap components but not in general, I fear. So, the question is: do we want to have this kind of compatibility or do the users have to recompile (which works of course as we are compatible on the source level)? I would suggest being source level compatible for a minor version change (2.0 - 2.1) and binary compatible for a release version change (ie. 2.0.1 - 2.0.2). Personally I can live with that easily. Giacomo
Re: Use of generated stylesheets
Oliver, I always assumed that the Wiki page that I referred you to used the cocoon: protocol. I see now that it doesn't. If you've got it working with the cocoon: protocol, would you be willing to update the Wiki page? 'Cos that's what that Wiki page _should_ say (I mean, do you really want to expose your stylesheets to the public, which you're doing if you use HTTP?!?!? ) Regards, Upayavira On 1 Jul 2003 at 17:41, Olivier Billard wrote: Thanks (again :) !) Sylvain ! It seems that you're right... The effect is still not what I meant, but now the cocoon: works... -- Olivier Sylvain Wallez wrote: Olivier Billard wrote: Hi all ! I posted my question on Users, but it seems more appropriate to ask it here. I want to use a generated stylesheet with an XSL transformer, using the cocoon protocol. But I get this error : org.apache.cocoon.ProcessingException: Unable to get transformer handler for cocoon://picto-filter.xsl: org.apache.excalibur.xml.xslt.XSLTProcessorException: Exception in creating Transform Handler This exception often occurs when the stylesheet is not correct. You should have more details about what goes wrong either in some chained exception, or in the log files (Xalan often logs the error before raising the exception). Sylvain
Re: Link view goodness (Re: residuals of MIME type bug ?)
Jeff Turner wrote: I'm not very familiar with the code; is there some cost in keeping the two-pass CLI alive, in the faint hope that caching comes to its rescue one day? Guys, Before you implement some approach here... Let me suggest something. Right now sitemap implementation automatically adds link gatherer to the pipeline when it is invoked by CLI. This link gatherer is in fact is hard-coded links view. I suggest to replace this hard-coded links view a.k.a link gatherer with the real links view, BUT attach it as a tee to a main pipeline instead of running it as a pipeline by itself. As a result, links view baby will be used, two-pass water will be drained, and sitemap syntax will stay the same. Moreover, the links view will be still accessible from the outside, meaning that you can spider the site using out-of-the-process spiders. Example: Given the pipeline: G -- T1 (label=content) -- T2 -- S, And the links view: from-label=content -- T3 -- LinkSerializer, The pipeline built for the CLI request should be: G -- T1 -- Tee -- T2 -- S -- OutputStream \ -- LinkSerializer -- NullOutputStream \ -- List of links in environment In one request, you will get: * Regular output of the pipeline which will go to the destination Source * List of links in the environment which is what link gatherer was made for Comments? Vadim
cvs commit: cocoon-2.1/src/blocks/authentication-fw/java/org/apache/cocoon/webapps/authentication/components DefaultAuthenticationManager.java Authenticator.java
cziegeler2003/07/01 12:26:40 Modified: src/blocks/authentication-fw/java/org/apache/cocoon/webapps/authentication/user UserHandler.java src/blocks/authentication-fw/java/org/apache/cocoon/webapps/authentication/context AuthenticationContext.java src/blocks/authentication-fw/java/org/apache/cocoon/webapps/authentication/components DefaultAuthenticationManager.java Authenticator.java Log: Removing last fixme - finally finished redesign of auth framework Revision ChangesPath 1.9 +4 -3 cocoon-2.1/src/blocks/authentication-fw/java/org/apache/cocoon/webapps/authentication/user/UserHandler.java Index: UserHandler.java === RCS file: /home/cvs/cocoon-2.1/src/blocks/authentication-fw/java/org/apache/cocoon/webapps/authentication/user/UserHandler.java,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- UserHandler.java 27 May 2003 12:19:30 - 1.8 +++ UserHandler.java 1 Jul 2003 19:26:40 - 1.9 @@ -88,9 +88,10 @@ /** * Create a new handler object. */ -public UserHandler(HandlerConfiguration handler) { +public UserHandler(HandlerConfiguration handler, AuthenticationContext context) { +this.context = context; this.handler = handler; -this.context = new AuthenticationContext(this); +this.context.init(this); } /** 1.9 +21 -12 cocoon-2.1/src/blocks/authentication-fw/java/org/apache/cocoon/webapps/authentication/context/AuthenticationContext.java Index: AuthenticationContext.java === RCS file: /home/cvs/cocoon-2.1/src/blocks/authentication-fw/java/org/apache/cocoon/webapps/authentication/context/AuthenticationContext.java,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- AuthenticationContext.java23 May 2003 12:35:32 - 1.8 +++ AuthenticationContext.java1 Jul 2003 19:26:40 - 1.9 @@ -56,10 +56,12 @@ import org.apache.avalon.framework.CascadingRuntimeException; import org.apache.avalon.framework.component.ComponentManager; +import org.apache.avalon.framework.context.Context; import org.apache.avalon.framework.parameters.Parameters; import org.apache.cocoon.ProcessingException; import org.apache.cocoon.components.source.SourceUtil; import org.apache.cocoon.webapps.authentication.AuthenticationConstants; +import org.apache.cocoon.webapps.authentication.components.DefaultAuthenticationManager; import org.apache.cocoon.webapps.authentication.configuration.ApplicationConfiguration; import org.apache.cocoon.webapps.authentication.user.RequestState; import org.apache.cocoon.webapps.authentication.user.UserHandler; @@ -83,19 +85,26 @@ * @author a href=mailto:[EMAIL PROTECTED]Carsten Ziegeler/a * @version CVS $Id$ */ -public final class AuthenticationContext +public class AuthenticationContext implements SessionContext { -private String name; -private UserHandler handler; -private SessionContext authContext; -private String handlerName; -private booleaninitialized; +protected String name; +protected UserHandler handler; +protected SessionContext authContext; +protected String handlerName; +protected booleaninitialized; +protected Context context; -// FIXME -public static ThreadLocal state = new InheritableThreadLocal(); +/** Constructor */ +public AuthenticationContext(Context context) { +this.context = context; +} -public AuthenticationContext(UserHandler handler) { +/** + * Initialize the context. This method has to be called right after + * the constructor. + */ +public void init(UserHandler handler) { this.name = AuthenticationConstants.SESSION_CONTEXT_NAME; this.handler = handler; @@ -107,8 +116,8 @@ } } -private RequestState getState() { -return (RequestState)state.get(); +protected RequestState getState() { +return DefaultAuthenticationManager.getRequestState( this.context ); } public void init(Document doc) 1.14 +17 -12 cocoon-2.1/src/blocks/authentication-fw/java/org/apache/cocoon/webapps/authentication/components/DefaultAuthenticationManager.java Index: DefaultAuthenticationManager.java === RCS file:
Re: Link view goodness (Re: residuals of MIME type bug ?)
On 1 Jul 2003 at 14:47, Vadim Gritsenko wrote: Jeff Turner wrote: I'm not very familiar with the code; is there some cost in keeping the two-pass CLI alive, in the faint hope that caching comes to its rescue one day? Guys, Before you implement some approach here... Let me suggest something. Right now sitemap implementation automatically adds link gatherer to the pipeline when it is invoked by CLI. This link gatherer is in fact is hard-coded links view. I suggest to replace this hard-coded links view a.k.a link gatherer with the real links view, BUT attach it as a tee to a main pipeline instead of running it as a pipeline by itself. As a result, links view baby will be used, two-pass water will be drained, and sitemap syntax will stay the same. Moreover, the links view will be still accessible from the outside, meaning that you can spider the site using out-of-the-process spiders. Example: Given the pipeline: G -- T1 (label=content) -- T2 -- S, And the links view: from-label=content -- T3 -- LinkSerializer, The pipeline built for the CLI request should be: G -- T1 -- Tee -- T2 -- S -- OutputStream \ -- LinkSerializer -- NullOutputStream \ -- List of links in environment In one request, you will get: * Regular output of the pipeline which will go to the destination Source * List of links in the environment which is what link gatherer was made for Splendid. I think that is exactly what I would want to do. We'd then have single(ish) pass generation with the benefits of link view. And if you just feed directly from the label into a serializer, it'll be pretty much the same in terms of performance as the LinkGatherer that we have now. I would need help implementing this. Are you able to explain how? There's a lot of pipeline building there that I wouldn't yet know how to do (but I'm willing to give it a go with guidance). If we're to use my current approach, we'd add a different serializer at the end of the second sub-pipe, which would take the links and put them into a specific List in the ObjectModel. In fact, we could create a LinkGatheringOutputStream that'd be handed to the LinkSerializer to do that. That would leave most of the complexity simply in building the pipeline. Can you guarantee that cocoon.process() will not complete until both sub-pipelines have completed their work? I'll take a bit of a look into the pipeline building code (if I can find it) to see what I can work out. This approach excites me. With help, I'd like to see if I can make it happen. Regards, Upayavira
Re: cvs commit: cocoon-2.1/src/documentation/xdocs/userdocs/conceptspersistence.xml
[EMAIL PROTECTED] wrote: upayavira2003/07/01 05:37:48 Modified:src/documentation/xdocs/userdocs/concepts persistence.xml Log: Fixing broken link in CVS, reported as Bug 21218 by cgaffga at triplemind.com. Does the site now need to be rebuilt? To have the change online: yes. But there is no need to do it after every change. Much was done since the last website update, the next one will be done after the next release - at least this makes most sense IMO. Joerg
Re: cvs commit: cocoon-2.1/src/documentation/xdocs/userdocs/concepts
Joerg wrote: Does the site now need to be rebuilt? To have the change online: yes. But there is no need to do it after every change. Much was done since the last website update, the next one will be done after the next release - at least this makes most sense IMO. Thanks. Just wanted to check. Regards, Upayavira
DO NOT REPLY [Bug 20271] - [PATCH] General background task manager leveraging Avalon
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20271. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20271 [PATCH] General background task manager leveraging Avalon --- Additional Comments From [EMAIL PROTECTED] 2003-07-01 20:27 --- Created an attachment (id=7041) enviroment class.
RE: [woody] binding the forms to data
-Original Message- From: Marc Portier [mailto:[EMAIL PROTECTED] Sent: Dienstag, 1. Juli 2003 09:47 To: [EMAIL PROTECTED] Subject: Re: [woody] binding the forms to data ... A general load/save binding specification in XML can get pretty nasty for real-world examples with one-to-many and many-to-one mappings between external form and model attributes. yep, thought crossed my mond, although defining some straightforward 'actions' in the binding should do the trick bnd:repeater .. bnd:action event=insert-row bnd:insert-node...template to insert.../insert-node bnd:set-attribute name=status value=updated / other issues you see? I was rather thinking of dates stored as one attribute in the model and displayed as three widgets day/month/year. There I can't think right now of a syntax for describing this sort of decomposition and aggregation in general without reverting to special datatypes. Maybe you have? Cheers, Alfred. This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company.
DO NOT REPLY [Bug 21243] - xsl:comment in xsl causes java null pointer exception
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21243. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21243 xsl:comment in xsl causes java null pointer exception [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||INVALID --- Additional Comments From [EMAIL PROTECTED] 2003-07-01 21:54 --- Hello Eric, using a recent Cocoon 2.0.x everything is ok, I get the following exception: ERROR (2003-07-01) 23:45.37:531 [core.xslt-processor] (/cocoon/jh/comment) Thread-10/TraxErrorHandler: File file:/D:/xml/comment.xsl; Line 4; Column 14; xsl:comment ist an dieser Position in der Formatvorlage nicht zulässig! ; SystemID: file:/D:/xml/comment.xsl; Line#: 4; Column#: 14 javax.xml.transform.TransformerException: xsl:comment ist an dieser Position in der Formatvorlage nicht zulässig! at org.apache.xalan.processor.StylesheetHandler.error(StylesheetHandler.java:919) at org.apache.xalan.processor.StylesheetHandler.getProcessorFor(StylesheetHandler.java:396) at org.apache.xalan.processor.StylesheetHandler.startElement(StylesheetHandler.java:630) Translated into English: xsl:comment is not allowed at this position. That's correct: xsl:comment/ is not allowed as top-level element in the stylesheet. Xalan used in Cocoon 2.0.5-dev (= version 2.5.1) no longer gives a NullPointerException (like 2.3.1 in Cocoon 2.0.4), but a TransformerException. So everything is ok now. Joerg
DO NOT REPLY [Bug 21243] - xsl:comment in xsl causes java null pointer exception
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21243. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21243 xsl:comment in xsl causes java null pointer exception [EMAIL PROTECTED] changed: What|Removed |Added Status|RESOLVED|CLOSED
DO NOT REPLY [Bug 21248] New: - [PATCH] Update POI to version 1.10.0
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21248. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21248 [PATCH] Update POI to version 1.10.0 Summary: [PATCH] Update POI to version 1.10.0 Product: Cocoon 2 Version: 2.1m2 Platform: All URL: http://jakarta.apache.org/builds/jakarta- poi/dev/bin/jakarta-poi-1.10.0-dev-bin.tar.gz OS/Version: All Status: NEW Severity: Normal Priority: Other Component: core AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] The POI block currently contains jakarta-poi-1.7.0-dev-20020624.jar. In this version HSSFCell.getStringValue() does not read correctly iso-8859-1 encoded strings. (Umlauts are mutilated.) This bug is already fixed in jakarta-poi-1.10.0-dev-20030222.jar. Here are the changes which need to be applied to Cocoon2.1m2: Index: lib/jars.xml === RCS file: /home/repository/eservices/cocoon-2.1/lib/jars.xml,v retrieving revision 1.1.1.2 diff -u -r1.1.1.2 jars.xml --- jars.xml2003/06/03 20:26:30 1.1.1.2 +++ jars.xml2003/07/01 21:29:47 @@ -477,7 +477,7 @@ format using pure Java. /description used-byMS Excel serializer(poi block)/used-by - libpoi/lib/jakarta-poi-1.7.0-dev-20020624.jar/lib + libpoi/lib/jakarta-poi-1.10.0-dev-20030222.jar/lib homepagehttp://jakarta.apache.org/poi//homepage /file Index: src/blocks/poi/java/org/apache/cocoon/components/elementprocessor/impl/poi/hssf/ elements/EPStyle.java === RCS file: /home/repository/eservices/cocoon- 2.1/src/blocks/poi/java/org/apache/cocoon/components/elementprocessor/impl/poi/h ssf/elements/EPStyle.java,v retrieving revision 1.1.1.2 diff -u -r1.1.1.2 EPStyle.java --- EPStyle.java2003/06/03 20:37:21 1.1.1.2 +++ EPStyle.java2003/07/01 17:11:49 @@ -205,7 +205,7 @@ if (!format.equals(General)) { format = kludgeForGnumericMisformats(format); format = kludgeForGnumericDateDivergence(format); -short nformat = org.apache.poi.hssf.usermodel.HSSFDataFormat.getFormat(format); +short nformat = org.apache.poi.hssf.usermodel.HSSFDataFormat.getBuiltinFormat(format); getLogger().debug(setting format to + nformat); style.setDataFormat(nformat); } cvs diff: src/blocks/poi/lib/jakarta-poi-1.10.0-dev-20030222.jar is a new entry, no comparison available cvs diff: src/blocks/poi/lib/jakarta-poi-1.7.0-dev-20020624.jar was removed, no comparison available
cvs commit: cocoon-2.1/src/blocks/mail/java/org/apache/cocoon/components/language/markup/xsp/java sendmail.xsl
haul2003/07/01 15:22:03 Modified: src/blocks/mail/java/org/apache/cocoon/components/language/markup/xsp/java sendmail.xsl Log: Remove setup done message from logicsheet. Revision ChangesPath 1.2 +2 -4 cocoon-2.1/src/blocks/mail/java/org/apache/cocoon/components/language/markup/xsp/java/sendmail.xsl Index: sendmail.xsl === RCS file: /home/cvs/cocoon-2.1/src/blocks/mail/java/org/apache/cocoon/components/language/markup/xsp/java/sendmail.xsl,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- sendmail.xsl 17 Apr 2003 20:32:53 - 1.1 +++ sendmail.xsl 1 Jul 2003 22:22:03 - 1.2 @@ -138,8 +138,6 @@ xsl:apply-templates select=sendmail:attachment/ - psetup done/p - if(_sendmail_mms.sendIt(resolver)){ xsl:apply-templates select=sendmail:on-success/ } else {
cvs commit: cocoon-2.1/src/blocks/poi/java/org/apache/cocoon/components/elementprocessor/impl/poi/hssf/elements EPStyle.java Row.java Sheet.java
joerg 2003/07/01 16:43:21 Modified: src/blocks/poi/java/org/apache/cocoon/components/elementprocessor/impl/poi/hssf/elements EPStyle.java Row.java Sheet.java Log: patched for usage with POI 1.10-dev (thanks to Alfred Nathaniel), fixed usage of deprecated methods, code formatting Revision ChangesPath 1.4 +148 -226 cocoon-2.1/src/blocks/poi/java/org/apache/cocoon/components/elementprocessor/impl/poi/hssf/elements/EPStyle.java Index: EPStyle.java === RCS file: /home/cvs/cocoon-2.1/src/blocks/poi/java/org/apache/cocoon/components/elementprocessor/impl/poi/hssf/elements/EPStyle.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- EPStyle.java 11 May 2003 01:13:30 - 1.3 +++ EPStyle.java 1 Jul 2003 23:43:21 - 1.4 @@ -1,4 +1,3 @@ - /* @@ -64,6 +63,7 @@ import org.apache.cocoon.components.elementprocessor.types.Validator; import org.apache.poi.hssf.usermodel.HSSFCellStyle; +import org.apache.poi.hssf.usermodel.HSSFDataFormat; import org.apache.poi.hssf.util.HSSFColor; /** @@ -78,40 +78,35 @@ * @author Andrew C. Oliver ([EMAIL PROTECTED]) * @version CVS $Id$ */ -public class EPStyle -extends BaseElementProcessor -{ -private HorizontalAlignment_h_align; -private VerticalAlignment _v_align; -private BooleanResult _wrap_text; -private StyleOrientation _orient; -private NumericResult _shade; -private NumericResult _indent; -private ColorCode _fore; -private ColorCode _back; -private ColorCode _pattern_color; -private String _format; -private static final String_h_align_attribute = HAlign; -private static final String_v_align_attribute = VAlign; -private static final String_wrap_text_attribute = WrapText; -private static final String_orient_attribute= Orient; -private static final String_shade_attribute = Shade; -private static final String_indent_attribute= Indent; -private static final String_fore_attribute = Fore; -private static final String_back_attribute = Back; -private static final String_pattern_color_attribute = PatternColor; -private static final String_format_attribute= Format; - +public class EPStyle extends BaseElementProcessor { +private HorizontalAlignment _h_align; +private VerticalAlignment _v_align; +private BooleanResult _wrap_text; +private StyleOrientation_orient; +private NumericResult _shade; +private NumericResult _indent; +private ColorCode _fore; +private ColorCode _back; +private ColorCode _pattern_color; +private String _format; +private static final String _h_align_attribute = HAlign; +private static final String _v_align_attribute = VAlign; +private static final String _wrap_text_attribute = WrapText; +private static final String _orient_attribute= Orient; +private static final String _shade_attribute = Shade; +private static final String _indent_attribute= Indent; +private static final String _fore_attribute = Fore; +private static final String _back_attribute = Back; +private static final String _pattern_color_attribute = PatternColor; +private static final String _format_attribute= Format; + private boolean invalid; - -private static final Validator _shade_validator = new Validator() -{ -public IOException validate(final Number number) -{ -return StyleShading.isValid(number.intValue()) ? null - : new IOException( - \ + number - + \ is not a legal value); + +private static final Validator _shade_validator = new Validator() { +public IOException validate(final Number number) { +return StyleShading.isValid(number.intValue()) +? null +: new IOException(\ + number + \ is not a legal value); } }; @@ -119,8 +114,7 @@ * constructor */ -public EPStyle() -{ +public EPStyle() { super(null);
cvs commit: cocoon-2.1/src/blocks/poi/lib jakarta-poi-1.10.0-dev-20030222.jar jakarta-poi-1.7.0-dev-20020624.jar
joerg 2003/07/01 16:44:32 Added: src/blocks/poi/lib jakarta-poi-1.10.0-dev-20030222.jar Removed: src/blocks/poi/lib jakarta-poi-1.7.0-dev-20020624.jar Log: replace POI 1.7-dev with 1.10-dev Revision ChangesPath 1.1 cocoon-2.1/src/blocks/poi/lib/jakarta-poi-1.10.0-dev-20030222.jar Binary file
cvs commit: cocoon-2.1 status.xml
joerg 2003/07/01 16:47:44 Modified:.status.xml Log: Updated POI from 1.7.0-dev to 1.10.0-dev. Patched code accordingly. Fixed usage of deprecated methods. Revision ChangesPath 1.71 +4 -1 cocoon-2.1/status.xml Index: status.xml === RCS file: /home/cvs/cocoon-2.1/status.xml,v retrieving revision 1.70 retrieving revision 1.71 diff -u -r1.70 -r1.71 --- status.xml1 Jul 2003 11:53:50 - 1.70 +++ status.xml1 Jul 2003 23:47:44 - 1.71 @@ -183,6 +183,9 @@ changes release version=@version@ date=@date@ + action dev=JH type=update fixes-bug=21248 due-to=Alfred Nathaniel due-to-email=[EMAIL PROTECTED] +Updated POI from 1.7.0-dev to 1.10.0-dev. Patched code accordingly. Fixed usage of deprecated methods. + /action action dev=CH type=fix due-to=Michael Gerzabek due-to-email=[EMAIL PROTECTED] Web3: Fix extra close element on connectivity loss. /action
DO NOT REPLY [Bug 21248] - [PATCH] Update POI to version 1.10.0
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21248. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21248 [PATCH] Update POI to version 1.10.0 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Additional Comments From [EMAIL PROTECTED] 2003-07-01 23:51 --- It's really so easy? Patch applied, tested with sample files. Maybe you can test with your file where the umlauts were broken? Thanks. Joerg
Re: cvs commit: cocoon-2.1/lib jars.xml
[EMAIL PROTECTED] wrote: joerg 2003/07/01 16:44:47 Modified:lib jars.xml Log: replace POI 1.7-dev with 1.10-dev Revision ChangesPath 1.55 +2 -2 cocoon-2.1/lib/jars.xml Is it possible to fix this changed lines-counter? :-) Index: jars.xml === RCS file: /home/cvs/cocoon-2.1/lib/jars.xml,v retrieving revision 1.54 retrieving revision 1.55 diff -u -r1.54 -r1.55 --- jars.xml 1 Jul 2003 01:54:51 - 1.54 +++ jars.xml 1 Jul 2003 23:44:47 - 1.55 @@ -464,7 +464,7 @@ format using pure Java. /description used-byMS Excel serializer (poi block)/used-by - libpoi/lib/jakarta-poi-1.7.0-dev-20020624.jar/lib + libpoi/lib/jakarta-poi-1.10.0-dev-20030222.jar/lib homepagehttp://jakarta.apache.org/poi//homepage /file
cvs commit: cocoon-2.0/src/documentation/xdocs/userdocs/concepts persistence.xml
crossley2003/07/01 18:24:14 Modified:src/documentation/xdocs/userdocs/concepts persistence.xml Log: Fix broken link. Bug: 21218 Submitted by: cgaffga at triplemind.com Revision ChangesPath 1.2 +1 -1 cocoon-2.0/src/documentation/xdocs/userdocs/concepts/persistence.xml Index: persistence.xml === RCS file: /home/cvs/cocoon-2.0/src/documentation/xdocs/userdocs/concepts/persistence.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- persistence.xml 9 Mar 2003 00:01:11 - 1.1 +++ persistence.xml 2 Jul 2003 01:24:14 - 1.2 @@ -23,7 +23,7 @@ have problems when the filenames are very long./p /s1 s1 title=Jisp based persistence: - pThe aim of the link href=http://www.coyotegulch.com/algorithm/jisp/index.html;Jisp + pThe aim of the link href=http://www.coyotegulch.com/jisp/index.html;Jisp based/link persistence is to provide a more scalable persistence. The objects are stored in an indexed file, which uses a B-Tree alghorithm to store the objects. This is a more elegant and fast solution, especially when you have to handle many
Re: [Flow] Serious problem with cocoon.getComponent(id)
I can't reproduce this. Are you sure you don't have an old version of rhino in your classpath? I fixed a problem with setting up dynamic scopes recently. Regards, Chris Reinhard Pötz wrote: From: Christopher Oliver [mailto:[EMAIL PROTECTED] You need to describe how to recreate the problem in more detail ok, here some more details: As you can see I implemented cocoon.getComponent(id). If I call this method from the flow and do a lot of refreshes at once (pushing the F5 key at IE) this error occurs. If I include a debug statement writing the ComponentManager to System.out I sometimes get null and not the manager. IIRC last week a problem with the petstore examples and the database connections was reported altough the old implementation exposed the ComponentManager itself. If you need more information please let me know! Reinhard for me to help you. The component manager will only become null when the FOM_Cocoon object is invalidated. Your scripts should not be executing in this state. If they are that that indicates a bug and we need to find it. Regards, Chris -Original Message- From: Reinhard Pötz [mailto:[EMAIL PROTECTED] Sent: Monday, June 30, 2003 12:57 PM To: [EMAIL PROTECTED] Subject: [Flow] Serious problem with cocoon.getComponent(id) Importance: High I think we have I serious problem with the lookup of components within flow scripts. Under load the component manager can become null!!! Could somebody with more knowledge about this part of Cocoon have a look at it? TIA! Cheers, Reinhard -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, June 30, 2003 9:11 PM To: [EMAIL PROTECTED] Subject: cvs commit: cocoon-2.1/src/scratchpad/src/org/apache/cocoon/components/flo w/javascript/fom FOM_Cocoon.java reinhard2003/06/30 12:11:10 Modified: src/scratchpad/src/org/apache/cocoon/components/flow/javascript/fom FOM_Cocoon.java snip/ +public Object jsFunction_getComponent( String id ) { +Object o = null; +try { + o = this.componentManager.lookup( id ); + } catch (ComponentException e) { + o = null; + } +return o; +}
cvs commit: cocoon-2.1/src/documentation/xdocs/userdocs/concepts redirection.xml book.xml modules.xml
upayavira2003/07/01 22:03:52 Modified:src/documentation/xdocs/userdocs/concepts book.xml modules.xml Added: src/documentation/xdocs/userdocs/concepts redirection.xml Log: Added docs on redirection Fixed typo in modules doc Please review this doc - it's my first, and I'd like to know I'm doing it right. Upayavira Revision ChangesPath 1.4 +1 -0 cocoon-2.1/src/documentation/xdocs/userdocs/concepts/book.xml Index: book.xml === RCS file: /home/cvs/cocoon-2.1/src/documentation/xdocs/userdocs/concepts/book.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- book.xml 29 Apr 2003 10:45:20 - 1.3 +++ book.xml 2 Jul 2003 05:03:52 - 1.4 @@ -26,6 +26,7 @@ menu-item label=XML Validation href=validation.html/ menu-item label=Databases href=databases.html/ menu-item label=Modules href=modules.html/ +menu-item label=Redirects href=redirects.html/ menu-item label=Profiler href=profiler.html/ menu-item label=Error Handling href=errorhandling.html/ /menu 1.3 +1 -1 cocoon-2.1/src/documentation/xdocs/userdocs/concepts/modules.xml Index: modules.xml === RCS file: /home/cvs/cocoon-2.1/src/documentation/xdocs/userdocs/concepts/modules.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- modules.xml 19 Mar 2003 08:19:12 - 1.2 +++ modules.xml 2 Jul 2003 05:03:52 - 1.3 @@ -73,7 +73,7 @@ Cocoon. Exception to this rule are the auto increment modules: only the HSQL module is already setup. /p - s2 title=Step 1: Making a new module know to Apache Cocoon + s2 title=Step 1: Making a new module known to Apache Cocoon p Like other core components of Apache Cocoon, modules are declared in codecocoon.xconf/code. There are already too many to list here. 1.1 cocoon-2.1/src/documentation/xdocs/userdocs/concepts/redirection.xml Index: redirection.xml === ?xml version=1.0 encoding=UTF-8? !DOCTYPE document PUBLIC -//APACHE//DTD Documentation V1.0//EN ../../dtd/document-v10.dtd document header titleRedirection/title authors person name=Upayavira email=[EMAIL PROTECTED]/ /authors /header body s1 title=Introduction p A Redirector allows the sitemap to pass a request for one URI on to another, whether that other URI is handled by Cocoon or not. /p p To redirect from codepage1.html/code to codepage2.html/code, you can use the following: /p source ![CDATA[ map:match pattern=page1.html map:redirect-to uri=page2.html/ /map:match ]] /source /s1 s1 title=HTTP redirects and how they work pIf the URI specified does not use the Cocoon: protocol, then an HTTP redirect will occur. The new URI is sent back to the client, which will then request the page from this new location. /p pTherefore, directory handling in redirect URIs works differently from other sitemap components. /p pIf the new URI is relative, then it will be relative to the directory of the page that called it, not relative to the URI of the sitemap containing it. Thus, the following is incorrect: /p source ![CDATA[ map:match pattern=folder/page1.html map:redirect-to uri=folder/page2.html/ /map:match ]] /source p This will in fact redirect the user to folder/folder/page2.html, which is probably not intended. The correct version is: /p source ![CDATA[ map:match pattern=folder/page1.html map:redirect-to uri=page2.html/ /map:match ]] /source /s1 s1 title=Internal Redirects Using the Cocoon Protocol p A redirection URI can make use of the codecocoon:/code protocol to return content from another Cocoon pipeline. In this case, the redirection happens internally. The content from the redirected URI is returned to the client as if it came from the original URI. /p p Directory handling is the same here as for other sitemap components. So that: /p source ![CDATA[ map:match pattern=folder/page1.html map:redirect-to uri=cocoon:/folder/page2.html/ /map:match ]] /source p will return the content of codepage2.html/code to the client in response to the request for codepage1.html/code. /p
cvs commit: cocoon-2.1/src/documentation/xdocs/userdocs/concepts redirection.xml
crossley2003/07/01 22:50:01 Modified:src/documentation/xdocs/userdocs/concepts redirection.xml Log: Fixed validation error. Revision ChangesPath 1.2 +2 -0 cocoon-2.1/src/documentation/xdocs/userdocs/concepts/redirection.xml Index: redirection.xml === RCS file: /home/cvs/cocoon-2.1/src/documentation/xdocs/userdocs/concepts/redirection.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- redirection.xml 2 Jul 2003 05:03:52 - 1.1 +++ redirection.xml 2 Jul 2003 05:50:01 - 1.2 @@ -90,8 +90,10 @@ /s1 s1 title=Session Management with Redirects + p By setting the codesession/code attribute to codeyes/code, the current session will be maintained during the redirect. + /p /s1 s1 title=Temporary and Permanent Redirects
cvs commit: cocoon-2.1 forrest.properties
crossley2003/07/01 22:52:06 Modified:.forrest.properties Log: Forrest now validates xdocs. Revision ChangesPath 1.16 +0 -1 cocoon-2.1/forrest.properties Index: forrest.properties === RCS file: /home/cvs/cocoon-2.1/forrest.properties,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- forrest.properties26 Jun 2003 04:17:24 - 1.15 +++ forrest.properties2 Jul 2003 05:52:06 - 1.16 @@ -58,7 +58,6 @@ # Eg, if forrest.validate=false, then all others are false unless set to true. #forrest.validate=true #forrest.validate.xdocs=${forrest.validate} -forrest.validate.xdocs=false #forrest.validate.skinconf=${forrest.validate} forrest.validate.sitemap=false #forrest.validate.stylesheets=${forrest.validate}