Re: How to get rid of wicket:id in XML output

2008-10-03 Thread Martin Grigorov
On Thu, 2008-10-02 at 09:35 -0700, Jonathan Locke wrote: btw, shouldn't we fail init if super isn't called in this case like those other protections we built in? +1 Martijn Dashorst wrote: Why mocking with that setter. Put wicket in deployment mode. That way you can't mess up the

Re: using Prototype.js and Scriptaculous with latest version of wicket

2008-10-03 Thread Martin Grigorov
Wicket is (mostly) server-side web framework so it is no problem to mix it with any client-side JS library. Get inspired by: https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-scriptaculous On Thu, 2008-10-02 at 08:18 -0700, ilanfox wrote: Hello, I am considering

AjaxFallbackDefaultDataTable with ajax lazy loading - sorting and paging throws an IllegalStateException

2008-10-03 Thread Yazeed Isaacs
Hi I have an AjaxFallbackDefaultDataTable table and I am using an AjaxLazyLoadPanel when rendering this table. When I click the AjaxButton the table lazy loads. To summarize (in short) I have a AjaxButton that when clicked the onSubmit() method creates the AjaxLazyLoadPanel, the

RE: How to update ListChoice after form submission?

2008-10-03 Thread Shelah Horvitz
Thank you, Igor, for getting back to me so quickly. Actually, thank you for answering at all. I thought of the onclick handler, but the AjaxFallbackButton doesn't have an onClick() function. It does have a getOnClickScript() which I can override, but I believe the timing will be off. I

which browser is preferrable for Wicket 1.3

2008-10-03 Thread newbie_to_wicket
Hi, I'm facing some issues with browser ( IE and Mozilla Firefox ) .. In Internet Explorer everything is working fine but in Firefox some css issues ( components are not displaying in accurate position ) are there. did any body come across this kind of problem earlier , if you have the

AbstractPageStore memory implementation instead of disk

2008-10-03 Thread Ard Schrijvers
Hello everybody, Did anybody perhaps ever implement a memory version of the AbstractPageStore. Currently, I only see a DiskPageStore, which happens to be quite a large cpu bottleneck for Windows users AFAICS. So, before starting to implement one, just wondering whether somebody has experience

Adding Adobe Media Player in wicket

2008-10-03 Thread newbie_to_wicket
Hi all, In our application I've to add Adobe media player to play some video clips. can any body worked on this, if you worked this kind of situations , please give me some small examples . I'm very glad if you help in this regard. Thanks J -- View this message in context:

Re: which browser is preferrable for Wicket 1.3

2008-10-03 Thread John Krasnay
Hehe, welcome to Web development my friend! IE6 is very old, and it contains a large number of rendering quirks that are not present in modern browsers (FireFox, Safari, Opera). IE7 is much better, but IE6 still commands a large segment of the browser market. I would suggest developing for a

Re: Create Contact Us Page

2008-10-03 Thread newbieabc
Thank you. I was able to successfully use JavaMail API for the Contact page. I have another question related to the page, I'm not sure if I should ask it in this thread or not... I had done the rough page , and now that it works, started adding the validations, to make sure required data in

Re: How to get rid of wicket:id in XML output

2008-10-03 Thread Igor Vaynberg
jira issue -igor On Thu, Oct 2, 2008 at 11:45 PM, Martin Grigorov [EMAIL PROTECTED] wrote: On Thu, 2008-10-02 at 09:35 -0700, Jonathan Locke wrote: btw, shouldn't we fail init if super isn't called in this case like those other protections we built in? +1 Martijn Dashorst wrote: Why

Re: AbstractPageStore memory implementation instead of disk

2008-10-03 Thread Igor Vaynberg
do you have some statistics for us? or some profiler timing screenshots? -igor On Fri, Oct 3, 2008 at 6:21 AM, Ard Schrijvers [EMAIL PROTECTED] wrote: Hello everybody, Did anybody perhaps ever implement a memory version of the AbstractPageStore. Currently, I only see a DiskPageStore, which

Re: AbstractPageStore memory implementation instead of disk

2008-10-03 Thread Timo Rantalaiho
On Fri, 03 Oct 2008, Igor Vaynberg wrote: do you have some statistics for us? or some profiler timing screenshots? While waiting for the reply from Ard... I remember hearing of a case where the pagemaps were stored to a directory that the virus scanner was monitoring, and the scanner hogged all

Re: setOutputMarkupId and Ajax

2008-10-03 Thread Igor Vaynberg
wicket only knows that the component needs it when you add it to the ajax request target. by the time you add it to the ART the component has already been rendered into the browser during the previous request, and so its too late at this point - all we can do is warn you. -igor On Fri, Oct 3,

Re: Error using DefaultDataTable in version 1.4-m3 WicketTester

2008-10-03 Thread Igor Vaynberg
apparently you are missing /dd somewhere. it would be infinitely more helpful if you showed the markup from profilepanel or wheverer you are using the dl/dd -igor On Fri, Oct 3, 2008 at 12:33 PM, zaheers [EMAIL PROTECTED] wrote: Getting the following exception when testing a Panel that uses a

Custom Radio component with children?

2008-10-03 Thread dukehoops
I'd like to create a component that consists of: -radio -dropdown choice The component would be part of a RadioGroup, drop down should only be enabled when radio is selected. The component, radio, and dropdown's getModelObject() would return same MyBean pojo (Dropdown's is displaying a list of

Re: setOutputMarkupId and Ajax

2008-10-03 Thread Rob Sonke
I understand that but why not adding it by default to the constructor of all ajax components? Rob Igor Vaynberg wrote: wicket only knows that the component needs it when you add it to the ajax request target. by the time you add it to the ART the component has already been rendered into the

Re: Error using DefaultDataTable in version 1.4-m3 WicketTester

2008-10-03 Thread zaheers
I am using a DefaultDatatable in the SearchPanel. The actual component works fine and the table is displayed correctly in the GUI. The error is only when I execute the Testcase. I have attached the generated mark-up in my previous message. Attaching the test case and the panel java / mark up

Re: Custom Radio component with children?

2008-10-03 Thread Igor Vaynberg
the easiest way to do this would be to make your component a formcomponentpanel then you have formcomponentpanel -radiogroup --radio1 --radio2 -dropdown and in your fcp's convertinput() check the convertedinput() of radio and based on that call setconvertedinput() with either the radio's or the

Re: setOutputMarkupId and Ajax

2008-10-03 Thread Igor Vaynberg
like which ones? -igor On Fri, Oct 3, 2008 at 12:44 PM, Rob Sonke [EMAIL PROTECTED] wrote: I understand that but why not adding it by default to the constructor of all ajax components? Rob Igor Vaynberg wrote: wicket only knows that the component needs it when you add it to the ajax

Re: Error using DefaultDataTable in version 1.4-m3 WicketTester

2008-10-03 Thread Igor Vaynberg
still dont see anything that uses dd/dl tags -igor On Fri, Oct 3, 2008 at 12:46 PM, zaheers [EMAIL PROTECTED] wrote: I am using a DefaultDatatable in the SearchPanel. The actual component works fine and the table is displayed correctly in the GUI. The error is only when I execute the

Re: setOutputMarkupId and Ajax

2008-10-03 Thread Rob Sonke
Oh stupid, you're right. Only the targets needs the setOutputMarkupId true... Igor Vaynberg wrote: like which ones? -igor On Fri, Oct 3, 2008 at 12:44 PM, Rob Sonke [EMAIL PROTECTED] wrote: I understand that but why not adding it by default to the constructor of all ajax components?

Re: Error using DefaultDataTable in version 1.4-m3 WicketTester

2008-10-03 Thread zaheers
Igor, I don't use them in the application. it is something that is getting generated in the mark-up. Guess wicket generates this mark-up. Following line is where the error is occuring. DTDTType Parameters:DDCODET/CODE - The model object type/DL Do you believe the root cause for this is in

Re: Error using DefaultDataTable in version 1.4-m3 WicketTester

2008-10-03 Thread Igor Vaynberg
why is the javadoc being fed into your panel's markup? -igor On Fri, Oct 3, 2008 at 1:06 PM, zaheers [EMAIL PROTECTED] wrote: Igor, I don't use them in the application. it is something that is getting generated in the mark-up. Guess wicket generates this mark-up. Following line is where

Howto .xml instead of .properties

2008-10-03 Thread ulrik
Hello! I have a question regarding localization/internationalization of my application. I have up until now stored some of my properties in .properties files, and some in .xml files. Now I want to have all the info in .xml files. The reason I have both is that when I want to localize text in

Re: Custom Radio component with children?

2008-10-03 Thread dukehoops
You mean check the convertedinput() of radiogroup not radio, correct? igor.vaynberg wrote: the easiest way to do this would be to make your component a formcomponentpanel then you have formcomponentpanel -radiogroup --radio1 --radio2 -dropdown and in your fcp's convertinput()

Re: Custom Radio component with children?

2008-10-03 Thread Igor Vaynberg
correct -igor On Fri, Oct 3, 2008 at 3:00 PM, dukehoops [EMAIL PROTECTED] wrote: You mean check the convertedinput() of radiogroup not radio, correct? igor.vaynberg wrote: the easiest way to do this would be to make your component a formcomponentpanel then you have formcomponentpanel

Contribute to the body tag (onload)

2008-10-03 Thread Edgar Merino
Hello, Is it possible to contribute to the body html tag from within children pages? directly in markup, like when using the wicket:head tag (without modifying the java WebPage). Thanks in advance. Edgar Merino - To

Unable to add a Form to a ModalWindow opened from within another ModalWindow

2008-10-03 Thread Nick Zimmerman
Hello, I am trying to use ModalWindows to control the workflow of a survey creation page. I have run into an issue where I am not able to add a Form to a Panel based ModalWindow that was opened from another Panel based ModalWindow. I can add a Form to a Panel based ModalWindow if I open it from