I just pulled down this morning's snapshot.  I compiled and ran it and still got

COLUMN SIZE IS 6.333333333333333

The full code I was using is this:

  #if ($jpPop)
    #set ($popSize = $jpPop.size())
    #set ($colSize = ($popSize / 3) - 1)
    #if (($popSize % 3) > 0)
      #set ($colSize = $colSize + 1)
    #end
    #set ($i = 0)
  #end
COLUMN SIZE IS $!colSize

Which works in 1.4 to give me the correct number of columns.  I am also using 
OJB so the size() returned is a collection retrieved form the database.







---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to