• 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
Basic newbie questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Basic newbie questions


  • Subject: Basic newbie questions
  • From: Cyrille Stepanyk <email@hidden>
  • Date: Wed, 14 Sep 2005 19:36:59 +0200

Hi there,

I've two basic questions :

- I've a menu made of WOHyperlinks enclosed inside html unordered list
<ul>. So each link is inside a <li> tag and each going to a different
WOComponent.
What I'd like to do is to "highlight" the current page using CSS. Mean
that the current hyperlink should be displaying something like
class="current" for the <a> tag.
I've search for how to do that but with poor result so far.

- My second question is quite simlar : how to display the currently
selected item in WOPopupButton ? In html its selected="selected". The
popup bindings are :

PopUpButton1: WOPopUpButton {
        list = session.currentClient.toSites;
        item = siteEnumerator;
        selection = selectedSite;
        displayString = siteEnumerator.name;
}

As you have guess this display a list of Sites for a Client.
Relationships for entities are Client <-->> Sites.

If you've some pointers on how to approach theses problems that would
be very great !

Thanks,
Cyrille
 _______________________________________________
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: Basic newbie questions
      • From: LD <email@hidden>
  • Prev by Date: Re: Apple, any slight update or estimation on WO 5.3.1, Please ??
  • Next by Date: Re: Apple, any slight update or estimation on WO 5.3.1, Please ??
  • Previous by thread: Re: Xcode is garbage!
  • Next by thread: Re: Basic newbie questions
  • Index(es):
    • Date
    • Thread