Re: svn commit: r712292 - /ofbiz/trunk/applications/ecommerce/webapp/ecommerce/includes/header.ftl

2008-11-08 Thread Rishi Solanki
Hello Vikas/All,

If we notice that on any site for example yahoo/gmail or any e commerce
site. There are two links available for any guest user in two ways ;
1). log in | register
2). sign in | sign up
So that user can go for registration from the main page itself. It means
that it is the regular and accepted convention followed by most of the site
(In my view all sites).

Also if a user not having any userLoginId then why he/she bother to click on
login link, and will definitely search for a link through which he/she can
register on that site.
One more thing in the designing of sites the navigation rules it self says
that we should provide all links on main page which are valid for a user. In
our case it is guest user who can create profile on our site.
It is only known to us that we can create our profile after clicking on
login and then on create. But not to user of that site.

Thoughts are most welcome   !!

-- 
Rishi Solanki
Enterprise Software Developer
HotWax Media Pvt. Ltd.

On Sat, Nov 8, 2008 at 11:50 AM, Vikas Mayur [EMAIL PROTECTED]wrote:

 inline.

 On Nov 8, 2008, at 11:45 AM, Rishi Solanki wrote:

  I think we need to add one link so user may have the option to create his
 profile.




 I know there is a link for login is exists,


 I guess this is sufficient to create a profile.


 Vikas


  but we should provide a link to
 register who visited the site as guest.




 --
 Rishi Solanki
 Enterprise Software Developer
 HotWax Media Pvt. Ltd.

 On Sat, Nov 8, 2008 at 3:55 AM, [EMAIL PROTECTED] wrote:

  Author: mor
 Date: Fri Nov  7 14:25:42 2008
 New Revision: 712292

 URL: http://svn.apache.org/viewvc?rev=712292view=rev
 Log:
 Few links on ecommerce header should be visible only to logged in user,
 hiding them for guest users

 Modified:
  ofbiz/trunk/applications/ecommerce/webapp/ecommerce/includes/header.ftl

 Modified:
 ofbiz/trunk/applications/ecommerce/webapp/ecommerce/includes/header.ftl
 URL:

 http://svn.apache.org/viewvc/ofbiz/trunk/applications/ecommerce/webapp/ecommerce/includes/header.ftl?rev=712292r1=712291r2=712292view=diff


 ==
 ---
 ofbiz/trunk/applications/ecommerce/webapp/ecommerce/includes/header.ftl
 (original)
 +++
 ofbiz/trunk/applications/ecommerce/webapp/ecommerce/includes/header.ftl
 Fri Nov  7 14:25:42 2008
 @@ -106,11 +106,13 @@
   /ul
   ul id=right-links
   !-- NOTE: these are in reverse order because they are stacked
 right to left instead of left to right --
 -li id=header-bar-viewprofilea

 href=@ofbizUrlviewprofile/@ofbizUrl${uiLabelMap.CommonProfile}/a/li
 -li id=header-bar-ListQuotesa

 href=@ofbizUrlListQuotes/@ofbizUrl${uiLabelMap.OrderOrderQuotes}/a/li
 -li id=header-bar-ListRequestsa

 href=@ofbizUrlListRequests/@ofbizUrl${uiLabelMap.OrderRequests}/a/li
 -li id=header-bar-editShoppingLista

 href=@ofbizUrleditShoppingList/@ofbizUrl${uiLabelMap.EcommerceShoppingLists}/a/li
 -li id=header-bar-orderhistorya

 href=@ofbizUrlorderhistory/@ofbizUrl${uiLabelMap.OrderHistory}/a/li
 +#if userLogin?has_content  userLogin.userLoginId !=
 anonymous
 +li id=header-bar-viewprofilea

 href=@ofbizUrlviewprofile/@ofbizUrl${uiLabelMap.CommonProfile}/a/li
 +li id=header-bar-ListQuotesa

 href=@ofbizUrlListQuotes/@ofbizUrl${uiLabelMap.OrderOrderQuotes}/a/li
 +li id=header-bar-ListRequestsa

 href=@ofbizUrlListRequests/@ofbizUrl${uiLabelMap.OrderRequests}/a/li
 +li id=header-bar-editShoppingLista

 href=@ofbizUrleditShoppingList/@ofbizUrl${uiLabelMap.EcommerceShoppingLists}/a/li
 +li id=header-bar-orderhistorya

 href=@ofbizUrlorderhistory/@ofbizUrl${uiLabelMap.OrderHistory}/a/li
 +/#if
   #if catalogQuickaddUse
   li id=header-bar-quickadda

 href=@ofbizUrlquickadd/@ofbizUrl${uiLabelMap.CommonQuickAdd}/a/li
   /#if







[jira] Closed: (OFBIZ-1996) The userPrefGroupId field on UserPrefGroupType should be userPrefGroupTypeId, as per conventions

2008-11-08 Thread Jacques Le Roux (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-1996?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jacques Le Roux closed OFBIZ-1996.
--

   Resolution: Fixed
Fix Version/s: SVN trunk
 Assignee: Jacques Le Roux

Thanks Ravindra,

Your patch is in trunk r.712366

Thanks Vikas for Wiki Upgrading OFBiz from earlier revisions page update


  The userPrefGroupId field on UserPrefGroupType should be 
 userPrefGroupTypeId, as per conventions
 -

 Key: OFBIZ-1996
 URL: https://issues.apache.org/jira/browse/OFBIZ-1996
 Project: OFBiz
  Issue Type: Improvement
Reporter: Ravindra Mandre
Assignee: Jacques Le Roux
Priority: Minor
 Fix For: SVN trunk

 Attachments: UserPrefGroupTypeId.patch




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



Re: I think userPrefGroupId field on UserPrefGroupType should be userPrefGroupTypeId, as per conventions

2008-11-08 Thread Jacques Le Roux

Thanks Vikas,

Commited in r712366, Wiki page updated

Jacques

From: Vikas Mayur [EMAIL PROTECTED]

Hi Jacques,

I have added the details at the bottom of the page 
http://docs.ofbiz.org/display/OFBTECH/Upgrading+OFBiz+from+earlier+revisions
After commit, this will need a little modification. It is to  
replace ?? with actual revision number.


The Jira issue is https://issues.apache.org/jira/browse/OFBIZ-1996


Thanks,
Vikas

On Oct 14, 2008, at 3:14 PM, Jacques Le Roux wrote:


Hi Vikas,

I'd prefer to wait, before committing, that the changes are documented

Thanks

Jacques

From: Vikas Mayur [EMAIL PROTECTED]

I think it would be good to document such change.
- Vikas
On Oct 13, 2008, at 8:36 PM, Jacques Le Roux wrote:

Hi Vikas,

Did not look into detail yet, but did you think about any needs  
to  fill http://docs.ofbiz.org/display/OFBTECH/Upgrading+OFBiz+from+earlier+revisions 
  ?


Jacques

From: Vikas Mayur [EMAIL PROTECTED]

Thanks Jacques for interest.

Please find the patch at https://issues.apache.org/jira/browse/OFBIZ-1996 
  , as it has framework files and I do not have rights.


- Vikas

On Oct 12, 2008, at 9:57 PM, Jacques Le Roux wrote:


+1 (64 occurences in code, ie *.bsh, *.ftl, *.gro*, *.java, *.xml)

Jacques

From: Vikas Mayur [EMAIL PROTECTED]

dev,
WDYT ?
If agreed I would submit a patch.
- Vikas









Re: svn commit: r712292 - /ofbiz/trunk/applications/ecommerce/webapp/ecommerce/includes/header.ftl

2008-11-08 Thread BJ Freeman
Bringing User Friendly screens to ofbiz has been one of my main efforts.
I am glad to see other at hotwax are embracing this.


Rishi Solanki sent the following on 11/8/2008 12:58 AM:
 Hello Vikas/All,
 
 If we notice that on any site for example yahoo/gmail or any e commerce
 site. There are two links available for any guest user in two ways ;
 1). log in | register
 2). sign in | sign up
 So that user can go for registration from the main page itself. It means
 that it is the regular and accepted convention followed by most of the site
 (In my view all sites).
 
 Also if a user not having any userLoginId then why he/she bother to click on
 login link, and will definitely search for a link through which he/she can
 register on that site.
 One more thing in the designing of sites the navigation rules it self says
 that we should provide all links on main page which are valid for a user. In
 our case it is guest user who can create profile on our site.
 It is only known to us that we can create our profile after clicking on
 login and then on create. But not to user of that site.
 
 Thoughts are most welcome   !!
 


Re: Selenium Presentation for OFBiz - Re: OOTB Unit Tests (was Re: Stable trunk?)

2008-11-08 Thread Tim Ruppert
This is correct.  I know that Brett is going to take the ball and dig  
in on the license issue a bit more this next week.  It kinda depends  
on whether or not we can help to change some of the GPL libs in the  
product in order to make it fully Apache compliant - regardless, it's  
a great platform and maybe something we'll have to host ourselves . . .


Cheers,
Tim
--
Tim Ruppert
HotWax Media
http://www.hotwaxmedia.com

o:801.649.6594
f:801.649.6595

On Nov 7, 2008, at 1:25 PM, Jacques Le Roux wrote:

I just wanted to remember any interested person about the Selenium  
lience issue we crossed some times ago and is still existing I'm

pretty sure (did not check though)
https://issues.apache.org/jira/browse/OFBIZ-680?focusedCommentId=12470728 
#action_12470728


There is where we see what GPL viral issue is all about :(Just a  
little part and all is polluted, at least from our POV)


Jacques

From: Jacques Le Roux [EMAIL PROTECTED]

Thanks for the link Brett,

Much appreciated

Jacques

From: Brett Palmer [EMAIL PROTECTED]
FYI,

Here is the link to the presentation on Selenium that I gave at the
ApacheCon/OFBiz conference this week.  There were several good  
presentations
on OFBiz this week.  Most of these are available at the  
us.apahecon.comwebsite.


http://us.apachecon.com/presentation/materials/118/ApacheCon2008_SeleniumXml.pdf


Brett



On Fri, Oct 31, 2008 at 4:03 AM, Erwan de FERRIERES 
[EMAIL PROTECTED] wrote:

Will the slides be available on the Internet after your  
presentation ? I'm
not coming to the ApacheCon, but I am very interested to see what  
you've

done with Selenium.


Brett Palmer a écrit :

David,
We have been using SeleniumRC and an extension called SeleniumXml  
that I
will be presenting on at the ApacheCon conference next week.   
These could

be
called from a normal ant process or used in Cruise Control.

Let's talk more about this next week at the conference.


Brett

On Wed, Oct 29, 2008 at 2:34 PM, David E Jones [EMAIL PROTECTED]
wrote:

Erwan,


It would be great to have some tests that go through the user  
interface,
but we don't have tools for this yet that fit into the automated  
test

system
in OFBiz (ie so they can run along with other tests, and run
automatically).

The goal is for the tests to all work with an ant run- 
tests (or java
-jar ofbiz.jar tests), and to cover as much of OFBiz OOTB as  
possible,

and
then to also be easy to customize or comment out those that no  
longer

apply
after people customize or add on to OFBiz.

If you guys would like to work on getting Selenium tests to work  
this

way,
that would be great. Others have looked at this and run into  
troubles, so
the last idea I heard was to use something different and that  
might be

more
manual for initial test writing, but probably easier to maintain.

At Hotwax we've written/recorded a bunch of Selenium tests for  
clients,

but
they are difficult to maintain and as far as we've gone they  
also have to

be
manually run and watched.

-David



On Oct 29, 2008, at 12:09 PM, Erwan de FERRIERES wrote:

Here at Nereide, we are ready to make selenium tests (it's a  
task we

have


planned to do, but which is always postponed).
So, if it's ok with you and that you are interested in that, we  
are

going
to make it real !

David E Jones a écrit :

On Oct 29, 2008, at 11:54 AM, Adam Heath wrote:


BJ Freeman wrote:


there has been an effort to put in test units.

the only thing lacking, in making it complete is manpower.

And fixing the existing tests that are broken. :|


This is an area where it would be REALLY GREAT to have more  
effort go
into the project. Yep, great enough to capitalize REALLY and  
GREAT.

Who has worked on the unit tests that are in place? I'll admit I
haven't
much except on the toolset and some of the framework unit  
tests and

helping
some of the Hotwax Media people who wrote many of the tests  
that now

exist,
especially the ones in the various applications.
Is there anyone interested in working on this stuff? If there  
are

enough
people who want to actively work on it we can setup some  
coordination
resources (ie Jira tasks, confluence pages, etc). If there are  
only 2-3

then
coordination through the mailing list would be better, and  
more visible

to
others possibly interested.
-David

--

- Erwan -







--
- Erwan -









smime.p7s
Description: S/MIME cryptographic signature


Re: svn commit: r712292 - /ofbiz/trunk/applications/ecommerce/webapp/ecommerce/includes/header.ftl

2008-11-08 Thread Jacques Le Roux

+1

Jacques

From: Rishi Solanki [EMAIL PROTECTED]

Hello Vikas/All,

If we notice that on any site for example yahoo/gmail or any e commerce
site. There are two links available for any guest user in two ways ;
1). log in | register
2). sign in | sign up
So that user can go for registration from the main page itself. It means
that it is the regular and accepted convention followed by most of the site
(In my view all sites).

Also if a user not having any userLoginId then why he/she bother to click on
login link, and will definitely search for a link through which he/she can
register on that site.
One more thing in the designing of sites the navigation rules it self says
that we should provide all links on main page which are valid for a user. In
our case it is guest user who can create profile on our site.
It is only known to us that we can create our profile after clicking on
login and then on create. But not to user of that site.

Thoughts are most welcome   !!

--
Rishi Solanki
Enterprise Software Developer
HotWax Media Pvt. Ltd.

On Sat, Nov 8, 2008 at 11:50 AM, Vikas Mayur [EMAIL PROTECTED]wrote:


inline.

On Nov 8, 2008, at 11:45 AM, Rishi Solanki wrote:

 I think we need to add one link so user may have the option to create his

profile.






I know there is a link for login is exists,



I guess this is sufficient to create a profile.


Vikas


 but we should provide a link to

register who visited the site as guest.






--
Rishi Solanki
Enterprise Software Developer
HotWax Media Pvt. Ltd.

On Sat, Nov 8, 2008 at 3:55 AM, [EMAIL PROTECTED] wrote:

 Author: mor

Date: Fri Nov  7 14:25:42 2008
New Revision: 712292

URL: http://svn.apache.org/viewvc?rev=712292view=rev
Log:
Few links on ecommerce header should be visible only to logged in user,
hiding them for guest users

Modified:
 ofbiz/trunk/applications/ecommerce/webapp/ecommerce/includes/header.ftl

Modified:
ofbiz/trunk/applications/ecommerce/webapp/ecommerce/includes/header.ftl
URL:

http://svn.apache.org/viewvc/ofbiz/trunk/applications/ecommerce/webapp/ecommerce/includes/header.ftl?rev=712292r1=712291r2=712292view=diff


==
---
ofbiz/trunk/applications/ecommerce/webapp/ecommerce/includes/header.ftl
(original)
+++
ofbiz/trunk/applications/ecommerce/webapp/ecommerce/includes/header.ftl
Fri Nov  7 14:25:42 2008
@@ -106,11 +106,13 @@
  /ul
  ul id=right-links
  !-- NOTE: these are in reverse order because they are stacked
right to left instead of left to right --
-li id=header-bar-viewprofilea

href=@ofbizUrlviewprofile/@ofbizUrl${uiLabelMap.CommonProfile}/a/li
-li id=header-bar-ListQuotesa

href=@ofbizUrlListQuotes/@ofbizUrl${uiLabelMap.OrderOrderQuotes}/a/li
-li id=header-bar-ListRequestsa

href=@ofbizUrlListRequests/@ofbizUrl${uiLabelMap.OrderRequests}/a/li
-li id=header-bar-editShoppingLista

href=@ofbizUrleditShoppingList/@ofbizUrl${uiLabelMap.EcommerceShoppingLists}/a/li
-li id=header-bar-orderhistorya

href=@ofbizUrlorderhistory/@ofbizUrl${uiLabelMap.OrderHistory}/a/li
+#if userLogin?has_content  userLogin.userLoginId !=
anonymous
+li id=header-bar-viewprofilea

href=@ofbizUrlviewprofile/@ofbizUrl${uiLabelMap.CommonProfile}/a/li
+li id=header-bar-ListQuotesa

href=@ofbizUrlListQuotes/@ofbizUrl${uiLabelMap.OrderOrderQuotes}/a/li
+li id=header-bar-ListRequestsa

href=@ofbizUrlListRequests/@ofbizUrl${uiLabelMap.OrderRequests}/a/li
+li id=header-bar-editShoppingLista

href=@ofbizUrleditShoppingList/@ofbizUrl${uiLabelMap.EcommerceShoppingLists}/a/li
+li id=header-bar-orderhistorya

href=@ofbizUrlorderhistory/@ofbizUrl${uiLabelMap.OrderHistory}/a/li
+/#if
  #if catalogQuickaddUse
  li id=header-bar-quickadda

href=@ofbizUrlquickadd/@ofbizUrl${uiLabelMap.CommonQuickAdd}/a/li
  /#if












Re: svn commit: r712292 - /ofbiz/trunk/applications/ecommerce/webapp/ecommerce/includes/header.ftl

2008-11-08 Thread Vikas Mayur
Rishi, Please provide the steps for this process (and probably a patch  
on Jira) and I will follow up from there.


Vikas

On Nov 8, 2008, at 2:28 PM, Rishi Solanki wrote:


Hello Vikas/All,

If we notice that on any site for example yahoo/gmail or any e  
commerce

site. There are two links available for any guest user in two ways ;
1). log in | register
2). sign in | sign up
So that user can go for registration from the main page itself. It  
means
that it is the regular and accepted convention followed by most of  
the site

(In my view all sites).

Also if a user not having any userLoginId then why he/she bother to  
click on
login link, and will definitely search for a link through which he/ 
she can

register on that site.
One more thing in the designing of sites the navigation rules it  
self says
that we should provide all links on main page which are valid for a  
user. In

our case it is guest user who can create profile on our site.
It is only known to us that we can create our profile after clicking  
on

login and then on create. But not to user of that site.

Thoughts are most welcome   !!

--
Rishi Solanki
Enterprise Software Developer
HotWax Media Pvt. Ltd.

On Sat, Nov 8, 2008 at 11:50 AM, Vikas Mayur [EMAIL PROTECTED] 
wrote:



inline.

On Nov 8, 2008, at 11:45 AM, Rishi Solanki wrote:

I think we need to add one link so user may have the option to  
create his

profile.






I know there is a link for login is exists,



I guess this is sufficient to create a profile.


Vikas


but we should provide a link to

register who visited the site as guest.






--
Rishi Solanki
Enterprise Software Developer
HotWax Media Pvt. Ltd.

On Sat, Nov 8, 2008 at 3:55 AM, [EMAIL PROTECTED] wrote:

Author: mor

Date: Fri Nov  7 14:25:42 2008
New Revision: 712292

URL: http://svn.apache.org/viewvc?rev=712292view=rev
Log:
Few links on ecommerce header should be visible only to logged in  
user,

hiding them for guest users

Modified:
ofbiz/trunk/applications/ecommerce/webapp/ecommerce/includes/ 
header.ftl


Modified:
ofbiz/trunk/applications/ecommerce/webapp/ecommerce/includes/ 
header.ftl

URL:

http://svn.apache.org/viewvc/ofbiz/trunk/applications/ecommerce/webapp/ecommerce/includes/header.ftl?rev=712292r1=712291r2=712292view=diff


= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
= 
===

---
ofbiz/trunk/applications/ecommerce/webapp/ecommerce/includes/ 
header.ftl

(original)
+++
ofbiz/trunk/applications/ecommerce/webapp/ecommerce/includes/ 
header.ftl

Fri Nov  7 14:25:42 2008
@@ -106,11 +106,13 @@
 /ul
 ul id=right-links
 !-- NOTE: these are in reverse order because they are stacked
right to left instead of left to right --
-li id=header-bar-viewprofilea

href=@ofbizUrlviewprofile/@ofbizUrl$ 
{uiLabelMap.CommonProfile}/a/li

-li id=header-bar-ListQuotesa

href=@ofbizUrlListQuotes/@ofbizUrl$ 
{uiLabelMap.OrderOrderQuotes}/a/li

-li id=header-bar-ListRequestsa

href=@ofbizUrlListRequests/@ofbizUrl$ 
{uiLabelMap.OrderRequests}/a/li

-li id=header-bar-editShoppingLista

href=@ofbizUrleditShoppingList/@ofbizUrl$ 
{uiLabelMap.EcommerceShoppingLists}/a/li

-li id=header-bar-orderhistorya

href=@ofbizUrlorderhistory/@ofbizUrl$ 
{uiLabelMap.OrderHistory}/a/li

+#if userLogin?has_content  userLogin.userLoginId !=
anonymous
+li id=header-bar-viewprofilea

href=@ofbizUrlviewprofile/@ofbizUrl$ 
{uiLabelMap.CommonProfile}/a/li

+li id=header-bar-ListQuotesa

href=@ofbizUrlListQuotes/@ofbizUrl$ 
{uiLabelMap.OrderOrderQuotes}/a/li

+li id=header-bar-ListRequestsa

href=@ofbizUrlListRequests/@ofbizUrl$ 
{uiLabelMap.OrderRequests}/a/li

+li id=header-bar-editShoppingLista

href=@ofbizUrleditShoppingList/@ofbizUrl$ 
{uiLabelMap.EcommerceShoppingLists}/a/li

+li id=header-bar-orderhistorya

href=@ofbizUrlorderhistory/@ofbizUrl$ 
{uiLabelMap.OrderHistory}/a/li

+/#if
 #if catalogQuickaddUse
 li id=header-bar-quickadda

href=@ofbizUrlquickadd/@ofbizUrl$ 
{uiLabelMap.CommonQuickAdd}/a/li

 /#if










Re: I think userPrefGroupId field on UserPrefGroupType should be userPrefGroupTypeId, as per conventions

2008-11-08 Thread Vikas Mayur

Thanks Jacques.

Vikas

On Nov 8, 2008, at 2:31 PM, Jacques Le Roux wrote:


Thanks Vikas,

Commited in r712366, Wiki page updated

Jacques

From: Vikas Mayur [EMAIL PROTECTED]

Hi Jacques,
I have added the details at the bottom of the page 
http://docs.ofbiz.org/display/OFBTECH/Upgrading+OFBiz+from+earlier+revisions
After commit, this will need a little modification. It is to   
replace ?? with actual revision number.

The Jira issue is https://issues.apache.org/jira/browse/OFBIZ-1996
Thanks,
Vikas
On Oct 14, 2008, at 3:14 PM, Jacques Le Roux wrote:

Hi Vikas,

I'd prefer to wait, before committing, that the changes are  
documented


Thanks

Jacques

From: Vikas Mayur [EMAIL PROTECTED]

I think it would be good to document such change.
- Vikas
On Oct 13, 2008, at 8:36 PM, Jacques Le Roux wrote:

Hi Vikas,

Did not look into detail yet, but did you think about any needs   
to  fill http://docs.ofbiz.org/display/OFBTECH/Upgrading+OFBiz+from+earlier+revisions 
   ?


Jacques

From: Vikas Mayur [EMAIL PROTECTED]

Thanks Jacques for interest.

Please find the patch at https://issues.apache.org/jira/browse/OFBIZ-1996 
   , as it has framework files and I do not have rights.


- Vikas

On Oct 12, 2008, at 9:57 PM, Jacques Le Roux wrote:

+1 (64 occurences in code, ie *.bsh, *.ftl, *.gro*, *.java,  
*.xml)


Jacques

From: Vikas Mayur [EMAIL PROTECTED]

dev,
WDYT ?
If agreed I would submit a patch.
- Vikas










[jira] Assigned: (OFBIZ-2020) Using one Ofbiz instance with multiple databases

2008-11-08 Thread Jacques Le Roux (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-2020?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jacques Le Roux reassigned OFBIZ-2020:
--

Assignee: Jacques Le Roux

 Using one Ofbiz instance with multiple databases
 

 Key: OFBIZ-2020
 URL: https://issues.apache.org/jira/browse/OFBIZ-2020
 Project: OFBiz
  Issue Type: New Feature
Affects Versions: SVN trunk
Reporter: youssef khaye
Assignee: Jacques Le Roux
 Fix For: SVN trunk

 Attachments: ofbiz-multi.patch


 I want to share my work with you implementing the use of one OFBiz instance 
 with multiple databases, by defining multiple delegators, in the 
 entityengine.xml, one for each databases. this is useful when we implementing 
 ofbiz for semi-independent subsidiaries of one company having users allowed 
 to use two or more databases.
 This involve mainly the user authentication procedure by asking for a company 
 name in the login form. This company name represents a delegator name that 
 describe a specific subsidiary database. After a successful user login 
 operation, the passed company name is used to retrieve the corresponding 
 delegator. The method CoreEvents.chageDelegator is modified to change the 
 delegator of related Dispatcher and JobManager.
 Of course I needed to store the delegator name in the GenericValue UserLogin 
 to navigate among different ofbiz applications keeping the same original 
 database.
 I also provided a kind of mechanism to activate or deactivates the use of 
 multi-delegator by adding a multi.delegator property in the 
 security.properties configuration file that when set true, cause the ofbiz to 
 display he company field in the login form and do the necessary work to 
 switch from default database to the provided one.
 I will be open to discuss any suggestion for improving this issue.
 Following is a patch for current ofbiz trunk version:

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



Re: svn commit: r712292 - /ofbiz/trunk/applications/ecommerce/webapp/ecommerce/includes/header.ftl

2008-11-08 Thread Ravi
+1 for suggestions.

Ravindra Mandre
Hotwax Media Pvt Ltd
Indore


[jira] Updated: (OFBIZ-1999) A portal/portlet implementation

2008-11-08 Thread Bruno Busco (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-1999?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bruno Busco updated OFBIZ-1999:
---

Attachment: portalPages.patch

In the new attached patch I have started to implement the portlet attributes 
editing.

At this stage I would definitively like an expert review of the design and 
implementation.

I also need help in completing the attribute editing.

Is anybody interested and available to help?
Many thanks,
Bruno

 A portal/portlet implementation
 ---

 Key: OFBIZ-1999
 URL: https://issues.apache.org/jira/browse/OFBIZ-1999
 Project: OFBiz
  Issue Type: New Feature
  Components: ALL COMPONENTS
Reporter: Bruno Busco
Priority: Minor
 Attachments: portalPage-configure-off.jpg, 
 portalPage-configure-on.jpg, portalPageImages.zip, portalPages.patch, 
 portalPages.patch, portalPages.patch, portalPages.patch, portalPages.patch, 
 portalPages.patch, portalPages.patch, portalPages.patch, portalPages.patch


 Hi devs,
 I am trying to set up a portal/portlet model similar to what is implemented 
 into JIRA user interface.
 The Idea is that every component can register its selected screens as 
 system portlets using something like:
 Portlet portletId=WELCOME name=Welcome description=Welcome message 
 screenPath=component://portal/widget/CommonScreens.xml#welcome /
 In this case the portal component has registered a welcome screen as 
 WELCOME portlet.
 The portlets can later be mounted into portals with the entity:
 PortalPortletAppl portalId=DEFAULT portletId=WELCOME  
 columnNum=1 sequenceNum=1 /
 PortalPortletAppl portalId=DEFAULT portletId=LOGIN
 columnNum=2 sequenceNum=2 /
 PortalPortletAppl portalId=DEFAULT portletId=PORTLET001   
 columnNum=1 sequenceNum=2 /
 PortalPortletAppl portalId=DEFAULT portletId=PORTLET002   
 columnNum=3 sequenceNum=2 /
 PortalPortletAppl portalId=DEFAULT portletId=PORTLET003   
 columnNum=1 sequenceNum=2 /
 In this case the portlets WELCOME, LOGIN, PORTLET001, PORTLET002 and 
 PORTLET003 are mounted into the DEFAULT portal into the indicated solumns and 
 with the indicated order.
 Every portal is defined by the entity:
 Portal portalId=DEFAULT name=Default home portal description=The 
 default OFBiz portal owner=admin /
 And is related to a specific user. So every user can have as many portals he 
 needs and a DEFAULT portal can be defined by the admin.
 In the attached zip file there is a very draft implementation of this that I 
 would like so submit to your attention to share ideas about it and eventually 
 develop together.
 Many thanks for your feedbacks,
 Bruno

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



Re: Selenium Presentation for OFBiz - Re: OOTB Unit Tests (was Re: Stable trunk?)

2008-11-08 Thread Jacques Le Roux

Hi Brett,

Just curious, have you ever used/tested Clover 
http://www.atlassian.com/software/clover/ ?

Thanks

Jacques

From: Brett Palmer [EMAIL PROTECTED]
FYI,

Here is the link to the presentation on Selenium that I gave at the
ApacheCon/OFBiz conference this week.  There were several good presentations
on OFBiz this week.  Most of these are available at the us.apahecon.comwebsite.

http://us.apachecon.com/presentation/materials/118/ApacheCon2008_SeleniumXml.pdf


Brett



On Fri, Oct 31, 2008 at 4:03 AM, Erwan de FERRIERES 
[EMAIL PROTECTED] wrote:


Will the slides be available on the Internet after your presentation ? I'm
not coming to the ApacheCon, but I am very interested to see what you've
done with Selenium.


Brett Palmer a écrit :

 David,

We have been using SeleniumRC and an extension called SeleniumXml that I
will be presenting on at the ApacheCon conference next week.  These could
be
called from a normal ant process or used in Cruise Control.

Let's talk more about this next week at the conference.


Brett

On Wed, Oct 29, 2008 at 2:34 PM, David E Jones [EMAIL PROTECTED]
wrote:

 Erwan,


It would be great to have some tests that go through the user interface,
but we don't have tools for this yet that fit into the automated test
system
in OFBiz (ie so they can run along with other tests, and run
automatically).

The goal is for the tests to all work with an ant run-tests (or java
-jar ofbiz.jar tests), and to cover as much of OFBiz OOTB as possible,
and
then to also be easy to customize or comment out those that no longer
apply
after people customize or add on to OFBiz.

If you guys would like to work on getting Selenium tests to work this
way,
that would be great. Others have looked at this and run into troubles, so
the last idea I heard was to use something different and that might be
more
manual for initial test writing, but probably easier to maintain.

At Hotwax we've written/recorded a bunch of Selenium tests for clients,
but
they are difficult to maintain and as far as we've gone they also have to
be
manually run and watched.

-David



On Oct 29, 2008, at 12:09 PM, Erwan de FERRIERES wrote:

 Here at Nereide, we are ready to make selenium tests (it's a task we
have


planned to do, but which is always postponed).
So, if it's ok with you and that you are interested in that, we are
going
to make it real !

David E Jones a écrit :

 On Oct 29, 2008, at 11:54 AM, Adam Heath wrote:


 BJ Freeman wrote:


 there has been an effort to put in test units.

the only thing lacking, in making it complete is manpower.

 And fixing the existing tests that are broken. :|


 This is an area where it would be REALLY GREAT to have more effort go

into the project. Yep, great enough to capitalize REALLY and GREAT.
Who has worked on the unit tests that are in place? I'll admit I
haven't
much except on the toolset and some of the framework unit tests and
helping
some of the Hotwax Media people who wrote many of the tests that now
exist,
especially the ones in the various applications.
Is there anyone interested in working on this stuff? If there are
enough
people who want to actively work on it we can setup some coordination
resources (ie Jira tasks, confluence pages, etc). If there are only 2-3
then
coordination through the mailing list would be better, and more visible
to
others possibly interested.
-David

 --

- Erwan -







--
- Erwan -





[jira] Commented: (OFBIZ-2018) put currency currencyUomId field in the primary key of the RateType entity and add percentage field in the partyRate entity

2008-11-08 Thread Hans Bakker (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-2018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12646037#action_12646037
 ] 

Hans Bakker commented on OFBIZ-2018:


to make the fields more consistent i would also like to rename the field: 
rateUomId to: currencyUomId in the RateType table


 put currency currencyUomId field in the primary key of the RateType entity 
 and add percentage field in the partyRate entity
 ---

 Key: OFBIZ-2018
 URL: https://issues.apache.org/jira/browse/OFBIZ-2018
 Project: OFBiz
  Issue Type: Improvement
  Components: specialpurpose/projectmgr, workeffort
Affects Versions: SVN trunk
 Environment: any
Reporter: Hans Bakker
Assignee: Hans Bakker
Priority: Minor
 Fix For: SVN trunk


 Proposed are 2 changes realting to a rate:
 1. move the currencyUomId field in the primary key of the Ratetype table and 
 change the reference to the PartyRate including the rateType and 
 currencyUomId. This allows to specify a rateType in different currencies.
 2. Add a percentage field to the partyRate entity to charge only a percentage 
 of the actual time spend on the task. We have many employees in training and 
 we want only a percentage of the time to be charged on the invoice.

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



[jira] Commented: (OFBIZ-2018) put currency currencyUomId field in the primary key of the RateType entity and add percentage field in the partyRate entity

2008-11-08 Thread David E. Jones (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-2018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12646040#action_12646040
 ] 

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

Would that make the purpose of the field less clear?

What I mean is that if there is a rate field and a rateUomId it is clear 
they go together, but if it was named something else then it would be hard to 
tell by the names and would only be clear through documentation or something 
(not that there shouldn't be documentation too, but it's nice to see patterns 
according to how things are named).

 put currency currencyUomId field in the primary key of the RateType entity 
 and add percentage field in the partyRate entity
 ---

 Key: OFBIZ-2018
 URL: https://issues.apache.org/jira/browse/OFBIZ-2018
 Project: OFBiz
  Issue Type: Improvement
  Components: specialpurpose/projectmgr, workeffort
Affects Versions: SVN trunk
 Environment: any
Reporter: Hans Bakker
Assignee: Hans Bakker
Priority: Minor
 Fix For: SVN trunk


 Proposed are 2 changes realting to a rate:
 1. move the currencyUomId field in the primary key of the Ratetype table and 
 change the reference to the PartyRate including the rateType and 
 currencyUomId. This allows to specify a rateType in different currencies.
 2. Add a percentage field to the partyRate entity to charge only a percentage 
 of the actual time spend on the task. We have many employees in training and 
 we want only a percentage of the time to be charged on the invoice.

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



Re: Selenium Presentation for OFBiz - Re: OOTB Unit Tests (was Re: Stable trunk?)

2008-11-08 Thread Brett Palmer
Jacques,
I've worked with people that have used it and they speak very highly of the
product.  I haven't tried it myself though.

Brett

On Sat, Nov 8, 2008 at 2:28 PM, Jacques Le Roux 
[EMAIL PROTECTED] wrote:

 Hi Brett,

 Just curious, have you ever used/tested Clover
 http://www.atlassian.com/software/clover/ ?

 Thanks

 Jacques

 From: Brett Palmer [EMAIL PROTECTED]
 FYI,

 Here is the link to the presentation on Selenium that I gave at the
 ApacheCon/OFBiz conference this week.  There were several good
 presentations
 on OFBiz this week.  Most of these are available at the
 us.apahecon.comwebsite.


 http://us.apachecon.com/presentation/materials/118/ApacheCon2008_SeleniumXml.pdf


 Brett



 On Fri, Oct 31, 2008 at 4:03 AM, Erwan de FERRIERES 
 [EMAIL PROTECTED] wrote:

  Will the slides be available on the Internet after your presentation ? I'm
 not coming to the ApacheCon, but I am very interested to see what you've
 done with Selenium.


 Brett Palmer a écrit :

  David,

 We have been using SeleniumRC and an extension called SeleniumXml that I
 will be presenting on at the ApacheCon conference next week.  These could
 be
 called from a normal ant process or used in Cruise Control.

 Let's talk more about this next week at the conference.


 Brett

 On Wed, Oct 29, 2008 at 2:34 PM, David E Jones [EMAIL PROTECTED]
 wrote:

  Erwan,


 It would be great to have some tests that go through the user interface,
 but we don't have tools for this yet that fit into the automated test
 system
 in OFBiz (ie so they can run along with other tests, and run
 automatically).

 The goal is for the tests to all work with an ant run-tests (or java
 -jar ofbiz.jar tests), and to cover as much of OFBiz OOTB as possible,
 and
 then to also be easy to customize or comment out those that no longer
 apply
 after people customize or add on to OFBiz.

 If you guys would like to work on getting Selenium tests to work this
 way,
 that would be great. Others have looked at this and run into troubles,
 so
 the last idea I heard was to use something different and that might be
 more
 manual for initial test writing, but probably easier to maintain.

 At Hotwax we've written/recorded a bunch of Selenium tests for clients,
 but
 they are difficult to maintain and as far as we've gone they also have
 to
 be
 manually run and watched.

 -David



 On Oct 29, 2008, at 12:09 PM, Erwan de FERRIERES wrote:

  Here at Nereide, we are ready to make selenium tests (it's a task we
 have

  planned to do, but which is always postponed).
 So, if it's ok with you and that you are interested in that, we are
 going
 to make it real !

 David E Jones a écrit :

  On Oct 29, 2008, at 11:54 AM, Adam Heath wrote:


  BJ Freeman wrote:


  there has been an effort to put in test units.

 the only thing lacking, in making it complete is manpower.

  And fixing the existing tests that are broken. :|


  This is an area where it would be REALLY GREAT to have more effort
 go

 into the project. Yep, great enough to capitalize REALLY and
 GREAT.
 Who has worked on the unit tests that are in place? I'll admit I
 haven't
 much except on the toolset and some of the framework unit tests and
 helping
 some of the Hotwax Media people who wrote many of the tests that now
 exist,
 especially the ones in the various applications.
 Is there anyone interested in working on this stuff? If there are
 enough
 people who want to actively work on it we can setup some coordination
 resources (ie Jira tasks, confluence pages, etc). If there are only
 2-3
 then
 coordination through the mailing list would be better, and more
 visible
 to
 others possibly interested.
 -David

  --

 - Erwan -




  --
 - Erwan -





[jira] Commented: (OFBIZ-2018) put currency currencyUomId field in the primary key of the RateType entity and add percentage field in the partyRate entity

2008-11-08 Thread Hans Bakker (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-2018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12646046#action_12646046
 ] 

Hans Bakker commented on OFBIZ-2018:


David, I tried to count the number of times currencyUomId is used through the 
entites and stopped counting at 20. so it is an often used pattern. That is the 
reason i renamed it because the file need to be recreated anyway..
uomId can mean anything and adding the 'currency' to it makes it more clear. To 
have a compromise rateCurrencyUomId is a solution? 

 put currency currencyUomId field in the primary key of the RateType entity 
 and add percentage field in the partyRate entity
 ---

 Key: OFBIZ-2018
 URL: https://issues.apache.org/jira/browse/OFBIZ-2018
 Project: OFBiz
  Issue Type: Improvement
  Components: specialpurpose/projectmgr, workeffort
Affects Versions: SVN trunk
 Environment: any
Reporter: Hans Bakker
Assignee: Hans Bakker
Priority: Minor
 Fix For: SVN trunk


 Proposed are 2 changes realting to a rate:
 1. move the currencyUomId field in the primary key of the Ratetype table and 
 change the reference to the PartyRate including the rateType and 
 currencyUomId. This allows to specify a rateType in different currencies.
 2. Add a percentage field to the partyRate entity to charge only a percentage 
 of the actual time spend on the task. We have many employees in training and 
 we want only a percentage of the time to be charged on the invoice.

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