Re: how to get resource path of files in server to be used by wicket
do i have to use FileResourceStream for my mp3 file? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/how-to-get-resource-path-of-files-in-server-to-be-used-by-wicket-tp2717381p2720422.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: how to get resource path of files in server to be used by wicket
elesi, please enter in ##wicket IRC channel (server freenode) to ask your questions it is not easy to chat in mails to receive better answers here you have to ask better questions by better I mean more detailed and descriptive On Thu, Sep 30, 2010 at 11:01 AM, elesi jsar...@gmail.com wrote: do i have to use FileResourceStream for my mp3 file? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/how-to-get-resource-path-of-files-in-server-to-be-used-by-wicket-tp2717381p2720422.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: how to get resource path of files in server to be used by wicket
is that compatible with mp3s? and what does urlFor() do? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/how-to-get-resource-path-of-files-in-server-to-be-used-by-wicket-tp2717381p2718760.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
how to get resource path of files in server to be used by wicket
could anyone explain how wicket searches the context path for resources? i mean is it different from the local drive path that i use for non-web applications? because im having a hard time tracing the url of wicket pages, and trying to guess where my resources are... thanks in advance ciao, -elesi -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/how-to-get-resource-path-of-files-in-server-to-be-used-by-wicket-tp2717381p2717381.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: how to get resource path of files in server to be used by wicket
what resources are you having troubles with? On Tue, Sep 28, 2010 at 10:19 AM, elesi jsar...@gmail.com wrote: could anyone explain how wicket searches the context path for resources? i mean is it different from the local drive path that i use for non-web applications? because im having a hard time tracing the url of wicket pages, and trying to guess where my resources are... thanks in advance ciao, -elesi -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/how-to-get-resource-path-of-files-in-server-to-be-used-by-wicket-tp2717381p2717381.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Jeremy Thomerson http://www.wickettraining.com
Re: how to get resource path of files in server to be used by wicket
mp3 resources... i would like to put mp3 source paths in the header contribution of my panel, but im not sure what url will i feed to the script, i placed them together with html and java files and used a relative path, like /file.mp3, but like an absolute local path, my javascript still couldn't find it... i've also tried the one done by drobson, but still doesn't work... -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/how-to-get-resource-path-of-files-in-server-to-be-used-by-wicket-tp2717381p2718216.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: how to get resource path of files in server to be used by wicket
On Tue, Sep 28, 2010 at 9:04 PM, elesi jsar...@gmail.com wrote: mp3 resources... i would like to put mp3 source paths in the header contribution of my panel, but im not sure what url will i feed to the script, i placed them together with html and java files and used a relative path, like /file.mp3, but like an absolute local path, my javascript still couldn't find it... i've also tried the one done by drobson, but still doesn't work... Try using a PackageResourceReference and urlFor(...) -- Jeremy Thomerson http://www.wickettraining.com