Hello !
We are developping an app that displays ressource usage on project,
something like the calendar events, but instead of displaying events we
display projects associated to user.
Browsing the calendar app as example, we recreated the calendar design
in order to have two views : Year and Month.
We’d like to switch between the 2 views using a combobox, but the use
off the combobox does not work.
We setup this combobox using calendar method in eGW 14.2 :
- Infunctionsidebox_menu() we define $option and add the select box :
$this->_select_box(‘displayed view’,‘view’,$options);
- Call display_sidebox($appname,$menu_title,$file);
Then when displaying, the view and select box do not synchronize.
I used firefox dev tool to poll network events, nothing is sent when
changing options, whereas things are sent with the app calendar.
As a global question, it is hard for us to understand how are
implemented control events, like “clicked” or “select change”, I used to
implement the “onchange” attribute.
Is there anything else to do in order to register the options ‘value’,
and the method to call (client side ?)?
Thank you.
note : we are still making 14.2 changes on sourceforge downloaded
sources, but hope to fork 14.2 branch until september and add this type
of stuff.
–
Selso LIBERADO
Conception et Développement logiciel
Email : selso.liberado@ciose.fr mailto:selso.liberado@ciose.fr
Site : www.ciose.fr http://www.ciose.fr
Phone : 33(0)4 77 93 34 32
Address : 1 Rue de la Presse, 42000 SAINT-ÉTIENNE
https://www.facebook.com/ciosystemb
https://www.twitter.com/CIO_SysEmb
https://plus.google.com/100220376990055787299/posts?prsrc=3
https://www.linkedin.com/company/cio-informatique-industrielle