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
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
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
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
:)
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
> -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
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
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
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