commandbutton svg support
[Logo]
ICEsoft.org Forums: ICEfaces, ICEmobile, ICEpdf
[Search] Search   [Recent Topics] Recent Topics   [Groups] Home Page | www.icefaces.org  [Register] Register  [Login] Login 
commandbutton svg support  XML
Forum Index -> Development Build Feedback
Author Message
axlesoft


Joined: 06/01/2009 00:00:00
Messages: 182
Offline


Is there any way currently, or any plans in the future to be able to use svg images with commandbuttons in 2.0?

I think this is definitely going to be one of the next big leaps in website design especially with IE 9 due out.

This would make it very slick for creating stylized websites without the need to maintain lots of bitmaps.

I tried an outputMedia tag within a commandLink tag, the image was rendered but not within the link.

Thanks

Lee


ted.goddard

Joined: 26/10/2004 00:00:00
Messages: 684
Offline


We've been interested in making use of SVG with ICEfaces for a while -- it's a perfect match because the DOM update could be used to dynamically modify graphics.

Rather than outputMedia, you should try putting the SVN inline with the other markup.

http://jwatt.org/svg/demos/xhtml-with-inline-svg.xhtml
[Email]
axlesoft


Joined: 06/01/2009 00:00:00
Messages: 182
Offline


Ted,

do you have any examples of this in netbeans?
NB 6.9 tells me there is no tag library for the svg namespace.

Maybe I'm missing something simple?

Thanks

Lee
ted.goddard

Joined: 26/10/2004 00:00:00
Messages: 684
Offline


It might be necessary to edit the .xhtml file with an external editor if NetBeans refuses to allow SVG markup.

Something like this is what you are after?

http://www.treebuilder.de/default.asp?file=643764.xml
[Email]
 
Forum Index -> Development Build Feedback
Go to:   
Powered by JForum 2.1.7ice © JForum Team