ofbiz URI MAPPING 关于 n 深度
ofbiz URI MAPPING about n depth
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
您可以通过在 controller.xml
中添加 <view-map>
来映射此屏幕
<view-map name="findExampleAjax" type="screen"
page="component://example/control/authview/yourScreens.xml#findExampleAjax"/>
此处yourScreens.xml
应包含多个屏幕,您可以像这样创建一个新屏幕
<screen name="findExampleAjax">
// Decoration for screen
</screen>
和 updateExample
是在包含服务的 .xml 文件中定义的服务,文件的位置在 ofbiz-component.xml
中给出
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
您可以通过在 controller.xml
<view-map>
来映射此屏幕
<view-map name="findExampleAjax" type="screen"
page="component://example/control/authview/yourScreens.xml#findExampleAjax"/>
此处yourScreens.xml
应包含多个屏幕,您可以像这样创建一个新屏幕
<screen name="findExampleAjax">
// Decoration for screen
</screen>
和 updateExample
是在包含服务的 .xml 文件中定义的服务,文件的位置在 ofbiz-component.xml