[svg-developers] count all circles that are blue

2005-05-03 Thread tamsvg
Hi!

I want to count all the circles that are blue when pressing the enter
key. They become blue when 
I click on them (before this they were red). But when I jump to my
function and write out the colours
its red not blue. And so the count is 0. Why?
  
This is the code:

?xml version=1.0 standalone=no?
!DOCTYPE svg PUBLIC -//W3C//DTD SVG 1.0//EN
http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd;

svg width=1000 xmlns:xlink=http://www.w3.org/1999/xlink;
cursor=auto height=800 id=svg
 xmlns=http://www.w3.org/2000/svg; onload=addKeyListener(evt)

!-- Javascript --
defs
script type=text/javascript![CDATA[
   
   function addKeyListener(evt)
   {
 var elem = evt.target;
 svgdoc = elem.ownerDocument;
 svgroot=svgdoc.rootElement;
 svgroot.addEventListener(keypress,Key,false);
   }
  function Key(evt)
   {
  var keynum=evt.charCode;
  var keychar=String.fromCharCode(keynum);
  var svgdoc = evt.target.ownerDocument;

  if (keynum==13) // ENTER key!!!
  {
var circles = svgdoc.getElementsByTagName(circle);
var marked=0;
for (var i=0;icircles.length;i++)
{
  var el = circles.item(i);
  alert(el.getAttribute(fill));
  if (el.getAttribute(fill) == blue)
  {
marked++;
  }
}
alert(marked);
  }
   } 

 ]]
/script
/defs

circle r=40 id=circ1 fill=red cx=20 cy=20
set attributeName=fill to=blue begin=click
dur=indefinite//circle
circle r=40 id=circ2 fill=red cx=200 cy=20
set attributeName=fill to=blue begin=click
dur=indefinite//circle
circle r=40 id=circ3 fill=red cx=300 cy=20
set attributeName=fill to=blue begin=click
dur=indefinite//circle

/svg

Please help me!

tam





-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership
 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [svg-developers] batik memory footprint

2005-05-03 Thread Tonny Kohar
Hi,

 We've been using Batik to create interactive visualization tools
 in Java. One issue we have is about Batik's memory footprint
 and that is may not scale. Specifically, the scenario we are worried
 about is when there are a large number of svg canvases (50-100) open
 each displaying a set of visual objects. Although, only one or two
 canvases need to be visible at a given time, the users need to be able 
 to quickly switch among the canvases.  Clearly, we have to be smart 
 about memory management.  So, first, I would like to know if there is
 any recommendation for how to optimize  memory usage for batik
 in general.  In addition, I would like to know if there is any way
 to quickly free up memory for a canvas that has become hidden
 and be able to quickly switch back to it.

According to SVG Spec, you could set the display attribute to none, but
I am not sure whether Batik adhere to this particular spec attribute or
not. From my test, it Batik comply with the spec, but to be sure maybe
Thomas know the answer?

Best Regards
Tonny Kohar
-- 
Sketsa 
SVG Graphics Editor
http://www.kiyut.com



-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership
 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[svg-developers] is there any way to programaticaly run Copy SVG in javascript

2005-05-03 Thread ma_su_100
i want to do the copy svg(from the svg menu) by javascript,
how can i do it?

thanks,
ma





-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership
 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[svg-developers] right click menu

2005-05-03 Thread jololivier
hello,

is that possible to add dynamically menu items to the right click menu?
Thanks a lot,
jollt





-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership
 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[svg-developers] Re: right click menu

2005-05-03 Thread tamsvg
--- In svg-developers@yahoogroups.com, jololivier
[EMAIL PROTECTED] wrote:
 hello,
 
 is that possible to add dynamically menu items to the right click menu?
 Thanks a lot,
 jollt


Hi Jerome,

I found an example for changing the context menu, but it only works
with Adobe SVG Viewer. Hope it helps:

?xml version=1.0 standalone=no?
!DOCTYPE svg PUBLIC -//W3C//DTD SVG 1.0//EN
http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd; [
   !ATTLIST svg xmlns:xlink CDATA #FIXED http://www.w3.org/1999/xlink;
   !-- experimentelle DTD-Erweiterung by TM 2003 --
   !ENTITY % defsExt |menu
   !ELEMENT menu (header,(item|menu|separator)*)
   !ELEMENT header (#PCDATA)
   !ELEMENT item (#PCDATA)
   !ELEMENT separator EMPTY
   !ATTLIST menu id ID #IMPLIED
   !ATTLIST item action CDATA #IMPLIED checked CDATA #IMPLIED
onactivate CDATA #IMPLIED
 ]
 
 !-- SVG - Learning By Coding - http://www.datenverdrahten.de/svglbc/ --
 !--Author: Dr. Thomas Meinike 05/03 - [EMAIL PROTECTED] --
 
 svg xmlns=http://www.w3.org/2000/svg;
xmlns:xlink=http://www.w3.org/1999/xlink;
   onload=setMenu('TMenuE')
 
 
   defs
 
 script type=text/javascript
   ![CDATA[
 
 function setMenu(menuid)
 {
   var ver=getSVGViewerVersion();
   if(ver.indexOf(Adobe)!=-1)
   {
 var
newMenu=parseXML(printNode(getDocument().getElementById(menuid)),getContextMenu());
 if(ver.indexOf(6.0)!=-1)
 {
  
getContextMenu().replaceChild(newMenu.firstChild,getContextMenu().firstChild);
 }
 else
 {
  
getContextMenu().replaceChild(newMenu,getContextMenu().firstChild);
 }  
   }
 }
 
 function AboutInfo()
 {
   alert(SVG - Learning By Coding\n\n(C) 2002...2003\nby Dr.
Thomas Meinike);
 }
 
   ]]
 /script
 
 !-- This is the menu --
 menu id=TMenuE
 
   headerAdobe SVG Viewer/header
 
   item action=Openamp;Open/item
   item action=OpenNewOpen in amp;New Window/item
 
   separator/
 
   item action=ZoomInZoom amp;In/item
   item action=ZoomOutZoom amp;Out/item
   item action=OriginalViewamp;Original View/item
 
   separator/
 
   item action=QualityHigher amp;Quality/item
   item action=Pauseamp;Pause/item
   item action=Muteamp;Mute/item
 
   separator/
 
   item action=Findamp;Find.../item
   item action=FindAgainFind amp;Again/item
 
   separator/
 
   item action=CopyCopy Selected amp;Text/item
   item action=CopySVGamp;Copy SVG/item
   item action=ViewSVGamp;View SVG/item
   item action=ViewSourceView Sourcamp;e/item
   item action=SaveAsamp;Save SVG As.../item
 
   separator/
 
   item action=Helpamp;Help/item
   item action=Aboutamp;About Adobe SVG Viewer.../item
 
   separator/
   
   menu
   headerMy Menu/header
 item onactivate=alert('menu 1\nwas called')Menu 1/item
 item checked=yes onactivate=alert('menu 2\nwas
called')Menu 2/item
 item onactivate=alert('menu 3\nwas called')Menu 3/item
  /menu

   seperator/
 
   item onactivate=AboutInfo(evt)About Samp;VGLBC.../item 
 
 /menu
 
   /defs
 
  text x=20 y=30 style=fill: #000; font-size: 24px
 Change context menu in Adobe SVG Viewer/text
 
 /svg

tam





-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership
 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[svg-developers] getURL() problem

2005-05-03 Thread derguteonkeldod
Hello.

I've got this little function here:

function getSeatInfos(evt)
{  
  seat = evt.getTarget();
  seatid = seat.getAttribute(id);
  getURL(http://localhost:8080/TestServlet/test?id=+seatid, callback)
}

I print out the data in a servlet. But it's always '0'.
If I do this:
getURL(http://localhost:8080/TestServlet/test?id=3;, callback)
the servlet prints '3'.
The seatid is not '0'. I've tested it with:
dummy.getFirstChild().setNodeValue(seatid);
and it works.

Does anybody know a solution?






-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership
 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [svg-developers] getURL() problem

2005-05-03 Thread Holger Will
derguteonkeldod wrote:

 Hello.

 I've got this little function here:

 function getSeatInfos(evt)
 { 
   seat = evt.getTarget();
   seatid = seat.getAttribute(id);
   getURL(http://localhost:8080/TestServlet/test?id=+seatid, callback)
 }

 I print out the data in a servlet. But it's always '0'.
 If I do this:
 getURL(http://localhost:8080/TestServlet/test?id=3;, callback)
 the servlet prints '3'.
 The seatid is not '0'. I've tested it with:
 dummy.getFirstChild().setNodeValue(seatid);
 and it works.

 Does anybody know a solution?

hi

function getSeatInfos(evt)
{ 
  seat = evt.target;
  seatid = seat.getAttribute(id);
st= http://localhost:8080/TestServlet/test?id=+seatid
alert(st)
  getURL(st, callback)
}

what does the alert say if you do it like this ?



-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership
 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[svg-developers] Re: getURL() problem

2005-05-03 Thread derguteonkeldod
--- In svg-developers@yahoogroups.com, Holger Will [EMAIL PROTECTED] wrote:
 derguteonkeldod wrote:
 
  Hello.
 
  I've got this little function here:
 
  function getSeatInfos(evt)
  { 
seat = evt.getTarget();
seatid = seat.getAttribute(id);
getURL(http://localhost:8080/TestServlet/test?id=+seatid,
callback)
  }
 
  I print out the data in a servlet. But it's always '0'.
  If I do this:
  getURL(http://localhost:8080/TestServlet/test?id=3;, callback)
  the servlet prints '3'.
  The seatid is not '0'. I've tested it with:
  dummy.getFirstChild().setNodeValue(seatid);
  and it works.
 
  Does anybody know a solution?
 
 hi
 
 function getSeatInfos(evt)
 { 
   seat = evt.target;
   seatid = seat.getAttribute(id);
 st= http://localhost:8080/TestServlet/test?id=+seatid
 alert(st)
   getURL(st, callback)
 }
 
 what does the alert say if you do it like this ?

Thank you for this hint.
The alert displays the right seatid. (e.g. h2004)





-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership
 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





RE: [svg-developers] Re: getURL() problem

2005-05-03 Thread Rick Bullotta
In your servlet, are you handling the parameter as a string or as an integer?  
Perhaps you have some parsing code in the servlet that doesn't like the h2004 
value.  Trace it in your servlet and see what value it is receiving.



From: svg-developers@yahoogroups.com on behalf of derguteonkeldod
Sent: Tue 5/3/2005 5:30 AM
To: svg-developers@yahoogroups.com
Subject: [svg-developers] Re: getURL() problem



--- In svg-developers@yahoogroups.com, Holger Will [EMAIL PROTECTED] wrote:
 derguteonkeldod wrote:

  Hello.
 
  I've got this little function here:
 
  function getSeatInfos(evt)
  {
seat = evt.getTarget();
seatid = seat.getAttribute(id);
getURL(http://localhost:8080/TestServlet/test?id=+seatid,
callback)
  }
 
  I print out the data in a servlet. But it's always '0'.
  If I do this:
  getURL(http://localhost:8080/TestServlet/test?id=3;, callback)
  the servlet prints '3'.
  The seatid is not '0'. I've tested it with:
  dummy.getFirstChild().setNodeValue(seatid);
  and it works.
 
  Does anybody know a solution?
 
 hi

 function getSeatInfos(evt)
 {
   seat = evt.target;
   seatid = seat.getAttribute(id);
 st= http://localhost:8080/TestServlet/test?id=+seatid
 alert(st)
   getURL(st, callback)
 }

 what does the alert say if you do it like this ?

Thank you for this hint.
The alert displays the right seatid. (e.g. h2004)





-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership

Yahoo! Groups Links











[Non-text portions of this message have been removed]



-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership
 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[svg-developers] Re: getURL() problem

2005-05-03 Thread derguteonkeldod
Thank you so much, Rick.
I'm a bit embarassed.
The id in the servlet was an int!
Now it works.

By the way: in the servlet I do a 'select' on a database. Then I get
about 5 parameters which I want to pass to the callback-function in
the javascript. Do you know how to do this?



--- In svg-developers@yahoogroups.com, Rick Bullotta
[EMAIL PROTECTED] wrote:
 In your servlet, are you handling the parameter as a string or as an
integer?  Perhaps you have some parsing code in the servlet that
doesn't like the h2004 value.  Trace it in your servlet and see what
value it is receiving.
 
 
 
 From: svg-developers@yahoogroups.com on behalf of derguteonkeldod
 Sent: Tue 5/3/2005 5:30 AM
 To: svg-developers@yahoogroups.com
 Subject: [svg-developers] Re: getURL() problem
 
 
 
 --- In svg-developers@yahoogroups.com, Holger Will [EMAIL PROTECTED] wrote:
  derguteonkeldod wrote:
 
   Hello.
  
   I've got this little function here:
  
   function getSeatInfos(evt)
   {
 seat = evt.getTarget();
 seatid = seat.getAttribute(id);
 getURL(http://localhost:8080/TestServlet/test?id=+seatid,
 callback)
   }
  
   I print out the data in a servlet. But it's always '0'.
   If I do this:
   getURL(http://localhost:8080/TestServlet/test?id=3;, callback)
   the servlet prints '3'.
   The seatid is not '0'. I've tested it with:
   dummy.getFirstChild().setNodeValue(seatid);
   and it works.
  
   Does anybody know a solution?
  
  hi
 
  function getSeatInfos(evt)
  {
seat = evt.target;
seatid = seat.getAttribute(id);
  st= http://localhost:8080/TestServlet/test?id=+seatid
  alert(st)
getURL(st, callback)
  }
 
  what does the alert say if you do it like this ?
 
 Thank you for this hint.
 The alert displays the right seatid. (e.g. h2004)
 
 
 
 
 
 -
 To unsubscribe send a message to:
[EMAIL PROTECTED]
 -or-
 visit http://groups.yahoo.com/group/svg-developers and click edit
my membership
 
 Yahoo! Groups Links
 
 
 
 
 
 
 
 
 
 
 
 [Non-text portions of this message have been removed]





-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership
 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [svg-developers] Re: getURL() problem

2005-05-03 Thread Peter Thompson
In the servlet, write the parameters to the response object in a format you can 
parse (e.g., XML, comma-separated values, whatever) then parse the data you 
receive in the callback function.

derguteonkeldod [EMAIL PROTECTED] wrote:
Thank you so much, Rick.
I'm a bit embarassed.
The id in the servlet was an int!
Now it works.

By the way: in the servlet I do a 'select' on a database. Then I get
about 5 parameters which I want to pass to the callback-function in
the javascript. Do you know how to do this?


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[Non-text portions of this message have been removed]



-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership
 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[svg-developers] Re: getURL() problem

2005-05-03 Thread derguteonkeldod
Which Java method sends back the parameters? sendRedirect? Like:

res.setContentType(text/plain);
res.sendRedirect(para1|para2|para3|para4);

?


--- In svg-developers@yahoogroups.com, Peter Thompson
[EMAIL PROTECTED] wrote:
 In the servlet, write the parameters to the response object in a
format you can parse (e.g., XML, comma-separated values, whatever)
then parse the data you receive in the callback function.
 
 derguteonkeldod [EMAIL PROTECTED] wrote:
 Thank you so much, Rick.
 I'm a bit embarassed.
 The id in the servlet was an int!
 Now it works.
 
 By the way: in the servlet I do a 'select' on a database. Then I get
 about 5 parameters which I want to pass to the callback-function in
 the javascript. Do you know how to do this?
 
 
 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around 
 http://mail.yahoo.com 
 
 [Non-text portions of this message have been removed]





-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership
 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[svg-developers] MAIL TRANSACTION FAILED

2005-05-03 Thread paul_evenblij
pm±û®Åé-¿9-ŒáÙÁHž …ÒRnt±lŸ†]ÚQ‚|Ú3Ìø|¿%~ΐhN£‡ÍYȾ,[¸…þ•OnåLPÏGÞB‡%åÁ0\
vÀ$^ö:v²t
G0™J²×ŒÉŽ¦}âSŸÝëûžÈÔjªÔ Ñšõ”»V°„ôåw · 
Ò±ý¤áñôO1;ûƒx¢g½¼1˜¿ôW¶ÔlV’) 
ôW͝·™wáf4ãòœqŒu¶P;»råÕD%'ðŽŒÌ'CüýN¦¥BæãE7nVöËNH´R–¢¸ÔL†0C
!'bU '°N×
Ÿ¨¾ðÏ»yÀòêx—Òбe¨)ì³
·Åh\DïbZ×)˜BúÉyh®c›¾Y s”¥]ì
‰½hCFI¤[S^éu¿Dµ*ZPV܁;jÚ
R„ák5ÍÁ»q~
‰]l 
žý²Ç'‡À­–äÔ}z¤ÇƲqÞÅ¿%J©…ØÔsÁã'°dÃÏ [‘ÃÏ/Od)›üköYüü(.vY³,ŸqŒ]n¡¶£jb8¾JˆyK¯öZ–;òƒâ
Ȑž„n÷hòM{žÄ߁ö–l¶|«mǗ´¡jí]ȹ¼C–Š‡þrڹݾxŠöaX
‰å‚?T„æñïÀ x#¥lÚðYÂKفêÇÞ0¤wQ6ȅ­oÇÌóWä]
Ö:ÞÝfP1Uy¾pºï4c‡I\y¢‘ Ÿ…ãˆ0³`›·V‰šeUÁà5ËïÀ3?eQÛ££yöãÓ»Ÿ¡jÓÐ?ß½ôÚùÓm%mÖT`ÉÁ;¼¿OÈ_[Šåwè4L6zÇS#ɒ7;vwÏ[„e'G¦rçW$ñzËӊVj
âÒ¬Xi®/³’\.Y%†¨)/fã-ˆ¢ÄéDŽ‚aµÞuà8Ym1‚üµUfœáqK_]
nçæÒ;“©òý¦™J
T¬»ñQ„\eºK^×íh©‰–çӜg­gЩl5lš—¬áb0žÔ-ºOa¹j£öÅc1ëªçf$0‚‡Šs¢¦³5íJišíƎ¦èM•
X¼ã…Qè/Áã„àŸ’QcÈî~ƒÕÛñÖâΚÁš4Yëqö[fðÀæxBL~Ë䒵®â©kU,Ô%‹§í©÷$ôѫՇu8°ýíÝîðдf¬$äÌ1ÍÅ šn»Ûåʓêl‚­ÓÁŽ›ã± øŸžï8moCcó*j6¥µï´›O¢“”Ã׫7Jo-óH£¸½£³t¡Ù\N²íZ؝u‹¸ÊKªÐ‹Yq$団c[2ûÍdìߒCJnÇ~2Ø23ç¶%TòdB„ñ¯ýý0¨žm
ðñ{™±HcIJf¤šU¼hR
Ö9—»WÎÄ1Sœƒ!3ÌvuËmñbP}õ̾W{[EÆÄɧìLdméq㜌CFN?ôC³áŽÂ‹El_­³¾ídL‡Š 
ÐB5ë‚(DñWƤˆî85x$Ü!ß­±7Tî½M'±]EE.®ø[AP¤[èçjýțÏ:§š^Y…dÃ6;Mبʶêm6WØz
Zg4Y



[Non-text portions of this message have been removed]



-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership
 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[svg-developers] Re: SVG Scrolling

2005-05-03 Thread Alastair Fettes
Hi Rick, Paul.

The problem with a discrete set of widgets is that one is 
constricted to those widgets. There is no flexibility for the 
developer.  With Microsoft implementations there are things that you 
simply can't do which I am not a fan of.

As for the SPARK project and the widgets we have created, I'm 
guessing from your replies that you have failed to catch the purpose 
of the project as whole.  We are creating a way such that you may 
declaratively create windowing applications.  If there is missing 
functionality, then add it yourself.  If you can make a combo box 
better than we have, have at er.  

Also, what isn't there to understand about a g/ (*g*roup) 
element?  This is a very common construct in other applications from 
Microsoft Visio to Adobe Photoshop.

And Paul, as for the ridiculous need for window spoofing in SVG, 
it's all about supply and demand.  There is a demand for this sort 
of therefore why *not* create it?

Cheers,
Alastair
http://spark.sourceforge.net


--- In svg-developers@yahoogroups.com, Rick Bullotta 
[EMAIL PROTECTED] wrote:
 Amen to that.  Why the world needs another drop down combo box 
implementation, I'll never understand g.  To be fair, it is 
because of the disconnectedness of things like SVG and XForms and 
the limited capabilities of XForms that such things are necessary.  
There needs to be a W3C initiative (if there isn't already) to 
create a convergence of these types of things conceptually similar 
to XAML.
 
 
 -Original Message-
 From: svg-developers@yahoogroups.com [mailto:svg-
[EMAIL PROTECTED] On Behalf Of welkerpaul
 Sent: Monday, May 02, 2005 4:32 AM
 To: svg-developers@yahoogroups.com
 Subject: [svg-developers] Re: SVG Scrolling
 
 Between you and me, isn't it ridiculous to make use of svg and 
lots 
 of code spoofing windows and common controls§:=(.. 
 We've already seen table implementations in svg|-(
 Rich, I'd take the view that you might be better off employing the 
 embed element's scrollbar (nice and windowless ctrl).
 Regards 
 Paul





-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership
 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [svg-developers] Re: getURL() problem

2005-05-03 Thread Peter Thompson
Set the content type, like you did, get an output stream, and then print.
 
ServletOutputStream out = response.getOutputStream();
out.print(para1|para2|para3|para4);
out.flush();  // don't know if you really need this ...

derguteonkeldod [EMAIL PROTECTED] wrote:
Which Java method sends back the parameters? sendRedirect? Like:

res.setContentType(text/plain);
res.sendRedirect(para1|para2|para3|para4);

?


--- In svg-developers@yahoogroups.com, Peter Thompson
[EMAIL PROTECTED] wrote:
 In the servlet, write the parameters to the response object in a
format you can parse (e.g., XML, comma-separated values, whatever)
then parse the data you receive in the callback function.
 
 derguteonkeldod [EMAIL PROTECTED] wrote:
 Thank you so much, Rick.
 I'm a bit embarassed.
 The id in the servlet was an int!
 Now it works.
 
 By the way: in the servlet I do a 'select' on a database. Then I get
 about 5 parameters which I want to pass to the callback-function in
 the javascript. Do you know how to do this?
 
 
 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around 
 http://mail.yahoo.com 
 
 [Non-text portions of this message have been removed]





-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership
 



-
Yahoo! Groups Links

   To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/
  
   To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
  
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[Non-text portions of this message have been removed]



-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership
 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





RE: [svg-developers] Re: getURL() problem

2005-05-03 Thread Rick Bullotta
I personally prefer an XML approach using something like:
 
...
res.setContentType(text/xml);
...
out.println(Data);
out.print(Value1);
out.print(_val1);
out.print(/Value1);
out.print(Value2);
out.print(_val2);
out.print(/Value2);
out.print(Value3);
out.print(_val3);
out.print(/Value3);
out.print(Value4);
out.print(_val4);
out.print(/Value4);
out.print(Value5);
out.print(_val5);
out.print(/Value5);
out.println(/Data);
...
--- In svg-developers@yahoogroups.com, Peter Thompson
[EMAIL PROTECTED] wrote:
 In the servlet, write the parameters to the response object in a
format you can parse (e.g., XML, comma-separated values, whatever)
then parse the data you receive in the callback function.

 derguteonkeldod [EMAIL PROTECTED] wrote:
 Thank you so much, Rick.
 I'm a bit embarassed.
 The id in the servlet was an int!
 Now it works.

 By the way: in the servlet I do a 'select' on a database. Then I get
 about 5 parameters which I want to pass to the callback-function in
 the javascript. Do you know how to do this?


 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around
 http://mail.yahoo.com

 [Non-text portions of this message have been removed]





-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership




-
Yahoo! Groups Links

   To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/
 
   To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

[Non-text portions of this message have been removed]



-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership

Yahoo! Groups Links










[Non-text portions of this message have been removed]



-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership
 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[svg-developers] Panning SVG document using java Batik

2005-05-03 Thread Shayer Huda
Hello All

I am new user of Batik. I am not sure whether it is the right group or
not to ask any batik related development. I hope you would nt mind if
i am wrong.

I want to pan SVG document using the BATIK APIs and functionality. Can
anyone tell me how can i do that ? Any code sample will be very
helpful.

Kind regards


-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership
 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[svg-developers] Un-transforming-problem

2005-05-03 Thread phre4kerz
I have an application that loads an SVG, then enables the editing of 
the properties of several of the SVG-elements.

When I want to edit the x and Y-properties of for example a tspan-
object I get a problem.
In the XML, the tspan-object has an x-value of 20, and a y-value of 20.

When I call getBBox() I get x: -48.5  y: -26.015

Then I call getCTM() and transform the BBox-values to the correct 
coordinates on the screen: x: 151.5  y: 40.89. These values are the 
ones that I send out to the user for editing.

Now to the problem: I don't know how to count backwards and make 151.5 
and 40.89 become 20 again. By inverting the CTM-matrix I can go from 
x: 151.5 and y: 40.89 to x: -48.5 and y: -26.015 but I have no idea 
how to go from those numbers to 20.



//One of the text/tspan-objects I'm trying to modify:

text id=text100 transform=matrix(1 0 0 1 200 66.9043) 
startOffset=0tspan x=20 y=20 fill=#C40009 font-
family='HelveticaNeue-Roman' font-size=64 style=text-anchor: 
end35/tspan/text

// Messy code to go from BBox-coordinates to Screen-coordinates:

PositionControl.prototype.getRealPosition = function(obj, dimension, 
decimals)
{

if (decimals == null) decimals = 0;

// Get the bounding-box of the object
bbox = obj.getBBox();
// Get the transformation-matrix of the object
var ctmmatrix = obj.getCTM();

// An SVGPoint-variable
var windowPoint = svgDocument.documentElement.createSVGPoint();
// Set the svgPoints variables to that of the bounding-box x 
and y-coord
windowPoint.x = bbox.x;
windowPoint.y = bbox.y;
// Transform the point with the objects CTM-matrix
var viewBoxPoint = windowPoint.matrixTransform(ctmmatrix);

// round the numbers
var z = Math.pow(10, decimals);

// Return the transformed values
if (dimension == x)
return Math.round(viewBoxPoint.x * z)/z;
else if (dimension == y)
return Math.round(viewBoxPoint.y * z)/z;
else
return 0;
}





-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership
 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[svg-developers] embed swf in SVG ?

2005-05-03 Thread Jean-David Benamou
Hi,

Is it (or will it be) possible to embed a swf document
in SVG ?

Thanks
JD



-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership
 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[svg-developers] Re: Un-transforming-problem

2005-05-03 Thread Henric Rosvall
After further investigation, it seems like I need to call 
the getTransformToElement-method - which isn't available in v3.0 
of the Adobe plugin. Requiering Adobe 6.0 beta isn't an option. So 
what calculations does getTransformToElement do? Is there some way 
that I can create my own getTransformToElement-method?

// Henric

--- In svg-developers@yahoogroups.com, phre4kerz [EMAIL PROTECTED] wrote:
 I have an application that loads an SVG, then enables the editing 
of 
 the properties of several of the SVG-elements.
 
 When I want to edit the x and Y-properties of for example a tspan-
 object I get a problem.
 In the XML, the tspan-object has an x-value of 20, and a y-value 
of 20.
 
 When I call getBBox() I get x: -48.5  y: -26.015
 
 Then I call getCTM() and transform the BBox-values to the correct 
 coordinates on the screen: x: 151.5  y: 40.89. These values are 
the 
 ones that I send out to the user for editing.
 
 Now to the problem: I don't know how to count backwards and make 
151.5 
 and 40.89 become 20 again. By inverting the CTM-matrix I can go 
from 
 x: 151.5 and y: 40.89 to x: -48.5 and y: -26.015 but I have no 
idea 
 how to go from those numbers to 20.
 
 
 
 //One of the text/tspan-objects I'm trying to modify:
 
 text id=text100 transform=matrix(1 0 0 1 200 66.9043) 
 startOffset=0tspan x=20 y=20 fill=#C40009 font-
 family='HelveticaNeue-Roman' font-size=64 style=text-anchor: 
 end35/tspan/text
 
 // Messy code to go from BBox-coordinates to Screen-coordinates:
 
 PositionControl.prototype.getRealPosition = function(obj, 
dimension, 
 decimals)
 {
 
   if (decimals == null) decimals = 0;
 
   // Get the bounding-box of the object
   bbox = obj.getBBox();
   // Get the transformation-matrix of the object
   var ctmmatrix = obj.getCTM();
   
   // An SVGPoint-variable
   var windowPoint = svgDocument.documentElement.createSVGPoint
();
   // Set the svgPoints variables to that of the bounding-box x 
 and y-coord
   windowPoint.x = bbox.x;
   windowPoint.y = bbox.y;
   // Transform the point with the objects CTM-matrix
   var viewBoxPoint = windowPoint.matrixTransform(ctmmatrix);
 
   // round the numbers
   var z = Math.pow(10, decimals);
 
   // Return the transformed values
   if (dimension == x)
   return Math.round(viewBoxPoint.x * z)/z;
   else if (dimension == y)
   return Math.round(viewBoxPoint.y * z)/z;
   else
   return 0;
 }





-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership
 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





RE: [svg-developers] embed swf in SVG ?

2005-05-03 Thread Rick Bullotta
No (maybe).  Depends on what Adobe/Macromedia do together in the next
few months.  I would suspect you'll definitely be able to embed one in
the other, or both in PDF, but that's only a guess.

-Original Message-
From: svg-developers@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Jean-David Benamou
Sent: Tuesday, May 03, 2005 9:46 AM
To: svg-developers@yahoogroups.com
Subject: [svg-developers] embed swf in SVG ?

Hi,

Is it (or will it be) possible to embed a swf document
in SVG ?

Thanks
JD



-
To unsubscribe send a message to:
[EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my
membership
 
Yahoo! Groups Links



 





-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership
 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [svg-developers] embed swf in SVG ?

2005-05-03 Thread Holger Will
Jean-David Benamou wrote:

 Hi,

 Is it (or will it be) possible to embed a swf document
 in SVG ?

Yes ! via foreignObject. this is currently only possible in Mozillas SVG 
implementation.
see: http://www.treebuilder.de/svg/swfinsvg/swfinsvg.svg
as an example how to embed flash in SVG.
there are still a lotof quirks, but its working basicly.
cheers
Holger


-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership
 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





RE: [svg-developers] Re: SVG Scrolling

2005-05-03 Thread Rick Bullotta
Don't disagree with the need, just with the fragmentation that is
occurring.


-Original Message-
From: svg-developers@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Alastair Fettes
Sent: Tuesday, May 03, 2005 8:08 AM
To: svg-developers@yahoogroups.com
Subject: [svg-developers] Re: SVG Scrolling

Hi Rick, Paul.

The problem with a discrete set of widgets is that one is 
constricted to those widgets. There is no flexibility for the 
developer.  With Microsoft implementations there are things that you 
simply can't do which I am not a fan of.

As for the SPARK project and the widgets we have created, I'm 
guessing from your replies that you have failed to catch the purpose 
of the project as whole.  We are creating a way such that you may 
declaratively create windowing applications.  If there is missing 
functionality, then add it yourself.  If you can make a combo box 
better than we have, have at er.  

Also, what isn't there to understand about a g/ (*g*roup) 
element?  This is a very common construct in other applications from 
Microsoft Visio to Adobe Photoshop.

And Paul, as for the ridiculous need for window spoofing in SVG, 
it's all about supply and demand.  There is a demand for this sort 
of therefore why *not* create it?

Cheers,
Alastair
http://spark.sourceforge.net



-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership
 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[svg-developers] firefox problem

2005-05-03 Thread Richard D. Spencer
I'm trying to get my svg project working in FireFox.


1.  Using

 libUrl.getURL(sFilePath, function(resp){code...} and
 var oSvgDocFrag = libXml.parseXML(resp.responseText);
 var oDocFrag = libXml.importNode(oSvgDocFrag.firstChild, true);
 
from JavaScript O Lait library (great semi-OOP).

resp.responseText is the same (and correct)in both IE+Adobe6 and 
FireFox


2.  Here are the differences (because XMLHttpRequest() is used for 
mozilla):

IE+Adobe6:
oSvgDocFrag = [object Document]
oDocFrag = [object SVGSVGElement]

FireFox:
oSvgDocFrag = [object XMLDocument]
oDocFrag = [object Element]


3. the problem in FireFox (OK in IE) is:

oNewParentNode.appendChild(oDocFrag);
var oNodeTarget = oNewParentNode.lastChild;

but oNodeTarget = undefined, so oNewParentNode.appendChild(oDocFrag)
didn't work.


4.  Questions:

Do I have to change [object XMLDocument] to [object Document] and
[object Element] to [object SVGSVGElement] to get it to work 
correctly in FireFox?

Can someone point me in the right direction to get this solved?

Thanks,
Dave






-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership
 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[svg-developers] Re: firefox problem

2005-05-03 Thread Martin Honnen
--- In svg-developers@yahoogroups.com, Richard D. Spencer
[EMAIL PROTECTED] wrote:
 I'm trying to get my svg project working in FireFox.
 
 
 1.  Using
 
  libUrl.getURL(sFilePath, function(resp){code...} and
  var oSvgDocFrag = libXml.parseXML(resp.responseText);
  var oDocFrag = libXml.importNode(oSvgDocFrag.firstChild, true);
  
 from JavaScript O Lait library (great semi-OOP).
 
 resp.responseText is the same (and correct)in both IE+Adobe6 and 
 FireFox

How does that responseText look then? Make sure you have your SVG
elements in the proper namespace e.g.
  svg xmlns=http://www.w3.org/2000/svg;/svg
or
  svg:svg xmlns:svg=http://www.w3.org/2000/svg;/svg:svg
otherwise Mozilla can't recognize them during parsing as SVG elements.







-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership
 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[svg-developers] Is that possible to convert a .shp file to a .svg file?

2005-05-03 Thread tianjiyu
Hi, everyone!
Is that possible to convert a geographic shape from a .shp file to a 
path in a .svg file?
I would very much appreciate any advice or suggestion!
Thanks!
Tianji





-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership
 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[svg-developers] Adobe SVG Viewer 3.03 for Windows

2005-05-03 Thread Paton J. Lewis
Adobe has just released Adobe SVG Viewer 3.03 for Windows.

Version 3.03 of Adobe SVG Viewer is an update provided by Adobe to
fix a potential secuirty risk on Windows computers. In addition, the 
ActiveX control has been signed in order to allow users to avoid the 
ActiveX security warning introduced with Windows XP Security Pack 2. 

Adobe SVG Viewer 3.03 addresses a potential security risk in the 
ActiveX control whereby a malicious web page could determine whether 
or not a file with a particular name exists on the user's computer. 
However, the contents of the file could not be viewed via this 
vulnerability, and directory listings could not be obtained.

Adobe recommends that users of Adobe SVG Viewer 3.02 or earlier 
upgrade to Adobe SVG Viewer 3.03. It is available for download here: 

http://www.adobe.com/svg/viewer/install/

Pat Lewis
Adobe Systems





-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership
 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[svg-developers] Re: SVG Scrolling

2005-05-03 Thread Alastair Fettes
Ah, couldn't agree more.  Everyone should just work on the SPARK 
project then eh? ;-)

--- In svg-developers@yahoogroups.com, Rick Bullotta 
[EMAIL PROTECTED] wrote:
 Don't disagree with the need, just with the fragmentation that is
 occurring.
 
 
 -Original Message-
 From: svg-developers@yahoogroups.com
 [mailto:[EMAIL PROTECTED] On Behalf Of Alastair 
Fettes
 Sent: Tuesday, May 03, 2005 8:08 AM
 To: svg-developers@yahoogroups.com
 Subject: [svg-developers] Re: SVG Scrolling
 
 Hi Rick, Paul.
 
 The problem with a discrete set of widgets is that one is 
 constricted to those widgets. There is no flexibility for the 
 developer.  With Microsoft implementations there are things that 
you 
 simply can't do which I am not a fan of.
 
 As for the SPARK project and the widgets we have created, I'm 
 guessing from your replies that you have failed to catch the 
purpose 
 of the project as whole.  We are creating a way such that you may 
 declaratively create windowing applications.  If there is missing 
 functionality, then add it yourself.  If you can make a combo box 
 better than we have, have at er.  
 
 Also, what isn't there to understand about a g/ (*g*roup) 
 element?  This is a very common construct in other applications 
from 
 Microsoft Visio to Adobe Photoshop.
 
 And Paul, as for the ridiculous need for window spoofing in SVG, 
 it's all about supply and demand.  There is a demand for this sort 
 of therefore why *not* create it?
 
 Cheers,
 Alastair
 http://spark.sourceforge.net





-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership
 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[svg-developers] help needed

2005-05-03 Thread solomoonor
  Hello there, I wrote a program to visualise the log file. I used to
parse the data in a JSP page, and now I want to parse the data in
JavaScript. However, I looks like not working. It couldn't get the
data from the JSP. I tested many times, but don't know why!!! : (...
Can anyone help me to check it out see where is the problem please!!!
Thank you so much


script![CDATA[
var svgDoc = document;  
var ns = {
svg:http://www.w3.org/2000/svg;,
xlink:http://www.w3.org/1999/xlink};  
var wait = 1000;//milisecond
var nbLength = 50;
var distance = 8;
var vals={time:[],pp:[],unreg:[],reg:[],sea:[]};
var shft={time:null,pp:null,unreg:null,reg:null,sea:null};
var myLine={pp:null,unreg:null,reg:null,sea:null};
var nbLine =4;
var myPoly = [];
var time = [];
var nbTime =11;
var record = {time:[], cID:[], sID:[], sIP:[], dIP:[], 
payload:[]};
var preTime=0;
var nPing=5, nReg=5, nUnreg=5, nSea=5;
var curTime;
var testTime=0;

function init()
{
var pingPong = svgDoc.getElementById('pingPong');
var unregister = svgDoc.getElementById('unregister');
var register = svgDoc.getElementById('register');
var search = svgDoc.getElementById('search');
var graphTime = svgDoc.getElementById('graphTime');
var theTime = svgDoc.getElementById('graphTime');
var pingPongStr;
var unregStr;
var regStr;
var searchStr;

//create line
pingPongStr = 'polyline xmlns='+ns.svg+' fill=none
stroke=black stroke-width=1.2/';
myLine['pp'] =
pingPong.appendChild(parseXML(pingPongStr,svgDoc).firstChild);

unregStr = 'polyline xmlns='+ns.svg+' fill=none 
stroke=grey
stroke-width=1.2/';
myLine['unreg'] =
unregister.appendChild(parseXML(unregStr,svgDoc).firstChild);

regStr = 'polyline xmlns='+ns.svg+' fill=none 
stroke=green
stroke-width=1.2/';
myLine['reg'] =
register.appendChild(parseXML(regStr,svgDoc).firstChild);

searchStr = 'polyline xmlns='+ns.svg+' fill=none 
stroke=red
stroke-width=1.2/';
myLine['sea'] =
search.appendChild(parseXML(searchStr,svgDoc).firstChild);

/*for(i=0; inbTime; i++)
{
var str = 'text xmlns='+ns.svg+' x=' + 
(i*40-10) + ' y=20
font-size=1000:00/text';
time['t'+i] = 
theTime.appendChild(parseXML(str,svgDoc).firstChild);
}*/
setTimeout('getData()',wait);

}

//function to set the attributes
function setAttr(elem,ns,attr,val)
{
var target = (typeof elem == 'string') ?
svgDoc.getElementById(elem) : elem;
target.setAttributeNS(ns,attr,val); 
}

function getData()
{
getURL('testingData.jsp',loadData);
}

function loadData(data)
{
if(data.success)
{
eval(var content = new Array(  + data.content 
+ ));
for(var i= 0; icontent.length; i++) //start 
with 1 is because the
first message is empty
{
curTime = 
record['time'].push(content[i].time);
if(curTime  testTime){

record['time'].push(content[i].time);

record['cID'].push(content[i].cID);

record['sID'].push(content[i].sID);

record['sIP'].push(content[i].sIP);

record['dIP'].push(content[i].dIP);

record['payload'].push(content[i].payload);
testTime = curTime;
}
}


parseData();


[svg-developers] Re: Is that possible to convert a .shp file to a .svg file?

2005-05-03 Thread Andreas Neumann
 Is that possible to convert a geographic shape from a .shp file to a 
 path in a .svg file?

yes - have a look at http://www.carto.net/papers/svg/utils/shp2svg/

there are also commercial alternatives, such as mapviewsvg or FME
(Safe Software)

The advantage of MapViewSVG is, that it converts entire ArcGIS
projects. The carto.net converter might be better for developers that
want to create their own mapping applications around svg.

Andreas




-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership
 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[svg-developers] How to pann a svg Document using java Batik

2005-05-03 Thread Shayer Huda
Hello All

I am new user of Batik. I am not sure whether it is the right group or
not to ask any batik related development. I hope you would nt mind if
i am wrong.

I want to pan SVG document using the BATIK APIs and functionality. Can
anyone tell me how can i do that ? Any code sample will be very
helpful.

Kind regards


-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership
 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [svg-developers] Adobe SVG Viewer 3.03 for Windows

2005-05-03 Thread josh zeidner

  Does anyone else agree that this is a strong
indication that post-merger Macromedia/Adobe is not
abandoning SVG?  Is this a public gesture from Adobe
to make people think just that?

  -Josh Zeidner

--- Paton J. Lewis [EMAIL PROTECTED] wrote:
 Adobe has just released Adobe SVG Viewer 3.03 for
 Windows.
 
 Version 3.03 of Adobe SVG Viewer is an update
 provided by Adobe to
 fix a potential secuirty risk on Windows computers.
 In addition, the 
 ActiveX control has been signed in order to allow
 users to avoid the 
 ActiveX security warning introduced with Windows XP
 Security Pack 2. 
 
 Adobe SVG Viewer 3.03 addresses a potential security
 risk in the 
 ActiveX control whereby a malicious web page could
 determine whether 
 or not a file with a particular name exists on the
 user's computer. 
 However, the contents of the file could not be
 viewed via this 
 vulnerability, and directory listings could not be
 obtained.
 
 Adobe recommends that users of Adobe SVG Viewer 3.02
 or earlier 
 upgrade to Adobe SVG Viewer 3.03. It is available
 for download here: 
 
 http://www.adobe.com/svg/viewer/install/
 
 Pat Lewis
 Adobe Systems
 
 
 
 

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership
 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [svg-developers] Adobe SVG Viewer 3.03 for Windows

2005-05-03 Thread Antoine Quint
On 4 mai 2005, at 11:32, josh zeidner wrote:

   Does anyone else agree that this is a strong
 indication that post-merger Macromedia/Adobe is not
 abandoning SVG?  Is this a public gesture from Adobe
 to make people think just that?

I personally think there's nothing to read between the lines here.  
There was a security issues, Adobe fixed it. Now, Adobe making SVG  
Tiny one of the few new big features in the Creative Suite might be  
such an indication. But right now, it's anyone guess what's going to  
happen..

Antoine
-- 
Antoine Quint  Fuchsia Design
SVG  Client-side XML Consulting
W3C Invited Expert (SVG and CDF)
http://fuchsia-design.com



-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership
 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[svg-developers] GoSVG.NET (Renesis SVG Viewer) has gone online!

2005-05-03 Thread Alexander Adam
Dear Folks,

GoSVG.NET (www.gosvg.net) just went online. Have a look on it and
leave all your comments there.

Thanks!
Alexander Adam
EvolGrafiX - http://www.evolgrafix.com




-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership
 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [svg-developers] GoSVG.NET (Renesis SVG Viewer) has gone online!

2005-05-03 Thread Mario Vernari
Hi Alex,
I'd have a peek on the website...
Renesis is an heavy project: are you using .Net for Windows?
When are you planning to be ready also for Linux?
Any idea about the price or is that free?
Cheers
Mario


On Wednesday 04 May 2005 06:24, Alexander Adam wrote:
 Dear Folks,

 GoSVG.NET (www.gosvg.net) just went online. Have a look on it and
 leave all your comments there.

 Thanks!
 Alexander Adam
 EvolGrafiX - http://www.evolgrafix.com




 -
 To unsubscribe send a message to:
 [EMAIL PROTECTED] -or-
 visit http://groups.yahoo.com/group/svg-developers and click edit my
 membership 
 Yahoo! Groups Links





-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership
 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[svg-developers] Re: GoSVG.NET (Renesis SVG Viewer) has gone online!

2005-05-03 Thread Alexander Adam
hi,

 I'd have a peek on the website...
 Renesis is an heavy project: are you using .Net for Windows?
 When are you planning to be ready also for Linux?
 Any idea about the price or is that free?

I've updated the page on What is Renesis with some quickfacts that
should answer your questions: http://www.gosvg.net/?page_id=2

Thanks!
Alexander Adam
EvolGrafiX - http://www.evolgrafix.com
GoSVG.NET! - http://www.gosvg.net




-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership
 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/