My two days nightmare just ended .

story :

I have 4 lists in my app . They popup a floating pane containing a
list . You can edit the form and then save , and the list would be
updated .
The most confusing thing was that 2 of the lists / forms were working
flawlessly . The next two , which were done by somebody else ...
seemed not to save data properly .
What will hapen is ...  On add , I would click the save button twice
and data will get saved . But when clicking the save buton once , it
looked like the form wasn't beeing posted . What was VERY wierd was
that , the id of the form was getting posted , but none of the other
fields .
Of course at first I figured that it must be a bug created by the
other person . So I've spent a few good hours searching through the
code , only to find nothing . She did also . . .
Then I went back and rewrote the whole form / list / data object , but
this time with a single field . And it worked , it would be updated
and saved just fine .
So we started adding fields again . But once we added the next field ,
a datepicker it stoped working well again . Allthough the first field
was indeed getting saved ... We first thought it was the datepicker
but we realised that no other types work either .

problem :

Then it hit me . Due to a HCI evaluation we decided to have the
buttons on top of the form rather than at the button . I looked and
just as I suspected , my first two lists had the save AjaxDirectLink ,
as the LAST COMPONENT listed in the .html . The component was
positioned at the top :absolute ; . However ... the other two lists ,
had the save component THE SECOND listed in the .html .

It looks like only what's in front of the submit component gets posted
. Components listed after are beeing ignored ! ! ! .

I have no time to look at this in tacos , and i'm assuming that you
guys would be much more effective at present times . This is the
problem and how to reproduce it . I have not posted a bug since it
could even be a TApestry issue , allthogh i doubt it . Components used
were : AjaxForm and then tried both : AjaxSubmit and AjaxLinkSubmit .

Cosmin


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
Tacos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tacos-devel

Reply via email to