Web Application / VisualTheme association
-----------------------------------------

                 Key: OFBIZ-2172
                 URL: https://issues.apache.org/jira/browse/OFBIZ-2172
             Project: OFBiz
          Issue Type: New Feature
            Reporter: Bruno Busco
         Attachments: VisualThemeSets.patch

Following a recent discussion on the ML about an association model between 
WebApps and VisualThemes I would like to submit this "half baked" ;-) patch.
Along with any comments you will do on the patch I think now I need some hint 
to go further:

1) In order to have this model working we should have on every application's 
WEB.XML file something like this:
    <context-param>
        <param-name>webSiteId</param-name>
        <param-value>CONTENT_SITE</param-value>
    <description>A unique ID used to look up the Content entity that serves as 
the root for publish points</description>
    </context-param>
with a specific different param-name for every webapp. Is this correct?
If yes could we use the same webapp name for the webSiteId?

2) We should create a WebSite for every WebApp. Is this correct?

3) I have implemented a filter on the VisualTheme Lookup that let the user 
choose among all the applicable themes. (if a WebSiteId is defined)
But doing this I realized that the user could choose a different theme for 
different applications and so these should be recorded as preferences. I mean 
we should record that a user has selected a theme _for a certain application_. 
is this correct?

Thank you for supporting me.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to