Re: How to generate and handle wr?wodata=2266409265804109874
Re: How to generate and handle wr?wodata=2266409265804109874
- Subject: Re: How to generate and handle wr?wodata=2266409265804109874
- From: Ken Anderson <email@hidden>
- Date: Wed, 15 Jan 2014 20:17:24 -0500
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@hidden> 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@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to 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