Hi all,

I've ran into a documented JSF bug and I was hoping there was an easy
way to work around it.
Here is the URL to the issue:
https://javaserverfaces-spec-public.dev.java.net/issues/show_bug.cgi?id=153

The problem is that UIData will drop entered data if no validation
takes place within the entered fields inside the dataTable.  The
result is that if validation fails on some other component outside the
dataTable, the entered data within the dataTable is lost.

My first attempt was to extend the faces UIData compent and override
the encodeBegin method which has the flawed logic.  I registered the
component in my faces config file and it worked fine for renderers
that were defined in my config file.  However, it didn't override the
config for the components within JSF.

How can I get JSF to use my UIData class instead of
javax.faces.component.UIData?
Is this the "right" way to go about a workaround?
Does shale offer any additional hooks?

Thanks,
Jason

Reply via email to