Re: No Authentication Service Defined

2012-08-05 Thread Ravindra Mandre
Hi ,

On Thu, Aug 2, 2012 at 4:47 PM,  wrote:

> Hi,
> Adding to the background of the issue.
>
> 1. The main problem is No Authentication Service Defined . Abruptly the
> authentication was revoked.
> 2. Async service sendEmail service was triggered but  failed more that
> 1000 times.
> 3, Then all of a sudden while triggering getUserPreference, it threw
> Authentication exception,
>
> Please suggest why the Authentication / userPreferences was lost on the
> fly??
>
> Below is the log.
>
> java.lang.Exception: MessagingException when creating message to
> [a...@def.com] from [From *] cc [null] bcc [no-re...@def.in] subject
> [iIUZRTOuEWy]
> org.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:75)
> org.ofbiz.service.job.JobInvoker.run(JobInvoker.java:241)
> java.lang.Thread.run(Thread.java:662)
>
> 
>
> 2012-08-01 08:26:22,800 (default-invoker-Thread-127946) [
> UtilXml.java:701:ERROR] XmlFileLoader:



File
>
> /carnation/opt/prod_latest/ofbiz/applications/marketing/servicedef/services.xml
> process error. Line: 48. Error message: cvc-complex-type.2.4.a: Invalid
> content was found starting with element 'log'.


Check your code , you log also says where the problem is . Your post says
your problem is in log statement.


Ravindra Mandre


> One of '{namespace,
> permission-service, required-permissions, implements, auto-attributes,
> attribute, group, override}' is expected.
> 2012-08-01 08:26:22,801







> (default-invoker-Thread-127946) [
> UtilXml.java:701:ERROR] XmlFileLoader: File
>
> /carnation/opt/prod_latest/ofbiz/applications/marketing/servicedef/services.xml
> process error. Line: 56. Error message: cvc-complex-type.2.4.a: Invalid
> content was found starting with element 'log'. One of '{namespace,
> permission-service, required-permissions, implements, auto-attributes,
> attribute, group, override}' is expected.
> 2012-08-01 08:26:22,801 (default-invoker-Thread-127946) [
> UtilXml.java:701:ERROR] XmlFileLoader: File
>
> /carnation/opt/prod_latest/ofbiz/applications/marketing/servicedef/services.xml
> process error. Line: 63. Error message: cvc-complex-type.2.4.a: Invalid
> content was found starting with element 'log'. One of '{namespace,
> permission-service, required-permissions, implements, auto-attributes,
> attribute, group, override}' is expected.
> 2012-08-01 08:26:22,898 (TP-Processor20) [ UtilXml.java:701:ERROR]
> XmlFileLoader: File
>
> /carnation/opt/prod_latest/ofbiz/applications/marketing/servicedef/services.xml
> process error. Line: 48. Error message: cvc-complex-type.2.4.a: Invalid
> content was found starting with element 'log'. One of '{namespace,
> permission-service, required-permissions, implements, auto-attributes,
> attribute, group, override}' is expected.
> 2012-08-01 08:26:22,899 (TP-Processor20) [ UtilXml.java:701:ERROR]
> XmlFileLoader: File
>
> /carnation/opt/prod_latest/ofbiz/applications/marketing/servicedef/services.xml
> process error. Line: 56. Error message: cvc-complex-type.2.4.a: Invalid
> content was found starting with element 'log'. One of '{namespace,
> permission-service, required-permissions, implements, auto-attributes,
> attribute, group, override}' is expected.
> 2012-08-01 08:26:22,899 (TP-Processor20) [ UtilXml.java:701:ERROR]
> XmlFileLoader: File
>
> /carnation/opt/prod_latest/ofbiz/applications/marketing/servicedef/services.xml
> process error. Line: 63. Error message: cvc-complex-type.2.4.a: Invalid
> content was found starting with element 'log'. One of '{namespace,
> permission-service, required-permissions, implements, auto-attributes,
> attribute, group, override}' is expected.
> 2012-08-01 08:26:23,044 (TP-Processor20) [
> ServiceDispatcher.java:506:ERROR]
>  exception report
> --
> Service [getUserPreferenceGroup] threw an unexpected exception/error
> Exception: org.ofbiz.service.GenericServiceException
> Message: No Authentication Service Defined
>
> Thanks
> Dev
>
>
>
>
> From:
> Saroj C 
> To:
> user@ofbiz.apache.org
> Date:
> 08/01/2012 07:24 PM
> Subject:
> No Authentication Service Defined
>
>
>
> Hi,
>  Any idea, what could be the reason of the following exception ? Note, the
> Applicaiton was working fine, suddenly started giving the following
> exception and after restart everything went to normal again.
>
> Error in request handler:
> Exception: org.ofbiz.widget.screen.Scr

Re: Facing problem with Cache behavior

2012-05-17 Thread Ravindra Mandre
Hi Jacques ,

I am not kidding , facing this problem from last 2  months.
Suggested settings are done for production. looks like need to debug more :)




On Thu, May 17, 2012 at 10:45 PM, Jacques Le Roux <
jacques.le.r...@les7arts.com> wrote:

> Are you both kidding?
>
> https://cwiki.apache.org/**confluence/display/OFBTECH/**
> Apache+OFBiz+Technical+**Production+Setup+Guide#**
> ApacheOFBizTechnicalProduction**SetupGuide-CacheSettings<https://cwiki.apache.org/confluence/display/OFBTECH/Apache+OFBiz+Technical+Production+Setup+Guide#ApacheOFBizTechnicalProductionSetupGuide-CacheSettings>
>
> Jacques
>
>
> From: "Mike" 
>
>  This is a great question.  I believe that by default the cache settings
>> are
>> "developer friendly", but I haven't yet seen recommendations for
>> "production friendly" e-commerce settings.
>>
>>
>> On Thu, May 17, 2012 at 3:56 AM, devalpatel 
>> wrote:
>>
>>  Hi Deepak,
>>>
>>> Where will i get the recommended production setup for cache.properties
>>> file
>>> in ofBiz ?
>>>
>>> Means which properties needs to be commented out, and the values for
>>> other
>>> props ?? or can i use the default setup of cache.properties in production
>>> environment ?
>>>
>>> Regards,
>>>
>>> Deval
>>>
>>> --
>>> View this message in context:
>>> http://ofbiz.135035.n4.nabble.**com/Facing-problem-with-Cache-**
>>> behavior-tp4631873p4631877.**html<http://ofbiz.135035.n4.nabble.com/Facing-problem-with-Cache-behavior-tp4631873p4631877.html>
>>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>>
>>>
>>


-- 
Regards
Ravindra Mandre
Bangalore


Re: Facing problem with Cache behavior

2012-05-17 Thread Ravindra Mandre
Hi Deepak,

Thanks for you reply.
I have done general cache setting  for all options like widget , menu,
screen, groovy  etc . all have expire time is 10 seconds.

After doing all , facing this problem.


Regards
Ravindra Mandre
Bangalore



On Thu, May 17, 2012 at 3:12 PM, Deepak Agarwal wrote:

> Have you modified framework/base/config/cache.properties , if not have a
> look at it.
>
> On Thu, May 17, 2012 at 2:21 PM, Ravindra Mandre  >wrote:
>
> > Hi all ,
> >
> > I have a screen on which almost 200 products are shown and to get details
> > of these products I used Cache true in most of the queries. But facing
> > problem with its behavior , if do clear cache then description , product
> > name , internal name all shows correct for listed products but after some
> > time say 1 or 2 days later , products starts showing some other products
> > name , internal name and description. sometimes the primary product
> > category description also gets messed up.
> > so currently doing the clear cache frequently.
> > Need some suggestion or solution for this problem if anyone faced in
> past .
> > Or I am missing something in cache settings.
> >
> >
> >
> > Regards
> > Ravindra Mandre
> > Bangalore
> >
> > --
> > Thanks,
> > Deepak Agarwal,
> >
> > Paxcel Technologies Pvt Ltd.
> > Hartron Complex, Sector 18, Gurgaon, India.
> > E-Mail: deepak.agar...@paxcel.net
> > Mobile: +91 9910322604
> >
> >
>


Facing problem with Cache behavior

2012-05-17 Thread Ravindra Mandre
Hi all ,

I have a screen on which almost 200 products are shown and to get details
of these products I used Cache true in most of the queries. But facing
problem with its behavior , if do clear cache then description , product
name , internal name all shows correct for listed products but after some
time say 1 or 2 days later , products starts showing some other products
name , internal name and description. sometimes the primary product
category description also gets messed up.
so currently doing the clear cache frequently.
Need some suggestion or solution for this problem if anyone faced in past .
Or I am missing something in cache settings.



Regards
Ravindra Mandre
Bangalore


Re: how to create PDF file in Order items

2012-05-14 Thread Ravindra Mandre
Hi
look for *fo.ftl file and see examples.


Ravindra Mandre

On Mon, May 14, 2012 at 7:18 PM, indela  wrote:

> hi all,
> please explain how Ofbiz create Pdf file for Order items. please give the
> source file names and code snippets
>
> thanks..
>
> --
> View this message in context:
> http://ofbiz.135035.n4.nabble.com/how-to-create-PDF-file-in-Order-items-tp4631603.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>


Re: Checkbox confirmation

2012-05-10 Thread Ravindra Mandre
On Thu, May 10, 2012 at 4:26 PM, Ankit Jain  wrote:

> Madhu,
>
> Try this code it will work for you what you are expecting.
>
> Add target in the form tag instead of you added Delete field in each row.
>
>  use-row-submit="true" title="Selected Monument"
> separate-columns="true"  paginate-target="Book_E_Ticket1"
>list-name="TicketDetails">
>   
>

Re: Checkbox confirmation

2012-05-10 Thread Ravindra Mandre
Madhu ,

You need to implement your event as service then use tags as suggested by
Ankit.


Ravindra Mandre
Bangalore

On Thu, May 10, 2012 at 11:04 AM, madhu wrote:

> that request in controller i added.single record deletion is working
> fine.without controller request i cant call that simple method na.i did
> that
> like this already. now  iwant how to implement multiple record deletion
> using checkbox cheeck by user.
>
>
> path="component://eticket/script/org/ofbiz/eticket/EbookingServices.xml"/>
> value="booketicket"/> name="error" type="view" value="booketicket"/>
>
>  simple method i posted above.
>
> --
> View this message in context:
> http://ofbiz.135035.n4.nabble.com/Checkbox-confirmation-tp2998649p4622552.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>


Re: Demos crashed

2012-04-13 Thread Ravindra Mandre
Thanks Jacques these updates.


Ravindra Mandre

On Fri, Apr 13, 2012 at 12:40 PM, Jacques Le Roux <
jacques.le.r...@les7arts.com> wrote:

> OK I have tried to use only
> ant stop
>
> to stop the instance, since ti worked manually
>
> I will now use again the old
>
> ant stop
> sleep 10
> ant stop
> sleep 10
> ant stop
> sleep 10
>
> In the daily update script
>
> Will see...
>
>
> Jacques
>
> From: "Jacques Le Roux" 
>
>  It was only trunk demo
>>
>> It's back, but I see no reasons why the same manual commands are not
>> working from the script
>>
>> Maybe an issue with ant start-bat, but I can't see what
>>
>> Jacques
>>
>> From: "Jacques Le Roux" 
>>
>>> I'm on it
>>>
>>> Jacques
>>>
>>> From: "Ravindra Mandre" 
>>>
>>>> Still server is not available , any info when it will be back in action
>>>> ?
>>>>
>>>>
>>>> Ravindra Mandre
>>>>
>>>>
>>>> On Wed, Apr 11, 2012 at 2:41 AM, Jacques Le Roux <
>>>> jacques.le.r...@les7arts.com> wrote:
>>>>
>>>>  I guess the infra team updated the system, both demos are back again
>>>>>
>>>>> Jacques
>>>>>
>>>>>
>>>>


Re: Demos crashed

2012-04-12 Thread Ravindra Mandre
Still server is not available , any info when it will be back in action ?


Ravindra Mandre


On Wed, Apr 11, 2012 at 2:41 AM, Jacques Le Roux <
jacques.le.r...@les7arts.com> wrote:

> I guess the infra team updated the system, both demos are back again
>
> Jacques
>


Re: Quantity and Amount?

2012-03-05 Thread Ravindra Mandre
Thanks Jacques for corrcting me, The comment I given is of fixed amount.


Ravindra

On Sun, Mar 4, 2012 at 12:09 AM, Jacques Le Roux <
jacques.le.r...@les7arts.com> wrote:

> Sorry Ravindra,
>
> But you are confusing 2 things, and related fields in Product Entity:
> Product.quantityIncluded
> and
> Product.fixedAmount
>
> IN OFBiz OOTB, quantityIncluded is used for bundles like you describe.
> When fixedAmount is used for financials or by and large
> products which require an Unit of Measure (see Product.amountUomTypeId),
> not a quantity.
>
> There is a good explanation there http://markmail.org/message/**
> tvyghkw7rgq5bmqi <http://markmail.org/message/tvyghkw7rgq5bmqi>
>
> So in this case you don't need to enter an amout. The quantity with the
> product price is enough to get the behaviour you describe.
>
> Alo you may notice that the DB field type is currency-amount. Its
> description is BTW < denominations, such as gift certificates or calling cards.>>
>
> For code details, follow the called request, you will end at
> ShoppingCartHelper.addToCart()**, exactly ShoppingCartHelper[192] in
> trunk
>
> HTH
>
> Jacques
>
>
> From: "Ravindra Mandre" 
>
>> Hi Vanessa ,
>>
>> For understanding purpose let consider you want to buy 5 pens , so 5 is
>> the
>> quantity while if each pen has a price of 10 Rs then its amount will be
>> 10*5 Rs.
>>
>> HTH
>>
>> Ravi
>>
>> On Sat, Mar 3, 2012 at 4:07 PM, Jacques Le Roux <
>> jacques.le.r...@les7arts.com> wrote:
>>
>>  Quantity: to choose the number of product to order
>>> Amount: to possibly fix an amount value for specific products like gift
>>> cards
>>>
>>> See 
>>> https://demo-trunk.ofbiz.**apa**che.org/catalog/control/**<http://apache.org/catalog/control/**>
>>> EditProduct?productId=GC-001>> apache.org/catalog/control/**EditProduct?productId=GC-001<https://demo-trunk.ofbiz.apache.org/catalog/control/EditProduct?productId=GC-001>
>>> >
>>>
>>> Amout, Require Amount, Require the customer to enter an amount.
>>>
>>> Jacques
>>>
>>>
>>> Vanessa Vitor wrote:
>>>
>>>  Hi,
>>>>
>>>> I'm confused about something that I'm sure, it's simple.
>>>>
>>>> While I'm creating a sales order, using "quick lookup" - the table shows
>>>> me
>>>> the name of the product - a field named "quantity" and another field
>>>> named
>>>> "amount". Which is the difference between them?
>>>>
>>>> .../ordermgr/control/LookupBulkAddProducts?productId=
>>>>
>>>> thanks
>>>>
>>>>
>>>
>>


Re: Quantity and Amount?

2012-03-03 Thread Ravindra Mandre
Hi Vanessa ,

For understanding purpose let consider you want to buy 5 pens , so 5 is the
quantity while if each pen has a price of 10 Rs then its amount will be
10*5 Rs.

HTH

Ravi

On Sat, Mar 3, 2012 at 4:07 PM, Jacques Le Roux <
jacques.le.r...@les7arts.com> wrote:

> Quantity: to choose the number of product to order
> Amount: to possibly fix an amount value for specific products like gift
> cards
>
> See https://demo-trunk.ofbiz.**apache.org/catalog/control/**
> EditProduct?productId=GC-001
> Amout, Require Amount, Require the customer to enter an amount.
>
> Jacques
>
>
> Vanessa Vitor wrote:
>
>> Hi,
>>
>> I'm confused about something that I'm sure, it's simple.
>>
>> While I'm creating a sales order, using "quick lookup" - the table shows
>> me
>> the name of the product - a field named "quantity" and another field named
>> "amount". Which is the difference between them?
>>
>> .../ordermgr/control/**LookupBulkAddProducts?**productId=
>>
>> thanks
>>
>


Re: User management

2012-02-12 Thread Ravindra Mandre
Hi ,

Try using use-when tag , this may solve your problem.


Ravindra Mandre

On Tue, Dec 13, 2011 at 5:29 PM, prathika wrote:

> Hi,
>   I am an ofbiz beginner. As i am trying with User management, I have a
> requirement to get a dropdown to one user and for other user, display label
> instead of dropdown (for the same form). Please help me out in solving
> this.
>
>
> --
> View this message in context:
> http://ofbiz.135035.n4.nabble.com/User-management-tp4190172p4190172.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>


Re: OFBiz BIRT compatible report development toolchain

2011-11-29 Thread Ravindra Mandre
Nice workaround , I have not tried it.
Thanks for sharing .



Ravindra Mandre

On Mon, Nov 28, 2011 at 11:46 PM, Bruno Busco  wrote:

> Thank you for your suggestion.
> I will switch to the Eclipse Galileo.
>
> At the moment, with the INDINGO release, I found a work around that
> consists in replacing the version property in the report tag in the
> .rptdesign file as follows:
>
> change the file generated by INDINGO eclipse
> http://www.eclipse.org/birt/2005/design"; version="3.2.22"
> id="1">
> with the following
> http://www.eclipse.org/birt/2005/design"; version="3.2.15"
> id="1">
>
> This seems to work so far.
>
> -Bruno
>
>
> 2011/11/27 Ravindra Mandre 
>
> > I worked in 2.5 version using galileo and it works like charm.
> > i also tried to install INDIGO , it was giving some error (not remembered
> > :(   )
> > so switched back to galileo .
> >
> >
> > Ravindra Mandre
> >
> >
> >
> > On Sun, Nov 27, 2011 at 2:05 AM, BJ Freeman  wrote:
> >
> > > have you followed the example file.
> > > in ofbiz you must call the file through the contoller view
> > >
> > > Bruno Busco sent the following on 11/26/2011 5:34 AM:
> > > > Hi,
> > > > I am trying to write some OFBiz report using BIRT.
> > > > I installed the INDINGO release of Eclipse and then the BIRT package.
> > > >
> > > > The version of the BIRT package I got is 3.7.1 but the rtpdesign
> files
> > > > generated with this tool does not seem to be compatible with the BIRT
> > > > engine that is embedded into OFBiz (version 2.6).
> > > >
> > > > I got this error when I simply open and save again one of the OFBiz
> > OOTB
> > > > provided .rptdesign files.
> > > >
> > > > --
> > > > Nov 26, 2011 2:12:39 PM
> > > > org.eclipse.birt.report.engine.api.impl.ReportEngineHelper
> > > > getReportDesignHandle
> > > > SEVERE: invalid design file 
> > > > --
> > > >
> > > > I tryed to install an older BIRT package into Eclipse INDINGO but the
> > > > oldest available to install is version 3.7.0 whish I guess would give
> > the
> > > > same problem.
> > > >
> > > > Has anybody any advice to solve the problem?
> > > > What is the OFBiz BIRT compatible report development toolchain ?
> > > >
> > > > Thank you,
> > > > Bruno Busco
> > > >
> > >
> >
>


Re: OFBiz BIRT compatible report development toolchain

2011-11-26 Thread Ravindra Mandre
I worked in 2.5 version using galileo and it works like charm.
i also tried to install INDIGO , it was giving some error (not remembered
:(   )
so switched back to galileo .


Ravindra Mandre



On Sun, Nov 27, 2011 at 2:05 AM, BJ Freeman  wrote:

> have you followed the example file.
> in ofbiz you must call the file through the contoller view
>
> Bruno Busco sent the following on 11/26/2011 5:34 AM:
> > Hi,
> > I am trying to write some OFBiz report using BIRT.
> > I installed the INDINGO release of Eclipse and then the BIRT package.
> >
> > The version of the BIRT package I got is 3.7.1 but the rtpdesign files
> > generated with this tool does not seem to be compatible with the BIRT
> > engine that is embedded into OFBiz (version 2.6).
> >
> > I got this error when I simply open and save again one of the OFBiz OOTB
> > provided .rptdesign files.
> >
> > --
> > Nov 26, 2011 2:12:39 PM
> > org.eclipse.birt.report.engine.api.impl.ReportEngineHelper
> > getReportDesignHandle
> > SEVERE: invalid design file 
> > --
> >
> > I tryed to install an older BIRT package into Eclipse INDINGO but the
> > oldest available to install is version 3.7.0 whish I guess would give the
> > same problem.
> >
> > Has anybody any advice to solve the problem?
> > What is the OFBiz BIRT compatible report development toolchain ?
> >
> > Thank you,
> > Bruno Busco
> >
>


Re: help with BIRT

2011-10-02 Thread Ravindra Mandre
Hi ,


To create report in BIRT first you need to fetch data in a groovy file or in
.rptdesign file then   you have to define your dataset elements like partyId
, after that from layout , in .rptdesign file , create a table with few
columns and rows , drop your party id element into the details row which is
generally the second row.
Then add one more header row in the same table and insert a grid inside that
row with few rows and columns , this grid will work for you as a header .
after this select the detail row of table and then add a group by function
into it and do the group by party id .
this group by will give you detail of party on each page , also do the page
break.


Hope this help you.


Ravindra Mandre
Bangalore

On Sun, Sep 18, 2011 at 6:12 PM, S.Hage  wrote:

> Hi all,
>I would like generate a report using BIRT, the report create a PDF file,
> each page in the file contains information on one and only one Party. The
> information on the page divided on 2 sections Header and body. In the
> header
> section we can found information like personal info. and the body contains
> accounting info.
>
> can someone point me to an example that simulate this? Or some hints can
> help to build report like this.
>
> Thanks.
> S. Hage
>
> --
> View this message in context:
> http://ofbiz.135035.n4.nabble.com/help-with-BIRT-tp3821756p3821756.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>


Re: visit Hyderabad, India

2011-09-15 Thread Ravindra Mandre
Welcome to India



Ravindra Mandre

On Mon, Sep 12, 2011 at 7:35 AM, Hans Bakker wrote:

> I will visit Hyderabad, India the end of this month, to support a
> customer. Anybody interested discussing OFBiz there? Let me know?
> It is my first visit to India which is always interesting.
>
> Regards,
> Hans
>
>
> --
> http://www.antwebsystems.com :
> Quality OFBiz support for competitive rates
>
>
>


Re: adding new column in table

2011-09-15 Thread Ravindra Mandre
If your entity exists in database what you are using then do the extend
entity like





Hope this helps you


Ravindra Mandre












On Tue, Sep 13, 2011 at 7:51 PM, snehal  wrote:

> Hi,
>
> This is my entity definition
>
>
>
> package-name="com.prorigo.dataloader" title="Entity for
> PartRevPlantRelation
> information">
>
>
>
>
>
>
>
>
> fk-name="FK_PART_REV_PLANT_RELATION_PART_REV_ID"
> rel-entity-name="PartRevision">
> rel-field-name="partRevisionId"/>
>
> fk-name="FK_PART_REV_PLANT_RELATION_PLANT_ID"
> rel-entity-name="Plant">
>
>
>
>
>
> I want to add one more column called testQty. In this table.
>
>
>
> --
> View this message in context:
> http://ofbiz.135035.n4.nabble.com/adding-new-column-in-table-tp3809890p3810205.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>


Re: Assistance required to understand Survey

2011-08-16 Thread Ravindra Mandre
Hi Pankaj ,

Please refer the
http://demo-trunk.ofbiz.apache.org/ecommerce/control/minipoll/main mouse
hand poll , which is an example of survey implementation .


Ravindra Mandre


On Fri, Aug 12, 2011 at 9:40 PM, BJ Freeman  wrote:

> see the specialpurpose\ecommerce\data\DemoSurvey.xml
>
> Pankaj Singh sent the following on 8/12/2011 5:04 AM:
> > Hi ,
> > I need some assistance to understand the survey functionality . If i
> create
> > a survey from Contentmgr site then from which place of application site i
> > can see the posted survey and respond back on the asked questions any
> > working example would be the great help .
> >
>


Re: Adding a mailing list for end (non technical users

2011-06-01 Thread Ravindra Mandre
yes I will also suggest to use user mailing list for this purpose
 +1

Ravindra Mandre

On Wed, Jun 1, 2011 at 1:04 PM, Adrian Crum <
adrian.c...@sandglass-software.com> wrote:

> +1
>
> -Adrian
>
>
> On 6/1/2011 7:19 AM, Jacopo Cappellato wrote:
>
>> IMO We should encourage end-user/business processes discussions in this
>> (user) list.
>>
>> Jacopo
>>
>> On May 31, 2011, at 10:31 AM, Hans Bakker wrote:
>>
>>  I was wondering if there would be an interest in adding a mailinglist
>>> for end users how to use ofbiz.
>>>
>>> any opinions here?
>>>
>>> Regards,
>>> Hans
>>> --
>>> Ofbiz on twitter: http://twitter.com/apache_ofbiz
>>> Myself on twitter: http://twitter.com/hansbak
>>> Antwebsystems.com: Quality services for competitive rates.
>>>
>>>


Re: Required validations are not working on Create Customer page.

2011-04-19 Thread Ravindra Mandre
Hi Sascha,

Many thanks for your work, next time will create a jira issue .


Regards
Ravindra Mandre
On Sun, Apr 17, 2011 at 12:41 AM, Sascha Rodekamp  wrote:

> Ups Force of Habit :-)
>
> Am 16.04.2011 um 20:55 schrieb "Jacques Le Roux" <
> jacques.le.r...@les7arts.com>:
>
> > Hi Sascha,
> >
> > Ravindra reported on user ML ;o)
> >
> > Jacques
> >
> > From: "Sascha Rodekamp" 
> >> Hi Ravindra,
> >> if fixed this issue. The patch is in trunk @Rev 1094007.
> >> When you found a bug next time it would be create if you can use Jira,
> that
> >> make it easier to track the bugs (
> >> https://issues.apache.org/jira/browse/OFBIZ).
> >> Thanks for reporting and have a good day.
> >> Sascha
> >> --
> >> Sascha Rodekamp
> >>   Visit the new german OFBiz Blog: http://www.ofbiz.biz
> >>   Lynx-Consulting GmbH
> >>   Johanniskirchplatz 6
> >>   D-33615 Bielefeld
> >>   http://www.lynx.de
> >>
> >
>


Required validations are not working on Create Customer page.

2011-04-15 Thread Ravindra Mandre
Hi list,

In partymgr when I am creating a person then on the form first name and last
name are required fields but If I submit the form without passing the first
name and last name , form gets submitted , it means required validations are
not working. so I am curious to know Is there any problem with Validations ?
I tried for the following url

https://demo-trunk.ofbiz.apache.org/partymgr/control/editperson?create_new=Y




Regards
Ravindra Mandre


Re: What is a valid price?

2011-04-08 Thread Ravindra Mandre
Hi,
You have to provide price for the mentioned product , check ProductPrice
entity . and look into DemoConfigurator.xml file.


Regards
Ravindra Mandre

On Fri, Apr 8, 2011 at 2:05 AM, James Lawton wrote:

> I am loading new product data into my system using the Entity XML data file
> import tools
>
>
>
> I have products and I have a default price for those products. That all
> loads in nicely
>
>
>
> When trying to order that new product through the order new entry, I keep
> getting an error message saying in the main UI saying
>
>
>
> "Could not find a valid price for the product with ID [YG0081ATF], not
> adding to cart"
>
>
>
> Anyone know what a valid price is?
>
>
>
> Thanks
>
> James
>
>


Re: Tutorial in POs

2011-03-22 Thread Ravindra Mandre
hi,
check this may help you

http://www.google.co.in/url?sa=t&source=web&cd=1&sqi=2&ved=0CBYQFjAA&url=https%3A%2F%2Fcwiki.apache.org%2FOFBIZ%2Fpos-system.data%2FOFBiz%2520POS%2520User%2520Manual%2520-%2520version%25209.11.pdf&ei=iKiITZSyCo_JcbPNkcYM&usg=AFQjCNED6vp-XVVvyxclw5eqEm3ycaFybw&sig2=c2VKbPrDC0A8nOFnlHUwxA


Regards
Ravindra Mandre

On Fri, Mar 18, 2011 at 4:26 PM, Bilgin Ibryam  wrote:

> You can find more info here:
> https://cwiki.apache.org/OFBIZ/pos-system.html
> If you want to change the products, modify at this file:
> ofbiz/specialpurpose/pos/screens/default/menu/posmain.xml
>
> Bilgin Ibryam
>
>
> On Tue, Mar 15, 2011 at 1:26 PM, hisham Abaza  >wrote:
>
> >  I need help in ofbiz POS
> > i want more information about pos
> > how can i add product to pos screen
> >
> >
> > *ENG : Hisham Abaza*
> > *Computer and Systems Engineer*
> > **
> >
> >
> >
>


Re: How to display list items in the form.

2011-03-04 Thread Ravindra Mandre
Hi,
If you search for form type="list" or multi you will get  a number of
example's for displaying list in form.




Regards
Ravindra Mandre

On Fri, Mar 4, 2011 at 1:48 PM, Suprit Udawat  wrote:

> Hello,
>
> I was working on my project and I have a code like this in my groovy file:
> List = []
> something.each{ some ->
> List1 = [];
> iterate.each { it ->
> map= [:];
> map.something = something;
> map.something = something;
> list1.add(map);
> }
> List.add(List1);
> }
> context.list = List;
>
> Now I want to display list in my form and I don't know how to do this. I
> searched in OOTB but I don't get any example. Can anybody tell me how to do
> this?
>


How to add couple of dependent drop downs in one form.

2011-02-02 Thread Ravindra Mandre
Hi all,
I am facing a problem for adding more than one dependent drop down in one
form. For example , I have to add one more dependent dropdown  in create new
customer form. while in this form  a country-state drop down is already
there. I found a comment in PartyScreens.xml of Party Manager component
which says :

 ()

, so Is there any way to add more than one drop down. or above issue is
Resolved or any other suggestion.




Regards
Ravindra Mandre


Re: Is it possible to achieve crosstab like view using form

2011-01-04 Thread Ravindra Mandre
Thanks Hans and BJ for your comments, I will look into it little later.


Ravi

On Mon, Jan 3, 2011 at 6:57 AM, Hans Bakker
wrote:

> Check the time sheet in he project manager for an example.
>
> Regards,
> Hans
>
>
> --
> Ofbiz on twitter: http://twitter.com/apache_ofbiz
> Myself on twitter: http://twitter.com/hansbak
> Antwebsystems.com <http://twitter.com/hansbak%0AAntwebsystems.com>:
> Quality services for competitive rates.
>
> On Fri, 2010-12-31 at 11:48 +0530, Ravindra Mandre wrote:
> > Hi all,
> > I want to know that ,Is it possible to achieve a cross tab look in ofbiz
> > using Forms or the following look (for example),
> >
> >   |  field A |field B   field C   field D   field E
> field
> > Ffield G . upto certain numbers
> >
> --||---
> > field1  |  value  |  value value valuevaluevalue
> > value ..
> > field2  |  value  |
> > field3  |  value  |
> > field4  |  . ..  |
> > field5  |  ...   |
> > field6  |  ...   |
> > field7  ||
> > .
> > .
> > .
> >
> > it may be possible I don't know how to do , if it is documented and
> someone
> > did like this then its great help to me if he can share his experience.
> > or any one can suggest how to achieve it.
> >
> >
> >
> >
> > Regards
> > Ravindra Mandre
>
>
>


Is it possible to achieve crosstab like view using form

2010-12-30 Thread Ravindra Mandre
Hi all,
I want to know that ,Is it possible to achieve a cross tab look in ofbiz
using Forms or the following look (for example),

  |  field A |field B   field C   field D   field E   field
Ffield G . upto certain numbers
--||---
field1  |  value  |  value value valuevaluevalue
value ..
field2  |  value  |
field3  |  value  |
field4  |  . ..  |
field5  |  ...   |
field6  |  ...   |
field7  ||
.
.
.

it may be possible I don't know how to do , if it is documented and someone
did like this then its great help to me if he can share his experience.
or any one can suggest how to achieve it.




Regards
Ravindra Mandre


Re: Not getting right behavior of use-when when using in multi (form type) form

2010-12-29 Thread Ravindra Mandre
 Many Thanks Jacques and Chirag for your answer.
for now I choose a different approach to resolve this problem.
will deal later with this.


Regards
Ravindra Mandre


Re: Not getting right behavior of use-when when using in multi (form type) form

2010-12-28 Thread Ravindra Mandre
hi all,
Is there any other way of using , use-when tag in multi form so that the
form should not insert extra spaces between columns.

Ravi



On Tue, Dec 28, 2010 at 8:20 PM, Ravindra Mandre wrote:

> Hi Shereen,
> Thanks for your reply but I am fine with this if I am using with single
> form , I want to use this in multi form (form Type = multi) , btw I also
> tried the way you suggested but It does not gave me any good luck, If you
> came across this situation while using multi form , please share.
> thanks
>
>
>
> Ravindra Mandre
>


Re: Not getting right behavior of use-when when using in multi (form type) form

2010-12-28 Thread Ravindra Mandre
Hi Shereen,
Thanks for your reply but I am fine with this if I am using with single form
, I want to use this in multi form (form Type = multi) , btw I also tried
the way you suggested but It does not gave me any good luck, If you came
across this situation while using multi form , please share.
thanks



Ravindra Mandre


Not getting right behavior of use-when when using in multi (form type) form

2010-12-28 Thread Ravindra Mandre
Hi ,
I am facing problem while using the use-when tag inside the multi form,
I have to following form











 

as expected it should display or text , field depending upon the passed
condition but
when i am using the use-when tag then the attrValue's display row gets
shifted toward the right-side of the form and inserts two extra  , which
makes forms look very ugly,  I am struggling with this from a long time, or
some can suggest of other way of using the "use-when " tag,
the purpose of doing this is i want to use same form for display and update.



Regards
Ravindra Mandre


Re: How I can set two values using OR in set tag.

2010-12-25 Thread Ravindra Mandre
Thanks Jacques for your reply.


Ravi


How I can set two values using OR in set tag.

2010-12-25 Thread Ravindra Mandre
Hi all,

How I can use the OR function in  tag under form's actions tag. I
want to pass two values as OR .
consider the following example
productId = 1000
productId = 1001


then I want to set above two values in set as or .

can any body help me to get me. or if it exist, then please let me know .



Ravi


Re: comparing two dates using use-when

2010-12-06 Thread Ravindra Mandre
above solution given to you worked for me.
I dont know why did not worked for you :-(


Ravindra Mandre


On Mon, Dec 6, 2010 at 12:40 PM, Shereen  wrote:

>
> Thanks a lot for your replies
> Unfortunately both solutions didn't work for me
> Any more suggestions?
> --
> View this message in context:
> http://ofbiz.135035.n4.nabble.com/comparing-two-dates-using-use-when-tp306p3074040.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>


Re: comparing two dates using use-when

2010-12-05 Thread Ravindra Mandre
you may also try following if your problem did solved.

"Periodic Mass Load".equals(productStatus)


HTH

Ravindra Mandre
Bangalore



On Sun, Dec 5, 2010 at 10:10 PM, Adrian Crum  wrote:

> Remove the $ and curly brackets.
>
> -Adrian
>
> --- On Sun, 12/5/10, Shereen  wrote:
>
> > From: Shereen 
> > Subject: Re: comparing two dates using use-when
> > To: user@ofbiz.apache.org
> > Date: Sunday, December 5, 2010, 6:54 AM
> >
> > Hi All
> > Please all I need help on using the use-when attribute
> > I've made a product status field in the form and I want to
> > check for that
> > field this field s string and I can't use use- when with
> > strings
> > what I have done is this:
> > 
> >  > value="product.ProductStatusId"/>
> > 
> > This was to store the status of the product
> >
> > this is to change target when the status equals "Periodic
> > Mass Load"
> >  > use-when="${productStatus.equals('Periodic Mass Load')}"
> > target="updateProductChangeStatusPeriodicMassReady"/>
> >
> > this is a submit button I want to use also if the status
> > matches this value
> > "Periodic Mass Load"
> >
> >  > name="submitButton" title="Periodic Mass Ready"
> > use-when="${productStatus.equals('Periodic Mass Load')}"
> > widget-style="smallSubmit"> > button-type="button"/>
> >
> > anyone can help or give me a link to read?
> > I duno how to check strings. I tried to remove spaces but
> > the problem
> > remains te same.
> > Instead of single quotes I put double quote and the same
> > problem remains
> >
> > here's the exception
> >
> >   at java.lang.Thread.run(Thread.java:619)
> > 2010-12-05 16:38:17,127 (http-0.0.0.0-8443-2)
> > [FlexibleStringExpander.java:692:ERROR] Error evaluating
> > expression
> > ${productStatus.equals('Periodic Mass Load')}:
> > javax.el.ELException: Error
> > parsing '${productStatus.equals('Periodic Mass Load')}':
> > syntax error at
> > position 22, encountered '(', expected '}'
> > 2010-12-05 16:38:17,157 (http-0.0.0.0-8443-2)
> > [StandardWrapperValve.java:274:ERROR] Servlet.service() for
> > servlet
> > ControlServlet threw exception
> > bsh.TokenMgrError: Lexical error at line 1, column
> > 26.  Encountered: "e"
> > (101), after : "\'P"
> > at
> > bsh.ParserTokenManager.getNextToken(Unknown Source)
> > at
> > bsh.Parser.jj_scan_token(Unknown Source)
> > at bsh.Parser.jj_3R_138(Unknown
> > Source)
> > at bsh.Parser.jj_3R_129(Unknown
> > Source)
> > at bsh.Parser.jj_3R_98(Unknown
> > Source)
> > at bsh.Parser.jj_3R_57(Unknown
> > Source)
> > at bsh.Parser.jj_3R_33(Unknown
> > Source)
> > at bsh.Parser.jj_3R_107(Unknown
> > Source)
> > at bsh.Parser.jj_3R_70(Unknown
> > Source)
> > at bsh.Parser.jj_3R_39(Unknown
> > Source)
> > at bsh.Parser.jj_3R_134(Unknown
> > Source)
> > at bsh.Parser.jj_3R_106(Unknown
> > Source)
> > at bsh.Parser.jj_3R_69(Unknown
> > Source)
> > at bsh.Parser.jj_3R_37(Unknown
> > Source)
> > at bsh.Parser.jj_3R_101(Unknown
> > Source)
> > at bsh.Parser.jj_3R_57(Unknown
> > Source)
> > at bsh.Parser.jj_3R_33(Unknown
> > Source)
> > at bsh.Parser.jj_3R_107(Unknown
> > Source)
> > at bsh.Parser.jj_3R_70(Unknown
> > Source)
> > at bsh.Parser.jj_3R_39(Unknown
> > Source)
> > at bsh.Parser.jj_3R_133(Unknown
> > Source)
> > at bsh.Parser.jj_3R_104(Unknown
> > Source)
> > at bsh.Parser.jj_3R_58(Unknown
> > Source)
> > at bsh.Parser.jj_3R_33(Unknown
> > Source)
> > at bsh.Parser.jj_3_8(Unknown
> > Source)
> > at bsh.Parser.jj_2_8(Unknown
> > Source)
> > at
> > bsh.Parser.Expression(Unknown Source)
> > at
> > bsh.Parser.StatementExpression(Unknown Source)
> > at bsh.Parser.Statement(Unknown
> > Source)
> > at
> > bsh.Parser.BlockStatement(Unknown Source)
> > at bsh.Parser.Line(Unknown
> > Source)
> > at
> > bsh.Interpreter.parseScript(Unknown Source)
> > at bsh.Interpreter.eval(Unknown
> > Source)
> > at bsh.Interpreter.eval(Unknown
> > Source)
> > at bsh.Interpreter.eval(Unknown
> > Source)
> > at
> > org.ofbiz.widget.form.ModelForm.getTarget(ModelForm.java:1967)
> > at
> >
> org.ofbiz.widget.form.MacroFormRenderer.renderFormOpen(MacroFormRenderer.java:1237)
> > at
> >
> org.ofbiz.widget.form.ModelForm.renderSingleFormString(ModelForm.java:879)
> > at
> > org.ofbiz.widget.form.ModelForm.renderFormString(ModelForm.java:837)
> > at
> >
> org.ofbiz.widget.screen.ModelScreenWidget$Form.renderWidgetString(ModelScreenWidget.java:840)
> >
> >
> >
> > --
> > View this message in context:
> http://ofbiz.135035.n4.nabble.com/comparing-two-dates-using-use-when-tp306p3073306.html
> > Sent from the OFBiz - User mailing list archive at
> > Nabble.com.
> >
>
>
>
>


Re: How to include ftl from a form

2010-11-12 Thread Ravindra Mandre
hi ,
you can do it inside the form field tag
use field tag and provide your message into its sub tag "display" and for
showing text in red bold letter you have to write a css class and then
created css class can be used inside the field's sub element  widget-style =
"your css class name".
try it will work.


Regards
Ravindra Mandre


On Wed, Nov 10, 2010 at 11:41 PM, Shereen  wrote:

>
> Hi all
> I have a technical question
> Can I insert  ftl inside a form?
> For example I'm doing some customization in the request screens the
> EditRequest screen includes a form this form consists many fields one after
> the other I've added a checkBox at the end of the form and I just want to
> put some note just before that check box how to do that?
>
> I've only tried to play with fields in the forms but I didnt try to insert
> pure text is this possible? I just want to add some text in bold red colour
> so i thought of ftl but I only know that it could include it from screen
> not
> form
>  I also tried to use  but it agave me errors I duno what are
> the right conditions to do this
> --
> View this message in context:
> http://ofbiz.135035.n4.nabble.com/How-to-include-ftl-from-a-form-tp3036602p3036602.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>


Re: comparing two dates using use-when

2010-11-09 Thread Ravindra Mandre
Hi soumya ,
There are examples available in in the Example components for the same
purpose , please take a look in example forms.
HTH


Ravindra Mandre


On Tue, Nov 9, 2010 at 4:02 PM, Bilgin Ibryam  wrote:

> On Tue, Nov 9, 2010 at 9:58 AM, soumya jyoti guru  >wrote:
>
> > thanks for replying,
> > but in my case it is not working because
> > the currentDate is in the form of timestamp and the startDate is in
> > the form of Date-time.sorry to miss this important details in my
> > earlier question.
> > Thanks again,  for replying back.Please
> > reply back if  there is any other way out.
> >
> >
> You can do the conversion from date to timestamp first and then compare.
> Conversion can be done inside use-when, or you can add a row-actions and
> prepare your data there (this actions will be executed once for each row)
>
> There might/should be a better way to do this using groovy though
>
> Bilgin
>


Re: Not able to take print orders list from Order manager

2010-10-12 Thread Ravindra Mandre
Thanks Jacques , I will try this



Ravindra Mandre

On Tue, Oct 12, 2010 at 5:19 PM, Jacques Le Roux <
jacques.le.r...@les7arts.com> wrote:

> From: "Ravindra Mandre" 
>
>> Thanks Jacques for reply its works only in case if your selected printer
>> is
>>
>> ON , but If I dont have my printer ON and still wants to take print then
>> it
>> does not gives an option to take this output in pdf file, as generally
>> expected.
>> I also tried 'create file' option but not able to find out where it
>> creates
>> file and stores.
>> I will be thankful to you , if you can give some more light on this.
>>
>
> Yes, OOTB it's suppose a printer driver ready. For PFD you may use a PDF
> generator like https://sourceforge.net/projects/pdfcreator/ (I use it on
> Windows, try 
> http://www.physik.uni-wuerzburg.de/~vrbehr/cups-pdf/<http://www.physik.uni-wuerzburg.de/%7Evrbehr/cups-pdf/>on
>  Linux).
> Advantage : it's always turned on ;o)
>
> Jacques
>
>
>> Regards
>> Ravindra Mandre
>>
>>
>
>


Re: Not able to take print orders list from Order manager

2010-10-12 Thread Ravindra Mandre
Thanks Jacques for reply its works only in case if your selected printer is
ON , but If I dont have my printer ON and still wants to take print then it
does not gives an option to take this output in pdf file, as generally
expected.
I also tried 'create file' option but not able to find out where it creates
file and stores.
I will be thankful to you , if you can give some more light on this.


Regards
Ravindra Mandre


Not able to take print orders list from Order manager

2010-10-11 Thread Ravindra Mandre
Hi all,
I wanted to take print out all order's which are completed or in what ever
status, so went to order manager component and selected the find orders tab
and got all order's list but when I select the "print " option from dropdown
and printer name from other drop down and click on the "Run Action" button ,
this does not gives me any output nor any print for selected orders list.
Can some one also faced the same problem in past ?
How can I resolve this , need some help for this .





Regards
Ravindra Mandre


Re: problem in example component

2010-09-12 Thread Ravindra Mandre
hi
 see the following url


http://ofbiz.markmail.org/search/?q=The%20fancy%20new%20entity-auto%20service%20execution%20engine#query:The%20fancy%20new%20entity-auto%20service%20execution%20engine+page:1+mid:dj4wvtm4u2nxoz3r+state:results


HTH


Ravi



On Sat, Sep 11, 2010 at 3:51 PM, UMESH KUSHWAH  wrote:

>
> good afternoon all of you. i am in in ofbiz user. i learn ofbiz technology
> last 2 month.
>
> i am tracing example component.  aproblem is this i doent understand in
> code
> of  how "create" an example. i know only 2 type of engine.
> 1. java engine
> 2. simple engine
> but in tracing example component i see a new a new engine
> entity-auto-engine
> plz help me
> --
> View this message in context:
> http://ofbiz.135035.n4.nabble.com/problem-in-example-component-tp2535551p2535551.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>


Re: How can I make a coupon that offers 4% off any order with a maximum discount of $50?

2010-09-09 Thread Ravindra Mandre
 Hi,
please refer price rule tab under the catalog component .


Ravindra Mandre

On Thu, Sep 9, 2010 at 6:59 PM, Vicky Park  wrote:

> Hello guys,
>
> I'd like to make a coupon that offers 4% off any order with a maximum
> discount of $50. So if your order total before shipping is $2000, you still
> get only $50. Do you know if this is possible with the current
> functionality?
>
> I checked demo site and "Catalog Manager Application" by Ruth Hoffman. But
> I couldn't find what I want. I'm using customized version based on opentaps
> 1.0.3.
>
> Any opinion will be welcome. Thank you in advance.
>
> Vicky
>


Re: Related entity's data in a form field

2010-09-06 Thread Ravindra Mandre
On Mon, Sep 6, 2010 at 2:19 PM, Mansour Al Akeel
wrote:

> Cool, but what is the genericValueName here in my case ?
> Here's the form definition:
>
> default-table-style="basic-table" odd-row-style="alternate-row"
> use-row-submit="false">
> 
>
>
>
>



>
>  value="${manufacturerPartyId}" />
> 
>


Use this service in 
   
   

the value of  manufacturerPartyId will be available though the list which
you getting from entity-condition  so it will map .


if further does not work then post you comment

HTH

Ravi

value="${myParty.party['description']}" />
>
> 
>description="${internalName}" />
>
> 
> target="/partymgr/control/viewprofile" target-type="content">
>  value="${manufacturerPartyId}" />
> 
>
>
>
> In other words, how do I refrence the current entity ?
> Thank you, Ravi
>
>
> On Mon Sep 06,2010 02:12 pm, Ravindra Mandre wrote:
> > On Mon, Sep 6, 2010 at 1:06 PM, Mansour Al Akeel
> > wrote:
> >
> > > Ravi thank you.
> > > I got it working. One thing is still missing, how do I extract the
> > > variable name in the parameter ?  See the comments.
> > >
> > > 
> > >
> > >
> > >
> > > > > result-map="myParty">
> > > 
> > > 
> > > 
> > > > > value="${myParty.party['description']}" />
> > > 
> > >
> > >
> > you have do field-map idToFind from genericValueName.manufacturePartyId
> in
> > from-field element and you job is done .
> >
> >
> > Ravi
>


Re: Related entity's data in a form field

2010-09-06 Thread Ravindra Mandre
On Mon, Sep 6, 2010 at 1:06 PM, Mansour Al Akeel
wrote:

> Ravi thank you.
> I got it working. One thing is still missing, how do I extract the
> variable name in the parameter ?  See the comments.
>
> 
>
>
>
> result-map="myParty">
> 
> 
> 
> value="${myParty.party['description']}" />
> 
>
>
you have do field-map idToFind from genericValueName.manufacturePartyId   in
from-field element and you job is done .


Ravi


Re: Related entity's data in a form field

2010-09-05 Thread Ravindra Mandre
Hi,

I have not gone through all posting but based on your last post I am only
getting the idea that you are getting a generic value of party and also
getting the createdByUserLogin value as admin , so simply you can get the by
party.createdByUserLogin .




Ravi


On Sun, Sep 5, 2010 at 1:43 PM, Mansour Al Akeel
wrote:

> To clarify my issue, the code I have posted results in a field showing
> the who map (or list). What I need is a single value only from this map.
> Here's an example output:
> {responseMessage=success,
> party=[GenericEntity:Party][createdByUserLogin,admin(java.lang.String)][createdDate,2010-08-30
> 19:49:06.594(java.sql.Timestamp)][createdStamp,2010-08-30
>19:49:06.663(java.sql.Timestamp)][createdTxStamp,2010-08-30
> 19:49:06.594(java.sql.Timestamp)][dataSourceId,null()][description,SomeManufacturer
>
>  
> manufacturer(java.lang.String)][externalId,null()][isUnread,null()][lastModifiedByUserLogin,admin(java.lang.String)][lastModifiedDate,2010-08-30
>19:49:06.594(java.sql.Timestamp)][lastUpdatedStamp,2010-09-04
> 10:01:11.346(java.sql.Timestamp)][lastUpdatedTxStamp,2010-09-04
>
>  
> 10:01:11.22(java.sql.Timestamp)][partyId,1(java.lang.String)][partyTypeId,PARTY_GROUP(java.lang.String)][preferredCurrencyUomId,USD(java.lang.String)][statusId,PARTY_ENABLED(java.lang.String)],
>partiesFound={}}
>
>
>


Re: Query regarding rptdesign file

2010-08-24 Thread Ravindra Mandre
Hi,
the following example may help,
order/webapp/ordermgr/reports/CouponSalesReport.rptdesign

based on list you can find out the value of specific field.


Regards
Ravindra Mandre


On Tue, Aug 24, 2010 at 4:32 PM, KeertiA Sharma <
keertia.sha...@lntinfotech.com> wrote:

> Hi,
> I am unable to fetch the complete list of data from entity in rptdesign
> file.i want to fetch a field which has multiple values in it.
> Kindly help me.
> Thanks
>
>
> Keerti A Sharna
> ILabs | L&T Infotech Limited
> Plot No. EL - 200,
> TTC Electronic Zone, Shil Mahape Road
> Vashi,  Navi Mumbai 400 710
> Phone : +91 22 6795 4545 Extn: 4324
> Mobile: +91 7666 217 972
> Email : keertia.sha...@lntinfotech.com
>
>
> 
> This Email may contain confidential or privileged information for the
> intended recipient (s) If you are not the intended recipient, please do not
> use or disseminate the information, notify the sender and delete it from
> your system.
>
> __


Re: how to make radio buttin in forms in an xml file

2010-08-21 Thread Ravindra Mandre
you can go there and make  a simple search for radio ,
 and will find your answer
you can use this as a child tag of field , 


http://ofbiz.apache.org/dtds/widget-form.xsd



Regards
Ravindra Mandre


Re: View entity extra conditions

2010-08-15 Thread Ravindra Mandre
Hi,
Comments inline


On Sun, Aug 15, 2010 at 11:53 AM, varun bhansaly wrote:

> Hi,
> I have written a view entity, as shown below, the intention is to perform
> inner join b/w two entities & a further condition.
> But after looking at the raw SQL, it seems entity engine seems to ignore
> entity condition tag.
>
> package-name="org.ofbiz.custom"
>title="party role and party detail">
>   
>   
>   
>   
>   
>   
>   
>   
> 
>   
>   
>  entity-alias="PR"/>
>


try by providing entity-alias name on which you are making condition
, and  rel-optional="true" in view link

HTH

Ravindra Mandre





>
> 
>
> Am i missing anything ?
> Is there any other way to specify extra conditions in the view entity
> definition itself ?
>
> --
> Regards,
> Varun Bhansaly
>


Re: Passing error message from groovy to XML screen

2010-08-12 Thread Ravindra Mandre
Hello swapnil ,
you can give a try to this by the following :



 

based on the return from groovy file which may be success or error , you can
provide the view .


HTH

Regards
Ravindra Mandre


On Thu, Aug 12, 2010 at 3:17 PM, Swapnil Sawant <
swapnil.saw...@lntinfotech.com> wrote:

> Hi Ravindra,
>
> Thanks for your reply.
>
> I want to set the error message while processing in groovy and then display
> that error message on XML corresponding to "  type="view" value="errorpage"/>"
>
> If you have any such code, could you pl paste it here. It would be of great
> help to us.
>
>
>
> Thanks & Regards,
> Swapnil Sawant | iLabs | L & T Infotech
>
> Plot no. EL - 200,TTC Electronic Zone,Shil-Mahape road,Navi Mumbai - 400
> 701
> Extn: +91 22 6795  4325
> Mail: swapnil.saw...@lntinfotech.com
>
> www.lntinfotech.com
>
>
> -Original Message-
> From: Ravindra Mandre [mailto:raviof...@gmail.com]
> Sent: Thursday, August 12, 2010 1:11 PM
> To: user@ofbiz.apache.org
> Subject: Re: Passing error message from groovy to XML screen
>
> Hello Swapnil,
> In groovy you can show error message by setting them in request , as
> follows
>
> request.setAttribute("_ERROR_MESSAGE_", "your custom or standard message
> here" );
>
> this returns your messge on UI,
>
>
> Regards
> Ravindra Mandre
>
>
>
> On Thu, Aug 12, 2010 at 11:47 AM, Swapnil Sawant <
> swapnil.saw...@lntinfotech.com> wrote:
>
> > Hi,
> >
> > I wish to achieve following functionality in ofbiz :
> >
> >
> > -  From controller , I am calling a groovy file
> >
> > -  In groovy file, I am checking if data corresponding to request
> > parameters from screen is existing in some entity or not
> >
> > -  If data is not preset in that entity, I wish display "error
> > message" on the output screen which is mapped to response type "error"
> >
> > My question here is that how do I pass a message (e.g. "No data for this
> > empl id ...") from groovy file to the next xml screen corresponding to
> > "error" response
> >
> > (Similar to as we do in Java service of ofbiz. Using
> > ServiceUtil.returnError("type ur msg here") )
> >
> > What things I need to write in groovy and XML file ?
> >
> >
> >
> > Thanks & Regards,
> > Swapnil Sawant
> >
> >
> > 
> > This Email may contain confidential or privileged information for the
> > intended recipient (s) If you are not the intended recipient, please do
> not
> > use or disseminate the information, notify the sender and delete it from
> > your system.
> >
> > __
>
>
> __
>
> This Email may contain confidential or privileged information for the
> intended recipient (s) If you are not the intended recipient, please do not
> use or disseminate the information, notify the sender and delete it from
> your system.
>
> __
>


How to show electronic text in pdf using fo.ftl file

2010-08-12 Thread Ravindra Mandre
Hi,
How can I get the electronic text  content in PDF format by using  .fo.ftl
, I tried this by using forms but getting error, so I moved to *.fo.ftl ,
can any one suggest me how can I get the same output in pdf as we get on the
screen by using electronic text.

Regards
Ravindra Mandre


Re: Passing error message from groovy to XML screen

2010-08-12 Thread Ravindra Mandre
Hello Swapnil,
In groovy you can show error message by setting them in request , as follows

request.setAttribute("_ERROR_MESSAGE_", "your custom or standard message
here" );

this returns your messge on UI,


Regards
Ravindra Mandre



On Thu, Aug 12, 2010 at 11:47 AM, Swapnil Sawant <
swapnil.saw...@lntinfotech.com> wrote:

> Hi,
>
> I wish to achieve following functionality in ofbiz :
>
>
> -  From controller , I am calling a groovy file
>
> -  In groovy file, I am checking if data corresponding to request
> parameters from screen is existing in some entity or not
>
> -  If data is not preset in that entity, I wish display "error
> message" on the output screen which is mapped to response type "error"
>
> My question here is that how do I pass a message (e.g. "No data for this
> empl id ...") from groovy file to the next xml screen corresponding to
> "error" response
>
> (Similar to as we do in Java service of ofbiz. Using
> ServiceUtil.returnError("type ur msg here") )
>
> What things I need to write in groovy and XML file ?
>
>
>
> Thanks & Regards,
> Swapnil Sawant
>
>
> 
> This Email may contain confidential or privileged information for the
> intended recipient (s) If you are not the intended recipient, please do not
> use or disseminate the information, notify the sender and delete it from
> your system.
>
> __


Re: how to make myself good at ofbiz

2010-08-12 Thread Ravindra Mandre
Hello Ayush ,
Its really great that you have chosen OFBiz as you major project for
training , and as you mentioned that you are getting training under hotwax
media corp. so , I would suggest you to go through the basic PRACTICE
APPLICATION and watch the video's of ofbiz that are available on
documentation page.


https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Tutorial+-+A+Beginners+Development+Guide


Regards
Ravindra Mandre



On Thu, Aug 12, 2010 at 9:47 AM, Aayush  wrote:

>
> i am a student of engineering in computer science branch 
> i'v a decent knowledge of core java and servelet, JDBC and JSP ...
> rite now m taking training under an employee of hot-wax media corp..
> and im planning to make my major project in ofbiz itself ...
> but m having a doubt that i wud be able to make sucessfull project on this
> or not ??
> m not doubting OFBiz ...rather m challanging myself ...
> i'v time of around an year ...i'v a group of 5 people and of which only 2
> of
> us are taking training ...
> but we wud be teaching the rest of them whatever is coming to us ...
>
> rite now we'v understood how a request has to be traced ...so m able to
> reach upto the desired code location ..but rite now we'r unable to
> understand the services (business logics) ...we wud surely be working on
> that we'v implemented the hello1, hello2 and hello3 applications
> available on the tutorials available on net so now we know which
> package
> containes which files and what are their purpose ...
>
> so what do u think wud be a good idea to proceed further in the learning
> process of ofbiz
>
> and what wud be a good idea to make a project on ?
>  please rply sooon ..
> --
> View this message in context:
> http://ofbiz.135035.n4.nabble.com/how-to-make-myself-good-at-ofbiz-tp2322188p2322188.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>


Re: how to fetch records from two entities

2010-08-10 Thread Ravindra Mandre
Hi,
You can also do this in xml using entity condition , and get related tags .


Ravi


Re: Dummy account and card no. to check Paypal settings ?

2010-08-04 Thread Ravindra Mandre
Thanks BJ


Regards
Ravindra Mandre

On Wed, Aug 4, 2010 at 5:33 PM, BJ Freeman  wrote:

> your create your own.
> https://developer.paypal.com/
>
> Ravindra Mandre sent the following on 8/4/2010 3:53 AM:
>
>  Hi all,
>> Do we have any dummy account and card number by which we can check the
>> paypal settings , for testing purpose ?
>>
>>
>> Regards
>> Ravindra Mandre
>> Bangalore
>>
>>


Dummy account and card no. to check Paypal settings ?

2010-08-04 Thread Ravindra Mandre
Hi all,
Do we have any dummy account and card number by which we can check the
paypal settings , for testing purpose ?


Regards
Ravindra Mandre
Bangalore


Re: Form widget validation

2010-07-27 Thread Ravindra Mandre
Hello Prashanthi ,
you have to include validation.js file which is in prototypejs folder in
framework. this file generally included in main decorator of customize
component.
take reference from CommonScreens.xml of ecommerce component.

HTH

Regards
Ravindra Mandre


Re: Form widget validation

2010-07-27 Thread Ravindra Mandre
Thanks scott for comments , but as I generally used that form id is used in
*.js file, we use form name at one or two places where we want to validate
the form.
and yes If it is fixed in framework then its great.

Regards
Ravindra Mandre

On Tue, Jul 27, 2010 at 4:14 PM, Scott Gray wrote:

> We need to fix this in the framework at some point.  A form's name
> attribute and its id attribute should never differ, id is really a
> replacement for name and it should be used in place of it IMO.
>
> Regards
> Scott
>
> HotWax Media
> http://www.hotwaxmedia.com
>
> On 27/07/2010, at 10:35 PM, Ravindra Mandre wrote:
>
> > Hello Prashanthi,
> > Please read comments inline
> >
> > On Tue, Jul 27, 2010 at 3:33 PM, prasanthi_ofbiz <
> > prasanthi.sreeramjammise...@tcs.com> wrote:
> >
> >>
> >> Hi Varun
> >> I want to validate voucherReference field. So I have applied
> >> widget-style to validate-number in the form. Code for validate-number is
> >> already exists in the validation.js file . Still its not validating the
> >> field.
> >> You can check my form code and the validation field is in bold.
> >>
> >>
> >>  >
> >
> > id="createAcctgTrans"
> >
> >
> > type="single" target="createAcctgTrans"
> >>   header-row-style="header-row" default-table-style="basic-table">
> >>   
> >>   
> >>   
> >>   
> >>>> value="${organizationPartyId}"/>
> >>   
> >>   
> >>>> description="${description}">
> >>>> env-name="isInactive"/>
> >>   
> >>   
> >>   
> >>   
> >>>> size="30"/>
> >>
> >
> > field name="voucherRef" widget-style="validate-number"
> > event="onchange"  action="
> > javascript: new Validation('createAcctgTrans',  {immediate:
> > true,onSubmit:true}); ">
> >
> >
> >
> > Regards
> > Ravindra Mandre
> > Bangalore
> >
> >
> >
> >>   
> >>   
> >>>> description="${description}" key-field-name="glFiscalTypeId">
> >>   
> >>   
> >>   
> >>   
> >>   
> >>   
> >>>> description="${description}" key-field-name="statusId">
> >>operator="equals"
> >> value="ACCTG_ENREC_STATUS"/>
> >>   
> >>   
> >>   
> >>   
> >>   
> >>   
> >>>> description="${fixedAssetId}">
> >>   
> >>   
> >>   
> >>   
> >>   
> >>>> maxlength="20"/>
> >>   
> >>   
> >>>> maxlength="20"/>
> >>   
> >>   
> >>>> maxlength="20" default-value="${parameters.organizationId}"/>
> >>   
> >>
> >>   
> >>   
> >>>> description="${description}">
> >>>> operator="not-equals"
> >> env-name="isInactive"/>
> >>   
> >>   
> >>   
> >>   
> >>   
> >>>> maxlength="20"/>
> >>   
> >>>> button-type="button"/>
> >>   
> >>
> >> Regards
> >> Prasanthi
> >> --
> >> View this message in context:
> >>
> http://ofbiz.135035.n4.nabble.com/Form-widget-validation-tp2234816p2303395.html
> >> Sent from the OFBiz - User mailing list archive at Nabble.com.
> >>
>
>


Re: Form widget validation

2010-07-27 Thread Ravindra Mandre
Hello Prashanthi,
Please read comments inline

On Tue, Jul 27, 2010 at 3:33 PM, prasanthi_ofbiz <
prasanthi.sreeramjammise...@tcs.com> wrote:

>
> Hi Varun
>  I want to validate voucherReference field. So I have applied
> widget-style to validate-number in the form. Code for validate-number is
> already exists in the validation.js file . Still its not validating the
> field.
> You can check my form code and the validation field is in bold.
>
>
> header-row-style="header-row" default-table-style="basic-table">
>
>
>
>
> value="${organizationPartyId}"/>
>
>
> description="${description}">
> env-name="isInactive"/>
>
>
>
>
> size="30"/>
>

field name="voucherRef" widget-style="validate-number"
event="onchange"  action="
javascript: new Validation('createAcctgTrans',  {immediate:
true,onSubmit:true}); ">



Regards
Ravindra Mandre
Bangalore



>
>
> description="${description}" key-field-name="glFiscalTypeId">
>
>
>
>
>
>
> description="${description}" key-field-name="statusId">
> value="ACCTG_ENREC_STATUS"/>
>
>
>
>
>
>
> description="${fixedAssetId}">
>
>
>
>
>
> maxlength="20"/>
>
>
> maxlength="20"/>
>
>
> maxlength="20" default-value="${parameters.organizationId}"/>
>
>
>
>
> description="${description}">
> operator="not-equals"
> env-name="isInactive"/>
>
>
>
>
>
> maxlength="20"/>
>
> button-type="button"/>
>
>
> Regards
> Prasanthi
> --
> View this message in context:
> http://ofbiz.135035.n4.nabble.com/Form-widget-validation-tp2234816p2303395.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>


Re: populate the drop down field with values from another field

2010-07-22 Thread Ravindra Mandre
Hi,
please read comment inline

On Wed, Jul 21, 2010 at 3:56 PM, Deepika1234  wrote:

>
> I have created a new entity in entitymodel.xml having the following
> fields:-
>
> package-name="org.ofbiz.product.product"
>title="Weightage Entity">
>  
>  
>   
>  
> 
>
> In Shipping Forms.xml i have given the following
> header-row-style="header-row" default-table-style="basic-table">
>
>
> title="Merchant Name" >
>
>
> description="${brandName}">
>
>
>
>
>   
>
>
> widget-style="smallSubmit">
>
>
>
> What i want is that i want tht field TypeName to be populated with values
> of
> brandName of product entity.When the user chooses a brandName from the
> dropdown it will get saved in the typeName of Weightageaccord entity along
> with TypeId and Weightage.
>
> Thus, my question is is it possible to populate the drop down field with
> values from another field , so that the end user can choose values from it
> and submit it, which will be stored in the db along with the other fields
> in
> the table .Please help me
> --
> View this message in context:
> http://ofbiz.135035.n4.nabble.com/populate-the-drop-down-field-with-values-from-another-field-tp2296885p2296885.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>


Re: Question on ofbiz seca

2010-07-20 Thread Ravindra Mandre
Please dont put the same question with different names ;-)

Ravi

On Mon, Jul 19, 2010 at 2:39 PM, Pradipta Ghosh  wrote:

> Hi.
> I am facing issues with atrribute result-map-name in my SECA definition
>
> Listed below is the scenario i am trying to implement
>
> Service definitions -
>
>  invoke="functionName1">
> 
> 
> 
>
>  invoke="functionName2">
> 
> 
> 
> 
> 
> 
>
> SECA definition -
>
> 
>  result-map-name="result"/>
> 
> 
>
> The problem -
> For each invocation of service "CA", same result map "result" remains the
> same until & unless server is restarted. Is there any thing wrong with the
> SECA definition ?
>
> Also, Is there any way to set a field name as null in SECA set tags -
> I've tried with  but this does not
> set attribute1 to empty string
>
> Thanks..
>


Re: how to display 3 products in a row

2010-07-08 Thread Ravindra Mandre
Hi,
You have to make some changes in productsummary.ftl  file. hope this hint
will work for you


Regards
Ravindra Mandre

On Thu, Jul 8, 2010 at 12:58 PM, hdv  wrote:

>
> hi
> I am new to ofbiz.when I am trying to search any keyword in keywordsearch
> box,the result shows one product in a row.But I want 3 products in a row.
> So can anybody help me out in this case.what changes should i do in this
> case?
> I have tried using css but it doesn't work.
> --
> View this message in context:
> http://ofbiz.135035.n4.nabble.com/how-to-display-3-products-in-a-row-tp2281930p2281930.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>


Re: beginners question

2010-07-07 Thread Ravindra Mandre
Hi ,
To get the tags follow this
https://cwiki.apache.org/confluence/display/OFBIZ/Mini-Language+Guide#Mini-LanguageGuide-smap


Regards
Ravindra Mandre
Bangalore

On Wed, Jul 7, 2010 at 1:03 PM, soumya jyoti guru wrote:

> Hi all,
>   While writing services, I found that I am writing it similarly
> as if i am writing a class.So as a beginner i would like to know that
> do we need to create any object to make this services work?
>Do this services work similar to class and if they work
> similar than how and, if not than how they work?I would be very
> helpful if somebody shows me the flow with some simple codes and
> explaining the necessary tags.
> with regards
> Soumya
>


Re: Adding new field for existing search

2010-07-07 Thread Ravindra Mandre
On Tue, Jul 6, 2010 at 2:51 PM, prasanthi_ofbiz <
prasanthi.sreeramjammise...@tcs.com> wrote:

>
> Hi Ravindra,
>  Please the check the logger. If I added  voucher Date in
> condition-expr. While framing the sequal query in EntityFinderUtil.java
>  its
> not able to get modelField value .
> Please let me know the which service it is calling.
>
>
>
Hi,
You have to add this field voucherDate into AcctgTransAndEntries entity ( or
any one of the entity  from five) so that this field can be passed to table
in condition expression .
and for making list here entity-condition is used , which take argument as
listed into EntityFinderUtil.java 's ConditionExpr class. if voucherDate is
coming as a null then you can use the " ignore-if-null " sub element . in
this case you will not get the nullPointer error.
and it uses method for searching .

HTH

Ravindra Mandre


Re: how to encrypt password for UserLogin?

2010-07-06 Thread Ravindra Mandre
You have to look into LoginServices.java, there is HashCrypt class that can
help you.

HTH

Regards
Ravindra Mandre

On Tue, Jul 6, 2010 at 10:25 PM, Patrick wrote:

> I'm having trouble finding the encryption code for the UserLogin
> password fields.  Can someone tell me how to do it with Java?
>


Re: Adding new field for existing search

2010-06-23 Thread Ravindra Mandre
On Wed, Jun 23, 2010 at 7:35 PM, prasanthi_ofbiz <
prasanthi.sreeramjammise...@tcs.com> wrote:

>
> Dear BJ,
> I have not done such changes. If i remove voucher Date from condition-expr
> its working fine.
> Piece of code written in bold is newly added by me in GlForms.xml
>  list-name="acctgTransList"
>odd-row-style="alternate-row" default-table-style="basic-table
> hover-bar">
>
> list="acctgTransList" distinct="true">
>
> operator="equals" from-field="organizationPartyId"/>
>
> operator="equals" from-field="parameters.voucherDate"
> ignore-if-empty="true"/>
>

you are adding here a condition for filtering the list , Is this
(voucherDate) is a field of your entity ???


Ravi




> operator="equals" from-field="parameters.acctgTransTypeId"
> ignore-if-empty="true"/>
> operator="equals" from-field="parameters.glFiscalTypeId"
> ignore-if-empty="true"/>
> operator="equals" from-field="parameters.glJournalId"
> ignore-if-empty="true"/>
> from-field="parameters.isPosted" ignore-if-empty="true"/>
> from-field="parameters.invoiceId" ignore-if-empty="true"/>
> from-field="parameters.paymentId" ignore-if-empty="true"/>
> from-field="parameters.productIdOrServiceId" ignore-if-empty="true"/>
>
> operator="equals" from-field="parameters.workEffortId"
> ignore-if-empty="true"/>
>
> operator="equals" from-field="parameters.shipmentId"
> ignore-if-empty="true"/>
> operator="equals" from-field="parameters.acctgTransId"
> ignore-if-empty="true"/>
> operator="greater-equals" from-field="parameters.fromDate"
> ignore-if-empty="true"/>
> operator="less" from-field="parameters.thruDate" ignore-if-empty="true"/>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> target="EditAcctgTrans">
>
>
>
>
>
> entity-name="AcctgTransType" description="${description}"/>
> entity-name="GlFiscalType" description="${description}"/>
> widget-style="buttontext">
> target="editInvoice">
>
>
>
> use-when="invoiceId==null">
> widget-style="buttontext">
> target="editPayment">
>
>
>
> use-when="paymentId==null">
> widget-style="buttontext">
> target="/workeffort/control/EditWorkEffort" target-type="inter-app">
>
>
>
> use-when="workEffortId==null">
> widget-style="buttontext">
> target="/facility/control/EditShipment" target-type="inter-app">
>
>
>
> use-when="shipmentId==null">
> 
>
>
> use-when=""N".equals(isPosted)" widget-style="buttontext">
> description="${uiLabelMap.AccountingPostTransaction}">
>
>
>
> use-when="!"N".equals(isPosted)">
>
> --
> View this message in context:
> http://ofbiz.135035.n4.nabble.com/Adding-new-field-for-existing-search-tp2265556p2265654.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>


Re: validations in ofbiz

2010-06-23 Thread Ravindra Mandre
Hello Prasanthi,

For validations you can refer validation.js file in which you will find the
classes for your suitable purpose like validate-number, validate-alpha etc.


hope that helps you

Ravindra Mandre

On Wed, Jun 23, 2010 at 7:25 PM, prasanthi_ofbiz <
prasanthi.sreeramjammise...@tcs.com> wrote:

>
> Hi
>   How to validate the fields in the ofbiz application. Like specific field
> should accept only characters or only numeric etc...
> Ex. Account Name should allow only characters.
>
> Regards
> Prasanthi
> --
> View this message in context:
> http://ofbiz.135035.n4.nabble.com/validations-in-ofbiz-tp2265642p2265642.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>


Re: beanshell and ftl

2010-06-18 Thread Ravindra Mandre
Please provide some more information abt your problem , what result do you
want to get in ftl.

Regards
Ravindra Mandre

On Fri, Jun 18, 2010 at 5:02 PM, siimo  wrote:

>
> my problem is that i can't receive the result of the beanshell in my ftl
> page.could you please help me
> --
> View this message in context:
> http://ofbiz.135035.n4.nabble.com/beanshell-and-ftl-tp2260058p2260058.html
> Sent from the OFBiz - Dev mailing list archive at Nabble.com.
>


Re: Regarding Entity

2010-06-18 Thread Ravindra Mandre
Hello,
For this purpose you can use .



Regards
Ravindra Mandre

On Fri, Jun 18, 2010 at 7:52 PM, Naveen Kumar wrote:

> Hi All,
>
> I am new to ofbiz, can any one please tell me how to get return values
> using
> minilang that will be assigned to OUT in services.
>
> Regards,
>
> Naveen.
>


Re: displaying USA state from QuickCheckout and Creating an account

2010-06-11 Thread Ravindra Mandre
Hi,
for this you have to take a look at the code of onePageCheckout , in step 2
,where state list comes on selecting the country. Same thing can be reused
for your purpose.


HTH


Regards
Ravindra Mandre

On Sat, Jun 12, 2010 at 2:48 AM, HyunWoo Jo  wrote:

> hello,
>
> what is the best way to just display USA state only in Quickcheck out and
> creating an account page?
>
> when i create a new user or test Anonymous Quick checkout, state/prov shows
> more than US' states.
>
> shouldn't it show only US states when US was selected as country?
>
> thank you in advance.
>
> hyun
>
>
>


Re: Form widget validation

2010-06-11 Thread Ravindra Mandre
 Hi Jacques,
I tried the same trick that you added in FAQ but , we also have to add some
more elements here
like : for making validation for firstName which takes only letters


   


but Here the problem is that when I click on the submit button , It works
fine for backend means If I added this code for partymgr then there is no
problem while I am using the same form for front end , the submit button
gets disappear. not able to get the whats the reason behind it.


Regards
Ravindra Mandre



On Tue, Jun 1, 2010 at 3:45 PM, Jacques Le Roux <
jacques.le.r...@les7arts.com> wrote:

> Right, done!
>
>
> Jacques
>
> From: "Atul Vani" 
>
>> Hi Jacques,
>>
>> Please modify the FAQ and replace 'formName' with 'formId'. It would be
>> clearer that way.
>>
>> Thanks :)
>>
>> --
>> Thanks & Regards
>> Atul Vani
>> Enterprise Software Developer
>> HotWax Media Pvt. Ltd.
>> http://www.hotwaxmedia.com/
>> We are the Global Leaders in Apache OFBiz, Google 'ofbiz' and see for
>> yourself.
>>
>>
>> Jacques Le Roux wrote:
>>
>>> Finally I put back your code Atul: safer indeed!
>>>
>>> Jacques
>>>
>>> From: "Atul Vani" 
>>>
>>>> Hello Varun,
>>>>
>>>> no wonder this code is simple and correct,
>>>>
>>>> just wanted to tell you that we do take some safety measures before
>>>> writing such code,
>>>> for example,
>>>> before using $('foo') we should make sure if it even exists
>>>> or else the whole script won't load,
>>>> we do that by if($('foo')){...}
>>>>
>>>> also, we need to make sure that if our script uses any element on the
>>>> page
>>>> then it should execute after the element has been loaded
>>>> and we use Event.observe('window', 'load', function(){...})
>>>>
>>>> i hope this info be helpful to you.
>>>>
>>>> --
>>>> Thanks & Regards
>>>> Atul Vani
>>>> Enterprise Software Developer
>>>> HotWax Media Pvt. Ltd.
>>>> http://www.hotwaxmedia.com/
>>>> We are the Global Leaders in Apache OFBiz, Google 'ofbiz' and see for
>>>> yourself.
>>>>
>>>>
>>>> Varun Bhansaly wrote:
>>>>
>>>>> Hi,
>>>>> Step 1 could be simplified as
>>>>> 
>>>>>  new Validation('form-id');
>>>>> 
>>>>>
>>>>> Step 2 remains the same, Some tweaks are required while showing
>>>>> validation msgs for lookup widgets.
>>>>>
>>>>> Thanks,
>>>>>
>>>>>
>>>>
>>>>
>>>
>>
>


Re: Search result table Rows max length Specification

2010-05-21 Thread Ravindra Mandre
Hi Prasanthi,
Good to hear that you solved , I would suggest that you should document
these issues for future .


Ravindra Mandre

On Fri, May 21, 2010 at 12:48 PM, prasanthi_ofbiz <
prasanthi.sreeramjammise...@tcs.com> wrote:

>
> Hi Ravindra,
> I got the solution. viewSize value is always  taking from defaultViewSize
> which isin the ModelForm.java. There directly i have checked with the
> screen
> name and set that value to 100.
> Regards,
> Prasanthi
> --
> View this message in context:
> http://ofbiz.135035.n4.nabble.com/Search-result-table-Rows-max-length-Specification-tp2224142p2225706.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>


Re: About OFbiz deployment in JBoss 5.1.0

2010-05-21 Thread Ravindra Mandre
On Fri, May 21, 2010 at 12:07 PM, vignesh sabapathi <
vignesh.sabapa...@tcs.com> wrote:

>
> Dear BJ Freeman
>
> I have gone through your link and i couldnt find any option to add new page
> even after loging in to it. Could you please help me out
>
> Thanks in advance
>
> Vignesh Sabapathi
>
> hi vignesh
 following link is working
https://cwiki.apache.org/confluence/dashboard.action
login here and you will find , on right top corner there are two links named
"Add Page" and "Add Blog Post" ,so you can add on add page ,your
contribution .


Hope that help you.

Ravindra Mandre






>
>
> --
> View this message in context:
> http://ofbiz.135035.n4.nabble.com/About-OFbiz-deployment-in-JBoss-5-1-0-tp2224743p2225669.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>


Re: About OFbiz deployment in JBoss 5.1.0

2010-05-20 Thread Ravindra Mandre
good efforts ,

Ravinda


On Thu, May 20, 2010 at 9:06 PM, vignesh sabapathi <
vignesh.sabapa...@tcs.com> wrote:

>
> Hello fellow ofbizers
>
> I have deployed OFBiz release 9.04 on JBoss 5.1.0. I have seen in forums
> some of the members already tried it out and commented on some issues in
> deployment. There are few issues which i resolved in making the deployment
> to work.So i Made a document on step by step doing the deployment. I just
> want to know how can i make it available as a document in OFBiz docs site.
> As earlier My work on clustering multiple ofbiz instances on tomcat was
> posted in physical architecture pattern page by some members .It is
> available under
>
> https://cwiki.apache.org/confluence/display/OFBIZ/Physical+Architecture+patterns+for+OFBiz
>
> I want to add my work over here. If someone helped me out it will be great
>
> Thanks in advance.
>
> --
> View this message in context:
> http://ofbiz.135035.n4.nabble.com/About-OFbiz-deployment-in-JBoss-5-1-0-tp2224743p2224743.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>


Re: Search result table Rows max length Specification

2010-05-20 Thread Ravindra Mandre
On Thu, May 20, 2010 at 6:15 PM, prasanthi_ofbiz <
prasanthi.sreeramjammise...@tcs.com> wrote:

>
> Hello Ravindra,
> Thanks for your suggestion.
> Yeah I want to customization at screen level i.e; for Trial Balance Report.
> I changed in the screen like instead of using fron-field for viewSize I
> specified value ad '100' but its not working.
>
>  default-value="0"/>
>  
>
> I am not sure why its not working for 1000 , but I suggest you should try
with small values or may be the case that on one page of report 1000 records
are not able to display. or you may try setting this {parameters.VIEW_INDEX
} field in ftl . see the categorydetail.ftl for reference.


HTH

Ravindra




> Please tell me what's the problem.
>
> Regards,
> Prasanthi
> --
> View this message in context:
> http://ofbiz.135035.n4.nabble.com/Search-result-table-Rows-max-length-Specification-tp2224142p2224462.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>


Re: Search result table Rows max length Specification

2010-05-20 Thread Ravindra Mandre
hi,
If you want to change this globally then , this setting is done in
widget.properties file, and if you want to customize at screen level then
you have to set viewIndex and viewSize fields. and set their default value.

HTH

Ravindra Mandre
Bangalore


On Thu, May 20, 2010 at 2:30 PM, prasanthi_ofbiz <
prasanthi.sreeramjammise...@tcs.com> wrote:

>
> Hi,
> In the "Trial Balance" report each page displaying 20 rows at a time. Where
> this max row size is mentioned . I think its a global specification. Can I
> customize it? While printing I need all records in a single screen.Not like
> in Global GL Setting--> List Accounts Print
>
> Regards,
> Prasanthi
> --
> View this message in context:
> http://ofbiz.135035.n4.nabble.com/Search-result-table-Rows-max-length-Specification-tp2224142p2224142.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>


how to assign a request to a specified party

2010-05-17 Thread Ravindra Mandre
hi all,
I wanted to know that how can I assign a request (looked into Order
component's Request tab) to a other party if I logged in as admin. and also
want to know that is there a mechanism exists through which I can make
relationship among request , workEffort and party(not logged in party) .

Thanks in advance

Ravindra Mandre
Bangalore


Form that gives output as PDF or in other output

2010-05-12 Thread Ravindra Mandre
Hi,
I wanted to know that in OFBiz we have some feature like that we can take
output of a form (for example ListEmployeeSkills of EmployeeForms.xml) as a
PDF without using the .fo.ftl .
Can we use the same form for showing output and doing some changes in
mapping by changing its mime type to pdf or other , so that same form can be
used for pdf output.
currently we have to write a .fo.ftl.
any other idea , much appreciated


Regards
Ravindra Mandre


Re: category name instead category id

2010-05-05 Thread Ravindra Mandre
you can pass categoryId and then show category name 
 (if you are using form widget)  or
${listVariableName.get("fieldName",locale)}
if you are using ftl



HTH

Regards
Ravindra Mandre

On Wed, May 5, 2010 at 1:16 PM, swetha <
swapna.dond...@palindromesoftware.com> wrote:

>
> Hi,
>   I need to pass category name instead of category Id. In my application
> category Id is primary key. when i passed categoryname and send a request,
> it is giving error like "Category not found for Category ID !"
>
> Can u give an idea how to hide categoryId and have to display category
> name.
>
> --
> View this message in context:
> http://ofbiz.135035.n4.nabble.com/category-name-instead-category-id-tp2130570p2130570.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>


Re: Seed Data Load very slow in Ubuntu 10.04

2010-05-03 Thread Ravindra Mandre
I am also facing the same problem that Kranti reported above.
I also using Ubuntu 10.04.

Regards
Ravindra Mandre

On Mon, May 3, 2010 at 2:17 PM, Jonatan Soto wrote:

> I am using Ubuntu 9.10 with ext4 and it works great.
>
> On Mon, May 3, 2010 at 10:42 AM, Kranti Agrawal  >wrote:
>
> > Hi,
> >
> > I installed Ubuntu 10.04 LTS yesterday with ext4 as the default file
> > system.
> > The seed data load is very very slow. It takes around 30 mins to load.
> > In ubuntu 8.04 LTS, it took around 2-3 mins max.
> > Is it due to the ext4 file system? or anything else?
> >
> > Regards,
> > Kranti Agrawal
> > Student, IIIT Bangalore
> > krantiagrawal.blogspot.com
> >
>


Re: Ecommerce trunk is broken

2010-04-14 Thread Ravindra Mandre
Thank you very much Jacques.

Regards
Ravindra Mandre


Re: Ecommerce trunk is broken

2010-04-13 Thread Ravindra Mandre
The above error can be recreated by the following steps
go there
http://demo-trunk.ofbiz.apache.org:8080/ecommerce

then select demo catalog
click on browse category for widget , then you reaches to above error. if
further you click on Large/Small Widget then again gives the above error.

Regards
Ravindra Mandre


Ecommerce trunk is broken

2010-04-07 Thread Ravindra Mandre
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97) at
org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:101)
at
org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:840)
at
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:559)
at org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:227) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
at
org.ofbiz.product.category.CatalogUrlServlet.doGet(CatalogUrlServlet.java:146)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:267)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619) Caused by:
java.lang.UnsupportedOperationException at
javolution.util.FastCollection.add(FastCollection.java:169) at
org.ofbiz.product.category.CategoryWorker.adjustTrail(CategoryWorker.java:300)
at
org.ofbiz.product.category.CatalogUrlServlet.makeCatalogUrl(CatalogUrlServlet.java:167)
at sun.reflect.GeneratedMethodAccessor157.invoke(Unknown Source) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597) at
freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:840) at
freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:106) ...
92 more





Regards
Ravindra Mandre


Re: Apache sold to Oracle for $1.5 Billion

2010-04-04 Thread Ravindra Mandre
Yes, That's the advantage of open source , we can have milk for free :-)

Ravindra


Re: Debugging ofbiz with JBoss in eclipse gyanemede

2010-04-01 Thread Ravindra Mandre
Hi,
looking to the details that you provided it seems that you are using a old
one war file for accounting, ar,ap . Please check your settings , build path
and then compile again. if you get some different error then post .

HTH

Ravindra Mandre


Re: FREE - OFBIz Manufacturing and MRP ebook

2010-03-26 Thread Ravindra Mandre
Thanks for sharing this.

Regards
Ravindra Mandre


Re: groovy code completion

2010-03-09 Thread Ravindra Mandre
Yes, these works on other groovy projects too. I am working on Ubuntu.

Ravindra

On Tue, Mar 9, 2010 at 8:05 PM, Christopher Snow <
sno...@snowconsulting.co.uk> wrote:

> Does the plugin work with other groovy projects?
>
> What operating system are you using?  The groovy plugin doesn't work for
> example with the ubuntu supplied eclipse.
>
>
> Ravindra Mandre wrote:
>
>> Using its plug-in may solve your problem.
>>
>> Ravindra
>>
>>
>> On Tue, Mar 9, 2010 at 8:21 AM, zhiyongcui  wrote:
>>
>>
>>
>>> Why my groovy code completion is disabled in ofbiz project?
>>> The IDE I used is eclipse 3.5.
>>> --
>>> View this message in context:
>>> http://n4.nabble.com/groovy-code-completion-tp1585483p1585483.html
>>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>>
>>>
>>>
>>
>>
>>
>
>


Re: groovy code completion

2010-03-09 Thread Ravindra Mandre
Using its plug-in may solve your problem.

Ravindra


On Tue, Mar 9, 2010 at 8:21 AM, zhiyongcui  wrote:

>
> Why my groovy code completion is disabled in ofbiz project?
> The IDE I used is eclipse 3.5.
> --
> View this message in context:
> http://n4.nabble.com/groovy-code-completion-tp1585483p1585483.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>


Re: Beginner in ofbiz

2010-03-02 Thread Ravindra Mandre
hi,
take a look over here , may this can help you
https://ofbiz-vm.apache.org/sfa/control/main


Re: Now Practice Application will also teach you, how to write ajax request using prototype library in OFBiz

2010-02-28 Thread Ravindra Mandre
Really great work done by these guys.
Thanks Arun ,Divesh and Rishi for your work.



Regards
Ravindra Mandre


Re: getting problem to fetch idValue field on ftl

2010-02-22 Thread Ravindra Mandre
Thanks Awdesh for your help .

Regards
Ravindra Mandre

On Mon, Feb 22, 2010 at 6:33 PM, Awdesh Parihar wrote:

> Ravindra,
>
> If you see findParty service in detail  then you will find that there is no
> relation created with entity "PartyIdentification" in dynamic view entity ,
> if you want to list IdValue then you have to first create relation b/w
> entities and then retrieve data accordingly
>
> --
> Thanks & Regards
> Awdesh Singh Parihar
> Hotwax Media
> http://www.hotwaxmedia.com
> awdesh.pari...@hotwaxmedia.com
> -
> direct: +91 - 989.335.1789
>


getting problem to fetch idValue field on ftl

2010-02-22 Thread Ravindra Mandre
Hi list,
i am working on customising the find party screen and trying to list
idValues present in PartyIdentification table just like how party area code,
party types etc are listed. In partservices.java to list areacode, they have
used *dynamicView.addMemberEntity("TM", "TelecomNumber");* and to show that
they have used in findparty.ftl this:* partyRow.areaCode*

But I am not getting printed on my customize ftl file. any  help is much
appreciated.

Regards,
Ravindra Mandre


Re: Unable to access Webtools

2009-09-21 Thread Ravindra Mandre
Hello nitin ,
Try to login in other components like party. then follow the ant tasks and
try to navigate on webtools.
hope that helps


Regards
Ravindra Mandre
Indore
cell : +91 93000 23686


Re: Hello World 2 Application error

2009-06-29 Thread Ravindra Mandre
Hi Beejal,
For fast learning you can also wash your hand on this
http://docs.ofbiz.org/display/OFBIZ/OFBiz+Beginners+Development+Guide+Using+Practice+Application+%28Hello+World...%29


Hope that help for you for learning fast

Regards
Ravindra Mandre


On 6/24/09, Beejal Kamdar  wrote:
>
>
> Hi,
>
> I am new to Ofbiz and trying to run the tutorial applications.
> I am getting an error when try to run the Hello World 2 application.
>
>
> The error message is :
> java.net.MalformedURLException: Could not get root location for component
> with name [hello2], error was:
> org.ofbiz.base.component.ComponentException: No component found named :
> hello2
>
> Following is the code in the controller.xml, HelloScreens.xml and
> ofbiz-component.xml
>
> controller.xml
>
> 
> http://www.w3.org/2001/XMLSchema-instance";
>   xsi:noNamespaceSchemaLocation="
> http://ofbiz.apache.org/dtds/site-conf.xsd";>
>location="component://common/webcommon/WEB-INF/common-controller.xml"/>
>   Practice Component Site Configuration File
>   Copyright 2001-2008 The Apache Software Foundation
>
>class="org.ofbiz.widget.screen.ScreenWidgetViewHandler"/>
>
>   
>   
>   
>   
>   
>   
>   
>page="component://hello2/widget/HelloScreens.xml#main"/>
>   
> 
>
>
>
>
> HelloScreens.xml
>
> 
>
>  http://www.ofbiz.org/dtds/widget-screen.dtd";>
>
> 
>
>
>
>
>
>
>
>  location="component://hello2/webapp/hello2/includes/header.ftl"
> />
>
>  location="component://hello2/webapp/hello2/main.ftl"
> />
>
>  location="component://hello2/webapp/hello2/includes/footer.ftl"
> />
>
>
>
>
>
>
>
> 
>
>
>
> ofbiz-component.xml
>
> 
>
>xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>   xsi:noNamespaceSchemaLocation="
> http://ofbiz.apache.org/dtds/ofbiz-component.xsd";>
>  
>   title="Hello2 Application"
>   server="default-server"
>   base-permission="OFBTOOLS"
>   location="webapp/hello2"
>   mount-point="/hello2"
>   app-bar-display="false"/>
> 
>
>
> Please help.
>
>
> Thanks,
> Beejal
>
>
>
>


Re: webtools homepage problems

2009-06-29 Thread Ravindra Mandre
Hi,
Try this with partymgr componant then navigate to webtools ,
HTH


Regards
Ravindra Mandre


On 6/29/09, Vadiraj  wrote:
>
> Hi Experts,
>
> I am trying to deploy OFBiz onto Glassfish server. While in that, the
> webtools page does not show up the 'login' link and the (I guess) the entire
> header is absent. The other demo sites, ecommerce and catalog apps work just
> fine..
>
> Any help is most appriciated.
>
> Thanks,
> -Vadiraj.
>


Re: Errors on CRUD operations

2009-06-05 Thread Ravindra Mandre

Hi Prashanth ,
A quick solution for you to find out the attached zip file of practice 
and match code with that and find out where you doing wrong.

http://docs.ofbiz.org/pages/viewpageattachments.action?pageId=4432

Regards
Ravindra Mandre

jillas wrote:

Hi Ravindra

Please find ofbiz-component.xml below:


http://www.w3.org/2001/XMLSchema-instance";
  
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-component.xsd";>

  
  
  
  
  
  
  
  
  





Ravindra Mandre wrote:
  

Hi Prashanth ,
controller.xml entries are look fine , but I suggest you to again go 
through the part 3 of this tutorial  and make sure you make entry in 
ofbiz-component.xml for service.

hope that help

Regards
Ravindra Mandre

jillas wrote:


Hi Ravindra

  Please find the controller.xml below, and let me know any
modifications in it.


   
   



















Thanks & Regards
Prashanth Jilla




Ravindra Mandre wrote:
  
  

jillas wrote:



Hi

   I am new to ofbiz, I am practicing CRUD operations from the
tutorial.
While creation I am getting an error as below:
org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen
[component://common/widget/CommonScreens.xml#GlobalDecorator]:
java.lang.RuntimeException: Error rendering included form named
[main-decorator] at location
[component://practice/widget/PracticeForms.xml]:
java.lang.NullPointerException (Error rendering included form named
[main-decorator] at location
[component://practice/widget/PracticeForms.xml]:
java.lang.NullPointerException)

  
  
  
could you please post your controller.xml entry for calling update 
service and form in which you are making update operation.



Regards
Ravindra Mandre



And on updation I am getting an error as below:
org.ofbiz.webapp.event.EventHandlerException: Service invocation error
(Could not find SimpleMethod XML document in resource:
component://practice/script/org/hotwax/practice/PracticeServices.xml)

Please let me know how to solve this erors.



Thanks & Regards
Prashanth Jilla
  
  
  


  
  



  


Re: Errors on CRUD operations

2009-06-05 Thread Ravindra Mandre

Hi Prashanth ,
A quick solution for you to find out the attached zip file of practice 
and match code with that and find out where you doing wrong.


Regards
Ravindra Mandre

jillas wrote:

Hi Ravindra

Please find ofbiz-component.xml below:


http://www.w3.org/2001/XMLSchema-instance";
  
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-component.xsd";>

  
  
  
  
  
  
  
  
  





Ravindra Mandre wrote:
  

Hi Prashanth ,
controller.xml entries are look fine , but I suggest you to again go 
through the part 3 of this tutorial  and make sure you make entry in 
ofbiz-component.xml for service.

hope that help

Regards
Ravindra Mandre

jillas wrote:


Hi Ravindra

  Please find the controller.xml below, and let me know any
modifications in it.


   
   



















Thanks & Regards
Prashanth Jilla




Ravindra Mandre wrote:
  
  

jillas wrote:



Hi

   I am new to ofbiz, I am practicing CRUD operations from the
tutorial.
While creation I am getting an error as below:
org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen
[component://common/widget/CommonScreens.xml#GlobalDecorator]:
java.lang.RuntimeException: Error rendering included form named
[main-decorator] at location
[component://practice/widget/PracticeForms.xml]:
java.lang.NullPointerException (Error rendering included form named
[main-decorator] at location
[component://practice/widget/PracticeForms.xml]:
java.lang.NullPointerException)

  
  
  
could you please post your controller.xml entry for calling update 
service and form in which you are making update operation.



Regards
Ravindra Mandre



And on updation I am getting an error as below:
org.ofbiz.webapp.event.EventHandlerException: Service invocation error
(Could not find SimpleMethod XML document in resource:
component://practice/script/org/hotwax/practice/PracticeServices.xml)

Please let me know how to solve this erors.



Thanks & Regards
Prashanth Jilla
  
  
  


  
  



  


Re: Errors on CRUD operations

2009-06-05 Thread Ravindra Mandre

Hi Prashanth ,
controller.xml entries are look fine , but I suggest you to again go 
through the part 3 of this tutorial  and make sure you make entry in 
ofbiz-component.xml for service.

hope that help

Regards
Ravindra Mandre

jillas wrote:

Hi Ravindra

  Please find the controller.xml below, and let me know any
modifications in it.


   
   



















Thanks & Regards
Prashanth Jilla




Ravindra Mandre wrote:
  


jillas wrote:


Hi

   I am new to ofbiz, I am practicing CRUD operations from the tutorial.
While creation I am getting an error as below:
org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen
[component://common/widget/CommonScreens.xml#GlobalDecorator]:
java.lang.RuntimeException: Error rendering included form named
[main-decorator] at location
[component://practice/widget/PracticeForms.xml]:
java.lang.NullPointerException (Error rendering included form named
[main-decorator] at location
[component://practice/widget/PracticeForms.xml]:
java.lang.NullPointerException)

  
  
could you please post your controller.xml entry for calling update 
service and form in which you are making update operation.



Regards
Ravindra Mandre


And on updation I am getting an error as below:
org.ofbiz.webapp.event.EventHandlerException: Service invocation error
(Could not find SimpleMethod XML document in resource:
component://practice/script/org/hotwax/practice/PracticeServices.xml)

Please let me know how to solve this erors.



Thanks & Regards
Prashanth Jilla
  
  



  


Re: Errors on CRUD operations

2009-06-05 Thread Ravindra Mandre



jillas wrote:

Hi

   I am new to ofbiz, I am practicing CRUD operations from the tutorial.
While creation I am getting an error as below:
org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen
[component://common/widget/CommonScreens.xml#GlobalDecorator]:
java.lang.RuntimeException: Error rendering included form named
[main-decorator] at location
[component://practice/widget/PracticeForms.xml]:
java.lang.NullPointerException (Error rendering included form named
[main-decorator] at location
[component://practice/widget/PracticeForms.xml]:
java.lang.NullPointerException)

  
could you please post your controller.xml entry for calling update 
service and form in which you are making update operation.



Regards
Ravindra Mandre

And on updation I am getting an error as below:
org.ofbiz.webapp.event.EventHandlerException: Service invocation error
(Could not find SimpleMethod XML document in resource:
component://practice/script/org/hotwax/practice/PracticeServices.xml)

Please let me know how to solve this erors.



Thanks & Regards
Prashanth Jilla
  


Re: Need info on oldest revision for OFBiz trunk

2009-05-19 Thread Ravindra Mandre

Hello Ashish ,
you can also get some information from this
http://sourceforge.net/news/?group_id=27173


Regards
Ravindra Mandre


BJ Freeman wrote:

what search string would bring this up?

Jacques Le Roux sent the following on 5/19/2009 8:23 AM:
  

Most of these informations are also available here
http://docs.ofbiz.org/x/mgM

Jacques

From: "Ashish Vijaywargiya" 


Thanks BJ once again :-)

--
Ashish

BJ Freeman wrote:
  

here is the original SVN
http://svn.ofbiz.org/svn/ofbiz/
The you will have to open it up and look at the revision history. to get
what you want.

before that ofbiz was maintain in CVS on Sourceforge.
https://sourceforge.net/projects/ofbiz
it is no longer available, though I have an archive of it in my
projects.

https://sourceforge.net/project/showfiles.php?group_id=27173
is the last download from that site.
  




  


Re: No login page in Webtools

2009-05-11 Thread Ravindra Mandre
Hi Adrian ,
Nice turn , I will go for party component   :-)

Ravindra Mandre

On Fri, May 8, 2009 at 7:43 PM, Adrian Crum  wrote:

> I changed my bookmarks to take me to the Example component.
>
> -Adrian
>
>
> BJ Freeman wrote:
>
>> it would be nice.
>> for now I just change the url to webtools/login and it shows
>>
>>
>> Divesh Dutta sent the following on 5/8/2009 2:12 AM:
>>
>>> Hello,
>>>
>>> While accessing  https://demo.ofbiz.org/webtools/control/main, no link
>>> for Login or any page for Login is given. It should be changed.
>>>
>>> Thanks
>>> --
>>> Divesh
>>>
>>>
>>


  1   2   >