Hi Ralf,
Thanks for your early response. Can i ask you a couple of questions?
Is the sample codes given in day five enough to make the nextmatch widget functnionality
work with the edit and delete buttons inclusive or i have to code on top of what is given. I just
need what the example says and no more.
The other question is: you know at the beginning of day five it says go to the last cell and add a new widget, is there a way to go to a last cell or know that you are on the last cell as if i am where i think is the last cell the options i get are regerding rows and columns i don’t get any option for add a new widget.
i have to press grid in the navigation buttons within the etemplates editor.
Thanks again and regards,
Alexander Winkeljohann
Hi,
for other examples: half of the eGW applications are examples for the
nextmatch widget (try timesheet or tracker for example).
You need to check, what your get_rows method
(payroll.uipayroll.get_rows) writes into it’s $row parameter, which
should be a reference and as array indexed starting from 1.
Ralf
chander schrieb:
Hello,
I have been trying to complete the fifth day of the code corner and i could
only get working until i display all the rows from the database using the
nxtmatch widget but the edit and delete buttons dont work. i don’t know if
the problem is in the etemplate or in the code.
this is what i get when i debug the array which i think is no way near of
what i should get.
Array
(
[get_rows] => payroll.uipayroll.get_rows
[filter_label] =>
[filter_help] =>
[no_filter] => 1
[no_filter2] => 1
[no_cat] => 1
[never_hide] => 1
[lettersearch] =>
[searchletter] =>
[start] => 0
[order] => test_id
[sort] => DESC
[col_filter] => Array
(
)
[cat_id] =>
[search] =>
[options-filter] =>
[filter] =>
[options-filter2] =>
[filter2] =>
[no_csv_export] =>
[filter_onchange] => this.form.submit();
[filter2_onchange] => this.form.submit();
[cat_app] => payroll
[options-num_rows] => Array
(
[5] => 5
[15] => 15
[25] => 25
[50] => 50
[100] => 100
[200] => 200
[500] => 500
[999] => 999
)
[num_rows] => 5
[options-selectcols] => Array
(
)
[selectcols] =>
[default_prefs] => 0
[return] =>
)
and the xml for my etemplate is the following:
<?xml version="1.0"?>
i hope the mistake can be easily spotted!
Thanks,
Alex Winkeljohann.
–
Ralf Becker
eGroupWare Training & Support ==> http://www.egroupware-support.de
Outdoor Unlimited Training GmbH [www.outdoor-training.de]
Handelsregister HRB Kaiserslautern 3587
Geschäftsführer Birgit und Ralf Becker
Leibnizstr. 17, 67663 Kaiserslautern, Germany
Telefon +49 (0)631 31657-0
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don’t miss this year’s exciting event. There’s still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers
[/quote]