[jira] Created: (OFBIZ-2796) human res main page

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (OFBIZ-2796) human res main page

Nicolas Malin (Jira)
human res main page
-------------------

                 Key: OFBIZ-2796
                 URL: https://issues.apache.org/jira/browse/OFBIZ-2796
             Project: OFBiz
          Issue Type: Bug
          Components: humanres
    Affects Versions: SVN trunk
         Environment: Should be everywhere
            Reporter: matthieu bollot


The main resource page ( https://localhost:8443/humanres/control/main ) is not displayed correctly, the tree is completely broken

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

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-2796) human res main page

Nicolas Malin (Jira)

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

matthieu bollot updated OFBIZ-2796:
-----------------------------------

    Attachment: PartyTrees.patch

This patch should do the trick

> human res main page
> -------------------
>
>                 Key: OFBIZ-2796
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2796
>             Project: OFBiz
>          Issue Type: Bug
>          Components: humanres
>    Affects Versions: SVN trunk
>         Environment: Should be everywhere
>            Reporter: matthieu bollot
>         Attachments: PartyTrees.patch
>
>
> The main resource page ( https://localhost:8443/humanres/control/main ) is not displayed correctly, the tree is completely broken

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

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-2796) human res main page

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

matthieu bollot updated OFBIZ-2796:
-----------------------------------

    Attachment: ofbiz-2796.patch

same patch, better name and from root

> human res main page
> -------------------
>
>                 Key: OFBIZ-2796
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2796
>             Project: OFBiz
>          Issue Type: Bug
>          Components: humanres
>    Affects Versions: SVN trunk
>         Environment: Should be everywhere
>            Reporter: matthieu bollot
>         Attachments: ofbiz-2796.patch, PartyTrees.patch
>
>
> The main resource page ( https://localhost:8443/humanres/control/main ) is not displayed correctly, the tree is completely broken

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

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-2796) human res main page

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

matthieu bollot updated OFBIZ-2796:
-----------------------------------

    Comment: was deleted

(was: This patch should do the trick)

> human res main page
> -------------------
>
>                 Key: OFBIZ-2796
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2796
>             Project: OFBiz
>          Issue Type: Bug
>          Components: humanres
>    Affects Versions: SVN trunk
>         Environment: Should be everywhere
>            Reporter: matthieu bollot
>         Attachments: ofbiz-2796.patch, PartyTrees.patch
>
>
> The main resource page ( https://localhost:8443/humanres/control/main ) is not displayed correctly, the tree is completely broken

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

Reply | Threaded
Open this post in threaded view
|

Re: [jira] Updated: (OFBIZ-2796) human res main page

Matthieu Bollot-4
In reply to this post by Nicolas Malin (Jira)
Hi,

Attachments are not allowed, so here is the patch in body for the following jira.
It is not really big so if a comiter can apply it, I would be really graceful.

Le mercredi 05 août 2009 à 05:12 -0700, matthieu bollot (JIRA) a écrit :

> [ https://issues.apache.org/jira/browse/OFBIZ-2796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>
> matthieu bollot updated OFBIZ-2796:
> -----------------------------------
>
>     Attachment: PartyTrees.patch
>
> This patch should do the trick
>
> > human res main page
> > -------------------
> >
> >                 Key: OFBIZ-2796
> >                 URL: https://issues.apache.org/jira/browse/OFBIZ-2796
> >             Project: OFBiz
> >          Issue Type: Bug
> >          Components: humanres
> >    Affects Versions: SVN trunk
> >         Environment: Should be everywhere
> >            Reporter: matthieu bollot
> >         Attachments: PartyTrees.patch
> >
> >
> > The main human resource page ( https://localhost:8443/humanres/control/main ) is not displayed correctly, the tree is completely broken
>

Index: applications/humanres/widget/PartyTrees.xml
===================================================================
--- applications/humanres/widget/PartyTrees.xml (revision 800740)
+++ applications/humanres/widget/PartyTrees.xml (copie de travail)
@@ -20,10 +20,12 @@
 <trees xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-tree.xsd">
 
-    <tree name="OrgTree" root-node-name="node-root" entity-name="PartyAndGroup" open-depth="1">
+    <tree name="OrgTree" root-node-name="node-root" entity-name="PartyAndGroup">
         <node name="node-root" entity-name="PartyAndGroup" render-style="expand-collapse">
             <entity-one entity-name="PartyAndGroup" value-field="partyAndGroup"/>
-            <include-screen name="PartyGroupTreeLine"location="component://humanres/widget/CommonScreens.xml"/>
+            <link target="viewprofile" text="${partyAndGroup.groupName}" >
+              <parameter param-name="partyId"/>
+            </link>
             <sub-node node-name="internalOrg-list">
                 <entity-condition entity-name="PartyRelationship" filter-by-date="true">
                     <condition-list combine="and">
@@ -37,7 +39,9 @@
             <entity-one entity-name="PartyAndGroup" value-field="partyAndGroup">
                 <field-map field-name="partyId" from-field="partyRelationship.partyIdTo"/>
             </entity-one>
-            <include-screen name="PartyGroupTreeLine" location="component://humanres/widget/CommonScreens.xml"/>
+            <link target="viewprofile" text="${partyAndGroup.groupName}" >
+              <parameter param-name="partyId" from-field="partyRelationship.partyIdTo"/>
+            </link>
             <sub-node node-name="employee-list">
                 <entity-condition entity-name="Employment" filter-by-date="true">
                     <condition-list combine="and">


Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (OFBIZ-2796) human res main page

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

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

Hans Bakker closed OFBIZ-2796.
------------------------------

       Resolution: Fixed
    Fix Version/s: SVN trunk

thank you for your contribution, committed in revision 802287.

> human res main page
> -------------------
>
>                 Key: OFBIZ-2796
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2796
>             Project: OFBiz
>          Issue Type: Bug
>          Components: humanres
>    Affects Versions: SVN trunk
>         Environment: Should be everywhere
>            Reporter: matthieu bollot
>             Fix For: SVN trunk
>
>         Attachments: ofbiz-2796.patch, PartyTrees.patch
>
>
> The main resource page ( https://localhost:8443/humanres/control/main ) is not displayed correctly, the tree is completely broken

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