This content has been marked as final.
Show 2 replies
-
1. Re: Events fired by <a4j:ajax>?
michpetrov Apr 30, 2013 4:42 AM (in response to peter.falken)Hi,
a4j:ajax does not create a DOM element so there are no DOM events to be fired from it.
That said, what's "unclean" about the first example? No reason for writing 10 lines of code if you can do it in one.
-
2. Re: Events fired by <a4j:ajax>?
peter.falken Apr 30, 2013 12:33 PM (in response to michpetrov)Thanks Michal, for clearing my doubt.
Regarding the "unclean" code, I would say that the two last examples are a bit more elegant & readable - I guess it is question of style more than of functionality.