I am injecting both link and script this way without problem. One thought might be if
your portlet-name (welcome) did not match the same value in portlet.xml?
Also check your jboss log file after you deploy -- I've had silent failures when the
parsing of the jboss-portlet.xml fails due to a syntax error. After the INFO
[TomcatDeployer] deploy line in the log you should see an INFO [PortletAppDeployment]
Parsing /xyz/jboss-portlet.xml line.
File ideally would now use DTD at top, although shouldnt matter.
| <?xml version="1.0" encoding="UTF-8"?>
| <!DOCTYPE portlet-app PUBLIC
| "-//JBoss Portal//DTD JBoss Portlet 2.6//EN"
| "http://www.jboss.org/portal/dtd/jboss-portlet_2_6.dtd">
| <portlet-app>
| ...
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4142725#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...