Re: Quoting hell, anybody a solution?
Re: Quoting hell, anybody a solution?
- Subject: Re: Quoting hell, anybody a solution?
- From: Henrique Gomes <email@hidden>
- Date: Thu, 18 Feb 2010 11:11:49 +0000
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
_______________________________________________
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