Re: InvalidUrlException thrown while clicking row in a InMethod DataGrid

2010-01-03 Thread Marcin Palka
closing the modal window. This prevents the exception from being thrown. Anyway the core reason of the problem still remains. Further testing shown that only the row selection causes the exception. Other operations on the grid like sorting, switching pages work just fine. br, Marcin Palka Juan Kipes

Re: Ajax support for multipart forms nested forms in 1.4.1

2009-08-24 Thread Marcin Palka
A JIRA report has been created: https://issues.apache.org/jira/browse/WICKET-2433 cheers, Marcin -- View this message in context: http://www.nabble.com/Ajax-support-for-multipart-forms---nested-forms-in-1.4.1-tp25098452p25112870.html Sent from the Wicket - User mailing list archive at

Re: Ajax and Form#setMultiPart(true)

2009-08-23 Thread Marcin Palka
Peter, I modifed your quickstart a bit and it seems to work with the wicket 1.4.0. Unfortunately I haven't been able for make it work with the 1.4.1. I've got no idea why. It may be a bug. http://www.nabble.com/file/p25103405/quickstart-modified.zip quickstart-modified.zip cheers, Marcin --

Re: Ajax and Form#setMulitPart(true)

2009-08-22 Thread Marcin Palka
Peter, Have a look into the quickstart project that is attached to my post. It's a simple list editor based on ListView. http://www.nabble.com/file/p25096254/ListEditor.zip ListEditor.zip . Hope it helps. cheers, Marcin -- View this message in context:

Re: Ajax and Form#setMultiPart(true)

2009-08-22 Thread Marcin Palka
Peter, I modified my example to allow removing items. I also modified it to use a RefreshingView instead of a ListView. I think you should read a bit about wicket models. Any component update should go the following way - first update a model that is bound to a component and then repaint the

Re: AjaxTabbedPanel with different forms on each tab

2009-08-19 Thread Marcin Palka
Tim, You have to place your modal window within a form. It's mandatory if you want to use Forms on a modal. You have to write code similar to the following: form wicket:id=outerForm div wicket:id=modalWithTabsmodal placeholder/div /form Form outerForm =new Form(outerForm);

Re: Form tag does not get rendered on a Panel placed in a TabbedPanel within a ModalWindow

2009-08-03 Thread Marcin Palka
Matej, Thanks. I missed that remark :-| I have used forms within a modal window before and I haven't suffered of problems like this one. I mean I haven't had to put that extra form outside a modal window. Except for the fact that I haven't had any TabbedPanels on my modals. cheers, Marcin --

Re: Wicket for non Web/AJAX developers?

2009-08-02 Thread Marcin Palka
Hi, I think the Wicket in Action is a good book to start. It even has a chapter called Ajax explained :-) I don't know if it explains how the web app works as such but it goes through the entire development process of a Wicket web application so you should be able to get the idea behind. And

Re: intercomponent communications

2009-07-29 Thread Marcin Palka
That's quite interesting stuff. Could you contribute your code to the wicketsuff (e.g. create a new wicketstuff project) ? cheers, Marcin Vladimir K wrote: I don't see much buzz about this topic here, just a request for the trick for the forthcoming Johnatan Locke book. So it seems for

Re: Wicket, Jboss, EJB3

2009-07-24 Thread Marcin Palka
Hi Loren, I must admit I have never tried to get the injection to work with JBosss-5.1 but I remember I was once able to inject EJBs just fine with wicket-contrib-javaee and JBoss version 4.something (I don't remember exact version but for sure it was EJB3.0-enabled). Anyways, I remember that I

Re: Wicket, Jboss, EJB3

2009-07-24 Thread Marcin Palka
Hi Loren, I must admit I have never tried to get the injection to work with JBosss-5.1 but I remember I was once able to inject EJBs just fine with wicket-contrib-javaee and JBoss version 4.something (I don't remember exact version but for sure it was EJB3.0-enabled). Anyways, I remember that I

Re: Wicket, Jboss, EJB3

2009-07-24 Thread Marcin Palka
Looks like it works with 5.1GA too. See attached quickstart project. It's a maven-based enterprise application project that consists of a EJB, WAR and EAR modules. Build it and deploy the EAR into your JBoss AS. Please note that you have to configure your JBoss home folder to the top level pom

Re: Tab panel child

2009-07-21 Thread Marcin Palka
See an example in the attached file. It should be quite easy to understand. The example consists of two pages. First of them contains a tabbed panel with three tabs. Each of them contains a panel (an instance of the same panel class). The the same panel is embedded outside the tabbed panel into a

Re: AutoCompleteTextField and IE8, javascript error thrown

2009-07-21 Thread Marcin Palka
Hi, I use the wicket 1.4 nad I haven't noticed anything like that. You may want to look into wicket svn and check if there were any changes made to the wicket-autocomplete.js between version 1.3.4 and 1.3.6. I've just looked into 1.4 branch in svn and it seems that there have been quite some

Re: Tab panel child

2009-07-21 Thread Marcin Palka
there is is error such as Parameterized types are only avilable if source level is 5. what is this error how can i solve it? ThanksRegards, Gerald A On Tue, Jul 21, 2009 at 3:30 PM, Marcin Palka marcin.pa...@gmail.comwrote: See an example in the attached file. It should be quite easy

Re: Tab panel child

2009-07-21 Thread Marcin Palka
and then you should be able to build and run it with a single button click. cheers, Marcin MartinM wrote: And change compiler syntax ** Martin 2009/7/21 Marcin Palka marcin.pa...@gmail.com: Gerald, You have to use Java version 5. Earlier versions don't support generics. I

Re: How do I set a selected item outside of an inmethod datagrid?

2009-07-21 Thread Marcin Palka
If I understand your problem correctly you want to do master and detail grids. When you select an item in a master table (by means of a mouse click) you want to repopulate the details(history) table and make a selection on programmaticaly, right? I would say you first need to override

Re: 1.4 is ready for production?

2009-07-20 Thread Marcin Palka
Hi, My team develops a system that's based on the 1.4 and during the development we haven't experienced any serious issues with prior-final builds of 1.4. System is currently being tested. We started development with rc1 and moved forward to every new release candidate version. Except for minor

Re: CheckBoxMultipleChoice Construtor Nigthmare...

2009-07-15 Thread Marcin Palka
Hi, Try it this way. html xmlns:wicket=http://wicket.apache.org/dtds.data/wicket-xhtml1.3-strict.dtd; head titleWicket Quickstart Archetype Homepage/title /head body form wicket:id=form input type=submit value=submit/ /form

Re: FeedbackPanel does not show up on a page shown as a result of a redirect using RestartResponseAtInterceptPageException

2009-07-07 Thread Marcin Palka
It turns out to be my bad. I call the continueToOriginalDestination method to log the value that it returns. It seems this call causes the unwanted redirect. Removing the following line seems to make the trick. logger.debug(onSubmit username= + username + password= + password +

RE: ModalWindow.setResizable(false) no longer works in 1.4-rc5?

2009-06-25 Thread Marcin Palka
I filled a JIRA for this: https://issues.apache.org/jira/browse/WICKET-2345 -- View this message in context: http://www.nabble.com/ModalWindow.setResizable%28false%29-no-longer-works-in-1.4-rc5--tp24135317p24210005.html Sent from the Wicket - User mailing list archive at Nabble.com.

RE: ModalWindow.setResizable(false) no longer works in 1.4-rc5?

2009-06-25 Thread Marcin Palka
I provided a patch that fixes the issue. cheers Marcin -- View this message in context: http://www.nabble.com/ModalWindow.setResizable%28false%29-no-longer-works-in-1.4-rc5--tp24135317p24210823.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: [kind-of-announce] Swit 0.9.0, wicket library for graphics stuff

2009-06-25 Thread Marcin Palka
Great lib, great work, thanks :-) I am a developer, not a webmaster. It may make my work much easier. BTW: Internet Exploder 7 messes the example layout a bit (moves the whole thing to the right). -- View this message in context:

Re: [announce] Wicket 1.4-RC5 released

2009-06-24 Thread Marcin Palka
Hi all, Did anything bad happen to the RC5? I mean I cannot see any anouncement about the release on the wicket.apache.org. Was the release been canceled or delayed? cheers, Marcin -- View this message in context:

ModalWindow.setResizable(false) no longer works in 1.4-rc5?

2009-06-21 Thread Marcin Palka
Hi, I migrated my application from 1.4-rc1 to 1.4-rc5 and noticed that the ModalWindow's setResizable(false) method no longer works. All the modal dialogs in my application became resizable. Was there any change introduced in this area in the RC5 or is this a regular bug? cheers, Marcin

Re: ModalWindow.setResizable(false) no longer works in 1.4-rc5?

2009-06-21 Thread Marcin Palka
James, thanks for the reply. The problem turns out to be more complex. Simple page with a modal window works like a charm with RC5 (I mean I can easily set modal window's resizability). My application's modal windows on the other hand don't. I will try to investigate it further and fill a JIRA

Re: Different xml property filename for the markup and java

2009-06-03 Thread Marcin Palka
Hi Jens, I would suggest to create a base page class that contains common elements and then for each customer extend your base page class. This makes it possible to keep common message keys in a base class property file(s). As far as I know in case wicket is not able to find a message key in a

Re: OutOfMemory on certain combinations of controls

2009-06-01 Thread Marcin Palka
Should it be considered a bad design to use callbacks from a modal window? I use modal windows to edit rows from a grid. On save action I close the modal window and then call a callback method back in the the calling panel which makes the grid refresh. Does this approach carry any risk? What

Inmethod DataGrid without column headers?

2009-05-29 Thread Marcin Palka
Hi, Is there any way to render a Inmethod DataGrid without column headers? For wicket's standard DataTable there's a HeaderlessColumn but I haven't been able to find an equivalent column type for DataGrid. cheers Marcin - To

Re: Inmethod DataGrid without column headers?

2009-05-29 Thread Marcin Palka
Thanks for reply. I already gave this one a try. It does not seem to be called at all. I searched through inmethod grid sources and it seems that it really isn't called at all. My search shown only one occurence of addHeaderToolbar method which is its declaration in AbstractDataGrid class. This

Re: CompoundPropertyModel and Combobox

2009-05-27 Thread Marcin Palka
The code below works just fine for me. Instead of using complex type as a model object for a drop down I use an instance of IChoiceRenderer to control what's used for an id and what's displayed as a value. User user = ; setModel(new CompoundPropertyModel(user));