Re: TabbedPanel problem

2009-05-11 Thread Tomáš Mihok
body p div wicket:id=tabs class=tabpanel[tabbed panel will be here]/div /p /body this is Index.html (without html, title, head etc.). There is a label in HomePage.java when you create new project but i removed it and I did same thing in .html. Index.java doesnt add any Label. tm

Re: DefaultDataTable with date column

2009-05-11 Thread Edi
Date format is working. But I am not able to sorting that column. Why? Please advise. thanks and regards, edi Pablo Sca wrote: Great! this is just what I need Thanks Pablo -- From: Edgar Merino donvo...@gmail.com Sent: Thursday,

org.apache.wicket.WicketRuntimeException: Exception in rendering component: [MarkupContainer [Component id = login]]

2009-05-11 Thread Anders Peterson
What exactly does this stacktrace (below) mean? In development, eclipse jetty, the application works fine. When deployed (tomcat) the app cannot render login page (I suppose it can't render anything). /Anders WicketMessage: Exception in rendering component: [MarkupContainer [Component

Re: org.apache.wicket.WicketRuntimeException: Exception in rendering component: [MarkupContainer [Component id = login]]

2009-05-11 Thread Murat Yücel
Hi Anders I had a almost similar issue with my application. My problem was caused because i didnt have access to the file system (google app engine). I solved the problem by setting the following in my application class. getResourceSettings().setResourcePollFrequency(null); /Murat 2009/5/11

Simple Wicket component available

2009-05-11 Thread Cristi Manole
Hello everybody, Simple Wicket Component - JQuery Accordion Menu available if anybody needs one: http://www.dooriented.com/blog/2009/05/11/wicket-component-jquery-accordion-menu/ -- Cristi Manole Nova Creator Software www.novacreator.com

Issue of using wicket in window mobile IE - the BookmarkablePageLink does not work

2009-05-11 Thread Wenke Ji
Hi, we are using windows mobile IE for the wicket link , the link does not work by the click but from PC it works with Firefox and IE.Is there anyone meet this issue ? The source code is in the following: add(new BookmarkablePageLink(home,MobileHome.class, new PageParameters(0=))); The

Tabs panels

2009-05-11 Thread Tomáš Mihok
Hi there, I would like to aks a question and I believe someone has ever encountered the same problem. I have a page with tabbed panel and every tab contains a different panel - module, plugin, whatever. The problem is that the guy who is creating a module to this application, needs to switch

Re: objectautocomplete on a form with CompoundPropertyModel

2009-05-11 Thread nino martinez wael
You do something like this: // compound model private final IModelString cityModel = new PropertyModelString( searchWrapper, cityId); builderCity .updateOnSelectionChange(new

RE: 60% waste

2009-05-11 Thread Douglas Ferguson
On a side note, does Selenium even work with wicket? Douglas -Original Message- From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] Sent: Monday, May 11, 2009 12:13 AM To: users@wicket.apache.org Subject: Re: 60% waste unit testing is about testing small isolated bits of functionality

RES: org.apache.wicket.WicketRuntimeException: Exception in rendering component: [MarkupContainer [Component id = login]]

2009-05-11 Thread MarcoCarneiro
Please, I would like unsubscribe my email, thank you. Marco -Mensagem original- De: Anders Peterson [mailto:ap...@optimatika.se] Enviada em: segunda-feira, 11 de maio de 2009 05:25 Para: u...@wicket.apache.org Assunto: org.apache.wicket.WicketRuntimeException: Exception in rendering

Re: org.apache.wicket.WicketRuntimeException: Exception in rendering component: [MarkupContainer [Component id = login]]

2009-05-11 Thread James Carman
You are running with the security manager turned on. Wicket needs to be able to write to private fields that the standard Java security stuff says is not allowed. Either turn off the security manager (if you can) or you need to grant permissions to the wicket libraries. On Mon, May 11, 2009 at

Re: org.apache.wicket.WicketRuntimeException: Exception in rendering component: [MarkupContainer [Component id = login]]

2009-05-11 Thread Anders Peterson
Thank you, it was the security manager. On Ubuntu Server it is turned on as a default. I turned it off by editing the file /etc/default/tomcat6. Set TOMCAT6_SECURITY=no. /Anders On 11 maj 2009, at 10.24, Anders Peterson wrote: What exactly does this stacktrace (below) mean? In

RE: 60% waste

2009-05-11 Thread Martin Grigorov
I'm using quite successfully WebDriver (a.k.a. Selenium 2). El lun, 11-05-2009 a las 04:35 -0700, Douglas Ferguson escribió: On a side note, does Selenium even work with wicket? Douglas -Original Message- From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] Sent: Monday, May 11,

Displaying parameterized text

2009-05-11 Thread HHB
Hey, I have parameterized message in the properties file. Is there a Wicket specific component to display this parameterized text or I have to fallback to MessageFormat and Label? Thanks. - To unsubscribe, e-mail:

Re: Displaying parameterized text

2009-05-11 Thread James Carman
You can have parameterized text in your resources and you can use a StringResourceModel to render it anywhere that takes an IModelString (a Label for instance). On Mon, May 11, 2009 at 8:28 AM, HHB hubaghd...@yahoo.ca wrote: Hey, I have parameterized message in the properties file. Is there a

Re: org.apache.wicket.WicketRuntimeException: Exception in rendering component: [MarkupContainer [Component id = login]]

2009-05-11 Thread Brill Pappin
Looks to me as if the jvm you are deploying to has an active security policy that doesn't allow reflection... Which is going to make most java apicatipns fail because it's such a common method of doing things. If you have control of the system, check the policy files (it could also be a

Re: org.apache.wicket.WicketRuntimeException: Exception in rendering component: [MarkupContainer [Component id = login]]

2009-05-11 Thread James Carman
It's not that it doesn't allow reflection. It's not allowing you to bypass the Java language access restrictions by calling AccessibleObject.setAccessible(true). That's not necessarily a bad thing have. When turned off, it allows outside classes to write to private fields in your code! Of

Out Of Memory with Websphere 6.1 Wicket 1.3.5

2009-05-11 Thread Serge Libotte
Hi all Wicket fellows, We have annoying OOM happening to our Wicket app based applications. We are running Wicket 1.3.5 Before going to some more details, I'd like to know is the stacktrace rings someone's bell. Thanks, Serge. [5/11/09 9:43:47:585 MEST] 004a ServletWrappe E SRVE0068E:

Re: objectautocomplete on a form with CompoundPropertyModel

2009-05-11 Thread Brill Pappin
Thanks that worked... although its a bit of a pain in the behind :) - Brill Pappin On 11-May-09, at 6:55 AM, nino martinez wael wrote: You do something like this: // compound model private final IModelString cityModel = new PropertyModelString( searchWrapper,

Re: 60% waste

2009-05-11 Thread Krzysztof Jelski
Hi Martin! I also found using paths to identify components really cumbersome in test-driving wicket. I took a look at jdave-wicket and really liked its approach. However, I didn't want to use jdave libs with my current project. Inspired with this lib, I wrote this little snippet of code, which i

Re: 60% waste

2009-05-11 Thread Martin Makundi
Tnx. But I am verry happy with my new beanz design ;) ** Martin 2009/5/11 Krzysztof Jelski kjel...@gmail.com: Hi Martin! I also found using paths to identify components really cumbersome in test-driving wicket. I took a look at jdave-wicket and really liked its approach. However, I didn't

Wicket Portlets and Liferay

2009-05-11 Thread Bruno Ledesma
Hello Everyone! Im currently developing portlets with Wicket 1.4-rc2 and liferay 5.2 . They have some compatibility issues (portlet names must be equal the wicket filter-mappings). Does anyone know anyother issues? I saw in liferay foruns some guys that are developing portlets (in liferay) with

Re: Out Of Memory with Websphere 6.1 Wicket 1.3.5

2009-05-11 Thread Carlo M. Camerino
did you set your application to deployment mode? - Original Message - From: Serge Libotte slibo...@gmail.com To: users@wicket.apache.org Sent: Monday, May 11, 2009 9:06:14 PM GMT +08:00 Beijing / Chongqing / Hong Kong / Urumqi Subject: Out Of Memory with Websphere 6.1 Wicket 1.3.5 Hi

Re: Out Of Memory with Websphere 6.1 Wicket 1.3.5

2009-05-11 Thread Carlo Camerino
also did you install the websphere fix packs? On Mon, May 11, 2009 at 9:58 PM, Carlo M. Camerino cmcamer...@gmail.com wrote: did you set your application to deployment mode? - Original Message - From: Serge Libotte slibo...@gmail.com To: users@wicket.apache.org Sent: Monday, May 11,

Re: Out Of Memory with Websphere 6.1 Wicket 1.3.5

2009-05-11 Thread Serge Libotte
Fix pack are installed while the application is not in deployment mode. In fact we had problem with deployment mode since this mode was not loading javascript files (with comments) correctly (previous version) and our application if AJAX (so JS) based. As a workaround (some told us to) application

Re: Out Of Memory with Websphere 6.1 Wicket 1.3.5

2009-05-11 Thread Carlo Camerino
you would have to set that setStripJavascriptCommentsAndWhiteSApace to false also websphere always throw outofmemoryerrors when you deploy it using development mode. eveuntually websphere starts to slow down and stops working. i was told that this was caused by something polling. you could

Re: Out Of Memory with Websphere 6.1 Wicket 1.3.5

2009-05-11 Thread Martijn Dashorst
*ALWAYS* start with deployment mode and *enable* stuff from development mode. Never start with development mode and disable stuff. This is bound to get you into trouble as we are adding new features to development mode to make the life of developers more easy. Martijn On Mon, May 11, 2009 at

Re: Out Of Memory with Websphere 6.1 Wicket 1.3.5

2009-05-11 Thread Fatih Mehmet Ucar
This is probably not related to Wicket, it was normally a java bug. Which java version you are using? What is the max heap size? RAM of the machine running your application? If you start a jvm with a really large -xmx memory, say 75% percent of all available ram, then only 25% of the memory is

RE: 60% waste

2009-05-11 Thread Douglas Ferguson
I thought there was a problem with wicket's random generation of ids. D./ -Original Message- From: Martin Grigorov [mailto:mcgreg...@e-card.bg] Sent: Monday, May 11, 2009 7:15 AM To: users@wicket.apache.org Subject: RE: 60% waste I'm using quite successfully WebDriver (a.k.a. Selenium

Re: Wicket Portlets and Liferay

2009-05-11 Thread Tonio Caputo
Hi Bruno, I'm a beginner in wicket, also in liferay and was able to use wicket to construct a portlet. My first experience was a bit tough, a lot of minor problems Take a look at all the things find in the internet, I was trying to make a simple doc with all the issues but I was not able. The 2

Re: Wicket Portlets and Liferay

2009-05-11 Thread Bruno Ledesma
Well, its kind of curious... the 2nd issue that you posted: 2). Never call your appl/portlet-name with the same name as the url-mapping. In fact, I was not able to see my portlet if the portlet name and filter-mapping are differents. Just to confirm , when you say URL Mapping do you mean...?

Re: Wicket Portlets and Liferay

2009-05-11 Thread Tonio Caputo
Bruno, Well that is a surprise for me, this is my web file filter-mapping filter-namekmkApplication/filter-name url-pattern/kmk/*/url-pattern dispatcherREQUEST/dispatcher dispatcherINCLUDE/dispatcher dispatcherFORWARD/dispatcher /filter-mapping

RE: 60% waste

2009-05-11 Thread Douglas Ferguson
I should be more clear. Has anybody had problems with wicket ids and using Selenium? Was this fixed in v2 (WebDriver)? D/ -Original Message- From: Douglas Ferguson [mailto:doug...@douglasferguson.us] Sent: Monday, May 11, 2009 9:38 AM To: users@wicket.apache.org; mcgreg...@e-card.bg

Re: Out Of Memory with Websphere 6.1 Wicket 1.3.5

2009-05-11 Thread Serge Libotte
We are using Websphere 6.1 with IBM JDK 1.5 I'll check the deployment setting. Tomorrow a version using deployment mode will run. Let see... Btw, we have a Wicket application running fine while it isn't using deployment mode. Cheers, Serge. 2009/5/11 Fatih Mehmet Ucar fmu...@gmail.com: This

Re: 60% waste

2009-05-11 Thread Martin Makundi
I thought there was a problem with wicket's random generation of ids. The beanz overcomes that ;) ** Martin D./ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail:

Re: 60% waste

2009-05-11 Thread John Krasnay
I just use names for form components and css or xpath for non-form components instead of IDs. Sometimes requires rework if the page structure changes but otherwise works OK. jk On Mon, May 11, 2009 at 08:22:40AM -0700, Douglas Ferguson wrote: I should be more clear. Has anybody had problems

Re: Tabs panels

2009-05-11 Thread Igor Vaynberg
the guy writing the modle can create multiple panels and navigate between them by replacing them with each other. eg class panel2 extends panel {} class panel1 extends panel { public panel1(string id) { add(new link(gotopanel2) { onclick() { gotopanel2(); }}); } private void

Re: 60% waste

2009-05-11 Thread Igor Vaynberg
you can use idebugsettings.setoutputcomponentpath(true) to make using selenium easier, this will append a wicket:path attribute with page-relative path to the component which should be a lot more stable then the auto-generated markup ids. -igor On Mon, May 11, 2009 at 8:57 AM, John Krasnay

Re: 60% waste

2009-05-11 Thread Marko Sibakov
Martin Grigorov wrote: I'm using quite successfully WebDriver (a.k.a. Selenium 2). We have also used WebDriver in our current project and i am quite satisfied with the results. I have also written with my colleagues a small framework that makes easier to integrate webdriver to wicket with

Re: Wicket Portlets and Liferay

2009-05-11 Thread Bruno Ledesma
Tonio, what are the wicket/liferay versions that you are using? My problem with filtermapping and porltet names are currently registered in liferay's JIRA You can take a look at: http://issues.liferay.com/browse/LPS-1911 But anyway, its working :) ! My fear right now is about using all

Re: Google App Engine and Wicket

2009-05-11 Thread Jim Pinkham
I've followed with interest all the wicket on GAE threads I can, and these all seem to address necessary minor tweaks to get it set up, but the one big thing I haven't seen much discussion on is the BigTable storage system, since we wouldn't be able to use MySQL. Maybe that's the whole point for

Pre-built wicket sample app for a starter to copy?

2009-05-11 Thread David Chang
Hello, I have a web project to do and this time I am going to do it with Wicket instead of Spring MVC. And I need your input. The tools I plan to use include Wicket, Spring, Hibernate, Acegi, and Displaytag. I recall when I started my first Spring project, I copied Matt Rabile’s example

Re: Pre-built wicket sample app for a starter to copy?

2009-05-11 Thread Jeremy Thomerson
Search for Wicket Phonebook or just start from the quick start http://wicket.apache.org/quickstart.html -- Jeremy Thomerson http://www.wickettraining.com On Mon, May 11, 2009 at 12:03 PM, David Chang david_q_zh...@yahoo.com wrote: Hello, I have a web project to do and this time I am going

Re: Google App Engine and Wicket

2009-05-11 Thread Jeremy Thomerson
You can get a dedicated server at GoDaddy for under $100 per month. I've had one running Java / Wicket apps with an uptime of around two years now. With your very small load, you could also use redwoodvirtual and use a Linux Virtual Server for $20 or $40. I also had a server with them running

[announce] Wicket 1.4-rc4 released

2009-05-11 Thread Jeremy Thomerson
The Apache Wicket team is proud to announce the availability of the fourth release candidate for the newest version of Wicket - 1.4. A lot of bugs have been squashed and several improvements implemented. If you are already using earlier versions of 1.4, it is recommended you update to Wicket

Re: Google App Engine and Wicket

2009-05-11 Thread Juha Palomäki
File uploads seem to be causing some problems. On Wicket uploaded files are first written to some temporary file and on AppEngine this is obviously not possible. I haven't yet investigated if it is easy to change this behavior in Wicket. Another option might be to write a separate servlet for just

Re: [announce] Wicket 1.4-rc4 released

2009-05-11 Thread Pierre Goupil
Keep on working hard, guys! Wicket is just impressive. Thanx to all of you. Regards, Pierre On Mon, May 11, 2009 at 8:13 PM, Jeremy Thomerson jrthomer...@apache.orgwrote: The Apache Wicket team is proud to announce the availability of the fourth release candidate for the newest version of

FW: Auto-response for your message to the Wicket-stuff-user mailing list

2009-05-11 Thread Clermont, Teddy
When running the contrib-wicketJasperReportsExample, I am getting the following error: 40439 [http-8080-1] ERROR org.apache.wicket.request.target.resource.ComponentRes ourceRequestTarget - error handling resource request for component [MarkupContai ner [Component id = linkToHtml]], on page [Page

TabbedPanel issue in test

2009-05-11 Thread Chiradeep Chhaya
Hi, Am seeing a weird issue with tabbedpanel when running tests. I have a fair few pages that use tabbed panels. Howeve on certain pages the panel ID I see through debugcomponenttree is -1 and the test fails when I assert anything on an individual tab with a mesage that the component specified by

Re: CheckboxMultipleChoice in Ajax style

2009-05-11 Thread Philipp Daumke
Hi Mathias, hi all, thanks for your help, I didn't know the AjaxFormChoiceComponentUpdatingBehavior so far. I now have the problem, that it jumps into the onUpdate method just once (when I click on a checkbox for the first time). If I click again on the same or any other checkbox, nothing

AW: [announce] Wicket 1.4-rc4 released

2009-05-11 Thread Christian Helmbold
Why don't you mention the availability of Wicket 1.4 RC 4 on http://wicket.apache.org? Regards, Christian - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail:

AW: AW: [announce] Wicket 1.4-rc4 released

2009-05-11 Thread Christian Helmbold
A link to 1.4 RC4 is missing on http://www.apache.org/dyn/closer.cgi/wicket/1.4-rc2 too. - Ursprüngliche Mail Von: Christian Helmbold christian.helmb...@yahoo.de An: users@wicket.apache.org Gesendet: Montag, den 11. Mai 2009, 23:09:26 Uhr Betreff: AW: [announce] Wicket 1.4-rc4

Re: Pre-built wicket sample app for a starter to copy?

2009-05-11 Thread Maarten Bosteels
Hi, Are you sure you want to mix Wicket with DisplayTag ? I am not saying it's impossible, but when starting a Wicket project from scratch, I wouldn't add a JSP tag library to the mix. Maarten On Mon, May 11, 2009 at 7:18 PM, Jeremy Thomerson jer...@wickettraining.com wrote: Search for

Re: AW: [announce] Wicket 1.4-rc4 released

2009-05-11 Thread Jeremy Thomerson
Why would it appear there? -- Jeremy Thomerson http://www.wickettraining.com On Mon, May 11, 2009 at 4:23 PM, Christian Helmbold christian.helmb...@yahoo.de wrote: A link to 1.4 RC4 is missing on http://www.apache.org/dyn/closer.cgi/wicket/1.4-rc2 too.

Re: Wicket Portlets and Liferay

2009-05-11 Thread Tonio Caputo
Bruno, Looking at the issue, this is the reason of the difference *Environment: Liferay's internal portlet container (does not happen on Sun's portlet container) **1). Add to your portal-ext.properties this line portlet.container.impl=sun *This configuration makes liferay use Sun Portlet

Re: DropDownChoice ID's

2009-05-11 Thread Oblivian
I was missing the fact the values are looked up. Your right, I do not care if the values are 1,2,3... as long as I get the right stuff in my Model John Krasnay wrote: Why do you care what the id's are? Wicket doesn't store the ID anywhere, it just uses the ID to look up the list element

TextField in ListView

2009-05-11 Thread Chris
I have a ListView that contains a TextField and Checkbox. The model is properly populating the components in populateItem(), however onSubmit() in not seeing changes. Do I have to do anything special to make changes to FormComponents in a ListView make it back into the Model? add(new

Re: TextField in ListView

2009-05-11 Thread Clint Popetz
Can you post the full code, including the submit button and the form? -Clint On Mon, May 11, 2009 at 7:48 PM, Chris ch...@carlsoncentral.com wrote: I have a ListView that contains a TextField and Checkbox.  The model is properly populating the components in populateItem(),  however onSubmit()

Re: TextField in ListView

2009-05-11 Thread Oblivian
public class BasicInfoForm extends Form { private static final Log log = LogFactory.getLog(BasicInfoForm.class); @SpringBean(name = spinnDao) private ISpinnDao spinnDao; @SpringBean(name = phrInfoDao) private IPhrInfoDao

Re: TextField in ListView

2009-05-11 Thread Igor Vaynberg
you need to chan your models IModelEmail email = item.getModel(); item.add(new TextField(email, new PropertyModel(email, address))); item.add(new CheckBox(primary, new PropertyModel(email, isPrimary))); also if you use an LDM for the list you are most likely better off using dataview

Re: TextField in ListView

2009-05-11 Thread Oblivian
Such a simple fix. Thanks, it works! igor.vaynberg wrote: you need to chan your models IModel email = item.getModel(); item.add(new TextField(email, new PropertyModel(email, address))); item.add(new CheckBox(primary, new PropertyModel(email, isPrimary))); also if you use an

Re: TextField in ListView

2009-05-11 Thread Oblivian
Also do you have any idea why my language ListMultipleChoice is not defaulting to the selected values. languages is ListLanguage basicDemographicInfo.language is also ListLanguage Thanks again. igor.vaynberg wrote: you need to chan your models IModel email = item.getModel();

Re: AW: How to avoid code duplication on forms?

2009-05-11 Thread Vladimir K
Factory pattern is about Dependency Inversion Principle. You may use this pattern to avoid dependency to concrete classes. So the best way in your case is having Factory that constructs concrete editors via subclassing. They work best together :) Christian Helmbold-2 wrote: I think the