Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Kiran Kumar Boyini
How to make aui:select as read only status in liferay 6.1
March 7, 2013 2:03 AM
Answer

Kiran Kumar Boyini

Rank: Expert

Posts: 277

Join Date: June 2, 2011

Recent Posts

Hi All,

How to make aui:select as read only status,not the disable status.

Here user has to see the selected value in aui: select,but not allow to any selection of values and I have to get the selected value in controller.

I tried with disabled property,but the value is not presenting in controller.

Regards,

Kiran.
mohammad azaruddin
RE: How to make aui:select as read only status in liferay 6.1
March 7, 2013 6:05 AM
Answer

mohammad azaruddin

Rank: Expert

Posts: 443

Join Date: September 17, 2012

Recent Posts

Hi
Try this <aui:input type="text" id="etime" name="estimatetime" readOnly />
Kiran Kumar Boyini
RE: How to make aui:select as read only status in liferay 6.1
March 7, 2013 10:52 PM
Answer

Kiran Kumar Boyini

Rank: Expert

Posts: 277

Join Date: June 2, 2011

Recent Posts

Thank you mohammad azaruddin.
Philippe Thibault
RE: How to make aui:select as read only status in liferay 6.1
March 26, 2013 8:16 AM
Answer

Philippe Thibault

Rank: New Member

Posts: 9

Join Date: September 11, 2012

Recent Posts

Try this <aui:input type="text" id="etime" name="estimatetime" readOnly />


Attribute readOnly doesn't work, at least on 6.1.1-ce-ga2.

The correct syntax is readonly="true".

Philippe
mohammad azaruddin
RE: How to make aui:select as read only status in liferay 6.1
March 26, 2013 10:46 AM
Answer

mohammad azaruddin

Rank: Expert

Posts: 443

Join Date: September 17, 2012

Recent Posts

HI
The correct syntax is readonly="true"

thank you for correcting this
Regards
azhar