English 中文(简体)
如何躲藏/展示。 日历。 高等教育文凭
原标题:How to hide / show yui.calendar.DatePicker in wicket

我希望你能够帮助我。

I m使用一个日期Text Field和一个日期Picker(从业者到业者),同时添加到一个网上市场,其产出为“ExputMarkupId”和“ExputMarkupPlaceholderTag”。

我想能够确定集装箱的可见度,但当我把集装箱从真实到虚假时,日皮cker不再见(我猜想,它不必与它做的是不要在超文本中提及的刺.),我必须重新上整页(并松散输入数据),以便让日子再次看到。 东方省没有问题。 是否有良好办法解决这一问题?

JAVA:

invoiceDateFromField = new DateTextField("invoiceDateFromField", new PropertyModel(this, "invoiceDateFrom"), new PatternDateConverter("yyyy-MM-dd", true));
    invoiceDateFromField.setOutputMarkupPlaceholderTag(true);
    invoiceDateFromField.add(new DatePicker());
    containsAllContainer.add(invoiceDateFromField);

AjaxLink onClick:

containsAllContainer.setVisible(!containsAllContainer.isVisible());
target.add(containsAllContainer);//Edit

我试图将日期从发票DateFrom Field中删除,然后在集装箱被装上可见面时添加一个新的标记,但似乎也没有工作。

Thanks!
Olle

最佳回答

当你在Wicket发现电线时,电离层电离层会失去与电离层电离层的连接(因为电离层流离层出走)。 因此,当你在网页上加插时,你对“青年倡议”日历的介绍不再在OMM中有任何关联。 您必须保证,每次将日期Text Field与Wicket重新命名时,都会更新你提到日历的新例子。

问题回答

暂无回答




相关问题
selected text in iframe

How to get a selected text inside a iframe. I my page i m having a iframe which is editable true. So how can i get the selected text in that iframe.

How to fire event handlers on the link using javascript

I would like to click a link in my page using javascript. I would like to Fire event handlers on the link without navigating. How can this be done? This has to work both in firefox and Internet ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Clipboard access using Javascript - sans Flash?

Is there a reliable way to access the client machine s clipboard using Javascript? I continue to run into permissions issues when attempting to do this. How does Google Docs do this? Do they use ...

javascript debugging question

I have a large javascript which I didn t write but I need to use it and I m slowely going trough it trying to figure out what does it do and how, I m using alert to print out what it does but now I ...

Parsing date like twitter

I ve made a little forum and I want parse the date on newest posts like twitter, you know "posted 40 minutes ago ","posted 1 hour ago"... What s the best way ? Thanx.

热门标签