Unsubscribe me

2014-12-17 Thread Harsha Chadhar

=-=-=
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you




Re: sending email with attachment

2014-04-17 Thread Harsha Chadhar
Hi Jad El Omeiri,

Ofbiz is already integrated with JavaMail framework. Please refer to the 
sendMail services in EmailServices.java which is a very basic service to 
send/receive emails. This service also handles sending attachments.


Regards
Harsha Chadhar
=-=-=
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you




Re: The following Required Parameter is missing [IN}

2014-02-05 Thread Harsha Chadhar
Hi,
 Since in the service definition for updateWorkEffortContent all the 
pk values are required, you need to ensure that the pk values are passed 
as in parameters to the service. Here the message says the the contentId 
and the fromDate fields are missing hence its throwing error. 

If it doesn't  solves the problem, please provide more details.

Regards
Harsha Chadhar
Mailto: harsha.chad...@tcs.com
Website: http://www.tcs.com

Experience certainty.   IT Services
Business Solutions
Consulting




From:
Ahmad Ludin ahmad.lu...@gmail.com
To:
user@ofbiz.apache.org
Date:
02/05/2014 02:41 PM
Subject:
The following Required Parameter is missing [IN}



Hi,

I am trying to allow upload of content into workeffort- similar to what is
available for Party (upload content) or what is available for projectmgr
upload content.

but i am getting an error that says:

The following required parameter is missing: [IN]
updateWorkEffortContent.contentId
updateWorkEffortContent.fromDate

I am using updateWorkEffortContent instead of EditWorkEffortContent

Do you know how i can resolve this?

Thanks


=-=-=
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you




Re: getRelated vs. findByAnd

2014-01-28 Thread Harsha Chadhar
Hi,
The difference is, 

1.  findByAnd() :  finds Generic Entity records with given specific fields 
of the named entity(ProductPrice) and returns a list of GenericValues that 
match the query

2. getRelated() : returns a list of related entity instance according to 
the specifed relation name (here its ProductPrice).


Regards
Harsha Chadhar
Tata Consultancy Services
Mailto: harsha.chad...@tcs.com
Website: http://www.tcs.com

Experience certainty.   IT Services
Business Solutions
Consulting




From:
Justin Dagostino jus...@thecools.com
To:
user@ofbiz.apache.org
Date:
01/28/2014 04:06 AM
Subject:
getRelated vs. findByAnd



Is there any difference between issuing a getRelated call on a 
GenericValue
object vs. using the delegator's findByAnd method?


virtualProduct.getRelated(ProductPrice, whereClause, null, true);

VS.

delegator.findByAnd(ProductPrice, whereClause, null, true);


Thanks.


---
Justin


=-=-=
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you




RE: list of categories of a given catalog

2013-10-08 Thread Harsha Chadhar
Please check the method again, it takes catalog Id and returns category 
list. 

For a given  productCatalogId(assuming that you have Catalog details), and 
a prodCatalogCategoryTypeId (can have possible values like PCCT_QUICK_ADD, 
PCCT_PROMOTIONS, PCCT_PURCH_ALLW, PCCT_SEARCH, PCCT_VIEW_ALLW et), 
getProdCatalogCategories() method returns the list of associated 
categories.

-
Harsha 



From:
Antony ADOPO saius...@gmail.com
To:
user@ofbiz.apache.org user@ofbiz.apache.org
Date:
10/08/2013 12:28 PM
Subject:
RE: list of categories of a given catalog



Yes, I saw it.
But getProdCatalogCategories permits apparently to take list of product 
for a given category we specify on parameters of this method. I need list 
of categories for a given catalog
Thanks for getStoreCatalogs
 please, help!

-Message d'origine-
De : Harsha Chadhar harsha.chad...@tcs.com
Envoyé : ‎08/‎10/‎2013 07:43
À : user@ofbiz.apache.org user@ofbiz.apache.org
Cc : user@ofbiz.apache.org user@ofbiz.apache.org
Objet : Re: list of categories of a given catalog

Hi,
Please refer to CatalogWorker.java for methods : getProdCatalogCategories
() and  getStoreCatalogs().

-Harsha 




From:
Antony Adopo saius...@gmail.com
To:
user@ofbiz.apache.org
Date:
10/08/2013 03:22 AM
Subject:
list of categories of a given catalog



Hello Ofbizers,

I hope that you're well

Please, could someone help me gettin the list of categories for a given
catalog . And in the context the list of cataglog for a given store?

I need it because in my home page, I want to print categories for a given
cataglog (like clothes collections) and their related image.

Thanks


=-=-=
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you







RE: list of categories of a given catalog

2013-10-08 Thread Harsha Chadhar
Send it as an empty string() in the IN parameters. As the code already 
handles it, i.e if the prodCatalogCategoryTypeId is empty then all 
categories will be returned. Please check the code again.

-Harsha





From:
Antony ADOPO saius...@gmail.com
To:
user@ofbiz.apache.org user@ofbiz.apache.org
Date:
10/08/2013 02:32 PM
Subject:
RE: list of categories of a given catalog



Ok. I don't want a special category( ex :PCCT_PROMOTIONS). I want all 
categories. So, regarding the code below, it's meant that 
prodCatalogCategoryTypeId should be empty to get all categories instead 
of specific categoriespcct

Secondly, where Pcct -x comes from or what it means? I search it 
in ofbiz and catalog manager but I don't find it.

code
public static List getProdCatalogCategories(ServletRequest request, String 
prodCatalogId, String prodCatalogCategoryTypeId) {
GenericDelegator delegator = (GenericDelegator) 
request.getAttribute(delegator);
return getProdCatalogCategories(delegator, prodCatalogId, 
prodCatalogCategoryTypeId);
}

public static List getProdCatalogCategories(GenericDelegator 
delegator, String prodCatalogId, String prodCatalogCategoryTypeId) {
try {
List prodCatalogCategories = 
EntityUtil.filterByDate(delegator.findByAndCache(ProdCatalogCategory,
UtilMisc.toMap(prodCatalogId, prodCatalogId),
UtilMisc.toList(sequenceNum, 
productCategoryId)), true);

if (UtilValidate.isNotEmpty(prodCatalogCategoryTypeId)  
prodCatalogCategories != null) {
prodCatalogCategories = 
EntityUtil.filterByAnd(prodCatalogCategories,
UtilMisc.toMap(prodCatalogCategoryTypeId, 
prodCatalogCategoryTypeId));
}
return prodCatalogCategories;
} catch (GenericEntityException e) {
Debug.logError(e, Error looking up ProdCatalogCategories for 
prodCatalog with id  + prodCatalogId, module);
}
return null;
}
/code

-Message d'origine-
De : Harsha Chadhar harsha.chad...@tcs.com
Envoyé : ‎08/‎10/‎2013 10:26
À : user@ofbiz.apache.org user@ofbiz.apache.org
Cc : user@ofbiz.apache.org user@ofbiz.apache.org
Objet : RE: list of categories of a given catalog

Please check the method again, it takes catalog Id and returns category 
list. 

For a given  productCatalogId(assuming that you have Catalog details), and 

a prodCatalogCategoryTypeId (can have possible values like PCCT_QUICK_ADD, 

PCCT_PROMOTIONS, PCCT_PURCH_ALLW, PCCT_SEARCH, PCCT_VIEW_ALLW et), 
getProdCatalogCategories() method returns the list of associated 
categories.

-
Harsha 



From:
Antony ADOPO saius...@gmail.com
To:
user@ofbiz.apache.org user@ofbiz.apache.org
Date:
10/08/2013 12:28 PM
Subject:
RE: list of categories of a given catalog



Yes, I saw it.
But getProdCatalogCategories permits apparently to take list of product 
for a given category we specify on parameters of this method. I need list 
of categories for a given catalog
Thanks for getStoreCatalogs
 please, help!

-Message d'origine-
De : Harsha Chadhar harsha.chad...@tcs.com
Envoyé : ‎08/‎10/‎2013 07:43
À : user@ofbiz.apache.org user@ofbiz.apache.org
Cc : user@ofbiz.apache.org user@ofbiz.apache.org
Objet : Re: list of categories of a given catalog

Hi,
Please refer to CatalogWorker.java for methods : getProdCatalogCategories
() and  getStoreCatalogs().

-Harsha 




From:
Antony Adopo saius...@gmail.com
To:
user@ofbiz.apache.org
Date:
10/08/2013 03:22 AM
Subject:
list of categories of a given catalog



Hello Ofbizers,

I hope that you're well

Please, could someone help me gettin the list of categories for a given
catalog . And in the context the list of cataglog for a given store?

I need it because in my home page, I want to print categories for a given
cataglog (like clothes collections) and their related image.

Thanks


=-=-=
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you










RE: list of categories of a given catalog

2013-10-08 Thread Harsha Chadhar
Also please refer to the Catalog Setup section in the following :
https://cwiki.apache.org/confluence/display/OFBENDUSER/Apache+OFBiz+Business+Setup+Guide#ApacheOFBizBusinessSetupGuide-catalogSettings

-Harsha



From:
Harsha Chadhar harsha.chad...@tcs.com
To:
user@ofbiz.apache.org
Cc:
user@ofbiz.apache.org user@ofbiz.apache.org
Date:
10/08/2013 02:52 PM
Subject:
RE: list of categories of a given catalog



Send it as an empty string() in the IN parameters. As the code already 
handles it, i.e if the prodCatalogCategoryTypeId is empty then all 
categories will be returned. Please check the code again.

-Harsha





From:
Antony ADOPO saius...@gmail.com
To:
user@ofbiz.apache.org user@ofbiz.apache.org
Date:
10/08/2013 02:32 PM
Subject:
RE: list of categories of a given catalog



Ok. I don't want a special category( ex :PCCT_PROMOTIONS). I want all 
categories. So, regarding the code below, it's meant that 
prodCatalogCategoryTypeId should be empty to get all categories instead 
of specific categoriespcct

Secondly, where Pcct -x comes from or what it means? I search it 

in ofbiz and catalog manager but I don't find it.

code
public static List getProdCatalogCategories(ServletRequest request, String 

prodCatalogId, String prodCatalogCategoryTypeId) {
GenericDelegator delegator = (GenericDelegator) 
request.getAttribute(delegator);
return getProdCatalogCategories(delegator, prodCatalogId, 
prodCatalogCategoryTypeId);
}

public static List getProdCatalogCategories(GenericDelegator 
delegator, String prodCatalogId, String prodCatalogCategoryTypeId) {
try {
List prodCatalogCategories = 
EntityUtil.filterByDate(delegator.findByAndCache(ProdCatalogCategory,
UtilMisc.toMap(prodCatalogId, prodCatalogId),
UtilMisc.toList(sequenceNum, 
productCategoryId)), true);

if (UtilValidate.isNotEmpty(prodCatalogCategoryTypeId)  
prodCatalogCategories != null) {
prodCatalogCategories = 
EntityUtil.filterByAnd(prodCatalogCategories,
UtilMisc.toMap(prodCatalogCategoryTypeId, 
prodCatalogCategoryTypeId));
}
return prodCatalogCategories;
} catch (GenericEntityException e) {
Debug.logError(e, Error looking up ProdCatalogCategories for 
prodCatalog with id  + prodCatalogId, module);
}
return null;
}
/code

-Message d'origine-
De : Harsha Chadhar harsha.chad...@tcs.com
Envoyé : ‎08/‎10/‎2013 10:26
À : user@ofbiz.apache.org user@ofbiz.apache.org
Cc : user@ofbiz.apache.org user@ofbiz.apache.org
Objet : RE: list of categories of a given catalog

Please check the method again, it takes catalog Id and returns category 
list. 

For a given  productCatalogId(assuming that you have Catalog details), and 


a prodCatalogCategoryTypeId (can have possible values like PCCT_QUICK_ADD, 


PCCT_PROMOTIONS, PCCT_PURCH_ALLW, PCCT_SEARCH, PCCT_VIEW_ALLW et), 
getProdCatalogCategories() method returns the list of associated 
categories.

-
Harsha 



From:
Antony ADOPO saius...@gmail.com
To:
user@ofbiz.apache.org user@ofbiz.apache.org
Date:
10/08/2013 12:28 PM
Subject:
RE: list of categories of a given catalog



Yes, I saw it.
But getProdCatalogCategories permits apparently to take list of product 
for a given category we specify on parameters of this method. I need list 
of categories for a given catalog
Thanks for getStoreCatalogs
 please, help!

-Message d'origine-
De : Harsha Chadhar harsha.chad...@tcs.com
Envoyé : ‎08/‎10/‎2013 07:43
À : user@ofbiz.apache.org user@ofbiz.apache.org
Cc : user@ofbiz.apache.org user@ofbiz.apache.org
Objet : Re: list of categories of a given catalog

Hi,
Please refer to CatalogWorker.java for methods : getProdCatalogCategories
() and  getStoreCatalogs().

-Harsha 




From:
Antony Adopo saius...@gmail.com
To:
user@ofbiz.apache.org
Date:
10/08/2013 03:22 AM
Subject:
list of categories of a given catalog



Hello Ofbizers,

I hope that you're well

Please, could someone help me gettin the list of categories for a given
catalog . And in the context the list of cataglog for a given store?

I need it because in my home page, I want to print categories for a given
cataglog (like clothes collections) and their related image.

Thanks


=-=-=
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you













Re: list of categories of a given catalog

2013-10-07 Thread Harsha Chadhar
Hi,
Please refer to CatalogWorker.java for methods : getProdCatalogCategories
() and  getStoreCatalogs().

-Harsha 




From:
Antony Adopo saius...@gmail.com
To:
user@ofbiz.apache.org
Date:
10/08/2013 03:22 AM
Subject:
list of categories of a given catalog



Hello Ofbizers,

I hope that you're well

Please, could someone help me gettin the list of categories for a given
catalog . And in the context the list of cataglog for a given store?

I need it because in my home page, I want to print categories for a given
cataglog (like clothes collections) and their related image.

Thanks


=-=-=
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you




Re: add pdf file to ecommerce product site for download

2013-07-18 Thread Harsha Chadhar
Hi Robert,
 Those files are stored in the ImageDataResource entity in 
form of Blobs (java.sql.Blob) (Since the pdf is saved in database with 
data resource type=Image).  In my opinion transferring the database into 
another system may not affect this data. it will be retained back.


-Harsha



From:
Robert G. g...@mercon24.de
To:
user@ofbiz.apache.org
Date:
07/17/2013 06:03 PM
Subject:
Re: add pdf file to ecommerce product site for download



last question:

do you know where the file is saved?

that when I transfer the database to another system and I want to have the
files there too, that I know what to copy.

thanks in advance



--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/add-pdf-file-to-ecommerce-product-site-for-download-tp4642843p4642859.html

Sent from the OFBiz - User mailing list archive at Nabble.com.


=-=-=
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you




Re: add pdf file to ecommerce product site for download

2013-07-17 Thread Harsha Chadhar
Hi Robert,
Did you use the product content type= Digital Download for 
uploading the pdf file? if yes then you can download the uploaded file 
from Content Manager where a download link is given below the 
corresponding data resource screen. you can also provide this download 
link from wherever you want the content to be downloaded.

- Harsha




From:
Robert G. g...@mercon24.de
To:
user@ofbiz.apache.org
Date:
07/17/2013 01:32 AM
Subject:
add pdf file to ecommerce product site for download



hey guys, 

I know the subject is lots of time here, but I could not get the right 
way.
Maybe someone has a hint for me.

I have a product and want to offer a data sheet as pdf for free download 
for
my customers.

I found the content tab on product where I can add a download content.

there I choose a file from my local desctop and upload it.

the system creates a content and a data resource. There I added the mime
type ...pdf

But I cannot download the content. Do I have to put the file by hand in a
specific folder of the application and link the dataresource to it?

Cause this way I want to avoid, because normal employees do not have 
acccess
to the application structure, and I want them to have an easy upload. how 
do
you handle these cases?

Kindly

Robert



--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/add-pdf-file-to-ecommerce-product-site-for-download-tp4642843.html

Sent from the OFBiz - User mailing list archive at Nabble.com.


=-=-=
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you




Re: You cannot login to this application

2013-06-28 Thread Harsha Chadhar
Hi Vikas,
If you are trying to access a particular component, you need to 
ensure that the security group has been assigned with the base permission 
which is defined in the components ofbiz-component.xml.  The user who 
wants to login must have the base permission COMPONENT-NAME_VIEW/ 
COMPONENT-NAME_ADMIN permission.  If the component's base permission is 
coupled with the OFBTOOLS permission then the security group requires 
OFBTOOLs permission too.

Please refer to the following for more details :
https://cwiki.apache.org/confluence/display/OFBTECH/OFBiz+security

-
Harsha Chadhar




From:
SAURABH SINGH saurabhsinghthaku...@gmail.com
To:
user@ofbiz.apache.org
Cc:
Kushal Darji kushalda...@gmail.com
Date:
06/28/2013 02:46 PM
Subject:
Re: You cannot login to this application



Hi Vikas

you just check the permission action from  commonScreen.xml of that
particular module it should be action view than you will be able to log in
module.


On Fri, Jun 28, 2013 at 5:03 AM, Vikas vi...@divsinsol.com wrote:

 Hi kushal,
 Thanks for your reply. I give permission to Order module  and use the
 link

 https://localhost:8443/**ordermgr/control/main
https://localhost:8443/ordermgr/control/main

 but no go

 Thanks  Regards
 Vikas




 On Friday 28 June 2013 02:26 PM, Kushal Darji wrote:

 Hi Viaks,

 As per my understanding you need to hit specific url for that security
 group. For e.g. if you user have permission of manufacturing module 
 order
 module then you can login either to
 https://localhost:8443/**ordermgr/ https://localhost:8443/ordermgr/
 https://localhost:**8443/ordermgr/control/main
https://localhost:8443/ordermgr/control/main
 
 or https://localhost:8443/**manufacturing/
https://localhost:8443/manufacturing/
 
https://**localhost:8443/manufacturing/**control/main?externalLoginKey=*
 *EL739015312006
https://localhost:8443/manufacturing/control/main?externalLoginKey=EL739015312006

 
 .




 On Thu, Jun 27, 2013 at 8:50 PM, Vikas vi...@divsinsol.com wrote:

  Dear All,

 I create a new security Group, add permissions to that group then I
 create
 a
 new user and assign  group to that user. But when I login it shows the
 error
 You cannot login to this application.

 Do I miss anything?

 Please advice

 Thanks  Regards
 Vikas



 --
 View this message in context:
 http://ofbiz.135035.n4.nabble.**com/You-cannot-login-to-this-**
 application-tp4642392.html
http://ofbiz.135035.n4.nabble.com/You-cannot-login-to-this-application-tp4642392.html

 Sent from the OFBiz - User mailing list archive at Nabble.com.







-- 
*Thanks  Regards
SAURABH SINGH
**Software Engineer*


=-=-=
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you




Re: Content rendring in communication event detail screen

2013-06-28 Thread Harsha Chadhar
Hi Parimal,
 Just give a try with encode-output= false.I guess 
it should work.

Regards
Harsha





From:
parimal gain gain.pari...@gmail.com
To:
user@ofbiz.apache.org
Date:
06/24/2013 07:00 PM
Subject:
Re: Content rendring in communication event detail screen



Hi Saurabh,

Its an xml Form attribute, and its rendering email template as is i.e.
without encoding.
On Jun 24, 2013 3:10 PM, SAURABH SINGH saurabhsinghthaku...@gmail.com
wrote:

 On which type of file you are using this html tag which is displaying 
and
 you don't want to display.



 On Fri, Jun 21, 2013 at 5:33 AM, parimal gain gain.pari...@gmail.com
 wrote:

  Hi All,
 
  Do anybody have any idea, If I want to show the content only without 
html
  tag(source code of mail template), how can do this?
 
  Thanks
  --
  Parimal
  On Jun 21, 2013 9:47 AM, parimal gain gain.pari...@gmail.com 
wrote:
 
   Hi All,
   Can anyone clear my doubt...
   On Jun 20, 2013 7:55 AM, parimal gain gain.pari...@gmail.com
 wrote:
  
   Hi All,
  
   While testing communication event I found, on communication event
   detail page, content section displays the source code of associated
   eMail template instead of the original content. When I dig inside 
code
   I found that the content field has attribute encode-output=false.
   The xsd file has the definition that if its true then the content 
will
   be encode, but since here its false it means the content will not
   encode while rendering. I had tried this on trunk also and the same
   behavior exists there.
   I changed it to ture(in local) to see the effect, but I didn't find
   any changes, so I just wanted to understand -
   1) Is these is bug in system?
   2) Will content section always display the source code?
   3) Is there any work around to display content only not source 
code?
  
   Thanks in advance for all response .
   --
   Parimal
  
  
 



 --
 *Thanks  Regards
 SAURABH SINGH
 **Software Engineer*



=-=-=
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you




Re: shipping charge

2013-05-10 Thread Harsha Chadhar
Please look into  :

Catalog Manager -  Stores - Shipping Estimates.

For more details following links can be referred :
Shipping settings in 
https://cwiki.apache.org/OFBENDUSER/apache-ofbiz-business-setup-guide.html
   
https://cwiki.apache.org/OFBIZ/third-party-payment-and-shipment-configuration.html


Regards
Harsha Chadhar
Tata Consultancy Services Limited
Cell:- 917503046189
Mailto: harsha.chad...@tcs.com
Website: http://www.tcs.com

Experience certainty.   IT Services
Business Solutions
Consulting




From:
Vikas vi...@divsinsol.com
To:
user@ofbiz.apache.org
Date:
10-05-2013 12:48
Subject:
shipping charge



Hi All

where we can add shipping charges ( I mean courier charges)...

Please Help

Thanks
Vikas



--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/shipping-charge-tp4641133.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


=-=-=
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you




Re: How to create variant product in Ofbiz trunk

2013-05-03 Thread Harsha Chadhar
Hi Fong,
Creating a product  like dress with different color and 
size is possible with Virtual-variant model, its can be like :

Virtual Product : Shirt
Variant 1 : Shirt-Red-Small
Variant 2 : Shirt- Yellow - Large

where the red, yellow, small  large are the product features that a 
variant possesses.

Here a Shirt is not a Physical product in existence, doesn't have 
inventory hence is Virtual, it is just a Parent to which variant product 
are associated with, consider it as this case that anyone can't buy just a 
shirt but will  buy a Small White Shirt or a Large Red shirt. So the 
catalog can show a product (Virtual) as Shirt and give the buyer options 
to chose and buy from it as Red-Small shirt or White-Large- Shirt.

Whereas the Digital goods are the electronic products which do not require 
inventory. such as MP23 or downloadable music or gift cards, 

Hope this clarifies.

Regards
Harsha




From:
Ofbiz 开发 phoneme...@gmail.com
To:
user@ofbiz.apache.org
Date:
03-05-2013 14:40
Subject:
Re: How to create variant product in Ofbiz trunk



Hi Harsha,

Thank you very much.

However I am not creating a virtual product, I am creating a real product,
say a dress, and it has different colour and size, is that possible?

Or maybe our understanding of virtual product is different. My
understanding of a virtual product is something that is not tangible or 
has
unlimited stock, e.g. a MP3 song or a gift card, is this correct? What is
the concept of virtual product in Ofbiz please?

Thank you very much.

Kind Regards

Fong



On Thu, May 2, 2013 at 10:21 PM, Harsha Chadhar 
harsha.chad...@tcs.comwrote:

 Hi
  For creating variants :
 Create a Virtual Product which is to be associated with its variants, 
all
 you need to set it as a Virtual Product is to set its isVirtual flag = 
Y.
 Associate this to a category.
 For creating say two variant products corresponding to the above Virtual
 Product set their isVariant flag = Y. (These products will not be
 associated to a Category).
 Add features(say two features namely Color, Size) of the the variant
 product under Features tab.
 Associate these two products to the Virtual product under its 
Associations
 tab with variant  Association Type Id=  Product Variant.
 Associate the above two features to the Virtual Product as well,

 The two variant products will have different product Ids. You can also
 refer to DemoProduct.xml where the demo data setup has been done for 
both
 virtual and variant products.

 Regards
Harsha



 From:
 Ofbiz 开发 phoneme...@gmail.com
 To:
 user@ofbiz.apache.org
 Date:
 02-05-2013 15:19
 Subject:
 How to create variant product in Ofbiz trunk



 Hi everyone,

 Could some one tell me how to create variant product in Ofbiz backend
 please? Would the different variants be the same product ID or different
 product ID? I can't seem to find any documentation about this. Thanks !!

 Kind Regards

 Fong



 =-=-=
 Notice: The information contained in this e-mail
 message and/or attachments to it may contain
 confidential or privileged information. If you are
 not the intended recipient, any dissemination, use,
 review, distribution, printing or copying of the
 information contained in this e-mail message
 and/or attachments to it are strictly prohibited. If
 you have received this communication in error,
 please notify us by reply e-mail or telephone and
 immediately and permanently delete the message
 and any attachments. Thank you








Re: How to create variant product in Ofbiz trunk

2013-05-02 Thread Harsha Chadhar
Hi
 For creating variants :
Create a Virtual Product which is to be associated with its variants, all 
you need to set it as a Virtual Product is to set its isVirtual flag = Y. 
Associate this to a category.
For creating say two variant products corresponding to the above Virtual 
Product set their isVariant flag = Y. (These products will not be 
associated to a Category).
Add features(say two features namely Color, Size) of the the variant 
product under Features tab.
Associate these two products to the Virtual product under its Associations 
tab with variant  Association Type Id=  Product Variant.
Associate the above two features to the Virtual Product as well,

The two variant products will have different product Ids. You can also 
refer to DemoProduct.xml where the demo data setup has been done for both 
virtual and variant products.

Regards
   Harsha



From:
Ofbiz 开发 phoneme...@gmail.com
To:
user@ofbiz.apache.org
Date:
02-05-2013 15:19
Subject:
How to create variant product in Ofbiz trunk



Hi everyone,

Could some one tell me how to create variant product in Ofbiz backend
please? Would the different variants be the same product ID or different
product ID? I can't seem to find any documentation about this. Thanks !!

Kind Regards

Fong



=-=-=
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you




Re: Error On Changing Order Status

2009-01-13 Thread Harsha Chadhar
It seems like you are violating unique key constraints.The orderStatusId 
is the primary key in OrderStatus entity i.e there has to be a unique 
entry corresponding to an orderStatusId, which is being violated here


Thanks and Regards
Harsha

Pal InfoCom Technologies wrote:

Hello,

I am working with Ofbiz, i have created some orders from ecommerce site, but
when i try to change status of these orders i get following error:- 



The Following Errors Occurred:

ERROR : Could not change order status (The current transaction is marked for
rollback, not beginning a new transaction and aborting current operation;
the rollbackOnly was caused by: Failure in create operation for entity
[OrderStatus]: org.ofbiz.entity.GenericEntityException: Error while
inserting: [GenericEntity:OrderStatus][createdStamp,2009-01-13
07:13:11.133(java.sql.Timestamp)][createdTxStamp,2009-01-13
07:13:10.77(java.sql.Timestamp)][lastUpdatedStamp,2009-01-13
07:13:11.133(java.sql.Timestamp)][lastUpdatedTxStamp,2009-01-13
07:13:10.77(java.sql.Timestamp)][orderId,WSCO10508(java.lang.String)][orderStatusId,11240(java.lang.String)][statusDatetime,2009-01-13
07:13:11.114(java.sql.Timestamp)][statusId,ORDER_APPROVED(java.lang.String)][statusUserLogin,admin(java.lang.String)]
(SQL Exception while executing the following:INSERT INTO ORDER_STATUS
(ORDER_STATUS_ID, STATUS_ID, ORDER_ID, ORDER_ITEM_SEQ_ID,
ORDER_PAYMENT_PREFERENCE_ID, STATUS_DATETIME, STATUS_USER_LOGIN,
CHANGE_REASON, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP,
CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (null, message
from server: Duplicate entry '11240' for key 1)). Rolling back
transaction.org.ofbiz.entity.GenericEntityException: Error while inserting:
[GenericEntity:OrderStatus][createdStamp,2009-01-13
07:13:11.133(java.sql.Timestamp)][createdTxStamp,2009-01-13
07:13:10.77(java.sql.Timestamp)][lastUpdatedStamp,2009-01-13
07:13:11.133(java.sql.Timestamp)][lastUpdatedTxStamp,2009-01-13
07:13:10.77(java.sql.Timestamp)][orderId,WSCO10508(java.lang.String)][orderStatusId,11240(java.lang.String)][statusDatetime,2009-01-13
07:13:11.114(java.sql.Timestamp)][statusId,ORDER_APPROVED(java.lang.String)][statusUserLogin,admin(java.lang.String)]
(SQL Exception while executing the following:INSERT INTO ORDER_STATUS
(ORDER_STATUS_ID, STATUS_ID, ORDER_ID, ORDER_ITEM_SEQ_ID,
ORDER_PAYMENT_PREFERENCE_ID, STATUS_DATETIME, STATUS_USER_LOGIN,
CHANGE_REASON, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP,
CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (null, message
from server: Duplicate entry '11240' for key 1)) (Error while inserting:
[GenericEntity:OrderStatus][createdStamp,2009-01-13
07:13:11.133(java.sql.Timestamp)][createdTxStamp,2009-01-13
07:13:10.77(java.sql.Timestamp)][lastUpdatedStamp,2009-01-13
07:13:11.133(java.sql.Timestamp)][lastUpdatedTxStamp,2009-01-13
07:13:10.77(java.sql.Timestamp)][orderId,WSCO10508(java.lang.String)][orderStatusId,11240(java.lang.String)][statusDatetime,2009-01-13
07:13:11.114(java.sql.Timestamp)][statusId,ORDER_APPROVED(java.lang.String)][statusUserLogin,admin(java.lang.String)]
(SQL Exception while executing the following:INSERT INTO ORDER_STATUS
(ORDER_STATUS_ID, STATUS_ID, ORDER_ID, ORDER_ITEM_SEQ_ID,
ORDER_PAYMENT_PREFERENCE_ID, STATUS_DATETIME, STATUS_USER_LOGIN,
CHANGE_REASON, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP,
CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (null, message
from server: Duplicate entry '11240' for key 1.


Please advise me how to solve this problem.

Thanks 


Harkomal
  




Re: Problem In Survey

2009-01-04 Thread Harsha Chadhar

Thanks Hans,
I tried again but the problem still persists.
while creating survey responses I do not get the 
responses(textResponse) saved into the entity SurveyResponseAnswer.


Regards
Harsha
Jacques Le Roux wrote:

Thanks Hans,

Well tried but same issue :
   The question [Which side should the mini-poll box show?] requires 
a response.

a weird one...

Did you succeed ?

Jacques

From: Hans Bakker mailingl...@antwebsystems.com

I made the changes for you...in rev  730995 please try again and report
if you find any errors.

On Sat, 2009-01-03 at 19:20 +0530, Harsha Chadhar wrote:

Hello All,
   I tried again by replacing the various elements and
attributes being changed for simple methods in the service
createSurveyResponse (also those suggested by Jacques in Error in
poll), but that does'nt work, can any one in the community suggest the
possible solution for this problem ?

Regards
Harsha

Harsha Chadhar wrote:
 Hello All,
   I am getting problem while running Survey in Content 
Manager for different Surveys present, while Creating the Survey

 Responses as follows :

 1. The Following Errors Occurred:

   a.The question [Which hand do you use your mouse with?] requires 
a response.


   b.The question [Which side should the mini-poll box show?] 
requires a response.


   c.The question [Gift Card Number:] requires a response.

   d.The question [PIN Number:] requires a response.

   e.The question [Which side should the mini-poll box show?] 
requires a response.


   Also while using the createSurveyResponse service present in 
Content Manager I found that it is unable to save responses in

 field textResponse.

   Can any one suggest the solution for this?

 Thanks and Regards
 Harsha



--
Antwebsystems.com: Quality OFBiz services for competitive prices







Re: Problem In Survey

2009-01-03 Thread Harsha Chadhar

Hello All,
  I tried again by replacing the various elements and 
attributes being changed for simple methods in the service 
createSurveyResponse (also those suggested by Jacques in Error in 
poll), but that does'nt work, can any one in the community suggest the 
possible solution for this problem ?


Regards
Harsha

Harsha Chadhar wrote:

Hello All,
  I am getting problem while running Survey in Content Manager for 
different Surveys present, while Creating the Survey Responses as follows :

1. The Following Errors Occurred:

  a.The question [Which hand do you use your mouse with?] requires a response.
  
  b.The question [Which side should the mini-poll box show?] requires a response.
  
  c.The question [Gift Card Number:] requires a response.


  d.The question [PIN Number:] requires a response.

  e.The question [Which side should the mini-poll box show?] requires a 
response.

  Also while using the createSurveyResponse service present in Content Manager I found 
that it is unable to save responses in field textResponse.

  Can any one suggest the solution for this?

Thanks and Regards
Harsha
  




Re: Error in Poll

2009-01-02 Thread Harsha Chadhar


Thanks, I tried this too, but did'nt work.
(In reference to the mail Problem in survey)

Regards
Harsha

Jacques Le Roux wrote:
I should add that in IfEmpty.java I was around line 92 (I temporarily 
replaced field by field-name in validateSurveyResponseInline to be 
able to trace easily from IfEmpty.java[59])


Jacques

From: Jacques Le Roux jacques.le.r...@les7arts.com
I had a look at this. It's weird since looking in simple-method  
using log element answerFieldName is not empty.

I tried to trace into IfEmpty.java but ran out of time...

It seems that the same problem is reported in the previous msg by 
Harsha Chadhar Problem In Survey


Jacques

From: arpit singh pandya arpit.pan...@hotwaxmedia.com

Hello All,
The Following Errors Occurred in ecommerce in Minipoll at 
http://demo.hotwaxmedia.com/ecommerce/control/minipoll/main


*The following required parameter is missing: [IN] 
[createSurveyResponse.surveyId]

*



Kind Regards
Arpit Singh Pandya*
*





Problem In Survey

2008-12-26 Thread Harsha Chadhar
Hello All,
  I am getting problem while running Survey in Content Manager for 
different Surveys present, while Creating the Survey Responses as follows :

1. The Following Errors Occurred:

  a.The question [Which hand do you use your mouse with?] requires a response.
  
  b.The question [Which side should the mini-poll box show?] requires a 
response.
  
  c.The question [Gift Card Number:] requires a response.

  d.The question [PIN Number:] requires a response.

  e.The question [Which side should the mini-poll box show?] requires a 
response.

  Also while using the createSurveyResponse service present in Content Manager 
I found that it is unable to save responses in field textResponse.

  Can any one suggest the solution for this?

Thanks and Regards
Harsha


Re: Error when trying setup the practice component webapp

2008-10-06 Thread Harsha Chadhar

Zemian,
  For org.ofbiz.webapp.view.ViewHandlerException:  you need 
to add the following in your controller.xml.
 handler name=screenxml type=view 
class=org.ofbiz.widget.screen.ScreenXmlViewHandler/


 and you may take contents of the error.jsp file from any of the 
existing ones.


-Harsha   



onima wrote:

Hi   Zemian,
You have to just add the following contents in your 
widget-PracticeScreens.xml file.


?xml version=1.0 encoding=UTF-8?

screens xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;

xsi:noNamespaceSchemaLocation=http://ofbiz.apache.org/dtds/widget-screen.xsd; 



   screen name=main
   section
   widgets
   label text=This is first practice/
   /widgets
   /section
   /screen
/screens


So that you can see This is first practice rather including 
everything from the catalog-widget directory...
and just change the *mainDecoratorLocation context param to*  
component://practice/widget/PracticeScreens.xml in your web.xml.


Please read the documentation carefully.

REGARDS
ONIMA KASLIWAL
www.hotwaxmedia.com







Zemian Deng wrote:

Hi list,

I've downloaded binary
ofbiz-rel4.0-current.ziphttp://build.hotwaxmedia.com/builds40/ofbiz-rel4.0-current.zip, 


and I am trying to deploy first practice component webapp by following
instruction on:
http://docs.ofbiz.org/display/OFBIZ/OFBiz+Beginner%27s+Development+Guide+Using+Practice+Application 



I have hit few problems under Create the web app:

1) Step4  said copy existing component e.g. example component 
web.xml, there

is no example component, but I found
framework/example/webapp/example/WEB-INF/web.xml. With this, there is 
no 

mainDecoratorLocation found. (I found this value from
application/product/webapp/catalog/WEB-INF/web.xml though, so I use 
this)


2) Same thing with widget and error directory as above and I just 
copied

from the same catalog component.

3) Step 10, after the server is started, I get an error:
org.ofbiz.webapp.view.ViewHandlerException: Unknown handler type: screen

The documentation says I should see the This is first practice 
instead.

Any idea?

Thanks,
Zemian

Here is a stacktrace:
2008-10-06 12:02:21,958 (http-0.0.0.0-8080-Processor4) [
ControlServlet.java:126:DEBUG] [[[main] Servlet Starting, doing setup-
total:0.0,since last(Begin):0.0]]
2008-10-06 12:02:21,958 (http-0.0.0.0-8080-Processor4) [
ControlServlet.java:181:DEBUG] [[[main] Setup done, doing Event(s) and
View(s)- total:0.0,since last([main] Servlet St...):0.0]]
2008-10-06 12:02:21,961 (http-0.0.0.0-8080-Processor4) [
UtilXml.java:243:DEBUG] XML Read 0.0030s: jndi:/
0.0.0.0/practice/WEB-INF/controller.xml
2008-10-06 12:02:21,962 (http-0.0.0.0-8080-Processor4) [
ConfigXMLReader.java:558:INFO ] ConfigMap Created: (1) records in 0.0s
2008-10-06 12:02:21,962 (http-0.0.0.0-8080-Processor4) [
ConfigXMLReader.java:716:INFO ] HandlerMap Created: (0) view handlers 
and

(0) request/event handlers in 0.0s
2008-10-06 12:02:21,962 (http-0.0.0.0-8080-Processor4) [
ConfigXMLReader.java:291:INFO ] RequestMap Created: (1) records in 0.0s
2008-10-06 12:02:21,962 (http-0.0.0.0-8080-Processor4) [
ConfigXMLReader.java:385:INFO ] ViewMap Created: (1) records in 0.0s
2008-10-06 12:02:21,963 (http-0.0.0.0-8080-Processor4) [
RequestHandler.java:236:INFO ] [Processing Request]: main
sessionId=6A93B3C6E80E0FB1946568791FC5DECB.jvm1
2008-10-06 12:02:21,963 (http-0.0.0.0-8080-Processor4) [
RequestManager.java:116:INFO ] [RequestManager.getRequestAttribute] 
Value

for attribute null of uri main not found
2008-10-06 12:02:21,963 (http-0.0.0.0-8080-Processor4) [
RequestHandler.java:425:INFO ] [RequestHandler.doRequest]: Response is a
view. sessionId=6A93B3C6E80E0FB1946568791FC5DECB.jvm1
2008-10-06 12:02:21,963 (http-0.0.0.0-8080-Processor4) [
RequestHandler.java:578:INFO ] servletName=control, view=main
sessionId=6A93B3C6E80E0FB1946568791FC5DECB.jvm1
2008-10-06 12:02:21,964 (http-0.0.0.0-8080-Processor4) [
ControlServlet.java:192:ERROR]
 exception report
--
Error in request handler:
Exception: org.ofbiz.webapp.view.ViewHandlerException
Message: Unknown handler type: screen
 stack trace
---
org.ofbiz.webapp.view.ViewHandlerException: Unknown handler type: screen
org.ofbiz.webapp.view.ViewFactory.loadViewHandler(ViewFactory.java:119)
org.ofbiz.webapp.view.ViewFactory.getViewHandler(ViewFactory.java:100)
org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:642) 

org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:427) 


org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189)
javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) 


Re: getting startad with practice example

2008-10-06 Thread Harsha Chadhar

Jean,
   You need to include the PracticeUiLabels.xml file in your Config 
directory that contains the internationalized labels used through out 
the application.You are missing this file.


Harsha

mailing-lists wrote:

Hi,

I compiled ofbiz from trunk (svn) and tried to get started with 
practice using Windows XP (jdk1.6.0_03).

The Part-1 of practice is ok for me.
When I begin Part-2 (person) I get an error (see log an files 
attached) concerning locale resources.

I use firefox (last version configured in english).

Could you show me what I missed,please?

Cheers



2008-10-07 06:44:25,199 (http-0.0.0.0-8080-1) [
ModelScreen.java:398:ERROR] Error rendering screen 
[component://practice/widget/CommonScreens.xml#main-decorator]: 
java.lang.IllegalArgumentException: Could not find resource bundle 
[PracticeUiLabels] in the locale [en_US]. Rolling back transaction.
2008-10-07 06:44:25,209 (http-0.0.0.0-8080-1) [TransactionUtil.java:220:ERROR] 
 exception report --

Rollback Only was set when trying to commit transaction here; throwing 
rollbackOnly cause exception
Exception: javax.transaction.RollbackException
Message: Unable to commit: transaction marked for rollback
 stack trace ---
javax.transaction.RollbackException: Unable to commit: transaction marked for 
rollback
org.apache.geronimo.transaction.manager.TransactionImpl.commit(TransactionImpl.java:271)
org.apache.geronimo.transaction.manager.TransactionManagerImpl.commit(TransactionManagerImpl.java:245)
org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:199)
org.ofbiz.entity.transaction.TransactionUtil.commit(TransactionUtil.java:185)
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:424)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:129)
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:92)
org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:96)
org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:640)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:425)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:204)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:259)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
org.ofbiz.catalina.container.CrossSubdomainSessionValve.invoke(CrossSubdomainSessionValve.java:43)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
java.lang.Thread.run(Unknown Source)


2008-10-07 06:44:25,209 (http-0.0.0.0-8080-1) [ModelScreen.java:426:ERROR] 
 exception report --

Could not commit transaction: 
org.ofbiz.entity.transaction.GenericTransactionException: Roll back error, 
could not commit transaction, was rolled back instead because of: Error 
rendering screen 
[component://practice/widget/CommonScreens.xml#main-decorator]: 
java.lang.IllegalArgumentException: Could not find resource bundle 
[PracticeUiLabels] in the locale [en_US]java.lang.IllegalArgumentException: 
Could not find resource bundle [PracticeUiLabels] in the locale [en_US] (Could 
not find resource bundle [PracticeUiLabels] in the locale [en_US])
Exception: org.ofbiz.entity.transaction.GenericTransactionException
Message: Roll back error, could not commit transaction, was rolled back instead 
because of: Error rendering screen 
[component://practice/widget/CommonScreens.xml#main-decorator]: 
java.lang.IllegalArgumentException: Could not find 

Re: Freemarker

2008-09-29 Thread Harsha Chadhar

Also u can try and take help with the following:

http://freemarker.sourceforge.net/docs/

you can search for several examples in OfBiz regarding the usage of 
Ftl's by searching for similar tags like


platform-specific
htmlhtml-templatelocation=component://hivemindpsp/webapp/hivemindpsp/task/FindTask.ftl//html   
/platform-specific


that calls for an Ftl.And in the respective file u can see the rest.

Thanks and Regards
Harsha

BJ Freeman wrote:

ofbiz has been migrating from Freemaker to widgets.
Freemaker pages are use in widgets for thing that are easier in freemaker
You will find a lot more in ver 3.0, which is not actively supported.
Not sure where you can get the ver 3.0 now.
the best documentation is to look up the handler in the controller, for
ftl and read the code.
then do a search in the webapp folders for *.ftl and read them
also read the *.groovy files that process data before and after the ftl.
usually the name for the groovy is the same as the ftl file.



Geotek office sent the following on 9/28/2008 10:52 PM:
  

Hello

I can not find any documentation about developing ofbiz applications with presentaion layer witch 
is created by freemarker templates.

If there is some documentation please share with me.l
If there is some good example application in OFbiz (applicaion with presentaion layer implemented by freenarker templates) please tell me. 

I am new to OFbiz. Is there some difference if i create service implemented  by java and use freemarker tempaltes or I use xml for define the presentaion layer ? (I mean the difference in the service itself)  

10x 







  




Re: newline in widgets..

2008-09-29 Thread Harsha Chadhar

Adithi,
 You may use a blank container/ tag for the purpose.
Regards
Harsha

adithi agarwal wrote:

Hii
Can someone tell me how can we use a newline character in screen widgets(like we give 
br in html)as of now am not using any style sheets..

Thankyou