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
  • 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

No it's not possible.


last sentence says:

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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