[JBoss Seam] - Re: Classloader error with seam jboss-seam-1.1-CVS20061016.j
by bsmithjj
just tried the 10.20.2006 build - seems like there are some issues with it:
| 14:51:48,764 INFO [FacesConfigurator] Reading config jar:file:/C:/jboss-4.0.4.EJB.3RC8/server/default/tmp/deploy/tmp51245access-control-1.0.ear-contents/jboss-seam-1.1-CVS20061020.jar!/META-INF/faces
| -config.xml
| 14:51:48,795 ERROR [Digester] Parse Error at line 3 column 12: s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'Inve
| '.
| org.xml.sax.SAXParseException: s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'Inve'.
| at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
| at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
| at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
| at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
| at org.apache.xerces.impl.xs.opti.SchemaDOMParser.characters(Unknown Source)
| at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanContent(Unknown Source)
| at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
| ....
| ...
| ..
| .
|
faces-config.xml in Seam is messed up?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979713#3979713
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979713
19 years, 8 months
[JBoss Seam] - Problem enhancing a reverse engineered CRUD app
by dougorr
I have generated a simple application based on a one-table schema. I then changed the JSPs to Facelets and am displaying the list (from the Finder bean) and the edit page side-by-side.
I want to include an indicator in the list that points to the selected entry displayed in the edit page. I tried the following code:
| <h:dataTable value="#{parentClassList}" var="parentClass"
| styleClass="listtable"
| headerClass="listtablehead"
| rowClasses="listtableodd,listtableeven"
| columnClasses="listtablecol">
| <h:column>
| <f:facet name="header">
| <h:commandLink value="#{msg.ParentClass_name}" action="#{parentClassFinder.reorder}">
| <f:param name="orderBy" value="name"/>
| </h:commandLink>
| </f:facet>
| <h:outputText value="-> " rendered="#{parentClass == parentClassFinder.selectedParentClass}"/>
| <h:commandLink value="#{parentClass.name}" action="#{parentClassSelector.select}"/>
| </h:column>
| </h:dataTable>
|
When I try to view this page I get the following error:
javax.faces.el.PropertyNotFoundException: /ParentClassNavigator.xhtml @29,115 rendered="#{parentClass.id == parentClassFinder.selectedParentClass}": Bean: $Proxy276, property: selectedParentClass
I suspect that the problem is that the attribute "selectedParentClass" (annotated with @DataModelSelection) is not available to the FacesContext. I tried annotating it with @Out but this didn't fix the problem.
This may not be a Seam issue but I would welcome any suggestions.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979712#3979712
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979712
19 years, 8 months