[JBoss Portal] - separating layout from theme?
by FredF
Hello.
I am using JBoss Portal 2.6 and I want to use the same theme on page A and page B but use different number of columns for the pages. Is this possible? As far as I can see, the number of columns is defined within each theme, so this is "tightly coupled" and not separatable.
I do not want to define two almost identical themes for the two pages just because they use different number of columns.
The ideal situation for us would be to define some parts of the theme, eg. portlet images (portlet-titlebar-right, left, center etc), number of colums and the widht of the columns and assign this to each portal page aside from the other theme properties like background image.
What are the chances of seeing these features in the nearest two months?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4025395#4025395
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4025395
19Â years, 1Â month
[JBossWS] - JBossWS-1.2.0.GA invalid wsdl generated when using @jXmlSche
by centecbertl
Hi,
While the @javax.xml.bind.annotation.XmlSchema annotation within the package-info.java of an class not inheriting from other packages works perfectly, JBossWS generates the following error for derived datatypes:
| 14:35:02,173 ERROR [ServiceEndpointPublisher] Cannot obtain waURL for: webservice-test.ear/webservice-test.jar
| 14:35:02,283 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=src-resolve.4.2]::Message...: Error resolving component 'ns1:aClass'. It was detected that 'ns1:aClass' is in namespace 'http://test.org/wsclient/a', but components from this namespace are not referenceable from schema document 'null'. If this is the incorrect namespace, perhaps the prefix of 'ns1:aClass' needs to be changed. If this is the correct namespace, then an appropriate 'import' tag should be added to 'null'.
The Parameter classes causing this problem are a.AClass, b.Bclass defined in the packages a, and b with the following package-info.java @XmlSchema annotations:
file a/package-info.java:
| @javax.xml.bind.annotation.XmlSchema(namespace = http://test.org/wsclient/a" )
| package a;
|
file a/AClass.java:
| package a;
| public class AClass {
| int a;
|
| public int getA() {
| return a;
| }
| public void setA(int testInt) {
| this.a = testInt;
| }
| }
|
file b/package-info.java:
| @javax.xml.bind.annotation.XmlSchema(namespace = http://test.org/wsclient/b" )
| package b;
|
file b/BClass.java
| package b;
|
| public class BClass extends a.AClass {
| String b;
|
| public String getB() {
| return b;
| }
| public void setB(String testString) {
| this.b = testString;
| }
| }
|
The relevant part of the generated WSDL (which is visible under jbossws/service is:
| <xs:schema targetNamespace="http://test.org/wsclient/b" version="1.0">
| <xs:complexType name="bClass">
| <xs:complexContent>
| <xs:extension base="ns1:aClass">
| <xs:sequence>
| <xs:element minOccurs="0" name="b" type="xs:string"/>
| </xs:sequence>
| </xs:extension>
| </xs:complexContent>
| </xs:complexType>
| </xs:schema>
| <xs:schema targetNamespace="http://test.org/wsclient/a" version="1.0">
| <xs:complexType name="aClass">
| <xs:sequence>
| <xs:element name="a" type="xs:int"/>
| </xs:sequence>
| </xs:complexType>
| </xs:schema>
|
where the declaration of bClass references the ns1 namespace without declaring it.
The same thing happens when aClass is aggreagated by bClass.
My Test Envrionment is
JBossAS 4.0.5, JBossWS-1.2.0.GA (compiled according to the Howto in the Wiki after checking out the sources from svn , installed using the projects deploy-jboss40 ant-target)
(PS: if this a a new issue I could provide you with the complete example code/maven project to reproduce the problem)
Best Regards,
Bertl
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4025392#4025392
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4025392
19Â years, 1Â month
[JBoss Seam] - CSS background image ending conversation?
by lcoetzee
Hi,
we make use of several different CSS to improve the accessibility of the page currently viewed. While a page is viewed we have a long running conversation. I make use of some javascript to change the default style sheet to one with a different background and fonts. In this CSS a new background image is specified, which is then retrieved from the server:
| body {
| color:#FFF;
| background-color: #000;
| background-image:url(../../images/backgroundBlack.gif);
| background-position:left;
| background-repeat:repeat-y;
| }
|
A call is made to the backend to get the image (and the CSS). Unfortunately this call does not contain the conversationId, resulting in the Seam framework ending the conversation (resulting in all sorts of problems when the next step with the new view options is tried). The behavior is correct when I use the new stylesheet, but with the background-image specification commented out.
I am running Seam 1.1.6GA.
It there anyway to prevent my conversation from being ended when the backend receives the get for this image ? I have the feeling that there should be a url-pattern in my web.xml which I can configure so that this request is not handled by JSF/Seam (but my knowledge is way too limited).
Any suggestions welcome.
Thanks
Louis
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4025384#4025384
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4025384
19Â years, 1Â month
[JBossWS] - ClassNotFoundException and a generated __JBossWS_... class
by jimmycallaghan
We're deploying a JBoss WS application and getting a nasty error:
| 13:24:34,303 ERROR [AbstractServlet] Error processing web service request
| javax.xml.rpc.JAXRPCException: org.jboss.ws.binding.BindingException: javax.xml.bind.MarshalException: java.lang.ClassNotFoundException: com.telrock.mint.business.ejb3.webservice.__JBossWS_MintService_MintPort_getSummary
| at org.jboss.ws.soap.SOAPContentElement.getXMLFragment(SOAPContentElement.java:187)
| at org.jboss.ws.soap.SOAPContentElement.expandToDOM(SOAPContentElement.java:844)
| at org.jboss.ws.soap.SOAPContentElement.getChildNodes(SOAPContentElement.java:761)
| at org.jboss.util.xml.DOMWriter.printInternal(DOMWriter.java:211)
| ...
| ...
|
| Caused by: org.jboss.ws.binding.BindingException: javax.xml.bind.MarshalException: java.lang.ClassNotFoundException: com.telrock.mint.business.ejb3.webservice.__JBossWS_MintService_MintPort_getSummary
| at org.jboss.ws.jaxrpc.encoding.JAXBSerializer.serialize(JAXBSerializer.java:112)
| at org.jboss.ws.soap.SOAPContentElement.getXMLFragment(SOAPContentElement.java:172)
| ... 30 more
| Caused by: javax.xml.bind.MarshalException: java.lang.ClassNotFoundException: com.telrock.mint.business.ejb3.webservice.__JBossWS_MintService_MintPort_getSummary
| at org.jboss.ws.jaxb.JAXBMarshallerImpl.marshal(JAXBMarshallerImpl.java:181)
| at org.jboss.ws.jaxrpc.encoding.JAXBSerializer.serialize(JAXBSerializer.java:100)
| ... 31 more
| Caused by: java.lang.ClassNotFoundException: com.telrock.mint.business.ejb3.webservice.__JBossWS_MintService_MintPort_getSummary
| at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1352)
| at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198)
| at org.jboss.ws.utils.JavaUtils.loadJavaType(JavaUtils.java:81)
| at org.jboss.ws.jaxb.JAXBMarshallerImpl.marshal(JAXBMarshallerImpl.java:126)
|
There is nothing special about the code and we're not trying to use an isolated classloader or anything. When the relevant classes are included as a stand alone application everything works OK. When we deploy the exact same classes with the main project we get this error.
The client code was generated in Eclipse from the WSDL URL that was provided by JBoss on deploying the application. I've added a classloader log and I can't find any mention of the __JBoss...getSummary class however I do find a __JBoss...getSummaryBeanInfo class.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4025380#4025380
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4025380
19Â years, 1Â month