hey guys,
quick questions... how do i disable the HTMLarea widget? it appears that
using the attribute state=disabled within fd:field does not work
Thanks
only, so the state won't changed.
try to disable the ajax.
johnson
Rashel Shehata ??:
hey guys,
quick questions... how do i disable the HTMLarea widget? it appears
that using the attribute state=disabled within fd:field does not work
Thanks
Hi,
Im having a problem setting the state of a certain child of a repeater .
I have a simple repeater defined as:
fd:repeater id=selection
fd:widgets
fd:field id=response required=true state=disabled
fd:labelResponse Label/fd:label
fd:datatype base=string/
Hi,
as part of a form I'm using a HTML area widget and saving the form into a
java bean.
I'm converting the HTML area data into xml using:
bean.setData(new Packages.org.apache.cocoon.xml.StringXMLizable(
model.HTMLdata));
the bean is been saved how i would like it to, but reloading the bean is
Hi,
How do i get access to the loop index variable in a jx:forEach Loop?
I have
jx:forEach var=item items=${cocoon.session.getAttribute('array')}
...
/jx:forEach
I want teh index of the array that is accesed at each loop
many Thanks
but its not a repeater widget...
i tried it and i dont get any value
On 5/2/07, Kamal Bhatt [EMAIL PROTECTED] wrote:
Rashel Shehata wrote:
Hi,
How do i get access to the loop index variable in a jx:forEach Loop?
I have
jx:forEach var=item items=${cocoon.session.getAttribute('array
Oosteinde 11
1017WT Amsterdam
The Netherlands
Tel +31 (0)20 5224466
-
[EMAIL PROTECTED] / http://www.hippo.nl
--
-Original Message-
*From:* Rashel Shehata [mailto:[EMAIL
Hi,
I'm trying to use the jx transformer to generate both the form template and
model xml..
When I take the serialized xml output from my generator, save it as a
file(from the browser) and use that file as input to the default generator
to start a pipeline, the form displays probably...
However
really get what's happening
Thanks a million
On 4/19/07, Rashel Shehata [EMAIL PROTECTED] wrote:
Hi,
Thank you all for all the help...
I am trying the suggestion found in
https://issues.apache.org/jira/browse/COCOON-1418
so many thanks for the hint
Regards
On 4/18/07, Jason Johnston
Hi Florian
I dynamically create the form definition and template by calling 2 seperate
flowscript functions:
function create_form_def(){
cocoon.sendPage(form_model-pipeline.xsp ,
{questions: questionRegistry.getAllQuestions()});
}
function create_form_template(){
an example/snippet of one of these .xml files ?
Bart
2007/4/18, Rashel Shehata [EMAIL PROTECTED]:
Hey,
I'm trying to generate cocoon forms dynamically. atm I create the cForm
model xml dynamically using jx generator; this is what i have:
in my flowscript:
cocoon.sendPage(form_model
Hi Bart
Thanks for your help, but i have tried that path in the morning and
unfortunally was unsuccessful...
when i call
var form = new Form(form_model-pipeline.xsp ,
{questions: questionRegistry.getAllQuestions()});
from my flowscipt, cocoon actually looks for the file form_model-
Hi,
form_model-pipeline.xsp is not a file...
what I was thinking of doing is using the output of a pipeline entry as an
input for the form constructor.
so a call from flowscript:
cocoon.sendPage(form_model-pipeline.xsp ,
{questions: questionRegistry.getAllQuestions()});
will be matched
regards,
Philippe
Rashel Shehata a écrit :
Hi Bart,
Ok so to create the form definition xml the jx generator uses the
following xml file:
I pass it an array object (questionRegistry.getAllQuestions()) that
contains a list of all the questions to be created in the form
?xml version=1.0
Hey,
I'm trying to generate cocoon forms dynamically. atm I create the cForm
model xml dynamically using jx generator; this is what i have:
in my flowscript:
cocoon.sendPage(form_model-pipeline.xsp ,
{questions: questionRegistry.getAllQuestions()});
and in my pipeline:
map:match
Im new to using cocoon and so far so good, but i did run into a few errors
regarding bean bindings and cforms.
cocoon version #: Cocoon 2.1.10
servlet engine: jetty
the problem: following the bindings sample(samples blocksforms
form2bean.flow) i created my own framework
in the sitemap:
Hey everyone,
im having problems binding my repeater widget so i attempted another method
to dynamically create repeater rows and fill it with values.
in the model file, i defined a repeater widget to be:
fd:repeater id=availability orderable=true
fd:widgets
fd:output id=id
17 matches
Mail list logo