[ 
https://issues.apache.org/jira/browse/OFBIZ-2400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12705212#action_12705212
 ] 

Hans Bakker commented on OFBIZ-2400:
------------------------------------

In general, if you have a problem with your development, find places where it 
does work (what you did) but then compare it to the places that do work.

In this case the portlet screen should not have a decorator and is included in 
a screen with a decorator which is used in the ofbiz normal interface.

Regards,
Hans

> 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