Re: Quicktime - SMILE - WO ?
Re: Quicktime - SMILE - WO ?
- Subject: Re: Quicktime - SMILE - WO ?
- From: Josh Paul <email@hidden>
- Date: Fri, 15 Oct 2004 13:50:56 -0700
The reason why you don't have a trace of the particular hotspot is because
the hotspot bindings are all calling the same method. WO therefore has no
way to know which hotspot was clicked, since the hotspots are client-side.
> hotspot1: context.componentActionURL
> hotspot2: context.componentActionURL
> hotspot3: context.componentActionURL
You either need to write a method for each binding:
hotspot1: method1
hotspot2: method2
hotspot3: method3
or look at how I implemented the QTNEXT tag in OTCQuicktime, which iterates
over an array and builds the bindings at runtime.
HTH,
Josh
On 10/15/04 12:10 PM, "email@hidden"
<email@hidden> wrote:
> Message: 6
> Date: Fri, 15 Oct 2004 14:01:17 +0200
> From: Erwin <email@hidden>
> Subject: Re: Quicktime - SMILE - WO ?
> To: Greg Hulands <email@hidden>
> Cc: "WebObjects \(Group\)" <email@hidden>
> Message-ID: <email@hidden>
> Content-Type: text/plain; charset="iso-8859-1"
>
> thanks... I was loking at SMile because it seems that Apple is not anymore
> interested in QT support within WO... Actually I can run a QTVR in my WOapp
> (thanks to Josh and its OTCQuicktime component wrapper..) but I would like to
> get the selected Hotspot....
> I added 4 binding :
>
> OTCQuicktime1: OTCQuicktime {
> contentURL = "/movies/aVRPanorama.mov";
> controller = true;
> height = 416;
> width = 300;
> width = 300;
> hotspot1: context.componentActionURL
> hotspot2: context.componentActionURL
> hotspot3: context.componentActionURL
> invokeAction: viewProduct
> }
>
> when selecting the hotspot in the QTVR movie, the method viewProduct is
> run.... but once there I don't know how to get trace of the corresponding
> hotspot binding responsible for firing the action.... so I cannot select the
> correct product
>
> The Apple 'VirtualStoreLite' example is outdated..... and there is no other
> example on Earth ;-))
_______________________________________________
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