Reading file from client side

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Reading file from client side

Amine Benkirane
   Hi all!

Is there, in ofbiz, a simple (existing) way to read and import files from the client side disk ?

Basically, for my specific need, I want to let users import their own datas thanks to XSL files on their local disk.

I try the import file from the webtools ofbiz part but it didn't work.

Regards,

Amine



_________________________________________________________________
Téléphonez gratuitement à tous vos proches avec Windows Live Messenger  !  Téléchargez-le maintenant ! 
http://www.windowslive.fr/messenger/1.asp
Reply | Threaded
Open this post in threaded view
|

Re: Reading file from client side

ian tabangay
Take a look at how the service importAddressMatchMapCsv was implemented on
the Party application

~ ian

On Tue, Sep 16, 2008 at 10:18 PM, Amine Benkirane <[hidden email]>wrote:

>   Hi all!
>
> Is there, in ofbiz, a simple (existing) way to read and import files from
> the client side disk ?
>
> Basically, for my specific need, I want to let users import their own datas
> thanks to XSL files on their local disk.
>
> I try the import file from the webtools ofbiz part but it didn't work.
>
> Regards,
>
> Amine
Reply | Threaded
Open this post in threaded view
|

Re: Reading file from client side

BJ Freeman
In reply to this post by Amine Benkirane
also look at the image uploads for actually putting a file on the server.
https://demo.hotwaxmedia.com/catalog/control/EditProductContent?productId=GZ-1004
or webtools.

Amine Benkirane sent the following on 9/16/2008 7:18 AM:

>    Hi all!
>
> Is there, in ofbiz, a simple (existing) way to read and import files from the client side disk ?
>
> Basically, for my specific need, I want to let users import their own datas thanks to XSL files on their local disk.
>
> I try the import file from the webtools ofbiz part but it didn't work.
>
> Regards,
>
> Amine
>
>
>
> _________________________________________________________________
> Téléphonez gratuitement à tous vos proches avec Windows Live Messenger  !  Téléchargez-le maintenant !
> http://www.windowslive.fr/messenger/1.asp


Reply | Threaded
Open this post in threaded view
|

Re: Reading file from client side

BJ Freeman
also you can import and change to entity files using the framework/datafile.
http://docs.ofbiz.org/display/~jacopoc/OFBiz's+Data+File+Tools

BJ Freeman sent the following on 9/16/2008 10:51 AM:

> also look at the image uploads for actually putting a file on the server.
> https://demo.hotwaxmedia.com/catalog/control/EditProductContent?productId=GZ-1004
> or webtools.
>
> Amine Benkirane sent the following on 9/16/2008 7:18 AM:
>>    Hi all!
>>
>> Is there, in ofbiz, a simple (existing) way to read and import files from the client side disk ?
>>
>> Basically, for my specific need, I want to let users import their own datas thanks to XSL files on their local disk.
>>
>> I try the import file from the webtools ofbiz part but it didn't work.
>>
>> Regards,
>>
>> Amine
>>
>>
>>
>> _________________________________________________________________
>> Téléphonez gratuitement à tous vos proches avec Windows Live Messenger  !  Téléchargez-le maintenant !
>> http://www.windowslive.fr/messenger/1.asp
>
>
>
>
>


Reply | Threaded
Open this post in threaded view
|

RE: Reading file from client side [resolved]

Amine Benkirane
thank you all, I success to read file from client side  !
 
Best regards,
 
Amine



> Date: Tue, 16 Sep 2008 11:03:52 -0700> From: [hidden email]> To: [hidden email]> Subject: Re: Reading file from client side> > also you can import and change to entity files using the framework/datafile.> http://docs.ofbiz.org/display/~jacopoc/OFBiz's+Data+File+Tools> > BJ Freeman sent the following on 9/16/2008 10:51 AM:> > also look at the image uploads for actually putting a file on the server.> > https://demo.hotwaxmedia.com/catalog/control/EditProductContent?productId=GZ-1004> > or webtools.> > > > Amine Benkirane sent the following on 9/16/2008 7:18 AM:> >> Hi all!> >>> >> Is there, in ofbiz, a simple (existing) way to read and import files from the client side disk ? > >>> >> Basically, for my specific need, I want to let users import their own datas thanks to XSL files on their local disk.> >>> >> I try the import file from the webtools ofbiz part but it didn't work. > >>> >> Regards,> >>> >> Amine> >>> >>> >>> >> _________________________________________________________________> >> Téléphonez gratuitement à tous vos proches avec Windows Live Messenger ! Téléchargez-le maintenant ! > >> http://www.windowslive.fr/messenger/1.asp> > > > > > > > > > > >
_________________________________________________________________
Installez gratuitement les 20 émôticones Windows Live Messenger les plus fous ! Cliquez ici !
http://www.emoticones-messenger.fr/
Reply | Threaded
Open this post in threaded view
|

Re: Reading file from client side [resolved]

Bruno Busco
Hi Amine,
there is something missing in your last message! ;-)
How did you do it? 8-)

Thank you,
-Bruno

2008/9/16 Amine Benkirane <[hidden email]>

> thank you all, I success to read file from client side  !
>
> Best regards,
>
> Amine
>
>
>
> > Date: Tue, 16 Sep 2008 11:03:52 -0700> From: [hidden email]> To:
> [hidden email]> Subject: Re: Reading file from client side> > also
> you can import and change to entity files using the framework/datafile.>
> http://docs.ofbiz.org/display/~jacopoc/OFBiz's+Data+File+Tools<http://docs.ofbiz.org/display/%7Ejacopoc/OFBiz%27s+Data+File+Tools>>
> > BJ Freeman sent the following on 9/16/2008 10:51 AM:> > also look at the
> image uploads for actually putting a file on the server.> >
> https://demo.hotwaxmedia.com/catalog/control/EditProductContent?productId=GZ-1004>
> > or webtools.> > > > Amine Benkirane sent the following on 9/16/2008 7:18
> AM:> >> Hi all!> >>> >> Is there, in ofbiz, a simple (existing) way to read
> and import files from the client side disk ? > >>> >> Basically, for my
> specific need, I want to let users import their own datas thanks to XSL
> files on their local disk.> >>> >> I try the import file from the webtools
> ofbiz part but it didn't work. > >>> >> Regards,> >>> >> Amine> >>> >>> >>>
> >> _________________________________________________________________> >>
> Téléphonez gratuitement à tous vos proches avec Windows Live Messenger !
> Téléchargez-le maintenant ! > >> http://www.windowslive.fr/messenger/1.asp>
> > > > > > > > > > > >
> _________________________________________________________________
> Installez gratuitement les 20 émôticones Windows Live Messenger les plus
> fous ! Cliquez ici !
> http://www.emoticones-messenger.fr/
Reply | Threaded
Open this post in threaded view
|

RE: Reading file from client side [resolved]

Amine Benkirane
:) I looked at the image uploads and put a file on the server thanks to BJ Freeman link here
https://demo.hotwaxmedia.com/catalog/control/EditProductContent?productId=GZ-1004and I find another example in the EditCategory here https://demo.hotwaxmedia.com/catalog/control/EditCategory?productCategoryId=dropShip 

The most important code is in the groovy file here : product/webapp/catalog/WEB-INF/actions/category/EditCategory.groovy for example

Regards,

Amine


> Date: Tue, 16 Sep 2008 22:30:56 +0200
> From: [hidden email]
> To: [hidden email]
> Subject: Re: Reading file from client side [resolved]
>
> Hi Amine,
> there is something missing in your last message! ;-)
> How did you do it? 8-)
>
> Thank you,
> -Bruno
>
> 2008/9/16 Amine Benkirane <[hidden email]>
>
> > thank you all, I success to read file from client side  !
> >
> > Best regards,
> >
> > Amine
> >
> >
> >
> > > Date: Tue, 16 Sep 2008 11:03:52 -0700> From: [hidden email]> To:
> > [hidden email]> Subject: Re: Reading file from client side> > also
> > you can import and change to entity files using the framework/datafile.>
> > http://docs.ofbiz.org/display/~jacopoc/OFBiz's+Data+File+Tools<http://docs.ofbiz.org/display/%7Ejacopoc/OFBiz%27s+Data+File+Tools>>
> > > BJ Freeman sent the following on 9/16/2008 10:51 AM:> > also look at the
> > image uploads for actually putting a file on the server.> >
> > https://demo.hotwaxmedia.com/catalog/control/EditProductContent?productId=GZ-1004>
> > > or webtools.> > > > Amine Benkirane sent the following on 9/16/2008 7:18
> > AM:> >> Hi all!> >>> >> Is there, in ofbiz, a simple (existing) way to read
> > and import files from the client side disk ? > >>> >> Basically, for my
> > specific need, I want to let users import their own datas thanks to XSL
> > files on their local disk.> >>> >> I try the import file from the webtools
> > ofbiz part but it didn't work. > >>> >> Regards,> >>> >> Amine> >>> >>> >>>
> > >> _________________________________________________________________> >>
> > Téléphonez gratuitement à tous vos proches avec Windows Live Messenger !
> > Téléchargez-le maintenant ! > >> http://www.windowslive.fr/messenger/1.asp>
> > > > > > > > > > > > >
> > _________________________________________________________________
> > Installez gratuitement les 20 émôticones Windows Live Messenger les plus
> > fous ! Cliquez ici !
> > http://www.emoticones-messenger.fr/

_________________________________________________________________
Installez gratuitement les 20 émôticones Windows Live Messenger les plus fous ! Cliquez ici !
http://www.emoticones-messenger.fr/
Reply | Threaded
Open this post in threaded view
|

Re: Reading file from client side [resolved]

Bruno Busco
Thank you for sharing how to.
-Bruno

2008/9/16 Amine Benkirane <[hidden email]>

> :) I looked at the image uploads and put a file on the server thanks to BJ
> Freeman link here
>
> https://demo.hotwaxmedia.com/catalog/control/EditProductContent?productId=GZ-1004andI find another example in the EditCategory here
> https://demo.hotwaxmedia.com/catalog/control/EditCategory?productCategoryId=dropShip
>
> The most important code is in the groovy file here :
> product/webapp/catalog/WEB-INF/actions/category/EditCategory.groovy for
> example
>
> Regards,
>
> Amine
>
>
> > Date: Tue, 16 Sep 2008 22:30:56 +0200
> > From: [hidden email]
> > To: [hidden email]
> > Subject: Re: Reading file from client side [resolved]
> >
> > Hi Amine,
> > there is something missing in your last message! ;-)
> > How did you do it? 8-)
> >
> > Thank you,
> > -Bruno
> >
> > 2008/9/16 Amine Benkirane <[hidden email]>
> >
> > > thank you all, I success to read file from client side  !
> > >
> > > Best regards,
> > >
> > > Amine
> > >
> > >
> > >
> > > > Date: Tue, 16 Sep 2008 11:03:52 -0700> From: [hidden email]>
> To:
> > > [hidden email]> Subject: Re: Reading file from client side> >
> also
> > > you can import and change to entity files using the
> framework/datafile.>
> > > http://docs.ofbiz.org/display/~jacopoc/OFBiz's+Data+File+Tools<http://docs.ofbiz.org/display/%7Ejacopoc/OFBiz%27s+Data+File+Tools>
> <http://docs.ofbiz.org/display/%7Ejacopoc/OFBiz%27s+Data+File+Tools>>
> > > > BJ Freeman sent the following on 9/16/2008 10:51 AM:> > also look at
> the
> > > image uploads for actually putting a file on the server.> >
> > >
> https://demo.hotwaxmedia.com/catalog/control/EditProductContent?productId=GZ-1004
> >
> > > > or webtools.> > > > Amine Benkirane sent the following on 9/16/2008
> 7:18
> > > AM:> >> Hi all!> >>> >> Is there, in ofbiz, a simple (existing) way to
> read
> > > and import files from the client side disk ? > >>> >> Basically, for my
> > > specific need, I want to let users import their own datas thanks to XSL
> > > files on their local disk.> >>> >> I try the import file from the
> webtools
> > > ofbiz part but it didn't work. > >>> >> Regards,> >>> >> Amine> >>> >>>
> >>>
> > > >> _________________________________________________________________>
> >>
> > > Téléphonez gratuitement à tous vos proches avec Windows Live Messenger
> !
> > > Téléchargez-le maintenant ! > >>
> http://www.windowslive.fr/messenger/1.asp>
> > > > > > > > > > > > > >
> > > _________________________________________________________________
> > > Installez gratuitement les 20 émôticones Windows Live Messenger les
> plus
> > > fous ! Cliquez ici !
> > > http://www.emoticones-messenger.fr/
>
> _________________________________________________________________
> Installez gratuitement les 20 émôticones Windows Live Messenger les plus
> fous ! Cliquez ici !
> http://www.emoticones-messenger.fr/
>