Re: Users - Look-n-feel and common templates.
Posted by
oceatoon on
URL: http://ofbiz.116.s1.nabble.com/Users-Security-API-What-am-I-missing-tp139327p139336.html
Indeed
This is not only possible for ftl templates but is also a good way to share bsh scripts by having a main common webapp
which other webapps can dig into easily.
Screen Widgets realy is interesting for this sort of factorisation.
in fact if you look at how applications works the ball bounces from one webapp to another quite transparently.
Tibor
On 5/18/06, Si Chen
<[hidden email]> wrote:
You should be using the screen widget to use pages from the other
webapps. You can also parametrize your mainDecoratorLocation, etc. in
web.xml so you can refer to them and share them. This is actually very
nice in screen-widget.
Si
Porter Woodward wrote:
> Hi all -
>
> maybe I'm missing something... But it occurred to me that there
> doesn't seem to be a way to easily share more than superficial content
> between webapp modules in OfBiz. While there is the images component> of the framework - which you can place images, style sheets, and
> javascripts into that you want to share amongst multiple webapps -
> what about common templates?
>
> If you create a series of custom (but related) components/webapps -
> you quickly find yourself copying a large chunk of "code" from one to
> the others to support the FTL template, and common user interface
> elements. Am I missing something? Am I doing something wrong?
>
> - Porter Woodward
>
> _______________________________________________
> Users mailing list
>
[hidden email]>
http://lists.ofbiz.org/mailman/listinfo/users
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users