Doh! Now that you mention that, the solution is obvious and I (once again) feel stupid for even asking the question (not to mention wasting time on this)...
I'll fix this when I get back to work tomorrow. Thank you! > On 7/31/07, David Leangen <[EMAIL PROTECTED]> wrote: >> >> >> BookmarkablePageLink changeToEnglishLink = >> new BookmarkablePageLink( "eng", getPage().getClass() ); >> add( changeToEnglishLink ); >> changeToEnglishLink.setVisible( !isLocaleEnglish() ); >> >> BookmarkablePageLink changeToJapaneseLink = >> new BookmarkablePageLink( "jap", parentPage.getClass() ); >> add( changeToJapaneseLink ); >> changeToJapaneseLink.setVisible( !isLocaleJapanese() ); >> > > > Try (pseudo): > > new BookmarkablePageLink( "eng", getPage().getClass() ) { > isVisible() { > return isLocaleEnglish() == false; > } > } > > new BookmarkablePageLink( "jap", parentPage.getClass() ) { > isVisible() { > return isLocaleJapanese() == false; > } > } > > > Frank > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]