I have two solar panels mounted on my railings. I replaced the wires with 1" tubing and various Ts and +s that I got at a boat store. The railings are mounted on pieces of aluminum and have white plastic clamps designed to use on this tubing. The panels mount to the top rail and I support them with props made of 1" x 4" cedar with a 45 degree angle at one end and a half circle at the other end to sit on the lower rail. I also have light line to hold them in place.
Had them for 20,000 miles and only one serious problem. We were knocked down and I had pivotted the panels down against the railings before hand. I also tied them down which might have been a mistake. When we were laid over a wall of water came from the other side of the boat, over the cockpit and hit one of the panels. It is was not tied it might have done better but it was smashed outward (the safety glass top was all bent and shattered).
We have two 85 w panels and it handles the refrigeration in tropical conditions without a probem (if it is sunny!)
Back in the water in Grenada - with new main and #2 and cockpit canvas (Santa came early). Will spend the winter and early spring in the Caribbean and then head to Bermuda and the northeast US. Still trying to decide if we will bring the boat to Canada, either in 2015 or 2016.