Hi Chris,
Get "contactinfo" through getEmbeddedComponent, get its
ComponentResources, and finally get the component you need through
getEmbeddedComponent and cast it to Field.
That's the quick and dirty way, anyhow.
-Filip
On 2008-08-18 00:13, Chris Lewis wrote:
Hello list,
I have a page that has a form component, and in the form is another
component "contactinfo." This component is basically a custom editor for
a contact bean. In the page I must do some custom validation on the
server side, and in at least one instance I want to record an error on a
field within the contactinfo. However I run into the issue that I can't
use @Component in my page class, because the Field (component) is within
an embedded component. How can I get at the Field? ComponentResources
has getEmbeddedComponent, it returns type Component. Any ideas?
Thanks in advance,
Chris Lewis
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]