Re: production quality wicket applications running on GAE

2010-07-19 Thread Ernesto Reinaldo Barreiro
Richard, Thank you very much for your comments! Based on your experiences and on several other post on this list, reporting different issues regarding Wicket and GAE, I'm not sure I'll will use GAE for my project: I have little time to work on it and I do not want to spend the bulk of it solving

Re: Form in a Wizard is not showing state of the Model

2010-07-19 Thread Igor Vaynberg
probably because you had textarea/ instead of textarea/textarea -igor On Sun, Jul 18, 2010 at 9:46 PM, drf davidrfi...@gmail.com wrote: Thanks a lot. You are right that I did not need the Form, but it turned out the problem was something else: - I was using a TextArea instead of TextField,

getPage() and getParentPage() returns null

2010-07-19 Thread zoran
Hi, I have one basic page in my application that contains a base panel. This panel contains several AjaxLinks that update the panel content, so new page is loaded for each link. This works fine, but each of these pages can't access it's parent page or page with getParentPage() and getPage(). The

How to handler Wicket session per client

2010-07-19 Thread suchai
I using wicket 1.4.9 + spring 3 + ibatis.i want to get session data before used transactional but i have big problem because this data put on wicket web session(this data choose on login page).i using spring aop for point cut but i cannot point cut session per client. how to solve this problem.

Wicket Portlets

2010-07-19 Thread Gareth Western
Is anyone here using Wicket in a portal (i.e. for portlets)? I'm trying to figure out how to switch pages when the user changes Portlet mode (e.g. VIEW - EDIT). Looking through the source, it looks like the responsible method (WicketPortlet#getWicketConfigParameter(PortletRequest request, String

Re: Wicket Portlets

2010-07-19 Thread Thijs
For us this works in the Application class: /** * @see wicket.Application#getHomePage() */ public Class? extends Page getHomePage() { PortletRequestContext prc = (PortletRequestContext) RequestContext.get(); if

Re: Maven archetype and tomcat:run

2010-07-19 Thread Mansour Al Akeel
Martin, thank you. But I don't have servlet.jar in the lib folder. There's no lib folder, since I am using maven archetype. If I have to exclude it from POM.XML then how ? tomcat plugin depends on it ! can you please kindly give me more details ? On Sun, Jul 18, 2010 at 11:16 AM, Martin Grigorov

Re: Maven archetype and tomcat:run

2010-07-19 Thread Martin Grigorov
In your pom.xml find the dependency for javax.servlet:servlet-api and add scopeprovided/scope 2010/7/19 Mansour Al Akeel mansour.alak...@gmail.com Martin, thank you. But I don't have servlet.jar in the lib folder. There's no lib folder, since I am using maven archetype. If I have to exclude

Re: action on an old versioned page

2010-07-19 Thread Vlad Oleniuk
Thanks to everyone, who took part in the discussion. The problem was in another aspect, page version 1 had a form, and the framework didn't allow to resubmit it, hence recreate version 2, after setting renderStrategy as ONE_PASS_RENDER everything works. Best regards, Vladyslav Oleniuk -- View

Re: Wicket Portlets

2010-07-19 Thread Gareth Western
Thanks Thijs! I also found another example that works sitting in the Wicket SVN repo: https://svn.apache.org/repos/asf/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/portlet/menu/ Basically all I needed to do was add the init-params to my portlet.xml (in addition to the

Re: How to prevent rendering of unauthorized components?

2010-07-19 Thread Pedro Santos
Hi Martin, I'm suspect answering this question, because I like the current design that treat authorization restriction as an exception. You can override the logRuntimeException method on your app RequestCycle and implement rules to hide the authorization exception from the log. About to have an

Re: How to prevent rendering of unauthorized components?

2010-07-19 Thread Martin Makundi
I am not rendering the page.. wicket is. Probably user has bookmarked a page and logged off and tries to log in again using the bookmark... or something. Really quite strange and I think wicket should take care of it transparently without exception. ** Martin 2010/7/19 Pedro Santos

Re: Maven archetype and tomcat:run

2010-07-19 Thread Mansour Al Akeel
Martin, I don't have this depndency in my pom, and it's not in the list of resolved dependencies: here's what I have dependencies dependency groupIdorg.apache.wicket/groupId artifactIdwicket/artifactId

Re: Maven archetype and tomcat:run

2010-07-19 Thread Martin Grigorov
Try to run the application with maven-jetty-plugin or even better in a standalone web container without Maven involved and see what is the outcome. 2010/7/19 Mansour Al Akeel mansour.alak...@gmail.com Martin, I don't have this depndency in my pom, and it's not in the list of resolved

Re: Maven archetype and tomcat:run

2010-07-19 Thread Mansour Al Akeel
It runs ok under a standard tomcat installation, and I can do remote debugging. However, it's not as convenient as if it's running from maven, where I can view changes easily. In my case, changes has to be deployed to tomcat installation after re-packaging the war file. When dealing with

Customizing URLs in Ajax-Forms, -buttons and -links

2010-07-19 Thread heapifyman
Hello all, I'm trying to kind of embed a wicket app into another web page, meaning that the wicket pages are loaded into a modal jQuery panel. All submits, links, buttons in the wicket pages are thus realised using wicket's ajax features. Unfortunately, the wicketSubmitFormById call in an Ajax

RE: tomcat 7.0.0 getRelativePathPrefixToContextRoot

2010-07-19 Thread Alex Rass
Simple solution: Look at the source for getRelativePathPrefixToContextRoot And if it's a straight through call to tomcat implementation: post a bug with tomcat ppl. If it's something that wicket does wrong: post a bug here (jira) Considering Wicket works with Tomcat 5 and 6, I'd guess you'll

RE: Logging

2010-07-19 Thread Alex Rass
Yup :) Martin's right, this is a bad way of doing it! You should be getting a logger for your own class. So when the logger does log - it knows where the errors come from and helps you create proper stack traces. You'll also have better control over log levels for different classes/packages in

Welcome Martin Grigorov as a core team member

2010-07-19 Thread Jeremy Thomerson
The Wicket team is happy to announce that Martin Grigorov was invited to join the Wicket team as a committer and PMC member, and he accepted! Martin's relentless patience, high quality patches and sustained energy haven't gone unnoticed. He has continually provided valuable insights and put a

Change from development to deployment mode in maven2

2010-07-19 Thread Gustavo Henrique
Hi! I'm using wicket in development mode but I need to change to deployment mode when maven is called. How I configure maven to change that mode when it is to generate war file? thanks!

Re: Change from development to deployment mode in maven2

2010-07-19 Thread Major Péter
Hi, you could configure the wicket.configuration with JVM properties too, so you can have always enabled the production mode in web.xml, and override it with your dev server JVM property. See the JavaDoc for Application#getConfigurationType. Regards, Peter 2010-07-19 19:10 keltezéssel, Gustavo

Submitting form via AJAX over SSL

2010-07-19 Thread Jeffrey Schneller
How can I submit a form via AJAX over SSL? I have a login form that appears via Ajax and I want the form submission to be under SSL when it is submitted via AJAX. How can I go about doing this? Thanks.

Re: Change from development to deployment mode in maven2

2010-07-19 Thread Brian Topping
Setting the JVM property is great because you can do it on your deployment server, so the same WAR runs in debug mode on all but the deployment machines. If you want Maven to fix the setting on a build, you can create a properties file: wicket.configuration = ${deploy.type} Then create one

Re: AjaxRequestTarget.appendJavascript broken arrays

2010-07-19 Thread DmitryM
Double checked. Confirming no issue (probably my JS was broken at the time of initial testing). -Dmitry -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AjaxRequestTarget-appendJavascript-broken-arrays-tp2290353p2294403.html Sent from the Wicket - User mailing list

Re: Welcome Martin Grigorov as a core team member

2010-07-19 Thread vineet semwal
hail martin-g !! one of the brightest and helpful person i have ever seen, i myself have learnt a lot of things from him ;) On Mon, Jul 19, 2010 at 10:28 PM, Jeremy Thomerson jer...@wickettraining.com wrote: The Wicket team is happy to announce that Martin Grigorov was invited to join the

Wicket Channels best practices

2010-07-19 Thread mwilber
Is there a best practice document or a set of examples that demonstrate a use of Wicket Channels. I have run into a couple places in an application where the service side of obtaining data might be costly. Using an AjaxLazyLoadingPanel and/or a LoadableDetachableModel has certainly helped, but

Re: Welcome Martin Grigorov as a core team member

2010-07-19 Thread Thies Edeling
hey Martin, congratulations! On 07/19/2010 06:58 PM, Jeremy Thomerson wrote: The Wicket team is happy to announce that Martin Grigorov was invited to join the Wicket team as a committer and PMC member, and he accepted! Martin's relentless patience, high quality patches and sustained energy

Re: Welcome Martin Grigorov as a core team member

2010-07-19 Thread nino martinez wael
Grats Martin :) 2010/7/19 Jeremy Thomerson jer...@wickettraining.com The Wicket team is happy to announce that Martin Grigorov was invited to join the Wicket team as a committer and PMC member, and he accepted! Martin's relentless patience, high quality patches and sustained energy haven't

Re: Welcome Martin Grigorov as a core team member

2010-07-19 Thread Eelco Hillenius
Welcome Martin, and thanks a bunch for keeping the project alive and kicking! Eelco On Mon, Jul 19, 2010 at 2:51 PM, nino martinez wael nino.martinez.w...@gmail.com wrote: Grats Martin :) 2010/7/19 Jeremy Thomerson jer...@wickettraining.com The Wicket team is happy to announce that Martin

Re: Welcome Martin Grigorov as a core team member

2010-07-19 Thread nicolas melendez
Hey! congratulations! On Mon, Jul 19, 2010 at 10:12 PM, Eelco Hillenius eelco.hillen...@gmail.com wrote: Welcome Martin, and thanks a bunch for keeping the project alive and kicking! Eelco On Mon, Jul 19, 2010 at 2:51 PM, nino martinez wael nino.martinez.w...@gmail.com wrote: Grats

WicketForge Needs a New Project Lead

2010-07-19 Thread Nick Heudecker
Hi, As my lack of activity has probably demonstrated, I'm currently unable to allocate time to WicketForge. With a startup and grad school beginning, I'm swamped and looking for someone to take over the project. Any takers? -Nick

Auto insert comments between components

2010-07-19 Thread John Armstrong
Hi all, Here is an odd one. I have an app that uses a lot of components (obviously..) but now I need to send it out to a CSS Dev for some tweaking and this dev is not capable of bringing up the full stack and working in situ. So, in the past I've had systems that insert comments to the effect

Re: Auto insert comments between components

2010-07-19 Thread Igor Vaynberg
getDebugSettings().setOutputMarkupContainerClassName(true) -igor On Mon, Jul 19, 2010 at 9:39 PM, John Armstrong siber...@siberian.org wrote: Hi all,  Here is an odd one. I have an app that uses a lot of components (obviously..) but now I need to send it out to a CSS Dev for some tweaking

Re: Auto insert comments between components

2010-07-19 Thread John Armstrong
Like magic. Thanks Igor. J On Mon, Jul 19, 2010 at 9:48 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: getDebugSettings().setOutputMarkupContainerClassName(true) -igor On Mon, Jul 19, 2010 at 9:39 PM, John Armstrong siber...@siberian.org wrote: Hi all,  Here is an odd one. I have an

Re: component .... not found on page for a Link colun in the Datatable after self refresh using the AjaxSelfUpdatingTimerBehavior

2010-07-19 Thread Fernando Wermus
Daniel, Help! I am running into the same exception. But I had a harsher situation. In my case I have a component called box who can have many images in it. A modal window permits adding images to boxes - your case: modal window and refreshing back page - which you can click and send you