Re: Show Formatted message

2007-06-14 Thread Joerg Heinicke
On 14.06.2007 17:57, njko wrote: I'm newbie in cocoon Welcome :) I have an Action that return a message. I want show this message a the end of execution in a web page. If I want show this message = "aaa... \n bbb... \n ccc..." like this aaa... bbb... ccc... what I have to do ? If

DB access without Tomcat

2007-06-14 Thread luca piccioni
Hi to all, I would like to know if it is possible to access into a DB if I have not installed Tomcat and with Cocoon called as a command-line application. Thanks, Mauro - - L'email della prossima generazione? Puoi averla co

Show Formatted message

2007-06-14 Thread njko
Hi I'm newbie in cocoon I have an Action that return a message. I want show this message a the end of execution in a web page. I find this solution Action public Map act(Redirector aRedirector, SourceResolver aResolver, Map aObjectModel, String aSource, Parameters aParameters) throws E

Re: Initializing a multivaluefield?

2007-06-14 Thread Derek Hohls
Thomas Thanks - that works perfectly! Derek >>> Thomas Markus <[EMAIL PROTECTED]> 2007/06/14 12:33 PM >>> hi , try model.myMultivalueField = [key1, key2 ,key3]; tm Derek Hohls schrieb: > Hi > > I am struggling to initialize the selected values for a > multivaluefield. > > In the flow

Re: AW: Initializing a multivaluefield?

2007-06-14 Thread Thomas Markus
:) I confounded this with the widget.value Franziska Witzani schrieb: For what reason do you want to change the data model? Before or after showing the page? If after: As far as I know the model is just a js-copy of the form-object's values. So the member "myMultivalueField" is not initialize

AW: Initializing a multivaluefield?

2007-06-14 Thread Franziska Witzani
> -Ursprüngliche Nachricht- > Von: Franziska Witzani [mailto:[EMAIL PROTECTED] > Gesendet: Donnerstag, 14. Juni 2007 13:11 > An: users@cocoon.apache.org > Betreff: AW: Initializing a multivaluefield? > > For what reason do you want to change the data model? > Before or after showing the

AW: Initializing a multivaluefield?

2007-06-14 Thread Franziska Witzani
For what reason do you want to change the data model? Before or after showing the page? If after: As far as I know the model is just a js-copy of the form-object's values. So the member "myMultivalueField" is not initialized. You could do it like: model.myMultivalueField = new Object(); model.my

Re: Initializing a multivaluefield?

2007-06-14 Thread Thomas Markus
hi , try model.myMultivalueField = [key1, key2 ,key3]; tm Derek Hohls schrieb: Hi I am struggling to initialize the selected values for a multivaluefield. In the flowscript I have the usual: var model = myForm.getModel() and for a simple text field I have something like: model.myText

Initializing a multivaluefield?

2007-06-14 Thread Derek Hohls
Hi I am struggling to initialize the selected values for a multivaluefield. In the flowscript I have the usual: var model = myForm.getModel() and for a simple text field I have something like: model.myTextField = "foobar"; but when I try and set an array of values for the initial multival