Re: [Wicket-user] AJAX degrade and Hot deployment scanning with jetty

2006-09-09 Thread Frank Bille
Ok, ok. What WAS I thinking? :)FrankOn 9/8/06, Johan Compagner [EMAIL PROTECTED] wrote: Frank frank!this is bad advice!don't call the configure method yourself. That shouldn't be done. Because configure m ethod is always already calledWhat you should do is set in through the web.xml in deployment

[Wicket-user] Ajax request 'hangs' on Safari (Wicket 2.0)

2006-09-09 Thread Adam Smyczek
Hi All, I have an ajax problem on Safari browser. When I update a component using AbstractDefaultAjaxBehavior the ajax log looks like following: -- begin -- INFO: INFO: Initiating Ajax GET request on /quickstart/app? wicket:interface=:

[Wicket-user] Matej's Tree Overflow problems

2006-09-09 Thread Karl M. Davis
Hey there, I'm having a problem with Matej's tree. The way it's set up, if any of the rows' text is too wide for the 20em space allocated to the tree, the row "disappears". I can make the tree wider, but this becomes a problem for arbitrarily-large trees. I'm hoping this is something I

[Wicket-user] Missing Resource Error with SignInPanel

2006-09-09 Thread Ayodeji Aladejebi
What could be the cause of a MissingResourceException.I have a SignInPanel as used in the Wicket Example...When i check the RememberMe, it throws the error, when i uncheck it, It works well. Any tips? WicketMessage: Method onFormSubmitted of interface wicket.markup.html.form.IFormSubmitListener

[Wicket-user] back button problem...

2006-09-09 Thread Erik Brakkee
Hi, I have a form with a compound property model and want to have full support for the back button. To this I am already calling modelChanging() and modelChanged() on the form before and after the change, and debugging through the code I see that indeed the framework is creating a copy of my

[Wicket-user] Bread crumbs based on pages, not panels?

2006-09-09 Thread aaime74
Hi, would it be possible (and advisable) to have bread crumbs that work on pages rather than panels? My UI is basically a big tree of configuration pages (such as the ones for an IDE) and I'd like to make them bookmarkable and with nice urls... with BreadcrumbBar and BreadcrumbPanel this does

Re: [Wicket-user] Missing Resource Error with SignInPanel

2006-09-09 Thread Igor Vaynberg
you need to declare a resource with key ConversionError, obviously there is a conversion error somewhere in your code and wicket is looking for an error message with that key but cannot find one.-Igor On 9/9/06, Ayodeji Aladejebi [EMAIL PROTECTED] wrote: What could be the cause of a

Re: [Wicket-user] back button problem...

2006-09-09 Thread Igor Vaynberg
well...this is all unique to the compound model because it uses the component's id to resolve the property. so when you passed in this it tried to use the form's id which obviously did not work.this will all be clearer in 2.0 where imodel looks like thisIModelT { T getObject(); void

Re: [Wicket-user] Bread crumbs based on pages, not panels?

2006-09-09 Thread Igor Vaynberg
it is definetenly possible and shouldnt be too hard. maybe the current implementation of the breadcrumbs doesnt support it as the usecase was panels, but it doesnt mean you cant roll your own.-Igor On 9/9/06, aaime74 [EMAIL PROTECTED] wrote: Hi,would it be possible (and advisable) to have bread

Re: [Wicket-user] shades manual -- incomplete draft

2006-09-09 Thread Igor Vaynberg
i was going to leave comments on your blog, but i dont feel like signing up for blogger.com, maybe you should allow anon comments :)here are a couple of notes after scanning the manual for the first time setParam(FROM) and setPram(TO) for paging - do those actually get injected directly into sql?

Re: [Wicket-user] Bread crumbs based on pages, not panels?

2006-09-09 Thread Eelco Hillenius
Yeah, although the breadcrumbs core implementation (package wicket.extensions.breadcrumb) does not make the assumption you have to work with panels, the only default implementation (wicket.extensions.breadcrumb.panel) does so. It's possible to adopt this model to a page based one, but as I never

Re: [Wicket-user] Bread crumbs based on pages, not panels?

2006-09-09 Thread Johan Compagner
it should be very simple. Just store the breadcrumb in the session object.There is only one big problem.. That is the back button. How are you going to rollback the session data?Wicket currenty doesn't have support for that only for page versions not session versions... johanOn 9/9/06, Eelco

Re: [Wicket-user] Bread crumbs based on pages, not panels?

2006-09-09 Thread Igor Vaynberg
i have an implementation but it is unique to this app. basically each page takes a back page in the constructor and then i iterate over the chain and create the breadcrumbs. this might be overkill for you if you are only interested in bookmarkable urls - not saving the actual state of previous

Re: [Wicket-user] Bread crumbs based on pages, not panels?

2006-09-09 Thread Eelco Hillenius
Another thing is that you don't always want to create a (or just one) breadcrumb for every action. The bread crumbs component in wicket-extensions has a seperate model etc to allow more flexibility in designating what exactly the path is. But if you need just the simple exact path of navigation,

[Wicket-user] How to use Javascript Alert

2006-09-09 Thread Pierre-Yves Saumont
Hello, What is the best way to call a Wicket url from Javascript? Is it possible to have Wicket embed a link in a script? Or should I use a normal link, make it invisible an programmatically click on it from the script? Thanks Pierre-Yves

[Wicket-user] checkboxes in dataview...

2006-09-09 Thread Erik Brakkee
Hi, I was just wondering how to do the following: 1. display a number of items together with a checkbox in a table using DataView. 2. in the submission of a form check which items are checked. The data is coming from a database so a DataView would seem a good choice. How do I go about something

Re: [Wicket-user] checkboxes in dataview...

2006-09-09 Thread Erik Brakkee
Erik Brakkee wrote: Hi, I was just wondering how to do the following: 1. display a number of items together with a checkbox in a table using DataView. 2. in the submission of a form check which items are checked. The data is coming from a database so a DataView would seem a good choice.

[Wicket-user] CSS problems with DataTable in an AjaxTabbedPanel

2006-09-09 Thread Per Ejeklint
I have a page with a few AjaxTabbedPanels. Two contains TreeTables and renders just fine. One contains a DataTable with a HeadersToolbar for sorting. This panel renders fine when first entered, but when I click on a header to sort, the CSS styling for the enclosing tab-row breaks. It's styling

Re: [Wicket-user] checkboxes in dataview...

2006-09-09 Thread Martijn Dashorst
Does your Java object that is in your list have a boolean property? The checkboxes will set that value. Martijn On 9/9/06, Erik Brakkee [EMAIL PROTECTED] wrote: Erik Brakkee wrote: Hi, I was just wondering how to do the following: 1. display a number of items together with a checkbox

Re: [Wicket-user] checkboxes in dataview...

2006-09-09 Thread Martijn Dashorst
Just like you think you should, just with one extra provision: call setReuseItems(true) on the dataview. Martijn On 9/9/06, Erik Brakkee [EMAIL PROTECTED] wrote: Hi, I was just wondering how to do the following: 1. display a number of items together with a checkbox in a table using

Re: [Wicket-user] checkboxes in dataview...

2006-09-09 Thread Igor Vaynberg
that is an inelegant approach imho, this is how i would do itclass MyPage extends WebPage { private Set selected=new HashSet(); public MyPage() { add(new DataView(...) { populateItem(item) { MyObject o=(MyObject)item.getModel(); item.add(new CheckBox(cb, new CheckedModel(o.getId()); ... } }); }

Re: [Wicket-user] checkboxes in dataview...

2006-09-09 Thread Igor Vaynberg
dataview doesnt have reuseitems(true) it has IItemReuseStrategies - not really necessary in this case because checkboxes wont fail any validation-IgorOn 9/9/06, Martijn Dashorst [EMAIL PROTECTED] wrote: Just like you think you should, just with one extra provision: callsetReuseItems(true) on the

Re: [Wicket-user] CSS problems with DataTable in an AjaxTabbedPanel

2006-09-09 Thread Per Ejeklint
Yes, I have those in place, so something else is going on...9 sep 2006 kl. 23.30 skrev Igor Vaynberg:make sure you have all the necessary styles for the link implementednamely th.wicket_orderDown/Up/None-IgorOn 9/9/06, Per Ejeklint [EMAIL PROTECTED] wrote:I have a page with a few

Re: [Wicket-user] How to use Javascript Alert

2006-09-09 Thread Eelco Hillenius
If you can use Ajax, you could even implement it more transparently. In that case, make a panel for the normal display of the row, and a panel that has the buttons. When the row is clicked, you do an ajax roundtrip, and replace the display component with the buttons component. And attached to

Re: [Wicket-user] DatePicker enabled

2006-09-09 Thread Nili Adoram
I faced the same issue not long ago and solved it by adding a disabled date picker image and toggling between the enabled and disabled date pickers by modifying the disabled attribute. Igor Vaynberg wrote: yes. datepicker doesnt support the disabled attribute yet. if you would like you can

Re: [Wicket-user] checkboxes in dataview...

2006-09-09 Thread Erik Brakkee
Martijn Dashorst wrote: Does your Java object that is in your list have a boolean property? The checkboxes will set that value. Yes it has a boolean value, but since I am using an IDataProvider, I really have no idea in my form which objects have been created by the data provider and