Nevermind.

Got this working - although it doesn’t work in Safari.

I subclassed WOHTMLURLValuedElement (which is what WOImage subclasses), and 
only had to implement the constructor and override appendAttributesToResponse, 
and it works! (In Firefox).

Ken

On Jan 15, 2014, at 7:30 PM, Ken Anderson <[email protected]> wrote:

> Gang,
> 
> I would like to duplicate WOImage with the data binding for audio.
> 
> Today, I can hook a database blob up to the data binding of WOImage and it 
> “just works” - it generates, and obviously handles:
> 
>       <img 
> src="/cgi-bin/WebObjects/MycationMaint.woa/-51114/wr?wodata=2266409265804109874"
>  />
> 
> All I want is:
> 
>       <audio 
> src="/cgi-bin/WebObjects/MycationMaint.woa/-51114/wr?wodata=2266409265804109874"
>  />
> 
> Does anyone have an example of how to generate, and handle, such a URL?
> 
> I’ve looked around the Wonder source for examples, but I haven’t found 
> anything terribly useful.  WOImage and it’s superclasses are in _private, and 
> are convoluted at best.
> 
> Any thoughts are appreciated!
> 
> Ken
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/kenlists%40anderhome.com
> 
> This email sent to [email protected]


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to