[
https://issues.apache.org/jira/browse/OFBIZ-1550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12554929
]
Ashish Vijaywargiya commented on OFBIZ-1550:
--------------------------------------------
Adrian ,
>>2. CommonPartyInvitationDecorator belongs in PartyInvitationScreens.xml. I
>>understand you copied an existing design pattern, but that is a bad >>pattern
>>to copy. The basic rule is: if the screen widgets in a widget XML file share
>>a decorator, and that decorator is not used in any other widget XML >>files,
>>then put the decorator in the same XML file as the screens it decorates.
First of all thanks for your comments.
I see one flaw in the pattern that you are suggesting.
See if we are using the pattern that you are suggesting then we can't directly
use the "Screen" definition from the other component's controller file (i.e
controller.xml.) if we want to change the behaviour or decoration pattern of
that screen.For this we may need to create new "Screen" definition for each
section that we are using from other component and we can only use the "Form"
definition from other component.
Although if we are using the pattern in which location =
${parameters.mainDecoratorLocation} is specified then we can override the
definition
using "mainDecoratorLocation" from the component that is using that screen from
controller.xml file.
This is what I did in assetmaint component before 6 month.
Please let me know what do you think about it.
--
Ashish Vijaywargiya
> implement Screens to manage services for PartyInvitation Entity
> ---------------------------------------------------------------
>
> Key: OFBIZ-1550
> URL: https://issues.apache.org/jira/browse/OFBIZ-1550
> Project: OFBiz
> Issue Type: New Feature
> Components: party
> Affects Versions: SVN trunk
> Reporter: Alok Agnihotri
> Assignee: Ashish Vijaywargiya
> Attachments: PartyInvitation_CRUD_UI.patch,
> PartyInvitation_Crud_UI.patch
>
>
> implement UI to manage PartyInvitation with Search Form.
> You can Add the Screen at Party ->Invitation
> https://localhost:8443/partymgr/control/partyInvitation
> Screen will Show Search Form with Search Button on click
> it will show list of all PartyInvitations, with
> update link on partyInvitationId and
> delete link at the end of each record.
> Screen will also have a new PartyInvitation Link to create a new
> PartyInvitation
> Link Should Display a Create Form in turn will display new Editable Screen
> for the same partyInvitationId.
> The Editable Screen also include a Menu with Tab
> -Invitation, GroupAssoc, RoleAssoc
> Entity Used :
> 1) PartyInvitation
> 2)PartyInvitationGroupAssoc
> 3)PartyInvitation RoleAssoc
> You May Find Similar Screen Example ->Example for Reference
> https://localhost:8443/example/control/FindExample
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.