私はxhtmlページを持っています
<p:outputPanel>
<p:outputLabel id="temp1"
for="temp11" value="Start Date:" />
<p:calendar id="startDateId"
widgetVar="startDateFromVar" title="#"
showOn="button" disabled="true"/>
</p:outputPanel>
豆
private String date;
/**
* @return the Date
*/
public String getDate() {
date = "11/10/2012 19:15";
return date;
}
/**
* @param Date the Date to set
*/
public void setDate(String ate) {
this.date = date;
}
xhtmlで日付を表示するには? この行を p:calendar
value=#{bean.date}に追加しています
カレンダー アイコンだけでなく、日付も表示されません。
どんな助けでも大歓迎です。