Help

Controls

PermLinkWikiLink

Built with Seam

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.

Forum: Seam Users Forum ListTopic List
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

3 Replies:
27. Mar 2008, 20:41 CET | Link

do you mean #{inventoryList.xpto}? Your local interface ok?

 

If a man speaks in the forest and there is no woman around to hear him, is he still wrong?

28. Mar 2008, 09:53 CET | Link

does your bean also have a setter method for your property?

if not, you could try this:

#{inventoryList.getXpto()}
28. Mar 2008, 15:15 CET | Link

I found the problem, @Out missing before the atribute, i didn't know this sintax, thanks for your time.