Dear Shubham ,
           I followed the same steps as you specified. Like
browserUriRequest>controller.xml>ScreenView>ftl in that screen 
browserUriRequest=globalGLSettings
controller.xml =<view-map name="FindGlobalGlAccount" type="screen"
page="component://accounting/widget/GlobalGlAccountsScreens.xml#ListGlAccounts"/>
ScreenView=ListGlAccounts, this Screen contains the code below

Screen:ListGlAccounts
http://n4.nabble.com/file/n2165305/globalGLSettings.png globalGLSettings.png 

<screen name="ListGlAccounts">
        <section>
            <actions>
                <set field="titleProperty" value="PageTitleListAccounts"/>
                <set field="labelTitleProperty"
value="PageTitleListAccounts"/>
                <set field="tabButtonItem" value="Chartofaccounts"/>
                <!-- no longer works requies a fieldMap entity-and
entity-name="GlAccount" list="entityList" use-cache="true" >
                    <limit-range start="0" size="20"/>
                </entity-and -->
                <set field="viewIndex" from-field="parameters.VIEW_INDEX"
type="Integer" default-value="0"/>
                <set field="viewSize" from-field="parameters.VIEW_SIZE"
type="Integer" default-value="50"/>
                <set field="dummyParameter"
from-field="parameters.VIEW_SIZE" type="Integer" default-value="50"/>
            </actions>
            <widgets>
                <decorator-screen name="GlobalGLSettingsDecorator"
location="${parameters.mainDecoratorLocation}">
                    <decorator-section name="body">
                       <include-menu name="GlSettingTabBar"
location="component://accounting/widget/Menus.xml"/>
                       <container style="screenlet">
                            <container style="screenlet-title-bar">
                                <container style="h3">
                                    <label
text="${uiLabelMap[labelTitleProperty]}"/>
                                </container>
                            </container>
                            <container style="screenlet-body">
                                <section>
                                    <widgets>
                                        <container style="button-bar">
                                            <link
target="ListGlAccountsReport" text="${uiLabelMap.CommonPrint}"
style="buttontext"/>
                                            <link
target="ListGlAccountsExport" text="${uiLabelMap.CommonExport}"
style="buttontext"/>
                                        </container>
                                        <include-form name="ListGlAccount"
location="component://accounting/widget/GlobalGlAccountsForms.xml"/>
                                    </widgets>
                                </section>
                            </container>
                        </container>
                    </decorator-section>
                </decorator-screen>
            </widgets>
        </section>
    </screen>

Form :ListGlAccounts

<form name="ListGlAccount" list-name="listIt" target="" title="" type="list"
default-entity-name="GlAccount"
        odd-row-style="alternate-row" default-table-style="basic-table
hover-bar">
        <actions>
            <set field="entityName" value="GlAccount"/>
            <set field="noConditionFind" value="Y"/>
            <service service-name="performFind" result-map="result"
result-map-list="listIt">
                <field-map field-name="inputFields"
from-field="parameters"/>
                <field-map field-name="entityName" from-field="entityName"/>
                <field-map field-name="noConditionFind" value="Y"/>
            </service>
            <property-to-field field="defaultCurrencyUomId"
resource="general" property="currency.uom.id.default" default="USD"/>
        </actions>
        <!--auto-fields-entity entity-name="GlAccount"
default-field-type="display"/-->
        <field name="glAccountId" title="Gl Account Id"
widget-style="buttontext">
            <hyperlink also-hidden="false" description="${glAccountId}"
target="GlAccountNavigate">
                <parameter param-name="glAccountId"/>
            </hyperlink>
        </field>
        <field name="accountName" entry-name="glAccountId"><display-entity
entity-name="GlAccount" key-field-name="glAccountId"
description="${accountName}"/></field>
        <field name="glAccountTypeId"><display-entity
entity-name="GlAccountType"/></field>
        <field name="glAccountClassId"><display-entity
entity-name="GlAccountClass"/></field>
        <field name="glResourceTypeId"><display-entity
entity-name="GlResourceType"></display-entity></field>
        <field name="glXbrlClassId"><display-entity
entity-name="GlXbrlClass"></display-entity></field>
        <field name="parentGlAccountId"><display-entity
entity-name="GlAccount" description="${accountName} [${glAccountId}]"
key-field-name="glAccountId"></display-entity></field>
        <field name="accountCode"><hidden/></field>
        <field name="postedBalance" widget-area-style="align-text"
title-area-style="align-text"><display type="currency"
currency="${defaultCurrencyUomId}"/></field>
    </form>



There is no ftl file specifiation in the screen as well as in the form.
In other cases I am able to get the .ftl file where as only in this case I
am not able to found it...
Please help me.
-- 
View this message in context: 
http://ofbiz.135035.n4.nabble.com/How-to-edi-the-ofbizUrl-tp2165006p2165305.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Reply via email to