This appears to be a bug in JBP. The way the portal loads resource files for 
portlets does not seem to match the standard, or the way it loads for jsp 
views. So from what i have seen, to load a properties file for portlet (java) 
access, i must name the file something like 
com.something.BlahPortlet.properties and place it in the /classes/ directory of 
the war. That works fine, until i try to access those properties from included 
jsp files. To access from jsp, the properties file should be in the path 
/com/something/BlahPortlet.properties

JBP fails to find the resource bundle file in the path, for portlet code. I 
tired the same war on a simple Pluto 1.0.1 install and it worked just fine, for 
jsp and java code.

I've also noticed that JBP failes to load a portlet if javax.portlet.title is 
defined in the resource bundle and not directly in the portlet.xml file. This 
is all on Alpha, havent tried on Beta yet. I can get more detailed in bug 
report if someone doesn't have more info to convince me that it's not a bug. 
... .joe


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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3871667


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to