YUI menu and development mode

2009-03-27 Thread Philippe Marzouk
Hi, I am trying to use YUI menu2 however when the application is deployed in development mode the menus are not working, ie no submenus, no change of color when the mouse pointer is on an item... Does anyone experience this or has a solution to this ? Thanks, Philippe

Re: How to secure a Wicket 1.4 application?

2009-03-27 Thread Linda van der Pal
I'm still working on this problem myself. I'm still trying to combine wicket-auth-roles with JAAS and Glassfish. I'll let you know when I succeed. :) Regards, Linda Christian Helmbold wrote: Hello, what would be your prefered way to secure a Wicket 1.4 application? Spring Security and

Ajax refresh component

2009-03-27 Thread Albert, Michael (LU - Luxembourg)
Hi, I would like to do the same page as the Wicket - example source code: - A list of element on the left side - A main page wich displays the details of the selected element My problem is that the element is correctly taken from database but not displayed. Thanks,

Re: Open Session in View Pattern: some basic questions

2009-03-27 Thread Kaspar Fischer
Igor, this clarified a lot. Many thanks for your very detailed reply. Kaspar On 26.03.2009, at 19:30, Igor Vaynberg wrote: there are three patterns to transaction management the default pattern is session-per-transaction. this is not convenient because after your business logic closes the

Wicket+JaserReport, how to start?

2009-03-27 Thread Mellon
Hello, I am new in Wicket+JasperReport, I have the fundamental knowledge about wicket and JasperReport, but Now I need to integret them. How to do it? How to start? I need some tutorial guide. I will look forward to hear any suggestions. Appreciate your help. Mellon -- View this message in

Re: Newbie -How to Implement LinkTree

2009-03-27 Thread Ajayi Yinka
hi all, I am having problems in implementing LinkTree in my page. I need someone to put me through. I use to get the component not found exception ( WicketMessage: close tag not found for tag: ul id=node11 wicket:id=node1. Component: [MarkupContainer [Component id = node1]] Root cause:

DatePicker, TextField and AjaxEventBehavior

2009-03-27 Thread Michal Hybler
Hi, i have problem with using datepicker in wicket. I have TextField and DatePicker attached to it. final TextField dateFieldfrom = new TextField(validityFrom, new Model(userClassification.getValidity().getValidFrom()));

Ajax and FileUpload

2009-03-27 Thread Daniel Ferreira Castro
Guys, I know that XmlHttpRequest does not support upload. But maybe there is someone that managed a workaround for this case. Then I start to look around on the internet and found those two links. - http://blog.demay-fr.net/index.php/2007/12/07/93-simulate-ajax-file-upload-with-wicket -

wicket:path and Ajax

2009-03-27 Thread Andrea Aime
Hi, I've set my Wicket application to generate wicket:path attributes. Yet, it seems what whatever new element added following an ajax link does not have the wicket:path attribute set. I'm seeing this in ajax tabbed panels and in other ajaxy behavious, like adding a row in a ListView by following

AW: Bean Validation and Wicket

2009-03-27 Thread Christian Helmbold
Support for JSR 303 Bean Validation in Wicket was discussed three years ago.. http://www.nabble.com/JSR-303:-Bean-Validation---Anyone-following-this--td5288109.html See comment from Eelco here: http://raibledesigns.com/rd/entry/validation_framework_consolidation#comments There seems to be no

AW: AW: Bean Validation and Wicket

2009-03-27 Thread Christian Helmbold
There seems to be no activity in this issue. I think it would be worse to spend some work for JSR 303 support Uups, I mean worth :-) - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional

AjaxFallbackDefaultDataTable and AjaxSelfUpdatingTimerBehavior

2009-03-27 Thread Murat Yücel
Hi All I have a question regarding how to add AjaxSelfUpdatingTimerBehaviors to some of the cells in a datatable. What is the best practice and should i use something else? Today i have a list of items which is retrieved from the database each time there is a request. The refresh rate can be set

Re: Wicket+JaserReport, how to start?

2009-03-27 Thread freak182
Hello, You can checkout this site: http://code.google.com/p/wicket-jasper-ui/ Cheers. Mellon wrote: Hello, I am new in Wicket+JasperReport, I have the fundamental knowledge about wicket and JasperReport, but Now I need to integret them. How to do it? How to start? I need some tutorial

Ajax components on error pages

2009-03-27 Thread Michael Sparer
I stumbled across a tiny problem today - i have an ajax LoginForm on each page which either displays an error message or performs a redirect after login. this works on all pages - except on errorpages the Ajax-debug console throws an error (Received Ajax response with code: 404) after correctly

Form validation with coupled components

2009-03-27 Thread Seven Corners
I have a form that contains a few checkboxes, and the form should fail validation only if ALL of them are unchecked. How can I do this? I see how to validate that a single control is required but not to check for coupled controls. -- View this message in context:

Re: Form validation with coupled components

2009-03-27 Thread Martin Makundi
I see how to validate that a single control is required but not to check for coupled controls. This is a COMPONENT validator. I have a form that contains a few checkboxes, and the form should fail validation only if ALL of them are unchecked. You need FORM VALIDATOR. See for example

Re: Form validation with coupled components

2009-03-27 Thread Martin Makundi
Actually it's EqualInputValidator ** Martin 2009/3/27 Martin Makundi martin.maku...@koodaripalvelut.com: I see how to validate that a single control is required but not to check for coupled controls. This is a COMPONENT validator. I have a form that contains a few checkboxes, and the form

Re: Form validation with coupled components

2009-03-27 Thread Seven Corners
OK, good, thank you, Martin! Shelah -- View this message in context: http://www.nabble.com/Form-validation-with-coupled-components-tp22741741p22742000.html Sent from the Wicket - User mailing list archive at Nabble.com. -

Re: Ajax refresh component

2009-03-27 Thread Michael O'Cleirigh
Hello, Your problem is that you calling setOutputMarkupId(true) on the wrong panel (you are calling it on LawView page constructor where in fact it should be called on the component that is added to the ajax request target, LawPanel). Also I think the updated panel has to replace the current

Need Wicket freelance developer

2009-03-27 Thread alevin
Hi. We are a startup company in New York City working on a new data B2B platform. We need a Wicket developer help us implement a few screens for the presentation layer. Should be fairly simple stuff for someone who knows what they are doing (a few entry forms with mostly dynamic dropdowns).

Wicketizer: Create Wicket Application from DB via Hibernate

2009-03-27 Thread 192709
Dear all, I have created a web site by which you can create a CRUD Application using Wicket. Create a Database (or use existing) and provide annotated hibernate POJOs and your hibernate.cfg.xml. What you will get : a complete Eclipse Project with - a menu (for all Pages) - one version using

Re: Wicketizer: Create Wicket Application from DB via Hibernate

2009-03-27 Thread nino martinez wael
Hi Any plans on supporting Hibernate via JPA? And what about a maven mojo that does what wicketizer does? regards Nino 2009/3/27 192709 marcus.bos...@gmx.de: Dear all, I have created a  web site by which you can create a CRUD Application using Wicket. Create a Database (or use existing)

Caching of rendered panels

2009-03-27 Thread Daniel Frisk
I have a situation where I have some panels which I want to render say at most once a minute and during that period they should be static. I tried a few approches which hasn't really worked out for me so I wanted to know if somebody has created such a thing or how this could be done. Ideas

Compound property model

2009-03-27 Thread Mathias P.W Nilsson
Hi, When testing this the user in the onSubmit is null. I load a list of Connectors and make an CompoundPropertyModel for the list. Every connector has a user. How can I achive this so that the list is populated with users in the onSubmit()? package

Re: Wicketizer: Create Wicket Application from DB via Hibernate

2009-03-27 Thread 192709
HI, this is the first strike. I first want to collect Feedback - and then decide how to proceed. My first intention was to impress Management how fast CRUD might go. But in the process of building i decided to make it more useful (e.g. by using LoadableDetachableModel) Best Regards, Marcus

Re: Caching of rendered panels

2009-03-27 Thread Igor Vaynberg
normally you should cache your model, the rendering itself is very cheap. -igor On Fri, Mar 27, 2009 at 8:49 AM, Daniel Frisk dan...@jalbum.net wrote: I have a situation where I have some panels which I want to render say at most once a minute and during that period they should be static. I

Re: Wicketizer: Create Wicket Application from DB via Hibernate

2009-03-27 Thread Peter Thomas
On Fri, Mar 27, 2009 at 9:57 AM, 192709 marcus.bos...@gmx.de wrote: HI, this is the first strike. I first want to collect Feedback - and then decide how to proceed. My first intention was to impress Management how fast CRUD might go. But in the process of building i decided to make it

Re: Wicketizer: Create Wicket Application from DB via Hibernate

2009-03-27 Thread Martin Makundi
Demo is a magic word ... I'd like to see a live demo, either online or recorded... ** Martin 2009/3/27 Peter Thomas ptrtho...@gmail.com: On Fri, Mar 27, 2009 at 9:57 AM, 192709 marcus.bos...@gmx.de wrote: - To unsubscribe,

AutoCompleteTextField does not get refreshed

2009-03-27 Thread okrohne78
Hi, I use the AutoCompleteTextField to allow the users to enter tags and I have two issues: 1) After the user has pressed the key enter I want to display the entered tag in a label and reset the AutoCompleteTextField to allow further inputs. So the AutoCompleteTextField should be cleared which

Re: Wicketizer: Create Wicket Application from DB via Hibernate

2009-03-27 Thread 192709
... we are in line. Work In Progress! Marcus ptrthomas wrote: On Fri, Mar 27, 2009 at 9:57 AM, 192709 marcus.bos...@gmx.de wrote: HI, this is the first strike. I first want to collect Feedback - and then decide how to proceed. My first intention was to impress Management how fast

AW: Formatting TabbedPanel with CSS

2009-03-27 Thread Christian Helmbold
As I found out that setting the css-class works, but at the wrong place. The css-class attribute is added to the surrounding container and not to the tabbed panel. The following html code will be replaced by the tabbed panel: div wicket:id=tabbedPanelReiter/div And this is the rendered

Re: Can client cache pages effectively?

2009-03-27 Thread Jim Pinkham
Jeremy, Thanks for your thoughtful reply - Scenario is exactly right. I played around with page headers to make the whole page cacheable, but ran into several problems - I have a search form, and there's an 'admin' login that enables edit links. So it's really a stateful page, but I want to

Re: Caching of rendered panels

2009-03-27 Thread Jeremy Thomerson
Don't share component instances across requests / especially sessions. Don't prematurely optimize. Cache your model and test the rendering. If it really is taking too long, figure out why and worry about it then. -- Jeremy Thomerson http://www.wickettraining.com On Fri, Mar 27, 2009 at 1:12

Class org/apache/wicket/Component violates loader constraints

2009-03-27 Thread Fernando Wermus
People,I was working with WTP to debug my wicket app. But I decided to move to jetty because there is no need to deploy de app, as I imagine that WTP does. I changed from Eclipse-Project-Java-build-path the directory where my class are compiled: src/main/webapp/WEB-INF/classes. I debug Start.java

Re: Caching of rendered panels

2009-03-27 Thread Daniel Frisk
In our case it's not really that the rendering itself is taking to long, it is getting the data from the model (database) so your advice is in some sense correct. Restructuring the code so that we can efficently cache the model is a lot of work and I would prefer to somehow cache the

Re: Caching of rendered panels

2009-03-27 Thread Igor Vaynberg
ive never had to do this, but maybe something like this will work :) class myheavypanel implements icomponentsource { private String cache; public Component restoreComponent(String id) { if (cache==null) { return this; } else { return new label(id,

Re: Class org/apache/wicket/Component violates loader constraints

2009-03-27 Thread Serkan Camurcuoglu
it also probably indicates that wicket-xxx.jar exists in multiple locations within the application server.. Martijn Dashorst wrote: wicket version, OS version, Java version would be nice to have in such a scenario. Did you try to generate a new quickstart and see if that works? Martijn On

Re: Caching of rendered panels

2009-03-27 Thread Matej Knopp
You have to be really brave to use IComponentSource :-) It's almost never a good idea anyway. It makes sense if you have container with big amount of small component and you can restore the whole hierarchy from e.g. an entity Id. but it was last time used with Wicket 1.3. There's not guarantee

Re: Class org/apache/wicket/Component violates loader constraints

2009-03-27 Thread Fernando Wermus
Martijn Serkan, I solved this problem with eclipse m2 plugin. I installed it and I could debug my app inside eclipse with jetty. I was looking for any duplicity or some compiler version problem, but I was having a hard time. Thanks! On Fri, Mar 27, 2009 at 4:17 PM, Serkan

Re: images in root folder

2009-03-27 Thread Stephen Swinsburg
If you have an img tag, you can use a ContextImage to load an image relative to your webapp context. ie HTML img wicket:id=myimage / Java add(new ContextImage(myimage, path/to/your/image); The path will be relative to your webapp, so if your images are deployed in the root of your webapp

Thanks!

2009-03-27 Thread Kaspar Fischer
Dear list members, contributors and Wicket core developers, Some time ago we have deployed a website which I have migrated from Tapestry 4. The website is using Alfresco CMS as its data repository. The front-end and the editor back-end (the latter you cannot see without being logged in)

adding css and js to header

2009-03-27 Thread fachhoch
and my header section already has some java script code script type=text/javascript function jqCheckAll(){ $(INPUT[type='checkbox']).attr('checked', $('#checkAllAuto').is(':checked')); }

Re: adding css and js to header

2009-03-27 Thread Stephen Swinsburg
Have you tried putting your js block in its own .js and including it after the other wicket includes? It doesn't look like it's dynamic so could be easily included this way cheers, Steve On 27/03/2009, at 11:03 PM, fachhoch wrote: and my header section already has some java script

Re: adding css and js to header

2009-03-27 Thread fachhoch
I am a layman with java script so i just follow the examples , i have lot of other java scrit which i call in head section and i cannot put them in .js files , please tell me how to handle Steve Swinsburg-2 wrote: Have you tried putting your js block in its own .js and including it

Re: adding css and js to header

2009-03-27 Thread Jeremy Thomerson
Simple: If you're adding JS code from your Page.html file - put it in a wicket:head!-- your script tag here --/wicket:head tag. If you're adding it from your Page.java file - do this: add(new AbstractBehavior() { @Override public void renderHead(IHeaderResponse

Re: Thanks!

2009-03-27 Thread Jeremy Thomerson
Glad it worked well for you - I believe strongly that it is the best web framework available. Regarding your fear of putting the domain name in the email - if you apply some SEO tips to your site, this list would never come up ahead. I've done quite a bit of public site work where search engines