Re: session clearing on each click of ofbiz application

2010-06-07 Thread prasanthi_ofbiz
Dear BJ, We have an set up where ofbiz is accessed through Apache web server. Ofbiz is also integrated with CAS server for single sign on. When we are accessing ofbiz, the session created for path /accounting is not getting saved in the cookie. Due to which whenever we are click on any tab, it i

Re: Where from the field id is getting populated in an xml file form?

2010-06-07 Thread Shubham Dubey
If you specify your own id name then it gets displayed else it is generated as follows see : ModelFormField.java ( 1102 ) public String getIdName() { if (UtilValidate.isNotEmpty(idName)) { return idName; } else { *return this.modelForm.getName() + "_" + th

Re: Where from the field id is getting populated in an xml file form?

2010-06-07 Thread Ankit Jain
On Tuesday 08 June 2010 10:17 AM, Deepika1234 wrote: In form CommForms.xml at no place is specified. Please let me know from where the form id is getting populated in the view source. http://www.w3.org/2001/XMLSchema-instance"; xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget

Re: Where from the field id is getting populated in an xml file form?

2010-06-07 Thread Shubham Dubey
Hi Deepika This id is generated as follows id= formName +"_" + fieldName Thanks Shubham Dubey Deepika1234 wrote: In form CommForms.xml at no place is specified. Please let me know from where the form id is getting populated in the view source. http://www.w3.org/2001/XMLSchema-instance";

Re: Where from the field id is getting populated in an xml file form?

2010-06-07 Thread Deepika1234
In form CommForms.xml at no place is specified. Please let me know from where the form id is getting populated in the view source. http://www.w3.org/2001/XMLSchema-instance"; xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-form.xsd"; > -

Re: Redirection after checking browser url

2010-06-07 Thread BJ Freeman
if you using AJP then I suggest rewrite in apache http://httpd.apache.org/docs/2.2/misc/rewriteguide.html you can use regex = BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Automation

Re: Redirection after checking browser url

2010-06-07 Thread Adrian Crum
That exception is thrown when the response has been committed. You can't do a redirect after you start sending content. -Adrian On 6/7/2010 4:36 PM, eric wrote: Hi, (I havn't had a response from the dev mailing list) To avoid error or multiple urls for one page (SEO) or no content I check th

Redirection after checking browser url

2010-06-07 Thread eric
Hi, (I havn't had a response from the dev mailing list) To avoid error or multiple urls for one page (SEO) or no content I check the browser url with the original page url If the bowser url is wrong, i want to redirect the visitor to the right url I don't want to use an HTML refresh. If a call "

Re: Q. display date only for reivew postedDateTime

2010-06-07 Thread HyunWoo Jo
Adrian, thank you very much. it works for me. again, thank you. hyun On Jun 7, 2010, at 5:54 PM, Adrian Crum wrote: http://www.freemarker.org/docs/ref_builtins_date.html -Adrian On 6/7/2010 2:19 PM, HyunWoo Jo wrote: hello users! this could be very simple, i just dont know how to do.

Re: Q. display date only for reivew postedDateTime

2010-06-07 Thread HyunWoo Jo
Patrick, thanks for the advice. i tried your suggested code below, but it didn't work out. i guess i had to make a java too in conjunction with the code you provided, hadn't i? if it's the case, i don't know how to. however, Adrian's link works for me thank you though. hyun On Jun 7, 20

Q. display date only for reivew postedDateTime

2010-06-07 Thread HyunWoo Jo
hello users! this could be very simple, i just dont know how to do. in product review, it displays date and time, but how i can make it shows only date only? i am working with ecommerce/webapp/ecommerce/catalog/productdetail.ftl and this is the line that i am trying to figure out. ${uiLabel

Re: Q. display date only for reivew postedDateTime

2010-06-07 Thread Adrian Crum
http://www.freemarker.org/docs/ref_builtins_date.html -Adrian On 6/7/2010 2:19 PM, HyunWoo Jo wrote: hello users! this could be very simple, i just dont know how to do. in product review, it displays date and time, but how i can make it shows only date only? i am working with ecommerce/webap

Re: Q. display date only for reivew postedDateTime

2010-06-07 Thread Patrick
I would make a java function to trim the string there might be other ways <#assign dateOnly= someStaticJavaFunction(productReview.postedDateTime) /> On Mon, Jun 7, 2010 at 4:19 PM, HyunWoo Jo wrote: > hello users! > > this could be very simple, i just dont know how to do. > > in product review,

Re: Install errors with Tomcat 6 on Linux

2010-06-07 Thread BJ Freeman
this is from the default install I don't see in your logs you should see something similar for your db. 2010-06-06 19:47:24,984 (main) [ ModelEntityChecker.java:501:INFO ] [initReservedWords] array length=1023 2010-06-06 19:47:26,078 (main) [ GenericDelegator.java:269:INFO ] Delegator "defau

Re: ant create-component

2010-06-07 Thread BJ Freeman
I have created 18 of these. I have gotten one to work. I did a few steps at once so not sure yet what it takes to fix. will post once I figure it out with the other 17. I have mine in a root folder that I link into the ofbiz-load.xml = BJ Freeman http://bjfreeman.elance.c

Re: ant create-component

2010-06-07 Thread BJ Freeman
thanks. I created 18 of these and they all have the same problem. now I got one working but i did a few steps at once so not sure yet what it takes to fix them. Shubham Dubey sent the following on 6/6/2010 9:24 PM: = BJ Freeman http://bjfreeman.elance.com Strategic P

Re: Where from the field id is getting populated in an xml file form?

2010-06-07 Thread Patrick
are you using in CommForms.xml? On Mon, Jun 7, 2010 at 4:08 AM, Deepika1234 wrote: > > In CommForms.xml we have the following sub-forms:- > > > >             >                 entity-name="RoleType" key-field-name="roleTypeId"> >                     >                 >             >         > >

Where from the field id is getting populated in an xml file form?

2010-06-07 Thread Deepika1234
In CommForms.xml we have the following sub-forms:- The view source we get Role Type Id To AccountA

Re: Security Warning when open a page contains dojo tree with InternetExplorer 8.

2010-06-07 Thread Stanimir Todorov
Hi all, Thanks Jacques, It is very useful link about debugging under IE8. I followed the document and I debugged the problem with the suggested tools. Also I tried the integrated in IE8 debugger (F12). But the result still is the same. I can not see nothing that will be delivered on the page that

Re: Install errors with Tomcat 6 on Linux

2010-06-07 Thread Boss Advisor
Hello, Mr. Freeman. There was an error during the build. there was the java exception. This error showed up later on when I ran the java -jar ofbiz.jar -install -readers=seed,seed-initial to populate the seed data. I think it failed because during the build. it did not succeed in creating the db