Archive

Archive for May, 2007

Monaco F1 Grand Prix 2007

30 May, 2007 Comments off

I was lucky enough to be at the Monaco F1 Grand Prix this year after a friend (John “Diddy” Donaldson) won a trip aboard a luxury yacht for the weekend. After nail biting coin toss I was invited along to literally the trip of a life time. So here are the photos, videos and links:

PHOTOS
http://www.flickr.com/photos/justinpics/sets/72157600282065312/
http://www.flickr.com/photos/justinpics/sets/72157600286256602/

VIDEOS
http://www.youtube.com/view_play_list?p=B39BC24DE3FD196F

LINKS – In case you want to hire the yacht
http://www.luxuryachts.net/yacht.asp?y=starofthesea

http://www.cnconnect.com/charter/yachtdetail.aspx?id=3929

http://www.csoyachts.com/view_yacht.php?ref_bat=0327018

The only downside of the trip was the day after the race when depression sets in as you realise your not really a millionaire!

Categories: Personal

Monorail + NVelocity + How to find out if your in the first item of a foreach loop?

17 May, 2007 Comments off

A colleague needed to add a button to the first row of a table but how do you do this in a foreach loop?

NVelocity has a property called $velocityCount which you can check within the foreach loop:

<table>
#foreach($detail in $details)
  <tr>
    <td>
      $detail.ShortText)
      #if($velocityCount == 1) First Row! #end
    </td>
  </tr>
#end
</table>
Categories: MonoRail