[OGo-Developer] Re: Appointment Type dropdown
Helge Hess
developer@opengroupware.org
Thu, 13 Mar 2008 17:41:43 +0100
On 13.03.2008, at 17:34, Jeff wrote:
> I think I found a way to do it, but just wanted to check to make
> sure this would be reliable:
>
> If I get the text at the end of the URL for the form action, and
> append ".2.1.1.12.1.0.1" to it, that appears to be the appointment
> type dropdown.
>
> Is that something that could change though? Or is there a better
> method than what I'm proposing?
No, element-ids are automatically generated and may change. It really
depends on the form/component, you would usually want to assign a
static id/value if its not a reusable component.
The WOPopUpButton documentation might help you to get started.
Greets,
Helge
--
Helge Hess
http://www.helgehess.eu/