enable / disable MarkupContainer and all children

2007-10-10 Thread Matthijs Wensveen
Hi, I have a Panel (myPanel) containing some child components. When I say: myPanel.setEnabled(false); I want to disable the panel, but also disable all children. Preferably, I'd override setEnabled, but since it is final (sigh), this is impossible. A less elegant way to do it is to supply a

RE: new class reloading solution JavaRebel

2007-10-10 Thread Maeder Thomas
If you can get your hands on a IBM VM, you can do add/remove methods already; not fields, though. Thomas -Original Message- From: Matthijs Wensveen [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 10. Oktober 2007 07:12 To: users@wicket.apache.org Subject: Re: new class reloading

PopupDatePicker + AjaxButton + IE 7 + visibility

2007-10-10 Thread Juha Alatalo
Hi, we are still using old DatePicker (PopupDatePicker in wicket-contrib-datepicker) and found an error in following situation. - Panel is invisible - AjaxButton sets panel visible - DatePicker (in that panel) doens't work when using IE 7 I created a simple example:

[RFE] wicket:enclosure - Modifying visibility of all child components

2007-10-10 Thread Alex Objelean
Another idea for RFE: Also I've noticed that when wicket:enclosure does not change the visibility of ALL its child components (only the specified one), this causes unexpected results. Example: wicket:enclosure child='child1' div wicket:id=child1/div div wicket:id=child2/div

Re: PopupDatePicker + AjaxButton + IE 7 + visibility

2007-10-10 Thread Matej Knopp
Looks like there's a problem with header contribution? Please create a JIRA entry and attach the example to it. -Matej On 10/10/07, Juha Alatalo [EMAIL PROTECTED] wrote: Hi, we are still using old DatePicker (PopupDatePicker in wicket-contrib-datepicker) and found an error in following

Re: PopupDatePicker + AjaxButton + IE 7 + visibility

2007-10-10 Thread David Bernard
WARNself promotion/WARN In the wicketstuff-jquery there is a date picker (based on jquery) that should (not tested I'm on linux) work on IE7. You could download the examples war at (quicker than svn co + build only for test)

Re: Wicket Stuff

2007-10-10 Thread David Bernard
WARNself promotion/WARN In the wicketstuff-jquery there is a sortable list (by DnD) (based on jquery). You could download the examples war at (quicker than svn co + build only for test) http://alchim.sourceforge.net/download/wicketstuff-jquery-examples-0.1-SNAPSHOT.war anita nichols wrote:

Re: TabbedPanel with image tabs

2007-10-10 Thread Stefan Simik
Example for AjaxTabbedPanel: 1. create new Link with image - different for selected and different for unselected tab MyAjaxFallbackLink.java public class MyAjaxFallbackLink extends AjaxFallbackLink { public MyAjaxFallbackLink(String

Re: [RFE] wicket:enclosure - Modifying visibility of all child components

2007-10-10 Thread Igor Vaynberg
that sounds like a bug. if child1 is not visible then the entire enclosure should not be visible. -igor On 10/10/07, Alex Objelean [EMAIL PROTECTED] wrote: Another idea for RFE: Also I've noticed that when wicket:enclosure does not change the visibility of ALL its child components (only the

Session Objects Approach

2007-10-10 Thread Ayodeji Aladejebi
Basically there is an object like this, a common model class User{ Long id; String username; String password; String fullname; ... List collections; } From most examples and basic approach, i see references to this Object in the session During user sign in, this object is loaded from

Re: Example source code?

2007-10-10 Thread Michael Laccetti
Yes, we had a nice argument about that on IRC yesterday. :) Igor Vaynberg wrote: my suggestion is to learn how to use svn :) -igor On 10/9/07, Neil B. Cohen [EMAIL PROTECTED] wrote: Is there a link where I can download sample wicket source code? Like for the Wicket Phone book example? I

Wicket 1.3 - JVM 1.4

2007-10-10 Thread Juan Gabriel Arias
Hi all, i'm using Java 1.4 and, by now, Wicket 1.2.6 (with wicket-spring, wicket-auth-roles and wicket-extensions) We need to migrate to Wicket 1.3 (and spring, roles and extensions), but stay in Java 1.4. Is any chance to do that? I mean, Wicket core has two versions, for Java 1.4 and Java 5.

Re: new class reloading solution JavaRebel

2007-10-10 Thread ekabanov
Matthijs Wensveen-2 wrote: Looks promising. A lot of people here complain about having to restart jetty or tomcat every time they modify their classes. Too bad it's commercial :( We will give free licenses to open source developers:

Re: Wicket 1.3 - JVM 1.4

2007-10-10 Thread Igor Vaynberg
wicket-core, extensions, and spring all still support 1.4 -igor On 10/10/07, Juan Gabriel Arias [EMAIL PROTECTED] wrote: Hi all, i'm using Java 1.4 and, by now, Wicket 1.2.6 (with wicket-spring, wicket-auth-roles and wicket-extensions) We need to migrate to Wicket 1.3 (and spring, roles

Re: new class reloading solution JavaRebel

2007-10-10 Thread Igor Vaynberg
martijn, would you like to put the request in for us? -igor On 10/10/07, ekabanov [EMAIL PROTECTED] wrote: Matthijs Wensveen-2 wrote: Looks promising. A lot of people here complain about having to restart jetty or tomcat every time they modify their classes. Too bad it's commercial

Re: Wicket 1.3 - JVM 1.4

2007-10-10 Thread Juan Gabriel Arias
Thanks for the quick answer! And what about wicket-auth-roles? We are using auth-roles 1.2.2 compliant with Java 1.4 and we get that from the users list. Thanks again! Juan

DataTable FilterToolbar Shifted After AJAX Call

2007-10-10 Thread UPBrandon
I am working on a project that has a DataTable with a filter that uses AJAX to update an object on the backend and refresh the table, among other things. Everything is working well so far except the columns in the filter toolbar row are shifted one column to the right after the AJAX refresh.

Re: how to forward request to an external URL

2007-10-10 Thread Al Maw
Nili Adoram wrote: Suppose I want to forward the HTTP request to some external url (NOT a wicket page, e.g. a JSP page). I want to end the request cycle at this point ( not include this URL inside my page). How can I simulate request.getRequestDispatcher(url).forward() within a wicket page?

Re: Wicket 1.3 - JVM 1.4

2007-10-10 Thread Igor Vaynberg
not sure, as long as you dont need the annotation part of it should be fine -igor On 10/10/07, Juan Gabriel Arias [EMAIL PROTECTED] wrote: Thanks for the quick answer! And what about wicket-auth-roles? We are using auth-roles 1.2.2 compliant with Java 1.4 and we get that from the users

Re: new class reloading solution JavaRebel

2007-10-10 Thread Michael Laccetti
Somebody posted the link in IRC - apparently it doesn't play nicely with Wicket. Mike Igor Vaynberg wrote: martijn, would you like to put the request in for us? -igor On 10/10/07, ekabanov [EMAIL PROTECTED] wrote: Matthijs Wensveen-2 wrote: Looks promising. A lot of people here

Re: new class reloading solution JavaRebel

2007-10-10 Thread ekabanov
Michael Laccetti-2 wrote: Somebody posted the link in IRC - apparently it doesn't play nicely with Wicket. Mike Could somebody elaborate? Preferrably to support (at) zeroturnaround (dot) com? E. Kabanov -- View this message in context:

Re: how to forward request to an external URL

2007-10-10 Thread Igor Vaynberg
On 10/10/07, Al Maw [EMAIL PROTECTED] wrote: Nili Adoram wrote: Suppose I want to forward the HTTP request to some external url (NOT a wicket page, e.g. a JSP page). I want to end the request cycle at this point ( not include this URL inside my page). How can I simulate

Help with Modal Dialog/Firefox problem

2007-10-10 Thread skatz
Can anyone give me some pointers on debugging a problem with the JavaScript that gets appended and sent to the browser when you call ModalDialog#close? I'm getting TypeError exceptions. -- View this message in context:

Wicket Examples

2007-10-10 Thread anita nichols
Is there a way that I can download the whole wicket examples source code? I'm interested with the library application example source code. Thanks, Anita

Render model changes

2007-10-10 Thread Per Newgro
Hi *, im standing in the wood. I try to implement an update strategy for my issues. 45 Panel1 are included in a Panel2 2 Panel2 are included in a Page Every contained component (all Panels) has a listener assigned. The listener for Panel2 will be called if a Panel1 instance has been clicked.

Re: Wicket 1.3 - JVM 1.4

2007-10-10 Thread Martijn Dashorst
I doubt the jar will run with jdk 1.4 - it is compiled using jdk 1.5, so the version will be not compatible. However, the auth-roles project is typically a really, really basic security package. If you want more, then I suggest you look at swarm/wasp from wicket stuff. This has the additional

Re: Wicket Examples

2007-10-10 Thread Martijn Dashorst
Can you take a look at your inbox or the archives first? the same question was asked just one day ago. http://www.nabble.com/Example-source-code--tf4594176.html Martijn On 10/10/07, anita nichols [EMAIL PROTECTED] wrote: Is there a way that I can download the whole wicket examples source code?

Re: Wicket 1.3 - JVM 1.4

2007-10-10 Thread Juan Gabriel Arias
Thank you very much! I'll try that. Juan On 10/10/07, Igor Vaynberg [EMAIL PROTECTED] wrote: not sure, as long as you dont need the annotation part of it should be fine -igor On 10/10/07, Juan Gabriel Arias [EMAIL PROTECTED] wrote: Thanks for the quick answer! And what about

Re: Render model changes

2007-10-10 Thread Igor Vaynberg
you dont need to do anything. after the listener is done executing wicket will rerender the current page again unless you call setresponsepage() yourself. if the listener is in ajax request you have to add all components you want refreshed to the provided ajax request target -igor On 10/10/07,

Re: new class reloading solution JavaRebel

2007-10-10 Thread Igor Vaynberg
[11:55] WicketBot: ivaynberg, logs is http://herebebeasties.com/wicket/today.html -igor On 10/10/07, Michael Laccetti [EMAIL PROTECTED] wrote: I may have time; I make no guarantees. Perhaps somebody else wants to step up? ekabanov wrote: Michael Laccetti-2 wrote: Somebody

Re: TabbedPanel with image tabs

2007-10-10 Thread Erik van Oosten
Something for the wiki component reference? Regards, Erik. Stefan Simik wrote: Example for AjaxTabbedPanel: 1. create new Link with image - different for selected and different for unselected tab MyAjaxFallbackLink.java public class

Re: Render model changes

2007-10-10 Thread Per Newgro
A second try :-) Maybe i can make the issue a bit more clear if i tell you what i want to achieve with this. The 45 Panel1 instances representing the days, week of years and day names of a month. They are all added to a Panel2 which represents the month panel. The page contains 2 month panels.

Re: Session Objects Approach

2007-10-10 Thread Alex Objelean
Take a look on LoadableDetachableModel.. Ayodeji Aladejebi wrote: Basically there is an object like this, a common model class User{ Long id; String username; String password; String fullname; ... List collections; } From most examples and basic approach, i see references

Re: TabbedPanel with image tabs - how to contribute ?

2007-10-10 Thread Stefan Simik
very good idea :) How can I contribute ? ..or where can I send example with full sources ? -- View this message in context: http://www.nabble.com/TabbedPanel-with-image-tabs-tf4580281.html#a13142733 Sent from the Wicket - User mailing list archive at Nabble.com.

Scrolling browser to newly visible panel?

2007-10-10 Thread Gwyn Evans
Just wondering if there was anything that might help with the following? In a web page design I've been given, I may need to display an 'options' form to get additional input. I'm doing this with Ajax, but the problem is that it typically appears off the bottom of the existing page - is there a

Re: Wicket Examples

2007-10-10 Thread anita nichols
4. then put in the path to SVN and you will have all the code?? What is the path?? Thanks On 10/10/07, Igor Vaynberg [EMAIL PROTECTED] wrote: everything is in our svn. i believe the examples are in jdk1.5/wicket-examples module. see wicket.apache.org for svn details -igor On 10/10/07,

Re: Render model changes

2007-10-10 Thread Igor Vaynberg
once again, after you click the link the page is rerendered. so if your panel1 instances properly pull model values when they rerender they should know they are selected and redraw themselves in a proper state. -igor On 10/10/07, Per Newgro [EMAIL PROTECTED] wrote: A second try :-) Maybe i

Re: Scrolling browser to newly visible panel?

2007-10-10 Thread Gerolf Seitz
i found two possibilities to do this (although i haven't tried it with wicket ajax): var el = document.getElementById('panelInsertedViaAjax'); 1) document.getElementsByTagName('body')[0].scrollTop = el.offsetTop + el .offsetHeight; 2) el.scrollIntoView(false); // false to position it to the

Re: Scrolling browser to newly visible panel?

2007-10-10 Thread Nathan Hamblen
Gwyn Evans wrote: I'm doing this with Ajax, but the problem is that it typically appears off the bottom of the existing page - is there a good way of triggering the browser to do something like scroll down, ideally to the bottom of the new form? findpos(elem) has worked well for me on

Templating support ?

2007-10-10 Thread mfs
Guys, Just started playing with Wicket a bit..and have got a quick question/comment Does Wicket offer any form of templating support as provided by tiles-framework for example...because it seems like having a complex web-page simply would make the WebPage POJO too complex given all the

Re: Templating support ?

2007-10-10 Thread Igor Vaynberg
see markup inhertance, pages, panels, and borders :) -igor On 10/10/07, mfs [EMAIL PROTECTED] wrote: Guys, Just started playing with Wicket a bit..and have got a quick question/comment Does Wicket offer any form of templating support as provided by tiles-framework for example...because

Stateless page creating session

2007-10-10 Thread John Patterson
Hi, I have created a page and setStatelessHint(true) and made sure all the child components are stateless but an http session is still being created. The method isPageStateless() returns true. Here is the trace where the SEssion is created:

Re: Stateless page creating session

2007-10-10 Thread John Patterson
Also, the example application stateless is doing the same. When I go to this page http://localhost:8080/wicket-examples/stateless/public/Index/ after restarting my browser I get this a session exists for this client, with session id z4zov2z9j024 go to another stateless page go to a stateful

Empty ListChoice

2007-10-10 Thread Matt Jensen
Is there any way to get a ListChoice to render as empty (no options) when its choice model is empty? By default, Choose One appears. If I set nullValid to true, an empty item appears which is still selectable. I would like to have the list come up completely empty if the choice model is

Re: Empty ListChoice

2007-10-10 Thread Swaroop Belur
Try this: List choices; if(empty_condition){ choices = new ArrayList(); } else{ choices = } DropDownChoice d = new DropDownChoice(drop, new PropertyModel(this,drop), choices) { protected void onComponentTagBody(final MarkupStream markupStream, final ComponentTag openTag)

Re: How to setResponsePage to a mountBookmarkablePage URL (/promote, PromotePage.class);

2007-10-10 Thread Igor Vaynberg
if you mount your page and use setresponsepage(Class) it will always go to the mounted url -igor On 10/10/07, Chris Lintz [EMAIL PROTECTED] wrote: Hi, Does any one know if its possible to set the response page (i.e. setResponsePage(...) ) to a bookmarkable page that actually sends the