myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brett Sabell (JIRA)" <>
Subject [jira] Created: (MYFACES-1015) Error 500 caused by property named "xPath"
Date Tue, 10 Jan 2006 06:01:20 GMT
Error 500 caused by property named "xPath"

         Key: MYFACES-1015
     Project: MyFaces
        Type: Bug
  Components: Implementation  
    Versions: 1.1.1    
 Environment: Windows Server 2003, WebSphere, Servlet 2.3, JSP 1.1
    Reporter: Brett Sabell
    Priority: Minor

I have a class named FieldOccurrenceStruct, which contains a String property called xPath.
This property has getter and setter methods (getXPath, setXPath), both of which have the correct
return and argument types (String).

One of my JSF pages has a dataTable, whose value is an ArrayList of FieldOccurrenceStructs.
The problem is, when I map a column to the xPath property, I get an Error 500. The exact error
message is:

Error 500: Bean: com.thenational.otkr.dmi.structs.FieldOccurrenceStruct, property: xPath

That's all it says, and it goes without saying that I get no dataTable. FieldOccurrenceStruct
is not even a backing bean, its a POJO, so I'm not sure why it is being referred to as "Bean".

As a workaround, I was able to get it working by renaming the xPath property to path (along
with the getter/setter to getPath and setPath), so this leads me to the conclusion that either
MyFaces doesn't like the name xPath for a property (unlikely), or there is some hidden (?)
requirement that properties must have more than one lowercase letter before the first uppercase
letter (even less likely).

I call BUG!

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message