Revision: 499
          http://svn.sourceforge.net/stripes/?rev=499&view=rev
Author:   mongus
Date:     2007-03-27 06:30:38 -0700 (Tue, 27 Mar 2007)

Log Message:
-----------
Fix for STS-314, InputOptionsCollectionTag NPE on null collection

Modified Paths:
--------------
    
branches/1.4.x/stripes/src/net/sourceforge/stripes/tag/InputOptionsCollectionTag.java

Modified: 
branches/1.4.x/stripes/src/net/sourceforge/stripes/tag/InputOptionsCollectionTag.java
===================================================================
--- 
branches/1.4.x/stripes/src/net/sourceforge/stripes/tag/InputOptionsCollectionTag.java
       2007-03-27 12:14:25 UTC (rev 498)
+++ 
branches/1.4.x/stripes/src/net/sourceforge/stripes/tag/InputOptionsCollectionTag.java
       2007-03-27 13:30:38 UTC (rev 499)
@@ -126,6 +126,9 @@
      *         not present on the beans in the collection, or output cannot be 
written.
      */
     public int doStartTag() throws JspException {
+       if (this.collection == null)
+               return SKIP_BODY;
+       
         String labelProperty = getLabel();
         String valueProperty = getValue();
 


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to