seam

maven-javadoc-plugin and failsafe-maven-plugin missing when build JBoss Seam examples

落花浮王杯 提交于 2019-12-11 05:19:34
问题 I'm trying to build JBoss Seam examples using Maven 3.0.4 but I'm getting missing plugin errors: juliano.schroeder remoting-helloworld $ mvn jboss-as:deploy [INFO] Scanning for projects... [WARNING] The POM for org.jboss.maven.plugins:maven-javadoc-plugin:jar:2.8 is missing, no dependency information available [WARNING] Failed to retrieve plugin descriptor for org.jboss.maven.plugins:maven-javadoc-plugin:2.8: Plugin org.jboss.maven.plugins:maven-javadoc-plugin:2.8 or one of its dependencies

Check for validation errors in part of a form in JSF

霸气de小男生 提交于 2019-12-11 04:12:16
问题 I'm building a Seam application, which is basically a huge form divided into different parts, or modules. I need a way to figure out when a module is "complete", meaning all validation for the fields in that module passes. I then need to do something in the view, setting a css-class or whatever. Something like: <a:region id="region1"> <s:div styleClass="#{invalid ? 'errors' : ''}"> <h:inputText required="true" id="input1" /> <h:inputText required="true" id="input2" /> <h:commandButton value=

Using foreach into jsf / xhtml

风格不统一 提交于 2019-12-11 04:08:51
问题 Well, I array a dataTable where i must have some dynamic columns.... So im using dataTable... Like the code above: <rich:dataTable value="#{query.dataModel}" var="inscricao"> <rich:column label="My List"> <f:facet name="header"> <h:outputText value="My List" /> </f:facet> <h:outputText value="#{query.presencas.size()}" /> </rich:column> <c:forEach var="presenca" items="${query.presencas}"> <rich:column label="Presença"> <f:facet name="header"> <h:outputText value="Presença" /> </f:facet> <h

selenium server launching two test execution tabs in firefox

我怕爱的太早我们不能终老 提交于 2019-12-11 02:36:53
问题 So as the title suggests, when launching my HTML suite with a custom firefox profile (also with multiwindow ), the server is launching two tabs, both trying to execute the test, targetting the same single window the actions are being carried out in. If I close one of the selenium tabs, the test will then complete successfully. The custom profile is a profile created in firefox 19.0.2 and I am now running it in 20.0 Now If I update up the custom profile to coincide with the latest version of

FullTextHibernateSessionProxy is not visible from class loader

怎甘沉沦 提交于 2019-12-11 02:14:19
问题 I have run into a very strange error that I can´t wrap my head around. I´m running Seam 2.2.1.CR2 and JBoss 4.3.0.GA. My application consist of 3 modules: application.xml <display-name>CoolWebApp</display-name> <module id="EJB3"> <ejb>EJB3.jar</ejb> </module> <module id="WEB"> <web> <web-uri>WEB.war</web-uri> <context-root>/</context-root> </web> </module> <module> <ejb>jboss-seam-2.2.1.CR2.jar</ejb> </module> The following bean is scheduled and should run asynchronously. It resides in my

Seam/JSF form submit firing button onclick event

情到浓时终转凉″ 提交于 2019-12-10 20:57:42
问题 I have a search form with a query builder. The builder is activated by a button. Something like this <h:form id="search_form"> <h:outputLabel for="expression" value="Expression"/> <h:inputText id="expression" required="true" value="#{searcher.expression}"/> <button onclick="openBuilder(); return false;">Open Builder</button> <h:commandButton value="Search" action="#{searcher.search}"/> </h:form> The result is HTML that has both a <button/> and an <input type="submit"/> in the form. If the

StackOverflowError in Seam / Spring WebFlow Application

佐手、 提交于 2019-12-10 20:31:49
问题 We are gradually replacing Seam components with Spring-MVC and Spring-Webflow. Running JMeter-tests the logs get cluttered with StackOverFlowErrors after a couple of hours: javax.servlet.ServletException: Servlet execution threw an exception at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:313) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter

Seam @Transactional annotation not working?

假如想象 提交于 2019-12-10 20:19:06
问题 I'm using the @Transactional annotation on a seam component similar to: @Name( "myComponent" ) @AutoCreate public class MyComponent { public void something() { ... doWork(); } ... @Transactional protected void doWork() { try { log.debug( "transaction active: " + Transaction.instance().isActive() ); } catch (Exception ignore) {} // some more stuff here that doesn't appear to be inside a transaction } } In the "some more stuff" section, I'm modifying some Hibernate entities and then had a bug

Bad value for type timestamp on production server

夙愿已清 提交于 2019-12-10 18:34:49
问题 I'm working with: seam 2.2.2 + hibernate + richfaces + jboss 5.1 + postgreSQL I have an module which needs to load some data from the database. Easy. The problem is, on development it works fine, 100%, but when I deploy on my production server and try to get the data, an error rise: could not read column value from result set: fechahor9_504_; Bad value for type timestamp : [C@122e5cf SQL Error: 0, SQLState: 22007 Bad value for type timestamp : [C@122e5cf javax.persistence.PersistenceException

Help me to understand SEAM and Hibernate?

落花浮王杯 提交于 2019-12-10 15:37:54
问题 I want to use SEAM Framework with Hibernate but do not want to use EJB. I cannot use EJB. First question is, can I use EntityManager? or is EntityManager a part of EJB? How can I get access to use Hibernate in my SEAM component? Thanks, Philip 回答1: With Seam, you can use either Hibernate or JPA (EntityManager). It works regardless of EJB. You can use plain POJO if you want. How can I get access to use Hibernate in my SEAM component ? Here goes Hibernate settings WEB-INF/components.xml