This content has been marked as final.
Show 3 replies
-
1. Re: Caused by: javax.el.PropertyNotWritableException: ui.xhtml @262,42 binding="bean.grid": Illegal Syntax for Set Operation
nickarls Jul 30, 2008 10:24 AM (in response to nimo22)start by using actual EL-expressions like
#{bean.grid}
-
2. Re: Caused by: javax.el.PropertyNotWritableException: ui.xhtml @262,42 binding="bean.grid": Illegal Syntax for Set Operation
nimo22 Jul 30, 2008 11:33 AM (in response to nimo22)ohh I forgot that...
now I use this in my view:
<h:panelGrid binding="#{bean.grid}"/>
but I get an error:
javax.el.ELException: /ui.xhtml @262,45 binding="#{bean.grid}": java.lang.IllegalArgumentException: argument type mismatch
When I inject a new Grid-Instance, then it should automatically call
the constructor (not the empty contructer!!) and generate the panelGrid-View.But this does not work..I assume, that the injection does only call the empty constructor. Am I right?
So I have to develop the view in my Conversation-Scope
public class Bean
instead of constructing it in mypublic class Grid
. Am I right?Should I develop the view in the SETTER-Method of
private HtmlPanelGrid htmlPanelGrid;
? Sould I use the factory-Method? -
3. Re: Caused by: javax.el.PropertyNotWritableException: ui.xhtml @262,42 binding="bean.grid": Illegal Syntax for Set Operation
nickarls Jul 30, 2008 11:49 AM (in response to nimo22)Never used it but you should probably bind something like a HtmlPanelGrid(?)