You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Chris Howe (JIRA)" <ji...@apache.org> on 2006/07/03 05:02:29 UTC

[jira] Created: (OFBIZ-77) site cofiguration parsing improvement

site cofiguration parsing improvement
-------------------------------------

         Key: OFBIZ-77
         URL: http://issues.apache.org/jira/browse/OFBIZ-77
     Project: The Open For Business Project
        Type: Wish

  Components: framework, accounting, content, ecommerce, humanres, manufacturing, marketing, order, party, pos, product, workeffort  
    Reporter: Chris Howe
    Priority: Minor


Allow for custom web applications to utilize site configuration files from other webapps

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (OFBIZ-77) site cofiguration parsing improvement

Posted by "Chris Howe (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/OFBIZ-77?page=all ]

Chris Howe updated OFBIZ-77:
----------------------------

    Attachment: controllerMerge.xsl

controllerMerge.xsl

xsl stylesheet  to merge an input controller.xml with a custom controller.xml.  This does not insert the proper namespace information for the site-conf element.


Still unsure on the best way to call the input controller.xml, this stylesheet the custom controller.xml and designate the output file.  But this will do it manually.

> site cofiguration parsing improvement
> -------------------------------------
>
>          Key: OFBIZ-77
>          URL: http://issues.apache.org/jira/browse/OFBIZ-77
>      Project: The Open For Business Project
>         Type: Wish

>   Components: framework, accounting, content, ecommerce, humanres, manufacturing, marketing, order, party, pos, product, workeffort
>     Reporter: Chris Howe
>     Priority: Minor
>  Attachments: controllerMerge.xsl
>
> Allow for custom web applications to utilize site configuration files from other webapps

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (OFBIZ-77) site cofiguration parsing improvement

Posted by "Chris Howe (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/OFBIZ-77?page=comments#action_12418894 ] 

Chris Howe commented on OFBIZ-77:
---------------------------------

Correct, within ofbiz_home.

ofbiz-container.xml is only read when ofbiz is started (right?), restarting Ofbiz while testing request/view maps would be cumbersome.  But CMS might be a better place for this.  

1) Define the output location
2) Define the input files
3) add each element to their appropriate list (handler, request-map, view-map, etc)
4) write the output file

> site cofiguration parsing improvement
> -------------------------------------
>
>          Key: OFBIZ-77
>          URL: http://issues.apache.org/jira/browse/OFBIZ-77
>      Project: The Open For Business Project
>         Type: Wish

>   Components: framework, accounting, content, ecommerce, humanres, manufacturing, marketing, order, party, pos, product, workeffort
>     Reporter: Chris Howe
>     Priority: Minor

>
> Allow for custom web applications to utilize site configuration files from other webapps

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (OFBIZ-77) site cofiguration parsing improvement

Posted by "BJ Freeman (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/OFBIZ-77?page=comments#action_12418893 ] 

BJ Freeman commented on OFBIZ-77:
---------------------------------

I assume you talking about custom apps within ofbiz_home.
Maybe make this part of the CMS where the ofbiz-conatiner.xml and controller.xml is generated for sites.
then the entity can be called thru a service.



> site cofiguration parsing improvement
> -------------------------------------
>
>          Key: OFBIZ-77
>          URL: http://issues.apache.org/jira/browse/OFBIZ-77
>      Project: The Open For Business Project
>         Type: Wish

>   Components: framework, accounting, content, ecommerce, humanres, manufacturing, marketing, order, party, pos, product, workeffort
>     Reporter: Chris Howe
>     Priority: Minor

>
> Allow for custom web applications to utilize site configuration files from other webapps

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (OFBIZ-77) site cofiguration parsing improvement

Posted by "David E. Jones (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/OFBIZ-77?page=comments#action_12418895 ] 

David E. Jones commented on OFBIZ-77:
-------------------------------------

Actually no, it isn't just loaded on startup. It is loaded whenever it is not found in the cache. By default from SVN the cache has a timeout so this is one of various files that is re-loaded on the fly.

Implementing something like this is fine, but before even deciding on an approach I'd recommend looking into the design more.

> site cofiguration parsing improvement
> -------------------------------------
>
>          Key: OFBIZ-77
>          URL: http://issues.apache.org/jira/browse/OFBIZ-77
>      Project: The Open For Business Project
>         Type: Wish

>   Components: framework, accounting, content, ecommerce, humanres, manufacturing, marketing, order, party, pos, product, workeffort
>     Reporter: Chris Howe
>     Priority: Minor

>
> Allow for custom web applications to utilize site configuration files from other webapps

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (OFBIZ-77) site cofiguration parsing improvement

Posted by "Chris Howe (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/OFBIZ-77?page=comments#action_12418896 ] 

Chris Howe commented on OFBIZ-77:
---------------------------------

How about this then:

change RequestManager.java around line 59 to run the service or java method if controller.xml isn't found first instead of simply outputing that there was an error finding WEB-INF/controller.xml.  Then if you want to take advantage of this you just delete your controller.xml file

> site cofiguration parsing improvement
> -------------------------------------
>
>          Key: OFBIZ-77
>          URL: http://issues.apache.org/jira/browse/OFBIZ-77
>      Project: The Open For Business Project
>         Type: Wish

>   Components: framework, accounting, content, ecommerce, humanres, manufacturing, marketing, order, party, pos, product, workeffort
>     Reporter: Chris Howe
>     Priority: Minor

>
> Allow for custom web applications to utilize site configuration files from other webapps

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (OFBIZ-77) site cofiguration parsing improvement

Posted by "Chris Howe (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-77?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12463818 ] 

Chris Howe commented on OFBIZ-77:
---------------------------------

I just did a couple context focusing stuffs...half hour in...how were we ever able to work without it?  Amazing!  It's one of those things that once you do it, you can't go back to the old way.

On a side note...can you close OFBIZ-77 :-)

> site cofiguration parsing improvement
> -------------------------------------
>
>                 Key: OFBIZ-77
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-77
>             Project: Apache OFBiz (The Open for Business Project)
>          Issue Type: Wish
>          Components: accounting, content, ecommerce, framework, humanres, manufacturing, marketing, order, party, pos, product, workeffort
>            Reporter: Chris Howe
>            Priority: Minor
>         Attachments: controllerMerge.xsl
>
>
> Allow for custom web applications to utilize site configuration files from other webapps

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (OFBIZ-77) site cofiguration parsing improvement

Posted by "Jacopo Cappellato (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-77?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacopo Cappellato closed OFBIZ-77.
----------------------------------

    Resolution: Fixed

> site cofiguration parsing improvement
> -------------------------------------
>
>                 Key: OFBIZ-77
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-77
>             Project: Apache OFBiz (The Open for Business Project)
>          Issue Type: Wish
>          Components: accounting, content, ecommerce, framework, humanres, manufacturing, marketing, order, party, pos, product, workeffort
>            Reporter: Chris Howe
>            Priority: Minor
>         Attachments: controllerMerge.xsl
>
>
> Allow for custom web applications to utilize site configuration files from other webapps

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (OFBIZ-77) site cofiguration parsing improvement

Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-77?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12463815 ] 

Jacques Le Roux commented on OFBIZ-77:
--------------------------------------

Yes, I realize now that sending a comment is just involving web connection,so it should be no problems. The remaining issues so far  are :
1. Context storage must be done trhu attachements (to share you work done...)
2. Search issues from Mylar (not too important but may be solved from infra)

But I'm sure there are still a lot to learn...

> site cofiguration parsing improvement
> -------------------------------------
>
>                 Key: OFBIZ-77
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-77
>             Project: Apache OFBiz (The Open for Business Project)
>          Issue Type: Wish
>          Components: accounting, content, ecommerce, framework, humanres, manufacturing, marketing, order, party, pos, product, workeffort
>            Reporter: Chris Howe
>            Priority: Minor
>         Attachments: controllerMerge.xsl
>
>
> Allow for custom web applications to utilize site configuration files from other webapps

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (OFBIZ-77) site cofiguration parsing improvement

Posted by "Chris Howe (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/OFBIZ-77?page=comments#action_12418888 ] 

Chris Howe commented on OFBIZ-77:
---------------------------------

I see this being accomplished in one of two ways

1) allow for multiple site configuration files ot be loaded into the request manager.  Thereby having the later additions override any duplicate requests, views, etc.

2)  dynamically create the controller.xml file through a service that parses multiple site configuration files.  For ongoing development this is less desirable as you would have to run the service after every change that you wanted to see the results.  Although a flag could be used to run/not run this service

> site cofiguration parsing improvement
> -------------------------------------
>
>          Key: OFBIZ-77
>          URL: http://issues.apache.org/jira/browse/OFBIZ-77
>      Project: The Open For Business Project
>         Type: Wish

>   Components: framework, accounting, content, ecommerce, humanres, manufacturing, marketing, order, party, pos, product, workeffort
>     Reporter: Chris Howe
>     Priority: Minor

>
> Allow for custom web applications to utilize site configuration files from other webapps

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (OFBIZ-77) site cofiguration parsing improvement

Posted by "Chris Howe (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-77?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12463810 ] 

Chris Howe commented on OFBIZ-77:
---------------------------------

I just started using it 5 minutes before I posted that, but it's pretty cool so far.  The planning component should be of great benefit.  I suspect the reason it didn't post is because it presents the option to close the issue and I selected that even  though I don't have permission to do that.  The other messages that I've posted to JIRA through Mylar this evening have gone through without a hitch.

For anyone following, there was a concern about it being resource intensive.  Albeit I have really gotten too far into it, but it seems equally as responsive as the other components of eclipse are.  My setup is kind of ancient.  900Mhz Athlon, 640MB RAM on XP (with OFBiz running concurrently of course :-) ).  So, if anyone was shying away based on not thinking they had enough resources, you should try it anyway.

> site cofiguration parsing improvement
> -------------------------------------
>
>                 Key: OFBIZ-77
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-77
>             Project: Apache OFBiz (The Open for Business Project)
>          Issue Type: Wish
>          Components: accounting, content, ecommerce, framework, humanres, manufacturing, marketing, order, party, pos, product, workeffort
>            Reporter: Chris Howe
>            Priority: Minor
>         Attachments: controllerMerge.xsl
>
>
> Allow for custom web applications to utilize site configuration files from other webapps

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (OFBIZ-77) site cofiguration parsing improvement

Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-77?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12463808 ] 

Jacques Le Roux commented on OFBIZ-77:
--------------------------------------

Chris,

Happy to see someone interested in Mylar too :o). I sent a message to Apache infra about a (I guess) related topic. I seems that there are no JIRA SOAP/RPC services running on server. This is needed from http://wiki.eclipse.org/index.php/Mylar_User_Guide#JIRA_Connector. BTW too bad the link 
http://wiki.eclipse.org/index.php/Mylar_FAQ#JIRA_Connector_troubleshooting is not working

Anyway context focusing alone is enoughe to justify Mylar use, isn't ?

> site cofiguration parsing improvement
> -------------------------------------
>
>                 Key: OFBIZ-77
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-77
>             Project: Apache OFBiz (The Open for Business Project)
>          Issue Type: Wish
>          Components: accounting, content, ecommerce, framework, humanres, manufacturing, marketing, order, party, pos, product, workeffort
>            Reporter: Chris Howe
>            Priority: Minor
>         Attachments: controllerMerge.xsl
>
>
> Allow for custom web applications to utilize site configuration files from other webapps

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (OFBIZ-77) site cofiguration parsing improvement

Posted by "Chris Howe (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-77?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12463800 ] 

Chris Howe commented on OFBIZ-77:
---------------------------------

I tried to add a comment using Mylar for this but it didn't seem to work.  I apologize if it ends up sending twice.

This issue was originally pursued as a workaround because the technique used in OFBIZ-370 was frowned upon.  Since the 370 technique is now in vogue, this can be closed as it's much more difficult. 

> site cofiguration parsing improvement
> -------------------------------------
>
>                 Key: OFBIZ-77
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-77
>             Project: Apache OFBiz (The Open for Business Project)
>          Issue Type: Wish
>          Components: accounting, content, ecommerce, framework, humanres, manufacturing, marketing, order, party, pos, product, workeffort
>            Reporter: Chris Howe
>            Priority: Minor
>         Attachments: controllerMerge.xsl
>
>
> Allow for custom web applications to utilize site configuration files from other webapps

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira