Passing criteria to a View (Embedded)

Passing criteria to a View (Embedded)

I just cant seem to make my view display records where a field has a specified value - should be sooo simple!

For example;

<div elName='zc-component' viewLinkName='Garage_Details' params='Ref=1'>Loading View...</div>

Where Ref is my field and 1 is its value

what am i doing wrong :-( ?

(have tried ref=<%=1%>) & many many other syntax

Help!