Filip Defoort wrote:
> Hi,
>
> I'm working with the cocoon portal, and I'm starting cocoon via a custom
> classloader
> ( in cocoon.xconf ) to make a number of
> dynamically
> assembled classes and a back-end service available to cocoon. So far so
> good,
> all works. My app starts; cocoon sta
Hi all,
just wondering if the fieldwidget (date) can be visualised so the user can
select a year and weeknumber. I know I could let him pick a random day and
calculate the weeknumber myself but that is not very intuitive for the
user.
This is because I have a repeater where the user can fill in
Ok, let me refrase that...
Most of the forms samples contained in Cocoon are about:
1. Load something in the form from a Bean or XML
2. Display the form with the content loaded
3. Edit the form (add or remove rows)
4. Submit the form and display a success page
What I trying to achieve is:
1. Disp
Title: Re: Ajax forms can't handle unicode?
The field contents are being encoded the same when I use Ajax and when I don't, but now that I look at it there is a problem with the Content-Type http header. When I call an Ajax form, I get a correctly encoded html page with "Content-Type: text/html
Toby,
thanks for the samples and for the link!!!
On 8/31/06, Toby <[EMAIL PROTECTED]> wrote:
Omar Adobati wrote:
> So, what's the way I should use?
This is an array in JavaScript:
var a1 = new Array()// new empty array
var a2 = [1,2,3]// new initialized array
Omar Adobati wrote:
> So, what's the way I should use?
This is an array in JavaScript:
var a1 = new Array()// new empty array
var a2 = [1,2,3]// new initialized array
assert(a2[0] == 1) // member access
a2[3] = 4 // setting or extendi
I'm not so expert, so... what you suggest to use?
I need to pass via cocoon.sendPage("go-there", myvalues-array-or-hash)...
Omar
On 8/31/06, Tony Collen <[EMAIL PROTECTED]> wrote:
It depends. Do you really want an array or hashes, or just a single
hash with separate keys?
Tony
On 8/31/06, Om
It depends. Do you really want an array or hashes, or just a single
hash with separate keys?
Tony
On 8/31/06, Omar Adobati <[EMAIL PROTECTED]> wrote:
Tony,
So, what's the way I should to use?
Omar
On 8/31/06, Tony Collen <[EMAIL PROTECTED]> wrote:
> It looks like you are confusing Arrays wit
Tony,
So, what's the way I should to use?
Omar
On 8/31/06, Tony Collen <[EMAIL PROTECTED]> wrote:
It looks like you are confusing Arrays with Hashes, since you're
creating a new Array but treating it like a hash in your code,
particularly the second line.
Regards,
Tony
On 8/31/06, Omar Ado
Hello all
I would like to read cookies in Java. However, I get a type mismatch or a cast
exception. Here is my code:
import org.apache.cocoon.components.flow.java.AbstractContinuable;
import org.apache.cocoon.components.flow.java.VarMap;
import org.apache.cocoon.forms.flow.java.FormInstance;
imp
It looks like you are confusing Arrays with Hashes, since you're
creating a new Array but treating it like a hash in your code,
particularly the second line.
Regards,
Tony
On 8/31/06, Omar Adobati <[EMAIL PROTECTED]> wrote:
Good Morning,
I'm trying to fill an array with push() but cocoon tel
Good Morning,
I'm trying to fill an array with push() but cocoon tells me that push
is not a function.
this is a snippet of code:
var a = new Array();
a{"prop1" : value1, "prop2" : value 2}
// I execute some code using the data in a
// that will return back one other value
var vale3 = somefuncti
It can happen that the web browser either does not support UTF-8 for
Ajax calls, or that you have not set the Ajax call to accept UTF-8 (In
Firefox, for instance, I have not been able to set the actual encoding
for Ajax calls, although it might be possible) (Note that setting the
actual encoding i
Hi Omar,
i'm not sure if that's possible, but in stead of using the sendmail action you
can also use the sendmail transformer in combination with using the
PipelineUtil class for calling the sendmail pipeline.
(http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/components/flow/util/Pipeline
Rejin,
my idea was to compile a form and then submit it.
If some check are present I'd like to execute some actions (ex.
sendmail Action) ina a kind of parallel execution way... and then
display to the screen the results of all the action when the end their
own job. I want to display each result
> Hi,
>
> your class AmeliSelect extends javax.swing.AbstractAction
> Try extending from org.apache.cocoon.acting.AbstractAction .
Beside this possible solution, you are heading for problems in my opinion. I
strongly advice not to use actions for database persistence. You will end up
with an e
Hi Omar,
what kind of action do you want to call? I do not really see why you would want
to call an action since you have flowscript and the entire java library
available.
Regards,
Reijn
-Original Message-
From: Omar Adobati [mailto:[EMAIL PROTECTED]
Posted At: donderdag 31 augustus 2
Ard Schrijvers wrote:
Hello Alberto,
I need to convert a string (words delimited with commas) in something
that "jx:forEach" can iterates.
I found a nice example in documentation
(http://cocoon.apache.org/2.1/userdocs/flow/jxtemplate.html).
items="${java.util.StringTo
in which way (if possible) I can (or have to) call an action via Flowscript?
I need to fill a form [yes build using CForms] and then call a couple
of action to execute... but I can't find a way for this.
Thanks for answers,
Omar
--
Hi,
your class AmeliSelect extends javax.swing.AbstractAction
Try extending from org.apache.cocoon.acting.AbstractAction .
Maybe this will solve your problem.
Ralph
rachid harradi wrote:
> Hello,
>
> my AmeliSele "class" is:
>
>
> package dbmanager;
>
> import java.awt.Component;
> import j
Hello Alberto,
> I need to convert a string (words delimited with commas) in something
> that "jx:forEach" can iterates.
> I found a nice example in documentation
> (http://cocoon.apache.org/2.1/userdocs/flow/jxtemplate.html).
>
>
>
>
>
> items="${java.util.StringTokenizer
In cocoon CFOMRS examples
-> Binding Samples
-> "Bean Binding - A form for just editing a Java bean"
the binding of booleanfield not work?
at this line I'm setting true the bean
bean.setEnable(java.lang.Boolean.TRUE);
But in the form the checkbox is unchecked
Any Idea?
the funcion i
I need to convert a string (words delimited with commas) in something
that "jx:forEach" can iterates.
I found a nice example in documentation
(http://cocoon.apache.org/2.1/userdocs/flow/jxtemplate.html).
items="${java.util.StringTokenizer(items, delims)}">
letter =
On 8/30/06, Binkley, Peter <[EMAIL PROTECTED]> wrote:
...It appears that turning ajax on
causes the form handling to be done in ISO-8859-1 instead of UTF-8...
Are you also sending your pages with UTF-8 encoding? If not, the
browser might be using another encoding to submit, see [1]. You can
co
24 matches
Mail list logo