Re: Equivalent of newSessionStore() in wicket 1.5.7

2012-08-10 Thread Madasamy Sankarapandian
Thankyou very much martin. I am create custom MyWebSessionStoreProvider class and this class implements IProvider interface. The get() method return a MySessionStore. Then i am using following setter method to set the MyWebSessionStoreProvider(). @Override protected void init() {

Re: enabling and disabling the components

2012-08-10 Thread Sebastien
Hi, Label label = new Label(fName, myVO.getName()); // (or better use new PropertyModelString(user, name) ) label.setVisible(myVO.getName()!=null); add(label ); Also, the fName markup id seems to be missing in your html (also the message markup id in test) div wicket:id=test1 div

Re: stack traces in serialization caches

2012-08-10 Thread Martin Grigorov
Hi, Which version of Wicket do you use ? See org.apache.wicket.settings.IDebugSettings#setLinePreciseReportingOnAddComponentEnabled and org.apache.wicket.settings.IDebugSettings#setLinePreciseReportingOnNewComponentEnabled. When set to true these create an exception and saves its stacktrace as

Re: I am also crazy :)

2012-08-10 Thread Martin Grigorov
Bravo! :-) On Fri, Aug 10, 2012 at 12:08 AM, Dan Simko wicke...@gmail.com wrote: Hi, I've just upgraded my Wicket - Brix application (http://www.sportave.com) to 6.0-SNAPSHOT and everything seems to be working great. Big thanks to all contributors! -- You received this message because

Re: [Wicketstuff] Google Maps 3 component

2012-08-10 Thread Martin Grigorov
Thank you, Joachim! For all your contributions to WicketStuff! On Thu, Aug 9, 2012 at 10:45 PM, Joachim Rohde mailingl...@joachimrohde.com wrote: Hello, maybe someone might be interested that I have uploaded a component for Google Maps 3 today which can be found at GitHub under

Re: Searching for new experience with wicket

2012-08-10 Thread Martin Grigorov
Hi, Do you want to help us with the new Wicket-Examples ? ;-) At https://github.com/apache/wicket/tree/master/wicket-experimental/wicket-examples-parent you may see what we have so far. The goal is to migrate the old wicket-examples to the new style. The skills you will improve: - Java 6 -

How to update the treetable

2012-08-10 Thread lxw_first
I created a treetable with a treemodel based on database schema. I am trying to refresh the treetable so that it will change it's data after some db update. I update viat the button event.the button event work but treetable doesn't change. To create treetable i have this on my page: treeTable =

Re: wicket:treetable with checkbox column

2012-08-10 Thread lxw_first
the create treetable code like this: treeTable = new TreeTable(treeTable, createTreeModel(), columns); treeTable.getTreeState().setAllowSelectMultiple(true); treeTable.setRootLess(true); treeTable.getTreeState().collapseAll(); creatForm.add(treeTable); the columns code: new

Re: Equivalent of newSessionStore() in wicket 1.5.7

2012-08-10 Thread Madasamy Sankarapandian
i am throw this exception when the session is invalidate throw new RestartResponseAtInterceptPageException(MyappLoginPage.class) But is not working in wicket 1.5.7.but it is working fine in wicket 1.4.X

Re: AutoCompleteTextField + AjaxFormComponentUpdatingBehavior onchange problem on wicket 6.0

2012-08-10 Thread Martin Grigorov
Hi, Jira is down so I cannot comment there. I've just fixed the bug with the keyboard navigation. About the two fires when using the mouse - I have no idea how this worked in 1.5. Here is what happens now: the user enter something in the input, then goes and clicks on an option in the

Re: stack traces in serialization caches

2012-08-10 Thread Andrew Geery
I'm using Wicket 1.5.7. I understand how to turn the stacktraces on and off (in development more I have both those settings turned on). My question is more: the files look like they are indicating an error is happening, but I don't get a stacktrace at run-time. For example, if I have a mismatch

Re: stack traces in serialization caches

2012-08-10 Thread Martin Grigorov
No, these are no errors. These are kept only in case of error. We can improve though by removing them in Component#detach(). I see no reason to keep them around after the first render of the page. Please file a ticket. On Fri, Aug 10, 2012 at 2:45 PM, Andrew Geery andrew.ge...@gmail.com wrote:

Calling isPageStateless() can mess up the statelessness of a page

2012-08-10 Thread Bertrand Guay-Paquet
Hi, (Using Wicket 6.0-SNAPSHOT, or 1.5.7) I found a strange behavior when calling Page#isPageStateless(). I have a simple label in my personal wicket debug bar which displays stateless when a page is stateless. It works like so: new WebMarkupContainer(statelessMarker) { @Override

Re: Calling isPageStateless() can mess up the statelessness of a page

2012-08-10 Thread Martin Grigorov
Hi, The page can become stateful during rendering, as you have noticed. There is a code in WebPageRenderer that re-renders the page if it change state during the first rendering because otherwise some previously rendered links may became broken. The real problem here is that #isPageStateless()

Multi row Tabs

2012-08-10 Thread Valery Gorbunov
Hi All, I am new in Wicket. Is it possible to implement Tabs in multi row manner. I see in examples or tutorial only singe row tabs. If not. Which best way to implement it? Thank you. Valery Gorbunov

RadioGroup

2012-08-10 Thread Artem001
Hello there, mighty developers. I'm quite new in Wicket, so beforehand sorry if my question is stupid. So what i have is a RadioGroup, with some childs. When page loads for the first time, one of child gets selected by default, and everything is fine. But, when i change selection and press

Re: Calling isPageStateless() can mess up the statelessness of a page

2012-08-10 Thread vineet semwal
it might give you wrong result even if you add your component after adding all the components because some components foreg. a repeater like listview/dataview/gridview add children in onbeforerender so isPageStateless() can be assumed to work correctly only after onbeforerender that caching

issue refreshing covered panel when modalwindow is open

2012-08-10 Thread Andrew Geery
I've run into this issue a couple of times and worked around it, but I wanted to see if there is a better way of handling it. I have a form in a panel in a ModalWindow on top of a datatable in a page. When a user clicks the Save ajax button in the modal window, a done event is bubbled up from

Re: Calling isPageStateless() can mess up the statelessness of a page

2012-08-10 Thread vineet semwal
currently i think you can do by keeping some boolean variable that you can populate after page#onbeforerender and override your desired component's isVisible() {return my_boolean ;} On Fri, Aug 10, 2012 at 7:01 PM, Bertrand Guay-Paquet ber...@step.polymtl.ca wrote: Hi, (Using Wicket

Re: Calling isPageStateless() can mess up the statelessness of a page

2012-08-10 Thread Bertrand Guay-Paquet
On 10/08/2012 12:12 PM, vineet semwal wrote: it might give you wrong result even if you add your component after adding all the components because some components foreg. a repeater like listview/dataview/gridview add children in onbeforerender so isPageStateless() can be assumed to work

Re: RadioGroup

2012-08-10 Thread Andrea Del Bene
Hi and welcome to this mailing list! it's not clear to me the purpose of the ListView in your code. Why do you need it and what is the relation between this component and RadioGroup? Hello there, mighty developers. I'm quite new in Wicket, so beforehand sorry if my question is stupid. So what

Re: how to map 2 html files to 1 class?

2012-08-10 Thread vinitty
Guys, You can always create dynamic class Use java assist I was also having same problem and i use that and it works fine -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/how-to-map-2-html-files-to-1-class-tp1890619p4651138.html Sent from the Users forum

Re: Calling isPageStateless() can mess up the statelessness of a page

2012-08-10 Thread vineet semwal
you are right onconfigure is executed once before rendering . actually isPageStateless() can be broken easily as that variable can be populated before the page#onbeforerender is completed ie. say if some component in onbeforerender uses ispagestateless() then the variable will be set

Wicket / Liferay help

2012-08-10 Thread Doug Leeper
I have followed what I think is necessary to get a wicket portlet in liferay. However, I have not been able to add the portlet to a page. I am by no means a liferay expert so I may be missing something. Note: liferay 6.1 This is what I have done so far. Can someone point out what I have done

RE: How to update the treetable

2012-08-10 Thread Paul Bors
Since Wicket's TreeTable uses Java's javax.swing.tree.TreeModel, I would check out Oracle's tutorial on How To Use Trees (JTree). More precisely the Dynamically Changing a Tree section: http://docs.oracle.com/javase/tutorial/uiswing/components/tree.html#dynamic See if that helps you. ~ Thank

RE: Multi row Tabs

2012-08-10 Thread Paul Bors
You can change the look-n-feel of any Wicket component by simply extending the Wicket class, and either modify the HTML and/or the CSS. If you modify the HTML make sure you preserve the wicket component tree unchanged since the super class will break at runtime if you shift the HTML code around

Re: Wicket / Liferay help

2012-08-10 Thread Doug Leeper
Got my portlet to show up in the Portal. Had my liferay-portlet.xml incorrect. But there weren't any errors. Now I have a weird situation. I can add the portlet to my page and it works. I do a page refresh and now it won't. I was able to track down at least why it is not. But I don't know

Re: Calling isPageStateless() can mess up the statelessness of a page

2012-08-10 Thread Bertrand Guay-Paquet
This is weird, I never received Martin's email! I managed to see it in your first reply Vineet... I also lost a few hours' worth of mailing list emails. Removing the caching in isPageStateless() would indeed make sure that the code in WebPageRenderer would not get the wrong value. However,