[JBoss Seam] - Re: <s:link view=
by superfis
Yes, you are definitely right. With current functionality there is inevitible to create another method returns outcome string. My point of view should avoid this another method and created link should pointed directly to desired site url .
And now something completely (not entirely) different... Using <s:link action="#{...}" /> I notised that final url is incorrect but only when long-running conversation propagated exists in url; there is double "?" mark.
My own case looks like this:
"location.href='/cinema/wizardCinema.seam?actionMethod=wizardContainer.previousStepSite&conversationId=2?lrc=true'"
Regards,
Slawek
-------------------------------------------------
* - lrc is long-running conversation
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960008#3960008
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960008
19 years, 9 months
[EJB 3.0] - Defining a POJO service through an XML descriptor
by adamw
Hello,
I'm trying to define an EJB3 POJO service through an XML descriptor. And almost everything works, with the exception of the <object-name> tag (I'm doing exactly as described in this tutorial: http://docs.jboss.org/ejb3/app-server/tutorial/service_deployment_descrip.... However, when I try to deploy, I get the following error message:
| org.jboss.xb.binding.JBossXBException: Failed to parse source: cvc-complex-type.2.4.a: Invalid content was found starting with element 'object-name'. One of '{"http://java.sun.com/xml/ns/javaee":interceptor-stack, "http://java.sun.com/xml/ns/javaee":proxy-factory, "http://java.sun.com/xml/ns/javaee":ejb-ref, "http://java.sun.com/xml/ns/javaee":ejb-local-ref, "http://java.sun.com/xml/ns/javaee":security-identity, "http://java.sun.com/xml/ns/javaee":resource-ref, "http://java.sun.com/xml/ns/javaee":resource-env-ref, "http://java.sun.com/xml/ns/javaee":message-destination-ref, "http://java.sun.com/xml/ns/javaee":security-domain, "http://java.sun.com/xml/ns/javaee":method-attributes, "http://java.sun.com/xml/ns/javaee":depends, "http://java.sun.com/xml/ns/javaee":ignore-dependency, "http://java.sun.com/xml/ns/javaee":aop-domain-name}' is expected. @ *unknown*[15,26]
|
Should I replace the tag with something else? (the xml is correct according to the XSD)
--
Cheers
Ada
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960002#3960002
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960002
19 years, 9 months