Re: [SOLVED] Re: Premature end of file error with xinclude?

2004-11-25 Thread Joerg Heinicke
On 25.11.2004 13:29, Derek Hohls wrote: It would be *very* nice if this type of error was more effectively reported i.e. saying there is a problem with line N of file ABC. It's the parser, so blame Xerces for it :-) Joerg - To

Re: [CForms] booleanfield, on-value-change = display form fields

2004-11-25 Thread Joerg Heinicke
On 24.11.2004 09:55, Markus Heussen wrote: I'm convinced I did it in a wrong way. But I'm still trying to solve my problem by trial and error principle. Could you help me, please? I need a form that displays a couple of form fields. One field is a check box (booleanfield). If that box is

Re: [CForms] booleanfield, on-value-change = display form fields

2004-11-25 Thread Joerg Heinicke
On 25.11.2004 22:54, Markus Heussen wrote: Don't know about this sample, but it should be similar. Referencing the boolean field as case widget should work IIRC. I have done it myself, I could have a look at latest at monday. The rest should be the same like the selection list sample. Trying it

Re: bored with *talks* about docs (was: New documentation project?)

2004-11-23 Thread Joerg Heinicke
On 23.11.2004 07:27, Derek Hohls wrote: Joerg Could you supply the actual URL of the DTD itself... all I could find pages discussing changes to the DTD. I guess you have been viewing the correct file - it only includes the other parts, look at the end of the file. But v10 is more obvious:

Re: Nullpointer exeption in jx templates

2004-11-23 Thread Joerg Heinicke
On 23.11.2004 22:57, Thorsten Mauch wrote: What is the meaning of 26:59 ? is this related to the line ? line 26, column 59. Joerg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [CForms] booleanfield, on-value-change = display form fields

2004-11-23 Thread Joerg Heinicke
On 24.11.2004 00:14, Markus Heussen wrote: I know how to display form fields depending on an option selected in a dropdown list. But if I try to do the same using a booleanfield I get a ClassCastException. Can you send the beginning of the stack trace? Joerg

Re: bored with *talks* about docs (was: New documentation project?)

2004-11-22 Thread Joerg Heinicke
On 22.11.2004 22:43, [EMAIL PROTECTED] wrote: OK, I'll sing a chorus. As it happens, I spent the weekend constructing documentation on the Cocoon Portal, trying to fill in some holes and allow for people who aren't familiar with Cocoon and the pipeline paths specific to the Portal. Still a ways to

Re: Repeater insert-node does not bind??

2004-11-18 Thread Joerg Heinicke
On 18.11.2004 15:31, oceatoon wrote: I'm doing a basic repeater widget with an add button, I thought that when adding a row the new row would automatically bind to the insert-node (item id= key=cocorico qte=0/)but my key is allways empty??? So in the mean time I'm doing it through flow. But am I

Re: Repeater insert-node does not bind??

2004-11-16 Thread Joerg Heinicke
On 16.11.2004 10:46, oceatoon wrote: So I'm back to my first question, because I had the initial binding for my repeater , I thought I had to add another bind in the on-insert-row. but it doesn't bind on creation of the new node, Ok. ***

Re: Converting lt;taggt; to tag, how?

2004-11-16 Thread Joerg Heinicke
On 15.11.2004 23:52, [EMAIL PROTECTED] wrote: http://svn.apache.org/viewcvs.cgi/cocoon/trunk/src/blocks/form s/samples/flow/binding_example.js?rev=30943view=auto, function loadDocument(uri): I've looked at this example before, but I cannot figure out how to use this in my situation: Input in

Re: Converting lt;taggt; to tag, how?

2004-11-16 Thread Joerg Heinicke
On 16.11.2004 23:14, [EMAIL PROTECTED] wrote: Ha! That's it! Thanks so much. All the other suggestions assume one large string of text, but I actually have a kind of DOM tree containing text, some of which could be HTML. What's the difference? To be honest, the client-side JS solution looks really

Re: Repeater insert-node does not bind??

2004-11-15 Thread Joerg Heinicke
On 15.11.2004 22:37, oceatoon wrote: Sorry for not answering I was a bit away but thanks for the reply. happy to know it is feasable :) I tried adding the fb:value binding in the insert node, but I'm very dubious about the syntax??? and it doesn't seem to work fb:insert-row mynode

Re: Converting lt;taggt; to tag, how?

2004-11-15 Thread Joerg Heinicke
On 15.11.2004 21:50, [EMAIL PROTECTED] wrote: I've seen multiple requests on how to transform lt;taggt; back into a proper tag, but I haven't seen any working example. Can somebody help me out, and prevent me reinventing the wheel all over again? I just want to display the result of input into

Re: replace booleanfield checkbox in repeater with a gif

2004-11-13 Thread Joerg Heinicke
On 13.11.2004 00:25, Paul Joseph wrote: I should also mention that I actually have two booean fields in the repeater and would like to show a different image for the second boolean field... the second boolean field is fd:booleanfield id=is_flagged fd:label/fd:label

Re: map:agreggate

2004-11-13 Thread Joerg Heinicke
On 13.11.2004 07:40, Andres Taborda wrote: hello list some user can help me for create in my sitemap the map:aggregate include an map:generate for xindice. by example map:aggregate element=site map:generate xmldb/// /map:aggregate Instead of using map:generate inside map:aggregate you have to

Re: [OT] This is quite disappointing...

2004-11-13 Thread Joerg Heinicke
On 11.11.2004 10:32, beyaNet wrote: I have asked this question before, and i'm going to again, if we have flow/jxt why xsp? If I was a new user what I would wanted see is fir direction as to which architecture to use within cocoon and why. When I first started using cocoon i used xsp as that

Re: unrolling the form loop (was Re: Repeater insert-node does not bind??)

2004-11-11 Thread Joerg Heinicke
On 11.11.2004 11:28, Jorg Heymans wrote: var form = new Form(...); form.createBinding(...); form.load(mybean); while(true){ cocoon.sendPageAndWait(uri, {CocoonFormsInstance : form.form}); print(submitted); form.save(mybean); } but ofcourse it doesn't exit the while loop. The function

Re: Passing a parameter from custome generator to transformer

2004-11-11 Thread Joerg Heinicke
On 11.11.2004 16:41, Bent André Solheim wrote: First of all, thank you for your answer Jorg! I'm having a bit trouble with your suggestion. It appears the transformer is configured after MyGenerator.compose(ComponentManager), but before MyGenerator.generate(). It is in generate() I look up the

Re: Exception in thread main java.lang.NoClassDefFoundError: Loader

2004-11-11 Thread Joerg Heinicke
RedHat/Fedora? This OS lets jump in its own Ant which breaks Cocoon's Ant. Some days ago I read the Cocoon scripts themselves load this Ant by loading an ant.conf from the wrong place: http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=109968742807688w=4 You probably just have to remove this

Re: zip entry question

2004-11-09 Thread Joerg Heinicke
On 09.11.2004 12:13, Norman Barker wrote: when using the zip archiver in cocoon I want to use zip:entry name=image.jpeg src=cocoon://imagereader/ where the cocoon://imagereader is map:reader my question is how do I set the mimetype on the call to cocoon://imagereader Do you need the mimetype here?

Re: Tracking changes made to XML docs

2004-11-08 Thread Joerg Heinicke
On 08.11.2004 10:22, Derek Hohls wrote: I am presently using CForms to allow users to update XML documents... the client has recently requested a feature to allow for changes to be tracked to these documents (who, when and what). Has anyone implemented such a scheme and, if so, could they

Re: The code of method generate() is exceeding the 65535 bytes limit

2004-11-08 Thread Joerg Heinicke
On 08.11.2004 12:30, David Merrilees wrote: I have a problem using xsp with large files. Is there any I increase the 65535 bytes limit? No, it's a Java limit, not a Cocoon/XSP limit. XSPs are transformed internally into Java, therefore the Java limit gets active. Unfortunately you have to split

Re: encoding problem in samples

2004-11-07 Thread Joerg Heinicke
On 07.11.2004 15:32, [EMAIL PROTECTED] wrote: in the past i have contibute some greek translations an a sample that live in scratchpad and i have notice that some greek charakters are brocken. the charakters are: (rho, mi, omikron) it was unable to me to find why this happend until now. today i

Re: Repeater insert-node does not bind??

2004-11-03 Thread Joerg Heinicke
On 02.11.2004 13:47, BURGHARD Éric wrote: While working on a cforms reapeater (bind with an XML doc), I thought that when a new row is created, it would bind directly to the node specified in the binding fb:on-insert-row but it seems that this is not the case and the row will be either empty,

Re: Forms, writing extra info

2004-11-03 Thread Joerg Heinicke
On 03.11.2004 10:31, Jan Hoskens wrote: I have several cforms that connect to xml documents. These may contain default values. If a user changes a value, an attribute changed will be set on that value-element and on the document-element. To accomplish this, I have to set javascript bindings for

Re: Encoding problems, still!

2004-11-03 Thread Joerg Heinicke
On 31.10.2004 18:16, Marc Portier wrote: So assuming all this reasoning is ok, what could never work is this: - change your form-encoding (and matching setting of serialization) to anything else then UTF-8, cos then request-params in forms and pre-built ones in url's get encoded differently and

Re: Forms, writing extra info

2004-11-03 Thread Joerg Heinicke
On 03.11.2004 13:44, Jan Hoskens wrote: If I leave out the old/new value test, it seems that it always gets saved. That might be a different behaviour between binding to beans and XML. Don't know exactly though. You mention event listeners/widgets. These are coupled to the form in flowscript or

Re: CForms: how 2 lookup all widgets at once

2004-11-03 Thread Joerg Heinicke
On 03.11.2004 13:49, Philipp Rech wrote: The question is if (widget.lookupWidget(*) != null) okay? No, as Bart wrote you have to check the widgets explicitely. And why do I get that error: file:/C:/Programme/Diplom/Apache Software Foundation/Tomcat

Re: Repeater insert-node does not bind??

2004-11-03 Thread Joerg Heinicke
On 03.11.2004 15:21, Jorg Heymans wrote: Is this valid for [1] as well ? No, that's different. Read below. Can you elaborate a bit what you mean by this additional binding specification? With binding specification (or probably better binding definition) I mean the fb:* stuff in the binding file.

Re: [CForms] repeater rows selection

2004-11-03 Thread Joerg Heinicke
On 03.11.2004 13:47, pguillard wrote: I'd like to be able to select one row only of a repeater, let's say for instance in sample samples/blocks/forms/form1.flow i would have same contact list + selection list with radio styling choosing the most important contact Jules or Lucien or Chris.

Re: Encoding problems, still!

2004-10-30 Thread Joerg Heinicke
On 30.10.2004 02:42, Marc Portier wrote: That late? ;-) But then in the bug report for Xalan (someone having this same problem) it says: According to section 16.2 of the XSLT Recommendation [1], non-ASCII characters in URI attribute values should be escaped using the method recommended in

Re: XSLT XPath Version in Cocoon 2.1.5.1

2004-10-29 Thread Joerg Heinicke
On 29.10.2004 14:10, Philipp Rech wrote: Hello, what XSLT and XPath Version can I use with my Cocoon (Version 2.1.5.1)? Can I use XSLT and XPath 2.0 already? It depends on your XML libraries. Cocoon comes with most recent releases of Xalan and Xerces. Xalan release does not provide XSLT/XPath

Re: Encoding problems, still!

2004-10-28 Thread Joerg Heinicke
On 28.10.2004 21:35, Tuomo L wrote: We're having some serious encoding problems. This happens only with the @href attributes in html, when using characters like å, ä and ö (in Finnish alphabet). Form encoding works just fine. I've gone through all the threads concerning encoding (other people

Re: JspGenerator doesn't work from flow but does otherwise...

2004-10-27 Thread Joerg Heinicke
extend URLClassLoader or to restore a normal ClassLoader. Joerg On 26.10.2004 23:12, Garrick Dasbach wrote: Joerg, I just ran into this same issue. Have you, or anyone else, found any solution/workaround to this problem, short of no includes in form pages? Garrick Joerg Heinicke wrote

Re: PDF (WITH) dynamic images

2004-10-27 Thread Joerg Heinicke
On 28.10.2004 01:01, Connell, Robert (SAPOL) wrote: We are retrieving images that are stored on a (non-relational) legacy database and which are returned to us as byte arrays. It has been possible to successfully display these images with HTML but we have not been able to output these byte arrays

Re: Attachment: Graphical Overview On The Authentication Framework

2004-10-26 Thread Joerg Heinicke
On 26.10.2004 22:21, Dylan Proulx wrote: I tried to reply with an OpenOffice Impress attachment, but because it is a ZIP file composed of XML files, it was rejected by the list. I opened it with Impress and it looked pretty good, but if you really do need a converted copy, I'll send it to you

Re: on-value-changed example

2004-10-20 Thread Joerg Heinicke
On 20.10.2004 16:44, Paul Joseph wrote: For the on-change I would like to use Javascript to make a call to a bean that I have instantiated in my flowscript, and to put that value in another field in my form Shouldn't this be done in the binding? fd:on-value-changed is for inner form logic, not

Re: more intuitive place for Cocoon status page and clear-cache command.

2004-10-19 Thread Joerg Heinicke
On 19.10.2004 19:11, Lars Huttar wrote: For a long time I didn't know about the cocoon/samples/clear-cache.html URL. I kept shutting down Tomcat and restarting it in order to clear the cache. :-/ Suggestion to make this and a couple of other things more intuitive: - Put a link to the status

Re: Binary data / PDF

2004-10-15 Thread Joerg Heinicke
On 15.10.2004 11:21, Bertrand Delacretaz wrote: ...I am trying to display a pre-generated PDF file in Cocoon; so I am not using the FOP stuff. I have a Java generator that loads the PDFs from a database and holds it as a byte array (byte[])... To serve binary data you need a Reader, not a

Re: EXSLT extension function within cocoon2.1.5.1 and xalan 2.6.0

2004-10-13 Thread Joerg Heinicke
On 11.10.2004 17:44, Janvier Majirus FANSI wrote: I used cocoon2.1.5.1. when i maked the test to know if xalan 2.6.0 implemented the exslt set module, cocoon return unknow xpath error. My stylesheet contains these lines: xmlns:set=http://exslt.org/set; exclude-result-prefixes=set

Re: ExtractTransformer, caching

2004-10-13 Thread Joerg Heinicke
On 12.10.2004 16:23, Thomas Krause wrote: I'm using an ExtractTransformer to transform xml to gif. All works fine but the ID given by //fe:fragment/@fragment-id it seems to be always the same for a picture on the same site. Well, the ID is different from ID's on other sites. An of course I've

Re: XHTML and Entities: apos; fails in IE

2004-10-05 Thread Joerg Heinicke
On 05.10.2004 12:43, Andreas Hartmann wrote: I'm using UTF-8 encoding with the o.a.c.components.serializers.XHTMLSerializer. That's a Cocoon-specific class, not a Xalan class, so we probably can do something about it. Special characters seem to be encoded as entity references by default (e.g., '

Re: Stylesheet throws ArrayIndexOutOfBoundsException

2004-10-05 Thread Joerg Heinicke
On 05.10.2004 12:02, Bart Molenkamp wrote: Solved it. Forrest's document2html.xsl contains a template matching @id, and I guess that this conflicts with the id attributes from CForms, eg ft:widget id=.../ Still, I think that the exception thrown is not correct, but I guess that's a Xalan bug.

Re: Link Livesites: www.edoc.mpg.de

2004-10-01 Thread Joerg Heinicke
On 01.10.2004 07:02, David Crossley wrote: Dear Mr and Mss We use cocoon in our Edoc electronic dokument system for Max Planck Society http://www.edoc.mpg.de . More information about our project find you on www.edoc.mpg.de website. Kind regards Karol Kozak Doing 'HEAD

Re: Problems with xsl:document()-function

2004-09-26 Thread Joerg Heinicke
On 26.09.2004 09:14, Andreas Hartmann wrote: Are you aware that xsl:value-of returns the string-value of the specified node? I'm not sure if the string-value of a document node is defined. It is. You might try xsl:value-of select=document('grundlagen.xml')/* / There will be no difference in

Re: Problems with xsl:document()-function

2004-09-26 Thread Joerg Heinicke
On 26.09.2004 14:21, Katrin Schoenherr wrote: xsl:template match=alleelemente xsl:copy-of select= document('grundlagen.xml')/*/ /xsl:template Try xsl:template match=/ xsl:copy-of select=document('grundlagen.xml')/ /xsl:template and have a look into the output. This must work.

Re: CForms with Tabs via fi:styling type=tabs/ ?

2004-09-24 Thread Joerg Heinicke
On 24.09.2004 13:52, Philipp Rech wrote: How can I create the tabs? How does fi:styling type=tabs/ works? Does it create the tabs just through the form-samples-styling.xsl (or one of the other xsl files in rescources)? The Blocks Sample page works with Actions (another with Flowscript) are the

Re: CForms - load / save to different targets

2004-09-24 Thread Joerg Heinicke
On 24.09.2004 11:01, Jorg Heymans wrote: Original Exception: org.apache.commons.jxpath.JXPathException: Exception trying to create xpath selectedGroups; Factory is not set on the JXPathContext - cannot create path: /selectedGroups That's similar to a NullPointerException. Your variable is null,

Re: [CForms] v2, v3 , trunk 2.1.x, stock 2.1.5.1 ??

2004-09-23 Thread Joerg Heinicke
On 23.09.2004 14:06, Jorg Heymans wrote: Which version of CForms are people using out there? I use Cocoon of 2004-06-29 after an important bug has been fixed: http://marc.theaimsgroup.com/?l=xml-cocoon-cvsm=108851438425123w=4. I am using the standard 2.1.5.1, but noticed that there is a v2 and

Re: CForms - load / save to different targets

2004-09-23 Thread Joerg Heinicke
On 23.09.2004 16:46, Jorg Heymans wrote: My form has a multivaluewidget, it's values are retrieved from an Arraylist in the bean that is populated using Hibernate. The user then selects a few values and presses next. Now i would like to save these selected values into a different arraylist then

Re: Cocoon and Lenya as integrated protal and cms

2004-09-23 Thread Joerg Heinicke
On 22.09.2004 20:27, Edd Dawson wrote: Thanks for the quick reply :) Yes i discovered that lenya is built upon cocoon, however as i am totally new to cocoon and lenya i was wondering if anyone had ever managed to achieve (or would know how to achieve) what i am looking for, and how difficult/time

Re: [CForms] dependency on headless server ?

2004-09-21 Thread Joerg Heinicke
On 21.09.2004 20:53, Upayavira wrote: java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable. the form works when i do the -Djava.awt.headless trick. Is this a known dependency? Yup. What exactly introduced this dependency? I know Batik

Re: how to detect gecko

2004-09-20 Thread Joerg Heinicke
On 20.09.2004 11:53, Adrian Petru Dimulescu wrote: Hello, I am trying to detect if the visiting browser is capable of rendering XUL (that is, if it is one of Mozilla, Firefox, Galeon etc.). In case it is capable of XUL rendering, I want to serve a XUL, otherwise HTML but I can't get the

Re: how does one use JDO to run ALTER TABLE sql command?

2004-09-19 Thread Joerg Heinicke
On 19.09.2004 04:30, Paul Joseph wrote: My colleague and I are trying to use jdo to do an alter table command. JDO is an O2R mapper, not a SQL replacement. I would not wonder if it does not work at all. From the error message I guess the query is not pre-tested, but as it does not return a

Re: Unwanted white spaces in xsl:attribute

2004-09-16 Thread Joerg Heinicke
On 16.09.2004 18:42, Rui Alberto L. Gonalves wrote: Try indenting, xsl:element name=a xsl:attribute name=hrefjavascript:manageSLink('main-xsl:value-of select=$app/-xsl:value-of select=$report_id/-xsl:value-of select=$level/-xsl:value-of

Re: Error - White spaces are required between publicId and systemId

2004-09-15 Thread Joerg Heinicke
On 15.09.2004 22:22, Schultz, Gary - COMM wrote: White spaces are required between publicId and systemId. org.apache.cocoon.ProcessingException: Failed to execute pipeline.: file:/d:/comwps/SB/content/SB-HPBTest.xml:2:63:org.xml.sax.SAXParseException : White spaces are required between publicId

Re: [CForms] widget bla does not exist in container

2004-09-13 Thread Joerg Heinicke
On 13.09.2004 18:02, Jorg Heymans wrote: Any quick pointers as to what could be causing this? This container called seems suspicious to me This is the form itself. IIRC the place where the error text is created has a bug, there is a if (id == null) then form else container check in it, but

Re: [CForms] widget bla does not exist in container

2004-09-13 Thread Joerg Heinicke
On 13.09.2004 18:59, Jorg Heymans wrote: right i removed those now... It all makes a lot more sense now, i was working of a supersonic-tour copy that's why they were still there. Your problem is solved now? Joerg - To

Re: Out of Memory error base64 encoded to SVG to JPG

2004-09-13 Thread Joerg Heinicke
On 13.09.2004 08:22, Derek Hohls wrote: Linc Just a comment - 448MB is *very* low for a Java-based servlet such as Cocoon - I think at least 2GB is recommended... Huh? Cocoon runs nicely in most cases with 128 MB. Only FOP and Batik (which is used here) need some more memory. But 256 MB for

Re: Out of Memory error base64 encoded to SVG to JPG

2004-09-13 Thread Joerg Heinicke
On 11.09.2004 04:15, Lincoln Mitchell wrote: I need to convert multiple wordml images (base64 encoded) to JPG. How big is the WordML file? There is also the option that it is not the rendering of the images, but the transformations. Sitemap.xmap map:match pattern=*.jpg

Re: Fundamental Cocoon Philosophy Question

2004-09-11 Thread Joerg Heinicke
On 10.09.2004 22:42, Ralph Goers wrote: As far as standards are concerned, I am speaking of the forms implementation. I remember at one point it was being built around XForms before that was scrapped. Now however groups are working on adopting that as a standard for webapps:

Re: Repeater widgets in group tabs

2004-09-06 Thread Joerg Heinicke
On 06.09.2004 13:44, Derek Hohls wrote: Quick and simple question: is it possible to have ft:repeater... tags inside of fi:group tags; Counterquestion: What should prevent it? Joerg - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Forms styling: showing required OR validation symbols

2004-09-03 Thread Joerg Heinicke
On 03.09.2004 08:41, Derek Hohls wrote: The current forms stylesheets supplied with Cocoon work very well for most purposes... however, I now have a quite crowded form where space is at a premium. Ideally I would only like to have one hint symbol next to each field ie. if the field is required

Re: Customized failure messages for a CForm...

2004-09-03 Thread Joerg Heinicke
On 03.09.2004 14:30, Derek Hohls wrote: The following errors have been detected (marked with !): : general.field-required : general.field-required : general.field-required Please correct them and re-submit the form. BUT I need the messages to be in the format: field label : This field needs an

Re: WordML image to jpeg/gif via cocoon?

2004-09-02 Thread Joerg Heinicke
On 02.09.2004 15:41, Gerald Aichholzer wrote: How would I convert an image in wordML to a jpeg or gif via Cocoon? So far I have only found this .net solution by Oleg Tkachenko: In WordML images are embedded into document (Base64 encoded). So when producing HTML, images have to be decoded and

Re: matching html elements in transformation

2004-08-24 Thread Joerg Heinicke
On 24.08.2004 19:39, [EMAIL PROTECTED] wrote: Is my understanding correct, the xhtml elements need a namespace value to work in the xsl processor? Only if you have »xmlns=http://www.w3.org/1999/xhtml« in your XSL stylesheet. If the stylesheet does not have a namespace for html, it will recognize

Re: matching html elements in transformation

2004-08-24 Thread Joerg Heinicke
On 24.08.2004 16:54, Schultz, Gary - COMM wrote: Is my understanding correct, the xhtml elements need a namespace value to work in the xsl processor? Yes, elements in the default namespace in the input XML must be matched with a prefixed in the stylesheet. Or in other words: the default

Re: mime-type of sitemap.xmap

2004-08-13 Thread Joerg Heinicke
On 13.08.2004 17:34, Colin Paul Adams wrote: Is there any correct mime-type for sitemap.xmap? text/xml application/xml text/xml is NEVER right! :-) Why? http://www.ietf.org/rfc/rfc3023.txt (though I didn't read it of course) Jörg

Re: ComposerGenerator replacement?

2004-08-12 Thread Joerg Heinicke
On 12.08.2004 08:01, John Lianoglou wrote: I'm writing my very first Generator at the moment, which is supposed to pull information from a database. So, I found a useful code sample in the docs w/in the Cocoon distro which uses the ComposerGenerator class. Thing is, I'm getting a deprecation

Re: Best of both worlds Cocoon JSF.

2004-08-11 Thread Joerg Heinicke
On 06.08.2004 20:22, birdy wrote: I have read http://www.developer.com/open/article.php/10930_3348311_1 (spinning code with XSLT and JSF with Cocoon) and think it is an excellent method to bring the benefits of two great technologies. My question to all, is has any one else done this. If so how?

Re: Flow : Accessing Repeater Rows value in Flow

2004-08-03 Thread Joerg Heinicke
On 04.08.2004 01:18, oceatoon wrote: I still get a result null form.getWidget().houseuploads.getRow(0).getChild(path).value = returns null (path being my upload widget) and the field widget in the same repeater returns its content ??? Another funny reaction is when I add an element to the

Re: Styling CForms drop-down list

2004-07-31 Thread Joerg Heinicke
On 23.07.2004 10:06, Derek Hohls wrote: Well, it does *not* work from the no. of items; a list with 9 items shows all, but one with 13 only shows 10 In GUI controls, one can normally control this behaviour... but how in CForms? Sorry, but it neither can be controlled in CForms itself nor

Re: Query string with non-English characters

2004-07-27 Thread Joerg Heinicke
On 20.07.2004 13:09, Perez Carmona, David wrote: I have a form and insert some non-English characters in a text box, with Mozilla 1.5 or IE 6 under Windows XP. When the action that process the form, receives these characters badly. It is clearly an encoding problem. I'm using Cocoon 2.1.2 The

Re: [repost] Generating XML from flow for auth-fw

2004-07-27 Thread Joerg Heinicke
On 20.07.2004 18:36, Steve Schwarz wrote: I've written some flowscript to perform login validation using OJB and on success I end up with a populated bean. I then call sendPage() to a pipeline that uses JXPathGenerator along with the bean to create the XML that meets the needs of the

Re: [CForm] fd:repeater-action I18N problem

2004-07-27 Thread Joerg Heinicke
On 20.07.2004 23:55, Benoit Deshaies wrote: I think I found a problem with the repeater-action widget and I18N. The final rendered page shows the I18N key name instead of the translated value. In my form, I define the widget like so: fd:repeater-action ...

Re: Include (like apache) in cocoon.xconf

2004-07-27 Thread Joerg Heinicke
On 21.07.2004 09:45, Stephan Coboos wrote: Of course a build-in mechanism in cocoon would be better! But I dont't know whether such a mechanism already exists. It does not, but it was an idea on the last Cocoon GetTogether. Joerg

Re: Dynamic CForms cases [was: cforms : show and hide widgets]

2004-07-23 Thread Joerg Heinicke
On 19.07.2004 10:30, Robin Wyles wrote: There is a union widget available in CForms. I already thought about implementing the car selector sample via union widgets, but that's a bit difficult as the cases are dynamic though not impossible: Have you any ideas how one might go about making cases

Re: CForms - styling read only fields

2004-07-23 Thread Joerg Heinicke
On 19.07.2004 15:54, Derek Hohls wrote: I was unable to get the fd:output to work... What's the problem with it? What I have done is to add a class styling to the fields I want in the form template, so: To give a greyed out effect... it would be really have been better if read-only fields were

Re: Nested selection using CForms

2004-07-23 Thread Joerg Heinicke
On 20.07.2004 08:43, Scott Yeadon wrote: Is there any CForm widget (or widget combination) that would allow me to create the equivalent of a nested menu/selection-list. For example if I had a list of items dog, cat, bird when the user highlighted one of these it would show a further list for

Re: Styling CForms drop-down list

2004-07-23 Thread Joerg Heinicke
On 20.07.2004 09:04, Derek Hohls wrote: A simple question... but I am stuck! I am trying to style a drop-down list, using: fi:styling list-type=listbox listbox-size=1 list-size=13/ If I change the listbox-size to anything other than 1, then it changes from a drop-down list to a box showing 'n'

Re: cforms and complex checking?

2004-07-19 Thread Joerg Heinicke
On 15.07.2004 08:36, Joose Vettenranta wrote: Hi, I was looking into cforms and came up with the question.. first one (this might be possible afaik): Let's like I have form like R^(2x3)-matrix, like this: question 1: radio button1 [yes] radio button2 [no] question 2: radio button1 [yes] radio

Re: woody (cforms) questions?

2004-07-19 Thread Joerg Heinicke
On 15.07.2004 10:53, Joose Vettenranta wrote: question 1: i tested samples in 2.1.3. (the woody block) and I noticed, that it didn't work well with javascript turned off (like error messages didn't show up). Is this a failure of example or woody or does this have to be implented by hand?

Re: CForms: Books and Authors

2004-07-19 Thread Joerg Heinicke
On 15.07.2004 21:56, Alan wrote: I'm using Cocoon + Hibernate to good effect. The standard controls are very impressive. How does one handle the books and authors problem in CForms? The problem is that you are adding a book to a database and you want to choose from an existing

Re: cocoon 2 internal server error

2004-07-19 Thread Joerg Heinicke
On 16.07.2004 04:44, Nandakumar Mounasamy wrote: We are getting internal server error from cocoon 212 under high load, or moderate load over 30-60 minutes of run. The issue is very consistent and has very similar error patterns in the cocoon logs. We run Cocoon 2 on JBoss 3.2.3 and JRE 142_05.

Re: woody and big radiobutton list

2004-07-19 Thread Joerg Heinicke
On 16.07.2004 15:33, Joose Vettenranta wrote: Hi, Atleast my cocoon version does it only in this way (don't know if 2.1.5 does this better): radiobutton label That's indeed something where you have to customize the stylesheets yourself. They provide only Cocoon default styling. Joerg

Re: different page- and form-encodings?

2004-07-18 Thread Joerg Heinicke
On 14.07.2004 12:02, Stefan Burkard wrote: hi cocoon-users i'm publishing some html-forms with cocoon - the html-pages are utf-8 and the browsers are using this encoding correctly. if anybody submits a form i use the entered values to send a mail to myself with all the provided values - i'm

Re: Using cocoon on LiNode

2004-07-18 Thread Joerg Heinicke
On 14.07.2004 15:36, Oleg wrote: Dear Distinguished Colleagues: I am considering moving my blog (http://www.olegdulin.com/) from Pair hosted traditional FreeBSD account to the one hosted by linode (http://www.linode.com/products/linodes.cfm). I am considering the $19.95 option because it is

Re: Date based authorization in cocoon

2004-07-18 Thread Joerg Heinicke
On 14.07.2004 16:56, Sal Mangano wrote: I have an application requirement where users who are not registered with the site or not logged in should have restricted access to content. Specifically, they are allowed to access current content but will have no access to older content. Old is determined

Re: How do I determine the current sitemap's directory?

2004-07-18 Thread Joerg Heinicke
On 18.07.2004 16:12, Colin Paul Adams wrote: How can I determine the directory of the current sitemap, from within a Source? Resolving cocoon:/ should work in every case but is probably not the best way. IIRC there is a request.getSitemapURI() method. Joerg

Re: cookies

2004-07-17 Thread Joerg Heinicke
On 06.07.2004 14:35, Oro smith wrote: im using URL encoding in cocoon webmail to maintain the session. Previously the default method of using cookies was used. Since this did not work in phones i used url encoder. Will cookies be created now? Tell your servlet container to not create cookies.

Re: CForms javascript validation

2004-07-15 Thread Joerg Heinicke
On 15.07.2004 05:30, Adam Walsh wrote: Hi, I have a form with two fields in it, where at least one of the fields must be filled in, and I've put a bit of javascript to check it in the form definition: fd:field id=field1 required=false fd:labelfield 1/fd:label fd:datatype

Re: How to access Session/Request object inside Transformer class

2004-07-13 Thread Joerg Heinicke
On 13.07.2004 23:58, Java Developer wrote: Hey Joerg, Thanks for your suggestion, I got rid of saving images for displaying in my webapp. Got another problem with extractor..and after searching in the mailing list i found this link

Re: Standard field binding not implemented for selection lists?

2004-07-12 Thread Joerg Heinicke
On 12.07.2004 04:14, Scott Yeadon wrote: Hi, Based on the CForms documentation, it looks as though the same facilities to bind other fields (namely the XPath notation) is not able to be used for selection lists. For example, if I have an XML file containing a list of elements that I want to

Re: [Woody/CForms] Dynamic selection lists different for every repeater row

2004-07-12 Thread Joerg Heinicke
On 12.07.2004 21:06, Marcin Okraszewski wrote: Hi, Is it possible to create dynamic selection list that would be different for every row in a repeater? I mean something like this: There is no native support for it, but what about the javascript binding as at

Re: CForms fd:javascript validation problem (validating two widgets against each other)

2004-07-12 Thread Joerg Heinicke
On 12.07.2004 09:39, Jens Maukisch wrote: I have two field widgets (datatype date) in my form and I want to validate them against each other with some javascript code. The validation rule for the first widget is, that the date must be after today and the js-code looks like this: ... The date of

Re: Form.load method

2004-07-09 Thread Joerg Heinicke
On 09.07.2004 05:31, Scott Yeadon wrote: Hello, Has anyone used the Form.load method for CForm binding within Javascript. I get a UniqueTag error that appears to be thrown from one of the Mozilla java libraries. The cocoon source has this method commented out, yet the samples obviously are

Re: CForms, binding with repeater, new element overwrites old element

2004-07-09 Thread Joerg Heinicke
On 09.07.2004 09:19, Nicole Hochleiter wrote: In stepping through org.apache.cocoon.forms.binding.RepeaterJXPathBinding public void doSave(Widget frmModel, JXPathContext jxpc) throws BindingException I got the impression, that my new added element overwrites an existing one. I'm working with bean

Re: WIKI - strange link formats?

2004-07-09 Thread Joerg Heinicke
On 09.07.2004 13:31, Derek Hohls wrote: I am working on the assumption that the content *has* been moved already It has finally moved from wiki.cocoondev.org to wiki.apache.org. - and that any name changes that should have taken place will have occurred already... Yes, and for those types of

Re: Setting Content-Length

2004-07-09 Thread Joerg Heinicke
On 09.07.2004 14:27, Adam Ratcliffe wrote: I'm writing a Pocket PC application where I need to provide a progress bar for the user while an image file is being loaded. Cocoon is not setting the Content-Length header so I'm unable to determine the loading percentage. I extended XMLSerializer to

Re: handling XML Node deletion in CForms

2004-07-08 Thread Joerg Heinicke
On 08.07.2004 10:52, Jeremy Quinn wrote: Is there some way to have a FlowScript function called from the binding when node deletion takes place in a CForms repeater ? You could try using a fb:javascript element inside the fb:on-delete-row element of your repeater binding. I haven't tried it

<    1   2   3   4   5   6   7   8   9   10   >