ofbiz uri mapping 1.my test source get from 1.1 source location : svn co http://svn.apache.org/repos/asf/ofbiz/trunk ofbiz /* source location in svn */ 2. menu( examlple->ajaxexample ) 2.1 #location : https://localhost:8443/example/control/authview/findExampleAjax /* location about uri */ 3. sample url is follow 3.1 #uri https://localhost:8443/example/control/authview/findExampleAjax /* location about uri */ 4. i want set uri 4.1 #https://localhost:8443/example/control/authview/findExampleAjax/* location about uri */ 4.2 #https://localhost:8443/example/control/authview/t1/findExampleAjax 4.3 #https://localhost:8443/example/control/authview/t1/t2/findExampleAjax how can i set controller.xml I do not know request authview/findExampleAjax in controller.xml file I can not find authview how can i mapping nth depth directory( URI ) Thank you
You can map this screen by adding a <view-map>
in controller.xml
<view-map name="findExampleAjax" type="screen"
page="component://example/control/authview/yourScreens.xml#findExampleAjax"/>
Here yourScreens.xml
should contain multiple Screens and you can create a new screen like this
<screen name="findExampleAjax">
// Decoration for screen
</screen>
and updateExample
is a service defined in a .xml file that contains services and the location of the file is given in ofbiz-component.xml