how to access uiLabelMap in custom view handler

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

how to access uiLabelMap in custom view handler

Qingfeng Liang
hi all,


I am trying to implement an ajax tooltip feature in ofbiz, what i am doing are:

1, define a request map in controller.xml to handle request for
tooltip resource from client. the client requested uri looks like:
http://localhost:8080/tooltip?res=${uiLabelMap.CommonUpdate}

2, write a custom view handler to return localized tooltip resource
view associated with the above request map, in my custom view handler,
i will try to locate the resource with key in uiLabelMap which is also
used in form field definition.


Is it feasible to do it in custom view handler other than defining
some screen like view handler  since uiLabelMap is put in the context
of screen?



thanks,
Nathan