Cannot create statless page

2010-10-15 Thread EC
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.HttpSession. Our java server traps that and notifies via an

regression

2010-10-15 Thread danisevsky
Hallo, fix this issue https://issues.apache.org/jira/browse/WICKET-2886 broke Brix Menu plugin, more info here http://groups.google.com/group/brix-cms-discuss/browse_thread/thread/a1fe187920858b36 Could someone take a look? - To

Re-Rendering Table after submitting results in error

2010-10-15 Thread jluehr
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

Re: WebPage: geting string

2010-10-15 Thread elesi
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.

Re: Yui not included in wicket-extensions?

2010-10-15 Thread Martin Grigorov
It is not. You need wicket-datetime On Fri, Oct 15, 2010 at 1:59 AM, mailinglists_in...@arcor.de wrote: Hello, Is yui included in wicket-extions? My pom.xml says: dependency groupIdorg.apache.wicket/groupId artifactIdwicket-extensions/artifactId

Re: Getting the html output of a wicket page

2010-10-15 Thread elesi
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

Job for Wicket Developer in Berlin/Germany

2010-10-15 Thread Daniel Peters
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

FeedbackPanel for each ListItem in ListView

2010-10-15 Thread Patrick Petermair
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) {

Re: FeedbackPanel for each ListItem in ListView

2010-10-15 Thread jcgarciam
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

Backbutton support

2010-10-15 Thread drf
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

Re: Backbutton support

2010-10-15 Thread Martin Grigorov
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,

Re: Cannot create statless page

2010-10-15 Thread Doug Leeper
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:

Re: Re-Rendering Table after submitting results in error

2010-10-15 Thread vov
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

Re: Getting the html output of a wicket page

2010-10-15 Thread Jeremy Thomerson
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). When

Re: Cannot create statless page

2010-10-15 Thread Jeremy Thomerson
On Fri, Oct 15, 2010 at 1:25 AM, EC chalanga.e...@gmail.com 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

Re: How to add image to table column and how to change image this on click?

2010-10-15 Thread gouthamrv
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

How to externalize web page elements to make it configurable?

2010-10-15 Thread gouthamrv
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

Re: How to externalize web page elements to make it configurable?

2010-10-15 Thread James Carman
Column names (at least with DefaultDataTable) are supplied via an IModelString 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