accessing framework resources from "external" special purpose component

2010-09-02 Thread frabjousB
For source control purposes, we have separated our specialpurpose "test_project" component from the main ofbiz directory structure like so: /projects/ofbiz/ (OFBiz location) /projects/test_project/ (test_project component location) /projects/ofbiz/specialpurpose/build.xml then contains:

Re: why use <@ofbizContentUrl>

2010-08-12 Thread frabjousB
Oh, I think I may have answered my own question. In framework/webapp/config/url.properties I see where we can define a content.url.prefix.secure and content.url.prefix.standard. In our implementation, this value is blank so that is why I am seeing the same value with or without the tags. Is thi

why use <@ofbizContentUrl>

2010-08-12 Thread frabjousB
Forgive the very basic question. I understand that this is a freemarker transform. But, under what circumstances would this tag be used? I was using it to load css: <@ofbizContentUrl>${StringUtil.wrapString(css)} but got the same output without the @ofbizContentUrl tags. Thanks in advance for t

Re: *UiLabels.xml v. *UiLabels.properties

2010-08-03 Thread frabjousB
Excellent. Thank you! -- View this message in context: http://ofbiz.135035.n4.nabble.com/UiLabels-xml-v-UiLabels-properties-tp2312323p2312473.html Sent from the OFBiz - User mailing list archive at Nabble.com.

Re: *UiLabels.xml v. *UiLabels.properties

2010-08-03 Thread frabjousB
Thanks for the responses everyone. I came across this article: http://www.opensourcestrategies.com/ofbiz/internationalizing_ofbiz.php and was wondering if there was anything to be gained by using .properties instead. That is, from a performance perspective, does one format do better than another

*UiLabels.xml v. *UiLabels.properties

2010-08-03 Thread frabjousB
Hi, Is there any preference for storing UI strings in a .xml versus a .properties file? Thanks in advance! -- View this message in context: http://ofbiz.135035.n4.nabble.com/UiLabels-xml-v-UiLabels-properties-tp2312323p2312323.html Sent from the OFBiz - User mailing list archive at Nabble.c

adding expires headers for css, js, gifs, jpgs, pngs

2010-07-28 Thread frabjousB
Hello, Is there a way to set expires headers for resources such as css, js, gifs, jpgs, pngs within ofbiz configuration files? Our current implementation does not use Apache, so the only solution I have found so far is to implement a filter to Tomcat (http://www.tomred.net/tutorials/java/82-java-

Re: passing arguments into strings defined in UILabels

2010-07-27 Thread frabjousB
Thank you! -- View this message in context: http://ofbiz.135035.n4.nabble.com/passing-arguments-into-strings-defined-in-UILabels-tp2304013p2304503.html Sent from the OFBiz - User mailing list archive at Nabble.com.

passing arguments into strings defined in UILabels

2010-07-27 Thread frabjousB
Hi, Is there a way to pass arguments into strings retrieved from the UILabels.xml files? For example, assuming uiLabelMap maps to UILabels.xml, can I pass a number (e.g., 100) to ${uiLabelMap.balance} so that the FTL page ultimately displays "Your balance is 100"? If so, how can I do this? T

Re: Users - JSP TAG LIBs

2010-07-06 Thread frabjousB
I'd be very interested in knowing how I can use a jsp taglib in an ftl page. Basically, I want to use packtag to compress, minify and combine javascript and css resources. What is the solution to get taglibs working within ftl pages? Thanks so much. -- View this message in context: http://ofb