You can find the full source code for this website in the Seam package in the directory /examples/wiki. It is licensed under the LGPL.
| Online: | 18 Members of 4504 |
| Forum: Seam Users |
27. Mar 2008, 17:33 CET | Link |
Hi, im having this error while using seam with icefaces:
cause javax.el.ELException: /home.xhtml: Property 'xpto' not found on type com.mydomain.mySeamProj.TableBean class class javax.faces.FacesException localizedMessage Problem in renderResponse: /home.xhtml: Property 'xpto' not found on type com.mydomain.mySeamProj.TableBean message Problem in renderResponse: /home.xhtml: Property 'xpto' not found on type com.mydomain.mySeamProj.TableBean stackTrace com.icesoft.faces.facelets.D2DFaceletViewHandler.renderResponse(D2DFaceletViewHandler.java:294), com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:161), com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106), ...
I'm getting the error in the {inventoryList.xpto} parameter, on my .xhtml file inside a dataTable
In my bean:
@Name("inventoryList")
@Scope(ScopeType.SESSION)
public class TableBean {
int xpto = 2;
public int getXpto() {
return xpto;
}...
Am i doing something wrong? need to place something in faces-config.xml? Thansk for any help
do you mean ? Your local interface ok?
If a man speaks in the forest and there is no woman around to hear him, is he still wrong?
does your bean also have a setter method for your property?
if not, you could try this:
#{inventoryList.getXpto()}I found the problem, missing before the atribute, i didn't know this sintax, thanks for your time.