Forums

Home » Alloy UI » English

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Ranga Rao Bobbili
how to customize liferay-ui.tld(input-date)?
September 8, 2011 5:03 AM
Answer

Ranga Rao Bobbili

Rank: Regular Member

Posts: 152

Join Date: July 20, 2007

Recent Posts

Hi All,

Could you please provide me the customization steps for liferay-ui:input-date. I want to add 4 attributes in liferay-ui:input-date tag(monthRangeStart,monthRangeEnd,dayRangeStart,dayRangeEnd).

Environment:
liferay-portal-tomcat-6.0.5

Thanks in advance...........................

Regards,
Ranga Rao Bobbili
Adaequare Info Pvt Ltd,
Hyderabad,India.
Ranga Rao Bobbili
RE: how to customize liferay-ui.tld(input-date)?
September 30, 2011 10:25 PM
Answer

Ranga Rao Bobbili

Rank: Regular Member

Posts: 152

Join Date: July 20, 2007

Recent Posts

My dear forum members, do we have any other alternative solution?

Thanks in advance.............
Hitoshi Ozawa
RE: how to customize liferay-ui.tld(input-date)?
October 2, 2011 3:57 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7952

Join Date: March 23, 2010

Recent Posts

Following JavaDoc is old, but add to the following class:

http://61.153.44.88/javadoc/liferay/4.2/util-taglib/com/liferay/taglib/ui/InputDateTag.java.html
Jelmer Kuperus
RE: how to customize liferay-ui.tld(input-date)?
October 2, 2011 7:30 AM
Answer

Jelmer Kuperus

Rank: Liferay Legend

Posts: 1192

Join Date: March 10, 2010

Recent Posts

I am not sure what you mean. This tag implements javax.servlet.jsp.tagext.DynamicAttributes and as such can already accept attributes that are not explicitly defined in the tld.

You can change the output of the tag by creating a jsp hook for html/taglib/ui/input_date/page.jsp
Hitoshi Ozawa
RE: how to customize liferay-ui.tld(input-date)?
October 2, 2011 4:56 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7952

Join Date: March 23, 2010

Recent Posts

Defined in WEB-INF\tld\liferay^ui.tld line #880

Line #972
<attribute>
<name>yearValue</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<dynamic-attributes>true</dynamic-attributes> <===???
</tag>
Srikanth Davuluri
RE: how to customize liferay-ui.tld(input-date)?
December 21, 2011 8:35 PM
Answer

Srikanth Davuluri

Rank: Junior Member

Posts: 25

Join Date: June 7, 2011

Recent Posts

Hi All,

i want to disable previous days,months and years from date picker select window.

Example: in date picker i want disable dates before(start date:01/05/2010) .

Thanks in advance...

Regards
Srikanth Davuluri.