httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 42488] New: - in HP-UX the getter and setter for a property is not recognized.
Date Tue, 22 May 2007 09:45:06 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42488>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42488

           Summary: in HP-UX the getter and setter for a property is not
                    recognized.
           Product: Apache httpd-1.3
           Version: HEAD
          Platform: Other
        OS/Version: HP-UX
            Status: NEW
          Severity: major
          Priority: P2
         Component: Other mods
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: nityanarasimhan@yahoo.co.in


I have a jsp page which has the following:
<html:select property="manageTestGroupVO.modelYear" name="manageTestGroupForm" 
size="1" styleClass="dropdown" tabindex="1">		
<efecs:efecsoptions collectionName="MODEL_YEAR" />
</html:select>

The form name is manageTestGroupForm.
It has manageTestGroupVO of type ManageTestGroupVO.
This VO has modelYear as a field of type java.math.BigDecimal.

In ManageTestGroupForm.java: the Form Bean for the jsp:
private ManageTestGroupVO manageTestGroupVO = new ManageTestGroupVO();
public ManageTestGroupVO getManageTestGroupVO() {
	return manageTestGroupVO;
}

public void setManageTestGroupVO(ManageTestGroupVO manageTestGroupVO) {
	this.manageTestGroupVO = manageTestGroupVO;
}
Also we are having check boxes to collect the ids in the jsp page. So an 
indexed getter setter is also there like this:
public ManageTestGroupVO getManageTestGroupVO(int index) {
	return (ManageTestGroupVO) this.collectionVO.get(index) ;
}

public void setManageTestGroupVO(int index, ManageTestGroupVO 
manageTestGroupVO) {
	final int size = this.collectionVO.size();
	if (index < size && this.collectionVO != null) {
	    this.collectionVO.set(index,manageTestGroupVO);
	}
}
In ManageTestGroupVO.java:
private BigDecimal modelYear = null;
public BigDecimal getModelYear() {
	return modelYear;
}
public void setModelYear(BigDecimal modelYear) {
	this.modelYear = modelYear;
}

This is working very fine in Windows and Solaris server environment. But in HP-
UX:
javax.servlet.ServletException: No getter method available for property manageTe
stGroupVO.modelYear for bean under name manageTestGroupForm

The same struts-config.xml etc works for Windows and Solaris environment. Pls 
look into this.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message