Column names (at least with DefaultDataTable) are supplied via an
IModel in the constructor of AbstractColumn, so you can supply
whatever you want. Those values can come from a database, properties
files, etc. You can use a ResourceModel to load the values from your
page/component's properties fi
I am looking for some design patterns or best practices for configuring web
page fields.
My web page has a table, which is dynamically created by my API (Wicket).
Currently all the column names are hard coded in the java but I want to make
it externalizable that way I can add/remove/modify fie
Yes this worked! Thank you very much.
I have another question, If I want to make the complete column header as
clickable, how do I do that.
That is, currently it supports only clicking on column name, but I want to
have option to click anywhere on that table column header for sorting.
Is it p
On Fri, Oct 15, 2010 at 1:25 AM, EC wrote:
> Hi,
> I am trying to create a simple stateless app according to:
> https://cwiki.apache.org/WICKET/stateless-pages.html
> and the example in the source.
>
> Whenever I access this page, wicket tries to get an instance of
> javax.servlet.http.HttpSessio
>
> i got this error:
> "org.apache.wicket.WicketRuntimeException: There is no application attached
> to current thread main"
> Could i have some insights on why this happened?
>
Yeah, it happened because your application isn't available (i.e., calling
Application.get() returns null or errors). W
Hi,
try to change your onUpdate method:
protected void onUpdate(AjaxRequestTarget target) {
TablePanel newTp = new TablePanel("tablePanel",columns,new
PersonBeanProvider(searchFilter),12);
tp.replaceWith(newTp);
tp = newTp;
target.addComponent(tp);
--
View this m
Try adding setStatelessHint( true ) in the HomePage constructor.
public class HomePage extends WebPage {
public HomePage() {
add(new Label("label", new Model("Hello, World")));
setStatelessHint( true ); // <- new
}
}
--
View this message in context:
http://apac
Disable it completely is easy - just use any JavaScript library that can
handle the browser buttons and add no-op handlers
We use http://code.google.com/p/reallysimplehistory/ with some minor
modifications.
Check wicketstuff-jquery project. There is an example with another JS
solution.
On Fri, Oc
Does anyone have any resources on BackButton support with Wicket? My
application, although complex, is all one WebPage, it uses Ajax to switch
panels dynamically. What would be the best way to handle the back button in
this case? Ideally, I would like a way to disable it completely.
--
View this
Hi, try:
yourListView.setReuseItems(true);
>From the JavaDoc:
*WARNING:* though you can nest ListViews within Forms, you HAVE to set the
setReuseItems property to true in order to have validation work properly. By
default, setReuseItems is false, which has the effect that ListView replaces
all c
Hey!
I have ListView and every ListItem has multiple AjaxEditableLabels and
one FeedbackPanel added to it. Each FeedbackPanel should only show
messages that were reported within the same listitem.
I tried the following but it didn't work:
protected void populateItem(final ListItem item) {
Hallo,
my employer is currently looking for one new fulltime Java/Wicket-Developer in
Berlin.
For those who are interested, here is the link to the job description:
http://bit.ly/9iuEgL (sorry, it's in german only)
Please don't reply to me directly, but instead to the address mentioned on the
Thanks for the reply
I tried the code, but it seems that calling it from java's main() method
doesn't work.
i got this error:
"org.apache.wicket.WicketRuntimeException: There is no application attached
to current thread main"
Could i have some insights on why this happened?
I think i'll have to
It is not.
You need wicket-datetime
On Fri, Oct 15, 2010 at 1:59 AM, wrote:
> Hello,
>
> Is yui included in wicket-extions?
> My pom.xml says:
> org.apache.wicket
>wicket-extensions
>${wicket.version}
>
> But org.apa
hi,
can we know where the Utils.replaceAll, escapeHighEnd() and
WebPageConstants.SRC_URL_PATTERN came from?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/WebPage-geting-string-tp2993717p2996622.html
Sent from the Users forum mailing list archive at Nabble.com.
---
Hello,
I've just come across wicket and started playing around - so far, I encounterd
some issues:
My first issue is:
Given a table and a Panel:
//SomePage.java
private TablePanel tp;
tp = new TablePanel("tablePanel",columns,new
PersonBeanProvider(searchFilter),12);
//TablePanel.java
class Tab
16 matches
Mail list logo