• 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: ERModern and ERDControllerButton css
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ERModern and ERDControllerButton css


  • Subject: Re: ERModern and ERDControllerButton css
  • From: Ramsey Gurley <email@hidden>
  • Date: Mon, 28 Jan 2013 16:29:15 -0700

I believe there is a controller button on the page there. You may be able to omit it with a rule.

Because it is there, it's going to get the default controller choices unless you override it with rules.

100:pageConfiguration = 'ListMyEntity' => branchChoices = () [Assignment]
105:pageConfiguration = 'ListMyEntity' and object.isNonNull = 1 => branchChoices = (setNewPassword) [Assignment]

You might be able to get away with just one rule

100:pageConfiguration = 'ListMyEntity' and object.isNonNull <> 1 => branchChoices = () [Assignment]

I forget if that works. Or use annotations on your delegate method

@D2WDelegate (
    		scope = "object", availableTasks = "list", availablePages = "ListMyEntity"
    )
    public WOComponent setNewPassword(WOComponent sender) {
	//Does stuff
    }

Ramsey


On Jan 28, 2013, at 4:13 PM, Tim Worman wrote:

> I've overridden the css in my D2W project to show the ERDControllerButton. And I've set up a page controller delegate. I've also added a rule that this controller shows up for task = 'list' and entity.name = 'MyEntity'.
>
> 100 : (task = 'list' and entity.name = 'MyEntity') => actions = {"left" = ("inspectAction", "controllerAction"); } [com.webobjects.directtoweb.Assignment]
>
> The problem I can't figure out is why additional controller buttons are becoming visible in other places outside the actual list - like in the attached example.
>
> Tim
> UCLA GSE&IS
>
> <PastedGraphic-1.tiff>
> _______________________________________________
> 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: ERModern and ERDControllerButton css
      • From: Tim Worman <email@hidden>
  • Prev by Date: Re: SSL on all pages
  • Next by Date: Re: ERModern and ERDControllerButton css
  • Previous by thread: ERXDisplayGroup setQualifier behaviour
  • Next by thread: Re: ERModern and ERDControllerButton css
  • Index(es):
    • Date
    • Thread