Re: [Wicket-user] CheckBox and GridView

2006-11-14 Thread Igor Vaynberg
well like i said, the gridview was working fine :)https://issues.apache.org/jira/browse/WICKET-64-igor On 11/13/06, Ingram Chen [EMAIL PROTECTED] wrote: ok, I change to: ListDataProvider listDataProvider = new ListDataProvider(dataList) { @Override public IModel model(Object object) {

Re: [Wicket-user] Header contribution not always rendered

2006-11-14 Thread Maurice Marrink
Its not just pages, i have a panel that adds some javascript to the header which suffers from this problem. Matej, ill see if i can put something together. Maurice On 11/13/06, Matej Knopp [EMAIL PROTECTED] wrote: I've tested this with current 1.3 and couldn't reproduce this. Can you please

[Wicket-user] ListView and setRenderBodyOnly

2006-11-14 Thread Erik van Oosten
Hello, Is there a particular reason why ListView does not respect the RenderBodyOnly flag? I have something like this: span wicket:id=menuitems span class=menuitem wicket:id=menuitem/span /span I want it to render as: span class=menuitemitem 1/span span

Re: [Wicket-user] wicket 1.2.1 and ModalDialog problem

2006-11-14 Thread Johan Compagner
just curious why do you want to extend it? what do you need?johanOn 11/14/06, Nili Adoram [EMAIL PROTECTED] wrote:In version 1.2.2 is it still cumbersome to extend PopupSettings.all fields are private (windowName, top, left etc.) with no getters, as well as flagToString().-- NiliEelco Hillenius

Re: [Wicket-user] ListView and setRenderBodyOnly

2006-11-14 Thread Johan Compagner
this is asked more.Maybe we can set it through on all the items we create?Or can that be confusing in other situations?johanOn 11/14/06, Ingram Chen [EMAIL PROTECTED] wrote: FAQ.you should use item.setRenderBodyOnly(true) insteadOn 11/14/06, Erik van Oosten [EMAIL PROTECTED] wrote:Hello,Is

Re: [Wicket-user] wicket 1.2.1 and ModalDialog problem

2006-11-14 Thread Nili Adoram
replace the hard-coded window.open with window.showModalDialog or some other javascript method that determines the size and location of the popup relative to the opener. Johan Compagner wrote: just curious why do you want to extend it? what do you need? johan On 11/14/06, *Nili Adoram*

Re: [Wicket-user] ListView and setRenderBodyOnly

2006-11-14 Thread Erik van Oosten
Thanks Ingram. I can not find it on the Wiki. It is also not included in the ListView javadoc. I could have searched the maillists, sorry. Johan Compagner wrote: this is asked more. Maybe we can set it through on all the items we create? Or can that be confusing in other situations? I think

Re: [Wicket-user] ListView and setRenderBodyOnly

2006-11-14 Thread Ingram Chen
FAQ.you should use item.setRenderBodyOnly(true) insteadOn 11/14/06, Erik van Oosten [EMAIL PROTECTED] wrote:Hello,Is there a particular reason why ListView does not respect the RenderBodyOnly flag?I have something like this: span wicket:id=menuitems span class=menuitem wicket:id=menuitem/span

[Wicket-user] getting started with examples-1.2.3

2006-11-14 Thread Ard Schrijvers
Hello, I have checked out the examples (wicket-examples-1.2.3-bin.zip) yesterday, and seem to be having some serious hickups while clicking through the samples on localhost:8080 (up to 30 sec for a page, or an image..). Does anybody else had this problem as well, and knows what it might be?

[Wicket-user] IFrame + PageMap

2006-11-14 Thread Marieke Vandamme
Hello, I'm having difficulties using iframe inside a webpage, as the destination page of my iframe is loaded twice. Example code: MainPage.html form wicket:id=webForm input type=submit wicket:id=btnSubmit/ /form iframe wicket:id=iFrame/iframe MainPage.java private WebMarkupContainer iFrame =

Re: [Wicket-user] Betr.: Re: Betr.: Re: IFrame + PageMap

2006-11-14 Thread Martijn Dashorst
Create an issue here (you might need to register first, which is free): http://issues.apache.org/jira/browse/WICKET Thanks, Martijn On 11/14/06, Marieke Vandamme [EMAIL PROTECTED] wrote: Oh, thanks a lot for helping me out. Do I need to report this somewhere ? (never done that before so...)

Re: [Wicket-user] IFrame + PageMap

2006-11-14 Thread Johan Compagner
Does it really happen the first time you open that iframe?(i mean really the very first time)if it then goes fine then you could do this right before: iFrame.add(new SimpleAttributeModifier(src, urlFor(PageMap.forName(subpage), SubPage.class, null))); do this:PageMap.forName(subpage).remove();So

Re: [Wicket-user] IFrame + PageMap

2006-11-14 Thread Erik van Oosten
Hello Marieke, I can not help you with the IFrame problem, but you can also use a div with the following style: width: ...; height:...; overflow: scroll; Erik. Marieke Vandamme wrote: What is the solution? I know that using no iframes is the best one, but I have a searchbox +

[Wicket-user] Betr.: Re: IFrame + PageMap

2006-11-14 Thread Marieke Vandamme
Hello, Thx for the reply. I thought about that first, but i need to take all the space i can use (width:100%; height:100%) and the overflow:scroll; option isn't working then (at least not in all browsers, Firfox doesn't support it). Marieke. Erik van Oosten [EMAIL PROTECTED] Verzonden

Re: [Wicket-user] Validation without form submit...

2006-11-14 Thread Erik Brakkee
On 11/13/06, Igor Vaynberg [EMAIL PROTECTED] wrote: why dont you create a quickstart so one of the devs can walk the code and see what is going on (second try, the mailing list does not like zip files) And, I have... . Take the wicket 1.2.2 quickstart application and unzip the archive into

[Wicket-user] Betr.: Re: IFrame + PageMap

2006-11-14 Thread Marieke Vandamme
The first time I set the src of the iframe, it doesn't happen indeed. I tried to remove the pagemap, but with no luck. My code now looks like this : PageMap.forName(subpage).remove(); iFrame.add(new SimpleAttributeModifier(src, urlFor(PageMap.forName(subpage), SubPage.class, null))); When

Re: [Wicket-user] Betr.: Re: IFrame + PageMap

2006-11-14 Thread Erik van Oosten
Hello, Did you already try to set the src attribute to about:blank the first time? This works in IE and FireFox, not sure about other browsers. Alternatively, you can create a special page that is empty. Erik. Marieke Vandamme schreef: The first time I set the src of the iframe, it

Re: [Wicket-user] Betr.: Re: IFrame + PageMap

2006-11-14 Thread Johan Compagner
ahhthe meta stuff is not cleared! Thats a bug.johanOn 11/14/06, Marieke Vandamme [EMAIL PROTECTED] wrote: The first time I set the src of the iframe, it doesn't happen indeed. I tried to remove the pagemap, but with no luck. My code now looks like this : PageMap.forName(subpage).remove();

Re: [Wicket-user] Multi-portlet app?

2006-11-14 Thread Gustavo Hexsel
Actually, this doesn't seem to work at all. When I put 2 portlets (just copied pasted from the Wicket example, and changed the wicket:ids so they wouldn't conflict), the second one is expired whenever I click on anything on it. Any hints on what I should be trying to improve in Wicket or the

Re: [Wicket-user] Betr.: Re: Betr.: Re: IFrame + PageMap

2006-11-14 Thread Johan Compagner
i will fix it today.On 11/14/06, Marieke Vandamme [EMAIL PROTECTED] wrote: Oh, thanks a lot for helping me out. Do I need to report this somewhere ? (never done that before so...) Marieke. Johan Compagner [EMAIL PROTECTED] Verzonden door: [EMAIL PROTECTED] 14/11/2006 15:19 Antwoord

[Wicket-user] Betr.: Re: Betr.: Re: IFrame + PageMap

2006-11-14 Thread Marieke Vandamme
Oh, thanks a lot for helping me out. Do I need to report this somewhere ? (never done that before so...) Marieke. Johan Compagner [EMAIL PROTECTED] Verzonden door: [EMAIL PROTECTED] 14/11/2006 15:19 Antwoord a.u.b. aan wicket-user@lists.sourceforge.net Aan

[Wicket-user] AjaxTabbedPanel with notification on tab change

2006-11-14 Thread Marc-Andre Houle
Hello all.I got a challenge to resolve for our application to work how we want it to. We got a An AjaxTabbedPanel containing different Form to edit some preference. The problem is, when the user is in edit mode, he can modify thing. The problem is, when the user modify something without saving it,

Re: [Wicket-user] ListView and setRenderBodyOnly

2006-11-14 Thread Igor Vaynberg
On 11/14/06, Erik van Oosten [EMAIL PROTECTED] wrote: Thanks Ingram.I can not find it on the Wiki. It is also not included in the ListViewjavadoc. I could have searched the maillists, sorry.Johan Compagner wrote: this is asked more. Maybe we can set it through on all the items we create? Or can

Re: [Wicket-user] Multi-portlet app?

2006-11-14 Thread Igor Vaynberg
janne is the portlet guy, are you reading with us?-igorOn 11/14/06, Gustavo Hexsel [EMAIL PROTECTED] wrote:Actually, this doesn't seem to work at all.When I put 2 portlets (just copied pasted from the Wicket example, and changed thewicket:ids so they wouldn't conflict), the second one is

Re: [Wicket-user] AjaxTabbedPanel with notification on tab change

2006-11-14 Thread Matej Knopp
Hi. you will have to override newLink() method of AjaxTabbedPanel to modify the link. Also this could help you http://jroller.com/page/karthikg?entry=modelling_client_side_form_modifications It's about doing a behavior for detecting client form changes. -Matej Marc-Andre Houle wrote: Hello

Re: [Wicket-user] ListView and setRenderBodyOnly

2006-11-14 Thread Johan Compagner
ok fine by me by not doing that.it was just an idea. But maybe it would be nice to configure the listview once and list items inherit it (which property it is :)) johan On 11/14/06, Igor Vaynberg [EMAIL PROTECTED] wrote: On 11/14/06, Erik van Oosten [EMAIL PROTECTED] wrote: Thanks Ingram.I can

Re: [Wicket-user] ListView and setRenderBodyOnly

2006-11-14 Thread Igor Vaynberg
override newitem() :)-igorOn 11/14/06, Johan Compagner [EMAIL PROTECTED] wrote: ok fine by me by not doing that.it was just an idea. But maybe it would be nice to configure the listview once and list items inherit it (which property it is :)) johan On 11/14/06, Igor Vaynberg [EMAIL PROTECTED]

Re: [Wicket-user] AjaxTabbedPanel with notification on tab change

2006-11-14 Thread Marc-Andre Houle
Thanks a lot. It look exactly like what I was expecting.MarcOn 11/14/06, Matej Knopp [EMAIL PROTECTED] wrote: Hi.you will have to override newLink() method of AjaxTabbedPanel to modify the link. Also this could help

Re: [Wicket-user] edit xhtml Wicket files in Eclipse?

2006-11-14 Thread Potje rode kool
yes, sorry forgot to tell. I tried Amateras and XMLBuddy. I want to have xml validation code completion by using the Wicket dtd if posible.Wasn't able to get that working yet.Thanks.Evert 2006/11/13, Charlie Dobbie [EMAIL PROTECTED]: You don't say what HTML editor you're using.If you're using the

Re: [Wicket-user] AjaxTabbedPanel with notification on tab change

2006-11-14 Thread Marc-Andre Houle
Thanks for the answer. The link you give me was exactly the kind of thing I was searching for. I'll probably need to update the _javascript_ so it will not grab window.onload and window.onbeforeunload but the wicket event. Any idea how I can grab these in _javascript_?Would it be something like

Re: [Wicket-user] Multi-portlet app?

2006-11-14 Thread Gustavo Hexsel
Hm, I don't yet fully understand the framework, yet what seems to be happening is that when the page is generated, each portlet is rendered once. Same happens when I submit the form in one of the portlets. However, when I submit a form on one, then after a refresh submit the other, I get 3

Re: [Wicket-user] Validation without form submit...

2006-11-14 Thread Igor Vaynberg
just rename the .zip into .iamzip :)-igorOn 11/14/06, Erik Brakkee [EMAIL PROTECTED] wrote: On 11/13/06, Igor Vaynberg [EMAIL PROTECTED] wrote: why dont you create a quickstart so one of the devs can walk the code and see what is going on(second try, the mailing list does not like zip files)And,I

Re: [Wicket-user] Header contribution not always rendered

2006-11-14 Thread Maurice Marrink
Ok I just finished a simple quickstart showing the problem. you can get it here https://issues.apache.org/jira/browse/WICKET-68. Maurice On 11/14/06, Maurice Marrink [EMAIL PROTECTED] wrote: Its not just pages, i have a panel that adds some javascript to the header which suffers from this

[Wicket-user] Using Javascript Effects Before An Ajax Call

2006-11-14 Thread cygnusx2112
I am using the AjaxRequestTarget.prependJavaScript method to apply an Effect to an element before it gets replaced by the Ajax call. The problem is that the Ajax replacement occurs before the animation code for the effect has a chance to complete, making the effect unnoticable. My event handler

Re: [Wicket-user] Using Javascript Effects Before An Ajax Call

2006-11-14 Thread Igor Vaynberg
why would this be a bug in wicket? looks to be clearly a bug in your code. the effect is clearly executed asynchronously from the rest of the _javascript_ thread so you need to find a way to block until the effect is complete. -igorOn 11/14/06, cygnusx2112 [EMAIL PROTECTED] wrote: I am using the

Re: [Wicket-user] Multi-portlet app?

2006-11-14 Thread Gustavo Hexsel
On 11/14/06, Gustavo Hexsel [EMAIL PROTECTED] wrote: Here's an example. I've removed the lib folder to make the size manageable (I was only using commons-logging, log4j and yesterday's snapshot of Wicket Core). It all works as long as you don't submit both forms in the same session, then

Re: [Wicket-user] Multi-portlet app?

2006-11-14 Thread Igor Vaynberg
you might want to file this on jira and assign it to janne-igorOn 11/14/06, Gustavo Hexsel [EMAIL PROTECTED] wrote:On 11/14/06, Gustavo Hexsel [EMAIL PROTECTED] wrote: Here's an example.I've removed the lib folder to make the size manageable (I was only using commons-logging, log4j and

Re: [Wicket-user] Question about DataTable

2006-11-14 Thread Carfield Yim
I just really try out this class with only PropertyColumn. However, I still get this error when I add HeadersToolbar like table.add(new HeadersToolbar(table, provider)); [MarkupContainer [Component id = datatable, page = No Page, path = datatable.DataTable]]

Re: [Wicket-user] Question about DataTable

2006-11-14 Thread Igor Vaynberg
see addTopToolbar(), addBottomToolbar() and the constructor of DefaultDataTable-igorOn 11/14/06, Carfield Yim [EMAIL PROTECTED] wrote:I just really try out this class with only PropertyColumn. However, I still get this error when I add HeadersToolbar liketable.add(new HeadersToolbar(table,

Re: [Wicket-user] Question about DataTable

2006-11-14 Thread dulanov
May be usefull my follow code snippet: ListIColumn columns = new ArrayListIColumn(); columns.add(new PropertyColumn(new Model(column1), column1, column1)); columns.add(new AbstractColumn(new Model(column2), column2) { @Override public Component

Re: [Wicket-user] Question about DataTable

2006-11-14 Thread dulanov
To add a bookmarkable link: columns.add(new AbstractColumn(new Model(column6), column6) { public void populateItem(Item cellItem, String componentId, IModel rowModel) { cellItem.add(new BookmarkablePageLink(componentId, SomePage.class, somePageParameters)));

Re: [Wicket-user] Question about DataTable

2006-11-14 Thread Igor Vaynberg
you cannot do this, you have to add a panel or a fragment that contains the link you want. this is because whatever you add is attached to span tags, and you cannot attach a link to a span, only to a -igorOn 11/14/06, dulanov [EMAIL PROTECTED] wrote: To add a bookmarkable link:columns.add(new

Re: [Wicket-user] Question about DataTable

2006-11-14 Thread Igor Vaynberg
this looks like it should work what is the stack trace you are getting?-igorOn 11/14/06, dulanov [EMAIL PROTECTED] wrote:May be usefull my follow code snippet:ListIColumn columns = new ArrayListIColumn(); columns.add(new PropertyColumn(new Model(column1), column1,column1));columns.add(new

Re: [Wicket-user] Question about DataTable

2006-11-14 Thread Carfield Yim
The problem solved, and I guess the document needed to update. First, I just copy the example that using DataTable directly but in fact I should use either AjaxFallbackDefaultDataTable or DefaultDataTable. And I should use add component at top or bottom using addBottomToolbar or addTopToolbar, but

Re: [Wicket-user] Question about DataTable

2006-11-14 Thread dulanov
Yes, you are right, I invented the previous code. The next piece of code from my project works fine exactly ;) columns.add(new AbstractColumn(new Model()) { @Override public Component getHeader(String componentId) { Fragment checkBoxFragment = new

Re: [Wicket-user] Question about DataTable

2006-11-14 Thread dulanov
Its work fine, I wrote it only for example purposes. igor.vaynberg wrote: this looks like it should work what is the stack trace you are getting? -igor On 11/14/06, dulanov [EMAIL PROTECTED] wrote: May be usefull my follow code snippet: ListIColumn columns = new