[ 
https://issues.apache.org/jira/browse/OFBIZ-2400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Parimal Gain updated OFBIZ-2400:
--------------------------------

    Attachment: PortletForLeave.patch

Implemented Functionality of portlet for leave, following are the information : 
1) created HumanResPortletData.xml .
2) Entry done in ofbiz-component.xml for data file.
3) Created screen for leave list with name MyLeaveList in file 
EmployeeScreens.xml.
4) Entry done in HumanResUiLabels.xml for uiLable.
5) Prepared data in MyPortalTypeData.xml
6) Included Decorator corresponding to HR component in file CommonScreens.xml

Problem:

Steps should follow for finding the problem:
1) Login by admin, click on preferences and edit My Leave.
2) Add a portlet for the leave.
3) Then click on HR component.

The problem is that My Leave tab also coming with HR menu bar but this is not 
the case for other portal/portlet.

> Create a Portlet for leave
> --------------------------
>
>                 Key: OFBIZ-2400
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2400
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: humanres
>    Affects Versions: SVN trunk
>            Reporter: Vikas Mayur
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: PortletForLeave.patch
>
>
> Create a portlet for leave in Humanres component.
> This can be accessed from 
> https://localhost:8443/humanres/control/EditEmployeeLeaves?partyId=DemoCustomer
> Steps:
> 1) Create a new file HumanResPortletData.xml with reader-name seed.
> 2) Add data for PortletCategory, PortalPortlet and PortletPortletCategory. 
> Refer to xxxPortletData.xml, where xxx=component name (Accounting, Party, 
> Order etc.)
> 3) Add data for My Portal. Refer to MyPortalTypeData.xml
> Note: PortletAttribute data can be added if required.
> For example see the screen "ListCustRequests" 
> order/widget/ordermgr/RequestScreens.xml and the script under this screen 
> "retrievePortletAttributes.groovy"
> 4) We can define a new portlet category for this component portlets.
> <PortletCategory portletCategoryId="HUMANRES" description="Human Resource 
> Portlets"/>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to