On 18.04.2004 21:24, Sebastian wrote:
Hi there,

I've following problem. I'm using woody with binding to hibernate.
In my database I've field called NIP (it is polish rate payer
identification number). It has 4 parts separated by '-'. I've written
successfuly validation class for this number and everything works
fine. Now I would like to change the way user can modify this number.
I would like to show 4 edits instead of one and then add '-' between
them, validate NIP and then store it in database. It is exaclty opposite
to wd:aggregatefield which allows to merge several fields into single
edit. My first idea was to create 4 wd:field's but what then? How to
merge them to allow validation on whole string and what is more important
how to merge them to allow binding just to single property?
Any idea?

I'm not sure, but I think this is also matched by aggregatefield. There is a aggregate sample and I think it works in both directions. Otherwise why it is not possible to use 4 simple fields. You only need to concat the 4 values in the binding then.


I hope that it is not another unimplemented feature like multipage
forms. It will always remains a great mystery for me why XForms and JXForms
were deprecated when Woody is not mature enough to be the only form handler
for Cocoon.

Because both were not seen as a good enough base for further development. Deprecation only means no further effort is put in them, this is now put into Cocoon Forms. So IMO you can not attack our decision to deprecate them, but only to remove them immediately.


Joerg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to