History | Log In     View a printable version of the current page. Get help!  
Issue Details [XML]

Key: JSF-18
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Chad Brandon
Reporter: Samuel Solon
Votes: (View)
Watchers: (View)
Operations

If you were logged in you would be able to see more operations.
JSF cartridge

ClassCastException in ParameterChecks.validateEqual

Created: 21/Jul/06 02:29 AM   Updated: 21/Jul/06 05:53 AM
Component/s: None
Affects Version/s: None
Fix Version/s: None

File Attachments: 1. File pcheck.diff (1.0 kb)



 Description   
In the 3.2-SNAPSHOT built 2006-07-20, method ParameterChecks.validateEqual, casting the component found for "equalField", of type oracle.adf.view.faces.component.core.input.CoreInputText, to javax.faces.component.UIIinput fails with a class cast exception.

Checking the API docs for CoreInputText I see that it is not a subclass of UIInput.

I changed the type of equalField to javax.faces.component.ValueHolder and that seems to work properly.

 All   Comments   Change History      Sort Order:
Comment by Chad Brandon [21/Jul/06 04:50 AM]
Can you attach a patch file with your fix?

Comment by Samuel Solon [21/Jul/06 05:19 AM]
Unified diff against the original in my home directory.

Comment by Chad Brandon [21/Jul/06 05:53 AM]
Fixed, thanks!