The char sequence is returned by mockResponse.getText() Sure, there are no public methods and would be a good idea to refectory the code and move the mock response logic to other place. You can use an IVisitor to visit cells in you component tree, create a mock response to render them and use its text, i.e. mockResponse.getText(), to fit your needs
On Sun, Jul 31, 2011 at 10:33 AM, Matt Schmidt <mschmid...@gmail.com> wrote: > So after calling tableParser.parse(myDataGridView), how do I get the the > char sequence? Or iterate over each row to get the char sequence for each > cell? I don't see any public methods for that. > > On Sunday, July 31, 2011, Pedro Santos <pedros...@gmail.com> wrote: >> Hi, I had a similar need and used the code at TableParser[1] to render >> the component tree to a mock response and later get its char sequence. >> >> 1 - > https://github.com/wicketstuff/core/blob/master/jdk-1.5-parent/wicket-poi-parent/wicket-poi/src/main/java/org/wicketstuff/poi/excel/TableParser.java >> >> On Fri, Jul 29, 2011 at 6:01 PM, Matt Schmidt <mschmid...@gmail.com> > wrote: >>> Is there any way to access the HTML of each cell that would be rendered > in a >>> DataGridView without adding it to the page and actually rendering it? >>> >>> Ultimately, I am trying to add all of the inner HTML of the cells of the >>> DataGridView to a JavaScript array. >>> >> >> >> >> -- >> Pedro Henrique Oliveira dos Santos >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> > -- Pedro Henrique Oliveira dos Santos --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org