You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by Prashant Gaikwad <P....@zensar.com> on 2007/04/05 12:21:35 UTC
RE: tomahawk-sandbox-1.1.6-SNAPSHOT-- DOJO error...Thanks Zdenek
Hi Zdenek,
Thanks for the response. DOJO error is gone. But another problem is my <t:dataTable> in the JSP is not refreshing with the latest updates in corresponding database.
Below is the snippet. Please suggest how the view would be partially grgenreated.
Thanks
Prashant
<t:panelGrid >
<s:pprPanelGroup id="periodicalUpdatedArea" styleClass="general_font_datagrid" periodicalUpdate="1000">
<t:dataTable id="data"
styleClass="scrollerTable,standardTable"
headerClass="standardTable_Header"
footerClass="standardTable_Header"
rowClasses="standardTable_Row1,standardTable_Row2"
columnClasses="standardTable_Column,standardTable_ColumnCentered"
var="student"
preserveDataModel="false"
binding="#{Student.data}"
value="#{Student.dataModel.value}"
rows="#{Student.dataModel.rows}"
rowId="#{student.id}"
sortColumn="#{Student.dataModel.sortColumn}"
sortAscending="#{Student.dataModel.sortAscending}"
preserveSort="true">
<h:column >
<f:facet name="header">
<t:commandSortHeader columnName="studentid" immediate="false" arrow="true" actionListener="#{Student.actionListener}"
onclick="if (!confirm(' Sort by Student Id?')) return false" styleClass="standardTable_SortHeader">
<h:outputText value="#{bundles.Student_id}"/>
</t:commandSortHeader>
</f:facet>
<h:outputText value="#{student.id}"/>
</h:column>
<h:column>
<f:facet name="header">
<t:commandSortHeader columnName="name" immediate="false" arrow="true" actionListener="#{Student.actionListener}"
onclick="if (!confirm(' Sort by Student Name ?')) return false" styleClass="standardTable_SortHeader" >
<h:outputText value="#{bundles.Name}"/>
</t:commandSortHeader>
</f:facet>
<h:outputText value="#{student.name}"/>
</h:column>
<h:column>
<f:facet name="header">
<t:commandSortHeader columnName="grade" immediate="false" arrow="true" actionListener="#{Student.actionListener}"
onclick="if (!confirm(' Sort by Grade ?')) return false" styleClass="standardTable_SortHeader">
<h:outputText value="#{bundles.Grade}"/>
</t:commandSortHeader>
</f:facet>
<h:outputText value="#{student.grade}"/>
</h:column>
<h:column>
<f:facet name="header">
<t:commandSortHeader columnName="topic_news" immediate="false" arrow="true" actionListener="#{Student.actionListener}"
onclick="if (!confirm(' Sort by Topic ?')) return false" styleClass="standardTable_SortHeader">
<h:outputText value="#{bundles.topic}"/>
</t:commandSortHeader>
</f:facet>
<h:outputText value="#{student.topic}"/>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="#{bundles.Priority}"/>
</f:facet>
<h:outputText value="#{student.priority}"/>
</h:column>
<h:column>
<f:facet name="header" >
<h:outputText value="#{bundles.Comment_Can_update_only_your_own_comment}"/>
</f:facet>
<t:inputTextarea cols="50" value="#{student.comments}" ></t:inputTextarea>
<f:verbatim><br></br></f:verbatim>
</h:column>
</t:dataTable>
</s:pprPanelGroup>
</t:panelGrid>
-----Original Message-----
From: Zdeněk Sochor [mailto:zdenek.sochor@ataco.cz]
Sent: Thursday, April 05, 2007 1:50 PM
To: MyFaces Development
Subject: Re: tomahawk-sandbox-1.1.6-SNAPSHOT-- DOJO error...
Hi Prashant,
Dojo is present in Tomahawk CORE 1.1.5 (and snapshot 1.1.6), NOT in 1.1.3.
Download BOTH snapshots - Tomahawk CORE and sandbox to make it work.
Regards,
Zdenek
Prashant Gaikwad napsal(a):
> Dear Developer friends,
>
> Need small help to resolve problem I
> am facing with tomahawk-sandbox-1.1.6-SNAPSHOT.jar.
>
>
>
> I downloaded above jar file from nightly build link. I want to
> implement <s:pprPanelGroup> for asynchronous (AJAX) refresh of
> <t:dataTable>. On implementing sample application from
> http://www.irian.at/myfaces.jsf. I am getting following error message.
> I have no clue what its searching for Dojo related stuff.
>
>
>
> Can anyone point me to latest updated .jar or other identified
> solution to this problem?
>
>
>
> Many Thanks in Advance
>
> Prashant
>
>
>
>
>
>
>
>
>
> Apr 4, 2007 5:46:35 PM com.sun.faces.config.rules.ComponentRule end
>
> WARNING: [ComponentRule]{faces-config/component}
> Merge(javax.faces.ViewRoot)
>
> Apr 4, 2007 5:46:38 PM org.apache.myfaces.config.FacesConfigurator
> feedStandardConfig
>
> INFO: Reading standard config
> org/apache/myfaces/resource/standard-faces-config.xml
>
> Apr 4, 2007 5:46:38 PM org.apache.myfaces.config.FacesConfigurator
> feedClassloaderConfigurations
>
> INFO: Reading config
> jar:file:/D:/apache-tomcat-5.5.20/webapps/Nagase_Todo/WEB-INF/lib/ajax4jsf.jar!/META-INF/faces-config.xml
>
> Apr 4, 2007 5:46:38 PM org.apache.myfaces.config.FacesConfigurator
> feedClassloaderConfigurations
>
> INFO: Reading config
> jar:file:/D:/apache-tomcat-5.5.20/webapps/Nagase_Todo/WEB-INF/lib/tomahawk-1.1.3.jar!/META-INF/faces-config.xml
>
> Apr 4, 2007 5:46:38 PM org.apache.myfaces.config.FacesConfigurator
> feedClassloaderConfigurations
>
> INFO: Reading config
> jar:file:/D:/apache-tomcat-5.5.20/webapps/Nagase_Todo/WEB-INF/lib/tomahawk-sandbox-1.1.6-SNAPSHOT.jar!/META-INF/faces-config.xml
>
> Apr 4, 2007 5:46:38 PM org.apache.myfaces.config.FacesConfigurator
> feedWebAppConfig
>
> INFO: Reading config /WEB-INF/faces-config.xml
>
> Apr 4, 2007 5:46:39 PM org.apache.catalina.core.StandardContext
> listenerStart
>
> SEVERE: Exception sending context initialized event to listener
> instance of class
> *org.apache.myfaces.webapp.StartupServletContextListener*
>
> *java.lang.NoClassDefFoundError:
> org/apache/myfaces/custom/dojo/DojoWidget*
>
> at java.lang.ClassLoader.defineClass0(_Native Method_)
>
> at java.lang.ClassLoader.defineClass(Unknown Source)
>
> at java.security.SecureClassLoader.defineClass(Unknown Source)
>
> at
> org.apache.catalina.loader.WebappClassLoader.findClassInternal(_WebappClassLoader.java:1815_)
>
> at
> org.apache.catalina.loader.WebappClassLoader.findClass(_WebappClassLoader.java:869_)
>
> at
> org.apache.catalina.loader.WebappClassLoader.loadClass(_WebappClassLoader.java:1322_)
>
> at
> org.apache.catalina.loader.WebappClassLoader.loadClass(_WebappClassLoader.java:1201_)
>
> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>
> at java.lang.Class.forName0(_Native Method_)
>
> at java.lang.Class.forName(Unknown Source)
>
> at
> org.apache.myfaces.shared_impl.util.ClassUtils.classForName(_ClassUtils.java:131_)
>
> at
> org.apache.myfaces.shared_impl.util.ClassUtils.simpleClassForName(_ClassUtils.java:157_)
>
> at
> org.apache.myfaces.application.ApplicationImpl.addComponent(_ApplicationImpl.java:269_)
>
> at
> org.apache.myfaces.config.FacesConfigurator.configureApplication(_FacesConfigurator.java:479_)
>
> at
> org.apache.myfaces.config.FacesConfigurator.configure(_FacesConfigurator.java:141_)
>
> at
> org.apache.myfaces.webapp.StartupServletContextListener.initFaces(_StartupServletContextListener.java:69_)
>
> at
> org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(_StartupServletContextListener.java:52_)
>
> at
> org.apache.catalina.core.StandardContext.listenerStart(_StandardContext.java:3763_)
>
> at
> org.apache.catalina.core.StandardContext.start(_StandardContext.java:4211_)
>
> at
> org.apache.catalina.core.ContainerBase.start(_ContainerBase.java:1013_)
>
> at
> org.apache.catalina.core.StandardHost.start(_StandardHost.java:718_)
>
> at
> org.apache.catalina.core.ContainerBase.start(_ContainerBase.java:1013_)
>
> at
> org.apache.catalina.core.StandardEngine.start(_StandardEngine.java:442_)
>
> at
> org.apache.catalina.core.StandardService.start(_StandardService.java:450_)
>
> at
> org.apache.catalina.core.StandardServer.start(_StandardServer.java:709_)
>
> at org.apache.catalina.startup.Catalina.start(_Catalina.java:551_)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(_Native Method_)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>
> at java.lang.reflect.Method.invoke(Unknown Source)
>
> at org.apache.catalina.startup.Bootstrap.start(_Bootstrap.java:294_)
>
> at org.apache.catalina.startup.Bootstrap.main(_Bootstrap.java:432_)
>
> Apr 4, 2007 5:46:39 PM org.springframework.web.context.ContextLoader
> initWebApplicationContext
>
> INFO: Root WebApplicationContext: initialization started
>
>
>
>
>
>
>
>
>
>
>
>
>
RE: tomahawk-sandbox-1.1.6-SNAPSHOT-- DOJO error...Thanks Zdenek
Posted by "Strittmatter, Stephan" <St...@sybit.de>.
jippeee :-)
Happy Easter!
-----Original Message-----
From: Mike Kienenberger [mailto:mkienenb@gmail.com]
Sent: Thursday, April 05, 2007 3:20 PM
To: MyFaces Discussion
Subject: Re: tomahawk-sandbox-1.1.6-SNAPSHOT-- DOJO error...Thanks Zdenek
http://people.apache.org/builds/myfaces/tomahawk-1.1.5/
I think there will probably be one more release, but it will be to
correct some licensing information, not a code change.
On 4/5/07, Alexey Kakunin <ak...@gmail.com> wrote:
> Hm, MyFaces Tomahawk-1.1.6-SNAPSHOT is already available.
> What about Tomahawk-1.1.5 stable? Does anybody has any info?
>
>
> 2007/4/5, Gerald Müllan < bierbrauen@gmail.com>:
> > Is any of the methods called during the ajax-request?
> >
> > cheers,
> >
> > Gerald
> >
> > On 4/5/07, Gerald Müllan <bi...@gmail.com> wrote:
> > > Hi,
> > >
> > > please ask such kind of questions on the user list.
> > >
> > > cheers,
> > >
> > > Gerald
> > >
> > > On 4/5/07, Prashant Gaikwad <P....@zensar.com> wrote:
> > > > Hi Zdenek,
> > > > Thanks for the response. DOJO error is gone. But another
> problem is my <t:dataTable> in the JSP is not refreshing with the latest
> updates in corresponding database.
> > > > Below is the snippet. Please suggest how the view would be partially
> grgenreated.
> > > >
> > > > Thanks
> > > > Prashant
> > > >
> > > >
> > > > <t:panelGrid >
> > > > <s:pprPanelGroup id="periodicalUpdatedArea"
> styleClass="general_font_datagrid" periodicalUpdate="1000">
> > > > <t:dataTable id="data"
> > > >
> styleClass="scrollerTable,standardTable"
> > > >
> headerClass="standardTable_Header"
> > > >
> footerClass="standardTable_Header"
> > > >
> rowClasses="standardTable_Row1,standardTable_Row2"
> > > >
> columnClasses="standardTable_Column,standardTable_ColumnCentered"
> > > > var="student"
> > > >
> preserveDataModel="false"
> > > >
> binding="#{Student.data}"
> > > >
> value="#{Student.dataModel.value}"
> > > > rows="#{
> Student.dataModel.rows}"
> > > >
> rowId="#{student.id}"
> > > >
> sortColumn="#{ Student.dataModel.sortColumn}"
> > > >
> sortAscending="#{Student.dataModel.sortAscending}"
> > > >
> preserveSort="true">
> > > >
> > > > <h:column >
> > > > <f:facet name="header">
> > > > <t:commandSortHeader columnName="studentid"
> immediate="false" arrow="true" actionListener="#{ Student.actionListener}"
> > > > onclick="if (!confirm(' Sort by Student Id?')) return
> false" styleClass="standardTable_SortHeader">
> > > > <h:outputText value="#{
> bundles.Student_id}"/>
> > > > </t:commandSortHeader>
> > > >
> > > > </f:facet>
> > > > <h:outputText value="#{ student.id}"/>
> > > > </h:column>
> > > > <h:column>
> > > > <f:facet name="header">
> > > > <t:commandSortHeader columnName="name" immediate="false"
> arrow="true" actionListener="#{ Student.actionListener}"
> > > > onclick="if (!confirm(' Sort by Student Name ?')) return
> false" styleClass="standardTable_SortHeader" >
> > > > <h:outputText value="#{ bundles.Name}"/>
> > > > </t:commandSortHeader>
> > > > </f:facet>
> > > > <h:outputText value="#{student.name }"/>
> > > > </h:column>
> > > >
> > > > <h:column>
> > > > <f:facet name="header">
> > > > <t:commandSortHeader columnName="grade"
> immediate="false" arrow="true" actionListener="#{ Student.actionListener}"
> > > > onclick="if (!confirm(' Sort by Grade ?')) return false"
> styleClass="standardTable_SortHeader">
> > > > <h:outputText value="#{ bundles.Grade}"/>
> > > > </t:commandSortHeader>
> > > > </f:facet>
> > > > <h:outputText value="#{student.grade}"/>
> > > > </h:column>
> > > >
> > > > <h:column>
> > > > <f:facet name="header">
> > > > <t:commandSortHeader columnName="topic_news"
> immediate="false" arrow="true" actionListener="#{ Student.actionListener}"
> > > > onclick="if (!confirm(' Sort by Topic ?')) return false"
> styleClass="standardTable_SortHeader">
> > > > <h:outputText value="#{
> bundles.topic}"/>
> > > > </t:commandSortHeader>
> > > > </f:facet>
> > > > <h:outputText value="#{student.topic}"/>
> > > > </h:column>
> > > >
> > > >
> > > > <h:column>
> > > > <f:facet name="header">
> > > > <h:outputText value="#{bundles.Priority}"/>
> > > >
> > > > </f:facet>
> > > > <h:outputText
> value="#{student.priority}"/>
> > > > </h:column>
> > > >
> > > >
> > > > <h:column>
> > > > <f:facet name="header" >
> > > > <h:outputText
> value="#{bundles.Comment_Can_update_only_your_own_comment}"/>
> > > > </f:facet>
> > > > <t:inputTextarea cols="50"
> value="#{student.comments}" ></t:inputTextarea>
> > > >
> <f:verbatim><br></br></f:verbatim>
> > > >
> > > > </h:column>
> > > >
> > > > </t:dataTable>
> > > > </s:pprPanelGroup>
> > > >
> > > > </t:panelGrid>
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > -----Original Message-----
> > > > From: Zdeněk Sochor [mailto:zdenek.sochor@ataco.cz]
> > > > Sent: Thursday, April 05, 2007 1:50 PM
> > > > To: MyFaces Development
> > > > Subject: Re: tomahawk-sandbox-1.1.6-SNAPSHOT-- DOJO
> error...
> > > >
> > > > Hi Prashant,
> > > >
> > > > Dojo is present in Tomahawk CORE 1.1.5 (and snapshot 1.1.6), NOT in
> 1.1.3.
> > > >
> > > > Download BOTH snapshots - Tomahawk CORE and sandbox to make it work.
> > > >
> > > > Regards,
> > > > Zdenek
> > > >
> > > > Prashant Gaikwad napsal(a):
> > > >
> > > > > Dear Developer friends,
> > > > >
> > > > > Need small help to
> resolve problem I
> > > > > am facing with tomahawk-sandbox-1.1.6-SNAPSHOT.jar
> .
> > > > >
> > > > >
> > > > >
> > > > > I downloaded above jar file from nightly build link. I want to
> > > > > implement <s:pprPanelGroup> for asynchronous (AJAX) refresh of
> > > > > <t:dataTable>. On implementing sample application from
> > > > > http://www.irian.at/myfaces.jsf. I am getting following error
> message.
> > > > > I have no clue what its searching for Dojo related stuff.
> > > > >
> > > > >
> > > > >
> > > > > Can anyone point me to latest updated .jar or other identified
> > > > > solution to this problem?
> > > > >
> > > > >
> > > > >
> > > > > Many Thanks in Advance
> > > > >
> > > > > Prashant
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > Apr 4, 2007 5:46:35 PM
> com.sun.faces.config.rules.ComponentRule end
> > > > >
> > > > > WARNING: [ComponentRule]{faces-config/component}
> > > > > Merge(javax.faces.ViewRoot )
> > > > >
> > > > > Apr 4, 2007 5:46:38 PM
> org.apache.myfaces.config.FacesConfigurator
> > > > > feedStandardConfig
> > > > >
> > > > > INFO: Reading standard config
> > > > > org/apache/myfaces/resource/standard-
> faces-config.xml
> > > > >
> > > > > Apr 4, 2007 5:46:38 PM
> org.apache.myfaces.config.FacesConfigurator
> > > > > feedClassloaderConfigurations
> > > > >
> > > > > INFO: Reading config
> > > > >
> jar:file:/D:/apache-tomcat-5.5.20/webapps/Nagase_Todo/WEB-INF/lib/ajax4jsf.jar!/META-INF/faces-config.xml
> > > > >
> > > > > Apr 4, 2007 5:46:38 PM
> org.apache.myfaces.config.FacesConfigurator
> > > > > feedClassloaderConfigurations
> > > > >
> > > > > INFO: Reading config
> > > > >
> jar:file:/D:/apache-tomcat-5.5.20/webapps/Nagase_Todo/WEB-INF/lib/tomahawk-1.1.3.jar!/META-INF/faces-config.xml
> > > > >
> > > > > Apr 4, 2007 5:46:38 PM
> org.apache.myfaces.config.FacesConfigurator
> > > > > feedClassloaderConfigurations
> > > > >
> > > > > INFO: Reading config
> > > > > jar:file:/D:/apache-
> tomcat-5.5.20/webapps/Nagase_Todo/WEB-INF/lib/tomahawk-sandbox-1.1.6-SNAPSHOT.jar!/META-INF/faces-config.xml
> > > > >
> > > > > Apr 4, 2007 5:46:38 PM
> org.apache.myfaces.config.FacesConfigurator
> > > > > feedWebAppConfig
> > > > >
> > > > > INFO: Reading config /WEB-INF/faces-config.xml
> > > > >
> > > > > Apr 4, 2007 5:46:39 PM
> org.apache.catalina.core.StandardContext
> > > > > listenerStart
> > > > >
> > > > > SEVERE: Exception sending context initialized event to listener
> > > > > instance of class
> > > > >
> *org.apache.myfaces.webapp.StartupServletContextListener*
> > > > >
> > > > > * java.lang.NoClassDefFoundError:
> > > > > org/apache/myfaces/custom/dojo/DojoWidget*
> > > > >
> > > > > at java.lang.ClassLoader.defineClass0(_Native
> Method_)
> > > > >
> > > > > at java.lang.ClassLoader.defineClass(Unknown
> Source)
> > > > >
> > > > > at
> java.security.SecureClassLoader.defineClass(Unknown Source)
> > > > >
> > > > > at
> > > > >
> org.apache.catalina.loader.WebappClassLoader.findClassInternal
> (_WebappClassLoader.java:1815_)
> > > > >
> > > > > at
> > > > >
> org.apache.catalina.loader.WebappClassLoader.findClass(_WebappClassLoader.java:869_)
> > > > >
> > > > > at
> > > > >
> org.apache.catalina.loader.WebappClassLoader.loadClass(_WebappClassLoader.java:1322_)
> > > > >
> > > > > at
> > > > >
> org.apache.catalina.loader.WebappClassLoader.loadClass
> (_WebappClassLoader.java:1201_)
> > > > >
> > > > > at
> java.lang.ClassLoader.loadClassInternal(Unknown Source)
> > > > >
> > > > > at java.lang.Class.forName0(_Native Method_)
> > > > >
> > > > > at java.lang.Class.forName(Unknown Source)
> > > > >
> > > > > at
> > > > >
> org.apache.myfaces.shared_impl.util.ClassUtils.classForName(_ClassUtils.java:131_)
> > > > >
> > > > > at
> > > > >
> org.apache.myfaces.shared_impl.util.ClassUtils.simpleClassForName(_ClassUtils.java:157_)
> > > > >
> > > > > at
> > > > >
> org.apache.myfaces.application.ApplicationImpl.addComponent
> (_ApplicationImpl.java:269_)
> > > > >
> > > > > at
> > > > >
> org.apache.myfaces.config.FacesConfigurator.configureApplication(_FacesConfigurator.java:479_)
> > > > >
> > > > > at
> > > > >
> org.apache.myfaces.config.FacesConfigurator.configure(_FacesConfigurator.java:141_)
> > > > >
> > > > > at
> > > > >
> org.apache.myfaces.webapp.StartupServletContextListener.initFaces
> (_StartupServletContextListener.java:69_)
> > > > >
> > > > > at
> > > > >
> org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(_StartupServletContextListener.java:52_)
> > > > >
> > > > > at
> > > > >
> org.apache.catalina.core.StandardContext.listenerStart(_StandardContext.java:3763_)
> > > > >
> > > > > at
> > > > > org.apache.catalina.core.StandardContext.start
> (_StandardContext.java:4211_)
> > > > >
> > > > > at
> > > > >
> org.apache.catalina.core.ContainerBase.start(_ContainerBase.java:1013_)
> > > > >
> > > > > at
> > > > >
> org.apache.catalina.core.StandardHost.start(_StandardHost.java:718_)
> > > > >
> > > > > at
> > > > >
> org.apache.catalina.core.ContainerBase.start(_ContainerBase.java:1013_)
> > > > >
> > > > > at
> > > > >
> org.apache.catalina.core.StandardEngine.start(_StandardEngine.java:442_)
> > > > >
> > > > > at
> > > > > org.apache.catalina.core.StandardService.start
> (_StandardService.java:450_)
> > > > >
> > > > > at
> > > > >
> org.apache.catalina.core.StandardServer.start(_StandardServer.java:709_)
> > > > >
> > > > > at org.apache.catalina.startup.Catalina.start
> (_Catalina.java:551_)
> > > > >
> > > > > at
> sun.reflect.NativeMethodAccessorImpl.invoke0(_Native
> Method_)
> > > > >
> > > > > at
> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> > > > >
> > > > > at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> Source)
> > > > >
> > > > > at java.lang.reflect.Method.invoke(Unknown Source)
> > > > >
> > > > > at
> org.apache.catalina.startup.Bootstrap.start(_Bootstrap.java:294_)
> > > > >
> > > > > at
> org.apache.catalina.startup.Bootstrap.main(_Bootstrap.java:432_)
> > > > >
> > > > > Apr 4, 2007 5:46:39 PM
> org.springframework.web.context.ContextLoader
> > > > > initWebApplicationContext
> > > > >
> > > > > INFO: Root WebApplicationContext: initialization started
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > >
> > >
> > > --
> > > http://www.irian.at
> > >
> > > Your JSF powerhouse -
> > > JSF Consulting, Development and
> > > Courses in English and German
> > >
> > > Professional Support for Apache MyFaces
> > >
> >
> >
> > --
> > http://www.irian.at
> >
> > Your JSF powerhouse -
> > JSF Consulting, Development and
> > Courses in English and German
> >
> > Professional Support for Apache MyFaces
> >
>
>
>
> --
> With Best Regards,
> Alexey Kakunin, EmDev Limited
>
> Professional Software Development:
> http://www.emdev.ru
Re: tomahawk-sandbox-1.1.6-SNAPSHOT-- DOJO error...Thanks Zdenek
Posted by Mike Kienenberger <mk...@gmail.com>.
http://people.apache.org/builds/myfaces/tomahawk-1.1.5/
I think there will probably be one more release, but it will be to
correct some licensing information, not a code change.
On 4/5/07, Alexey Kakunin <ak...@gmail.com> wrote:
> Hm, MyFaces Tomahawk-1.1.6-SNAPSHOT is already available.
> What about Tomahawk-1.1.5 stable? Does anybody has any info?
>
>
> 2007/4/5, Gerald Müllan < bierbrauen@gmail.com>:
> > Is any of the methods called during the ajax-request?
> >
> > cheers,
> >
> > Gerald
> >
> > On 4/5/07, Gerald Müllan <bi...@gmail.com> wrote:
> > > Hi,
> > >
> > > please ask such kind of questions on the user list.
> > >
> > > cheers,
> > >
> > > Gerald
> > >
> > > On 4/5/07, Prashant Gaikwad <P....@zensar.com> wrote:
> > > > Hi Zdenek,
> > > > Thanks for the response. DOJO error is gone. But another
> problem is my <t:dataTable> in the JSP is not refreshing with the latest
> updates in corresponding database.
> > > > Below is the snippet. Please suggest how the view would be partially
> grgenreated.
> > > >
> > > > Thanks
> > > > Prashant
> > > >
> > > >
> > > > <t:panelGrid >
> > > > <s:pprPanelGroup id="periodicalUpdatedArea"
> styleClass="general_font_datagrid" periodicalUpdate="1000">
> > > > <t:dataTable id="data"
> > > >
> styleClass="scrollerTable,standardTable"
> > > >
> headerClass="standardTable_Header"
> > > >
> footerClass="standardTable_Header"
> > > >
> rowClasses="standardTable_Row1,standardTable_Row2"
> > > >
> columnClasses="standardTable_Column,standardTable_ColumnCentered"
> > > > var="student"
> > > >
> preserveDataModel="false"
> > > >
> binding="#{Student.data}"
> > > >
> value="#{Student.dataModel.value}"
> > > > rows="#{
> Student.dataModel.rows}"
> > > >
> rowId="#{student.id}"
> > > >
> sortColumn="#{ Student.dataModel.sortColumn}"
> > > >
> sortAscending="#{Student.dataModel.sortAscending}"
> > > >
> preserveSort="true">
> > > >
> > > > <h:column >
> > > > <f:facet name="header">
> > > > <t:commandSortHeader columnName="studentid"
> immediate="false" arrow="true" actionListener="#{ Student.actionListener}"
> > > > onclick="if (!confirm(' Sort by Student Id?')) return
> false" styleClass="standardTable_SortHeader">
> > > > <h:outputText value="#{
> bundles.Student_id}"/>
> > > > </t:commandSortHeader>
> > > >
> > > > </f:facet>
> > > > <h:outputText value="#{ student.id}"/>
> > > > </h:column>
> > > > <h:column>
> > > > <f:facet name="header">
> > > > <t:commandSortHeader columnName="name" immediate="false"
> arrow="true" actionListener="#{ Student.actionListener}"
> > > > onclick="if (!confirm(' Sort by Student Name ?')) return
> false" styleClass="standardTable_SortHeader" >
> > > > <h:outputText value="#{ bundles.Name}"/>
> > > > </t:commandSortHeader>
> > > > </f:facet>
> > > > <h:outputText value="#{student.name }"/>
> > > > </h:column>
> > > >
> > > > <h:column>
> > > > <f:facet name="header">
> > > > <t:commandSortHeader columnName="grade"
> immediate="false" arrow="true" actionListener="#{ Student.actionListener}"
> > > > onclick="if (!confirm(' Sort by Grade ?')) return false"
> styleClass="standardTable_SortHeader">
> > > > <h:outputText value="#{ bundles.Grade}"/>
> > > > </t:commandSortHeader>
> > > > </f:facet>
> > > > <h:outputText value="#{student.grade}"/>
> > > > </h:column>
> > > >
> > > > <h:column>
> > > > <f:facet name="header">
> > > > <t:commandSortHeader columnName="topic_news"
> immediate="false" arrow="true" actionListener="#{ Student.actionListener}"
> > > > onclick="if (!confirm(' Sort by Topic ?')) return false"
> styleClass="standardTable_SortHeader">
> > > > <h:outputText value="#{
> bundles.topic}"/>
> > > > </t:commandSortHeader>
> > > > </f:facet>
> > > > <h:outputText value="#{student.topic}"/>
> > > > </h:column>
> > > >
> > > >
> > > > <h:column>
> > > > <f:facet name="header">
> > > > <h:outputText value="#{bundles.Priority}"/>
> > > >
> > > > </f:facet>
> > > > <h:outputText
> value="#{student.priority}"/>
> > > > </h:column>
> > > >
> > > >
> > > > <h:column>
> > > > <f:facet name="header" >
> > > > <h:outputText
> value="#{bundles.Comment_Can_update_only_your_own_comment}"/>
> > > > </f:facet>
> > > > <t:inputTextarea cols="50"
> value="#{student.comments}" ></t:inputTextarea>
> > > >
> <f:verbatim><br></br></f:verbatim>
> > > >
> > > > </h:column>
> > > >
> > > > </t:dataTable>
> > > > </s:pprPanelGroup>
> > > >
> > > > </t:panelGrid>
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > -----Original Message-----
> > > > From: Zdeněk Sochor [mailto:zdenek.sochor@ataco.cz]
> > > > Sent: Thursday, April 05, 2007 1:50 PM
> > > > To: MyFaces Development
> > > > Subject: Re: tomahawk-sandbox-1.1.6-SNAPSHOT-- DOJO
> error...
> > > >
> > > > Hi Prashant,
> > > >
> > > > Dojo is present in Tomahawk CORE 1.1.5 (and snapshot 1.1.6), NOT in
> 1.1.3.
> > > >
> > > > Download BOTH snapshots - Tomahawk CORE and sandbox to make it work.
> > > >
> > > > Regards,
> > > > Zdenek
> > > >
> > > > Prashant Gaikwad napsal(a):
> > > >
> > > > > Dear Developer friends,
> > > > >
> > > > > Need small help to
> resolve problem I
> > > > > am facing with tomahawk-sandbox-1.1.6-SNAPSHOT.jar
> .
> > > > >
> > > > >
> > > > >
> > > > > I downloaded above jar file from nightly build link. I want to
> > > > > implement <s:pprPanelGroup> for asynchronous (AJAX) refresh of
> > > > > <t:dataTable>. On implementing sample application from
> > > > > http://www.irian.at/myfaces.jsf. I am getting following error
> message.
> > > > > I have no clue what its searching for Dojo related stuff.
> > > > >
> > > > >
> > > > >
> > > > > Can anyone point me to latest updated .jar or other identified
> > > > > solution to this problem?
> > > > >
> > > > >
> > > > >
> > > > > Many Thanks in Advance
> > > > >
> > > > > Prashant
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > Apr 4, 2007 5:46:35 PM
> com.sun.faces.config.rules.ComponentRule end
> > > > >
> > > > > WARNING: [ComponentRule]{faces-config/component}
> > > > > Merge(javax.faces.ViewRoot )
> > > > >
> > > > > Apr 4, 2007 5:46:38 PM
> org.apache.myfaces.config.FacesConfigurator
> > > > > feedStandardConfig
> > > > >
> > > > > INFO: Reading standard config
> > > > > org/apache/myfaces/resource/standard-
> faces-config.xml
> > > > >
> > > > > Apr 4, 2007 5:46:38 PM
> org.apache.myfaces.config.FacesConfigurator
> > > > > feedClassloaderConfigurations
> > > > >
> > > > > INFO: Reading config
> > > > >
> jar:file:/D:/apache-tomcat-5.5.20/webapps/Nagase_Todo/WEB-INF/lib/ajax4jsf.jar!/META-INF/faces-config.xml
> > > > >
> > > > > Apr 4, 2007 5:46:38 PM
> org.apache.myfaces.config.FacesConfigurator
> > > > > feedClassloaderConfigurations
> > > > >
> > > > > INFO: Reading config
> > > > >
> jar:file:/D:/apache-tomcat-5.5.20/webapps/Nagase_Todo/WEB-INF/lib/tomahawk-1.1.3.jar!/META-INF/faces-config.xml
> > > > >
> > > > > Apr 4, 2007 5:46:38 PM
> org.apache.myfaces.config.FacesConfigurator
> > > > > feedClassloaderConfigurations
> > > > >
> > > > > INFO: Reading config
> > > > > jar:file:/D:/apache-
> tomcat-5.5.20/webapps/Nagase_Todo/WEB-INF/lib/tomahawk-sandbox-1.1.6-SNAPSHOT.jar!/META-INF/faces-config.xml
> > > > >
> > > > > Apr 4, 2007 5:46:38 PM
> org.apache.myfaces.config.FacesConfigurator
> > > > > feedWebAppConfig
> > > > >
> > > > > INFO: Reading config /WEB-INF/faces-config.xml
> > > > >
> > > > > Apr 4, 2007 5:46:39 PM
> org.apache.catalina.core.StandardContext
> > > > > listenerStart
> > > > >
> > > > > SEVERE: Exception sending context initialized event to listener
> > > > > instance of class
> > > > >
> *org.apache.myfaces.webapp.StartupServletContextListener*
> > > > >
> > > > > * java.lang.NoClassDefFoundError:
> > > > > org/apache/myfaces/custom/dojo/DojoWidget*
> > > > >
> > > > > at java.lang.ClassLoader.defineClass0(_Native
> Method_)
> > > > >
> > > > > at java.lang.ClassLoader.defineClass(Unknown
> Source)
> > > > >
> > > > > at
> java.security.SecureClassLoader.defineClass(Unknown Source)
> > > > >
> > > > > at
> > > > >
> org.apache.catalina.loader.WebappClassLoader.findClassInternal
> (_WebappClassLoader.java:1815_)
> > > > >
> > > > > at
> > > > >
> org.apache.catalina.loader.WebappClassLoader.findClass(_WebappClassLoader.java:869_)
> > > > >
> > > > > at
> > > > >
> org.apache.catalina.loader.WebappClassLoader.loadClass(_WebappClassLoader.java:1322_)
> > > > >
> > > > > at
> > > > >
> org.apache.catalina.loader.WebappClassLoader.loadClass
> (_WebappClassLoader.java:1201_)
> > > > >
> > > > > at
> java.lang.ClassLoader.loadClassInternal(Unknown Source)
> > > > >
> > > > > at java.lang.Class.forName0(_Native Method_)
> > > > >
> > > > > at java.lang.Class.forName(Unknown Source)
> > > > >
> > > > > at
> > > > >
> org.apache.myfaces.shared_impl.util.ClassUtils.classForName(_ClassUtils.java:131_)
> > > > >
> > > > > at
> > > > >
> org.apache.myfaces.shared_impl.util.ClassUtils.simpleClassForName(_ClassUtils.java:157_)
> > > > >
> > > > > at
> > > > >
> org.apache.myfaces.application.ApplicationImpl.addComponent
> (_ApplicationImpl.java:269_)
> > > > >
> > > > > at
> > > > >
> org.apache.myfaces.config.FacesConfigurator.configureApplication(_FacesConfigurator.java:479_)
> > > > >
> > > > > at
> > > > >
> org.apache.myfaces.config.FacesConfigurator.configure(_FacesConfigurator.java:141_)
> > > > >
> > > > > at
> > > > >
> org.apache.myfaces.webapp.StartupServletContextListener.initFaces
> (_StartupServletContextListener.java:69_)
> > > > >
> > > > > at
> > > > >
> org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(_StartupServletContextListener.java:52_)
> > > > >
> > > > > at
> > > > >
> org.apache.catalina.core.StandardContext.listenerStart(_StandardContext.java:3763_)
> > > > >
> > > > > at
> > > > > org.apache.catalina.core.StandardContext.start
> (_StandardContext.java:4211_)
> > > > >
> > > > > at
> > > > >
> org.apache.catalina.core.ContainerBase.start(_ContainerBase.java:1013_)
> > > > >
> > > > > at
> > > > >
> org.apache.catalina.core.StandardHost.start(_StandardHost.java:718_)
> > > > >
> > > > > at
> > > > >
> org.apache.catalina.core.ContainerBase.start(_ContainerBase.java:1013_)
> > > > >
> > > > > at
> > > > >
> org.apache.catalina.core.StandardEngine.start(_StandardEngine.java:442_)
> > > > >
> > > > > at
> > > > > org.apache.catalina.core.StandardService.start
> (_StandardService.java:450_)
> > > > >
> > > > > at
> > > > >
> org.apache.catalina.core.StandardServer.start(_StandardServer.java:709_)
> > > > >
> > > > > at org.apache.catalina.startup.Catalina.start
> (_Catalina.java:551_)
> > > > >
> > > > > at
> sun.reflect.NativeMethodAccessorImpl.invoke0(_Native
> Method_)
> > > > >
> > > > > at
> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> > > > >
> > > > > at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> Source)
> > > > >
> > > > > at java.lang.reflect.Method.invoke(Unknown Source)
> > > > >
> > > > > at
> org.apache.catalina.startup.Bootstrap.start(_Bootstrap.java:294_)
> > > > >
> > > > > at
> org.apache.catalina.startup.Bootstrap.main(_Bootstrap.java:432_)
> > > > >
> > > > > Apr 4, 2007 5:46:39 PM
> org.springframework.web.context.ContextLoader
> > > > > initWebApplicationContext
> > > > >
> > > > > INFO: Root WebApplicationContext: initialization started
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > >
> > >
> > > --
> > > http://www.irian.at
> > >
> > > Your JSF powerhouse -
> > > JSF Consulting, Development and
> > > Courses in English and German
> > >
> > > Professional Support for Apache MyFaces
> > >
> >
> >
> > --
> > http://www.irian.at
> >
> > Your JSF powerhouse -
> > JSF Consulting, Development and
> > Courses in English and German
> >
> > Professional Support for Apache MyFaces
> >
>
>
>
> --
> With Best Regards,
> Alexey Kakunin, EmDev Limited
>
> Professional Software Development:
> http://www.emdev.ru
Re: tomahawk-sandbox-1.1.6-SNAPSHOT-- DOJO error...Thanks Zdenek
Posted by Alexey Kakunin <ak...@gmail.com>.
Hm, MyFaces Tomahawk-1.1.6-SNAPSHOT is already available.
What about Tomahawk-1.1.5 stable? Does anybody has any info?
2007/4/5, Gerald Müllan <bi...@gmail.com>:
>
> Is any of the methods called during the ajax-request?
>
> cheers,
>
> Gerald
>
> On 4/5/07, Gerald Müllan <bi...@gmail.com> wrote:
> > Hi,
> >
> > please ask such kind of questions on the user list.
> >
> > cheers,
> >
> > Gerald
> >
> > On 4/5/07, Prashant Gaikwad <P....@zensar.com> wrote:
> > > Hi Zdenek,
> > > Thanks for the response. DOJO error is gone. But another
> problem is my <t:dataTable> in the JSP is not refreshing with the latest
> updates in corresponding database.
> > > Below is the snippet. Please suggest how the view would be partially
> grgenreated.
> > >
> > > Thanks
> > > Prashant
> > >
> > >
> > > <t:panelGrid >
> > > <s:pprPanelGroup id="periodicalUpdatedArea"
> styleClass="general_font_datagrid" periodicalUpdate="1000">
> > > <t:dataTable id="data"
> >
> > styleClass="scrollerTable,standardTable"
> >
> > headerClass="standardTable_Header"
> >
> > footerClass="standardTable_Header"
> >
> > rowClasses="standardTable_Row1,standardTable_Row2"
> >
> > columnClasses="standardTable_Column,standardTable_ColumnCentered"
> > > var="student"
> >
> > preserveDataModel="false"
> > > binding="#{Student.data}"
> > > value="#{
> Student.dataModel.value}"
> > > rows="#{Student.dataModel.rows
> }"
> > > rowId="#{student.id}"
> > > sortColumn="#{
> Student.dataModel.sortColumn}"
> > > sortAscending="#{
> Student.dataModel.sortAscending}"
> > > preserveSort="true">
> > >
> > > <h:column >
> > > <f:facet name="header">
> > > <t:commandSortHeader columnName="studentid"
> immediate="false" arrow="true" actionListener="#{Student.actionListener}"
> > > onclick="if (!confirm(' Sort by Student Id?')) return
> false" styleClass="standardTable_SortHeader">
> > > <h:outputText value="#{bundles.Student_id}"/>
> > > </t:commandSortHeader>
> > >
> > > </f:facet>
> > > <h:outputText value="#{student.id}"/>
> > > </h:column>
> > > <h:column>
> > > <f:facet name="header">
> > > <t:commandSortHeader columnName="name" immediate="false"
> arrow="true" actionListener="#{Student.actionListener}"
> > > onclick="if (!confirm(' Sort by Student Name ?')) return
> false" styleClass="standardTable_SortHeader" >
> > > <h:outputText value="#{bundles.Name}"/>
> > > </t:commandSortHeader>
> > > </f:facet>
> > > <h:outputText value="#{student.name}"/>
> > > </h:column>
> > >
> > > <h:column>
> > > <f:facet name="header">
> > > <t:commandSortHeader columnName="grade"
> immediate="false" arrow="true" actionListener="#{Student.actionListener}"
> > > onclick="if (!confirm(' Sort by Grade ?')) return
> false" styleClass="standardTable_SortHeader">
> > > <h:outputText value="#{bundles.Grade}"/>
> > > </t:commandSortHeader>
> > > </f:facet>
> > > <h:outputText value="#{student.grade}"/>
> > > </h:column>
> > >
> > > <h:column>
> > > <f:facet name="header">
> > > <t:commandSortHeader columnName="topic_news"
> immediate="false" arrow="true" actionListener="#{Student.actionListener}"
> > > onclick="if (!confirm(' Sort by Topic ?')) return false"
> styleClass="standardTable_SortHeader">
> > > <h:outputText value="#{bundles.topic}"/>
> > > </t:commandSortHeader>
> > > </f:facet>
> > > <h:outputText value="#{student.topic}"/>
> > > </h:column>
> > >
> > >
> > > <h:column>
> > > <f:facet name="header">
> > > <h:outputText value="#{bundles.Priority}"/>
> > >
> > > </f:facet>
> > > <h:outputText value="#{student.priority}"/>
> > > </h:column>
> > >
> > >
> > > <h:column>
> > > <f:facet name="header" >
> > > <h:outputText value="#{
> bundles.Comment_Can_update_only_your_own_comment}"/>
> > > </f:facet>
> > > <t:inputTextarea cols="50" value="#{
> student.comments}" ></t:inputTextarea>
> > > <f:verbatim><br></br></f:verbatim>
> > >
> > > </h:column>
> > >
> > > </t:dataTable>
> > > </s:pprPanelGroup>
> > >
> > > </t:panelGrid>
> > >
> > >
> > >
> > >
> > >
> > > -----Original Message-----
> > > From: Zdeněk Sochor [mailto:zdenek.sochor@ataco.cz]
> > > Sent: Thursday, April 05, 2007 1:50 PM
> > > To: MyFaces Development
> > > Subject: Re: tomahawk-sandbox-1.1.6-SNAPSHOT-- DOJO error...
> > >
> > > Hi Prashant,
> > >
> > > Dojo is present in Tomahawk CORE 1.1.5 (and snapshot 1.1.6), NOT in
> 1.1.3.
> > >
> > > Download BOTH snapshots - Tomahawk CORE and sandbox to make it work.
> > >
> > > Regards,
> > > Zdenek
> > >
> > > Prashant Gaikwad napsal(a):
> > >
> > > > Dear Developer friends,
> > > >
> > > > Need small help to resolve problem
> I
> > > > am facing with tomahawk-sandbox-1.1.6-SNAPSHOT.jar.
> > > >
> > > >
> > > >
> > > > I downloaded above jar file from nightly build link. I want to
> > > > implement <s:pprPanelGroup> for asynchronous (AJAX) refresh of
> > > > <t:dataTable>. On implementing sample application from
> > > > http://www.irian.at/myfaces.jsf. I am getting following error
> message.
> > > > I have no clue what its searching for Dojo related stuff.
> > > >
> > > >
> > > >
> > > > Can anyone point me to latest updated .jar or other identified
> > > > solution to this problem?
> > > >
> > > >
> > > >
> > > > Many Thanks in Advance
> > > >
> > > > Prashant
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > Apr 4, 2007 5:46:35 PM com.sun.faces.config.rules.ComponentRule end
> > > >
> > > > WARNING: [ComponentRule]{faces-config/component}
> > > > Merge(javax.faces.ViewRoot)
> > > >
> > > > Apr 4, 2007 5:46:38 PM org.apache.myfaces.config.FacesConfigurator
> > > > feedStandardConfig
> > > >
> > > > INFO: Reading standard config
> > > > org/apache/myfaces/resource/standard-faces-config.xml
> > > >
> > > > Apr 4, 2007 5:46:38 PM org.apache.myfaces.config.FacesConfigurator
> > > > feedClassloaderConfigurations
> > > >
> > > > INFO: Reading config
> > > > jar:file:/D:/apache-tomcat-5.5.20
> /webapps/Nagase_Todo/WEB-INF/lib/ajax4jsf.jar!/META-INF/faces-config.xml
> > > >
> > > > Apr 4, 2007 5:46:38 PM org.apache.myfaces.config.FacesConfigurator
> > > > feedClassloaderConfigurations
> > > >
> > > > INFO: Reading config
> > > > jar:file:/D:/apache-tomcat-5.5.20
> /webapps/Nagase_Todo/WEB-INF/lib/tomahawk-
> 1.1.3.jar!/META-INF/faces-config.xml
> > > >
> > > > Apr 4, 2007 5:46:38 PM org.apache.myfaces.config.FacesConfigurator
> > > > feedClassloaderConfigurations
> > > >
> > > > INFO: Reading config
> > > > jar:file:/D:/apache-tomcat-5.5.20
> /webapps/Nagase_Todo/WEB-INF/lib/tomahawk-
> sandbox-1.1.6-SNAPSHOT.jar!/META-INF/faces-config.xml
> > > >
> > > > Apr 4, 2007 5:46:38 PM org.apache.myfaces.config.FacesConfigurator
> > > > feedWebAppConfig
> > > >
> > > > INFO: Reading config /WEB-INF/faces-config.xml
> > > >
> > > > Apr 4, 2007 5:46:39 PM org.apache.catalina.core.StandardContext
> > > > listenerStart
> > > >
> > > > SEVERE: Exception sending context initialized event to listener
> > > > instance of class
> > > > *org.apache.myfaces.webapp.StartupServletContextListener*
> > > >
> > > > *java.lang.NoClassDefFoundError:
> > > > org/apache/myfaces/custom/dojo/DojoWidget*
> > > >
> > > > at java.lang.ClassLoader.defineClass0(_Native Method_)
> > > >
> > > > at java.lang.ClassLoader.defineClass(Unknown Source)
> > > >
> > > > at java.security.SecureClassLoader.defineClass(Unknown Source)
> > > >
> > > > at
> > > > org.apache.catalina.loader.WebappClassLoader.findClassInternal
> (_WebappClassLoader.java:1815_)
> > > >
> > > > at
> > > > org.apache.catalina.loader.WebappClassLoader.findClass
> (_WebappClassLoader.java:869_)
> > > >
> > > > at
> > > > org.apache.catalina.loader.WebappClassLoader.loadClass
> (_WebappClassLoader.java:1322_)
> > > >
> > > > at
> > > > org.apache.catalina.loader.WebappClassLoader.loadClass
> (_WebappClassLoader.java:1201_)
> > > >
> > > > at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> > > >
> > > > at java.lang.Class.forName0(_Native Method_)
> > > >
> > > > at java.lang.Class.forName(Unknown Source)
> > > >
> > > > at
> > > > org.apache.myfaces.shared_impl.util.ClassUtils.classForName
> (_ClassUtils.java:131_)
> > > >
> > > > at
> > > > org.apache.myfaces.shared_impl.util.ClassUtils.simpleClassForName
> (_ClassUtils.java:157_)
> > > >
> > > > at
> > > > org.apache.myfaces.application.ApplicationImpl.addComponent
> (_ApplicationImpl.java:269_)
> > > >
> > > > at
> > > > org.apache.myfaces.config.FacesConfigurator.configureApplication
> (_FacesConfigurator.java:479_)
> > > >
> > > > at
> > > > org.apache.myfaces.config.FacesConfigurator.configure
> (_FacesConfigurator.java:141_)
> > > >
> > > > at
> > > > org.apache.myfaces.webapp.StartupServletContextListener.initFaces
> (_StartupServletContextListener.java:69_)
> > > >
> > > > at
> > > >
> org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized
> (_StartupServletContextListener.java:52_)
> > > >
> > > > at
> > > > org.apache.catalina.core.StandardContext.listenerStart
> (_StandardContext.java:3763_)
> > > >
> > > > at
> > > > org.apache.catalina.core.StandardContext.start
> (_StandardContext.java:4211_)
> > > >
> > > > at
> > > > org.apache.catalina.core.ContainerBase.start
> (_ContainerBase.java:1013_)
> > > >
> > > > at
> > > > org.apache.catalina.core.StandardHost.start(_StandardHost.java:718_)
> > > >
> > > > at
> > > > org.apache.catalina.core.ContainerBase.start
> (_ContainerBase.java:1013_)
> > > >
> > > > at
> > > > org.apache.catalina.core.StandardEngine.start
> (_StandardEngine.java:442_)
> > > >
> > > > at
> > > > org.apache.catalina.core.StandardService.start
> (_StandardService.java:450_)
> > > >
> > > > at
> > > > org.apache.catalina.core.StandardServer.start
> (_StandardServer.java:709_)
> > > >
> > > > at org.apache.catalina.startup.Catalina.start
> (_Catalina.java:551_)
> > > >
> > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(_Native
> Method_)
> > > >
> > > > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> > > >
> > > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> Source)
> > > >
> > > > at java.lang.reflect.Method.invoke(Unknown Source)
> > > >
> > > > at org.apache.catalina.startup.Bootstrap.start
> (_Bootstrap.java:294_)
> > > >
> > > > at org.apache.catalina.startup.Bootstrap.main
> (_Bootstrap.java:432_)
> > > >
> > > > Apr 4, 2007 5:46:39 PM org.springframework.web.context.ContextLoader
> > > > initWebApplicationContext
> > > >
> > > > INFO: Root WebApplicationContext: initialization started
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
> >
> > --
> > http://www.irian.at
> >
> > Your JSF powerhouse -
> > JSF Consulting, Development and
> > Courses in English and German
> >
> > Professional Support for Apache MyFaces
> >
>
>
> --
> http://www.irian.at
>
> Your JSF powerhouse -
> JSF Consulting, Development and
> Courses in English and German
>
> Professional Support for Apache MyFaces
>
--
With Best Regards,
Alexey Kakunin, EmDev Limited
Professional Software Development:
http://www.emdev.ru
Re: tomahawk-sandbox-1.1.6-SNAPSHOT-- DOJO error...Thanks Zdenek
Posted by Gerald Müllan <bi...@gmail.com>.
Is any of the methods called during the ajax-request?
cheers,
Gerald
On 4/5/07, Gerald Müllan <bi...@gmail.com> wrote:
> Hi,
>
> please ask such kind of questions on the user list.
>
> cheers,
>
> Gerald
>
> On 4/5/07, Prashant Gaikwad <P....@zensar.com> wrote:
> > Hi Zdenek,
> > Thanks for the response. DOJO error is gone. But another problem is my <t:dataTable> in the JSP is not refreshing with the latest updates in corresponding database.
> > Below is the snippet. Please suggest how the view would be partially grgenreated.
> >
> > Thanks
> > Prashant
> >
> >
> > <t:panelGrid >
> > <s:pprPanelGroup id="periodicalUpdatedArea" styleClass="general_font_datagrid" periodicalUpdate="1000">
> > <t:dataTable id="data"
> > styleClass="scrollerTable,standardTable"
> > headerClass="standardTable_Header"
> > footerClass="standardTable_Header"
> > rowClasses="standardTable_Row1,standardTable_Row2"
> > columnClasses="standardTable_Column,standardTable_ColumnCentered"
> > var="student"
> > preserveDataModel="false"
> > binding="#{Student.data}"
> > value="#{Student.dataModel.value}"
> > rows="#{Student.dataModel.rows}"
> > rowId="#{student.id}"
> > sortColumn="#{Student.dataModel.sortColumn}"
> > sortAscending="#{Student.dataModel.sortAscending}"
> > preserveSort="true">
> >
> > <h:column >
> > <f:facet name="header">
> > <t:commandSortHeader columnName="studentid" immediate="false" arrow="true" actionListener="#{Student.actionListener}"
> > onclick="if (!confirm(' Sort by Student Id?')) return false" styleClass="standardTable_SortHeader">
> > <h:outputText value="#{bundles.Student_id}"/>
> > </t:commandSortHeader>
> >
> > </f:facet>
> > <h:outputText value="#{student.id}"/>
> > </h:column>
> > <h:column>
> > <f:facet name="header">
> > <t:commandSortHeader columnName="name" immediate="false" arrow="true" actionListener="#{Student.actionListener}"
> > onclick="if (!confirm(' Sort by Student Name ?')) return false" styleClass="standardTable_SortHeader" >
> > <h:outputText value="#{bundles.Name}"/>
> > </t:commandSortHeader>
> > </f:facet>
> > <h:outputText value="#{student.name}"/>
> > </h:column>
> >
> > <h:column>
> > <f:facet name="header">
> > <t:commandSortHeader columnName="grade" immediate="false" arrow="true" actionListener="#{Student.actionListener}"
> > onclick="if (!confirm(' Sort by Grade ?')) return false" styleClass="standardTable_SortHeader">
> > <h:outputText value="#{bundles.Grade}"/>
> > </t:commandSortHeader>
> > </f:facet>
> > <h:outputText value="#{student.grade}"/>
> > </h:column>
> >
> > <h:column>
> > <f:facet name="header">
> > <t:commandSortHeader columnName="topic_news" immediate="false" arrow="true" actionListener="#{Student.actionListener}"
> > onclick="if (!confirm(' Sort by Topic ?')) return false" styleClass="standardTable_SortHeader">
> > <h:outputText value="#{bundles.topic}"/>
> > </t:commandSortHeader>
> > </f:facet>
> > <h:outputText value="#{student.topic}"/>
> > </h:column>
> >
> >
> > <h:column>
> > <f:facet name="header">
> > <h:outputText value="#{bundles.Priority}"/>
> >
> > </f:facet>
> > <h:outputText value="#{student.priority}"/>
> > </h:column>
> >
> >
> > <h:column>
> > <f:facet name="header" >
> > <h:outputText value="#{bundles.Comment_Can_update_only_your_own_comment}"/>
> > </f:facet>
> > <t:inputTextarea cols="50" value="#{student.comments}" ></t:inputTextarea>
> > <f:verbatim><br></br></f:verbatim>
> >
> > </h:column>
> >
> > </t:dataTable>
> > </s:pprPanelGroup>
> >
> > </t:panelGrid>
> >
> >
> >
> >
> >
> > -----Original Message-----
> > From: Zdeněk Sochor [mailto:zdenek.sochor@ataco.cz]
> > Sent: Thursday, April 05, 2007 1:50 PM
> > To: MyFaces Development
> > Subject: Re: tomahawk-sandbox-1.1.6-SNAPSHOT-- DOJO error...
> >
> > Hi Prashant,
> >
> > Dojo is present in Tomahawk CORE 1.1.5 (and snapshot 1.1.6), NOT in 1.1.3.
> >
> > Download BOTH snapshots - Tomahawk CORE and sandbox to make it work.
> >
> > Regards,
> > Zdenek
> >
> > Prashant Gaikwad napsal(a):
> >
> > > Dear Developer friends,
> > >
> > > Need small help to resolve problem I
> > > am facing with tomahawk-sandbox-1.1.6-SNAPSHOT.jar.
> > >
> > >
> > >
> > > I downloaded above jar file from nightly build link. I want to
> > > implement <s:pprPanelGroup> for asynchronous (AJAX) refresh of
> > > <t:dataTable>. On implementing sample application from
> > > http://www.irian.at/myfaces.jsf. I am getting following error message.
> > > I have no clue what its searching for Dojo related stuff.
> > >
> > >
> > >
> > > Can anyone point me to latest updated .jar or other identified
> > > solution to this problem?
> > >
> > >
> > >
> > > Many Thanks in Advance
> > >
> > > Prashant
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > Apr 4, 2007 5:46:35 PM com.sun.faces.config.rules.ComponentRule end
> > >
> > > WARNING: [ComponentRule]{faces-config/component}
> > > Merge(javax.faces.ViewRoot)
> > >
> > > Apr 4, 2007 5:46:38 PM org.apache.myfaces.config.FacesConfigurator
> > > feedStandardConfig
> > >
> > > INFO: Reading standard config
> > > org/apache/myfaces/resource/standard-faces-config.xml
> > >
> > > Apr 4, 2007 5:46:38 PM org.apache.myfaces.config.FacesConfigurator
> > > feedClassloaderConfigurations
> > >
> > > INFO: Reading config
> > > jar:file:/D:/apache-tomcat-5.5.20/webapps/Nagase_Todo/WEB-INF/lib/ajax4jsf.jar!/META-INF/faces-config.xml
> > >
> > > Apr 4, 2007 5:46:38 PM org.apache.myfaces.config.FacesConfigurator
> > > feedClassloaderConfigurations
> > >
> > > INFO: Reading config
> > > jar:file:/D:/apache-tomcat-5.5.20/webapps/Nagase_Todo/WEB-INF/lib/tomahawk-1.1.3.jar!/META-INF/faces-config.xml
> > >
> > > Apr 4, 2007 5:46:38 PM org.apache.myfaces.config.FacesConfigurator
> > > feedClassloaderConfigurations
> > >
> > > INFO: Reading config
> > > jar:file:/D:/apache-tomcat-5.5.20/webapps/Nagase_Todo/WEB-INF/lib/tomahawk-sandbox-1.1.6-SNAPSHOT.jar!/META-INF/faces-config.xml
> > >
> > > Apr 4, 2007 5:46:38 PM org.apache.myfaces.config.FacesConfigurator
> > > feedWebAppConfig
> > >
> > > INFO: Reading config /WEB-INF/faces-config.xml
> > >
> > > Apr 4, 2007 5:46:39 PM org.apache.catalina.core.StandardContext
> > > listenerStart
> > >
> > > SEVERE: Exception sending context initialized event to listener
> > > instance of class
> > > *org.apache.myfaces.webapp.StartupServletContextListener*
> > >
> > > *java.lang.NoClassDefFoundError:
> > > org/apache/myfaces/custom/dojo/DojoWidget*
> > >
> > > at java.lang.ClassLoader.defineClass0(_Native Method_)
> > >
> > > at java.lang.ClassLoader.defineClass(Unknown Source)
> > >
> > > at java.security.SecureClassLoader.defineClass(Unknown Source)
> > >
> > > at
> > > org.apache.catalina.loader.WebappClassLoader.findClassInternal(_WebappClassLoader.java:1815_)
> > >
> > > at
> > > org.apache.catalina.loader.WebappClassLoader.findClass(_WebappClassLoader.java:869_)
> > >
> > > at
> > > org.apache.catalina.loader.WebappClassLoader.loadClass(_WebappClassLoader.java:1322_)
> > >
> > > at
> > > org.apache.catalina.loader.WebappClassLoader.loadClass(_WebappClassLoader.java:1201_)
> > >
> > > at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> > >
> > > at java.lang.Class.forName0(_Native Method_)
> > >
> > > at java.lang.Class.forName(Unknown Source)
> > >
> > > at
> > > org.apache.myfaces.shared_impl.util.ClassUtils.classForName(_ClassUtils.java:131_)
> > >
> > > at
> > > org.apache.myfaces.shared_impl.util.ClassUtils.simpleClassForName(_ClassUtils.java:157_)
> > >
> > > at
> > > org.apache.myfaces.application.ApplicationImpl.addComponent(_ApplicationImpl.java:269_)
> > >
> > > at
> > > org.apache.myfaces.config.FacesConfigurator.configureApplication(_FacesConfigurator.java:479_)
> > >
> > > at
> > > org.apache.myfaces.config.FacesConfigurator.configure(_FacesConfigurator.java:141_)
> > >
> > > at
> > > org.apache.myfaces.webapp.StartupServletContextListener.initFaces(_StartupServletContextListener.java:69_)
> > >
> > > at
> > > org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(_StartupServletContextListener.java:52_)
> > >
> > > at
> > > org.apache.catalina.core.StandardContext.listenerStart(_StandardContext.java:3763_)
> > >
> > > at
> > > org.apache.catalina.core.StandardContext.start(_StandardContext.java:4211_)
> > >
> > > at
> > > org.apache.catalina.core.ContainerBase.start(_ContainerBase.java:1013_)
> > >
> > > at
> > > org.apache.catalina.core.StandardHost.start(_StandardHost.java:718_)
> > >
> > > at
> > > org.apache.catalina.core.ContainerBase.start(_ContainerBase.java:1013_)
> > >
> > > at
> > > org.apache.catalina.core.StandardEngine.start(_StandardEngine.java:442_)
> > >
> > > at
> > > org.apache.catalina.core.StandardService.start(_StandardService.java:450_)
> > >
> > > at
> > > org.apache.catalina.core.StandardServer.start(_StandardServer.java:709_)
> > >
> > > at org.apache.catalina.startup.Catalina.start(_Catalina.java:551_)
> > >
> > > at sun.reflect.NativeMethodAccessorImpl.invoke0(_Native Method_)
> > >
> > > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> > >
> > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> > >
> > > at java.lang.reflect.Method.invoke(Unknown Source)
> > >
> > > at org.apache.catalina.startup.Bootstrap.start(_Bootstrap.java:294_)
> > >
> > > at org.apache.catalina.startup.Bootstrap.main(_Bootstrap.java:432_)
> > >
> > > Apr 4, 2007 5:46:39 PM org.springframework.web.context.ContextLoader
> > > initWebApplicationContext
> > >
> > > INFO: Root WebApplicationContext: initialization started
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
>
>
> --
> http://www.irian.at
>
> Your JSF powerhouse -
> JSF Consulting, Development and
> Courses in English and German
>
> Professional Support for Apache MyFaces
>
--
http://www.irian.at
Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German
Professional Support for Apache MyFaces
Re: tomahawk-sandbox-1.1.6-SNAPSHOT-- DOJO error...Thanks Zdenek
Posted by Gerald Müllan <bi...@gmail.com>.
Hi,
please ask such kind of questions on the user list.
cheers,
Gerald
On 4/5/07, Prashant Gaikwad <P....@zensar.com> wrote:
> Hi Zdenek,
> Thanks for the response. DOJO error is gone. But another problem is my <t:dataTable> in the JSP is not refreshing with the latest updates in corresponding database.
> Below is the snippet. Please suggest how the view would be partially grgenreated.
>
> Thanks
> Prashant
>
>
> <t:panelGrid >
> <s:pprPanelGroup id="periodicalUpdatedArea" styleClass="general_font_datagrid" periodicalUpdate="1000">
> <t:dataTable id="data"
> styleClass="scrollerTable,standardTable"
> headerClass="standardTable_Header"
> footerClass="standardTable_Header"
> rowClasses="standardTable_Row1,standardTable_Row2"
> columnClasses="standardTable_Column,standardTable_ColumnCentered"
> var="student"
> preserveDataModel="false"
> binding="#{Student.data}"
> value="#{Student.dataModel.value}"
> rows="#{Student.dataModel.rows}"
> rowId="#{student.id}"
> sortColumn="#{Student.dataModel.sortColumn}"
> sortAscending="#{Student.dataModel.sortAscending}"
> preserveSort="true">
>
> <h:column >
> <f:facet name="header">
> <t:commandSortHeader columnName="studentid" immediate="false" arrow="true" actionListener="#{Student.actionListener}"
> onclick="if (!confirm(' Sort by Student Id?')) return false" styleClass="standardTable_SortHeader">
> <h:outputText value="#{bundles.Student_id}"/>
> </t:commandSortHeader>
>
> </f:facet>
> <h:outputText value="#{student.id}"/>
> </h:column>
> <h:column>
> <f:facet name="header">
> <t:commandSortHeader columnName="name" immediate="false" arrow="true" actionListener="#{Student.actionListener}"
> onclick="if (!confirm(' Sort by Student Name ?')) return false" styleClass="standardTable_SortHeader" >
> <h:outputText value="#{bundles.Name}"/>
> </t:commandSortHeader>
> </f:facet>
> <h:outputText value="#{student.name}"/>
> </h:column>
>
> <h:column>
> <f:facet name="header">
> <t:commandSortHeader columnName="grade" immediate="false" arrow="true" actionListener="#{Student.actionListener}"
> onclick="if (!confirm(' Sort by Grade ?')) return false" styleClass="standardTable_SortHeader">
> <h:outputText value="#{bundles.Grade}"/>
> </t:commandSortHeader>
> </f:facet>
> <h:outputText value="#{student.grade}"/>
> </h:column>
>
> <h:column>
> <f:facet name="header">
> <t:commandSortHeader columnName="topic_news" immediate="false" arrow="true" actionListener="#{Student.actionListener}"
> onclick="if (!confirm(' Sort by Topic ?')) return false" styleClass="standardTable_SortHeader">
> <h:outputText value="#{bundles.topic}"/>
> </t:commandSortHeader>
> </f:facet>
> <h:outputText value="#{student.topic}"/>
> </h:column>
>
>
> <h:column>
> <f:facet name="header">
> <h:outputText value="#{bundles.Priority}"/>
>
> </f:facet>
> <h:outputText value="#{student.priority}"/>
> </h:column>
>
>
> <h:column>
> <f:facet name="header" >
> <h:outputText value="#{bundles.Comment_Can_update_only_your_own_comment}"/>
> </f:facet>
> <t:inputTextarea cols="50" value="#{student.comments}" ></t:inputTextarea>
> <f:verbatim><br></br></f:verbatim>
>
> </h:column>
>
> </t:dataTable>
> </s:pprPanelGroup>
>
> </t:panelGrid>
>
>
>
>
>
> -----Original Message-----
> From: Zdeněk Sochor [mailto:zdenek.sochor@ataco.cz]
> Sent: Thursday, April 05, 2007 1:50 PM
> To: MyFaces Development
> Subject: Re: tomahawk-sandbox-1.1.6-SNAPSHOT-- DOJO error...
>
> Hi Prashant,
>
> Dojo is present in Tomahawk CORE 1.1.5 (and snapshot 1.1.6), NOT in 1.1.3.
>
> Download BOTH snapshots - Tomahawk CORE and sandbox to make it work.
>
> Regards,
> Zdenek
>
> Prashant Gaikwad napsal(a):
>
> > Dear Developer friends,
> >
> > Need small help to resolve problem I
> > am facing with tomahawk-sandbox-1.1.6-SNAPSHOT.jar.
> >
> >
> >
> > I downloaded above jar file from nightly build link. I want to
> > implement <s:pprPanelGroup> for asynchronous (AJAX) refresh of
> > <t:dataTable>. On implementing sample application from
> > http://www.irian.at/myfaces.jsf. I am getting following error message.
> > I have no clue what its searching for Dojo related stuff.
> >
> >
> >
> > Can anyone point me to latest updated .jar or other identified
> > solution to this problem?
> >
> >
> >
> > Many Thanks in Advance
> >
> > Prashant
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > Apr 4, 2007 5:46:35 PM com.sun.faces.config.rules.ComponentRule end
> >
> > WARNING: [ComponentRule]{faces-config/component}
> > Merge(javax.faces.ViewRoot)
> >
> > Apr 4, 2007 5:46:38 PM org.apache.myfaces.config.FacesConfigurator
> > feedStandardConfig
> >
> > INFO: Reading standard config
> > org/apache/myfaces/resource/standard-faces-config.xml
> >
> > Apr 4, 2007 5:46:38 PM org.apache.myfaces.config.FacesConfigurator
> > feedClassloaderConfigurations
> >
> > INFO: Reading config
> > jar:file:/D:/apache-tomcat-5.5.20/webapps/Nagase_Todo/WEB-INF/lib/ajax4jsf.jar!/META-INF/faces-config.xml
> >
> > Apr 4, 2007 5:46:38 PM org.apache.myfaces.config.FacesConfigurator
> > feedClassloaderConfigurations
> >
> > INFO: Reading config
> > jar:file:/D:/apache-tomcat-5.5.20/webapps/Nagase_Todo/WEB-INF/lib/tomahawk-1.1.3.jar!/META-INF/faces-config.xml
> >
> > Apr 4, 2007 5:46:38 PM org.apache.myfaces.config.FacesConfigurator
> > feedClassloaderConfigurations
> >
> > INFO: Reading config
> > jar:file:/D:/apache-tomcat-5.5.20/webapps/Nagase_Todo/WEB-INF/lib/tomahawk-sandbox-1.1.6-SNAPSHOT.jar!/META-INF/faces-config.xml
> >
> > Apr 4, 2007 5:46:38 PM org.apache.myfaces.config.FacesConfigurator
> > feedWebAppConfig
> >
> > INFO: Reading config /WEB-INF/faces-config.xml
> >
> > Apr 4, 2007 5:46:39 PM org.apache.catalina.core.StandardContext
> > listenerStart
> >
> > SEVERE: Exception sending context initialized event to listener
> > instance of class
> > *org.apache.myfaces.webapp.StartupServletContextListener*
> >
> > *java.lang.NoClassDefFoundError:
> > org/apache/myfaces/custom/dojo/DojoWidget*
> >
> > at java.lang.ClassLoader.defineClass0(_Native Method_)
> >
> > at java.lang.ClassLoader.defineClass(Unknown Source)
> >
> > at java.security.SecureClassLoader.defineClass(Unknown Source)
> >
> > at
> > org.apache.catalina.loader.WebappClassLoader.findClassInternal(_WebappClassLoader.java:1815_)
> >
> > at
> > org.apache.catalina.loader.WebappClassLoader.findClass(_WebappClassLoader.java:869_)
> >
> > at
> > org.apache.catalina.loader.WebappClassLoader.loadClass(_WebappClassLoader.java:1322_)
> >
> > at
> > org.apache.catalina.loader.WebappClassLoader.loadClass(_WebappClassLoader.java:1201_)
> >
> > at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> >
> > at java.lang.Class.forName0(_Native Method_)
> >
> > at java.lang.Class.forName(Unknown Source)
> >
> > at
> > org.apache.myfaces.shared_impl.util.ClassUtils.classForName(_ClassUtils.java:131_)
> >
> > at
> > org.apache.myfaces.shared_impl.util.ClassUtils.simpleClassForName(_ClassUtils.java:157_)
> >
> > at
> > org.apache.myfaces.application.ApplicationImpl.addComponent(_ApplicationImpl.java:269_)
> >
> > at
> > org.apache.myfaces.config.FacesConfigurator.configureApplication(_FacesConfigurator.java:479_)
> >
> > at
> > org.apache.myfaces.config.FacesConfigurator.configure(_FacesConfigurator.java:141_)
> >
> > at
> > org.apache.myfaces.webapp.StartupServletContextListener.initFaces(_StartupServletContextListener.java:69_)
> >
> > at
> > org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(_StartupServletContextListener.java:52_)
> >
> > at
> > org.apache.catalina.core.StandardContext.listenerStart(_StandardContext.java:3763_)
> >
> > at
> > org.apache.catalina.core.StandardContext.start(_StandardContext.java:4211_)
> >
> > at
> > org.apache.catalina.core.ContainerBase.start(_ContainerBase.java:1013_)
> >
> > at
> > org.apache.catalina.core.StandardHost.start(_StandardHost.java:718_)
> >
> > at
> > org.apache.catalina.core.ContainerBase.start(_ContainerBase.java:1013_)
> >
> > at
> > org.apache.catalina.core.StandardEngine.start(_StandardEngine.java:442_)
> >
> > at
> > org.apache.catalina.core.StandardService.start(_StandardService.java:450_)
> >
> > at
> > org.apache.catalina.core.StandardServer.start(_StandardServer.java:709_)
> >
> > at org.apache.catalina.startup.Catalina.start(_Catalina.java:551_)
> >
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(_Native Method_)
> >
> > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> >
> > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> >
> > at java.lang.reflect.Method.invoke(Unknown Source)
> >
> > at org.apache.catalina.startup.Bootstrap.start(_Bootstrap.java:294_)
> >
> > at org.apache.catalina.startup.Bootstrap.main(_Bootstrap.java:432_)
> >
> > Apr 4, 2007 5:46:39 PM org.springframework.web.context.ContextLoader
> > initWebApplicationContext
> >
> > INFO: Root WebApplicationContext: initialization started
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
>
--
http://www.irian.at
Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German
Professional Support for Apache MyFaces
Re: tomahawk-sandbox-1.1.6-SNAPSHOT-- DOJO error...Thanks Zdenek
Posted by Gerald Müllan <bi...@gmail.com>.
Hi,
please ask such kind of questions on the user list.
cheers,
Gerald
On 4/5/07, Prashant Gaikwad <P....@zensar.com> wrote:
> Hi Zdenek,
> Thanks for the response. DOJO error is gone. But another problem is my <t:dataTable> in the JSP is not refreshing with the latest updates in corresponding database.
> Below is the snippet. Please suggest how the view would be partially grgenreated.
>
> Thanks
> Prashant
>
>
> <t:panelGrid >
> <s:pprPanelGroup id="periodicalUpdatedArea" styleClass="general_font_datagrid" periodicalUpdate="1000">
> <t:dataTable id="data"
> styleClass="scrollerTable,standardTable"
> headerClass="standardTable_Header"
> footerClass="standardTable_Header"
> rowClasses="standardTable_Row1,standardTable_Row2"
> columnClasses="standardTable_Column,standardTable_ColumnCentered"
> var="student"
> preserveDataModel="false"
> binding="#{Student.data}"
> value="#{Student.dataModel.value}"
> rows="#{Student.dataModel.rows}"
> rowId="#{student.id}"
> sortColumn="#{Student.dataModel.sortColumn}"
> sortAscending="#{Student.dataModel.sortAscending}"
> preserveSort="true">
>
> <h:column >
> <f:facet name="header">
> <t:commandSortHeader columnName="studentid" immediate="false" arrow="true" actionListener="#{Student.actionListener}"
> onclick="if (!confirm(' Sort by Student Id?')) return false" styleClass="standardTable_SortHeader">
> <h:outputText value="#{bundles.Student_id}"/>
> </t:commandSortHeader>
>
> </f:facet>
> <h:outputText value="#{student.id}"/>
> </h:column>
> <h:column>
> <f:facet name="header">
> <t:commandSortHeader columnName="name" immediate="false" arrow="true" actionListener="#{Student.actionListener}"
> onclick="if (!confirm(' Sort by Student Name ?')) return false" styleClass="standardTable_SortHeader" >
> <h:outputText value="#{bundles.Name}"/>
> </t:commandSortHeader>
> </f:facet>
> <h:outputText value="#{student.name}"/>
> </h:column>
>
> <h:column>
> <f:facet name="header">
> <t:commandSortHeader columnName="grade" immediate="false" arrow="true" actionListener="#{Student.actionListener}"
> onclick="if (!confirm(' Sort by Grade ?')) return false" styleClass="standardTable_SortHeader">
> <h:outputText value="#{bundles.Grade}"/>
> </t:commandSortHeader>
> </f:facet>
> <h:outputText value="#{student.grade}"/>
> </h:column>
>
> <h:column>
> <f:facet name="header">
> <t:commandSortHeader columnName="topic_news" immediate="false" arrow="true" actionListener="#{Student.actionListener}"
> onclick="if (!confirm(' Sort by Topic ?')) return false" styleClass="standardTable_SortHeader">
> <h:outputText value="#{bundles.topic}"/>
> </t:commandSortHeader>
> </f:facet>
> <h:outputText value="#{student.topic}"/>
> </h:column>
>
>
> <h:column>
> <f:facet name="header">
> <h:outputText value="#{bundles.Priority}"/>
>
> </f:facet>
> <h:outputText value="#{student.priority}"/>
> </h:column>
>
>
> <h:column>
> <f:facet name="header" >
> <h:outputText value="#{bundles.Comment_Can_update_only_your_own_comment}"/>
> </f:facet>
> <t:inputTextarea cols="50" value="#{student.comments}" ></t:inputTextarea>
> <f:verbatim><br></br></f:verbatim>
>
> </h:column>
>
> </t:dataTable>
> </s:pprPanelGroup>
>
> </t:panelGrid>
>
>
>
>
>
> -----Original Message-----
> From: Zdeněk Sochor [mailto:zdenek.sochor@ataco.cz]
> Sent: Thursday, April 05, 2007 1:50 PM
> To: MyFaces Development
> Subject: Re: tomahawk-sandbox-1.1.6-SNAPSHOT-- DOJO error...
>
> Hi Prashant,
>
> Dojo is present in Tomahawk CORE 1.1.5 (and snapshot 1.1.6), NOT in 1.1.3.
>
> Download BOTH snapshots - Tomahawk CORE and sandbox to make it work.
>
> Regards,
> Zdenek
>
> Prashant Gaikwad napsal(a):
>
> > Dear Developer friends,
> >
> > Need small help to resolve problem I
> > am facing with tomahawk-sandbox-1.1.6-SNAPSHOT.jar.
> >
> >
> >
> > I downloaded above jar file from nightly build link. I want to
> > implement <s:pprPanelGroup> for asynchronous (AJAX) refresh of
> > <t:dataTable>. On implementing sample application from
> > http://www.irian.at/myfaces.jsf. I am getting following error message.
> > I have no clue what its searching for Dojo related stuff.
> >
> >
> >
> > Can anyone point me to latest updated .jar or other identified
> > solution to this problem?
> >
> >
> >
> > Many Thanks in Advance
> >
> > Prashant
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > Apr 4, 2007 5:46:35 PM com.sun.faces.config.rules.ComponentRule end
> >
> > WARNING: [ComponentRule]{faces-config/component}
> > Merge(javax.faces.ViewRoot)
> >
> > Apr 4, 2007 5:46:38 PM org.apache.myfaces.config.FacesConfigurator
> > feedStandardConfig
> >
> > INFO: Reading standard config
> > org/apache/myfaces/resource/standard-faces-config.xml
> >
> > Apr 4, 2007 5:46:38 PM org.apache.myfaces.config.FacesConfigurator
> > feedClassloaderConfigurations
> >
> > INFO: Reading config
> > jar:file:/D:/apache-tomcat-5.5.20/webapps/Nagase_Todo/WEB-INF/lib/ajax4jsf.jar!/META-INF/faces-config.xml
> >
> > Apr 4, 2007 5:46:38 PM org.apache.myfaces.config.FacesConfigurator
> > feedClassloaderConfigurations
> >
> > INFO: Reading config
> > jar:file:/D:/apache-tomcat-5.5.20/webapps/Nagase_Todo/WEB-INF/lib/tomahawk-1.1.3.jar!/META-INF/faces-config.xml
> >
> > Apr 4, 2007 5:46:38 PM org.apache.myfaces.config.FacesConfigurator
> > feedClassloaderConfigurations
> >
> > INFO: Reading config
> > jar:file:/D:/apache-tomcat-5.5.20/webapps/Nagase_Todo/WEB-INF/lib/tomahawk-sandbox-1.1.6-SNAPSHOT.jar!/META-INF/faces-config.xml
> >
> > Apr 4, 2007 5:46:38 PM org.apache.myfaces.config.FacesConfigurator
> > feedWebAppConfig
> >
> > INFO: Reading config /WEB-INF/faces-config.xml
> >
> > Apr 4, 2007 5:46:39 PM org.apache.catalina.core.StandardContext
> > listenerStart
> >
> > SEVERE: Exception sending context initialized event to listener
> > instance of class
> > *org.apache.myfaces.webapp.StartupServletContextListener*
> >
> > *java.lang.NoClassDefFoundError:
> > org/apache/myfaces/custom/dojo/DojoWidget*
> >
> > at java.lang.ClassLoader.defineClass0(_Native Method_)
> >
> > at java.lang.ClassLoader.defineClass(Unknown Source)
> >
> > at java.security.SecureClassLoader.defineClass(Unknown Source)
> >
> > at
> > org.apache.catalina.loader.WebappClassLoader.findClassInternal(_WebappClassLoader.java:1815_)
> >
> > at
> > org.apache.catalina.loader.WebappClassLoader.findClass(_WebappClassLoader.java:869_)
> >
> > at
> > org.apache.catalina.loader.WebappClassLoader.loadClass(_WebappClassLoader.java:1322_)
> >
> > at
> > org.apache.catalina.loader.WebappClassLoader.loadClass(_WebappClassLoader.java:1201_)
> >
> > at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> >
> > at java.lang.Class.forName0(_Native Method_)
> >
> > at java.lang.Class.forName(Unknown Source)
> >
> > at
> > org.apache.myfaces.shared_impl.util.ClassUtils.classForName(_ClassUtils.java:131_)
> >
> > at
> > org.apache.myfaces.shared_impl.util.ClassUtils.simpleClassForName(_ClassUtils.java:157_)
> >
> > at
> > org.apache.myfaces.application.ApplicationImpl.addComponent(_ApplicationImpl.java:269_)
> >
> > at
> > org.apache.myfaces.config.FacesConfigurator.configureApplication(_FacesConfigurator.java:479_)
> >
> > at
> > org.apache.myfaces.config.FacesConfigurator.configure(_FacesConfigurator.java:141_)
> >
> > at
> > org.apache.myfaces.webapp.StartupServletContextListener.initFaces(_StartupServletContextListener.java:69_)
> >
> > at
> > org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(_StartupServletContextListener.java:52_)
> >
> > at
> > org.apache.catalina.core.StandardContext.listenerStart(_StandardContext.java:3763_)
> >
> > at
> > org.apache.catalina.core.StandardContext.start(_StandardContext.java:4211_)
> >
> > at
> > org.apache.catalina.core.ContainerBase.start(_ContainerBase.java:1013_)
> >
> > at
> > org.apache.catalina.core.StandardHost.start(_StandardHost.java:718_)
> >
> > at
> > org.apache.catalina.core.ContainerBase.start(_ContainerBase.java:1013_)
> >
> > at
> > org.apache.catalina.core.StandardEngine.start(_StandardEngine.java:442_)
> >
> > at
> > org.apache.catalina.core.StandardService.start(_StandardService.java:450_)
> >
> > at
> > org.apache.catalina.core.StandardServer.start(_StandardServer.java:709_)
> >
> > at org.apache.catalina.startup.Catalina.start(_Catalina.java:551_)
> >
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(_Native Method_)
> >
> > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> >
> > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> >
> > at java.lang.reflect.Method.invoke(Unknown Source)
> >
> > at org.apache.catalina.startup.Bootstrap.start(_Bootstrap.java:294_)
> >
> > at org.apache.catalina.startup.Bootstrap.main(_Bootstrap.java:432_)
> >
> > Apr 4, 2007 5:46:39 PM org.springframework.web.context.ContextLoader
> > initWebApplicationContext
> >
> > INFO: Root WebApplicationContext: initialization started
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
>
--
http://www.irian.at
Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German
Professional Support for Apache MyFaces
Re: tomahawk-sandbox-1.1.6-SNAPSHOT-- DOJO error...Thanks Zdenek
Posted by Jeff Bischoff <jb...@klkurz.com>.
This question is more appropriate for the user list.
Prashant Gaikwad wrote:
> Hi Zdenek,
> Thanks for the response. DOJO error is gone. But another problem is my <t:dataTable> in the JSP is not refreshing with the latest updates in corresponding database.
> Below is the snippet. Please suggest how the view would be partially grgenreated.
>
> Thanks
> Prashant
>
>
> <t:panelGrid >
> <s:pprPanelGroup id="periodicalUpdatedArea" styleClass="general_font_datagrid" periodicalUpdate="1000">
> <t:dataTable id="data"
> styleClass="scrollerTable,standardTable"
> headerClass="standardTable_Header"
> footerClass="standardTable_Header"
> rowClasses="standardTable_Row1,standardTable_Row2"
> columnClasses="standardTable_Column,standardTable_ColumnCentered"
> var="student"
> preserveDataModel="false"
> binding="#{Student.data}"
> value="#{Student.dataModel.value}"
> rows="#{Student.dataModel.rows}"
> rowId="#{student.id}"
> sortColumn="#{Student.dataModel.sortColumn}"
> sortAscending="#{Student.dataModel.sortAscending}"
> preserveSort="true">
>
> <h:column >
> <f:facet name="header">
> <t:commandSortHeader columnName="studentid" immediate="false" arrow="true" actionListener="#{Student.actionListener}"
> onclick="if (!confirm(' Sort by Student Id?')) return false" styleClass="standardTable_SortHeader">
> <h:outputText value="#{bundles.Student_id}"/>
> </t:commandSortHeader>
>
> </f:facet>
> <h:outputText value="#{student.id}"/>
> </h:column>
> <h:column>
> <f:facet name="header">
> <t:commandSortHeader columnName="name" immediate="false" arrow="true" actionListener="#{Student.actionListener}"
> onclick="if (!confirm(' Sort by Student Name ?')) return false" styleClass="standardTable_SortHeader" >
> <h:outputText value="#{bundles.Name}"/>
> </t:commandSortHeader>
> </f:facet>
> <h:outputText value="#{student.name}"/>
> </h:column>
>
> <h:column>
> <f:facet name="header">
> <t:commandSortHeader columnName="grade" immediate="false" arrow="true" actionListener="#{Student.actionListener}"
> onclick="if (!confirm(' Sort by Grade ?')) return false" styleClass="standardTable_SortHeader">
> <h:outputText value="#{bundles.Grade}"/>
> </t:commandSortHeader>
> </f:facet>
> <h:outputText value="#{student.grade}"/>
> </h:column>
>
> <h:column>
> <f:facet name="header">
> <t:commandSortHeader columnName="topic_news" immediate="false" arrow="true" actionListener="#{Student.actionListener}"
> onclick="if (!confirm(' Sort by Topic ?')) return false" styleClass="standardTable_SortHeader">
> <h:outputText value="#{bundles.topic}"/>
> </t:commandSortHeader>
> </f:facet>
> <h:outputText value="#{student.topic}"/>
> </h:column>
>
>
> <h:column>
> <f:facet name="header">
> <h:outputText value="#{bundles.Priority}"/>
>
> </f:facet>
> <h:outputText value="#{student.priority}"/>
> </h:column>
>
>
> <h:column>
> <f:facet name="header" >
> <h:outputText value="#{bundles.Comment_Can_update_only_your_own_comment}"/>
> </f:facet>
> <t:inputTextarea cols="50" value="#{student.comments}" ></t:inputTextarea>
> <f:verbatim><br></br></f:verbatim>
>
> </h:column>
>
> </t:dataTable>
> </s:pprPanelGroup>
>
> </t:panelGrid>
>
>
>
>
>
> -----Original Message-----
> From: Zdeněk Sochor [mailto:zdenek.sochor@ataco.cz]
> Sent: Thursday, April 05, 2007 1:50 PM
> To: MyFaces Development
> Subject: Re: tomahawk-sandbox-1.1.6-SNAPSHOT-- DOJO error...
>
> Hi Prashant,
>
> Dojo is present in Tomahawk CORE 1.1.5 (and snapshot 1.1.6), NOT in 1.1.3.
>
> Download BOTH snapshots - Tomahawk CORE and sandbox to make it work.
>
> Regards,
> Zdenek
>
> Prashant Gaikwad napsal(a):
>
>> Dear Developer friends,
>>
>> Need small help to resolve problem I
>> am facing with tomahawk-sandbox-1.1.6-SNAPSHOT.jar.
>>
>>
>>
>> I downloaded above jar file from nightly build link. I want to
>> implement <s:pprPanelGroup> for asynchronous (AJAX) refresh of
>> <t:dataTable>. On implementing sample application from
>> http://www.irian.at/myfaces.jsf. I am getting following error message.
>> I have no clue what its searching for Dojo related stuff.
>>
>>
>>
>> Can anyone point me to latest updated .jar or other identified
>> solution to this problem?
>>
>>
>>
>> Many Thanks in Advance
>>
>> Prashant
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> Apr 4, 2007 5:46:35 PM com.sun.faces.config.rules.ComponentRule end
>>
>> WARNING: [ComponentRule]{faces-config/component}
>> Merge(javax.faces.ViewRoot)
>>
>> Apr 4, 2007 5:46:38 PM org.apache.myfaces.config.FacesConfigurator
>> feedStandardConfig
>>
>> INFO: Reading standard config
>> org/apache/myfaces/resource/standard-faces-config.xml
>>
>> Apr 4, 2007 5:46:38 PM org.apache.myfaces.config.FacesConfigurator
>> feedClassloaderConfigurations
>>
>> INFO: Reading config
>> jar:file:/D:/apache-tomcat-5.5.20/webapps/Nagase_Todo/WEB-INF/lib/ajax4jsf.jar!/META-INF/faces-config.xml
>>
>> Apr 4, 2007 5:46:38 PM org.apache.myfaces.config.FacesConfigurator
>> feedClassloaderConfigurations
>>
>> INFO: Reading config
>> jar:file:/D:/apache-tomcat-5.5.20/webapps/Nagase_Todo/WEB-INF/lib/tomahawk-1.1.3.jar!/META-INF/faces-config.xml
>>
>> Apr 4, 2007 5:46:38 PM org.apache.myfaces.config.FacesConfigurator
>> feedClassloaderConfigurations
>>
>> INFO: Reading config
>> jar:file:/D:/apache-tomcat-5.5.20/webapps/Nagase_Todo/WEB-INF/lib/tomahawk-sandbox-1.1.6-SNAPSHOT.jar!/META-INF/faces-config.xml
>>
>> Apr 4, 2007 5:46:38 PM org.apache.myfaces.config.FacesConfigurator
>> feedWebAppConfig
>>
>> INFO: Reading config /WEB-INF/faces-config.xml
>>
>> Apr 4, 2007 5:46:39 PM org.apache.catalina.core.StandardContext
>> listenerStart
>>
>> SEVERE: Exception sending context initialized event to listener
>> instance of class
>> *org.apache.myfaces.webapp.StartupServletContextListener*
>>
>> *java.lang.NoClassDefFoundError:
>> org/apache/myfaces/custom/dojo/DojoWidget*
>>
>> at java.lang.ClassLoader.defineClass0(_Native Method_)
>>
>> at java.lang.ClassLoader.defineClass(Unknown Source)
>>
>> at java.security.SecureClassLoader.defineClass(Unknown Source)
>>
>> at
>> org.apache.catalina.loader.WebappClassLoader.findClassInternal(_WebappClassLoader.java:1815_)
>>
>> at
>> org.apache.catalina.loader.WebappClassLoader.findClass(_WebappClassLoader.java:869_)
>>
>> at
>> org.apache.catalina.loader.WebappClassLoader.loadClass(_WebappClassLoader.java:1322_)
>>
>> at
>> org.apache.catalina.loader.WebappClassLoader.loadClass(_WebappClassLoader.java:1201_)
>>
>> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>>
>> at java.lang.Class.forName0(_Native Method_)
>>
>> at java.lang.Class.forName(Unknown Source)
>>
>> at
>> org.apache.myfaces.shared_impl.util.ClassUtils.classForName(_ClassUtils.java:131_)
>>
>> at
>> org.apache.myfaces.shared_impl.util.ClassUtils.simpleClassForName(_ClassUtils.java:157_)
>>
>> at
>> org.apache.myfaces.application.ApplicationImpl.addComponent(_ApplicationImpl.java:269_)
>>
>> at
>> org.apache.myfaces.config.FacesConfigurator.configureApplication(_FacesConfigurator.java:479_)
>>
>> at
>> org.apache.myfaces.config.FacesConfigurator.configure(_FacesConfigurator.java:141_)
>>
>> at
>> org.apache.myfaces.webapp.StartupServletContextListener.initFaces(_StartupServletContextListener.java:69_)
>>
>> at
>> org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(_StartupServletContextListener.java:52_)
>>
>> at
>> org.apache.catalina.core.StandardContext.listenerStart(_StandardContext.java:3763_)
>>
>> at
>> org.apache.catalina.core.StandardContext.start(_StandardContext.java:4211_)
>>
>> at
>> org.apache.catalina.core.ContainerBase.start(_ContainerBase.java:1013_)
>>
>> at
>> org.apache.catalina.core.StandardHost.start(_StandardHost.java:718_)
>>
>> at
>> org.apache.catalina.core.ContainerBase.start(_ContainerBase.java:1013_)
>>
>> at
>> org.apache.catalina.core.StandardEngine.start(_StandardEngine.java:442_)
>>
>> at
>> org.apache.catalina.core.StandardService.start(_StandardService.java:450_)
>>
>> at
>> org.apache.catalina.core.StandardServer.start(_StandardServer.java:709_)
>>
>> at org.apache.catalina.startup.Catalina.start(_Catalina.java:551_)
>>
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(_Native Method_)
>>
>> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>
>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>
>> at java.lang.reflect.Method.invoke(Unknown Source)
>>
>> at org.apache.catalina.startup.Bootstrap.start(_Bootstrap.java:294_)
>>
>> at org.apache.catalina.startup.Bootstrap.main(_Bootstrap.java:432_)
>>
>> Apr 4, 2007 5:46:39 PM org.springframework.web.context.ContextLoader
>> initWebApplicationContext
>>
>> INFO: Root WebApplicationContext: initialization started
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>
>
>