Comments for rossenstoyanchev.org Blog http://rossenstoyanchev.org/blog Professional blog about enterprise software development Tue, 29 Nov 2011 22:14:17 -0800 hourly 1 http://wordpress.org/?v=3.0.5 Comment on Bean Validation Messages in JSF 2 by Administrator http://rossenstoyanchev.org/blog/2010/10/03/bean-validation-messages-in-jsf-2/comment-page-1/#comment-82789 Administrator Tue, 29 Nov 2011 22:14:17 +0000 http://rossenstoyanchev.org/blog/?p=37#comment-82789 Hartwig, yes that works but then you have to add the message to every field in addition to the label on the input field. Hartwig, yes that works but then you have to add the message to every field in addition to the label on the input field.

]]>
Comment on Bean Validation Messages in JSF 2 by Hartwig http://rossenstoyanchev.org/blog/2010/10/03/bean-validation-messages-in-jsf-2/comment-page-1/#comment-82508 Hartwig Fri, 18 Nov 2011 20:42:25 +0000 http://rossenstoyanchev.org/blog/?p=37#comment-82508 Why not annotating: @NotEmpty(message="Credit card is a required field") ? At least for me this works... Why not annotating:
@NotEmpty(message=”Credit card is a required field”) ?
At least for me this works…

]]>
Comment on Bean Validation Messages in JSF 2 by Matt Handy http://rossenstoyanchev.org/blog/2010/10/03/bean-validation-messages-in-jsf-2/comment-page-1/#comment-80538 Matt Handy Mon, 18 Jul 2011 12:23:20 +0000 http://rossenstoyanchev.org/blog/?p=37#comment-80538 Thank you, this works! Thank you, this works!

]]>
Comment on Bean Validation Messages in JSF 2 by Daniel Camargo http://rossenstoyanchev.org/blog/2010/10/03/bean-validation-messages-in-jsf-2/comment-page-1/#comment-79892 Daniel Camargo Sat, 11 Jun 2011 13:59:34 +0000 http://rossenstoyanchev.org/blog/?p=37#comment-79892 You can also define the key: javax.faces.validator.BeanValidator.MESSAGE_detail In case you need the summary and the detail message displayed. You can also define the key:

javax.faces.validator.BeanValidator.MESSAGE_detail

In case you need the summary and the detail message displayed.

]]>
Comment on Adding Ajax Behavior to the Displaytag Library by Saqib Chowdhry http://rossenstoyanchev.org/blog/2007/10/14/add-ajax-to-the-displaytag-library/comment-page-1/#comment-72637 Saqib Chowdhry Wed, 27 Oct 2010 17:24:04 +0000 http://rossenstoyanchev.org/blog/?p=5#comment-72637 awesome Ross!!! just found this suggestion. I want to override the DisplayTag's click sort headers so that sorting happens with an ORDER BY clause in the SQL query. If i have 5000 rows in the list, i don't want the sorting to be done in memory... i'd rather fire another query and let the DB engine take care of it. I will give this a try... hopefully it works with jQuery instead of Dojo. awesome Ross!!! just found this suggestion. I want to override the DisplayTag’s click sort headers so that sorting happens with an ORDER BY clause in the SQL query. If i have 5000 rows in the list, i don’t want the sorting to be done in memory… i’d rather fire another query and let the DB engine take care of it.

I will give this a try… hopefully it works with jQuery instead of Dojo.

]]>
Comment on @MVC – The Not So Obvious by Saqib Chowdhry http://rossenstoyanchev.org/blog/2008/10/14/mvc-the-not-so-obvious/comment-page-1/#comment-71498 Saqib Chowdhry Fri, 15 Oct 2010 16:05:04 +0000 http://rossenstoyanchev.org/blog/2008/10/14/mvc-the-not-so-obvious/#comment-71498 Hey Ross, Hope all is well... saw that you have a new role as the Spring Web Flow development engineer lead. Congrats! I am using Spring MVC 2.5 at work these days, and this is my first jump into Spring and Spring MVC full-time. I am having some issues understanding all the different methods that are available to the controllers like: showForm formBackingObject referenceData onBind etc... and the sequence in which all of these methods are called in relation with the handleRequest and onSubmit methods. It would be very helpful if you can point me to a diagram or PowerPoint presentation that would give me that sequence diagram laid out well. Appreciate the help, and all the best to you in your new role! Hey Ross,

Hope all is well… saw that you have a new role as the Spring Web Flow development engineer lead. Congrats!

I am using Spring MVC 2.5 at work these days, and this is my first jump into Spring and Spring MVC full-time. I am having some issues understanding all the different methods that are available to the controllers like:

showForm
formBackingObject
referenceData
onBind
etc…

and the sequence in which all of these methods are called in relation with the handleRequest and onSubmit methods. It would be very helpful if you can point me to a diagram or PowerPoint presentation that would give me that sequence diagram laid out well.

Appreciate the help, and all the best to you in your new role!

]]>
Comment on Dojo Unit Tests (DOH) And Firefox 3 by Robin Gaal http://rossenstoyanchev.org/blog/2009/01/03/dojo-unit-tests-and-firefox-3/comment-page-1/#comment-47318 Robin Gaal Wed, 07 Apr 2010 11:39:11 +0000 http://rossenstoyanchev.org/blog/2009/01/03/dojo-unit-tests-and-firefox-3/#comment-47318 Here is an easier workaround to use D.O.H. with mozilla 3: about:config (type in addressbar) set attribute : security.fileuri.strict_origin_policy to false Here is an easier workaround to use D.O.H. with mozilla 3:

about:config (type in addressbar)
set attribute : security.fileuri.strict_origin_policy to false

]]>
Comment on Dojo Unit Tests (DOH) And Firefox 3 by robin http://rossenstoyanchev.org/blog/2009/01/03/dojo-unit-tests-and-firefox-3/comment-page-1/#comment-47005 robin Wed, 31 Mar 2010 11:14:20 +0000 http://rossenstoyanchev.org/blog/2009/01/03/dojo-unit-tests-and-firefox-3/#comment-47005 1 year later and still not fixed... 1 year later and still not fixed…

]]>
Comment on GSP and JSP by Administrator http://rossenstoyanchev.org/blog/2009/08/18/gsp-and-jsp/comment-page-1/#comment-43863 Administrator Sat, 09 Jan 2010 10:49:22 +0000 http://rossenstoyanchev.org/blog/2009/08/18/gsp-and-jsp/#comment-43863 You're right juhu. Displaytag is a very feature-rich tag library (perhaps a little bit to the detriment of clarity) whereas the Grails paginate tag is more narrowly focused on pagination as its name indicates. What I had in mind was that displaytag wraps the generation of the entire table, which in turn requires you to know how to customize its style, links, query parameters, etc. You’re right juhu. Displaytag is a very feature-rich tag library (perhaps a little bit to the detriment of clarity) whereas the Grails paginate tag is more narrowly focused on pagination as its name indicates. What I had in mind was that displaytag wraps the generation of the entire table, which in turn requires you to know how to customize its style, links, query parameters, etc.

]]>
Comment on GSP and JSP by juhu http://rossenstoyanchev.org/blog/2009/08/18/gsp-and-jsp/comment-page-1/#comment-42959 juhu Tue, 15 Dec 2009 16:59:02 +0000 http://rossenstoyanchev.org/blog/2009/08/18/gsp-and-jsp/#comment-42959 But Displaytag does more then paginate. It also groups, format and export the lists to csv, pdf, excel an xml. But Displaytag does more then paginate. It also groups, format and export the lists to csv, pdf, excel an xml.

]]>