You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by Apache Wiki <wi...@apache.org> on 2010/04/17 02:37:57 UTC

[Tapestry Wiki] Trivial Update of "Tapestry5HowToCreateGenericGraphComponent" by newacct

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