Search code examples
htmlpreferencesoracle-adfuser-preferences

how to get the preference value in HTML page?


I have a preference set in adfmf-feature and in amx page I get it using <amx:inputText label="url" id="it1" value="#{preferenceScope.feature.adf.mobile.sample.ProfilePage.showProfileImage.showImage}"/>.

But if i use the same format for HTML <input type="username" name="xyz" id="user" value= "#{preferenceScope.feature.adf.mobile.sample.username}" /> i am not able to get the result. i get #{preferenceScope.feature.adf.mobile.sample.username} itself as the output in the text box! The values here are just for identification purpose. They match the their respective id's in my application

Should it be written in Javascript side? or is there any other way to get the value and set?

Thank you


Solution

  • The answer to my question is here

    http://deepakcs.blogspot.in/2013/08/adf-mobile-how-to-get-preferences-value.html