title: How to redirect to a new VF page with command link and outputlink?
body: <p>I have a list of Assets</p>
  
  <pre><code>Name:  column 2:  etc
  
  A1      C1        b1
  A2      c2        b2
  </code></pre>
  
  <p>When I click on A1, I call  action="{! assetClicked}" within  to do some logic, but I cannot redirect it to another Visual Force Page
  If I use  I can link to another VF page, but cannot do  action="{! assetClicked}" </p>
  
  <p>Is there a way to combine them together or some other way around?</p>
  
  <p>Page Code:</p>
  
  <pre><code>&lt;apex:form &gt;
    &lt;apex:commandLink action="{! assetClicked}" value="{!wn.name}" id="theCommandLink"&gt; 
      &lt;apex:param value="{!wn.name}" name="id" assignTo="{!selectedAsset}" &gt;&lt;/apex:param&gt;
      &lt;apex:outputLink value="/{!wn.id}" id="eventlink"&gt;{!wn.name}&lt;/apex:outputLink&gt;
    &lt;/apex:commandLink&gt; 
  &lt;/apex:form&gt;
  </code></pre>