Hello,
I could use your advice on how to insert an html attribute into a dialog
control (input text) tab.
The issue: I have an input text in a magnolia dialog which should be disabled
-> something like this:
<input type="text" style="width: 100%;" class="mgnlDialogControlEdit" value=""
id="classification" name="classification" disabled="disabled"/>
So, I have to insert the disabled="disabled" attribute into that input text
tab.
I've created a custom control which extends DialogEditWithButton. In this
control, I've overriden the method: public void drawHtml(Writer out) throws
IOException. In this method, the input text tab is created by an
info.magnolia.cms.gui.control.Edit object: control.
The problem: The call to void
info.magnolia.cms.gui.control.ControlImpl.setHtmlInter(String s) is not
returning the expected result: =>
control.setHtmlInter("disabled=\"disabled\""); is not inserting the attribute
into the input text tab. The log file shows me that the execution of the
customed control is working ok, so the problem is only for the
control.setHtmlInter("disabled=\"disabled\""); method call.
Question: Am I doing something wrong here or is there any other way of handling
this issue?
Thanks a lot for any help/suggestion/ideea,
Ana Osman
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------