Matt RaibleMatt Raible is a Web Developer and Java Champion. Connect with him on LinkedIn.

The Angular Mini-Book The Angular Mini-Book is a guide to getting started with Angular. You'll learn how to develop a bare-bones application, test it, and deploy it. Then you'll move on to adding Bootstrap, Angular Material, continuous integration, and authentication.

Spring Boot is a popular framework for building REST APIs. You'll learn how to integrate Angular with Spring Boot and use security best practices like HTTPS and a content security policy.

For book updates, follow @angular_book on Twitter.

The JHipster Mini-Book The JHipster Mini-Book is a guide to getting started with hip technologies today: Angular, Bootstrap, and Spring Boot. All of these frameworks are wrapped up in an easy-to-use project called JHipster.

This book shows you how to build an app with JHipster, and guides you through the plethora of tools, techniques and options you can use. Furthermore, it explains the UI and API building blocks so you understand the underpinnings of your great application.

For book updates, follow @jhipster-book on Twitter.

10+ YEARS


Over 10 years ago, I wrote my first blog post. Since then, I've authored books, had kids, traveled the world, found Trish and blogged about it all.

[DisplayTag] SQL Tags and Editable Tables

Fabrizio (the lead developer on the display tag project), took my hack for supporting JSTL's SQL Tag and turned it into a nice feature. The display tag now supports Maps and you can iterate through JSTL's Results using the regular tag or the EL-enabled version. Download nightly build - now automated!

As an exercise for the NYC conference, I implemented an editable table using the display tag. It's a bit ugly, but it does work. You're more than welcome to use it and improve it. ;-) To see it, checkout the following demo pages in AppFuse:

Any feedback would be great.

Posted in Java at Mar 11 2004, 08:52:26 PM MST 8 Comments
Comments:

hai i wanted a displaytag which must be editable and checkbox so that i can do some operation one more problem which i m getting that i wanted to take checkbox value from database so that i can do some operation basically i want to delete that record on the basis of that id. plz help me even i m not able to open link which u have given in this page. thanks ritesh

Posted by ritesh kumar on June 04, 2004 at 08:20 AM MDT #

!Hi all, I am using checkboxes in the Display table. I am having lot of rows in the table with checkbox. I want to save some of them by checking the checkbox.My table like this {{{ <display:table name="REQUEST_costList" border="0" pagesize="20" > <display:column property="sellingPrice" title="SellingPrice"/> <display:column property="costingPrice" title="CostingPrice"/> <display:column width="5" title="Action"> <input type="checkbox" name="action" value="Y" /> </display:column> }}} After checking the checkboxes i am submitting the form. I have to save the checked rowes only. But i can't get the values for the checkboxes. How can i achieve this please help me. Thanks in advance By, Suresh [email protected]

Posted by Suresh on September 13, 2004 at 10:30 PM MDT #

I'm assuming you're populating your initial list in an Action - and then if a column is sortable, it's resubmitting to that Action - or possibly another one. In the Action that's being submitted to - grab the ids that are submitted by the checkboxes and only fetch the rows with those ids from the database. Then set those as the list to be viewed.

Posted by Matt Raible on September 14, 2004 at 05:30 AM MDT #

I am trying to use Editable Display tag table. I have taken the source code from the http://demo.appfuse.org/appfuse/demos/users-edit.jsp.

But there is no data shown on the page. It shows 'Nothing found to display' and that is quite surprising to me as these values are hardcoded in the example.

AM I missing some thing? or can anybody tell me where to get the demo source code?

Thanks,
Regards,
Kapil

Posted by Kapil Jain on October 09, 2005 at 06:18 AM MDT #

455

Posted by 203.116.231.225 on April 10, 2006 at 03:05 AM MDT #

matt, Can you please post the full source code for the above 3 jsp pages thanks jim

Posted by jim on March 10, 2008 at 11:06 PM MDT #

The following should work:

Posted by Matt Raible on March 11, 2008 at 11:39 PM MDT #

I am also trying to create and Editable Display tag table, but I am putting the table in a portlet and I tried to use the example source provided by http://demo.appfuse.org/appfuse/demos/users-edit.jsp, but I am also getting 'Nothing found to display'. I just copied and the JSP source provided on the website, but it does not seem to be working. Is there something missing with this file.

Thanks,
Linh

Posted by Linh on October 12, 2010 at 12:44 PM MDT #

Post a Comment:
  • HTML Syntax: Allowed