Hi Savas,
This will add a "fooAction" on the right side:
100 : pageConfiguration = 'ListAddress' => actions = {"right" =
("deleteAction", "fooAction"); } [com.webobjects.directtoweb.Assignment]
And this will tell D2W which component to use for it:
100 : propertyKey = 'fooAction' => componentName = "FooButton"
[com.webobjects.directtoweb.Assignment]
Fabian
P.S.: Please keep the mails on the list.
> Am 22.08.2018 um 10:41 schrieb Savas Celik <[email protected]>:
>
> Thank you very much Fabian,
>
> the first rule works it's replacing the delete button. But what if, I do not
> want to replace it but just add a custom button next to it? How would this
> work?
>
> Savas
>> On 22 Aug 2018, at 09:19, Fabian Peters <[email protected]> wrote:
>>
>> Hi Savas,
>>
>> That's certainly possible. This rule in ERModernLook should be the one to
>> modify:
>>
>> 20 : (look = 'ERModernLook' and propertyKey = 'deleteAction') =>
>> componentName = "ERMDDeleteButton"
>> [com.webobjects.directtoweb.Assignment]:Default modern button component names
>>
>> There's also ERMDRemoveRelatedButton, which is used in
>> ERMODEditRelationshipPage:
>>
>> 20 : (look = 'ERModernLook' and propertyKey = 'removeRelatedAction') =>
>> componentName = "ERMDRemoveRelatedButton"
>> [com.webobjects.directtoweb.Assignment]:Default modern button component names
>>
>> Fabian
>>
>>> Am 22.08.2018 um 08:18 schrieb Savas Celik <[email protected]>:
>>>
>>> Hello,
>>>
>>> how can I replace the delete button with a custom made button in a list
>>> task? or is this even possible?
>>>
>>> Thanks in advance.
>>> Savas
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list ([email protected])
>>> Help/Unsubscribe/Update your Subscription:
>>> https://lists.apple.com/mailman/options/webobjects-dev/lists.fabian%40e-lumo.com
>>>
>>> This email sent to [email protected]
>>
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]