[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-developers] NEW: tab-widget for eTemplate class

From: Ralf Becker
Subject: [Phpgroupware-developers] NEW: tab-widget for eTemplate class
Date: Sat, 15 Jun 2002 15:51:39 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020529

The eTemplate class has been extended with a tab-widget.

The use of the tab-widget does not influence the program-logic: a template-author or an admin can now arrange fields of an existing app nicely in tabs (without the need to touch or change the logic of that app).

The tab-widget is implemented as an extension of the eTemplate class. The extension interfaces allows now to submit a page to the eTemplate-form-handler and to resubmit it to the user without involving the app. That way an extension can show eg. the different tabs in standard html (without javascript, DOM, etc.) by resubmitting the changed page to the user. That is not new in general, new is that the app-developer does not have to implement the logic for that. The tab-widget used a (submit-)buttons in the individual tabs to not relie on javascript.

A planned extension for the tab-widget in the future is to use DOM/javascript - if availible (IE5 or Morzilla) - to submit all tabs as layers to the user. Changeing the tabs is then done locally. Good news is that apps using eTemplates will use this without haveing to change the source.

If you want to try that new feature / widget you need the HEAD version of the 'etemplate' app, which can be installed in 0.9.14 or HEAD (unfortunally setup is still not working in HEAD). There is a small test-template 'etemplate.tab_widget.test' which shows the use of the new widget. Read it with the eTemplate-editor and then call Show.

Ralf Becker
digital ROCK                                 Telefon: +49 (631) 31657-51
Leibnizstr. 17                               Telefax: +49 (631) 31657-52
D-67663 Kaiserslautern             

reply via email to

[Prev in Thread] Current Thread [Next in Thread]