I have a testJSF page that I've created with the following piece of code:
The 'scratch' bean points to a class I wrote, that implements java.util.Map and uses a HashMap under the covers. I have system.out's in the get and put methods of this backing bean. I'm using RichFaces 1.2 that's bundled with JBoss 4.2.0GA along with facelets, although this page has no facelets code. On clicking submit, I find that the put(dummy, +value+) is being called, and the rendering of the page always calls get('dummy'). This happens only in Firefox and Safari, and the text box after the submit contains the value I just set it to. On IE7 however, I only see get('dummy') being called and put is never invoked. Predictably, the text box is empty when the page returns (instead of populated with the value I just entered as it does in Firefox and Safari.
Any ideas why?
Just FYI, I've added the original problem I'm trying to solve, in the previous post.