Kollipara, Seshu-Babu (AMR:9T40) wrote:
>> We use SpeedDialPanel component to add/edit user 
>> speed-dials, and it is very similar to what you are looking to do.
>>
> 
> Thanks Arjun !
> 
> I have created a new 'AlarmTrapRecieverPanel' component on the lines of
> 'SpeedDialPanel'. 
> There is a problem in passing List<AlarmTrapReciever> to
> 'AlarmTrapRecieverPanel'
> 
> In the call of 'SpeedDialPanel' in  SpeedDialPage.html page, that is:
> <fieldset jwcid="@speeddial/SpeedDialPanel" speedDial="ognl:speedDial"/>
> The 'speedDial="ognl:speedDial"' attribute is mapped to which attribute
> in <tbody> element of SpeedDialPanel?
> 


Check out SpeedDialPanel.prepareForRender(..). This function overrides the 
prepareForRender(..) function in BaseComponent, and is invoked to prepare the 
component to render. Inside this function, we get a List of Button objects from 
the SpeedDial object, and use this as the "source" for the table. 

Arjun
_______________________________________________
sipx-dev mailing list [email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
sipXecs IP PBX -- http://www.sipfoundry.org/

Reply via email to