[JBoss Seam] - Re: Parameter passing for page action
by christian.bauer@jboss.com
It's the same issue I talked about in the other forum thread: You are trying to use doStuff(foo.bar) for something it simply doesn't do. What you wrote is just a shortcut for this:
| @Name(categoryAction)
| Class CategoryAction
| {
|
| @In("#{home.category}")
| private Category category;
|
| public String action()
| {
| this.category = category
| return "category.xhtml"
| }
| }
|
As you can probably guess, when action() is called, the @In will not find "home" because that component is not in any stateful context. So you need to put it in a stateful context - and there are only two choices for such a simple case: Session and Conversation.
Session is not good because it is not isolated for different browser windows and concurrent access. So you want to read up on Conversation and how you can span a conversation context across requests, to put stuff into it and read out of it.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4044773#4044773
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4044773
19 years, 1 month
[JBossWS] - Webservice deployment error with JbossWS
by trivedi
Hi,
I am using jboss4.0.4GA and jbossws-1.0.4.GA. I am doing wsdl first approach. using jaxws I generated java classes. when i deploy the war into jboss, it is throwing the following WARN..
23:31:08,656 WARN [SchemaTypeCreator] JAX-RPC does not allow collection types skipping: java.security.cert.CertPath.certificates
23:31:08,671 WARN [SchemaTypeCreator] JAX-RPC does not allow collection types skipping: com.gehcit.platform.ws.types.docreg._1.FindDocumentsQuery.availabilityStatus
23:31:08,687 WARN [SchemaTypeCreator] JAX-RPC does not allow collection types skipping: com.gehcit.platform.ws.types.wrapper._1.CodeListCriteria.matchValues
23:31:08,687 WARN [SchemaTypeCreator] JAX-RPC does not allow collection types skipping: com.gehcit.platform.ws.types.docreg._1.FindDocumentsResponse.documentInfo
23:31:08,703 WARN [SchemaTypeCreator] JAX-RPC does not allow collection types skipping: com.gehcit.platform.ws.types.docreg._1.GetAffinityDomainsResponse.affinityDomain
Its basically removing the collections that has been generated from the jaxb compiler. when i see my wsdl (ie generated one), these fields are missing from it, let me know what should i do?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4044771#4044771
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4044771
19 years, 1 month