Re: Creating a report and a backup copy

2014-01-09 Thread Lei Wu
Fitini, First thing popped in to my head is a work-around , that is , before presenting the view of report in your browser, you could make it copied to your specified location in your file system by invoking a service which will do the automatic backup copy work. In your request map, add an event

Re: find records after submitting FORM

2014-01-20 Thread Lei Wu
Jad, I listed one example for you, with details In the widget section of your some screen, add: In my example, in form FindCours

Re: delegator.findAll() missing?

2014-01-20 Thread Lei Wu
Jad, In case your result set is really large ,you could use entity list iterator, as shown below, resultEli = delegator.find(entityName, condition, null, fieldsToSelect, null, efo); Entity list iterator will fetch partial results into memory, yet delegator.findList() will retrieve all the record

Re: How do I the same field PK more than once on the form

2014-01-29 Thread Lei Wu
Murali, Better to create a view-entity to join the two tables, so that you have all info you required. On Sun, Jan 26, 2014 at 2:58 AM, Christian Carlow < christian.car...@gmail.com> wrote: > Hey Murali, > > In that case, the entity-name should be set to "Person" > instead of "HelloPerson" sin

Re: WEBINARS

2014-03-14 Thread Lei Wu
Pierre, How is it going with the webinars ? Really looking forward to it ? Is there a schedule/agenda on these webinars ? Eager to learn . On Fri, Feb 14, 2014 at 10:46 PM, Lei wrote: > Pierre, > Really looking forward to the webinars. I'd like to learn each of the > applications in terms of:

Re: WEBINARS

2014-03-18 Thread Lei Wu
Yeah, totally understand. Plz help broadcast once the webinars are ready to show. Thanks. On Tue, Mar 18, 2014 at 1:25 AM, Pierre Smits wrote: > Todd, > > Thanks for sharing. > > Pierre > > Verstuurd vanaf mijn iPad > > > Op 17 mrt. 2014 om 16:48 heeft Todd Thorner > het volgende geschreven: >

Re: List to EntityListIterator

2014-03-24 Thread Lei Wu
Using delegator.find() instead of delegator.findList() would help. On Mon, Mar 10, 2014 at 7:35 PM, wrote: > Hi to everyone, i've done the following query with the IN clause. > > List XXXList = delegator.findList("XXX", null, null, > null, null, false); > > List listIt = >

Re: .ftl and Minilanguage

2014-03-24 Thread Lei Wu
If I understand right, you're trying to migrate from a form widget to .ftl files. AFAIK, .ftl files could provide more flexibility than forms, yet the grammar is slightly different. So, you might wanna reference other similar *.ftl files to figure out how to implement the logic in your previous for

Re: With "ant start" : null tableName

2014-03-26 Thread Lei Wu
Learned this. I also saw these messages, yet I simply ignore it intuitively. On Thu, Mar 6, 2014 at 12:43 AM, Nicolas wrote: > OK, Adrian. > Thank you very much ! > > > On Wed, Mar 5, 2014 at 5:05 PM, Adrian Crum < > adrian.c...@sandglass-software.com> wrote: > > > That message can be ignored.

Re: How to add an input of type calendar in freemarker ?

2014-10-21 Thread Lei Wu
Thanks so much Thiep ! It worked for me and it's exactly what I wanted :) On Tue, Oct 21, 2014 at 12:37 PM, Thiep LE VAN wrote: > You can use renderDateTimeField macro as follows: > > <@htmlTemplate.renderDateTimeField name="thruDate" value="" event="" > action="" className="" alert="" title="Fo

Changing Ofbiz's default menu html template

2014-12-10 Thread Lei Wu
Guys, I was trying to create a new visual theme for my application based on Ofbiz. As I was trying to customize the menu part, in CommonMenu.xml, I saw the app menu is defined as : And in html, it looks like this: MsLi Main Page Expen

Re: Changing Ofbiz's default menu html template

2014-12-10 Thread Lei Wu
Thanks so much Jad for your info ! I searched this file 'framework/widget/templates/htmlMenuMacroLibrary.ftl' in trunk, and it's exactly where I should go and do some customization. However, this file does not exist in versions 12.04 or 13.07, and that confuses me a lot. I'm using Ofbiz 12.04, this

Re: Changing Ofbiz's default menu html template

2014-12-10 Thread Lei Wu
11/14, Adrian Crum wrote: > Menu macros are a recent addition. In R12 the HTML is embedded in Java > code. > > I highly recommend you use a more recent version. > > Adrian Crum > Sandglass Software > www.sandglass-software.com > > On 12/11/2014 3:42 AM, Lei Wu wrote: