You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Dave <ja...@yahoo.com> on 2007/04/23 11:07:40 UTC
latest build: resource src/dom/__package__.js not found
I downloaded the latest nightly build sandbox jar, and tried to use <s:pprPanelGroup>,
<h:form id="pprForm">
<t:selectOneMenu id="selectOne" value="#{testBean.selectOne}"
onchange="submit(this);"
valueChangeListener="#{testBean.selectOneChanged}">
<f:selectItems value="#{testBean.selectItems}"/>
</t:selectOneMenu>
<s:pprPanelGroup id="ppr"
partialTriggers="selectOne">
<h:outputText value="#{testBean.value}"/>
</s:pprPanelGroup>
</h:form>
but I got the following error:
server side Jboss console:
--------------------------------------
14:56:33,094 ERROR [MyFacesResourceLoader] Unable to find resource src/dom/__package__.js for component dojo.DojoResourceLoader. Check that this file is available in the classpath in sub-directory /resource of the package-directory.
client
---------
Error: oamSetHiddenInput is not defined
Source File: http://localhost/faces/myFacesExtensionResource/org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader/11773150/ppr.PPRPanelGroup/ppr.js
Line: 196
oamSetHiddenInput(formName,formName +':'+'_idcl',triggerElement.id);
Did I miss anything? Thanks for help!
Dave
---------------------------------
Ahhh...imagining that irresistible "new car" smell?
Check outnew cars at Yahoo! Autos.
Re: latest build: resource src/dom/__package__.js not found
Posted by Ernst Fastl <er...@gmail.com>.
hi dave!
This is a known issue which will hopefully be fixed soon. In order
to have the oamSubmit-function available you need to have at least one of
the components on the page which renders it.
As a workaround you could place a dummy commandLink
on your page like:
<t:commandLink />
that should solve your problem for now.
the "Unable to find resource " is a dojo problem and can savely be ignored
regards
Ernst
On 4/23/07, Dave <ja...@yahoo.com> wrote:
> I downloaded the latest nightly build sandbox jar, and tried to use
> <s:pprPanelGroup>,
>
> <h:form id="pprForm">
>
>
> <t:selectOneMenu id="selectOne" value="#{testBean.selectOne}"
> onchange="submit(this);"
> valueChangeListener="#{testBean.selectOneChanged}">
> <f:selectItems value="#{testBean.selectItems}"/>
> </t:selectOneMenu>
>
>
> <s:pprPanelGroup id="ppr"
> partialTriggers="selectOne">
> <h:outputText value="#{testBean.value}"/>
> </s:pprPanelGroup>
>
>
> </h:form>
>
> but I got the following error:
>
> server side Jboss console:
> --------------------------------------
> 14:56:33,094 ERROR [MyFacesResourceLoader] Unable to find resource
> src/dom/__package__.js for component dojo.DojoResourceLoader. Check that
> this file is available in the classpath in sub-directory /resource of the
> package-directory.
>
> client
> ---------
> Error: oamSetHiddenInput is not defined
> Source File:
> http://localhost/faces/myFacesExtensionResource/org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader/11773150/ppr.PPRPanelGroup/ppr.js
> Line: 196
>
> oamSetHiddenInput(formName,formName
> +':'+'_idcl',triggerElement.id);
>
> Did I miss anything? Thanks for help!
>
> Dave
>
> ________________________________
> Ahhh...imagining that irresistible "new car" smell?
> Check out new cars at Yahoo! Autos.
>
>