Questions tagged [seam2]

220 questions
0
votes
1 answer

Seam 2.2 conditional injection

I use Seam 2.2 and TestNG. I want to test some methods that delete some resources from WebDav using Sardine. The thing is that Sardine throws error if the resources could not be found where expected, so I made a MockSardineTestClass that mocks the…
spauny
  • 4,976
  • 9
  • 44
  • 61
0
votes
1 answer

cast error with addCallbackParam in primefaces

Using the requestContext demo example in my system http://www.primefaces.org/showcase-labs/ui/requestContext.jsf I am getting the following error Caused by: java.lang.ClassCastException: org.primefaces.context.DefaultRequestContext cannot be cast…
shasho
  • 131
  • 2
  • 13
0
votes
1 answer

How to deployee jboss seam 2.1.2 IN Jboss 7

Now I am using Jboss-seam 2.1.2 ,jsf 2.0 ,richfaces and jpa till now i am used jboss-as 4.2.2 now I want to migrate jboss-as-7.1.1.Final. so now i am make sampleDemo project using seam-gen using jboss- seam 2.1.2 and deplyed in jboss…
nag
  • 647
  • 6
  • 25
  • 43
0
votes
3 answers

No ClassLoaders found for: org.hibernate.search.jpa.FullTextEntityManager when upgrading Hibernate Search

I'm trying to upgrade my application from Hibernate Search 3.1.1.GA to 4.1.1.Final but when starting the jboss instance(4.3.0.GA) I'm getting a: Caused by: java.lang.NoClassDefFoundError: org/hibernate/search/jpa/FullTextEntityManager at…
jakob
  • 5,979
  • 7
  • 64
  • 103
0
votes
1 answer

Soap on jboss 7 is being a nightmare

i am running a soap service on jboss 7. i have a soap service bean which starts like this: @Stateless @WebService(name = "AboxConfigurationMgt", targetNamespace = "http://com.atriumnetwork.ws/abox/configuration", serviceName =…
Ikthiander
  • 3,917
  • 8
  • 37
  • 54
0
votes
2 answers

Richfaces 4, a4j:command render another h:form

How does a4j:commandLink in dataTable render UI Component of another h:form? In tableForm, when I click edit a4j:commandLink of department datatable, ajax cannot render the entryForm of department. I also try to use ajax:region it doesn't work and…
Zaw Than oo
  • 9,651
  • 13
  • 83
  • 131
0
votes
2 answers

Getting server context path on application startup

I am trying to get the server URL (eg. http://www.mywebapp.com/myapp) from the ServletContext when the application starts up, I am doing this by invoking a bean method on startup (using @Startup) and getting the servlet context,…
DaveB
  • 2,953
  • 7
  • 38
  • 60
0
votes
0 answers

Seam pages.xml file not being used

I'm trying to add breadcrumbs to my site based on this example. The issue is the action method in the page tag of pages.xml file is never called. I don't know if I have to configure anything in my web.xml. I tried browsing for solution with no good…
Jane
  • 127
  • 1
  • 9
0
votes
1 answer

Jbpm 5 and Seam 3 integration

Me and 14 collegues are taking the Engeneering Software Project course that takes 12 weeks from now. The main propose in the project is to migrate the technologies between versions of an already made project. The goal is to migrate from Seam 2.2 and…
gonzalomelov
  • 971
  • 1
  • 13
  • 30
0
votes
1 answer

Handle Connection Error when calling seam remote function in javascript

I use seam 2 with javscript remote object and it works fine but I wonder how to handle if the server is unavaible. Currently it display an 503 error on a javascript popup, which is quite awful. i tried try { var remoteObject=…
Antoine O
  • 171
  • 13
0
votes
1 answer

Hibernate-Infinispan NullPointerException in CacheKey.equals method

I am trying to use Infinispan 5.1.5 Final in my app. I use the following environment: JBoss AS 7.1.1 Final Hibernate Core 4.1.5.SP1 Hibernate Search 4.1.1 Final Infinispan 5.1.5 Final JBoss Seam 2.3.0 Beta2 At application startup, I try to see if…
biafran
  • 31
  • 3
0
votes
1 answer

db table locked row and entityManager state

I have a session scoped class that contains an object to manage user statistics. When a user logs in(through SSO) an application scoped method checks the table for active sessions - if any are found the session is invalidated using the session id…
gebuh
  • 797
  • 14
  • 40
0
votes
1 answer

SEAM and Hibernate validation

Seam 2, Jboss 6.1 I currently use Hibernate validation annotations on my persistance object with seam to do validation on my jsf pages: @Entity @Table(name = "CLIENT", catalog = "testdb") public class Client implements java.io.Serializable…
BeCodeMonkey
  • 91
  • 1
  • 6
0
votes
2 answers

Using a dataTable to manage a dynamic number of Strings

I've become stuck on this one:
mabi
  • 5,279
  • 2
  • 43
  • 78
0
votes
1 answer

How to run Java EE project remotely using JBoss AS 4.2?

I am running a Java EE seam project at http://localhost:8080/msh/login.seam?cid=1 using A JBoss server. My computer name is pc-10. I want to access this seam project remotely at http://pc-10:8080/msh/login.seam?cid=1. Could someone please point me…
1 2 3
14
15