Hi, the problem is that you do a little mixture between output and input values. In your case it seems that you need a hidden outputText element, which will only be read but never posted back.
I would suggest to set display:none in the style (or styleClass) and that should do the job. cheers, Gerald On 11/29/06, CarlHowarth <[EMAIL PROTECTED]> wrote:
Hi, I'm trying to return javascript alerts for certain error messages in my application, however I want to get the text from a resource file. I have added an inputHidden control and set its value to the text in the resource file. In the javascript I return the text from the inputHidden control's rendered value. This works fine unless my page performs a postback at which point I get the following error: Conversion Error "dateRangeValidation": Error during model data update. Having done a bit of searching it would appear that this is due to a lack of a setter for this value. Has anybody come across this problem, and if so could they please point me in the right direction? Many thanks, Carl -- View this message in context: http://www.nabble.com/Error-using-inputHidden-with-resource-file-tf2724670.html#a7598077 Sent from the MyFaces - Users mailing list archive at Nabble.com.
-- http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and Courses in English and German Professional Support for Apache MyFaces

