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

2006-09-10 Thread Erik Brakkee
Igor Vaynberg wrote: that is an inelegant approach imho, this is how i would do it [...] Ok that approach is clear. Although it would also be nice just to have an API call for just accessing the items shown on the page. then after the form submit read the selected set for selected ids. if

Re: [Wicket-user] Wicket-user Digest, Vol 4, Issue 72

2006-09-10 Thread ketan gote
hello friends there r some of the new example of ajax on the wicket site but this are no mean of useful as they doen't run properly or there functionality is not clearly specified pls specify all above problem wating for reply

Re: [Wicket-user] Wicket-user Digest, Vol 4, Issue 72

2006-09-10 Thread Frank Bille
HiI'm not sure I understand which examples you are talking about. Which of the AJAX examples doesn't work and what happens?FrankOn 9/10/06, ketan gote [EMAIL PROTECTED] wrote: hello friends there r some of the new example of ajax on the wicket site but this are no mean of useful as they doen't

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

2006-09-10 Thread Erik Brakkee
Igor Vaynberg wrote: Ok that approach is clear. Although it would also be nice just to have an API call for just accessing the items shown on the page. in wicket we use models to glue components to properties just so we dont have to go through components and see their values. in

[Wicket-user] Link behaviour inconsistent

2006-09-10 Thread Imran M Yousuf
Dear Users,I am using Link implementation in my application to navigate. When the server restarts all the links that are of Link implementation starts behaving strangely and goes to a page that is not even navigateable from that page. Can someone let me know what the reason could be? The links

Re: [Wicket-user] Link behaviour inconsistent

2006-09-10 Thread Martijn Dashorst
These links are not supposed to be bookmarkable. You should use BookmarkablePageLInks when you want to provide bookmarks to your pages. You can read more on the subject here: http://www.javalobby.org/java/forums/t61556.html Martijn On 9/10/06, Imran M Yousuf [EMAIL PROTECTED] wrote: Dear

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

2006-09-10 Thread aaime74
igor.vaynberg wrote: 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

Re: [Wicket-user] Link behaviour inconsistent

2006-09-10 Thread Gwyn Evans
The point is, non-bookmarkable links aren't intended to persist over server restarts - in fact, they're only 'good' for the life of the session in which they were created. Can you explain a bit more about the scenario you've intending them to cover. /Gwyn On 10/09/06, Imran M Yousuf [EMAIL

Re: [Wicket-user] Link behaviour inconsistent

2006-09-10 Thread Imran M Yousuf
The page that comes is not the link that I click on. Thats the problem. I think you understood the problem. My wild guess is that the Browser is messing things up so I trying to make the page expire using the response header directive. Please let me know of any solution you come across.

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

2006-09-10 Thread Johan Compagner
Components (when removed or added) are versioned and models when changed are versioned.Only we have to know that. So if you change an internal private model directly you have to call page.addStateChange(new Change()); and that change object has to be able to rollback your change you are doing

Re: [Wicket-user] Link behaviour inconsistent

2006-09-10 Thread Johan Compagner
The strange thing is if you restart your server (without keeping sessions) then when you hit refresh in the browserit should give you a PageExpired page anyway. Because the page shouldn't/can't be found..when you some how also have another browser window and build up the session there (generate

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

2006-09-10 Thread Per Ejeklint
OK, I solved it but am not sure what I did wrong at first.My MainPage contains AjaxTabbedPanels, and each panel contains forms or tables.In my MainPage I added style with add(new HeaderContributor.CSSHeaderContributor("tabs.css"));but after clicking on a table header in a sortable table (from

[Wicket-user] How to fire an onClick event programmatically ? (works in Firefox, not in IE6)

2006-09-10 Thread Pierre-Yves Saumont
Hello, I need to call the onClick event handler containing a Wicket generated URL from a script. The id of the component holding the onClick event handler is rightColumn_pagePanel_dialogBoxReponses_tabs_panel_dialogBoxContent_confirmLink On first page load, the event handler is: onclick=var

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

2006-09-10 Thread Matej Knopp
Yes, this bug is in 1.2.2 only, happened during backporting it seems. Easiest solution (workaround) I can think of is to add empty WebMarkupContainer and add the header contributor there. -Matej Igor Vaynberg wrote: i think this is a known header contributor bug in 1.2.2 - headers are

Re: [Wicket-user] Matej's Tree Overflow problems

2006-09-10 Thread Matej Knopp
This is a known problem. Unfortunately, the tree column can't automatically adjust the width according to the content. It's a limitation of css and there's not much I can do about it. I couldn't use table for treetable, as there are issues in IE and opera when replacing table rows. Plus in FF

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

2006-09-10 Thread Matej Knopp
Heh, I'm not even sure, but I guess not. I'm way too busy lately :( Maybe frankbille could have a look at that? -Matej Igor Vaynberg wrote: did you fix it already in wicket-1.x? -Igor On 9/10/06, *Matej Knopp* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Yes, this

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

2006-09-10 Thread Erik Brakkee
Johan Compagner wrote: Components (when removed or added) are versioned and models when changed are versioned. Only we have to know that. So if you change an internal private model directly you have to call page.addStateChange(new Change()); and that change object has to be able to

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

2006-09-10 Thread Frank Bille
Hehe I could try. I just have to read about a little bit. Haven't really looked into it. Give me until tuesday thenFrankOn 9/10/06, Matej Knopp [EMAIL PROTECTED] wrote:Heh, I'm not even sure, but I guess not. I'm way too busy lately :( Maybe frankbille could have a look at that?-MatejIgor

Re: [Wicket-user] How to fire an onClick event programmatically ? (works in Firefox, not in IE6)

2006-09-10 Thread Pierre-Yves Saumont
I eventually figured where the problem was: in IE6, scripts that are contained in Ajax responses seems not to be executed. If I place the script in a component that is loaded normally (not through Ajax), everthing is OK. Is this problem a known issue with IE6 ? In fact, I noticed some other

Re: [Wicket-user] How to fire an onClick event programmatically ? (works in Firefox, not in IE6)

2006-09-10 Thread Igor Vaynberg
this is a browser issue more then anything. it is prety difficult to get scripts loaded through ajax to execute. this will be fixed in 1.3 and is already implemented in 2.0 with lots of sweat and pain.meanwhile if you want wicket to execute some _javascript_ you can use

Re: [Wicket-user] Alternating row colors in ListView

2006-09-10 Thread Igor Vaynberg
you should key off the listitems' index property-IgorOn 9/10/06, Pierre-Yves Saumont [EMAIL PROTECTED] wrote: How is is possible to reset a boolean indicating if the row is odd oreven at the start of ListView rendering ? I need this because with alternating row color, if the number of row isodd,