|
New element auto-parameters-entity for link/hyperlink
----------------------------------------------------- Key: OFBIZ-4472 URL: https://issues.apache.org/jira/browse/OFBIZ-4472 Project: OFBiz Issue Type: New Feature Components: framework Affects Versions: SVN trunk Reporter: Nicolas Malin Priority: Minor Attachments: OFBIZ-4472.patch When you want edit/remove an entity from link call it's needed to give all pk on parameter element as like : {quote} <field name="deleteLink"> <hyperlink target="example_deleteExampleFeatureAppl"> <parameter param-name="exampleId"/> <parameter param-name="exampleFeatureId"/> <parameter param-name="fromDate"/> <hyperlink/> </field> {quote} To simplify, I introduce auto-parameters-entity like this : {quote} <field name="deleteLink"> <hyperlink target="example_deleteExampleFeatureAppl"> <auto-parameters-entity entity-name="ExampleFeatureAppl"/> <hyperlink/> </field> {quote} or {quote} <form name="ListExampleFeatureAppls" type="list" default-entity-name="ExampleFeatureAppl"> <field name="deleteLink"> <hyperlink target="example_deleteExampleFeatureAppl"> <auto-parameters-entity/> <hyperlink/> </field> {quote} This method is inspired from auto-fields-entity and I homogenized on widget renderer screen (link), menu (link) and form (hyperlink, sub-link) Any comments are welcome -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
[ https://issues.apache.org/jira/browse/OFBIZ-4472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nicolas Malin updated OFBIZ-4472: --------------------------------- Attachment: OFBIZ-4472.patch > New element auto-parameters-entity for link/hyperlink > ----------------------------------------------------- > > Key: OFBIZ-4472 > URL: https://issues.apache.org/jira/browse/OFBIZ-4472 > Project: OFBiz > Issue Type: New Feature > Components: framework > Affects Versions: SVN trunk > Reporter: Nicolas Malin > Priority: Minor > Attachments: OFBIZ-4472.patch > > > When you want edit/remove an entity from link call it's needed to give all pk on parameter element as like : > {quote} <field name="deleteLink"> > <hyperlink target="example_deleteExampleFeatureAppl"> > <parameter param-name="exampleId"/> > <parameter param-name="exampleFeatureId"/> > <parameter param-name="fromDate"/> > <hyperlink/> > </field> > {quote} > To simplify, I introduce auto-parameters-entity like this : > {quote} > <field name="deleteLink"> > <hyperlink target="example_deleteExampleFeatureAppl"> > <auto-parameters-entity entity-name="ExampleFeatureAppl"/> > <hyperlink/> > </field> > {quote} > or > {quote} > <form name="ListExampleFeatureAppls" type="list" default-entity-name="ExampleFeatureAppl"> > <field name="deleteLink"> > <hyperlink target="example_deleteExampleFeatureAppl"> > <auto-parameters-entity/> > <hyperlink/> > </field> > {quote} > This method is inspired from auto-fields-entity and I homogenized on widget renderer screen (link), menu (link) and form (hyperlink, sub-link) > Any comments are welcome -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nicolas Malin updated OFBIZ-4472: --------------------------------- Attachment: OFBIZ-4472.patch I update the patch with : * manage auto-parameters-entity on event-update-area * imporve resolving entityName > New element auto-parameters-entity for link/hyperlink > ----------------------------------------------------- > > Key: OFBIZ-4472 > URL: https://issues.apache.org/jira/browse/OFBIZ-4472 > Project: OFBiz > Issue Type: New Feature > Components: framework > Affects Versions: SVN trunk > Reporter: Nicolas Malin > Priority: Minor > Attachments: OFBIZ-4472.patch, OFBIZ-4472.patch > > > When you want edit/remove an entity from link call it's needed to give all pk on parameter element as like : > {quote} <field name="deleteLink"> > <hyperlink target="example_deleteExampleFeatureAppl"> > <parameter param-name="exampleId"/> > <parameter param-name="exampleFeatureId"/> > <parameter param-name="fromDate"/> > <hyperlink/> > </field> > {quote} > To simplify, I introduce auto-parameters-entity like this : > {quote} > <field name="deleteLink"> > <hyperlink target="example_deleteExampleFeatureAppl"> > <auto-parameters-entity entity-name="ExampleFeatureAppl"/> > <hyperlink/> > </field> > {quote} > or > {quote} > <form name="ListExampleFeatureAppls" type="list" default-entity-name="ExampleFeatureAppl"> > <field name="deleteLink"> > <hyperlink target="example_deleteExampleFeatureAppl"> > <auto-parameters-entity/> > <hyperlink/> > </field> > {quote} > This method is inspired from auto-fields-entity and I homogenized on widget renderer screen (link), menu (link) and form (hyperlink, sub-link) > Any comments are welcome -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nicolas Malin updated OFBIZ-4472: --------------------------------- Attachment: OFBIZ-4472.patch Improve patch : when the flexibleString is resolved, search fields on root context and parameters map. > New element auto-parameters-entity for link/hyperlink > ----------------------------------------------------- > > Key: OFBIZ-4472 > URL: https://issues.apache.org/jira/browse/OFBIZ-4472 > Project: OFBiz > Issue Type: New Feature > Components: framework > Affects Versions: SVN trunk > Reporter: Nicolas Malin > Priority: Minor > Attachments: OFBIZ-4472.patch, OFBIZ-4472.patch, OFBIZ-4472.patch > > > When you want edit/remove an entity from link call it's needed to give all pk on parameter element as like : > {quote} <field name="deleteLink"> > <hyperlink target="example_deleteExampleFeatureAppl"> > <parameter param-name="exampleId"/> > <parameter param-name="exampleFeatureId"/> > <parameter param-name="fromDate"/> > <hyperlink/> > </field> > {quote} > To simplify, I introduce auto-parameters-entity like this : > {quote} > <field name="deleteLink"> > <hyperlink target="example_deleteExampleFeatureAppl"> > <auto-parameters-entity entity-name="ExampleFeatureAppl"/> > <hyperlink/> > </field> > {quote} > or > {quote} > <form name="ListExampleFeatureAppls" type="list" default-entity-name="ExampleFeatureAppl"> > <field name="deleteLink"> > <hyperlink target="example_deleteExampleFeatureAppl"> > <auto-parameters-entity/> > <hyperlink/> > </field> > {quote} > This method is inspired from auto-fields-entity and I homogenized on widget renderer screen (link), menu (link) and form (hyperlink, sub-link) > Any comments are welcome -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13136074#comment-13136074 ] Adrian Crum commented on OFBIZ-4472: ------------------------------------ Since the type of action in your example (delete an ExampleFeatureAppl) usually results in a service call (via a request event), it seems to me it would make more sense to base the parameters on a service definition instead of an entity. > New element auto-parameters-entity for link/hyperlink > ----------------------------------------------------- > > Key: OFBIZ-4472 > URL: https://issues.apache.org/jira/browse/OFBIZ-4472 > Project: OFBiz > Issue Type: New Feature > Components: framework > Affects Versions: SVN trunk > Reporter: Nicolas Malin > Priority: Minor > Attachments: OFBIZ-4472.patch, OFBIZ-4472.patch, OFBIZ-4472.patch > > > When you want edit/remove an entity from link call it's needed to give all pk on parameter element as like : > {quote} <field name="deleteLink"> > <hyperlink target="example_deleteExampleFeatureAppl"> > <parameter param-name="exampleId"/> > <parameter param-name="exampleFeatureId"/> > <parameter param-name="fromDate"/> > <hyperlink/> > </field> > {quote} > To simplify, I introduce auto-parameters-entity like this : > {quote} > <field name="deleteLink"> > <hyperlink target="example_deleteExampleFeatureAppl"> > <auto-parameters-entity entity-name="ExampleFeatureAppl"/> > <hyperlink/> > </field> > {quote} > or > {quote} > <form name="ListExampleFeatureAppls" type="list" default-entity-name="ExampleFeatureAppl"> > <field name="deleteLink"> > <hyperlink target="example_deleteExampleFeatureAppl"> > <auto-parameters-entity/> > <hyperlink/> > </field> > {quote} > This method is inspired from auto-fields-entity and I homogenized on widget renderer screen (link), menu (link) and form (hyperlink, sub-link) > Any comments are welcome -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13136263#comment-13136263 ] Nicolas Malin commented on OFBIZ-4472: -------------------------------------- You are absolutely right adrian, auto-parameters-service will be a better solution on my example. My origin case was only on entity, but if you are interested to extend on service, I can improve this issue. > New element auto-parameters-entity for link/hyperlink > ----------------------------------------------------- > > Key: OFBIZ-4472 > URL: https://issues.apache.org/jira/browse/OFBIZ-4472 > Project: OFBiz > Issue Type: New Feature > Components: framework > Affects Versions: SVN trunk > Reporter: Nicolas Malin > Priority: Minor > Attachments: OFBIZ-4472.patch, OFBIZ-4472.patch, OFBIZ-4472.patch > > > When you want edit/remove an entity from link call it's needed to give all pk on parameter element as like : > {quote} <field name="deleteLink"> > <hyperlink target="example_deleteExampleFeatureAppl"> > <parameter param-name="exampleId"/> > <parameter param-name="exampleFeatureId"/> > <parameter param-name="fromDate"/> > <hyperlink/> > </field> > {quote} > To simplify, I introduce auto-parameters-entity like this : > {quote} > <field name="deleteLink"> > <hyperlink target="example_deleteExampleFeatureAppl"> > <auto-parameters-entity entity-name="ExampleFeatureAppl"/> > <hyperlink/> > </field> > {quote} > or > {quote} > <form name="ListExampleFeatureAppls" type="list" default-entity-name="ExampleFeatureAppl"> > <field name="deleteLink"> > <hyperlink target="example_deleteExampleFeatureAppl"> > <auto-parameters-entity/> > <hyperlink/> > </field> > {quote} > This method is inspired from auto-fields-entity and I homogenized on widget renderer screen (link), menu (link) and form (hyperlink, sub-link) > Any comments are welcome -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nicolas Malin updated OFBIZ-4472: --------------------------------- Affects Version/s: Screen Widget Redesign > New element auto-parameters-entity for link/hyperlink > ----------------------------------------------------- > > Key: OFBIZ-4472 > URL: https://issues.apache.org/jira/browse/OFBIZ-4472 > Project: OFBiz > Issue Type: New Feature > Components: framework > Affects Versions: Screen Widget Redesign, SVN trunk > Reporter: Nicolas Malin > Priority: Minor > Attachments: OFBIZ-4472.patch, OFBIZ-4472.patch, OFBIZ-4472.patch > > > When you want edit/remove an entity from link call it's needed to give all pk on parameter element as like : > {quote} <field name="deleteLink"> > <hyperlink target="example_deleteExampleFeatureAppl"> > <parameter param-name="exampleId"/> > <parameter param-name="exampleFeatureId"/> > <parameter param-name="fromDate"/> > <hyperlink/> > </field> > {quote} > To simplify, I introduce auto-parameters-entity like this : > {quote} > <field name="deleteLink"> > <hyperlink target="example_deleteExampleFeatureAppl"> > <auto-parameters-entity entity-name="ExampleFeatureAppl"/> > <hyperlink/> > </field> > {quote} > or > {quote} > <form name="ListExampleFeatureAppls" type="list" default-entity-name="ExampleFeatureAppl"> > <field name="deleteLink"> > <hyperlink target="example_deleteExampleFeatureAppl"> > <auto-parameters-entity/> > <hyperlink/> > </field> > {quote} > This method is inspired from auto-fields-entity and I homogenized on widget renderer screen (link), menu (link) and form (hyperlink, sub-link) > Any comments are welcome -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux reassigned OFBIZ-4472: -------------------------------------- Assignee: Jacques Le Roux > New element auto-parameters-entity for link/hyperlink > ----------------------------------------------------- > > Key: OFBIZ-4472 > URL: https://issues.apache.org/jira/browse/OFBIZ-4472 > Project: OFBiz > Issue Type: New Feature > Components: framework > Affects Versions: Screen Widget Redesign, SVN trunk > Reporter: Nicolas Malin > Assignee: Jacques Le Roux > Priority: Minor > Attachments: OFBIZ-4472.patch, OFBIZ-4472.patch, OFBIZ-4472.patch > > > When you want edit/remove an entity from link call it's needed to give all pk on parameter element as like : > {quote} <field name="deleteLink"> > <hyperlink target="example_deleteExampleFeatureAppl"> > <parameter param-name="exampleId"/> > <parameter param-name="exampleFeatureId"/> > <parameter param-name="fromDate"/> > <hyperlink/> > </field> > {quote} > To simplify, I introduce auto-parameters-entity like this : > {quote} > <field name="deleteLink"> > <hyperlink target="example_deleteExampleFeatureAppl"> > <auto-parameters-entity entity-name="ExampleFeatureAppl"/> > <hyperlink/> > </field> > {quote} > or > {quote} > <form name="ListExampleFeatureAppls" type="list" default-entity-name="ExampleFeatureAppl"> > <field name="deleteLink"> > <hyperlink target="example_deleteExampleFeatureAppl"> > <auto-parameters-entity/> > <hyperlink/> > </field> > {quote} > This method is inspired from auto-fields-entity and I homogenized on widget renderer screen (link), menu (link) and form (hyperlink, sub-link) > Any comments are welcome -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux reassigned OFBIZ-4472: -------------------------------------- Assignee: (was: Jacques Le Roux) > New element auto-parameters-entity for link/hyperlink > ----------------------------------------------------- > > Key: OFBIZ-4472 > URL: https://issues.apache.org/jira/browse/OFBIZ-4472 > Project: OFBiz > Issue Type: New Feature > Components: framework > Affects Versions: Screen Widget Redesign, SVN trunk > Reporter: Nicolas Malin > Priority: Minor > Attachments: OFBIZ-4472.patch, OFBIZ-4472.patch, OFBIZ-4472.patch > > > When you want edit/remove an entity from link call it's needed to give all pk on parameter element as like : > {quote} <field name="deleteLink"> > <hyperlink target="example_deleteExampleFeatureAppl"> > <parameter param-name="exampleId"/> > <parameter param-name="exampleFeatureId"/> > <parameter param-name="fromDate"/> > <hyperlink/> > </field> > {quote} > To simplify, I introduce auto-parameters-entity like this : > {quote} > <field name="deleteLink"> > <hyperlink target="example_deleteExampleFeatureAppl"> > <auto-parameters-entity entity-name="ExampleFeatureAppl"/> > <hyperlink/> > </field> > {quote} > or > {quote} > <form name="ListExampleFeatureAppls" type="list" default-entity-name="ExampleFeatureAppl"> > <field name="deleteLink"> > <hyperlink target="example_deleteExampleFeatureAppl"> > <auto-parameters-entity/> > <hyperlink/> > </field> > {quote} > This method is inspired from auto-fields-entity and I homogenized on widget renderer screen (link), menu (link) and form (hyperlink, sub-link) > Any comments are welcome -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13494934#comment-13494934 ] Jacques Le Roux commented on OFBIZ-4472: ---------------------------------------- Hi Nicolas, I tried your patch but it does no longer apply on trunk. > New element auto-parameters-entity for link/hyperlink > ----------------------------------------------------- > > Key: OFBIZ-4472 > URL: https://issues.apache.org/jira/browse/OFBIZ-4472 > Project: OFBiz > Issue Type: New Feature > Components: framework > Affects Versions: Screen Widget Redesign, SVN trunk > Reporter: Nicolas Malin > Priority: Minor > Attachments: OFBIZ-4472.patch, OFBIZ-4472.patch, OFBIZ-4472.patch > > > When you want edit/remove an entity from link call it's needed to give all pk on parameter element as like : > {quote} <field name="deleteLink"> > <hyperlink target="example_deleteExampleFeatureAppl"> > <parameter param-name="exampleId"/> > <parameter param-name="exampleFeatureId"/> > <parameter param-name="fromDate"/> > <hyperlink/> > </field> > {quote} > To simplify, I introduce auto-parameters-entity like this : > {quote} > <field name="deleteLink"> > <hyperlink target="example_deleteExampleFeatureAppl"> > <auto-parameters-entity entity-name="ExampleFeatureAppl"/> > <hyperlink/> > </field> > {quote} > or > {quote} > <form name="ListExampleFeatureAppls" type="list" default-entity-name="ExampleFeatureAppl"> > <field name="deleteLink"> > <hyperlink target="example_deleteExampleFeatureAppl"> > <auto-parameters-entity/> > <hyperlink/> > </field> > {quote} > This method is inspired from auto-fields-entity and I homogenized on widget renderer screen (link), menu (link) and form (hyperlink, sub-link) > Any comments are welcome -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nicolas Malin updated OFBIZ-4472: --------------------------------- Attachment: OFBIZ-4472.patch Ok, I update a new patch and validate it. The modification on specialpurpose/example is present to have a use case. It's possible to don't commit it. Jacques to test, you can create a ExampleFeature and associate to an Example. When you list all features associate, the delete link must be contains all pk on parameter. Nicolas > New element auto-parameters-entity for link/hyperlink > ----------------------------------------------------- > > Key: OFBIZ-4472 > URL: https://issues.apache.org/jira/browse/OFBIZ-4472 > Project: OFBiz > Issue Type: New Feature > Components: framework > Affects Versions: Screen Widget Redesign, SVN trunk > Reporter: Nicolas Malin > Priority: Minor > Attachments: OFBIZ-4472.patch, OFBIZ-4472.patch, OFBIZ-4472.patch, OFBIZ-4472.patch > > > When you want edit/remove an entity from link call it's needed to give all pk on parameter element as like : > {quote} <field name="deleteLink"> > <hyperlink target="example_deleteExampleFeatureAppl"> > <parameter param-name="exampleId"/> > <parameter param-name="exampleFeatureId"/> > <parameter param-name="fromDate"/> > <hyperlink/> > </field> > {quote} > To simplify, I introduce auto-parameters-entity like this : > {quote} > <field name="deleteLink"> > <hyperlink target="example_deleteExampleFeatureAppl"> > <auto-parameters-entity entity-name="ExampleFeatureAppl"/> > <hyperlink/> > </field> > {quote} > or > {quote} > <form name="ListExampleFeatureAppls" type="list" default-entity-name="ExampleFeatureAppl"> > <field name="deleteLink"> > <hyperlink target="example_deleteExampleFeatureAppl"> > <auto-parameters-entity/> > <hyperlink/> > </field> > {quote} > This method is inspired from auto-fields-entity and I homogenized on widget renderer screen (link), menu (link) and form (hyperlink, sub-link) > Any comments are welcome -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nicolas Malin updated OFBIZ-4472: --------------------------------- Attachment: OFBIZ-4472.patch I add auto-parameters-service to resolve all parameters waiting by a service and complete xsd. > New element auto-parameters-entity for link/hyperlink > ----------------------------------------------------- > > Key: OFBIZ-4472 > URL: https://issues.apache.org/jira/browse/OFBIZ-4472 > Project: OFBiz > Issue Type: New Feature > Components: framework > Affects Versions: Screen Widget Redesign, SVN trunk > Reporter: Nicolas Malin > Priority: Minor > Attachments: OFBIZ-4472.patch, OFBIZ-4472.patch, OFBIZ-4472.patch, OFBIZ-4472.patch, OFBIZ-4472.patch > > > When you want edit/remove an entity from link call it's needed to give all pk on parameter element as like : > {quote} <field name="deleteLink"> > <hyperlink target="example_deleteExampleFeatureAppl"> > <parameter param-name="exampleId"/> > <parameter param-name="exampleFeatureId"/> > <parameter param-name="fromDate"/> > <hyperlink/> > </field> > {quote} > To simplify, I introduce auto-parameters-entity like this : > {quote} > <field name="deleteLink"> > <hyperlink target="example_deleteExampleFeatureAppl"> > <auto-parameters-entity entity-name="ExampleFeatureAppl"/> > <hyperlink/> > </field> > {quote} > or > {quote} > <form name="ListExampleFeatureAppls" type="list" default-entity-name="ExampleFeatureAppl"> > <field name="deleteLink"> > <hyperlink target="example_deleteExampleFeatureAppl"> > <auto-parameters-entity/> > <hyperlink/> > </field> > {quote} > This method is inspired from auto-fields-entity and I homogenized on widget renderer screen (link), menu (link) and form (hyperlink, sub-link) > Any comments are welcome -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nicolas Malin updated OFBIZ-4472: --------------------------------- Summary: New elements auto-parameters-[entity/service] for link/hyperlink (was: New element auto-parameters-entity for link/hyperlink) > New elements auto-parameters-[entity/service] for link/hyperlink > ---------------------------------------------------------------- > > Key: OFBIZ-4472 > URL: https://issues.apache.org/jira/browse/OFBIZ-4472 > Project: OFBiz > Issue Type: New Feature > Components: framework > Affects Versions: Screen Widget Redesign, SVN trunk > Reporter: Nicolas Malin > Priority: Minor > Attachments: OFBIZ-4472.patch, OFBIZ-4472.patch, OFBIZ-4472.patch, OFBIZ-4472.patch, OFBIZ-4472.patch > > > When you want edit/remove an entity from link call it's needed to give all pk on parameter element as like : > {quote} <field name="deleteLink"> > <hyperlink target="example_deleteExampleFeatureAppl"> > <parameter param-name="exampleId"/> > <parameter param-name="exampleFeatureId"/> > <parameter param-name="fromDate"/> > <hyperlink/> > </field> > {quote} > To simplify, I introduce auto-parameters-entity like this : > {quote} > <field name="deleteLink"> > <hyperlink target="example_deleteExampleFeatureAppl"> > <auto-parameters-entity entity-name="ExampleFeatureAppl"/> > <hyperlink/> > </field> > {quote} > or > {quote} > <form name="ListExampleFeatureAppls" type="list" default-entity-name="ExampleFeatureAppl"> > <field name="deleteLink"> > <hyperlink target="example_deleteExampleFeatureAppl"> > <auto-parameters-entity/> > <hyperlink/> > </field> > {quote} > This method is inspired from auto-fields-entity and I homogenized on widget renderer screen (link), menu (link) and form (hyperlink, sub-link) > Any comments are welcome -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira |
| Free forum by Nabble | Edit this page |
