tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Tapestry Wiki] Trivial Update of "Tapestry5HowToCreateGenericGraphComponent" by newacct
Date Sat, 17 Apr 2010 00:37:57 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Tapestry Wiki" for change notification.

The "Tapestry5HowToCreateGenericGraphComponent" page has been changed by newacct.
http://wiki.apache.org/tapestry/Tapestry5HowToCreateGenericGraphComponent?action=diff&rev1=2&rev2=3

--------------------------------------------------

  
      void beginRender(MarkupWriter writer)
      {
-         Object[] params = new Object[2];
          _context=_chart;
-         params[0] = new Integer(_width);
+         Object[] params = { new Integer(_width),
-         params[1] = new Integer(_height);
+                             new Integer(_height) };
          
          //generate action link
          Link link = _resources.createEventLink("chart", params);

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Mime
View raw message