[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
SVG-File "On-Click" for <text> or <ellipse>  XML
Forum Index -> Development
Author Message
pstich

Active

Joined: 27/04/2012 07:43:18
Messages: 9
Offline

Hello,
what does the svg-file has to contain for getting into the actionListener when a special part (e.g. <text>) was clicked?

I saw the example with the Hardware, Software,...-Chart, but i can´t get it run with my own code...

Best Regards,
Pascal
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5524
Offline

Hi,

you may add "cc_id='xxx'" to the SVG nodes.
The actionListener is called when a click is executed on top of the corresponding node.

The event on server side that comes with the actionListener is BaseActionEventSvgElementSelection.

Regards, Björn

Björn Müller, CaptainCasa GmbH
pstich

Active

Joined: 27/04/2012 07:43:18
Messages: 9
Offline

Thanks! That was the missing point...

Now it runs
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team