• A Wannabe
  • 0 Points
  • Member since 2012

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
  • 1

I have two VF pages and Page 1 has some data which I want in Page 2, is it possible to get this data using JavaScript/JQuery? The constraint here is that the hyperlink to navigate to Page 2 is in a VisualForce template which has its own controller separate from those of both the Pages which use this template.

I am trying to output a custom picklist in a visualforce page


This works fine - but I'm lost to how to make it display as a drop-down


<apex:page controller="sampleCon">
    <apex:form >
        <apex:selectList value="{!countries}" multiselect="true">
            <apex:selectOptions value="{!items}"/>

        <apex:commandButton value="Test" action="{!test}" rerender="out" status="status"/>

    <apex:outputPanel id="out">
        <apex:actionstatus id="status" startText="testing...">
            <apex:facet name="stop">
                <apex:outputPanel >
                    <p>You have selected:</p>
                    <apex:dataList value="{!countries}" var="c">{!c}</apex:dataList>


Please can someone point me in the right direction - thanks