In your case the code is ignored because the xml descriptor is parsed in a 
standard way (i.e. ignoring comments).

BUT: You can do it via code. In the portlet's doView() etc. you can inject any 
HTML you want. Look for the ContentRewritePortlet in the portlet examples (in 
core).


  |       response.setProperty("HEADER_CONTENT", "<your string here>");
  | 

You can even wsrp rewrite the content to get namespacing: 


  |       res.setProperty("WSRP_REWRITE", "true");
  | 



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977239#3977239

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977239
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to