> gelockt", nicht "geblockt"
war nur n Schreibfehler
> streitsüchtig?
nö, das bringt doch nix
> Wenn ich einen Datensatz ändere, sollte dieser gelockt sein(zB "pessemistic offline locking", einfach mal googeln).
Seh da kein Argument.
Wenn Aktion eine Änderung durchführt dann POST.
Wenn Aktion nur den Datensatz lockt dann geht das auch mit nem GET.
> Ich warte immer noch auf deine Argumente, hab bis jetzt kein einziges gesehen.
Suchmaschinen, Bookmarken, Cachen
>> PhaseListner is eh kack weil um sicherzustelle, dass auch after gecallt wird alle Exceptions geschluckt werden.
> Ähhh.. quatsch, vollkommener
Gab da mal ne entscheindende Änderung und leider ne schlechte.
Glaub war von Version 1.1 auf 1.2, musste einfach mal probieren.
Hier noch n Auszug aus der Spezifikation.
********
Section 11.3. PhaseListener
The beforePhase() method is called before the standard processing for a particular phase is performed, while the afterPhase() method is called after the standard processing has been completed. The JSF implementation must guarantee that, if beforePhase() has been called on a particular instance, then afterPhase() will also be called, regardless of any Exceptions that may have been thrown during the actual execution of the lifecycle phase. For example, let’s say there are three PhaseListeners attached to the lifecycle: A, B, and C, in that order. A.beforePhase() is called, and executes successfully. B.beforePhase() is called and throws an exception. Any exceptions thrown during the beforePhase() listeners must be caught, logged, and swallowed. In this example, C.beforePhase() must not be called. hen the actual lifecycle phase executes. Any exceptions thrown during the execution of the actual phase must not be swallowed. When the lifecycle phase exits, due to an exeception or normal termination, he afterPhase() listeners must be called in reverse order from the beforePhase() listeners in the following manner. C.afterPhase() must not be called, since C.beforePhase() was not called. B.afterPhase() must not be called, since B.beforePhase() did not execute successfully. A.afterPhase() must be called. Any exceptions thrown during the afterPhase() liseteners must be caught, logged, and swallowed.
*******