UIInput.getValue can return wrong (old) value

2006-06-29 Thread Marios Kerkemezos
Dear all, Lately I discovered the following strange behavior in my apps. I am using MyFaces Core 1.1.3 and Tomahawk 1.1.3. Here is a test scenario: I have a session scoped managed bean, and a form with 3 text fields, one bound to some Integer value and two bound to

Re: MyFaces 1.1.3 Exceptions in PhaseListeners

2006-05-18 Thread Marios Kerkemezos
). Thanks for your time. Mario On 5/17/06, Marios Kerkemezos wrote: When an exception is thrown during the execution of a PhaseListener (either during its beforePhase or afterPhase method), the exception is consumed by a new class (PhaseListenerManager.java), which simply logs

MyFaces 1.1.3 Exceptions in PhaseListeners

2006-05-17 Thread Marios Kerkemezos
Dear all, I recently upgraded my application from MyFaces 1.1 to MyFaces core 1.1.3 /Tomahawk 1.1.2 and amongst other differences between the two versions I discovered the following: When an exception is thrown during the execution of a PhaseListener (either during its

Re: How can i manually save and restore a view's state?

2006-03-15 Thread Marios Kerkemezos
Nico Krijnen wrote: Here is the source-code for the solution I came up with. Hello Nico, Thank you so much for providing your source code. You are more than generous. Needless to say I’ve already tried your code and it works perfectly. It would have been very difficult for me to determine

Re: How can i manually save and restore a view's state?

2006-03-14 Thread Marios Kerkemezos
Martin Marinschek wrote: Well, I'd first try to get into contact with Niko, if he would be willing to open source his stuff. Thanks, I figured the best place to start was by addressing the list. I really don’t know what the list policy about directly emailing other members is, but I guess I’ll

Re: How can i manually save and restore a view's state?

2006-03-13 Thread Marios Kerkemezos
Werner Punz wrote: Hi Mario, nice effort, but there is no back button problem anymore. It was resolved shortly after 1.1.1 (or 1.1.0 I dont know). There already is a savestate stack implemented which can restore old states upon back and server side state saving. Thank you for such a quick

How can i manually save and restore a view's state?

2006-03-10 Thread Marios Kerkemezos
Hello! I am trying to implement a solution to the “back” button problem suggested by an earlier post (http://www.mail-archive.com/users@myfaces.apache.org/msg14557.html). The post above, described an interface for saving and restoring the view state whenever needed. What I’d like to know is

Re: Exception Handling Blues...

2005-10-18 Thread Marios Kerkemezos
Martin Marinschek wrote: Do you use the MyFaces Tiles integration? with the MyFaces Tiles-ViewHandler? regards, Martin Ah, I forgot to mention that. No, I am not using MyFaces TilesViewHandler and I would really prefer to continue defining the layout within jsp pages. Any ideas

Exception Handling Blues...

2005-10-13 Thread Marios Kerkemezos
Dear all, I know this has been discussed before, but some issues are still troubling me... I’ve been experimenting with different methods for handling exceptions in managed beans. The way I see it, handling exceptions can be performed in the following ways: (A). Handling the exception

Custom Events and Listeners / RI Examples

2005-07-13 Thread Marios Kerkemezos
Dear all, I’ve been experimenting with custom JSF components for a while, but I still can’t understand what is the proper way to make custom components generate and consume new event types. Unfortunately I haven’t been able to find any examples that demonstrate this on the web, so if anyone can