Thanks Freddy!

On Aug 22, 2010, at 1:41 PM, Freddy Daoud wrote:

>> Anyone have an example of Stripes and Jmesa to display table data? 
> 
> I'm currently using JMesa with Stripes in a project, but I can't share
> the code.
> 
> However, I can tell you that there's not much to integrate JMesa with
> Stripes. Meaning, if you follow the JMesa documentation to create
> tables, in Stripes all you need to do is display the table in the JSP.
> 
> For example, say you create a class, MyTable, that generates the table
> with TableFacade, and you override toString() to return
> tableFacade.render(). Then, in your action bean, you create an
> instance of that class and return it from a getter method, such as
> 
>  public MyTable getMyTable() {
>    return myTable;
>  }
> 
> Displaying the table in your JSP is just a matter of
> 
>  ${actionBean.myTable}
> 
> That's all there is to it.
> 
> You can also use JMesa's JSP tag library. Again, there's not much to
> integrating with Stripes. Just another tag library.
> 
> Cheers,
> Freddy
> 
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by 
> 
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev 
> _______________________________________________
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users

Joaquin Valdez
joaqu...@mind.net
(541) 690-8593





------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to