Hi Scott,
Following is my ofbiz-component.xml.
**********************************
<?xml version="1.0" encoding="UTF-8"?>
<ofbiz-component name="gtc"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://www.ofbiz.org/dtds/ofbiz-component.xsd">
<webapp name="gtc"
title="GTC Application"
server="default-server"
location="webapp/gtc"
mount-point="/gtc"
app-bar-display="false"/>
</ofbiz-component>
**********************************
Also, I am unaware of how to create component using ant. I would really
appreciate if you could guide me in that area.
Thank you.
Scott Gray-2 wrote:
>
> What about your ofbiz-component.xml file? I really recommend using
> the ant create-component target, it's the easiest way to get up and
> running quickly.
>
> Regards
> Scott
>
> HotWax Media
> http://www.hotwaxmedia.com
>
> On 17/07/2009, at 8:35 AM, su2 wrote:
>
>>
>> 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.
>>
>
>
>
>
--
View this message in context:
http://www.nabble.com/Error%3A-The-requested-resource-is-not-available.-tp24523969p24533775.html
Sent from the OFBiz - User mailing list archive at Nabble.com.