hi lachlan,
sorry, you're on the wrong track. action customization is disabled as
you might have read in the config.
simply implement an xpath extension function and register it with the
config (see there for details). you should implement a function
returning a boolean value (indicating validity) and use it in the
constraint model item property of a xf:bind, so it will be used to
determine the validity of all controls bound to that node.
regards,
uli.
ALDRED, Lachlan wrote:
Hi All,
Is there a place to get started with custom validation? I noticed in a
mailing posting from 2004 that Joern had referred to there being some hooks
and handles for extending the built in instance validation offered by Chiba.
http://sourceforge.net/mailarchive/message.php?msg_id=8730629
I cannot seem to find these, either in the cookbook, or the mailing lists.
There is an action tag in config.xml:
<action name="revalidate"
class="org.chiba.xml.xforms.action.RevalidateAction"/>
Is this the hook, or am I missing something?
Kind regards,
Lachlan Aldred
-----------------------------------------------------------------------------------
This e-mail is sent by Suncorp-Metway Limited ABN 66 010 831 722 or one of its related entities "Suncorp".
Suncorp may be contacted at Level 18, 36 Wickham Terrace, Brisbane or on 13 11
55 or at suncorp.com.au.
The content of this e-mail is the view of the sender or stated author and does
not necessarily reflect the view of Suncorp. The content, including
attachments, is a confidential communication between Suncorp and the intended
recipient. If you are not the intended recipient, any use, interference with,
disclosure or copying of this e-mail, including attachments, is unauthorised
and expressly prohibited. If you have received this e-mail in error please
contact the sender immediately and delete the e-mail and any attachments from
your system.
If this e-mail constitutes a commercial message of a type that you no longer
wish to receive please reply to this e-mail by typing Unsubscribe in the
subject line.
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Chiba-developer mailing list
Chiba-developer-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/chiba-developer
--
Ulrich Nicolas Lissé
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play:
http://sourceforge.net/geronimo.php