• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Replacing the delete button in a D2W ListTask
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Replacing the delete button in a D2W ListTask


  • Subject: Re: Replacing the delete button in a D2W ListTask
  • From: Fabian Peters <email@hidden>
  • Date: Wed, 22 Aug 2018 10:53:46 +0200

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@hidden>:
>
> 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@hidden> 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@hidden>:
>>>
>>> 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@hidden)
>>> Help/Unsubscribe/Update your Subscription:
>>>
>>> This email sent to email@hidden
>>
>

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Replacing the delete button in a D2W ListTask
      • From: Savas Celik <email@hidden>
References: 
 >Replacing the delete button in a D2W ListTask (From: Savas Celik <email@hidden>)
 >Re: Replacing the delete button in a D2W ListTask (From: Fabian Peters <email@hidden>)

  • Prev by Date: Re: Replacing the delete button in a D2W ListTask
  • Next by Date: Re: Replacing the delete button in a D2W ListTask
  • Previous by thread: Re: Replacing the delete button in a D2W ListTask
  • Next by thread: Re: Replacing the delete button in a D2W ListTask
  • Index(es):
    • Date
    • Thread