[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-2856) s:selectItems with itemValue not submitting itemValue's data
by Branimir Minkov (JIRA)
s:selectItems with itemValue not submitting itemValue's data
------------------------------------------------------------
Key: JBSEAM-2856
URL: http://jira.jboss.com/jira/browse/JBSEAM-2856
Project: JBoss Seam
Issue Type: Bug
Components: JSF Controls
Affects Versions: 2.0.1.GA
Environment: JDK 1.6.0_03, JBoss Server 4.2.1
Reporter: Branimir Minkov
I am trying to set a String value on a backing bean. Here is the Facelet part:
<h:selectOneMenu value="#{someEntity.someString}">
<s:selectItems value="#{someEjbQl.resultList}" var="obj" label="#{obj.name}" itemValue="#{obj.code}" noSelectionLabel="Please select..." />
<!-- <s:convertEntity /> -->
</h:selectOneMenu>
The issue is that I want to have a String submitted and set by Seam, in {someEntity.someString}. I think that the usage of itemValue controls of what gets submitted to the server. What happens is that in practice is different. itemValue="#{obj.code}" is a String for sure.
Cleared browser and JBoss 4.2.1's cache. Here is the HTML output without using the <s:convertEntity />:
<select name="editRelationForm:j_id143" size="1">
<option value="org.jboss.seam.ui.NoSelectionConverter.noSelectionValue">Please select...</option>
<option value="com.phpstruts.domain.IstsRfIstsRf@100a7">ARC</option>
<option value="com.phpstruts.domain.IstsRfIstsRf@10115">AUT</option>
<option value="com.phpstruts.domain.IstsRfIstsRf@10266">BAP</option>
<option value="com.phpstruts.domain.IstsRfIstsRf@1077b">CLO</option>
<option value="com.phpstruts.domain.IstsRfIstsRf@12ff5">NEW</option>
<option value="com.phpstruts.domain.IstsRfIstsRf@136fd">PAY</option>
<option value="com.phpstruts.domain.IstsRfIstsRf@138f8">PRE</option>
<option value="com.phpstruts.domain.IstsRfIstsRf@138fd">PRJ</option>
<option value="com.phpstruts.domain.IstsRfIstsRf@1397b">PVL</option>
<option value="com.phpstruts.domain.IstsRfIstsRf@139da">PYN</option>
<option value="com.phpstruts.domain.IstsRfIstsRf@13eec">REJ</option>
</select>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 11 months
[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-2830) Tomcat hibernate example without JBoss embedded fails with NoClassDefFoundError: org/objectweb/asm/Type
by Jay Balunas (JIRA)
Tomcat hibernate example without JBoss embedded fails with NoClassDefFoundError: org/objectweb/asm/Type
--------------------------------------------------------------------------------------------------------
Key: JBSEAM-2830
URL: http://jira.jboss.com/jira/browse/JBSEAM-2830
Project: JBoss Seam
Issue Type: Bug
Components: Examples
Affects Versions: 2.0.2.CR1
Environment: tomcat 6.0.16
Reporter: Jay Balunas
Fix For: 2.0.2.GA
This is with a straight tomcat deployment - not with JBoss embedded. During deployment and startup get the error below. This is probably a missing library for hibernate.
Caused by: java.lang.NoClassDefFoundError: org/objectweb/asm/Type
at net.sf.cglib.core.TypeUtils.parseType(TypeUtils.java:180)
at net.sf.cglib.core.KeyFactory.<clinit>(KeyFactory.java:66)
at net.sf.cglib.proxy.Enhancer.<clinit>(Enhancer.java:69)
at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:117)
at org.hibernate.proxy.pojo.cglib.CGLIBProxyFactory.postInstantiate(CGLIBProxyFactory.java:43)
at org.hibernate.tuple.entity.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:162)
at org.hibernate.tuple.entity.AbstractEntityTuplizer.<init>(AbstractEntityTuplizer.java:135)
at org.hibernate.tuple.entity.PojoEntityTuplizer.<init>(PojoEntityTuplizer.java:55)
at org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping.<init>(EntityEntityModeToTuplizerMapping.java:56)
at org.hibernate.tuple.entity.EntityMetamodel.<init>(EntityMetamodel.java:295)
at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:434)
at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:109)
at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:226)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1294)
at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:915)
at org.jboss.seam.persistence.HibernateSessionFactory.createSessionFactory(HibernateSessionFactory.java:165)
at org.jboss.seam.persistence.HibernateSessionFactory.startup(HibernateSessionFactory.java:79)
... 38 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 11 months
[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-2815) ant cleanall is deleting the entire ditribution directory
by Jay Balunas (JIRA)
ant cleanall is deleting the entire ditribution directory
---------------------------------------------------------
Key: JBSEAM-2815
URL: http://jira.jboss.com/jira/browse/JBSEAM-2815
Project: JBoss Seam
Issue Type: Bug
Components: Build
Affects Versions: 2.0.2.CR1
Reporter: Jay Balunas
Testing using the dist build for 2.0.2.CR1. When running "ant cleanall" it is deleting the entire distribution directory.
:/jboss/projects/seam/2.0.2.CR1/jboss-seam-2.0.2.CR1\ <1093>$ ant cleanall
Buildfile: build.xml
clean.lib:
clean:
[echo]
clean:
cleandist:
[delete] Deleting directory /jboss/projects/seam/2.0.2.CR1/jboss-seam-2.0.2.CR1
cleanall:
[echo] Cleaning on booking example
BUILD FAILED
/jboss/projects/seam/2.0.2.CR1/jboss-seam-2.0.2.CR1/build.xml:313: The following error occurred while executing this line:
/jboss/projects/seam/2.0.2.CR1/jboss-seam-2.0.2.CR1/build.xml:834: The following error occurred while executing this line:
/jboss/projects/seam/2.0.2.CR1/jboss-seam-2.0.2.CR1/build.xml:873: Basedir /jboss/projects/seam/2.0.2.CR1/jboss-seam-2.0.2.CR1/examples/booking does not exist
Total time: 1 second
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 11 months