• 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: Condition for showing DeleteButton in a ListPage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Condition for showing DeleteButton in a ListPage


  • Subject: Re: Condition for showing DeleteButton in a ListPage
  • From: Theodore Petrosky <email@hidden>
  • Date: Mon, 08 Apr 2019 21:25:28 -0400

I have done this:

100 : (task = 'list' and session.user.showsHelpText = 'true') =>
showHeaderInstructionComponent = "true"
[com.webobjects.directtoweb.BooleanAssignment]

if the logged in user in the session yada yada!
what is object.status? is status a boolean on the current object? if yes:

100 : (task = 'list’ and object.status = 'true') => isEntityDeletable = "false"
[com.webobjects.directtoweb.BooleanAssignment]




> On Apr 8, 2019, at 12:19 PM, Savas Celik <email@hidden> wrote:
>
> How can I make the Key: isEntityDeletable true or false depending on the
> objects status?
>
> for example:      100 : (pageConfiguration = 'ListUser' and object.status =
> “cantBeDeleted") => isEntityDeletable = “false"
> [com.webobjects.directtoweb.Assignment]
>
> This should make every User delete able except the once with the status =
> “cantBeDeleted”. But it does not work, it only applies it for the first item
> in the List.
>
> 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

References: 
 >Condition for showing DeleteButton in a ListPage (From: Savas Celik <email@hidden>)

  • Prev by Date: Re: Condition for showing DeleteButton in a ListPage
  • Next by Date: Re: Already registered for WO-Day 2019?! (WOWODC)
  • Previous by thread: Re: Condition for showing DeleteButton in a ListPage
  • Next by thread: WO-Day 2019 / Finding a new home for our WOnderous animals / Modern deployment methods
  • Index(es):
    • Date
    • Thread