I´m binding a fileupload control to a managed bean. The property within the managed bean is of type "UploadedFile". When I save the Bean I get the following client side javascript error:
dojo/parser::parse() error SyntaxError: Unexpected token )(…)
This occurs only with managed beans. When the control is bound to a domino document there is no such error.
Here is some code for you: I use the very basic version of the control and instantly get the javascript error:
<xp:fileUpload id="fileUpload1"
value="#{registration.User.attachment}">
</xp:fileUpload>
Does anyone have experience with this or is there any property which I forgot to set?