ModalWindow slow in Firefox3
Anyone else suffer the problem that wicket ModalWindow run slow in Firefox3? This never happens in IE6, and Firefox2, as I remember. We are using 1.4m2 _ 一边聊天一边快速搜索,并把结果共享给好友,立刻试试! http://im.live.cn/Share/18.htm
RE: users, please give us your opinion: what is your take on generics with Wicket
[X] Can best be done like currently in the 1.4 branch, where models and components are both generified. I care most about the improved static type checking generified models and components give Wicket. I am just a little annoyed when a component not having a model causes generics warning. [X] Whatever choice ultimately made, I'll happily convert/ start using 1.4 and up. _ MSN 中文网,最新时尚生活资讯,白领聚集门户。 http://cn.msn.com
two pages have same id in the default pagemap
Not sure whether this is a bug or not. I have two wicket WebAppilcation in one webapp. When I open two browser window each pointing to a page in one of them, they both get id=0 in the default pagemap. Then in the subsequent requests Session.getPage() sometimes return wrong page. Maybe I should assign an individual pagemap for each wicket WebApplication? and how ? wicket version is 1.4m1 _ Windows Live Photo gallery 数码相机的超级伴侣,轻松管理和编辑照片,还能制作全景美图! http://get.live.cn/product/photo.html
RE: two pages have same id in the default pagemap
These two pages are in different WebApplication and are definitely different subclasses of WebPage. Date: Thu, 29 May 2008 13:30:30 +0200 From: [EMAIL PROTECTED] To: users@wicket.apache.org Subject: Re: two pages have same id in the default pagemap is the page really created twice? Or is it the same page really but you just few it through 2 browsers? If you page version works correctly then in 1.3+ this shouldnt be any problem You can create a pagemap per window if you want. by creating a page in a different pagemap johan 2008/5/29 xiefei : Not sure whether this is a bug or not. I have two wicket WebAppilcation in one webapp. When I open two browser window each pointing to a page in one of them, they both get id=0 in the default pagemap. Then in the subsequent requests Session.getPage() sometimes return wrong page. Maybe I should assign an individual pagemap for each wicket WebApplication? and how ? wicket version is 1.4m1 _ Windows Live Photo gallery 数码相机的超级伴侣,轻松管理和编辑照片,还能制作全景美图! http://get.live.cn/product/photo.html _ 多个邮箱同步管理,live mail客户端万人抢用中 http://get.live.cn/product/mail.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: two pages have same id in the default pagemap
I have create a jira issue as http://issues.apache.org/jira/browse/WICKET-1672 Date: Thu, 29 May 2008 19:13:37 +0200 From: [EMAIL PROTECTED] To: users@wicket.apache.org Subject: Re: two pages have same id in the default pagemap Those pages are in a different WebApplication? Then they also should have a different wicket session. So you have 2 applications in 1 webapp? Just like our examples? Hmm need to check something out then, because if they share the same http session then the application should be in the name of the diskpage store i guess. On 5/29/08, xiefei wrote: These two pages are in different WebApplication and are definitely different subclasses of WebPage. Date: Thu, 29 May 2008 13:30:30 +0200 From: [EMAIL PROTECTED] To: users@wicket.apache.org Subject: Re: two pages have same id in the default pagemap is the page really created twice? Or is it the same page really but you just few it through 2 browsers? If you page version works correctly then in 1.3+ this shouldnt be any problem You can create a pagemap per window if you want. by creating a page in a different pagemap johan 2008/5/29 xiefei : Not sure whether this is a bug or not. I have two wicket WebAppilcation in one webapp. When I open two browser window each pointing to a page in one of them, they both get id=0 in the default pagemap. Then in the subsequent requests Session.getPage() sometimes return wrong page. Maybe I should assign an individual pagemap for each wicket WebApplication? and how ? wicket version is 1.4m1 _ Windows Live Photo gallery 数码相机的超级伴侣,轻松管理和编辑照片,还能制作全景美图! http://get.live.cn/product/photo.html _ 多个邮箱同步管理,live mail客户端万人抢用中 http://get.live.cn/product/mail.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ 用手机MSN聊天写邮件看空间,无限沟通,分享精彩! http://mobile.msn.com.cn/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: replacing component causes Expected close tag for xxx Exception
Should not Replace mean turning div wicket:id=container[whatever content of old container/div into div wicket:id=container[whatever content of new container irrelevant to content of old container]/div ? And, Panel as the new container does not work either. Some code may make it clear. IndexPage.java: public class IndexPage extends WebPage { public IndexPage() {WebMarkupContainer container = new WebMarkupContainer(container);container.add(new Label(nested-component, nested-component)); container.setOutputMarkupId(true);add(container); add(new AjaxLink(ReplaceContainer){@Overridepublic void onClick(AjaxRequestTarget target) {NewContainer newContainer = new NewContainer(container); newContainer.add(new Label(new-nested-component, new-nested-componet)); newContainer.setOutputMarkupId(true); IndexPage.this.addOrReplace(newContainer); target.addComponent(newContainer);}});} private class NewContainer extends Panel {public NewContainer(String id){super(id);}}}IndexPage.html: span wicket:id=container span wicket:id=nested-component/span /spana wicket:id=ReplaceContainerClick me to replace the container with a new one. /a IndexPage$NewContainer.html: wicket:panelspan wicket:id=new-nested-component/span/wicket:panel When i click ReplaceContainer link, wicket throws exception: close tag not found for tag: span id=container1 wicket:id=container ... Date: Tue, 27 Nov 2007 09:46:55 -0800 From: [EMAIL PROTECTED] To: users@wicket.apache.org Subject: Re: replacing component causes Expected close tag for xxx Exception you cant replace something like: div wicket:id=containerdiv wicket:id=inner/div/div with a label, because then your markup is div wicket:id=labeldiv wicket:id=inner/div/div and labels do not support inner components makes sense? -igor On Nov 27, 2007 7:03 AM, 非 谢 [EMAIL PROTECTED] wrote: hi, In wicket1.3-rc1, When I try to replace a WebMarkupContainer that has nested components with another component in AjaxLink.onClick, wicket says Expected close tag for 'span wicket:id=container' Possible attempt to embed component(s) 'span wicket:id=nested-component' in the body of this component which discards its bodyIs this an expected result? I think the above senario is quite common. Currently I am using a fragment to repr esent the default content of the container which can be replaced without any complaint but this feels not that natural. _ Discover the new Windows Vista http://search.msn.com/results.aspx?q=windows+vistamkt=en-USform=QBRE _ 手机也能上 MSN 聊天了,快来试试吧! http://mobile.msn.com.cn/