+ Start a Discussion
Vigneshwaran LoganathanVigneshwaran Loganathan 

sending multiple parameters from one VF to another

Hi All, 

I have a form-page with some fields.. Upon entering values, I can click on a button which takes me to Page 2.. I am using different Page and Controller here.. Earlier I used to send parameters from URL and it worked fine.. 
Now, I have added a new Multi-Picklist field to Page 1 - This field has around 20 values.. In case, If I select all values and append in URL, will it work fine? Or do we have any alternatives to achieve this? 

 
public PageReference getCreateNewAccountPage()
{

// URL Parameter codes here

//territoryNameStr string in below URL contains all Multi-values 

PageReference cnaPr = new PageReference('/apex/'+ GAS_CREATE_NEW_ACCOUNT_PAGE_URL + 
                            '?aType=' + selectedAccountType + passOnParams + 
                            '&defaultCountry=' + defaultCountry +  
                            '&territoryname='+territoryNameStr + '&retUrl=' + GAS_TAB_URL +  
                            '&aggSpendHCP='+aggSpendHCP);
}
Thanks
Vignesh