Hi
It's a very interting forum. I am tryign to set the content type to
mulitpart/form-data.
I did the changes in the xml file as mentiond by Shaun.
But i got the following exception
15:53:41,991 ERROR [ObjectModelBuilder] Failed to invoke method public java.lang.Object
org.jboss.portal.theme.deployment.jboss.LayoutStategyMetaDataFactory.newChild(java.util.ArrayList,org.jboss.xb.binding.UnmarshallingContext,java.lang.String,java.lang.String,org.xml.sax.Attributes)
throws javax.activation.MimeTypeParseException,
factory=org.jboss.portal.theme.deployment.jboss.LayoutStategyMetaDataFactory@4b0cbc
| javax.activation.MimeTypeParseException: Type [multipart/form-data] not supported
| at org.jboss.portal.common.MediaType.parseMimeType(MediaType.java:214)
| at
org.jboss.portal.theme.deployment.jboss.LayoutStategyMetaDataFactory.newChild(LayoutStategyMetaDataFactory.java:63)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at
org.jboss.xb.binding.ObjectModelBuilder.invokeFactory(ObjectModelBuilder.java:435)
| at
org.jboss.xb.binding.DelegatingObjectModelFactory.newChild(DelegatingObjectModelFactory.java:93)
| at org.jboss.xb.binding.ObjectModelBuilder.startElement(ObjectModelBuilder.java:337)
| at
org.jboss.xb.binding.parser.sax.SaxJBossXBParser$DelegatingContentHandler.startElement(SaxJBossXBParser.java:299)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4003229#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...