Hi,
Glad it helped. :)
Another possible way to do this would be triggering a custom event
through ComponentResources#triggerEvent in ContactInfo and pass along
whatever you need. Your page could then handle this event and do
whatever it needs to do. It's a little cleaner API-wise, and not a l
Filip,
I had actually thought about that, but the explicit cast to Field
prompted me ask the list. I hadn't tried that method until you mentioned
it, and it does indeed work. If anyone can suggest a cleaner method I'd
love to hear it, but for now this will do. Thanks again Filip!
chris
Filip S.
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
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
fiel