Hello All,
I was trying to create the simple screen.
I added WEB-INF/web.xml & controller.xml. I have following <request-map> &
<view-map> in controller.xml
***********************
<request-map uri="SimplestScreen">
<response name="success" type="view" value="SimplestScreen"/>
</request-map>
***********************
***********************
<!-- View Mappings -->
<view-map name="SimplestScreen" type="screen"
page="component://gtc/widget/gtc/gtcscreens.xml#SimplestScreen"/>
<!-- end of view mappings -->
***********************
I added following in gtcscreens.xml
************************
<screen name = "SimplestScreen">
<section>
<widgets>
<label>This is SimplestScreen</label>
</widgets>
</section>
</screen>
************************
and web.xml
****************************
<webapp name="gtc"
title="My Third OFBiz Application"
server="default-server"
location="webapp/gtc"
mount-point="/gtc"
app-bar-display="false"/>
****************************
When I fire http://localhost:8080/gtc/control/SimplestScreen, it gives me
error:
***********************
HTTP Status 404 - /gtc/control/SimplestScreen
type Status report
message /gtc/control/SimplestScreen
description The requested resource (/gtc/control/SimplestScreen) is not
available.
I really appreciate the help.
Thank you.
*************************
--
View this message in context:
http://www.nabble.com/Error%3A-The-requested-resource-is-not-available.-tp24523969p24523969.html
Sent from the OFBiz - User mailing list archive at Nabble.com.