Thursday November 24, 2005
My Adventure in Component Land
I found a post on the Creator forum asking how to integrate a embedded Windows Media Player into a Creator project.
So I thought, that would be a good time to try and write some custom
components.
You could add some elements as static HTML but then the JSF
framework would not know anything about it and you would not be able to
to change the parameter programatically from the application. So that's not a good idea.
Edwin has kind of a tutorial on how to write a component library at his
wiki page. So I took some time and played with it.
That's a screen shot of the result;-)
I would not try to put both, an embedded Windows Media Player and a
Real Player onto the same page;-) That might get a bit noisy.
Here is a link to my components. They
are not fully tested and might not be complete, but I hope they can
work as a starting point for somebody;-) The download contains
all the sources and a prebuild complib in the dist directory.
Just import that complib into a Creator 2 EA with the Component Library
Manager and you should be ready to play with it.
I'm normally working more on the backend of Creator, so maybe on Monday
our component guys will tell me what I did wrong;-) But I think
the results are not that bad for five hours play time;-) Especially
given that I normally don't even work on Windows;-)
Have fun & a good turkey ;-)
-- Marco
( Nov 24 2005, 05:54:11 PM PST )
Permalink
Trackback URL: http://blogs.sun.com/marcoscorner/entry/my_adventure_in_component_land
Works like a charm.
Posted by Alexis MP on November 25, 2005 at 03:13 AM PST #
Posted by sattra on November 26, 2005 at 04:22 AM PST #
Posted by Edwin Goei on November 28, 2005 at 01:35 AM PST #
Posted by Sheng Gu on October 10, 2006 at 09:24 AM PDT #
Posted by Marco Walther on October 10, 2006 at 11:36 AM PDT #
Posted by Sheng Gu on October 12, 2006 at 11:14 AM PDT #
Posted by Marco Walther on October 12, 2006 at 01:04 PM PDT #
Just tried to get this to work with NetBeans 6.7. The component drops just fine but does not display at runtime.
Any thoughts?
Posted by Darrin on July 23, 2009 at 04:31 PM PDT #
Darrin, I don't know. This was written against JSF 1, possibly even prerelease versions. I moved far away from that area now, so I can't help you much here.
Posted by Marco Walther on July 23, 2009 at 08:08 PM PDT #