Posted by
Scott Gray on
May 26, 2006; 9:57am
URL: http://ofbiz.116.s1.nabble.com/Dev-Help-converting-ftl-to-widgets-please-tp168114p168116.html
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