[OFBiz] Users - Screen Widget Questions
Adrian Crum
adrianc at hlmksw.com
Mon Mar 14 18:45:57 EST 2005
I've spent about four days trying to get the screen widgets to work, but
I'm running into problems I can't get resolved.
1. The following line:
<property-map resource="CommonUiLabels" map-name="uiLabelMap"
global="true"/>
doesn't seem to work because when I try to access the uiLabelMap from
within an FTL file, the UI labels don't work. If I put a bsh script in
the <action> section and setup the uiLabelMap from there, everything
works properly.
2. Is there a way to specify a global script, like JPublish
<global-action> ? I've tried putting the script in a common decorator
screen, but it seems to get run AFTER the content's actions are run.
With JPublish, envsetup.bsh was run, then the page's script (myPage.bsh)
was run, then the content (myPage.ftl) was merged with the template and
output. I can't get that behavior with screen widgets.
It seems the decorator's scripts are run before the page's scripts are
run. So using the previous example, screen widgets run myPage.bsh, then
envsetup.bsh, then merge myPage.ftl with the template.
More information about the Users
mailing list