Login  Register

Re: Dev - Help converting ftl to widgets please

Posted by Scott Gray on May 27, 2006; 1:20pm
URL: http://ofbiz.116.s1.nabble.com/Dev-Help-converting-ftl-to-widgets-please-tp168114p168118.html

Here's the patch, as per Hans advice

Regards
Scott

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On
Behalf Of Hans Bakker
Sent: Friday, 26 May 2006 9:11 p.m.
To: OFBiz Project Development Discussion
Subject: Re: [OFBiz] Dev - Help converting ftl to widgets please

Hi Scott,

use the same pattern as to add a feature to an example in the 'example'
component....

regards,
Hans


On Friday 26 May 2006 15:57, Scott Gray wrote:
> Ok I watched video no.7 and noted the following...
>
> I can either:
> 1. List entities on one screen and create/edit on another?
> 2. Use one screen but use the multi-submit form to list/edit and use
> another form to create?
>
> I wanted to use one screen but list on one form and create/edit on
another.

> Is this not considered a best practice?  When should one pattern be used
> over the other?
>
> I don't personally like the multi-submit form it's too hard to read when
> you only want to view the information (especially when the fields are
> grouped into a single column)
>
> Thanks
> Scott
>
>
> -----Original Message-----
> From: [hidden email] [mailto:[hidden email]] On
> Behalf Of David E. Jones
> Sent: Friday, 26 May 2006 5:25 a.m.
> To: OFBiz Project Development Discussion
> Subject: Re: [OFBiz] Dev - Help converting ftl to widgets please
>
>
> You should probably follow the best practices patterns for OFBiz to handle
> this sort of this. Check out the new framework overview training videos
> that can now be downloaded from ofbiz.org.
>
> -David
>
> Scott Gray wrote:
> > Hi All
> >
> >
> >
> > I'm trying to convert the EditProductStorePaySetup screen to widgets,
> > but I'm having trouble trying
> >
> > to figure out how I can create and edit using the same screen & form
> > (the current ftl seems to have
> >
> > the same problem but I could fix that in the bsh script).
> >
> >
> >
> > This is what I want to be able to do:
> >
> >    1. Create new entities by default
> >    2. Edit an entity when the edit link is clicked from the table
> >
> >
> >
> > This is working at the moment but a created entity reloads into the form
> > instead of a blank form.
> >
> > How can I get an entity to load for editing only?
> >
> >
> >
> > I've attached the patch for what I've done, could someone have a look
> > when you get a chance?
> >
> >
> >
> > Thanks
> >
> > Scott
> >
> >
> > ------------------------------------------------------------------------
> >
> >
> > _______________________________________________
> > Dev mailing list
> > [hidden email]
> > http://lists.ofbiz.org/mailman/listinfo/dev
>
> _______________________________________________
> Dev mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/dev
>
>
> _______________________________________________
> Dev mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/dev
--
Regards,
Hans Bakker
ANT Websystems Co.,Ltd (http://www.antwebsystems.com)

If you want to verify that this message really originates from
from the above person, download the public key from:
http://www.antwebsystems.com/hbakkerAntwebsystems.asc

 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev

EditProductStorePaySetup.patch (18K) Download Attachment