[Hippo-cms7-user] hippo:resource cms 7.5 (2.17.02)

Jeroen Reijn j.reijn at onehippo.com
Tue Dec 14 16:51:51 CET 2010


It looks to me this comes from a different field in your template and
is no so much related to the upload field.

On Tue, Dec 14, 2010 at 4:43 PM, Kenan Salic <k.salic at onehippo.com> wrote:
> Hi,
>
> I'm setting up a project with 2.17.02 and trying to add a resource field.
> When adding it with the document editor i get the following error:
>
>  ERROR
> [org.hippoecm.frontend.plugins.yui.header.YuiHeaderCache$Module.<init>():241]
> Unable to find source file for module progress
> bar in namespace org.hippoecm.frontend.plugins.xinha.XinhaNamespace at 189c979
>  ERROR [org.apache.wicket.RequestCycle.logRuntimeException():1529] Unable to
> find source file for module progressbar in namespace o
> rg.hippoecm.frontend.plugins.xinha.XinhaNamespace at 189c979
> java.lang.IllegalArgumentException: Unable to find source file for module
> progressbar in namespace org.hippoecm.frontend.plugins.xinha.XinhaNamespace@
> 189c979
>
> when adding it manually, i get the same error while trying to add a new
> document of this type document:
>
> cnd:
>
> [foo:bar] > foo:basedocument orderable
> ...
> + foo:resource (hippo:resource) multiple
>
> nodetype:
>
> <sv:node sv:name="resource">
>         <sv:property sv:name="jcr:primaryType" sv:type="Name">
>           <sv:value>hipposysedit:field</sv:value>
>         </sv:property>
>         <sv:property sv:name="hipposysedit:mandatory" sv:type="Boolean">
>           <sv:value>false</sv:value>
>         </sv:property>
>         <sv:property sv:name="hipposysedit:multiple" sv:type="Boolean">
>           <sv:value>false</sv:value>
>         </sv:property>
>         <sv:property sv:name="hipposysedit:ordered" sv:type="Boolean">
>           <sv:value>false</sv:value>
>         </sv:property>
>         <sv:property sv:name="hipposysedit:path" sv:type="String">
>           <sv:value>foo:resource</sv:value>
>         </sv:property>
>         <sv:property sv:name="hipposysedit:primary" sv:type="Boolean">
>           <sv:value>false</sv:value>
>         </sv:property>
>         <sv:property sv:name="hipposysedit:type" sv:type="String">
>           <sv:value>hippo:resource</sv:value>
>         </sv:property>
>       </sv:node>
>
> prototype (with or without)
>
> <sv:node sv:name="foo:resource">
>         <sv:property sv:name="jcr:primaryType" sv:type="Name">
>           <sv:value>hippo:resource</sv:value>
>         </sv:property>
>         <sv:property sv:name="jcr:data" sv:type="Binary">
>           <sv:value>......</sv:value>
>         </sv:property>
>         <sv:property sv:name="jcr:encoding" sv:type="String">
>           <sv:value>UTF-8</sv:value>
>         </sv:property>
>         <sv:property sv:name="jcr:lastModified" sv:type="Date">
>           <sv:value>2008-03-26T12:03:00.000+01:00</sv:value>
>         </sv:property>
>         <sv:property sv:name="jcr:mimeType" sv:type="String">
>           <sv:value>image/jpeg</sv:value>
>         </sv:property>
>       </sv:node>
>
> template:
>
>  <sv:node sv:name="resource">
>         <sv:property sv:name="jcr:primaryType" sv:type="Name">
>           <sv:value>frontend:plugin</sv:value>
>         </sv:property>
>         <sv:property sv:name="caption" sv:type="String">
>           <sv:value>resource</sv:value>
>         </sv:property>
>         <sv:property sv:name="engine" sv:type="String">
>           <sv:value>${engine}</sv:value>
>         </sv:property>
>         <sv:property sv:name="field" sv:type="String">
>           <sv:value>resource</sv:value>
>         </sv:property>
>         <sv:property sv:name="mode" sv:type="String">
>           <sv:value>${mode}</sv:value>
>         </sv:property>
>         <sv:property sv:name="model.compareTo" sv:type="String">
>           <sv:value>${model.compareTo}</sv:value>
>         </sv:property>
>         <sv:property sv:name="plugin.class" sv:type="String">
>
> <sv:value>org.hippoecm.frontend.editor.plugins.field.NodeFieldPlugin</sv:value>
>         </sv:property>
>         <sv:property sv:name="validator.id" sv:type="String">
>           <sv:value>${validator.id}</sv:value>
>         </sv:property>
>         <sv:property sv:name="wicket.id" sv:type="String">
>           <sv:value>${cluster.id}.field</sv:value>
>         </sv:property>
>         <sv:property sv:name="wicket.model" sv:type="String">
>           <sv:value>${wicket.model}</sv:value>
>         </sv:property>
>         <sv:node sv:name="cluster.options">
>           <sv:property sv:name="jcr:primaryType" sv:type="Name">
>             <sv:value>frontend:pluginconfig</sv:value>
>           </sv:property>
>         </sv:node>
>       </sv:node>
>
>
> anybody has a idea what i'm doing wrong. It seems it wants to instantiate a
> class which isn't there (progressbar??)
>
>
>
>
>
>
> _______________________________________________
> Hippo-cms7-user mailing list and forums
> http://www.onehippo.org/cms7/support/forums.html
>



-- 
Hippo
----------------------------------------------------------------------------------------------
Europe  •  Amsterdam  Oosteinde 11  •  1017 WT Amsterdam  •  +31 (0)20 522 4466
USA  • 755 Baywood Drive Second Floor  •  Petaluma CA. 94954
•  +1 877 414-4776 (toll free)
Canada    •   Montréal  5369 Boulevard St-Laurent #430 •  Montréal QC
H2T 1S5  •  +1 (514) 316 8966
----------------------------------------------------------------------------------------------
www.onehippo.com  •  www.onehippo.org  •  info at onehippo.com
----------------------------------------------------------------------------------------------



More information about the Hippo-cms7-user mailing list