[JBoss Seam] - @DataModelSelection problem
by ulath
hi all,
i have one DataModel and one DataModelSelection in a conversation scoped bean (let call conversation scoped bean as myAction and dataModel as myDataModel). everything works fine if i only use reference to the datamodel component in the view.
whenever i refer to myAction.anotherProperty
DataModelSelection (call as selectedModel) is filled with the first value of the DataModel at the render response phase... (of course i use myAction functions i can't use properties)
i have opened the seam logging
and in the logs (with the myAction.anotherProperty reference in the view)
11:22:25,477 DEBUG Component:2132 - trying to inject with hierarchical context search: selectedModel
| 11:22:25,477 DEBUG Component:1500 - selected row: domain.Model@983fe1
and in the logs (without the myAction.anotherProperty reference)
11:21:26,418 DEBUG Component:2132 - trying to inject with hierarchical context search: selectedModel
| 11:21:26,418 DEBUG Component:1962 - instantiating Seam component: org.jboss.seam.web.parameters
why DataModelSelection selected automatically?
PS: seam version is: 2.0.0.CR1
regards....
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096875#4096875
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096875
18Â years, 9Â months
[JBossWS] - Re: Jbossws Tutorial.
by abdujaparov
Hi everybody, I developed my client class with axis, with wsdl2java I have produced the stubs classes for the client.
For the client you can use every solution. The tools as wsprovide or wsconsume give me the same error of zeeshan and I don't know how can resolve it.
The client code is the following:
| import java.rmi.RemoteException;
|
| import javax.xml.rpc.ServiceException;
|
| import client.*;
|
|
| public class Client {
|
| /**
| * @param args
| * @throws ServiceException
| * @throws RemoteException
| */
| public static void main(String[] args) throws ServiceException, RemoteException {
| // TODO Auto-generated method stub
|
| SumService ss = new SumServiceLocator();
|
| Sum sun = ss.getSumPort();
|
| System.out.println(sun.sumAB(6, 3));
| }
|
| }
|
If someone discovers how resolve and how work wstools could tell me the way?
Thanks.
Bye bye.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096871#4096871
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096871
18Â years, 9Â months