You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Qingfeng Liang <qi...@wizitsoft.com> on 2009/12/30 11:42:11 UTC

how to access uiLabelMap in custom view handler

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