Re: very basic JXTemplate question

2004-05-14 Thread Derek Hohls
Bear in the mind the use you making of it: JXTemplate*Generator* (vs Transformer) - my basic conceptual understanding of this type of approach is: * generator - data structure only (XML) * (final transformer) - layout, say in HTML (with DIV's) with styling and presentation in CSS Obviously

? Best practice: Questionnair ?

2004-05-14 Thread Nils
Hello specialists! I'm in charge of setting up a questinnair. I would like to do it based on Cocoon and the Data should be saved in a file in XML-Format. If possible I'd like to arrange the questions on multiple pages. It'll be about 30 questions. What would be the simpliest and quickest way to

Re: Cocoon CLI Command Line Interface - Basic Question

2004-05-14 Thread Simon Mieth
On Thu, 13 May 2004, David Swearingen wrote: I'm trying to get Cocoon CLI to work. I've scoured all the documents on this, but can't figure out how cli knows where to find my sitemap. I have cocoon up and running just fine under Tomcat as a web application. What I need is a very basic

Cocoon Books

2004-05-14 Thread Robert Clarke
Hi I was wandering if anyone was working on a Cocoon Book that will deal with the vast range of new features it has aquired over it's 2.1 release. Whilst I am capable of individually understanding Cforms, Flow and JXTemplates the problem seems to be knowing exactly how to design and structure

Re: Cocoon Books

2004-05-14 Thread Thorsten Scherler
Robert Clarke wrote: Hi I was wandering if anyone was working on a Cocoon Book that will deal with the vast range of new features it has aquired over it's 2.1 release. Whilst I am capable of individually understanding Cforms, Flow and JXTemplates the problem seems to be knowing exactly how to

Re: Cocoon FOM objects

2004-05-14 Thread Bruno Dumon
On Fri, 2004-05-14 at 07:29, Tony Edwards wrote: Hi Cocooners, I'm a little confused. I'm trying to upload an xml file and process it through the sitemap using Flow. I've hacked the file upload example to suit my needs and I've got the file being uploaded to my 'upload-dir' which I've set

Re: ? Best practice: Questionnair ?

2004-05-14 Thread laurent_rorive
hi ! For formulaire, you have to use Cocoon Forms or Woody. You can imagine to split your questionnaire in multiple pages and let cocoon handle the flow via a Flowscript that will control by example that the user follows step1 step2 step 3 or better step 1 then if answer =A step1.1 else

Re: retrieve user in logout action

2004-05-14 Thread Nacho Jimenez
Flavio Palumbo wrote: Hi Nacho, thank you for the replay, I tried to follow your cues but I didn't solve it. I tried to modify the authentication block samples sitemap as follow : map:pipeline !-- = -- !-- Logout link which invalidates

Re: ? Best practice: Questionnair ?

2004-05-14 Thread Leon Widdershoven
Where cocoon forms = cforms = the new name for woody [EMAIL PROTECTED] wrote: hi ! For formulaire, you have to use Cocoon Forms or Woody. You can imagine to split your questionnaire in multiple pages and let cocoon handle the flow via a Flowscript that will control by example that the user

How to assign Cforms input field's width

2004-05-14 Thread Johnson
Hi! The Cform's input field seems had the same width,how to set them. Best Regards Johnson - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Cocoon Books

2004-05-14 Thread Alex McLintock
Robert Clarke wrote: I was wandering if anyone was working on a Cocoon Book that will deal with the vast range of new features it has aquired over it's 2.1 release. Thorsten Scherler wrote: Strongly agree! Would be nice seeing a book that deals with 2.1 new features! ...and I think it

RE: Cocoon Books

2004-05-14 Thread Matthew Langham
Perhaps the authors of the first Cocoon books could tell us whether they got any new business from writing the books? That might encourage more people to write Cocoon books. I hear the call :-) Ok, first thing to say is that the IT book market is still a mess at the moment (as it has been

Re: How to assign Cforms input field's width

2004-05-14 Thread laurent_rorive
Simply add in your template wt:widget id=field_id wi:styling width=100 /wt:widget or wt:widget id=field_id wi:styling style=width:100px /wt:widget or better wt:widget id=field_id wi:styling class=fieldclass /wt:widget and in a .css : fieldclass { width:100px } Hope it could help

Re: How to assign Cforms input field's width

2004-05-14 Thread Marc Portier
assigning the width is a 'styling' issue, those are covered in the template file try adding fi:styling size=200 / nested in your ft:widget in general: any attributes added to the nested fi:styling element will be copied over to your input field. HTH, -marc= Johnson wrote: Hi! The Cform's

Re: Cocoon Books

2004-05-14 Thread Michael Wolf
Strongly agree! Would be nice seeing a book that deals with 2.1 new features! ...and I think it wouldn't be a waste of time for the author (2 sold books allready ;-)). Make it 3! Michael Wolf - To unsubscribe, e-mail: [EMAIL

Re: Cocoon Books

2004-05-14 Thread Thorsten Scherler
Matthew Langham wrote: [...] This means that some books on a particular subject have fallen by the wayside. Our Cocoon book is an example. Our last information from the publisher was that there are no plans to do a new version - even though we may perhaps want to. That is quite a pitty! It is a

Re: Cocoon Books

2004-05-14 Thread Thorsten Scherler
Matthew Langham wrote: [...] This means that some books on a particular subject have fallen by the wayside. Our Cocoon book is an example. Our last information from the publisher was that there are no plans to do a new version - even though we may perhaps want to. That is a shame! This book

RE: Cocoon Books

2004-05-14 Thread Derek Hohls
Matthew Obviously have been through the whole process you are in the best position to understand this issue. Is there not some room for an intemediate approach - a *series* of articles on key topics published in on-line magazines - reasonably well-researched and edited; which effectively

Re: Conditional replace / reinsert with SourceWritingTransformer

2004-05-14 Thread laurent_rorive
Hi , I think that you can easily do that with a simple XSL Transformer and not a SourceWritingTransformer Generate your XML Pass it to XSL transformer (in your XSL you will do some xsl:if test=b/@flag='true' ... ) Serialize it Hope it could help Laurent Stephanie Zohner [EMAIL

Nested anchor variables...

2004-05-14 Thread Nacho Jimenez
A couple of days ago, glancing through the list's messages, I came to one talking about a new feature to allow nesting anchor variables to make things like {request-param:{1}} possible in the sitemap. I cannot find the message anymore.. Is that possible now? on which cocoon version?

String replacement within the sitemap?

2004-05-14 Thread Philipp Burkert
Hej folks, is there a simple way to do string replacement within the sitemap? I have to modify a string I fetch from the URL and have to replace all occurrences of a specific character. I dream of something like replace({1},'_',' ') Thankx a lot: PHILIPP BURKERT [EMAIL PROTECTED]

Re: cocoon 2.1.5 cannot find classes located outside cocoon dir. struct.

2004-05-14 Thread Peter Lerche
Hi again, OK I have digged deeper into the problem. I have a 3part. generator declared in my sitemap.xmap file. It is not an option for me to have this generators jar located in WEB-INF/lib or in the classes dir. This generator jar MUST be located outside the Cocoon dir structure. How do I do

Re: String replacement within the sitemap?

2004-05-14 Thread Jorg Heymans
hmmm if you have map:match pattern=*_* you could ofcourse subsequently do map:transform type=blah map:parameter name=url value={1} {2}/ /map:transform but this only works if there is a known fixed amount of underscores in your url Don't think there is straightforward sitemap level

Internationalisation for Woody forms' labels?

2004-05-14 Thread Derek Hohls
Hi I'd appreciate some help setting up a form definition such that the labels that appear on the form are translated based on context. I *assume* its something like: In the Form: wd:labeli18n:text i18n:catalogue=forms i18n:key=lbl_nameName/i18n:text/wd:label Catalog File (say: FormLabels.xml)

RE: Internationalisation for Woody forms' labels?

2004-05-14 Thread robby . pelssers
Mind you that it is Wat is jouw naam? If ya need help with Dutch... no problem... -Original Message- From: Derek Hohls [mailto:[EMAIL PROTECTED] Sent: 14mm2004 15:26 To: [EMAIL PROTECTED] Subject: Internationalisation for Woody forms' labels? Hi I'd appreciate some help setting up a

Re: Internationalisation for Woody forms' labels?

2004-05-14 Thread Marc Portier
[EMAIL PROTECTED] wrote: Mind you that it is Wat is jouw naam? If ya need help with Dutch... no problem... uhuh, better brush up your south-african then :-) (looking at derek's mail address...) Derek, at first glance I think you are missing a locale parameter to the i18n transformer...

Re: Cocoon Books

2004-05-14 Thread Christian Rosenberger
For all german speaking folk on the list: http://www.galileocomputing.de/katalog/buecher/titel/gp/titelID-672 Published two weeks ago. Nearly 900 pages. You can read hours/days/months in it. And then press your flowers with it ;-) Regards, Christian -Original Message- From: Derek

Re: Cocoon CLI Command Line Interface - Basic Question

2004-05-14 Thread Upayavira
David Swearingen wrote: I'm trying to get Cocoon CLI to work. I've scoured all the documents on this, but can't figure out how cli knows where to find my sitemap. I have cocoon up and running just fine under Tomcat as a web application. What I need is a very basic command line -- which

RE: Cocoon Books

2004-05-14 Thread Rick Wayne
I'm disappointed to hear that the tech-book market still offers so little buck for all the bang you have to put into it. At one time I'd thought about writing a book on Cocoon, mostly because I thought one was needed, but while I dithered, others beat me to it -- thankfully! (And a good job you

RE: Cocoon Books

2004-05-14 Thread Ralph Goers
You meant to say we tech-heads ain't exactly famous, right? -Original Message- From: Rick Wayne [mailto:[EMAIL PROTECTED] Sent: Friday, May 14, 2004 8:11 AM To: [EMAIL PROTECTED] Subject: RE: Cocoon Books Now, this next bit will sound patronizing, so please forgive me. But we

Cocoon Forms v3 onClick

2004-05-14 Thread Markx . Johnson
Hi all, I have a FlowScript that uses Cocoon Forms. I sets the onClick function of an Action widget like so: var wid = form.getWidget(); wid.submit. { form.save(occ); occ.store(occ.getMetaData()); } I recently switched from Cocoon Forms v2 to v3 to take advantage of the multiple

Re: Internationalisation for Woody forms' labels?

2004-05-14 Thread Bruno Dumon
On Fri, 2004-05-14 at 15:26, Derek Hohls wrote: Hi I'd appreciate some help setting up a form definition such that the labels that appear on the form are translated based on context. I *assume* its something like: In the Form: wd:labeli18n:text i18n:catalogue=forms

Re: Is it posibile to send parameters into form definition.

2004-05-14 Thread Bruno Dumon
On Fri, 2004-05-14 at 17:51, Bartosz Zgodzinski wrote: This is mine form definition file: fd:form xmlns:fd=http://apache.org/cocoon/forms/1.0#definition; xmlns:jx=http://apache.org/cocoon/templates/jx/1.0; fd:repeater id=name initial-size={$my_var}

Linotype sample Block: Hugo Marcelino

2004-05-14 Thread Hugo Marcelino
Hi users of cocoon: My name is Hugo Marcelino, and i have the following problem. I was trying to see how it works the lynotype sample block, but after i authenticate and click on the link to createnew , i get a blank page im my browser and nothing happens. I had a lookat the mailling

Re: Cocoon Forms v3 onClick

2004-05-14 Thread Bruno Dumon
On Fri, 2004-05-14 at 18:36, [EMAIL PROTECTED] wrote: Hi all, I have a FlowScript that uses Cocoon Forms. I sets the onClick function of an Action widget like so: var wid = form.getWidget(); wid.submit.onClick = function() { form.save(occ); occ.store(occ.getMetaData());

cocoon 2 offline page compile

2004-05-14 Thread Nanda
Hello! I have few questions on the functioning of cocoon 2.1.2 (or cocoon 2x in general) and i thought i could seek some help from experts. Offline compiling and class loading in cocoon 2. Previously, I was using couple of cocoon 1 instances

cocoon 2 offline page compile

2004-05-14 Thread Nanda
Hello! I have few questions on the functioning of cocoon 2.1.2 (or cocoon 2x in general) and i thought i could seek some help from experts. Offline compiling and class loading in cocoon 2. Previously, I was using couple of cocoon 1 instances

Re: Cocoon Forms v3 onClick

2004-05-14 Thread Markx . Johnson
Thanks Bruno, That did the trick. Mark Bruno Dumon [EMAIL PROTECTED] 05/14/2004 01:48 PM Please respond to users To:[EMAIL PROTECTED] cc: Subject:Re: Cocoon Forms v3 onClick On Fri, 2004-05-14 at 18:36, [EMAIL PROTECTED] wrote: Hi all, I have a

RE: Cocoon Books

2004-05-14 Thread David Crossley
Derek Hohls wrote: Matthew Obviously have been through the whole process you are in the best position to understand this issue. Is there not some room for an intemediate approach - a *series* of articles on key topics published in on-line magazines - reasonably well-researched and