I appreciate your reply. The problem I'm having is that I really need a way
to have a component that basically adds this JavaScript as a link:
<a href="javascript:playFile('linktofilehere.mp3')">Play [1]</a>
(The anythinghere.mp3 part would be dynamically generated depending on what
I absolutely need it to end with the file extension because it seems like
this player I'm using requires that or it ignores the file. I would prefer
session-relative urls, basically I mean having something that would be where
I above have linktofilehere.mp3 replaced with
"http://localhost:8080/pagetwo.5?wkt:i=:5:fileTestLink::IResourceListener::"
+ ".mp3"
if that would work...
Partly, I want to be able to maximize control, so it will require people to
be on the site to play the files, etc.
Thanks!
Mr Mean wrote:
>
> wicket urls contain page /component id's and versions that are
> generated based on the session (id counters etc), if that is what you
> mean by session relative urls.
> Your javascript will probably have a hard time figuring out which
> sound to play if you use those urls as mapping, it might work if you
> trigger using onclick, i don't know which is used.
> Mounting bookkmarkable pages / resources will ease the mapping as you
> said. So i am a bit confused as to what else you need.
>
> If you use Link's or ResourceLink's you can simply override onclick to
> increment your counter / do logging. Or am i missing something?
>
> Maurice
>
--
View this message in context:
http://www.nabble.com/JavaScript-w--Flash-Player---Need-guidance-on-to-generate-session-relative-url%27s-tp16366136p16379383.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]