Take the 2-minute tour ×
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It's 100% free, no registration required.

Is it possible to use html-pass-throug attributes at Dynamic Visualforce Components?

Component.Apex.InputField  result = new Component.Apex.InputField();
result.style = 'font-size: 9px';
result.title = 'test'; // doesn't work, because attribute is missing in InputField implementation
result.htmltitle = 'test'; // doesn't work either
result.html_title = 'test'; // doesn't work either
share|improve this question
    
I think this attribute should be supported by InputField because most other components support it. It seems to be forgotten. –  Uwe Heim Aug 27 at 18:36

1 Answer 1

up vote 5 down vote accepted

No it's not possible.

https://www.salesforce.com/us/developer/docs/pages/Content/pages_html_features_pass_through_attributes.htm

last sentence says:

Pass-through attributes aren’t supported in dynamic Visualforce.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.