• 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: Quoting hell, anybody a solution?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Quoting hell, anybody a solution?


  • Subject: Re: Quoting hell, anybody a solution?
  • From: Johan Henselmans <email@hidden>
  • Date: Thu, 18 Feb 2010 16:59:28 +0100

On 18 feb 2010, at 12:11, Henrique Gomes wrote:

>
> On Feb 18, 2010, at 8:45 AM, Johan Henselmans wrote:
>
>> I am trying to call a webobjects string in an a href;
>>
>> First i tried this:
>>
>> <a href = "javascript:ShowContent('<wo:WOString value ="[mySess.selectedPerformance.primaryKey]"/>') ";
>> onMouseOver = "ShowContent('<wo:WOString value="[mySess.selectedPerformance.primaryKey]"/>'); return true;"
>> onMouseOut = "HideContent('<wo:WOString value ="[mySess.selectedPerformance.primaryKey]"/>'); return true;">
>
> Humble suggestion: why not write a method that would return the all href, onMouse, etc?
>
> The method can do all the string operations in java...
> "Javascript:ShowContent('" + mySess.selectedPerformance.primaryKey +"')"
>
>
> HG
>



Thanks for the suggestion, but I wanted to make it a little bit more variable: ie, changing the contents of the wod or wo/html file without having to recompile the application.

Johan Henselmans
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: Quoting hell, anybody a solution?
      • From: Anjo Krank <email@hidden>
References: 
 >Quoting hell, anybody a solution? (From: Johan Henselmans <email@hidden>)
 >Re: Quoting hell, anybody a solution? (From: Henrique Gomes <email@hidden>)

  • Prev by Date: Re: Quoting hell, anybody a solution?
  • Next by Date: De Framing an Application
  • Previous by thread: Re: Quoting hell, anybody a solution?
  • Next by thread: Re: Quoting hell, anybody a solution?
  • Index(es):
    • Date
    • Thread