Hi

Actually the screen i.e. "contactsAndAccounts" is missing in the
ProfileScreens of Party module.
I hope Community people will commit their next build with this screen. For
now you can include this screen in ProfileScreens.xml and it should work
fine.

<screen name="contactsAndAccounts">
        <section>
            <actions>
                <set field="partyId" from-field="parameters.partyId"/>
                <entity-and list="contacts" entity-name="PartyRelationship">
                    <field-map field-name="partyIdFrom"
from-field="parameters.partyId"/>
                    <field-map field-name="roleTypeIdFrom" value="ACCOUNT"/>
                    <field-map field-name="roleTypeIdTo" value="CONTACT"/>
                </entity-and>
                <entity-and list="accounts" entity-name="PartyRelationship">
                    <field-map field-name="partyIdTo"
from-field="parameters.partyId"/>
                    <field-map field-name="roleTypeIdFrom" value="ACCOUNT"/>
                    <field-map field-name="roleTypeIdTo" value="CONTACT"/>
                </entity-and>
            </actions>
            <widgets>
                <section>
                    <condition>
                        <not><if-empty field="contacts"/></not>
                    </condition>
                    <widgets>
                        <screenlet
title="${uiLabelMap.PartyListRelatedContacts}"
navigation-form-name="ListContacts">
                            <include-form name="ListRelatedContacts"
location="component://party/webapp/partymgr/party/PartyForms.xml"/>
                        </screenlet>
                    </widgets>
                </section>
                <section>
                    <condition>
                        <not><if-empty field="accounts"/></not>
                    </condition>
                    <widgets>
                        <screenlet
title="${uiLabelMap.PartyListRelatedAccounts}"
navigation-form-name="ListAccounts">
                            <include-form name="ListRelatedAccounts"
location="component://party/webapp/partymgr/party/PartyForms.xml"/>
                        </screenlet>
                    </widgets>
                </section>
            </widgets>
        </section>
    </screen>

Regards
Abhinav Vaid
iLabs, L & T Infotech Ltd.
Mumbai.


JIRA j...@apache.org wrote:
> 
> cannot access the HR application completely
> -------------------------------------------
> 
>                  Key: OFBIZ-2647
>                  URL: https://issues.apache.org/jira/browse/OFBIZ-2647
>              Project: OFBiz
>           Issue Type: Bug
>           Components: humanres
>             Reporter: saravanan
>             Priority: Minor
> 
> 
> Hi,
> 
> I am getting an error message in HR application,
> 
>     * when i enter party ID in the employees module as Demo Employee,
>     * it will take me to the profile screen, where showing the personal
> information and contact information,
>     * Below the contact information i found this error message showing
> 
> 
> org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen
> [component://common/widget/CommonScreens.xml#GlobalDecorator]:
> java.lang.IllegalArgumentException: Could not find screen with name
> [contactsAndAccounts] in class resource
> [component://party/widget/partymgr/ProfileScreens.xml] (Could not find
> screen with name [contactsAndAccounts] in class resource
> [component://party/widget/partymgr/ProfileScreens.xml])
> 
> can u please help me out regarding this
> 
> -- 
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-jira--Created%3A-%28OFBIZ-2647%29-cannot-access-the-HR-application-completely-tp24142559p24177796.html
Sent from the OFBiz - Dev mailing list archive at Nabble.com.

Reply via email to