Pagination in wicket

2009-01-23 Thread PSkarthic
Hi I worked on wicket for a month only, i want pagination to be done in wicket. Can anybody guide me or provide some samples, it would be big help for me. I have tried googling Pagination in wicket but not yet get the solution. I have also tried Pagenavigator but don't know how to use it

Re: Pagination in wicket

2009-01-23 Thread Michael Sparer
Check out the wicket examples (especially those on repeaters on http://www.wicketstuff.org/wicket13/repeater/) - they'll help you getting started regards, Michael PSkarthic wrote: Hi I worked on wicket for a month only, i want pagination to be done in wicket. Can anybody guide me or

Re: Retrieve RemoteUser from HttpServletRequest

2009-01-23 Thread Luca Provenzani
nothing to do! i read again only two null strings... it's really strange! in the jsp is simple: i need only this: *request.getRemoteUser(),request.getRemoteAddr() * and seem to be simple even in wicket... only one right of code... but... why doesn't httpservletrequest give me the right values?

Re: Retrieve RemoteUser from HttpServletRequest

2009-01-23 Thread Serkan Camurcuoglu
is your wicket url also protected by security and login constraints in your web.xml? Luca Provenzani wrote: nothing to do! i read again only two null strings... it's really strange! in the jsp is simple: i need only this: *request.getRemoteUser(),request.getRemoteAddr() * and seem to be

Re: Retrieve RemoteUser from HttpServletRequest

2009-01-23 Thread Luca Provenzani
no! i haven't a right web.xml... that is the problem! sorry! i'm a newbie in wicket.. Thank you all !! Luca 2009/1/23 Serkan Camurcuoglu serkan.camurcuo...@telenity.com is your wicket url also protected by security and login constraints in your web.xml? Luca Provenzani wrote: nothing

different modal windows from same link or just multiple links?

2009-01-23 Thread Steve Swinsburg
Hi all, I have a situation where depending on some circumstances, any one of three different modal windows could be activated by clicking a single link, which itself changes. ie add/confirm/remove but only one can be visible at any one time. I don't want three links. Is there any way to

Re: Duplicate objects in db4o with back button

2009-01-23 Thread pieter claassen
Igor, thanks for your comments so far. After a lot of struggle, I now have the following strategy in place which just provides me with the old results, duplicate data in the database when I add a template, and then press the back button and add it again. Here is an example of how I create a new

Re: Howto test clicking a CheckboxMultipleChoice

2009-01-23 Thread Newgro
Should i add an RFE here? Cheers Per -- View this message in context: http://www.nabble.com/Howto-test-clicking-a-CheckboxMultipleChoice-tp21601616p21625574.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: Page Maps and Expirations

2009-01-23 Thread UPBrandon
Thanks again. I am still interested in page stores though. I'm not saying they are related to the expiration issue but I am curious how do they manage themselves. I haven't been able to find much info online. Does each one just store a potentially unlimited number of pages or is there some

Re: different modal windows from same link or just multiple links?

2009-01-23 Thread dtoffe
I've created a subclass of ModalWindow in which I can set from outside the class of the page to be created. Then, I've created a WebPage subclass that has one of that subclass of ModalWindow. So whenever I need modal windows, I subclass that page and use the same modal window from all the

Re: different modal windows from same link or just multiple links?

2009-01-23 Thread Steve Swinsburg
Hi Daniel, Do you mind sharing some code? I would prefer to be using the same modal window if possible. cheers, Steve --- Steve Swinsburg Portal Systems Developer Centre for e-Science Lancaster University Lancaster LA1 4YT email: s.swinsb...@lancaster.ac.uk phone: +44 (0) 1524 594870

Re: Pagination in wicket

2009-01-23 Thread Michael O'Cleirigh
You can also check out this wiki page: http://cwiki.apache.org/WICKET/simple-sortable-datatable-example.html Basically the DefaultDatatable takes: 1. an array of TableColumn extending classes that are used to build the cell component and connect the row object (typically each column would be

Bookmarkable Page with AjaxTabbedPanel

2009-01-23 Thread ckuehne
My problem is as follows: I have a bookmarkable page with an AjaxTabbedPanel as a component. If one of the page parameters contains a forward slash / I get a weird behavior. Firefox generates the following URL a)

Re: Portlet related issues

2009-01-23 Thread German Morales
Well, i haven't tried but from what i see the images suggestion should work... By the way, i see that there is a chance of conflict between our CSSs and the ones of the portal, and other portlets. I'm understanding now that it's not that simple to take a working wicket application and deploying

Re: different modal windows from same link or just multiple links?

2009-01-23 Thread German Morales
Hi Steve, Excuse me if i'm missing something... Shouldn't you just provide different panels to the window, depending on your condition? That is, inside your onClick(), calling setContent(new YourPanel()); On the code you show, i don't see where you set the content to the window... are you doing

Two vertical scrollbars in ModalWindow with Panel content show

2009-01-23 Thread Valentine2008
I use a ModalWindow with Panel content as a pop-up input form with feedback panel. When an invalid input was given, the feedback panel will show the error message. However, at this time, the ModalWindow will show one vertical scrollbar and one horizonal scrollbar. And the content panel will show

Re: Two vertical scrollbars in ModalWindow with Panel content show

2009-01-23 Thread Matej Knopp
Hi, this is a styling issue. Problem is in your CSS. Also, please don't post screenshots in word document. -Matej On Fri, Jan 23, 2009 at 11:52 PM, Valentine2008 valentine.wic...@gmail.com wrote: I use a ModalWindow with Panel content as a pop-up input form with feedback panel. When an

Re: Two vertical scrollbars in ModalWindow with Panel content show

2009-01-23 Thread Valentine2008
I tried different values for overflow in the page window, the modal window's appearance is the same. (for example, when I change the page window HTML to contain div wicket:id=updateModalWindow style=overflow: hidden;/div from div wicket:id=updateModalWindow/div) Seems ModalWindow overwrites the

Re: Two vertical scrollbars in ModalWindow with Panel content show

2009-01-23 Thread Matej Knopp
On Sat, Jan 24, 2009 at 1:08 AM, Valentine2008 valentine.wic...@gmail.com wrote: I tried different values for overflow in the page window, the modal window's appearance is the same. (for example, when I change the page window HTML to contain div wicket:id=updateModalWindow style=overflow:

Re: Two vertical scrollbars in ModalWindow with Panel content show

2009-01-23 Thread Valentine2008
I added the screenshots as PNG files. What I have in modal window: just plain HTML text; Whether you have another page in modal window (iframe) or a panel: just one panel. See the source code: -Page window which contains the modal window--- div

Re: Two vertical scrollbars in ModalWindow with Panel content show

2009-01-23 Thread Matej Knopp
There is only one vertical scrollbar on the screenshots, where's the other one? On Sat, Jan 24, 2009 at 1:33 AM, Valentine2008 valentine.wic...@gmail.com wrote: I added the screenshots as PNG files. What I have in modal window: just plain HTML text; Whether you have another page in modal

BookmarkablePageLink parameters as model

2009-01-23 Thread Anton Veretennikov
Hello, wicket users! Is it possible to construct BookmarkablePageLink with different page parameters depending on some model? Thank you! - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands,

Re: BookmarkablePageLink parameters as model

2009-01-23 Thread Igor Vaynberg
you are free to override getpageparameters() and implement your own logic there. -igor On Fri, Jan 23, 2009 at 11:03 PM, Anton Veretennikov anton.veretenni...@gmail.com wrote: Hello, wicket users! Is it possible to construct BookmarkablePageLink with different page parameters depending on

Re: BookmarkablePageLink parameters as model

2009-01-23 Thread Anton Veretennikov
Thank you, Igor! Accustomed to model's all over the Wicket... On Sat, Jan 24, 2009 at 2:34 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: you are free to override getpageparameters() and implement your own logic there. -igor On Fri, Jan 23, 2009 at 11:03 PM, Anton Veretennikov