I currently have a WOSubmit button. The submit button calls a function that expects an integer to be passed to it. In PB I have been trying to get the submit button to call the function and submit the static integer for the button. In the wod file im trying to assign action = addtocart(45);, 45 being the static integer. The main class file that holds the init for the method that is waiting for the variable looks like public WOComponent addtocart(int price). Now when I switch back to WYSIWYG mode I get an error saying missing }. Is there a different way to pass variables from function to function in WO or am I making a stupid mistake. Thanks for your help, Sam
