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

2004-07-12 Thread Marcin Okraszewski
Hi, Is it possible to create dynamic selection list that would be different for every row in a repeater? I mean something like this: Row1: [ ] Option A [ ] Option B [ ] Option C Row2: [ ] Option B [ ] Option D Row3: [ ] Option A [ ] Option C Regards, Marcin Okraszewski

Link Livesites: Cocoon 2.1

2004-07-09 Thread Marcin Okraszewski
title: Faculty of Electronics, Telecommunications and Informatics (Gdask University of Technology) URI: http://www.eti.pg.gda.pl/ Cocoon version: 2.1.4-dev language: mostly Polish Regards, Marcin Okraszewski - To unsubscribe, e

Re: [Woody] Integers in dynamic selection list are localized (BUG?)

2004-06-17 Thread Marcin Okraszewski
Hi, Plain convertor worked as I wanted when it was in model. Previously I tried with formatting convertors and giving pattern like #0, but it didn't result as I expected. Thanks for help. Marcin Okraszewski I tried with wd:convertor in model, but it doesn't help, it would help to use

[Woody] Integers in dynamic selection list are localized (BUG?)

2004-06-15 Thread Marcin Okraszewski
are below. Regards, Marcin Okraszewski MODEL - wd:multivaluefield id=teachers wd:labeli18n:textteachers/i18n:text/wd:label wd:datatype base=integer/ wd:selection-list src=cocoon://resources/common/form/user_full_list.xsp dynamic=true/ /wd:multivaluefield GENERATED SELECTION LIST (just

Re: Removing non-xhtml tags from a string ???

2004-04-29 Thread Marcin Okraszewski
found a TagSoap project, which fixes input to XML only. It doesn't tidy HTML, but in my case it seems to suit more. Regards, Marcin Okraszewski - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Removing non-xhtml tags from a string ???

2004-04-29 Thread Marcin Okraszewski
looks interesting :-) Regards, Marcin Okraszewski - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Removing non-xhtml tags from a string ???

2004-04-28 Thread Marcin Okraszewski
:-( It is a bit confusing, since I use HTMLArea and while pasting text from Microsoft Office, there are o:p/ tags which causes the empty string !! Is there any way to throw such tags away? Regards, Marcin Okraszewski

Re: ressource reader bug with IE (linked to caching)

2004-04-20 Thread Marcin Okraszewski
Hi, Are you trying to access a file through SSL? I found similar problems with IE in SSL mode. Regards, Marcin Okraszewski Hello users, I'm trying to access DOC or PDF files using the ressource reader component as described in the sitemap below and get the following error only under

Re: Fw: Cocoon Forms - Woody

2004-04-15 Thread Marcin Okraszewski
the same value and label? In the worst case you can always take the value from model, by selecting an element which has the selected value (you can use XPath for this). Regards, Marcin Okraszewski - To unsubscribe, e-mail: [EMAIL

Re: Fw: Cocoon Forms - Woody

2004-04-15 Thread Marcin Okraszewski
cache-at-startuptrue/cache-at-startup /map:transformer in translations dir (or any you specified above) you create a woody.xml catalogue as attached for English and Polish. Regards, Marcin Okraszewski Thanks for the info ! Could you just tell me how to translate this catalogue woody ? ?xml

Re: [Woody] IE sends values of buttons - SubmitWidget can only be set once

2004-04-10 Thread Marcin Okraszewski
The more I'm into creating webapps the more I'm fed up with IE. The worst is that users even don't have the faintest idea how many problems people have because they use IE. Marcin Okraszewski Be sure, you are not the only one: http://marc.theaimsgroup.com/?t=10796280242r=1w=4 I figured

[Woody] IE sends values of buttons - SubmitWidget can only be set once

2004-04-08 Thread Marcin Okraszewski
2.1.4-dev. Regards, Marcin Okraszewski - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: OutOfMemoryError under XP

2004-04-05 Thread Marcin Okraszewski
Hi, I'm also suffering from OutOfMemoryErrors and ThreadDeath but only after several webapp reloads. And it seems that without reloads it can go without such problems. Regards, Marcin Okraszewski I'm using Cocoon 2.1 and Windows XP. I have a problem with Memory. My Computer have 512MB Ram

Re: Binding a Woody form to two beans?

2004-04-04 Thread Marcin Okraszewski
Hi Christian, What about making an aggregating bean that would have two fields Address and City? You could make paths like this address/street, city/name. Regards, Marcin Okraszewski Hi! I'd like to use Woody as a Database Frontend with OJB as persistance layer. Is it possible to bind

Strange errors with IE and multipart forms - HELP!!

2004-03-30 Thread Marcin Okraszewski
-dev - it is said it has some bug fixes with multipart forms and UTF, which I use) Regards, Marcin Okraszewski - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Strange errors with IE and multipart forms - HELP!!

2004-03-30 Thread Marcin Okraszewski
after submitting the form - I think it even wouldn't have time to send the request. This is really strange. Well, in the worst case I'll tell people they *must* use Mozilla ;-) Regards, Marcin Okraszewski - To unsubscribe, e-mail

Problem with running Cocoon 2.1.5-dev

2004-03-30 Thread Marcin Okraszewski
Hi, I have a problem with running Cocoon 2.1.5-dev. If I install it in /cocoon directory it works fine :-) But then, if I try to install it as an default application (I simply rename the dir from cocoon to ROOT), I get the error cited below. Am I doing something wrong? Regards, Marcin

Indexing i18n pages

2004-03-28 Thread Marcin Okraszewski
this? I could make selecting language by setting the locale cookie, but I don't think robots will rescan all pages. Maybe I should check it is a robot and serve it a page with contents in all languages - but how to do it with i18n ? Regards, Marcin Okraszewski

Re: Empty elements and the XML Serializer

2004-03-22 Thread Marcin Okraszewski
with src attribute, you must do those tricks. Speaking of Java Script - how to get rid of escaping and from XML - I need them in script, but they are converted to lt; and gt; which is not understood by browsers. Regards, Marcin Okraszewski

Re: National chars in forms

2004-03-16 Thread Marcin Okraszewski
=sitemap.serializer.html mime-type=text/html name=html pool-grow=4 pool-max=32 pool-min=4 src=org.apache.cocoon.serialization.HTMLSerializer encodingUTF-8/encoding /map:serializer Regards, Marcin Okraszewski P.S.2 How do you expect can we connect your localhost - your and our localhosts are different

Re: National chars in forms

2004-03-16 Thread Marcin Okraszewski
Hi Joerg, So it is really odd! I've read the comment in Buzilla, and I think I have to move to 2.1.5-dev, because I have occasional problems with multipart forms that occasionally a signs are wrongly interpreted. Speaking of charset encoding, I have problem while connecting Tomcat and Apache

Re: esql converts to lt;gt;

2004-03-14 Thread Marcin Okraszewski
, Marcin Okraszewski - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Dynamic XML sorting ???

2004-03-11 Thread Marcin Okraszewski
, Marcin Okraszewski - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Dynamic XML sorting ???

2004-03-11 Thread Marcin Okraszewski
On Mar 11, 2004, at 6:41 AM, Marcin Okraszewski wrote: Hi, I would like to sort some fragments of a generated XML. The problem is that I would like to sort the XML by XPath specified in the generated document. It might look like this: document !-- ... -- sort:sort by=element/name

Re: Indexing cocoon for search engines

2004-03-11 Thread Marcin Okraszewski
Maybe there are no links to your site from the world known by google? From my experience it seems that it takes quite a long time for Google to index newly committed page :-( Regards, Marcin Okraszewski After trying to get this working, I've determined I'm having trouble getting cocoon indexed

[Woody] OPTGROUP in selection list ??

2004-02-22 Thread Marcin Okraszewski
Hi, Is it possible to make OPTGROUP in selection list in Woody? I need it for readability of my selection list. Regards, Marcin Okraszewski - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: saving woody data after insert

2004-02-22 Thread Marcin Okraszewski
. If this is the case you can simply fix it in this way: public addLink(be.bvar.admin.links.Link link) { super.addLink(link); } Regards, Marcin Okraszewski I have a repeater widget displaying a list of data provided form a Collection in a bean. When I insert a record in the form an empty row

Re: i18n dynamic catalogues

2004-02-22 Thread Marcin Okraszewski
I wanted to do the same once, and I'm afraid it isn't possible to do, because i18n cashes the messages only once. So, even it comes from DB the translations won't change unless you restart your application :-( Regards, Marcin Okraszewski Hi, with Cocoon 2.1.3 I want to use dynamic from

Re: [Woody] OPTGROUP in selection list ??

2004-02-22 Thread Marcin Okraszewski
thought the list of options must be flat. If some wants to do the same, I've committed a patch to bugzilla: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27147 Regards, Marcin Okraszewski - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [XSP logicsheet] How to pass parameter to XSP logicsheet ???

2004-02-09 Thread Marcin Okraszewski
, not XSL). Regards, Marcin Okraszewski Hi Marcin, From your question, I think that Oliver was on the right track with his suggestion that you look in the archives. Maybe these links will help you? I have used this technique: http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=105483065103410w

Re: A notebook for Cocoon development

2004-02-09 Thread Marcin Okraszewski
Regards, Marcin Okraszewski P.S. I'm working on Gentoo Linux. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [XSP logicsheet] How to pass parameter to XSP logicsheet ???

2004-02-06 Thread Marcin Okraszewski
:-( Regards, Marcin Okraszewski Hi Marcin, This question has already been asked. Take a look at the archives. Quickly, use map:parameter in sitemap and parameters.get(...) in the XSP. -- Olivier On 05/02/2004 22:20, Marcin Okraszewski wrote: Hi, I need path of processed file by a XSP logicsheet (ie. XSL

Re: Which XSLT is used for XSP logicsheets???

2004-02-05 Thread Marcin Okraszewski
I tried to generate XSP from XSP and it failed - I can't generate xsp:page element in any way - by writing directly xsp:page or xsp:element. But, when creating dynamically XSP wouldn't the page be recompiled every time it is requested ??? Regards, Marcin Okraszewski On 01.02.2004 20:07

[XSP logicsheet] How to pass parameter to XSP logicsheet ???

2004-02-05 Thread Marcin Okraszewski
Hi, I need path of processed file by a XSP logicsheet (ie. XSL transform). This could be also a request object. Normally I could pass a parameter to XSL but when it is a logicsheet I don't know how to do it. Regards, Marcin Okraszewski

Re: Which XSLT is used for XSP logicsheets???

2004-02-05 Thread Marcin Okraszewski
of a webapp and even tomcat didn't help! Regards, Marcin Okraszewski On 01.02.2004 20:07, Marcin Okraszewski wrote: But I wonder if you really need DB access from within the stylesheet? What's the use case for it? Why don't you access the DB from within XSP, e.g. via ESQL? Of course I can move

Re: A notebook for Cocoon development

2004-02-05 Thread Marcin Okraszewski
will you use. Regards, Marcin Okraszewski Hi, I just need a notebook that will be sufficient to make my work in Cocoon (besides of my primary desktop computer) when I'm outside (spring is comming :) ). Will a PIII 500, 128MB notebook be OK for this? Regards, mirko

Re: Which XSLT is used for XSP logicsheets???

2004-02-01 Thread Marcin Okraszewski
XSL or XSP generated by other XSP - I've never tied it. How does it works if a XSP page is generated by XSP ??? Regards, Marcin Okraszewski - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Which XSLT is used for XSP logicsheets???

2004-01-30 Thread Marcin Okraszewski
Hi, I thing of a more advanced logicsheet that would use data from DB during XSP translation to Java. For that reason I could use Xalan java extensions, but I don't know if xalan is used and if it is safe to assume that xalan will be used. Regards, Marcin Okraszewski

[Woody binding] Creating XML nodes in a namespace?

2004-01-26 Thread Marcin Okraszewski
prefixes, but the prefixes aren't bound (there are no namespace declarations xmlns:layout=...). How can I fix it? Regards, Marcin Okraszewski - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [Woody binding] Creating XML nodes in a namespace?

2004-01-26 Thread Marcin Okraszewski
Uppps, the flowscript is like this (it doesn't influence the problem): //... var document = loadDocument(dirTitlePath); form.load(document); form.showForm(/form_templates/dirtitle.xml.html); form.save(document); saveDocument(document, dirTitlePath); //...

Re: How to convert HTML fragment to XHTML fragment - something like JTidy?

2004-01-26 Thread Marcin Okraszewski
This is what I did, but I thought there is a better way. why u dont use jdity and then grab only the content of the body element? --stavros On Sun, 25 Jan 2004, Marcin Okraszewski wrote: Hi, I want to convert HTML document fragment to XHTML fragment. I tried with JTidy, but it seems to work

How to convert HTML fragment to XHTML fragment - something like JTidy?

2004-01-25 Thread Marcin Okraszewski
fragments with JTidy (well, maybe without wrapping fragment with htmlbody and than striping it) ? Regards, Marcin Okraszewski - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[Woody] how to make a html preview ???

2004-01-24 Thread Marcin Okraszewski
??? Regards, Marcin Okraszewski - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: multipart/form-data and encoding problem !!

2004-01-23 Thread Marcin Okraszewski
how I have the form-encoding set, there are encoding problems. I have to send every form with multipart/form-data :-( Regards, Marcin Okraszewski - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

[Woody XML binding] file is saved without namespace declarations.

2004-01-23 Thread Marcin Okraszewski
Hi, I have problem with binding XML document to woody. When I save the document, the namespace declarations are omitted. The tags are properly prefixed, but the prefixes aren't bound. I'm using saving method from the example. How can I fix it? Regards, Marcin Okraszewski

Re: multipart/form-data and encoding problem !!

2004-01-22 Thread Marcin Okraszewski
-charset=UTF-8, but it didn't help. How can I fix it? Of course I need multipart/form-data to post files to the server. Regards, Marcin Okraszewski - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

container-encoding init param - what is it?

2004-01-22 Thread Marcin Okraszewski
don't know what I did and if it will influence the system in some other way - a part from helping with my encoding problem. Regards, Marcin Okraszewski - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: multipart/form-data and encoding problem !!

2004-01-22 Thread Marcin Okraszewski
I found that setting container-encoding in web.xml to utf-8 solves the problem. But I don't know if it will influce the system also in other way. Regards, Marcin Okraszewski Hi, I have a big problem!! I have changed enctype to multipart/form-data in form definition and this caused problems

Re: Best practice - use db xmldb of or file system for simple xml (xhtml) documents

2004-01-21 Thread Marcin Okraszewski
ago). Well if I count correctly November 22 was almost exactly 2 months ago. Any way - I needed it at middle of October. Now I'll probably incorporate it in version 2.0 of my system :-) Regards, Marcin Okraszewski - To unsubscribe

Re: HTML Editor for Woody

2004-01-20 Thread Marcin Okraszewski
instead of string ? I hope I helped in some way. Regards, Marcin Okraszewski In my current project (http://microbic.de/dav/htdocs/htmlarea/htmlarea2.gif) I'm using the woody binding for my article show in the screenshot. Basic problem is (independent from the html editor) that using any XML markup

Re: [Woody] Date field - how to change format to 24 hours.

2004-01-20 Thread Marcin Okraszewski
On 20.01.2004 00:12, Marcin Okraszewski wrote: But when I enter a sample date 24.01.2004 12:05, it is recognized as 00:05 (12:05am) (it is saved in DB in this way). But when I enter 24.01.2004 13:05, then it is all right (1:05pm). I might be wrong but isn't the change from AM to PM at 13:00

Re: Cocoon parameters encoding problem

2004-01-20 Thread Marcin Okraszewski
There is a form encoding parameter in the web.xml: init-param param-nameform-encoding/param-name param-valueUTF-8/param-value /init-param set there the encoding you are using (by default ISO-8859-1 is taken). Regards, Marcin Okraszewski Hi, I'm trying to get the following

Re: Best practice - use db xmldb of or file system for simple xml (xhtml) documents

2004-01-20 Thread Marcin Okraszewski
, but on the other hand you also don't have to keep so many objects loaded. To be honest if I had free XML DB that had supported XQuery 3 months ago (eXist haven't even mentioned about it) I would definetely use XML DB - for simplicity reasons :-) Regards, Marcin Okraszewski

Re: How can i get my mount root

2004-01-19 Thread Marcin Okraszewski
Hi, Can't you use pseudo protocol context:// ? Regards, Marcin Okraszewski Hi, I'am looking for a good and practicable way to determine the Path to the mount Root. e.g. /mount/projectname/ or /cocoon/mount/projectname/ Is there any way or have I do that everytime hard in the source

Re: xsp:attribute bug ???

2004-01-19 Thread Marcin Okraszewski
Try: xsp:logic if (false) { xsp:attribute name=should-not-betrue/xsp:attribute } /xsp:logic Regards, Wow - it works. Who would expect it is so simple :-) - To unsubscribe, e-mail: [EMAIL

[Woody] Date field - how to change format to 24 hours.

2004-01-19 Thread Marcin Okraszewski
, it is recognized as 00:05 (12:05am) (it is saved in DB in this way). But when I enter 24.01.2004 13:05, then it is all right (1:05pm). What am I doing wrong? Regards, Marcin Okraszewski - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Custom jars, where to put them?

2003-12-18 Thread Marcin Okraszewski
that requested resource /manage/html is not available. I'm not sure if you misspelled the url only here or in browser too. It should be /manager/html not /manage/html Regards, Marcin Okraszewski - To unsubscribe, e-mail: [EMAIL PROTECTED

?xml-logicsheet href=url? - how is it represented in JDOM ??

2003-12-18 Thread Marcin Okraszewski
Hi, I need to build JDOM of a XSP page. How the ?xml-logicsheet ? is represented in DOM ?? How to add it to DOM? Regards, Marcin Okraszewski - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: ?xml-logicsheet href=url? - how is it represented in JDOM ??

2003-12-18 Thread Marcin Okraszewski
Sorry for bothering - it is org.jdom.ProcessingInstruction Hi, I need to build JDOM of a XSP page. How the ?xml-logicsheet ? is represented in DOM ?? How to add it to DOM? Regards, Marcin Okraszewski - To unsubscribe, e-mail

May OutOfMemoryError be caused by unfinished flows?

2003-12-17 Thread Marcin Okraszewski
Hi, I'm developing a cocoon-based website. Unfortunately after several application reloads I receive OutOfMemoryError. I'm wondering if this may be caused by unfinished flows, which I have plenty since I check how works only a part of a flow. Regards, Marcin Okraszewski

[Woody] How to obtain submitId from a repeater.

2003-12-17 Thread Marcin Okraszewski
Hi, Is it possible to obtain which submit widget was pressed in a repeater? If I use form.submitId, I obtain only id of widget, but I don't know from which row the submit comes from. Regards, Marcin Okraszewski - To unsubscribe

[Woody Validation] general.field-required - how to change it?

2003-12-17 Thread Marcin Okraszewski
Hi, How to change default error message when a field is required (general.field-required)? Regards, Marcin Okraszewski - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Custom jars, where to put them?

2003-12-17 Thread Marcin Okraszewski
Hi, I'm afraid that reloading whole Tomcat or at least a webapp (when the jar is in WEB-INF/lib) is the only way to make server notice changes in classes or jars. But I might be wrong. Regards, Marcin Okraszewski Hello, I'm trying to build a Java class I can use as a wrapper to be used

Re: [Woody] How to obtain submitId from a repeater.

2003-12-17 Thread Marcin Okraszewski
continues execution. Now I can simply get index, just like that: if (form.submitId == row-submit) print(submit at row: , index); As simple as that :-) I know, it isn't very elegant, but it works. Maybe someone has better solution? Regards, Marcin Okraszewski Hi, Is it possible to obtain

Re: Custom jars, where to put them?

2003-12-17 Thread Marcin Okraszewski
=tomcat,manager,admin/ Regards, Marcin Okraszewski How do I reload a webapp? I haven't found that yet. Bye, Helma -Original Message- From: Marcin Okraszewski [mailto:[EMAIL PROTECTED] Sent: Wednesday, 17 December 2003 23:07 To: [EMAIL PROTECTED] Subject: Re: Custom jars, where to put them

Re: How to obtain db connection from pool ?

2003-12-15 Thread Marcin Okraszewski
Hi, And how about obtaining it outside a flow? How to get the instance of the component selector that I could run something similar to cocoon.getComponent() from the example below? Regards, Marcin Okraszewski Suggested using flowscript, then try sth like this: try { var dbSelector

How to obtain db connection from pool ?

2003-12-13 Thread Marcin Okraszewski
Hi, I want to use my classes in Cocoon application. Unfortunately I don't know how to obtain a database connection from defined pool for database. How can I do it? I tried to reproduce code generated by ESQL, but I obtain nulls. Regards, Marcin Okraszewski

[Woody / continuation] Passing continuation-id as request parameter stalls request !!!

2003-12-11 Thread Marcin Okraszewski
continuation={1}/ /map:match Any ideas what is wrong ??? I'm using Cocoon 2.1.4 dev. Thank you in advance for your help! Marcin Okraszewski - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [Woody / continuation] Passing continuation-id as request parameter stalls request !!!

2003-12-11 Thread Marcin Okraszewski
pattern=continuation-id map:generate src=cocoon://{1}.continue/ map:serialize/ /map:match where it also stalls the request :-( Regards, Marcin Okraszewski Hi, I want to pass continuation ID as a hidden parameter. So I did fallowing form: wt:form-template action= method=POST

Re: [Woody / continuation] Passing continuation-id as request parameter stalls request !!!

2003-12-11 Thread Marcin Okraszewski
makes infinite loop. Damn, I'm so stupid!!! Regards, Marcin Okraszewski It is even more interesting!! When I do fallowing: map:match type=request pattern=continuation-id map:redirect-to uri={1}.continue/ /map:match It does continue, but unfortunately request parameters are lost

Re: [Woody binding] Binding of wd:booleanfield - is it supported?

2003-12-10 Thread Marcin Okraszewski
Sorry, it was my fault! I must have been very tired yesterday. It works even without wb:convertor. Thanks a lot! Marcin Okraszewski --- Marcin Okraszewski [EMAIL PROTECTED] wrote: Hi, It seems that binding of _wd:booleanfield_ isn't supported. Am I right or am I doing something wrong? Try

Re: Woody: How to bind multivaluefield ?? HELP

2003-12-09 Thread Marcin Okraszewski
in flowscript. If I have more time I'll look into it and maybe code that binding. But unfortunately I'm deficient in time so probably someone else will do it first :-( Regards, Marcin Okraszewski - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [Woody] form.endFormProcessing() is not a function ???

2003-12-08 Thread Marcin Okraszewski
wd:submit id=cancel action-command=cancel validate=false wd:labelCancel/wd:label /wd:submit Yes, validate=false is the key I didn't know of :-) Thanks, Marcin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[Woody] form.endFormProcessing() is not a function ???

2003-12-07 Thread Marcin Okraszewski
Hello, I want to make a cancel action. On Wiki pagaes I found fallowing method: After pressing an action button, the form will normally always be redisplayed, unless the event handling code explicitely disables this (*by using the endFormProcessing method on the form object*). So I did

Re: Woody error: missing id attribute on a woody element.

2003-12-06 Thread Marcin Okraszewski
tried to reproduce this error by putting a wi:styling tag inside one of the widgets in the repeater in the form1 example, but it worked as expected. Could you post your template, or the relevant part of it? Marcin Okraszewski wrote: I downloaded Cocoon from CVS, because I need file upload

Woody: How to bind multivaluefield ?? HELP

2003-12-06 Thread Marcin Okraszewski
is wrong? Regards, Marcin Okraszewski - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Woody: can I call other woody flow from current flow?

2003-11-28 Thread Marcin Okraszewski
that: // ... do { form.showForm(step1.html); if (form.submitId == add-user) // the function I don't know call_woody_form(user.html) while(form.submitId != next); // ... Is it possible to do such thing? Is it also possible to pass a bean the called form should use? Regards, Marcin Okraszewski

Woody: is upload implemented?

2003-11-20 Thread Marcin Okraszewski
Is it correct? Regards, Marcin Okraszewski - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Woody error: missing id attribute on a woody element.

2003-11-20 Thread Marcin Okraszewski
: org.xml.sax.SAXException: WoodyTemplateTransformer: missing id attribute on a woody element. What is wrong? Regads, Marcin Okraszewski - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Encoding problem - browser doesn\'t care of set encoding

2003-11-19 Thread Marcin Okraszewski
Hi, It really seams that this is the reason!! I had master copy on Tomcat 4.1.27, and the new copy on 4.1.29. As I changed to 4.1.27 everything is fine :-) I'm pretty suprised, I must say! Thanks for help! Marcin On Tue, Nov 18, 2003 at 11:10:38AM +0100, [EMAIL PROTECTED] wrote: Hi, I have

Re: Encoding

2003-11-19 Thread Marcin Okraszewski
Hi, I've asked the same question yesterday. And the solution (unfortunately) was exactly the same! Regards, Marcin This looks to be a problem with Tomcat 4.1.29. I'm not quite sure how to resolve it, but running Cocoon 2.1.3 in Tomcat 4.1.27 seems to work. - Justin On Nov 18, 2003, at 4:42

Re: Automatic wizard through continuations

2003-11-19 Thread Marcin Okraszewski
Hello everybody, I'm programming an automatic wizard through a continuation using jxform and three generic XSP templates. When I try to execute the wizard the first time it runs ok and I finish the continuation with the form.finish() method but when I execute it the second time with another

Re: [JXForm/XMLForm] how to set encoding

2003-11-17 Thread Marcin Okraszewski
I would like to use accents (for french) and I'm looking for a solution to set the encoding in ISO-8859-1. I don't know, if I undestand you correctly, but if you have form encoding problems, this may help (I received when asking for woody, but I think it doesn't matter): It's a problem with the

Woody problem: woody isn't saving added row entries to bean.

2003-11-17 Thread Marcin Okraszewski
packages and class names were copied just for sure. There is frow script, binding, classes below. Regards, Marcin Okraszewski Flow: bean = new Packages.eti.beans.Entry(cocoon.request.get(entry)); form.load(bean); form.showForm(admin/entry-form.xml.html); form.save(bean); bean.save

JXForms caching source problem (with XSP source)

2003-11-16 Thread Marcin Okraszewski
number). Even when I change content of XSP it doesn't give any result, although calling directly XSP page works fine. To make change I have to reload webapp. Is there any way to avoid this problem? Thanks in advance. Regads, Marcin Okraszewski

Woody form validation function isn't working?

2003-11-16 Thread Marcin Okraszewski
Hello, I have a problem again :-( I can't make form validation function working. If I do such expression: form.show(admin/entry-form.xml.html, function(form) { model.importance++; return false; }); doesn't change value of importance widget in web form. On the other hand, the fallowing

Woody: repeaters with edition on seperate pages?

2003-11-14 Thread Marcin Okraszewski
with repeater. I would like to edit every SubBean on a separate page (both when adding and editing existing subbeans). Is it possible to do it using Woody? If yes, how to do it? Maybe there is a better choice than Woody? Regards, Marcin Okraszewski

Re: i18n: how to override locale date format?

2003-11-07 Thread Marcin Okraszewski
PWN, s. 121. -- - Marcin Okraszewski [EMAIL PROTECTED] GG: 341942 [EMAIL PROTECTED] PGP: www.okrasz.prv.pl/pgp.asc

Woody and encoding forms.

2003-11-07 Thread Marcin Okraszewski
Hi. I have problem with encoding of Woody webforms. I tried registration sample and when I write non-us characters the form comes refilled with two strange singns instead of one I've inputed (co is converted to co). How to manage with this? Regards, Marcin Okraszewski

Re: ESQL: get-xml: problem with namespace for root element.

2003-11-01 Thread Marcin Okraszewski
mismatch. This is currently not supported :-| Patches are welcome! I have commited the patch to bugzilla. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24305 -- - Marcin Okraszewski [EMAIL PROTECTED

ESQL: get-xml: problem with namespace for root element.

2003-10-30 Thread Marcin Okraszewski
//ns:root I obtain an empty root, because the source has mixed content: ns:root/ns:root 3. Put prefixed root name: esql:get-xml column=test root=ns:root/ Results in completely empty output, without even an error. -- How can I solve it? Regards, Marcin Okraszewski

i18n problem - doesn't react for directory changes.

2003-10-29 Thread Marcin Okraszewski
Hi, When I change content of i18n catalogue, the page doesn't react for this unless I reload webapp. Is there any way to avoid this or to reload i18n buffers without reloading webapp? Regards, Marcin Okraszewski