You need to sign in to do that
Don't have an account?
Amegi18
How do you pass an xml variable to an apex ext class?
Hi, I am exporting an excel file using xml.
I'm thinking of passing the page number to my apex ext class
but I don't know how to use variables in xml then be passed in apex.
Isn't this how to set the page number on the footer of the worksheet?
<Footer x:Margin="0.3" x:Data="&P/&N Page"/>
--> results as 1/2 Page
Can somebody please tell me how to pass that &P in an apex class?
I usually use <apex:param> for passing variables but in this case,
I don't have the slightest idea how.
Thanks in Advance
because i believe there is no "<Footer> " tag in VF
& if it just a string in VF then you can pass it by any mean
one way is
create a <apex:inputhidden value="{!stringpropertyofapexclass}"> & on a event call javascript & set the value in hiddent field using document.getelementbyid("hidienfieldID").value
& call a action fuction
Good Morning,