Re: Need help w/ entity resolution

2006-03-03 Thread Mark Lundquist
— as long as the stylesheet source is hardcoded in the sitemap. But when (see below) the stylesheet is streamed through a Cocoon pipeline, then I get the error. —ml— En/na Mark Lundquist ha escrit: Hi, I have this in some XSLT stylesheets: [ "-//W3C//ENTITIES Latin 1 for XHTML//EN"

Need help w/ entity resolution

2006-02-22 Thread Mark Lundquist
Hi, I have this in some XSLT stylesheets: %HTMLlat1; %HTMLspecial; ]> ...and this works fine for stylesheets where the TraxTransformer source is hardcoded in the sitemap. But I have one case where the stylesheet is served

SOLVED — Questions re: source resolving por ting from 2.1.6 => 2.1.8

2006-02-02 Thread Mark Lundquist
It turns out I had some bad flowscript that just fortuitously 'worked' in 2.1.6. When I fixed my flowscript, it worked fine. The problem had nothing to do with the other difference I encountered btwn. 2.1.6 and 2.1.8. best regards, —ml— ---

Re: Questions re: source resolving porting from 2.1.6 => 2.1.8

2006-01-31 Thread Mark Lundquist
On Jan 31, 2006, at 1:50 PM, Antonio Fiol Bonnín wrote: Could you please post the relevant parts of your sitemap, subsitemap and flowscript? In particular, I am interested in seeing any map:mount in your sitemap(s). Well, the mount looks like this: As I mentioned, the "c

Questions re: source resolving porting from 2.1.6 => 2.1.8

2006-01-31 Thread Mark Lundquist
Hi all, I have a bunch of Cocoon apps based on 2.1.6, and I'm actually just rev-ing the first of these up to 2.1.8. So far so good, mostly... but I have two questions: 1) Sources appear to be resolved differently. Some background: my root sitemap is not located directly within the webapp c

Update Re: Questions re: source resolving porting from 2.1.6 => 2.1.8

2006-01-31 Thread Mark Lundquist
Some more data... I tried passing an absolute pathname to the source resolver, and exists() on the returned still Source returns false, even though the file _does_ exist. I prepended "file:" to the pathname, and that made no difference. Any ideas? —ml—

Re: global javascript variables in flow

2006-01-09 Thread Mark Lundquist
On Jan 9, 2006, at 10:21 AM, Ben Anderson wrote: I'm messing with using global variables in my flow files and am observing that these variables get stuffed in the session. Is there a way to set these in the request instead? Why would you want to do that? Flowscript global variables are a co

Re: Forms/Flow: Control Flow Behind form.showForm()

2005-12-21 Thread Mark Lundquist
Hi, On Dec 21, 2005, at 1:13 AM, Patrick Refondini wrote: It is not quite clear yet how Form.prototype.showForm() can be called Form.prototype.showForm() Huh? Those look the same to me...? and how a call to form.showForm("some-pipeline.jx") is matched something like form.showForm("some-pip

Re: Question about serializers

2005-12-15 Thread Mark Lundquist
On Dec 15, 2005, at 7:45 AM, Fawzib Rojas wrote: Is there a way to create a thread in flowscript and have the "cocoon.processPipeline" run in it? Yes, definitely... var t = new java.lang.Thread ( new java.lang.Runnable ( { run:

Re: How to set the items variable dynamically in JXTemplate

2005-12-14 Thread Mark Lundquist
Hi Okan, On Dec 14, 2005, at 1:01 AM, Okan Basegmez wrote: i use JXTemplate to build an XML file. From the Flowscript, i pass collection parameters to the template which are named like table1, table2, tablen. Then i want to iterate for each table parameter the contents like ( items="${table{$i}

Re: server startup

2005-12-13 Thread Mark Lundquist
On Dec 13, 2005, at 11:07 AM, Adam Constabaris wrote: In general, it works with Tomcat if you start it with JPDA enabled (on unix : $TOMCAT_HOME/bin/startup.sh jpda start) and connect a remote session from Eclipse. Thanks... this should work with Jetty as well then, right? —ml— ---

Re: server startup

2005-12-13 Thread Mark Lundquist
On Dec 13, 2005, at 4:18 AM, Nouguier Olivier wrote: Even if you coding java stuff. Eclipse IDE support hot class reloading. You just have to run tomcat/cocoon inside eclipse, and it's done. Does this work with remote debugging in Eclipse, or do you actually have to have Eclipse start the

Re: Newbie to Cocoon

2005-12-09 Thread Mark Lundquist
On Dec 9, 2005, at 9:15 PM, anshuk pal chaudhuri wrote: I was going through the Cocoon documentation.I m completely new to it. What I am really interested is in transformation. Say I am doin a kind of mapping from XML to XML. What I am trying to know is it possible to generate the XSL File usin

Re: Event driven publishing

2005-12-03 Thread Mark Lundquist
Hi Terro, On Dec 3, 2005, at 7:37 AM, Tero Vaananen wrote: Can Cocoon handle most of the publishing work? Yes. Are there mechanisms to trigger a group of page updates based on the changes in the XML? What needs to be added if there is no support out of the box? One way or another... can

Re: Sitemap include

2005-11-30 Thread Mark Lundquist
On Nov 30, 2005, at 8:20 AM, Irv Salisbury wrote: I have two sitemaps that have some similar map:match and subsequent pipeline processing elements.  Is there any "include" type element for a sitemap? I cannot have a common parent sitemap and use a map:mount, so that option is out. My on

Re: ComponentSelector could not find the component Error

2005-11-29 Thread Mark Lundquist
(Re-posting to the list...) = On Nov 29, 2005, at 4:48 PM, Aaron Bortman wrote: Thank you very much. That fixed everything. I can't tell you how long I looked at those files and couldn't tell where the problem was. :-) I have another question for you on debugging if

Re: ComponentSelector could not find the component Error

2005-11-29 Thread Mark Lundquist
On Nov 29, 2005, at 3:38 PM, Aaron Bortman wrote: When I try to display the page login.html I get a fatal error that looks like the following: message UnnamedSelector: ComponentSelector could not find the component for hint [resources] Hi Aaron, You sort of have a typo. Change this

Re: cocoon dependencies (was 'Distributing "stand alone" Cocoon apps')

2005-11-23 Thread Mark Lundquist
Hi Bill, On Nov 23, 2005, at 3:23 PM, Bruyn Bill wrote: But find 16.7MB worth of JAR files in my WEB-INF/lib. Surely I don't need all of this... Do I? Is there some scientific way to pare this down, or must I just delete/test? You might find this of interest... http://marc.theaimsgroup.co

Re: Howto: set server locale?

2005-11-17 Thread Mark Lundquist
On Nov 17, 2005, at 12:08 PM, Bertrand Delacretaz wrote: Depending on your VM, you can do this using the user.language and related system properties, from the JVM command line, for example: java -Duser.language=fr -Duser.country=CA ... see http://java.sun.com/developer/technicalArticles/J2

Re: CForms, databinding and databases

2005-11-17 Thread Mark Lundquist
On Nov 14, 2005, at 10:51 PM, Sylvain Wallez wrote: as usually, thanks in advice That should be "thanks for any advice", or "thanks in advance" :-) How about, "thanks in advance for any advice"? That way all the bases are covered... :-) I knew a guy who would write advTHANKSan

Howto: set server locale?

2005-11-17 Thread Mark Lundquist
Hi, I need to be able to override the default locale for a Cocoon application (note, I'm not referring to client localization). How do I do this? Is it a server thing, or a servlet container thing? (I'm using Jetty...) Thanks, —ml— ---

Re: Form Description, Form Template & Repeater

2005-11-17 Thread Mark Lundquist
On Nov 17, 2005, at 10:11 AM, Omar Adobati wrote: but I have an error that sounds quit like the one I have before: Repeater 'TelNumbers' has no child named 'TelNumbers' Have you tried commenting out the elements, just to make sure it's just those that are the problem? I'm guessing here bu

Re: Integer formatting

2005-11-09 Thread Mark Lundquist
On Nov 9, 2005, at 10:26 AM, Bruce Atherton wrote: Perhaps I might suggest a change to the forms documentation to explain that cocoon forms expect java variables, not javascript ones. I suspect it is common to use flowscript and forms together, and unless you are aware that you need to be vig

Re: Passing variables between XSL and JavaScript

2005-11-07 Thread Mark Lundquist
On Nov 7, 2005, at 2:45 PM, Oleg Konovalov wrote: The problem is that I have to pass the value of the XSL variable as a parameter to that URL as: 'custdata_popup?bunit_num=' How can I do that ? It's called an "attribute value template", and it's part of XSLT. E.g, click me HTH, —m

Re: callback for continuation timeout?

2005-10-25 Thread Mark Lundquist
On Oct 25, 2005, at 12:18 AM, Torsten Curdt wrote: I have some processing invoked from flow that's not OK to just abandon if the user abandons their session. In particular, this processing logic "reserves" some resources in the database. BAD BAD BAD!! Don't!! Why? What's so BAD about it?

callback for continuation timeout?

2005-10-24 Thread Mark Lundquist
Hi, I have some processing invoked from flow that's not OK to just abandon if the user abandons their session. In particular, this processing logic "reserves" some resources in the database. In the case of "success", the resources will remain permanently associated with a persistent object,

Re: Accessing repeaterLoop variable from Cocoon Forms

2005-10-22 Thread Mark Lundquist
On Oct 22, 2005, at 11:14 AM, Bruce Atherton wrote: No, I don't have 'jx-macro.xml" imported. In fact, I don't see that file anywhere in my cocoon 2.1.7 build. It's in cocoon-forms.jar Should I have it somewhere? Add this to your JX template: uri="resource://org/apache/cocoon/forms/gen

Re: AW: [CForms] Accessing date-type widget and formating it's output for usage as attribute-value

2005-10-21 Thread Mark Lundquist
On Oct 21, 2005, at 6:53 AM, Christofer Dutz wrote: If I use exactly the same code as you I get "[Lorg.w3c.dom.Node;@28e230" as value of ${dateFormatted} ahh right, OK. I guess it would do that. Well then, the next thing that comes to mind would be to do the formatting in the flowscri

Re: [CForms] Accessing date-type widget and formating it's output for usage as attribute-value

2005-10-20 Thread Mark Lundquist
On Oct 20, 2005, at 1:54 PM, Christofer Dutz wrote: Hi,   Another problem I am having some problems with. I need to add the value of a date-type widget inside an attribute. Since the simple toString() output doesn’t do the trick, I would like to format the output. How can this be done.   Ch

Re: [cforms] XML binding, bind to DOM subtree?

2005-10-19 Thread Mark Lundquist
On Oct 19, 2005, at 7:35 AM, Sylvain Wallez wrote: Sure! Form binding can apply to any element, and not only documents! So just load/save your form with the relevant element in the XML document. (sound of light bulb coming on... :-) I get it now, looking at the form samples. Thx for the q

[cforms] XML binding, bind to DOM subtree?

2005-10-19 Thread Mark Lundquist
Hi, I have a problem that I'd like to solve with the binding framework binding to XML. It's a simple CRUD scenario operating on a small data set that could easily be maintained as an XML document in a file -- don't really need a database for this. The data consists of a list of elements, an

Re: AW: sendmailtransformer email:body - newlines

2005-10-14 Thread Mark Lundquist
On Oct 14, 2005, at 10:03 AM, Christofer Dutz wrote: Funny ... just had the same Problem ... solved that by building a HTML-Mail and escaping all the HTML in CDATA section ... Yup, that's what you have to do. SendMailTransformer is crazy that way. —ml—

Re: XML Merge Best Practices

2005-10-13 Thread Mark Lundquist
On Oct 13, 2005, at 8:14 AM, Julian wrote: I have some (generally 2-4) XML documents (approx. 200 KB in size) that I would like to merge. The documents would have the same id attributes and tag names. The tags which share the same name and id attribute should be merged into one node, and any

Re: Flow - passing data to sitemap

2005-10-13 Thread Mark Lundquist
On Oct 13, 2005, at 1:27 AM, Peter Sparkes wrote: However, I can't find any information about "module:flow-attr:" in the cocoon documentation. Can someone, please, tell me where I can find the documentation. What you have there is the combination of (a) module source, and (b) flow-attrib

Re: repeaters & alternate row colours

2005-10-13 Thread Mark Lundquist
On Oct 13, 2005, at 1:02 AM, Gunter D'Hondt wrote: as Jorg also mentoined; I'm still using 2.1.4 (and cannot upgrade that quickly) so as far as I know I can't use the jx macros in that version any other possibilities? Sure. I use XSLT for this, that way I can get this effect for any table I

Re: Custom repeater-actions

2005-10-11 Thread Mark Lundquist
Hi Chris, On Oct 11, 2005, at 3:13 PM, Christofer Dutz wrote: I was wondering on how I can implement a custom repeater action operating on several rows of a repeater. The way the delete-rows action works sounds promising, but I couldn’t see how I can use custom code in combination with the re

Re: Flow/Formsmodel Question

2005-10-11 Thread Mark Lundquist
Hi Sylvain, On Oct 11, 2005, at 2:53 PM, Sylvain Wallez wrote: In particular, the feature the O.P. asked about — the ability to address widgets as properties instead of by using lookupWidget() — is not available in "v1" IIRC... it's a v2 thing (and maybe v3, not sure). It's available in v

Re: Flow/Formsmodel Question

2005-10-11 Thread Mark Lundquist
On Oct 11, 2005, at 12:37 PM, Bertrand Delacretaz wrote: The last one in your list (plain "Forms.js" with no version number) is the current recommended one, the other were variants which have not been found better than this first version and will be abandoned. That's not quite accurate, I be

Re: Getting started (again)

2005-10-11 Thread Mark Lundquist
Hi Justin, On Oct 10, 2005, at 9:55 PM, Justin Fagnani wrote: [...] So I want to find existing projects and learn more about the current best practices for 2.1.7. First, from quickly trying to cover docs, the dev list and a little of the user list I think these are the most current, or end

Sharing is caring... selection-list for country codes?

2005-10-10 Thread Mark Lundquist
Hi all, I need an XML file with an full of country name => ISO country codes... So, who's got one? :-) thx, —ml— - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Is Flow suitable for high throughput apps?

2005-10-10 Thread Mark Lundquist
On Oct 10, 2005, at 5:00 PM, David Legg wrote: I guess I was trying to guage how to treat flow; as an everyday tool or as a powerful solution for complicated multi-page web forms. It's both! :-) :-) cheers, —ml— - To u

Re: Is Flow suitable for high throughput apps?

2005-10-10 Thread Mark Lundquist
Hi David, On Oct 10, 2005, at 4:42 PM, David Legg wrote: I think flow is fantastic, but I wonder if users would still be recommended to use custom actions and business objects instead of flow when dealing with high-traffic, non-stateful web pages? The idea of all those continuations being m

Re: onChange event handler not working in cocoon-2.1.7

2005-09-29 Thread Mark Lundquist
On Sep 29, 2005, at 1:01 PM, Jason Johnston wrote: We are using following resource in cocoon-2.1.5.1 ... cocoon.load("resource://org/apache/cocoon/forms/flow/javascript/v3/ Form. js"); Why did you switch flow APIs from v3 to v2? it looks like his switch was _to_ v3?... The APIs have

Re: How to *not* return a page

2005-09-27 Thread Mark Lundquist
On Sep 26, 2005, at 11:21 PM, Derek Hohls wrote: Is it possible to configure a match pattern to *not* return a page; i.e. I would like to make a call that will only set a variable (e.g. session value) - most probably via Javascript call in a certain page; the script should then continue to run

SOLVED (Re: How to set request attribute from the sitemap?)

2005-09-24 Thread Mark Lundquist
some scaffolding in my flowscript to print out all the request attributes, and that led me to track down the thing which has a crazy default of OutputModule.ROLE. Adding an empty solved my problem. —ml— On Sep 24, 2005, at 9:42 AM, Mark Lundquist wrote: Hi everyone, Here's the sitch

How to set request attribute from the sitemap?

2005-09-24 Thread Mark Lundquist
Hi everyone, Here's the sitch (w/ Cocoon 2.1.7, standard sitemap components)... I need to set a request attribute in one pipeline, so that a later (after internal forwarding) pipeline can use it (access it using the input module). I have a continuation-based "wizard" flow that needs this re

I18nTransformer is driving me crazy

2005-09-24 Thread Mark Lundquist
[I originally posted this to the dev list by mistake... moving to the users' list] -=-=-=-=-=-=-=-=-=-=-= Hi, The I18nTransformer is giving me fits. When I change the contents of a message catalogue, the changes don't take affect unless I restart Cocoon. This is slowing my development to a

Re: Getting/setting parameters in the sitemap

2005-09-22 Thread Mark Lundquist
On Sep 22, 2005, at 12:08 AM, Derek Hohls wrote: ... I do not seem to get any value for myparam... not sure if this is because it is not set, properly, or if I am not retrieving it correctly? The default name (configured in your cocoon.xconf) for this input module is 'session'. So, '{

Re: [CHS] "Illegal attempt to associate a collection with two open sessions" exception in update

2005-09-19 Thread Mark Lundquist
On Sep 19, 2005, at 8:12 AM, Nacho Jimenez wrote: Hi all, I'm working in a cocoon-hibernate-spring project, and I'm stuck in an Illegal attempt to associate a collection with two open sessions exception eveytime I try to update an persistent object with the getHibernateTemplate().update(Object

Crazy stale content problem

2005-09-16 Thread Mark Lundquist
Hi, I've got a project running Cocoon-2.1.6, and I'm having this weird problem... There'a pipeline that looks like this: The content from the "calendar:featured" pipeline is a rolling event list that displays the next N event

Re: Reloading a form after a time period

2005-09-11 Thread Mark Lundquist
On Sep 11, 2005, at 4:42 PM, Jason Johnston wrote: You'll proabably also need to build the URL of the refresh to include the continuation id, and the name of the refresh button as a request parameter. Not if it's the resource you're already serving :-) —ml—

Re: Reloading a form after a time period

2005-09-11 Thread Mark Lundquist
On Sep 11, 2005, at 4:00 PM, Ross Gardler wrote: I have a Cocoon form that shows live test result data from a sensor connected via ethernet. Currently the user refreshes the form manually by clicking a submit action button, which prompts the flowscript to determines whether the test has com

Re: forms + binding in repeater + bean + String[] type

2005-09-09 Thread Mark Lundquist
On Sep 9, 2005, at 1:01 AM, Joose Vettenranta wrote: Hi, I have bean like this: class Bean { private Collection foo = new ArrayList(); public addItem (String[] item) { ths.foo.add(foo); } public getFoo() {..} .. } in binding file, is iti possible to bind to that datatype, or do I ha

Re: Cocoon Hangs with OpenSessionInViewFilter

2005-09-07 Thread Mark Lundquist
On Sep 6, 2005, at 4:17 PM, Dustin N. Jenkins wrote: That's exactly what I have actually. I'm still not clear as to what C3P0 handles, but if I'm indeed using the data source as laid out below, and injecting that into my Hibernate Session Factory, which is then being injected into my DAOs, d

Re: Setting path for cookies in Tomcat / Cocoon

2005-09-06 Thread Mark Lundquist
On Sep 6, 2005, at 3:05 PM, JD Daniels wrote: I use flow... var cookie = cocoon.response.createCookie("name",value); cookie.path = "/"; cookie.comment="Blah Blah"; cookie.maxAge=157784630; cocoon.response.addCookie(cookie); IINM, the original poster is

Re: Cocoon Hangs with OpenSessionInViewFilter

2005-09-02 Thread Mark Lundquist
This could also be a connection pool issue maybe? Which one are you using? On Sep 2, 2005, at 11:16 AM, Dustin N. Jenkins wrote: Tools: JDK 1.5.0_04, Spring 1.2.1, Hibernate 3.0.5, Cocoon 2.1.7 - To unsubscribe, e-mail:

Re: is not working as excpected

2005-08-31 Thread Mark Lundquist
On Aug 31, 2005, at 8:36 AM, Stephan Coboos wrote: Hello, I assume ${helloWorld} should output the string "HELLO WORLD". Is this correctly? But it doesn't work in Cocoon 2.1.6. What I got is "HELLO ${world}". This means the var ${world} in the set of helloWorld wasn't interpreted. What's

Re: Cookies in flow by name

2005-08-30 Thread Mark Lundquist
On Aug 30, 2005, at 5:37 PM, JD Daniels wrote: cocoon.request.getCookieMap()['mycookie']; cocoon.request.getCookieMap(); Both end up undefined - yet the cookie does exist. I am also using the cookie to choose which xsl to use in my sitemap: src="context://xsl/document2{request:cookieMap/myco

Re: Cookies in flow by name

2005-08-30 Thread Mark Lundquist
On Aug 30, 2005, at 3:17 PM, JD Daniels wrote: Well, I have not ever looked at input modules to this point. I suppose I could look into them and see, but it seems to me that getting a cookie by its name should be a one line trivial thing. Hi JD, I think you should be able to write

Re: Missing classes building 2.1.7

2005-08-29 Thread Mark Lundquist
Hi Peter, On Aug 29, 2005, at 5:08 PM, Peter Flynn wrote: There doesn't appear to be any command "jetty" nor any command "cocoon". # jetty cocoon servlet bash: jetty: command not found # cocoon servlet bash: cocoon: command not found # I'm sure I saw an explicit command to do this, in the

Re: Cocoon and OpenLaszlo

2005-08-29 Thread Mark Lundquist
On Aug 29, 2005, at 11:29 AM, Yves Vindevogel wrote: I read a pretty interesting article on OpenLaszlo, which uses similar techniques to Cocoon for presenting web content. Has anybody done any interaction with it ? Yes, one of the Cocoon developers did a Cocoon + Laszlo integration — see h

Re: [Fwd: [Chaperon-users] wiki grammer]

2005-08-25 Thread Mark Lundquist
On Aug 25, 2005, at 7:14 AM, Bertrand Delacretaz wrote: I've been using radeox (http://radeox.org/space/start) in Cocoon apps me too and it works well, except that I needed to cleanup the output quite a bit to create clean XML. yup. One thing I don't like, though, is that there are patho

Re: downloads in Cocoon

2005-08-23 Thread Mark Lundquist
On Aug 23, 2005, at 8:36 AM, Ralph Lange wrote: Dear Cocoon Users! Our setup: cocon 2.1.5.1, tomcat 5.5.4, jdk 1.5.0. Does anyone know, how to give the Client the possibility to download files in Cocoon? So far I,ve been experimenting with readers, but it simply doesn't work. Isn't there a m

Re: simple-repeater: JXPath factory? Why?

2005-08-19 Thread Mark Lundquist
Hi Stephan, On Aug 19, 2005, at 11:23 AM, Stephan Coboos wrote: When I do so, I get an error: "Factory is not set on the JXPathContext - cannot create path: /columnHeaders[13]". What does this mean? In my experience, that error message means: "Something is null that your JXPath expressio

Re: idea: log utility

2005-08-19 Thread Mark Lundquist
On Aug 19, 2005, at 8:35 AM, Mark Lundquist wrote: P.S. — I like the RSS idea. —ml— - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: idea: log utility

2005-08-19 Thread Mark Lundquist
On Aug 19, 2005, at 7:18 AM, Joose Vettenranta wrote: Hi, got an idea for what - perhaps - could be a nice tool for cocoon, atleast for production sites: Web frontend for exception handling. I like it! Idea is that when software get's exception and goes to process error (with stack tra

Re: is cocoon a database?

2005-08-12 Thread Mark Lundquist
On Aug 12, 2005, at 4:35 PM, THUFIR HAWAT wrote: I've looked at and there's no mention of Cocoon being a database, but I thought it was... Nope. The site is right :-)... it's a web application/publishing framework. —ml—

Re: global object/parameter passing between flows

2005-08-10 Thread Mark Lundquist
Hi Johannes! On Aug 10, 2005, at 9:29 AM, Johannes Schaefer wrote: Hi! I need a means to pass some parameters between various screens (flows) but was not successful yet. Below is what I did so far (but there may be a better solution). Now I'm rather lost. :-( Any help appreciated! Hope we d

Re: CForms: quick question on server-side validation

2005-08-09 Thread Mark Lundquist
oops... my brain was tired and I didn't look closely enough at your post. Never mind... :-) —ml— On Aug 9, 2005, at 4:55 PM, Mark Lundquist wrote: bah! - To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

Re: CForms: quick question on server-side validation

2005-08-09 Thread Mark Lundquist
On Aug 9, 2005, at 4:49 PM, footh wrote: Actually, that's not true. I tried putting it in the flows section of the sitemap, but an error occurs because I already have a declaration for a javaflow. For example, having this in your sitemap: does not work. Depending on the order, I

Re: [CFORM] How can I remove a previous validation error from a widget?

2005-08-04 Thread Mark Lundquist
Hi Dan, Would you mind posting your whole flowscript method for this form? Before you showed a little 'if...else' statement containing the setValidationError() call, but it might help to be able to see that in context... cheers, —ml— On Aug 4, 2005, at 6:32 AM, Dan Ochs wrote: This this

Re: RequestURI in aggregation page

2005-08-03 Thread Mark Lundquist
Hi Joe, On Aug 3, 2005, at 11:59 AM, [EMAIL PROTECTED] wrote: Unfortunately, while what you suggest does work, it does not answer the question I asked, which is: How to pass the resource path of the request into an XML file, similarly to passing a session variable. Well, you'd generate th

Re: XSLT transformation

2005-08-03 Thread Mark Lundquist
On Aug 3, 2005, at 12:04 PM, Antony Grinyer wrote: Thanks for the idea Mark - I tried this and it just displays the XML? Seems it's stopping at the and not moving onto ? It looks like Marc had a copy/paste error in the pipeline sample he sent? Invoking a serializer _always_ terminates t

Re: Access a results page after submitting a form (was previously: html -2- xhtml - 2- xsl - fo)

2005-07-28 Thread Mark Lundquist
On Jul 28, 2005, at 7:37 AM, Michael Thermos wrote: Hallo. Again. Hiya :-) I'm using JXTemplateGenerator to pass values from the form to the results page. Here is a bit of code: My results page from a cform(that is after submiting the

Re: HTMLGenerator for parameter-data

2005-07-27 Thread Mark Lundquist
On Jul 27, 2005, at 3:04 PM, Benjamin Boksa wrote: I am looking for a simple way to transform HTML which came from a form to XML. "HTML which came from a form"...? Can you be a little more specific? —ml— - To unsubscribe,

Re: Dynamic SVG bar graph

2005-07-26 Thread Mark Lundquist
On Jul 26, 2005, at 10:50 AM, Jarry Liu wrote: Yes, I can also add some html stuff in svg file to reach my goal. What I mostly concern is how I can output html and svg in the same page. Is there any other serializer I can use to show svg except "svgxml"? Stepping back a little... :-) Have yo

Re: toXML() within XML file

2005-07-25 Thread Mark Lundquist
On Jul 25, 2005, at 10:11 AM, Dustin N. Jenkins wrote: The XML String is being output OK, the problem is that Cocoon won't try to transform it, although it will transform the XML around it. If I look at the raw XML, the XML spit out from the call to toXML() is being treated as any other Stri

Re: toXML() within XML file

2005-07-25 Thread Mark Lundquist
On Jul 25, 2005, at 10:11 AM, Dustin N. Jenkins wrote: The XML String is being output OK, the problem is that Cocoon won't try to transform it, although it will transform the XML around it. If I look at the raw XML, the XML spit out from the call to toXML() is being treated as any other Stri

Re: toXML() within XML file

2005-07-25 Thread Mark Lundquist
On Jul 25, 2005, at 9:45 AM, Dustin N. Jenkins wrote: Is there anyway to get Cocoon to recognize the output of my POJO's toXML() method within my XML file? Right now it treats the resulting XML as just a String and displays it as such. #{times} The output of the 'times' variable is XML, how

Re: Test for blank or null string in Jx

2005-07-22 Thread Mark Lundquist
On Jul 22, 2005, at 2:37 PM, JD Daniels wrote: Hmm. to my way of thinking you need two checks, because null is not the same as '' var is empty var is null no, empty( ) returns true for null (see http://jakarta.apache.org/commons/jexl/reference/syntax.html). —ml

Re: Test for blank or null string in Jx

2005-07-22 Thread Mark Lundquist
On Jul 22, 2005, at 1:37 PM, footh wrote: Trying a million more combinations, I finally figured it out. These both return true (for a null param and blank string param respectively): Yes, that should be correct: see http://jakarta.apache.org/commons/jexl/reference/syntax.html Also, t

Re: Test for blank or null string in Jx

2005-07-22 Thread Mark Lundquist
On Jul 22, 2005, at 11:42 AM, footh wrote: Thanks for the reply but still no luck using this (with a param that is null): I even tried: and Sorry, my bad... the function is 'empty', not 'isEmpty'! I remember now that I'm looking at it in email :-/ —ml— ---

Re: Test for blank or null string in Jx

2005-07-22 Thread Mark Lundquist
On Jul 22, 2005, at 10:52 AM, footh wrote: This seems like it should be easy but I've tried a million different combinations and I can't seem to get a jx if tag to test for a blank or null string. Can someone point me in the right direction? Been there, felt the pain. I don't know why it do

Re: Well Formed HTML as template

2005-07-18 Thread Mark Lundquist
Gustavo Nalle Fernandes wrote: Hi cocooners, Does cocoon offers thru one of its generators the possiblity to use a well formed HTML instrumented with valid htmls tags in order to generate a dynamic page, similar to tapestry template mechanism? (http://jakarta.apache.org/tapestry/UsersGuide/templ

"ComponentSelector Attempted to retrieve component with null hint."

2005-07-07 Thread Mark Lundquist
User-Agent: Unison/1.6.2 Hi, I'm seeing this error from [core.manager] in my logs: PoolThread-4/ExcaliburComponentSelector: source-factories: ComponentSelector Attempted to retrieve component with null hint. But everything seems to be working fine! Any ideas about how to track this down

Re: how to add a Select All to a cform fd:multivaluefield element?

2005-07-06 Thread Mark Lundquist
Hi Dan, On 2005-07-05 12:57:27 -0700, Dan Ochs <[EMAIL PROTECTED]> said: Hi, I am new to cocoon forms and am trying to figure out the best way to add a select all/none link into a multivaluefield element. So far I have tried to detect the checkbox click with a fd:on-value-changed element in t

Re: Forms and JXTemplate

2005-07-05 Thread Mark Lundquist
On 2005-07-02 02:53:06 -0700, Leszek Gawron <[EMAIL PROTECTED]> said: EVERY cocoon generator has to produce a well formed markup. VelocityGenerator is not an exception. Sure, but... the generator source could be an internal pipeline that uses TextGenerator. In any case, JCK's suggestion is

Re: Forms and JXTemplate

2005-07-01 Thread Mark Lundquist
On 2005-07-01 14:10:06 -0700, Mike Rowse <[EMAIL PROTECTED]> said: I've been trying to pass form POST information from flowscript to the eXist XQuery generator. I'm just starting to work with cforms so I may have gotten the whole point of the flowscript completely upside down. As I understand it

Re: Forms and JXTemplate

2005-07-01 Thread Mark Lundquist
Hi Mike, On 2005-07-01 11:36:30 -0700, Mike Rowse <[EMAIL PROTECTED]> said: incidentally is there any way to do that for non XML formatted files? I was trying to do it with XQuery files but, because XQuery definitely doesn't look like well formed XML cocoon complained. Not sure what you're t

Re: Forms and JXTemplate

2005-07-01 Thread Mark Lundquist
On 2005-07-01 07:28:07 -0700, "Johannes Becker" <[EMAIL PROTECTED]> said: One answer that was posted by Mark: You can generate your form definition files using jxtemplate (in a cocoon pipeline). Then when you want to reference your definition file, use cocoon:// to access it. My problem: I don

Re: [cforms]submit-on-change deprecated??

2005-06-30 Thread Mark Lundquist
On 2005-06-30 17:35:27 -0700, "Carlos M. S. Bento Nogueira" <[EMAIL PROTECTED]> said: <...snip> Has submit-on-change been deprecated or is there problem on some pipeline on my sitemap?? Nope... it hasn't been deprecated. You've probably seen the transform that does does this, in forms-fiel

Re: connection pool fail over

2005-06-29 Thread Mark Lundquist
On 2005-06-29 08:16:15 -0700, "Nathaniel Alfred" <[EMAIL PROTECTED]> said: You are probably better off to write your own meta connection pool manager as a layer between Cocoon and the actual connection pools. Absolutely, I second that 100%. The sitemap (actions, selectors) is completely th

Re: Classpath Issues (NoClassDefFoundException)

2005-06-29 Thread Mark Lundquist
On 2005-06-29 09:29:10 -0700, Michael Wirz <[EMAIL PROTECTED]> said: I now use the following workarounf: I put my jars in seperate dirs to keep them seperated. To get things going I use softlinks from the cocoon WEB-INF/lib dir to the specific jars. Well. Bye, Michael Another way you mi

Re: Which component causes "out of memory" error?

2005-06-28 Thread Mark Lundquist
On 2005-06-28 15:13:06 -0700, "Joel McConaughy" <[EMAIL PROTECTED]> said: Hi, I am trying to generate a large response (>500MB) from a pipeline but get out of memory errors. I cannot just increase the jvm memory as the response may be of arbitrary length. I have tried to configure a pipeline

Re: Directory includes

2005-06-28 Thread Mark Lundquist
On 2005-06-28 07:43:13 -0700, Janet Yvan <[EMAIL PROTECTED]> said: Isn't it possible to dynamically generate a sitemap which would include all the files I need in an aggregate? Sure. Can't you use the DirectoryGenerator or XPathDirectoryGenerator for this? Maybe I'm not understanding what

Re: AW: AW: [Cforms] How to reproduce the selection state?

2005-06-28 Thread Mark Lundquist
On 2005-06-28 08:14:29 -0700, "Stephan Coboos" <[EMAIL PROTECTED]> said: Ahh, that's it! This was the line I've missed. Thx! :) :-) But what can I do, if more than one car can be selected? No difference. Your bean will then be of type Set, right? —ml— --

Re: AW: [Cforms] How to reproduce the selection state?

2005-06-28 Thread Mark Lundquist
On 2005-06-28 04:00:46 -0700, "Stephan Coboos" <[EMAIL PROTECTED]> said: Hi Mark, Thanks for your answer. name = Foo description = Bar cars = {BMW, Audi, Peugeot} getSelectedCar = Audi I don't see the problem. If cars and selectedCar are both bean properties, why should it make a differenc

Re: NullPointerException after a

2005-06-28 Thread Mark Lundquist
On 2005-06-28 00:27:46 -0700, Katharina Kreis <[EMAIL PROTECTED]> said: I get a NullPointerException when transforming a xinclude. Can anybody tell me why? It's ringing a bell in my brain. And the bell sounds like this: "namespaces..." Sorry I can't give any more specific help than this.

Re: [Cforms] How to reproduce the selection state?

2005-06-28 Thread Mark Lundquist
Hi Stephan, Hello, I need to bind a bean to a form using Cforms. My bean looks like this: public class MyBean { String name; String description; List cars; // ... Setter and Getter here // Returns the selected car String getSelectedCar()... }

Re: [CForms] Repeater with links

2005-06-28 Thread Mark Lundquist
On 2005-06-27 07:09:24 -0700, Reinhard Poetz <[EMAIL PROTECTED]> said: Now the question is: what would be the easiest way to put the "id" property of the bean bound to the current row in place of the "[INSERT-ID-HERE]" string? You have to use the cforms macro library to get the id: ... ...

<    1   2   3   4   5   6   7   >