[jira] Commented: (OFBIZ-2021) ModelFormField.java does not use the type size to define the textField.setMaxlength

2008-11-01 Thread vu hong thuan (JIRA)

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

vu hong thuan commented on OFBIZ-2021:
--

I think we would specify length of field type in ModelField.java
So we can get the specified length of field type to put into 
ModelFormField.java.
Then we can use
textField.setMaxlength(modelField.getLength())
instead of
textField.setMaxlength(Integer.valueOf(60));


 ModelFormField.java does not use the type size to define the 
 textField.setMaxlength
 ---

 Key: OFBIZ-2021
 URL: https://issues.apache.org/jira/browse/OFBIZ-2021
 Project: OFBiz
  Issue Type: Bug
  Components: framework
Reporter: BJ Freeman

 uses
 textField.setMaxlength(Integer.valueOf(60));
 instead of  setting it to the size defined by the type.

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



[jira] Created: (OFBIZ-2022) Missing in the LookupPreferredContactMech of contactMechIdTo field in Create new Communication Event form

2008-10-25 Thread vu hong thuan (JIRA)
Missing in the LookupPreferredContactMech of contactMechIdTo field in Create 
new Communication Event form
-

 Key: OFBIZ-2022
 URL: https://issues.apache.org/jira/browse/OFBIZ-2022
 Project: OFBiz
  Issue Type: Bug
  Components: party
Affects Versions: SVN trunk
Reporter: vu hong thuan
 Fix For: SVN trunk


In file \applications\party\webapp\partymgr\communication\CommForms.xml
Missing in the LookupPreferredContactMech property of contactMechIdTo field in 
Create new Communication Event form.
Missing between partyIdTo and partyIdFrom.

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



[jira] Resolved: (OFBIZ-2022) Missing in the LookupPreferredContactMech of contactMechIdTo field in Create new Communication Event form

2008-10-25 Thread vu hong thuan (JIRA)

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

vu hong thuan resolved OFBIZ-2022.
--

Resolution: Fixed

I've create patch file.

 Missing in the LookupPreferredContactMech of contactMechIdTo field in Create 
 new Communication Event form
 -

 Key: OFBIZ-2022
 URL: https://issues.apache.org/jira/browse/OFBIZ-2022
 Project: OFBiz
  Issue Type: Bug
  Components: party
Affects Versions: SVN trunk
Reporter: vu hong thuan
 Fix For: SVN trunk

 Attachments: CommForms.ofbiz.patch


 In file \applications\party\webapp\partymgr\communication\CommForms.xml
 Missing in the LookupPreferredContactMech property of contactMechIdTo field 
 in Create new Communication Event form.
 Missing between partyIdTo and partyIdFrom.

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



[jira] Updated: (OFBIZ-2022) Missing in the LookupPreferredContactMech of contactMechIdTo field in Create new Communication Event form

2008-10-25 Thread vu hong thuan (JIRA)

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

vu hong thuan updated OFBIZ-2022:
-

Attachment: CommForms.ofbiz.patch

 Missing in the LookupPreferredContactMech of contactMechIdTo field in Create 
 new Communication Event form
 -

 Key: OFBIZ-2022
 URL: https://issues.apache.org/jira/browse/OFBIZ-2022
 Project: OFBiz
  Issue Type: Bug
  Components: party
Affects Versions: SVN trunk
Reporter: vu hong thuan
 Fix For: SVN trunk

 Attachments: CommForms.ofbiz.patch


 In file \applications\party\webapp\partymgr\communication\CommForms.xml
 Missing in the LookupPreferredContactMech property of contactMechIdTo field 
 in Create new Communication Event form.
 Missing between partyIdTo and partyIdFrom.

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



[jira] Updated: (OFBIZ-2022) Missing in the LookupPreferredContactMech of contactMechIdTo field in Create new Communication Event form

2008-10-25 Thread vu hong thuan (JIRA)

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

vu hong thuan updated OFBIZ-2022:
-

Attachment: (was: CommForms.ofbiz.patch)

 Missing in the LookupPreferredContactMech of contactMechIdTo field in Create 
 new Communication Event form
 -

 Key: OFBIZ-2022
 URL: https://issues.apache.org/jira/browse/OFBIZ-2022
 Project: OFBiz
  Issue Type: Bug
  Components: party
Affects Versions: SVN trunk
Reporter: vu hong thuan
 Fix For: SVN trunk

 Attachments: CommForms.ofbiz.patch


 In file \applications\party\webapp\partymgr\communication\CommForms.xml
 Missing in the LookupPreferredContactMech property of contactMechIdTo field 
 in Create new Communication Event form.
 Missing between partyIdTo and partyIdFrom.

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



[jira] Updated: (OFBIZ-2022) Missing in the LookupPreferredContactMech of contactMechIdTo field in Create new Communication Event form

2008-10-25 Thread vu hong thuan (JIRA)

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

vu hong thuan updated OFBIZ-2022:
-

Attachment: CommForms.ofbiz.patch

 Missing in the LookupPreferredContactMech of contactMechIdTo field in Create 
 new Communication Event form
 -

 Key: OFBIZ-2022
 URL: https://issues.apache.org/jira/browse/OFBIZ-2022
 Project: OFBiz
  Issue Type: Bug
  Components: party
Affects Versions: SVN trunk
Reporter: vu hong thuan
 Fix For: SVN trunk

 Attachments: CommForms.ofbiz.patch


 In file \applications\party\webapp\partymgr\communication\CommForms.xml
 Missing in the LookupPreferredContactMech property of contactMechIdTo field 
 in Create new Communication Event form.
 Missing between partyIdTo and partyIdFrom.

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



[jira] Issue Comment Edited: (OFBIZ-2022) Missing in the LookupPreferredContactMech of contactMechIdTo field in Create new Communication Event form

2008-10-25 Thread vu hong thuan (JIRA)

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

thuanvh edited comment on OFBIZ-2022 at 10/25/08 9:23 PM:


I've created patch file.

  was (Author: thuanvh):
I've create patch file.
  
 Missing in the LookupPreferredContactMech of contactMechIdTo field in Create 
 new Communication Event form
 -

 Key: OFBIZ-2022
 URL: https://issues.apache.org/jira/browse/OFBIZ-2022
 Project: OFBiz
  Issue Type: Bug
  Components: party
Affects Versions: SVN trunk
Reporter: vu hong thuan
 Fix For: SVN trunk

 Attachments: CommForms.ofbiz.patch


 In file \applications\party\webapp\partymgr\communication\CommForms.xml
 Missing in the LookupPreferredContactMech property of contactMechIdTo field 
 in Create new Communication Event form.
 Missing between partyIdTo and partyIdFrom.

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



[jira] Commented: (OFBIZ-1738) Add support for running one instance of OfBiz under Tomcat

2008-08-07 Thread vu hong thuan (JIRA)

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

vu hong thuan commented on OFBIZ-1738:
--

I found some errors in generate batch file for catalina.bat in windows 
environment
1. Should use forward-slash / than backward-slash \  in catalina.properties 
such as

ofbiz.home=D:/Project/ofbiz-tomcat6/ofbiz
shared.loader=file://${ofbiz.home}/ofbiz.jar,\
${ofbiz.home},\
${ofbiz.home}/framework/base/dtd,\
${ofbiz.home}/framework/base/config,\
${ofbiz.home}/framework/entity/dtd,\
${ofbiz.home}/framework/entity/config,\

2. Error in catalina.bat
should use
set JAVA_OPTS=-Dofbiz.home=D:/Project/Nammedia/nerp-tomcat6/nerp
rather than
set JAVA_OPTS=%JAVA_OPTS% -Dofbiz.home=D:/Project/Nammedia/nerp-tomcat6/nerp

3. After I reconfig, I can run tomcat, but unable to start application because 
the following error

Aug 7, 2008 5:21:17 PM org.apache.catalina.core.StandardContext 
addApplicationListener
INFO: The listener org.ofbiz.webapp.control.ControlEventListener is already 
configured for this context. The duplicate definition has been ignored.
Aug 7, 2008 5:21:17 PM org.apache.catalina.core.StandardContext 
addApplicationListener
INFO: The listener org.ofbiz.webapp.control.LoginEventListener is already 
configured for this context. The duplicate definition has been ignored.
...

Can you help me, please?
Thanks

 Add support for running one instance of OfBiz under Tomcat
 --

 Key: OFBIZ-1738
 URL: https://issues.apache.org/jira/browse/OFBIZ-1738
 Project: OFBiz
  Issue Type: New Feature
  Components: framework
Affects Versions: SVN trunk
 Environment: Mac OS X 10.5.2, JDK 1.5.0_13
Reporter: Ludovic Maître
Assignee: Jacques Le Roux
Priority: Minor
 Fix For: SVN trunk

 Attachments: ofbiz-tomcat-setup.zip, tomcat.zip

   Original Estimate: 8h
  Remaining Estimate: 8h

 This issue provide templates and patchs to run one instance of OfBiz under 
 Tomcat.
 The templates are used to:
 - setup the classpath of Tomcat, (catalina.properties)
 - declare the ofbiz webapps in the server configuration
 The files generated from the templates, with the command 'java -jar ofbiz.jar 
 -setup tomcat', should be copied in the $CATALINA_HOME/conf folder of Tomcat.
 IIRC there is also some setup to perform in the first loaded webapp, and a 
 few other modifications in the code, i will digg into it this evening (French 
 riviera time) and create a patch which will be added to this issue. (the full 
 code is also published on my subversion server: 
 http://forge.ubik-products.com/repositories/apache-ofbiz/trunk/ , but good 
 luck to find the relveant parts :-))
 Best regards,

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



[jira] Issue Comment Edited: (OFBIZ-1738) Add support for running one instance of OfBiz under Tomcat

2008-08-07 Thread vu hong thuan (JIRA)

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

thuanvh edited comment on OFBIZ-1738 at 8/7/08 3:40 AM:
--

I found some errors in generate batch file for catalina.bat in windows 
environment
1. Should use forward-slash / than backward-slash \  in catalina.properties 
such as

ofbiz.home=D:/Project/ofbiz-tomcat6/ofbiz
shared.loader=file://${ofbiz.home}/ofbiz.jar,\
${ofbiz.home},\
${ofbiz.home}/framework/base/dtd,\
${ofbiz.home}/framework/base/config,\
${ofbiz.home}/framework/entity/dtd,\
${ofbiz.home}/framework/entity/config,\

2. Error in catalina.bat
should use
set JAVA_OPTS=-Dofbiz.home=D:/Project/ofbiz-tomcat6/ofbiz
rather than
set JAVA_OPTS=%JAVA_OPTS% -Dofbiz.home=D:/Project/ofbiz-tomcat6/ofbiz

3. After I reconfig, I can run tomcat, but unable to start application because 
the following error

Aug 7, 2008 5:21:17 PM org.apache.catalina.core.StandardContext 
addApplicationListener
INFO: The listener org.ofbiz.webapp.control.ControlEventListener is already 
configured for this context. The duplicate definition has been ignored.
Aug 7, 2008 5:21:17 PM org.apache.catalina.core.StandardContext 
addApplicationListener
INFO: The listener org.ofbiz.webapp.control.LoginEventListener is already 
configured for this context. The duplicate definition has been ignored.
...

Can you help me, please?
Thanks

  was (Author: thuanvh):
I found some errors in generate batch file for catalina.bat in windows 
environment
1. Should use forward-slash / than backward-slash \  in catalina.properties 
such as

ofbiz.home=D:/Project/ofbiz-tomcat6/ofbiz
shared.loader=file://${ofbiz.home}/ofbiz.jar,\
${ofbiz.home},\
${ofbiz.home}/framework/base/dtd,\
${ofbiz.home}/framework/base/config,\
${ofbiz.home}/framework/entity/dtd,\
${ofbiz.home}/framework/entity/config,\

2. Error in catalina.bat
should use
set JAVA_OPTS=-Dofbiz.home=D:/Project/Nammedia/nerp-tomcat6/nerp
rather than
set JAVA_OPTS=%JAVA_OPTS% -Dofbiz.home=D:/Project/Nammedia/nerp-tomcat6/nerp

3. After I reconfig, I can run tomcat, but unable to start application because 
the following error

Aug 7, 2008 5:21:17 PM org.apache.catalina.core.StandardContext 
addApplicationListener
INFO: The listener org.ofbiz.webapp.control.ControlEventListener is already 
configured for this context. The duplicate definition has been ignored.
Aug 7, 2008 5:21:17 PM org.apache.catalina.core.StandardContext 
addApplicationListener
INFO: The listener org.ofbiz.webapp.control.LoginEventListener is already 
configured for this context. The duplicate definition has been ignored.
...

Can you help me, please?
Thanks
  
 Add support for running one instance of OfBiz under Tomcat
 --

 Key: OFBIZ-1738
 URL: https://issues.apache.org/jira/browse/OFBIZ-1738
 Project: OFBiz
  Issue Type: New Feature
  Components: framework
Affects Versions: SVN trunk
 Environment: Mac OS X 10.5.2, JDK 1.5.0_13
Reporter: Ludovic Maître
Assignee: Jacques Le Roux
Priority: Minor
 Fix For: SVN trunk

 Attachments: ofbiz-tomcat-setup.zip, tomcat.zip

   Original Estimate: 8h
  Remaining Estimate: 8h

 This issue provide templates and patchs to run one instance of OfBiz under 
 Tomcat.
 The templates are used to:
 - setup the classpath of Tomcat, (catalina.properties)
 - declare the ofbiz webapps in the server configuration
 The files generated from the templates, with the command 'java -jar ofbiz.jar 
 -setup tomcat', should be copied in the $CATALINA_HOME/conf folder of Tomcat.
 IIRC there is also some setup to perform in the first loaded webapp, and a 
 few other modifications in the code, i will digg into it this evening (French 
 riviera time) and create a patch which will be added to this issue. (the full 
 code is also published on my subversion server: 
 http://forge.ubik-products.com/repositories/apache-ofbiz/trunk/ , but good 
 luck to find the relveant parts :-))
 Best regards,

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



[jira] Updated: (OFBIZ-1738) Add support for running one instance of OfBiz under Tomcat

2008-08-07 Thread vu hong thuan (JIRA)

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

vu hong thuan updated OFBIZ-1738:
-

Attachment: catalina.properties
catalina.bat

\framework\appserver\templates\tomcat6\
Update for tomcat 6 template webapp

 Add support for running one instance of OfBiz under Tomcat
 --

 Key: OFBIZ-1738
 URL: https://issues.apache.org/jira/browse/OFBIZ-1738
 Project: OFBiz
  Issue Type: New Feature
  Components: framework
Affects Versions: SVN trunk
 Environment: Mac OS X 10.5.2, JDK 1.5.0_13
Reporter: Ludovic Maître
Assignee: Jacques Le Roux
Priority: Minor
 Fix For: SVN trunk

 Attachments: catalina.bat, catalina.properties, 
 ofbiz-tomcat-setup.zip, tomcat.zip

   Original Estimate: 8h
  Remaining Estimate: 8h

 This issue provide templates and patchs to run one instance of OfBiz under 
 Tomcat.
 The templates are used to:
 - setup the classpath of Tomcat, (catalina.properties)
 - declare the ofbiz webapps in the server configuration
 The files generated from the templates, with the command 'java -jar ofbiz.jar 
 -setup tomcat', should be copied in the $CATALINA_HOME/conf folder of Tomcat.
 IIRC there is also some setup to perform in the first loaded webapp, and a 
 few other modifications in the code, i will digg into it this evening (French 
 riviera time) and create a patch which will be added to this issue. (the full 
 code is also published on my subversion server: 
 http://forge.ubik-products.com/repositories/apache-ofbiz/trunk/ , but good 
 luck to find the relveant parts :-))
 Best regards,

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



[jira] Updated: (OFBIZ-1738) Add support for running one instance of OfBiz under Tomcat

2008-08-07 Thread vu hong thuan (JIRA)

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

vu hong thuan updated OFBIZ-1738:
-

Attachment: (was: catalina.properties)

 Add support for running one instance of OfBiz under Tomcat
 --

 Key: OFBIZ-1738
 URL: https://issues.apache.org/jira/browse/OFBIZ-1738
 Project: OFBiz
  Issue Type: New Feature
  Components: framework
Affects Versions: SVN trunk
 Environment: Mac OS X 10.5.2, JDK 1.5.0_13
Reporter: Ludovic Maître
Assignee: Jacques Le Roux
Priority: Minor
 Fix For: SVN trunk

 Attachments: ofbiz-tomcat-setup.zip, tomcat.zip

   Original Estimate: 8h
  Remaining Estimate: 8h

 This issue provide templates and patchs to run one instance of OfBiz under 
 Tomcat.
 The templates are used to:
 - setup the classpath of Tomcat, (catalina.properties)
 - declare the ofbiz webapps in the server configuration
 The files generated from the templates, with the command 'java -jar ofbiz.jar 
 -setup tomcat', should be copied in the $CATALINA_HOME/conf folder of Tomcat.
 IIRC there is also some setup to perform in the first loaded webapp, and a 
 few other modifications in the code, i will digg into it this evening (French 
 riviera time) and create a patch which will be added to this issue. (the full 
 code is also published on my subversion server: 
 http://forge.ubik-products.com/repositories/apache-ofbiz/trunk/ , but good 
 luck to find the relveant parts :-))
 Best regards,

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



[jira] Updated: (OFBIZ-1738) Add support for running one instance of OfBiz under Tomcat

2008-08-07 Thread vu hong thuan (JIRA)

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

vu hong thuan updated OFBIZ-1738:
-

Attachment: (was: catalina.bat)

 Add support for running one instance of OfBiz under Tomcat
 --

 Key: OFBIZ-1738
 URL: https://issues.apache.org/jira/browse/OFBIZ-1738
 Project: OFBiz
  Issue Type: New Feature
  Components: framework
Affects Versions: SVN trunk
 Environment: Mac OS X 10.5.2, JDK 1.5.0_13
Reporter: Ludovic Maître
Assignee: Jacques Le Roux
Priority: Minor
 Fix For: SVN trunk

 Attachments: ofbiz-tomcat-setup.zip, tomcat.zip

   Original Estimate: 8h
  Remaining Estimate: 8h

 This issue provide templates and patchs to run one instance of OfBiz under 
 Tomcat.
 The templates are used to:
 - setup the classpath of Tomcat, (catalina.properties)
 - declare the ofbiz webapps in the server configuration
 The files generated from the templates, with the command 'java -jar ofbiz.jar 
 -setup tomcat', should be copied in the $CATALINA_HOME/conf folder of Tomcat.
 IIRC there is also some setup to perform in the first loaded webapp, and a 
 few other modifications in the code, i will digg into it this evening (French 
 riviera time) and create a patch which will be added to this issue. (the full 
 code is also published on my subversion server: 
 http://forge.ubik-products.com/repositories/apache-ofbiz/trunk/ , but good 
 luck to find the relveant parts :-))
 Best regards,

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



[jira] Updated: (OFBIZ-1738) Add support for running one instance of OfBiz under Tomcat

2008-08-07 Thread vu hong thuan (JIRA)

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

vu hong thuan updated OFBIZ-1738:
-

Attachment: catalina.properties
catalina.bat

Update for appserver template applied to tomcat 6

\framework\appserver\templates\tomcat6\

 Add support for running one instance of OfBiz under Tomcat
 --

 Key: OFBIZ-1738
 URL: https://issues.apache.org/jira/browse/OFBIZ-1738
 Project: OFBiz
  Issue Type: New Feature
  Components: framework
Affects Versions: SVN trunk
 Environment: Mac OS X 10.5.2, JDK 1.5.0_13
Reporter: Ludovic Maître
Assignee: Jacques Le Roux
Priority: Minor
 Fix For: SVN trunk

 Attachments: catalina.bat, catalina.properties, 
 ofbiz-tomcat-setup.zip, tomcat.zip

   Original Estimate: 8h
  Remaining Estimate: 8h

 This issue provide templates and patchs to run one instance of OfBiz under 
 Tomcat.
 The templates are used to:
 - setup the classpath of Tomcat, (catalina.properties)
 - declare the ofbiz webapps in the server configuration
 The files generated from the templates, with the command 'java -jar ofbiz.jar 
 -setup tomcat', should be copied in the $CATALINA_HOME/conf folder of Tomcat.
 IIRC there is also some setup to perform in the first loaded webapp, and a 
 few other modifications in the code, i will digg into it this evening (French 
 riviera time) and create a patch which will be added to this issue. (the full 
 code is also published on my subversion server: 
 http://forge.ubik-products.com/repositories/apache-ofbiz/trunk/ , but good 
 luck to find the relveant parts :-))
 Best regards,

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