You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2008/08/25 13:27:44 UTC

[jira] Updated: (OFBIZ-1932) Allow multi-pagination in a page (see Bilgin comment below)

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

Jacques Le Roux updated OFBIZ-1932:
-----------------------------------

    Description: 
Maybe I missed something, but as I asked on ML and got no answers, maybe something is missing.

So I wrote this little patch. 
It works (to have a look : create at least 4 fin accounts affected to admin, f.e.) but give this error message back
   org.ofbiz.webapp.event.EventHandlerException: Unknown handler type: 

This is because I have to pass the partyId to the view-profile redirected request which contains the screenlet Finaccount. 
So I wrote 
    <iterate-section entry-name="ownedFinAccount"  paginate="true" paginate-target="FinAccounts?partyId=${parameters.partyId}" view-size="3"  list-name="ownedFinAccountList">

I would like to properly and safely allow to pass a parameter in paginate-target. And before doing any changes in RequestHandler.java I'd like to know if I have not missed something obvious or if there is another best practice to use effectively iterate-section in widget. 

If not, advices on how to do that are welcome, before I trace in RequestHandler.java

Thanks



  was:
Maybe I missed something, but as I asked on ML and got no answers, maybe something is missing.

So I wrote this little patch. 
It works (to have a look : create at least 4 fin accounts affected to admin, f.e.) but give this error message back
   org.ofbiz.webapp.event.EventHandlerException: Unknown handler type: 

This is because I have to pass the partyId to the view-profile redirected request which contains the screenlet Finaccount. 
So I wrote 
    <iterate-section entry-name="ownedFinAccount"  paginate="true" paginate-target="FinAccounts?partyId=${parameters.partyId}" view-size="3"  list-name="ownedFinAccountList">

I would like to properly and safely allow to pass a parameter in paginate-target. And before doing any changes in RequestHandler.java I'd like to know if I have not missed something obvious or if there is another best practice to use effectively iterate-section in widget. 

If not, advices on how to do that are welcome, before I trace in RequestHandler.java

Thanks

        Summary: Allow multi-pagination in a page (see Bilgin comment below)  (was: Allow real use of iterate-section in widget)

> Allow multi-pagination in a page (see Bilgin comment below)
> -----------------------------------------------------------
>
>                 Key: OFBIZ-1932
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1932
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: ALL COMPONENTS
>    Affects Versions: SVN trunk
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Minor
>         Attachments: iterate-section.patch
>
>
> Maybe I missed something, but as I asked on ML and got no answers, maybe something is missing.
> So I wrote this little patch. 
> It works (to have a look : create at least 4 fin accounts affected to admin, f.e.) but give this error message back
>    org.ofbiz.webapp.event.EventHandlerException: Unknown handler type: 
> This is because I have to pass the partyId to the view-profile redirected request which contains the screenlet Finaccount. 
> So I wrote 
>     <iterate-section entry-name="ownedFinAccount"  paginate="true" paginate-target="FinAccounts?partyId=${parameters.partyId}" view-size="3"  list-name="ownedFinAccountList">
> I would like to properly and safely allow to pass a parameter in paginate-target. And before doing any changes in RequestHandler.java I'd like to know if I have not missed something obvious or if there is another best practice to use effectively iterate-section in widget. 
> If not, advices on how to do that are welcome, before I trace in RequestHandler.java
> Thanks

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