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 <[email protected]> > 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 <[email protected]> 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 <[email protected]> > > > > > 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 <[email protected]> > 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 > > > > > > > > > >
