Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

Component.Apex.InputField  result = new Component.Apex.InputField(); = '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 '14 at 18:36
up vote 7 down vote accepted

No it's not possible.

last sentence says:

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

share|improve this answer

Your Answer


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.