Fwd: Subscribing for beginning

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

Fwd: Subscribing for beginning

Antony Adopo
Hello,
I'm Antony and I'm beginner on apache ofbiz.
I want to build a ecommerce website for tailor clothe with ofbiz. so I
decided to follow :
https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Tutorial+-+A+Beginners+Development+Guide

but I have A problem  at the end on part 1. When I launch "
http://localhost:8080/practice/control/main", it gives me "404 error" page.
but "http://localhost:8080/ecommerce" works without problems. So help me
resolve this problem

And at the same time, could have I some tutos or directives to build
ecommerce website with ofbiz and the way to add some kind of
personnalisation as javascript scripts, etc?

Thanks for your help.

Sincerly
Reply | Threaded
Open this post in threaded view
|

Re: Subscribing for beginning

Mandeep Sidhu
Can you share the code in your application's Controller.xml?

Looks more like a mapping issue to me.


On Mon, Sep 2, 2013 at 3:31 AM, Antony Adopo <[hidden email]> wrote:

> Hello,
> I'm Antony and I'm beginner on apache ofbiz.
> I want to build a ecommerce website for tailor clothe with ofbiz. so I
> decided to follow :
>
> https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Tutorial+-+A+Beginners+Development+Guide
>
> but I have A problem  at the end on part 1. When I launch "
> http://localhost:8080/practice/control/main", it gives me "404 error"
> page.
> but "http://localhost:8080/ecommerce" works without problems. So help me
> resolve this problem
>
> And at the same time, could have I some tutos or directives to build
> ecommerce website with ofbiz and the way to add some kind of
> personnalisation as javascript scripts, etc?
>
> Thanks for your help.
>
> Sincerly
>
Reply | Threaded
Open this post in threaded view
|

Re: Subscribing for beginning

Antony Adopo
this the controller xml code:


<?xml version="1.0" encoding="UTF-8"?>
<site-conf xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:noNamespaceSchemaLocation="
http://ofbiz.apache.org/dtds/site-conf.xsd">
       <include
location="component://common/webcommon/WEB-INF/common-controller.xml"/>
       <description>Practice Component Site Configuration File</description>
       <owner>Copyright 2001-2009 The Apache Software Foundation</owner>

       <handler name="screen" type="view"
class="org.ofbiz.widget.screen.ScreenWidgetViewHandler"/>
       <!-- Request Mappings -->
       <request-map uri="main">
           <security https="false" auth="false"/>
           <response name="success" type="view" value="main"/>
       </request-map>
       <!-- end of request mappings -->
       <!-- View Mappings -->
       <view-map name="main" type="screen"
page="component://practice/widget/PracticeScreens.xml#main"/>
       <!-- change the path to the following if the above doesn't work for
you -->
       <!-- <view-map name="main" type="screen"
page="component://practice/webapp/practice/widget/PracticeScreens.xml#main"/>
-->

       <!-- end of view mappings -->
</site-conf>


2013/9/2 Mandeep Sidhu <[hidden email]>

> Can you share the code in your application's Controller.xml?
>
> Looks more like a mapping issue to me.
>
>
> On Mon, Sep 2, 2013 at 3:31 AM, Antony Adopo <[hidden email]> wrote:
>
> > Hello,
> > I'm Antony and I'm beginner on apache ofbiz.
> > I want to build a ecommerce website for tailor clothe with ofbiz. so I
> > decided to follow :
> >
> >
> https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Tutorial+-+A+Beginners+Development+Guide
> >
> > but I have A problem  at the end on part 1. When I launch "
> > http://localhost:8080/practice/control/main", it gives me "404 error"
> > page.
> > but "http://localhost:8080/ecommerce" works without problems. So help me
> > resolve this problem
> >
> > And at the same time, could have I some tutos or directives to build
> > ecommerce website with ofbiz and the way to add some kind of
> > personnalisation as javascript scripts, etc?
> >
> > Thanks for your help.
> >
> > Sincerly
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: Subscribing for beginning

Mandeep Sidhu
Okay, first things first. To ensure your component is registered by the
application navigate to the following link on your machine.
https://localhost:8443/webtools/control/ViewComponents

That should list down all the components registered by ofbiz. Try finding
your component "Practice", ideally it should be there at the end of it.

If you see the component there then look into the
/practice/webapp/practice/widget/PracticeScreens.xml file and ensure you
have a screen named "main" defined there.

If you don't see the component, that means your component configuration has
issues.


On Mon, Sep 2, 2013 at 12:45 PM, Antony Adopo <[hidden email]> wrote:

> this the controller xml code:
>
>
> <?xml version="1.0" encoding="UTF-8"?>
> <site-conf xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>        xsi:noNamespaceSchemaLocation="
> http://ofbiz.apache.org/dtds/site-conf.xsd">
>        <include
> location="component://common/webcommon/WEB-INF/common-controller.xml"/>
>        <description>Practice Component Site Configuration
> File</description>
>        <owner>Copyright 2001-2009 The Apache Software Foundation</owner>
>
>        <handler name="screen" type="view"
> class="org.ofbiz.widget.screen.ScreenWidgetViewHandler"/>
>        <!-- Request Mappings -->
>        <request-map uri="main">
>            <security https="false" auth="false"/>
>            <response name="success" type="view" value="main"/>
>        </request-map>
>        <!-- end of request mappings -->
>        <!-- View Mappings -->
>        <view-map name="main" type="screen"
> page="component://practice/widget/PracticeScreens.xml#main"/>
>        <!-- change the path to the following if the above doesn't work for
> you -->
>        <!-- <view-map name="main" type="screen"
>
> page="component://practice/webapp/practice/widget/PracticeScreens.xml#main"/>
> -->
>
>        <!-- end of view mappings -->
> </site-conf>
>
>
> 2013/9/2 Mandeep Sidhu <[hidden email]>
>
> > Can you share the code in your application's Controller.xml?
> >
> > Looks more like a mapping issue to me.
> >
> >
> > On Mon, Sep 2, 2013 at 3:31 AM, Antony Adopo <[hidden email]> wrote:
> >
> > > Hello,
> > > I'm Antony and I'm beginner on apache ofbiz.
> > > I want to build a ecommerce website for tailor clothe with ofbiz. so I
> > > decided to follow :
> > >
> > >
> >
> https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Tutorial+-+A+Beginners+Development+Guide
> > >
> > > but I have A problem  at the end on part 1. When I launch "
> > > http://localhost:8080/practice/control/main", it gives me "404 error"
> > > page.
> > > but "http://localhost:8080/ecommerce" works without problems. So help
> me
> > > resolve this problem
> > >
> > > And at the same time, could have I some tutos or directives to build
> > > ecommerce website with ofbiz and the way to add some kind of
> > > personnalisation as javascript scripts, etc?
> > >
> > > Thanks for your help.
> > >
> > > Sincerly
> > >
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: Subscribing for beginning

Antony Adopo
yes, I see "practice component"
but i notice that my widget is in /practice/webapp/widget and not in
/practice/webapp/practice/widget
so i make changes and i inform you


2013/9/2 Mandeep Sidhu <[hidden email]>

> Okay, first things first. To ensure your component is registered by the
> application navigate to the following link on your machine.
> https://localhost:8443/webtools/control/ViewComponents
>
> That should list down all the components registered by ofbiz. Try finding
> your component "Practice", ideally it should be there at the end of it.
>
> If you see the component there then look into the
> /practice/webapp/practice/widget/PracticeScreens.xml file and ensure you
> have a screen named "main" defined there.
>
> If you don't see the component, that means your component configuration has
> issues.
>
>
> On Mon, Sep 2, 2013 at 12:45 PM, Antony Adopo <[hidden email]> wrote:
>
> > this the controller xml code:
> >
> >
> > <?xml version="1.0" encoding="UTF-8"?>
> > <site-conf xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> >        xsi:noNamespaceSchemaLocation="
> > http://ofbiz.apache.org/dtds/site-conf.xsd">
> >        <include
> > location="component://common/webcommon/WEB-INF/common-controller.xml"/>
> >        <description>Practice Component Site Configuration
> > File</description>
> >        <owner>Copyright 2001-2009 The Apache Software Foundation</owner>
> >
> >        <handler name="screen" type="view"
> > class="org.ofbiz.widget.screen.ScreenWidgetViewHandler"/>
> >        <!-- Request Mappings -->
> >        <request-map uri="main">
> >            <security https="false" auth="false"/>
> >            <response name="success" type="view" value="main"/>
> >        </request-map>
> >        <!-- end of request mappings -->
> >        <!-- View Mappings -->
> >        <view-map name="main" type="screen"
> > page="component://practice/widget/PracticeScreens.xml#main"/>
> >        <!-- change the path to the following if the above doesn't work
> for
> > you -->
> >        <!-- <view-map name="main" type="screen"
> >
> >
> page="component://practice/webapp/practice/widget/PracticeScreens.xml#main"/>
> > -->
> >
> >        <!-- end of view mappings -->
> > </site-conf>
> >
> >
> > 2013/9/2 Mandeep Sidhu <[hidden email]>
> >
> > > Can you share the code in your application's Controller.xml?
> > >
> > > Looks more like a mapping issue to me.
> > >
> > >
> > > On Mon, Sep 2, 2013 at 3:31 AM, Antony Adopo <[hidden email]>
> wrote:
> > >
> > > > Hello,
> > > > I'm Antony and I'm beginner on apache ofbiz.
> > > > I want to build a ecommerce website for tailor clothe with ofbiz. so
> I
> > > > decided to follow :
> > > >
> > > >
> > >
> >
> https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Tutorial+-+A+Beginners+Development+Guide
> > > >
> > > > but I have A problem  at the end on part 1. When I launch "
> > > > http://localhost:8080/practice/control/main", it gives me "404
> error"
> > > > page.
> > > > but "http://localhost:8080/ecommerce" works without problems. So
> help
> > me
> > > > resolve this problem
> > > >
> > > > And at the same time, could have I some tutos or directives to build
> > > > ecommerce website with ofbiz and the way to add some kind of
> > > > personnalisation as javascript scripts, etc?
> > > >
> > > > Thanks for your help.
> > > >
> > > > Sincerly
> > > >
> > >
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: Subscribing for beginning

Antony Adopo
Thanks , but even, it doesn't work
Reply | Threaded
Open this post in threaded view
|

Re: Subscribing for beginning

Mandeep Sidhu
It should be in "/practice/widget" not in
"/practice/webapp/practice/widget/"
Fix the path and restart ofbiz.

It should work just fine now.


On Mon, Sep 2, 2013 at 2:28 PM, Antony Adopo <[hidden email]> wrote:

> Thanks , but even, it doesn't work
>
Reply | Threaded
Open this post in threaded view
|

Re: Subscribing for beginning

Antony Adopo
it doesn't work again


2013/9/3 Mandeep Sidhu <[hidden email]>

> It should be in "/practice/widget" not in
> "/practice/webapp/practice/widget/"
> Fix the path and restart ofbiz.
>
> It should work just fine now.
>
>
> On Mon, Sep 2, 2013 at 2:28 PM, Antony Adopo <[hidden email]> wrote:
>
> > Thanks , but even, it doesn't work
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: Subscribing for beginning

Mandeep Sidhu
what does the log say?


On Mon, Sep 2, 2013 at 3:20 PM, Antony Adopo <[hidden email]> wrote:

> it doesn't work again
>
>
> 2013/9/3 Mandeep Sidhu <[hidden email]>
>
> > It should be in "/practice/widget" not in
> > "/practice/webapp/practice/widget/"
> > Fix the path and restart ofbiz.
> >
> > It should work just fine now.
> >
> >
> > On Mon, Sep 2, 2013 at 2:28 PM, Antony Adopo <[hidden email]> wrote:
> >
> > > Thanks , but even, it doesn't work
> > >
> >
>
Reply | Threaded
Open this post in threaded view
|

RE: Subscribing for beginning

Antony Adopo
In reply to this post by Antony Adopo
I couldn't read it (console log doesn't appear something), something appear only when something works (for instance eCommerce)
In fact, my aim is to do a eCommerce website and I don't know how to start ! Do you have some tricks to help me start a eCommerce website with ofbiz? And personnalize it? (html, csss, personal modules like clothes size configuration)

-----Message d'origine-----
De : "Mandeep Sidhu" <[hidden email]>
Envoyé : ‎03/‎09/‎2013 00:37
À : "[hidden email]" <[hidden email]>
Objet : Re: Subscribing for beginning

what does the log say?


On Mon, Sep 2, 2013 at 3:20 PM, Antony Adopo <[hidden email]> wrote:

> it doesn't work again
>
>
> 2013/9/3 Mandeep Sidhu <[hidden email]>
>
> > It should be in "/practice/widget" not in
> > "/practice/webapp/practice/widget/"
> > Fix the path and restart ofbiz.
> >
> > It should work just fine now.
> >
> >
> > On Mon, Sep 2, 2013 at 2:28 PM, Antony Adopo <[hidden email]> wrote:
> >
> > > Thanks , but even, it doesn't work
> > >
> >
>