[JBoss Seam] - Re: how to set #{invalid} in action
by tynor
I've been reading the source (1.2.1-GA), Luke, but am still without enlightenment. In Seam's UIDecorate, I see:
Contexts.getEventContext().set("invalid", hasMessage(this, context));
and hasMessage() appears to search down the child components looking for messages -- the input control has one since in my code, I do the following:
FacesMessages.instance().addToControl("name", new InvalidValue("my error text", MyClass.class, "name", getInstance().getName(), getInstance()));
You would think that my adding the message to the control would be enough for UIDecorate to find it when it goes searching for messages. It doesn't -- the message is rendered in my facelet, but the label and control are not styled as "error" (which is controlled in the edit.xhtml template via the #{invalid} EL expression).
So what else do I need to do to cause the UIDecorate to see the message and set the invalid property??
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065790#4065790
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4065790
18Â years, 9Â months
[JBossWS] - web service endpoint dissappeared after restart
by 01012003
Hi,
I have developed a web service and tested which worked fine.
A weird situation: after I restarted jboss I do not see my service in jbossws console. When I try to invoke the service I get this error:
| 2007-07-19 14:22:55,610 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/].[RemoteSearch]] Servlet.service() for
| servlet RemoteSearch threw exception
| javax.xml.ws.WebServiceException: Cannot obtain endpoint for: jboss.ws:context=,endpoint=RemoteSearch
| at org.jboss.wsf.spi.invocation.EndpointServlet.initServiceEndpoint(EndpointServlet.java:103)
| at org.jboss.wsf.stack.jbws.ServiceEndpointServlet.initServiceEndpoint(ServiceEndpointServlet.java:49)
| at org.jboss.wsf.spi.invocation.EndpointServlet.service(EndpointServlet.java:65)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
| at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
| at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
| at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
| at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
| at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
| at java.lang.Thread.run(Thread.java:619)
|
I am using jbossws2.0, jboss-4.2.0 with jdk.1.6 on linux.
I have done the steps to use jboss ws with jdk1.6.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065783#4065783
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4065783
18Â years, 9Â months