From: Jean P. M. <jp....@fr...> - 2008-02-27 14:46:19
|
Le 27 févr. 08 à 15:24, Mike Schrag a écrit : > The new AjaxObserveField allows you to wrap a set of components and it > will automatically observe all of them, so you don't have to add an > observe field for every single one ... That might be helpful in this > case. That will save every time you type rather than onblur, though, > I think. That would generate to much server-side and DB traffic I am affraid. > You could also make an AjaxSubmitButton with a functionName > and no updateContainerID and onblur = "yourFunctionName()" on each > textfield. That would be pretty painless, also. I will use this second solution I think. Thank you. JPM > > > ms > > On Feb 27, 2008, at 8:36 AM, John Larson wrote: > >> I do this all over my app with Ajax observe fields. I made a little >> component that has a wotext and an ajaxobservefield together so I >> don't have to manually put in all the observe fields. For a richer >> experience you can put in an Effect.Highlight in the onchange event >> for the observed field or the onsuccess(?) event for the observe >> field. >> >> John >> >> On Feb 27, 2008, at 4:19 AM, Jean Pierre Malrieu <jp....@fr...> >> wrote: >> >>> I have a form with more than 30 text areas (WOText). I would like to >>> automatically save the content of a text area when the user tabs out >>> or clicks in another text area. >>> What would the easiest way to acheive this? It seems so basic that I >>> cannot choose between the various options. >>> >>> Thanks in advance >>> >>> JPM >>> >>> >>> --- >>> ---------------------------------------------------------------------- >>> This SF.net email is sponsored by: Microsoft >>> Defy all challenges. Microsoft(R) Visual Studio 2008. >>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>> _______________________________________________ >>> Wonder-disc mailing list >>> Won...@li... >>> https://lists.sourceforge.net/lists/listinfo/wonder-disc >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> Wonder-disc mailing list >> Won...@li... >> https://lists.sourceforge.net/lists/listinfo/wonder-disc > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Wonder-disc mailing list > Won...@li... > https://lists.sourceforge.net/lists/listinfo/wonder-disc > |