Re: Passing Parameters to Bookmarkable Page

2007-09-20 Thread Flavius
that could be done on a custom RequestCycle. Or maybe it's not so bad having the obj on the session. :-) Evan Chooly wrote: Put the Filter ID in the map. On 9/18/07, Flavius [EMAIL PROTECTED] wrote: I have two pages, a list page and a detail. The list page can take a filter parameter

Re: Passing Parameters to Bookmarkable Page

2007-09-20 Thread Flavius
in the session also reduces the effect of making it bookmarkable. The only option I see for making it really bookmarkable (stateless) is serializing the object to the URL string and deserializing in the page constructor. And that's kinda ugly. On 9/20/07, Flavius [EMAIL PROTECTED] wrote: If I pass

Re: Wicket Session grows too big real fast

2008-11-29 Thread Flavius
Martijn Dashorst wrote: With Wicket 1.3 only one page should be stored in session. You should check if you don't keep references between pages - that would result in 1+N pages (with N being the number of pages you reference in your page). Other than that: using LDM's and

Using urlFor

2009-02-04 Thread Flavius
We have functionality that needs to send an email of any changes that occur in a record. At first we were going to just send the email when the transaction completes...but that will have issues if the app is up and the mail server is down (or unreachable at the moment). So we're going to write

Re: Using urlFor

2009-02-05 Thread Flavius
That works. I'll do that. Thanks Igor. igor.vaynberg wrote: you can mount the pages so you have well known urls to them and build them manually. -igor -- View this message in context: http://www.nabble.com/Using-urlFor-tp21842522p21852518.html Sent from the Wicket - User mailing

WicketStuff yui-parent yui examples war not deploying correctly

2009-03-21 Thread Flavius
I just started looking at some of the JS framework integration a few days ago on WicketStuff. I am looking to do some drag drop stuff and possibly looking for split pane functionality. I am looking at YUI because a couple of people in here said the dnd stuff worked better than the

Re: WicketStuff yui-parent yui examples war not deploying correctly

2009-03-23 Thread Flavius
. regards josh 2009/3/22 Flavius flav...@silverlion.com I just started looking at some of the JS framework integration a few days ago on WicketStuff. I am looking to do some drag drop stuff and possibly looking for split pane functionality. I am looking at YUI because

MultiFileUploadField on a ModalWindow close issue

2008-09-22 Thread Flavius
I have a ModalWindow open and I have a MultiFileUploadField for users to upload files. Upload works great. I'd like to close the ModalWindow when the form is submitted. So if everything is fine, it will do the uploads and close the window. If there's an issue, it won't close the window and show

Re: wicket and hibernate

2008-10-01 Thread Flavius
Here's how I do it. I have my wicket layer call a service layer, which calls a DAO. I'm not a big fan of a lot of layers and I like to keep my projects flat. So, if you want a list of users on a page, for example, you can use any of the canned wicket tables. Those are pretty nice. I use

Re: wicket and hibernate

2008-10-02 Thread Flavius
You said you were using annotations. Just read chapter 1 of the hibernate annotations docs http://www.hibernate.org/hib_docs/annotations/reference/en/html_single/#setup-configuration create a class called HibernateUtil.class (or you can call it Fluffy.class, but that's not as descriptive) and

Form Processing problem on pages with Border - Wicket 1.4.1

2009-09-21 Thread Flavius
I am migrating a project from 1.3.6 to 1.4.1. I've run into a problem and I'm not sure if this is a bug or not. Most of the pages have a border and the border has a DropDownChoice in it (as well as other components). Technically it's in a panel in the border. The Form objects are typically

Form Processing problem on pages with Border - Wicket 1.4.1

2009-09-22 Thread Flavius
I am migrating a project from 1.3.6 to 1.4.1. I've run into a problem and I'm not sure if this is a bug or not. Most of the pages have a border and the border has a DropDownChoice in it (as well as other components). Technically it's in a panel in the border. The Form objects are typically

Form Processing problem on pages with Border - Wicket 1.4.1

2009-09-23 Thread Flavius
I am migrating a project from 1.3.6 to 1.4.1. I've run into a problem and I'm not sure if this is a bug or not. Most of the pages have a border and the border has a DropDownChoice in it (as well as other components). Technically it's in a panel in the border. The Form objects are typically

Form Processing problem on pages with Border - Wicket 1.4.1

2009-09-24 Thread Flavius
I am migrating a project from 1.3.6 to 1.4.1. I've run into a problem and I'm not sure if this is a bug or not. Most of the pages have a border and the border has a DropDownChoice in it (as well as other components). Technically it's in a panel in the border. The Form objects are typically

Re: Form Processing problem on pages with Border - Wicket 1.4.1

2009-09-25 Thread Flavius
Form#component. I put a QuickStart up here: http://silverlion.com/flavius/BorderVisit.zip If you unzip it and run mvn jetty:run this will demonstrate what's going on. Just go to the home page and press the submit button. So overriding updateModel() isn't an option, as I see it. My choices that I

Re: User name validation - how to check database to find if a name has already been taken?

2009-09-27 Thread Flavius
The AbstractValidator approach is fine, or you can do it the shorter way the Igor showed. Either way, when the page that has the username is submitted, you're going to have to write that record to the database, even if you don't have all the info. The way you wrote the question, I presume you

Setup for stepping into wicket source in eclipse

2009-10-25 Thread Flavius
I am trying to debug an issue and am trying to step into wicket from my project. However, the line numbers are not matching up with the source I have. I've done this several times with other projects and this is indicative of having the wrong version of the source vs. the jar file. I am

Re: Setup for stepping into wicket source in eclipse

2009-10-28 Thread Flavius
nmelen...@getsense.com.ar wrote: is your build automatically checked? On Mon, Oct 26, 2009 at 1:07 AM, Flavius flav...@silverlion.com wrote: I am trying to debug an issue and am trying to step into wicket from my project. However, the line numbers are not matching up with the source I

Re: Setup for stepping into wicket source in eclipse

2009-10-29 Thread Flavius
commented source of course, but often good for a quick answer to what's going on. -- Jim. On Thu, Oct 29, 2009 at 12:18 AM, Flavius flav...@silverlion.com wrote: Nicolas, yes my build automatically is checked. Pedro, that fixed it! Thank you very much! Pedro H. O. dos Santos wrote

Inmethod Grid - adding / removing columns

2009-05-06 Thread Flavius
I just implemented the inmethod grid control (very cool, btw) and I'm looking for a way to add and remove columns to the grid using DnD. What I envision is a div opening above the grid with a list of available columns. The user can then drag the columns onto the grid (ideally into the exact

OutOfMemory on certain combinations of controls

2009-05-27 Thread Flavius
I ran into an issue where I'm getting an OutOfMemory error using autocomplete textbox functionality. I haven't nailed down the root culprit, but the symptoms seem to occur when I have a page with a border that also has controls, such as a panel or two. On the page, if I pop a modal dialog box

Re: OutOfMemory on certain combinations of controls

2009-05-28 Thread Flavius
The sample I posted only has the single page with a link to the ModalWindow. The modal window keeps a reference to the ModalWindow param passed in to the constructor. That's only used to close the window when the AjaxRequestTarget is passed from the AjaxLink. When the

Re: OutOfMemory on certain combinations of controls

2009-05-29 Thread Flavius
. Thanks for your help, Igor. igor.vaynberg wrote: there is too much going on in the sample you posted. if you want you can create a quickstart with the minimal amount of code necessary to reproduce this and i will take a look. -igor On Thu, May 28, 2009 at 2:12 PM, Flavius flav

Re: OutOfMemory on certain combinations of controls

2009-05-30 Thread Flavius
keeps a reference to the page. so you keep serializing the entire page with every ajax request as part of the current page. you dont need the reference to the modalwindow, you can use ModalWindow.closeCurrent() to close it. -igor On Fri, May 29, 2009 at 1:45 PM, Flavius flav

Re: ModalWindow and IE8 question

2009-06-23 Thread Flavius
I cleared all cache and it still wasn't prompting the modal window. What I did do was go and reset IE8 by going to tools - Internet Options - Advanced tab and pressing the Reset button. Apparently this makes it just like a fresh install and that fixed it! Don't ask me why clearing the cache

Resetting a form after ajax submit

2010-01-25 Thread Flavius
I have a panel with a form on it. I've attached an ajaxButton to submit the form. Afterward, I want the inputs to be reset with the backing model reset. I've done a lot of refreshing with an ajax submit, but I can't seem to get the form's values to reset in the webpage. The backing model

Re: Resetting a form after ajax submit

2010-01-25 Thread Flavius
25, 2010 at 9:23 PM, Flavius flav...@silverlion.com wrote: I have a panel with a form on it.  I've attached an ajaxButton to submit the form.  Afterward, I want the inputs to be reset with the backing model reset.  I've done a lot of refreshing with an ajax submit, but I can't seem to get

Re: Resetting a form after ajax submit

2010-01-26 Thread Flavius
For anybody who's interested, I got this to work by just calling form.textField.setModelValue(new String[]{}); I had to make the fields member vars of the form, though. If there's another cleaner way of doing it, I'd appreciate seeing it. Flavius wrote: I have a panel with a form

Passing / Persisting an object without PageParameters

2010-03-29 Thread Flavius
I have a list page and a detail page. The list is the results of a search and I put this in a listview. The user can then click each item to view it in the detail. What I'm doing now is passing the result object to the detail page so they can continue to navigate (next ) the results without

AjaxLazyLoadPanel and back button

2010-12-30 Thread flavius
I'm using the AjaxLazyLoadPanel to load images I'm generating from reports. When I'm on a page with the AjaxLazyLoadPanel, click a link to another page (like a BookmarkablePageLink) and then click back, the image that was generated is still in place. However, if I submit a form that's on

Re: AjaxLazyLoadPanel and back button

2011-01-09 Thread flavius
Thanks Pedro. I've opened WICKET-3318 regarding this issue and attached a quickstart. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AjaxLazyLoadPanel-and-back-button-tp3168379p3206574.html Sent from the Users forum mailing list archive at Nabble.com.

jWicket WiQuery

2011-01-22 Thread flavius
I'm looking to implement some ajax functionality and was looking at the different libs that integrate with wicket. After looking at these statistics, I thought jquery would be ideal. It's the most popular in most parts of the world and has gotten good reviews in general.

Re: jWicket WiQuery

2011-01-22 Thread flavius
Thanks Hielke, The example source is what I was looking for. I found it here: http://code.google.com/p/wiquery/source/browse/examples/?r=256#examples%2Fwiquery-examples%2Fsrc%2Fmain%2Fjava%2Forg%2Fodlabs%2Fwiquery%2Fexamples%253Fstate%253Dclosed I saw the example war for version 1.0 from Nov

Re: Noob question: Link to Page that only Redirects?

2011-01-27 Thread flavius
On your MyLinkPage you can just setResponsePage... So if (gotoQuestionPage) setResponsePage(QuestionPage.class); else setResponsePage(ErrorPage.class); Is that what you're after? -- View this message in context:

JWicket drag/drop handle

2011-01-31 Thread flavius
I'm trying to create a widget/gadget (similar to google's home page or yahoo). I've got it largely figured out except for one thing. I'm trying to restrict the drag operation to just the top div (the header). So my widget will look like this: div class=widget div class=wheaderDrag here/div

RE: JWicket drag/drop handle

2011-02-01 Thread flavius
This did the trick. setRawOptions is exactly what I needed. Thanks Stefan -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/JWicket-drag-drop-handle-tp3250469p3253344.html Sent from the Users forum mailing list archive at Nabble.com.

ListView error when using JQuery

2011-02-13 Thread flavius
than posting a lot of code. The quickstart is available at silverlion.com/flavius/JQuery.zip For this quickstart I used JWicket. I tried the same thing with WiQuery, but Maven can't seem to find the dependency when I put that in the pom file. Thanks in advance for any help. -- View this message

Item.getIndex() on DefaultDataTable

2008-06-05 Thread Flavius
I'm using a DefaultDataTable and I want to get the index of the selected item. However the index always returns 0. Is this by design? new AbstractColumn(new Model(Test Label)) { public void populateItem(Item item, String componentId,