[OFBiz] Dev - DinamicTable - JavaScript
Marcelo Coraça de Freitas
batera at linux.ime.usp.br
Thu Aug 5 10:18:35 EDT 2004
Al,
I realy liked the idea of JSRS and also that dinamic window stuf you talked
about.
Maybe there is no need to deal with those windows if we use JSRS, but,
anyway, I've made a code that could be usefull to us last year.
http://www.linux.ime.usp.br/~batera/ofbiz/float/teste.html
It's in portuguese, but the idea was to build some classes in JavaScript to
work with floating div's (layers) that would work in Mozilla and Explorer. I've
previously tested in konqueror and it worked also - I don't know about Opera,
but I don't think it would be dificult to make it compatible with that browser.
With this class we could make a dinamic window easily.
Also, that was my idea, but I first whanted to make this table work. And,
also, whe integrating with OFBiz I think it would be a lot easier using dinamic
windows instead of real windows.
Tomorrow, if I have some time - I'm working at a customers place - I'll work
integrating (at least trying) this job to *widgets.
- OgRo
--
BaTeRa (vulgo Marcelo Coraça de Freitas)
AdaOS -- http://www.adaos.net | http://www.adaoshq.org
Linux user #297942
ICQ# 24263609
MSN# baterausp at hotmail.com
Yahoo# baterausp at yahoo.com
Jabber# OgRo at jabber.org
Citando Al Byers <byersa at automationgroups.com>:
> Marcelo,
>
> I took at look at your DinamicTable.js. It is a nice use of DOM APIs. I
> believe that dynamic HTML will be the way of the future for web UI.
> Currently, I am tied up with the screen widget stuff. Realistically, I
> don't know when code like yours could be integrated into OFBiz. No
> reflection on your code; just that there are other things going on and
> it would take quite a bit of effort to make what you have done fit. I
> have made so many false starts myself that I would hate to see you spend
> effort with the wrong expectations.
>
> As for the DinamicTable, I wonder if it is the most useful application
> of your code. I suppose there are cases where one would want to
> dynamically add to a table, but I think that the ability to a data drill
> down without refreshing the screen would be more useful. This code for
> doing remote scripting seems to be pretty popular -
> http://www.ashleyit.com/rs/main.htm. So if there was a table, clicking
> on a foreign key field could request related data in the background,
> then popup a dynamic window to display the related data. I think
> something like that would be pretty useful. If nothing else, it would be
> nice to use dynamic windows to get the table row data instead of opening
> another window.
>
> Also, drag-n-drop would be useful. I would like to work with you to add
> some DHTML to OFBiz's UI technology - I just think that remote scripting
> and popping up in-place dynamic windows will be more useful than dynamic
> tables.
>
> Of course, others might have different opinions.
>
> -Al
>
> Marcelo Coraça de Freitas wrote:
>
> >Developers,
> >
> > I've almost finished JavaScript codding for DinamicTable.
> > There is a sample at:
> > http://www.linux.ime.usp.br/~batera/ofbiz/DinamicTable/01.html
> > Now I'm workig at how this table will "talk" to FormWidgets and all
> server
> >related stuf.
> > I still need to read some sources, but I'm thinking in write a
> >FormParamsInterface class inside FormWidget to deal with all received data
> from
> >forms. What do you think about this aproach? Please, sugest a better name!
> :-D
> >
> >Take care;
> >
> >
>
>
> --
> Al Byers
> Automation Groups Inc
> 801.400.5111
> http://www.automationgroups.com
> byersa at automationgroups.com
>
> We're "Open for Business" (http://www.ofbiz.org)
> - the leader in Java-based Web services development tools
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe at ofbiz.dev.java.net
> For additional commands, e-mail: dev-help at ofbiz.dev.java.net
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe at ofbiz.dev.java.net
For additional commands, e-mail: dev-help at ofbiz.dev.java.net
More information about the Dev
mailing list