Re: how retrive data through dynamic view entity

2009-12-24 Thread Rishi Solanki
Hi Gnanashankar, After making the dynamic view in groovy/java file you can get the eli by applying findListIteratorByCondition method of delegator object. then on eli you have methods eli.getPartialList and eli.getCompleteList will gives you the list which then put into context or service result

Re: how retrive data through dynamic view entity

2009-12-24 Thread Gnanashankar Shanmugam
hi rishi, thanks for your reply, can you send example of simple java code for dynamic view creating to text field and one submit botton.. On Thu, Dec 24, 2009 at 2:35 PM, Rishi Solanki rishisolan...@gmail.comwrote: Hi Gnanashankar, After making the dynamic view in groovy/java file you can get

Re: how retrive data through dynamic view entity

2009-12-24 Thread Rishi Solanki
Refer /applications/product/webapp/facility/WEB-INF/actions/facility/CountFacilityInventoryByProduct.groovy Here you got the code reference for creating a dynamic view getting data from it and then getting list which can be displayed on ftl/form-widget. HTH! Rishi Solanki Enterprise Software

Re: how retrive data through dynamic view entity

2009-12-24 Thread Gnanashankar Shanmugam
hi rishi, thanku for your reply, i can not understand that groovy file, and my scenario follows below, persondetails 1. first name-- text field 2. surname-- test field 3. create- submit button. i want display below, Firstname surname

Re: baseSecureUrl is returning a IP address instead of domain.

2009-12-24 Thread Jacques Le Roux
Thanks Rohit, Hopefully BJ, will have a look when he will get a chance But I wonder now if it's not related to https://issues.apache.org/jira/browse/OFBIZ-2657 and then no longer an issue Jacques From: rohit rohitksur...@yahoo.com Hi, The general.properties file in framework/common/config

Re: Creating a new Role / Changing a Role

2009-12-24 Thread Alexander1893
Hi Jacques, thanks a lot for your reply! Perhaps I didn't understand the concept... I followed the links - and I added a role. But I don't know where I can associate permissions with my new role... Perhaps I try again to describe what I'd like to do: When a person registers in the

Re: Creating a new Role / Changing a Role

2009-12-24 Thread Jacques Le Roux
I think that at this point you should read http://cwiki.apache.org/confluence/display/OFBTECH/OFBiz+security Jacques From: Alexander1893 alexan...@familie-schweizer.net Hi Jacques, thanks a lot for your reply! Perhaps I didn't understand the concept... I followed the links - and I added a

Re: baseSecureUrl is returning a IP address instead of domain.

2009-12-24 Thread BJ Freeman
I think Rohit is use ver 4. he can implement the changes hans made. Jacques Le Roux sent the following on 12/24/2009 3:56 AM: Thanks Rohit, Hopefully BJ, will have a look when he will get a chance But I wonder now if it's not related to https://issues.apache.org/jira/browse/OFBIZ-2657 and

Re: how retrive data through dynamic view entity

2009-12-24 Thread BJ Freeman
The beginners tutorial http://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Beginners+Development+Guide+Using+Practice+Application+%28Hello+World...%29 Gnanashankar Shanmugam sent the following on 12/23/2009 11:59 PM: hi friends, I am new for ofbiz, I created component in hot-deploy.. in

Re: baseSecureUrl is returning a IP address instead of domain.

2009-12-24 Thread rohit
I am not sure i understand your mail correctly, can you please clarify. rohit --- On Fri, 12/25/09, BJ Freeman [via OFBiz] ml-node+978588-1637291...@n4.nabble.com wrote: From: BJ Freeman [via OFBiz] ml-node+978588-1637291...@n4.nabble.com Subject: Re: baseSecureUrl is returning a IP address

about chinese encoding

2009-12-24 Thread Zhang Shiqian
hi all, When i use the XML Data Import function, the xml file which contains Chinese charactors was imported successfully, but when i checked the data in the pages, the Chinese charactors were replaced with '??', the file encoding is utf-8, and the xml header encoding also 'utf-8', i tried to

Re: baseSecureUrl is returning a IP address instead of domain.

2009-12-24 Thread BJ Freeman
https://issues.apache.org/jira/browse/OFBIZ-2657 is in the trunk. Hans gave the trunk version he made this change. of if you look up that commit you can use that to change you code. you may have to do more, not sure since I don't use ver 4.0 anymore. Hope that is clearer. Ps my comment in the

[Fwd: Re: baseSecureUrl is returning a IP address instead of domain.]

2009-12-24 Thread BJ Freeman
sorry time was off on puter. Original Message Subject: Re: baseSecureUrl is returning a IP address instead of domain. Date: Sat, 24 Oct 2009 17:52:56 -0700 From: BJ Freeman bjf...@free-man.net Reply-To: user@ofbiz.apache.org To: user@ofbiz.apache.org References:

Re: about chinese encoding

2009-12-24 Thread Shi Jinghai
The reason is simple. It's read in ISO-8859-1, after reading, you have to change the xml content to UTF-8. Something like: xmlcontent = new String(xmlcontent.getBytes(), UTF-8); Regards, Shi Jinghai/Beijing Langhua Ltd. 在 2009-12-25五的 09:39 +0800,Zhang Shiqian写道: hi all, When i use the XML