Re: Numeric Filter on TextField

2012-01-06 Thread codix
Thank you for the reply. I was thinking of integrating it not on the HTML
markup but on the class itself.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Numeric-Filter-on-TextField-tp4264649p4268648.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Tooltips on AjaxButton

2011-12-15 Thread codix
I have this code:


class ExportToolbar extends AbstractToolbar {
public ExportToolbar(final DataTable table,
AjaxButton addbtn,
AjaxButton delbtn,
ExportPredefinedListButton savebtn, 
DropDownChoice ddc) {
super(table);
WebMarkupContainer span1 = new 
WebMarkupContainer(span1) {
@Override
protected void onComponentTag(ComponentTag tag) 
{
tag.put(colspan, 
table.getColumns().length);
}
};
add(span1);
span1.add(ddc);
span1.add(addbtn);
span1.add(delbtn);
span1.add(savebtn);

}
}


How do you add tooltips for the buttons?

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Tooltips-on-AjaxButton-tp4202945p4202945.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Bookmarkable link within AjaxLazyLoadPanel

2011-10-27 Thread codix
I am trying to put a link inside an AjaxLazyLoadPanel using
BookmarkablePageLink and Label. However, I always run into a close tag not
found error.
Here's my Java code:


add(new AjaxLazyLoadPanel(itemcnt){
@Override
public Component getLazyLoadComponent(String id){   
int count = 0;

PageParameters params = null;

BookmarkablePageLink link = new BookmarkablePageLink(id,
Page.class,params);

add(link);

link.add(new Label(+count);

return link;

   }
});


My HTML code is as follows:




--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Bookmarkable-link-within-AjaxLazyLoadPanel-tp3943587p3943587.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Bookmarkable link within AjaxLazyLoadPanel

2011-10-27 Thread codix
Sorry about that.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Bookmarkable-link-within-AjaxLazyLoadPanel-tp3943587p3943642.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Bookmarkable link within AjaxLazyLoadPanel

2011-10-27 Thread codix
Here is the code:

http://pastebin.com/uQnU464W http://pastebin.com/uQnU464W 

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Bookmarkable-link-within-AjaxLazyLoadPanel-tp3943587p3946743.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Multiple Data Providers for DataTable

2011-09-28 Thread codix
Is it possible to implement one table with different providers? My problem is
that there are some entries in my table with values coming from different
POJOs. I don't have any idea how to mix different POJOs in one data
provider.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Multiple-Data-Providers-for-DataTable-tp3849652p3849652.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Multiple Data Providers for DataTable

2011-09-28 Thread codix
I'm sorry but I don't get your statement. Currently, I have one data provider
and a data table. To populate the rows, I call another panel where a Label
is added. Currently I am using a POJO with a particular type. Unfortunately,
other data calls for other POJOs with different types. Trying to cast them
in a getDefaultModel() method returns an error that it cannot be casted.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Multiple-Data-Providers-for-DataTable-tp3849652p3850446.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org