Re: Embedding advanced flash object

2008-12-07 Thread Ekengren

Hello Jeremy,
Thank you for your help, I'm now over the second bump. However the third
problem is still hunting me. The flash app requests slides.xml that looks
like this:
slideshow
  slide
image url='images/foo.jpg'/
  /slide

  slide
image url='images/bar.jpg'/
  /slide
/slideshow
I have tried to make this xml file dynamic by adding wicked:id to the image
tags, but I get prefix not bound to a namespace.

/B



Jeremy Thomerson-5 wrote:
 
 Take a look at this response I gave a while back:
 http://www.nabble.com/Adding-Adobe-Media-Player-in-wicket-td19797690.html
 
 Combine that with urlFor(new ResourceReference(SomeClass.class,
 relative-path-to-movie.swf)) and urlFor(new
 ResourceReference(SomeClass.class, relative-path-to-slides.xml)) to get
 your URLs.
 
 -- 
 Jeremy Thomerson
 http://www.wickettraining.com
 
 
 On Wed, Dec 3, 2008 at 4:19 AM, Ekengren [EMAIL PROTECTED] wrote:
 

 Hello,
 I am trying to figure out the best way to embed the flash slideshow from
 http://www.maani.us/xml_slideshow/index.php. The flash clip reads from a
 configuration file given in the movie url
 (data=slideshow.swf?xml_source=slides.xml) and shows images whose url
 are
 in the file. I have three problems with the urls:
 1. The url of the flash file: slideshow.swf
 2. The url of the configuration file: slides.xml
 3. The url's of the images in the slides.xml file
 The first problem was solved using ObjectContainer. The second I could
 solve
 by using mountSharedResource() but it doesn't feel right, the flash movie
 isn't shared, it belongs to one page. An alternative could be to extend
 ObjectContainer to resolve parameters in the flash data url if they look
 like file names (*.xml).
 The third problem could again be solved by mounting, but I would prefer
 if
 it was possible to make the config file dynamic like html pages and have
 wicket autolink the urls.

 Any suggestions?

 Best regards
 --
 View this message in context:
 http://www.nabble.com/Embedding-advanced-flash-object-tp20810220p20810220.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]


 
 

-- 
View this message in context: 
http://www.nabble.com/Embedding-advanced-flash-object-tp20810220p20886232.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]



Embedding advanced flash object

2008-12-03 Thread Ekengren

Hello,
I am trying to figure out the best way to embed the flash slideshow from
http://www.maani.us/xml_slideshow/index.php. The flash clip reads from a
configuration file given in the movie url
(data=slideshow.swf?xml_source=slides.xml) and shows images whose url are
in the file. I have three problems with the urls:
1. The url of the flash file: slideshow.swf
2. The url of the configuration file: slides.xml
3. The url's of the images in the slides.xml file
The first problem was solved using ObjectContainer. The second I could solve
by using mountSharedResource() but it doesn't feel right, the flash movie
isn't shared, it belongs to one page. An alternative could be to extend
ObjectContainer to resolve parameters in the flash data url if they look
like file names (*.xml).
The third problem could again be solved by mounting, but I would prefer if
it was possible to make the config file dynamic like html pages and have
wicket autolink the urls.

Any suggestions?

Best regards
-- 
View this message in context: 
http://www.nabble.com/Embedding-advanced-flash-object-tp20810220p20810220.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]



Border invalidates browser preview

2008-11-19 Thread Ekengren

As a designer I like to edit the visual design of pages in Dreamweaver and
use eclipse for dynamic behaviour. I have not found any way of doing this
using Border:

Original static page design:

div id=outer
  div id=inner
div id=content wicket:id=content
  pDynamic content goes here/p
/div
  /div
/div

I want the outer, inner and content div's to be the border but still be able
to edit in Dreamweaver. I cannot add wicket:remove like this since it breaks
the xml:

wicket:remove
div id=outer
  div id=inner
div id=content wicket:id=content
/wicket:remove
wicket:border
   wicket:body/
/wicket:border
wicket:remove
/div
  /div
/div
/wicket:remove


So how do I do this??
-- 
View this message in context: 
http://www.nabble.com/Border-invalidates-browser-preview-tp20578445p20578445.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]