Thorsten Scherler wrote:
El vie, 16-09-2005 a las 13:48 +0000, [EMAIL PROTECTED] escribió:
Author: sylvain
Date: Fri Sep 16 06:46:22 2005
New Revision: 289538
URL: http://svn.apache.org/viewcvs?rev=289538&view=rev
Log:
Merge GSoC libraries and 2.1 branches
Hi sylvain,
(this time copyn' paste) ;-)
Thanks for checkin in the form stuff. :) I just played around a wee bit
but the tree example are broken in 2.1.x.
I get:
Unknown kind of widget 'tree' at
file:/home/thorsten/apache/cocoon-2.1.x/build/webapp/samples/blocks/forms/forms/sampletree_model.xml:30:44
context://samples/blocks/forms/forms/sampletree_model.xml - 30:44
Calling function do_sampleTree
context://samples/blocks/forms/forms/sampletree_model.xml - 30:44
[CascadingException]
resource://org/apache/cocoon/forms/flow/javascript/Form.js - 47:-1
...
org.apache.avalon.framework.service.ServiceException: Non-existing
component for this hint (Key='tree')
at
org.apache.cocoon.forms.util.SimpleServiceSelector.select(SimpleServiceSelector.java:98)
at
org.apache.cocoon.forms.formmodel.AbstractWidgetDefinitionBuilder.buildAnotherWidgetDefinition(AbstractWidgetDefinitionBuilder.java:145)
at
org.apache.cocoon.forms.formmodel.AbstractContainerDefinitionBuilder.setupContainer(AbstractContainerDefinitionBuilder.java:60)
Can it be that there is still something missing?
Yep: I forgot to add the declaration for this new widget in the 2.1
configuration files. Should be fixed now.
Sylvain
--
Sylvain Wallez Anyware Technologies
http://people.apache.org/~sylvain http://www.anyware-tech.com
Apache Software Foundation Member Research & Technology Director