Re: Adding components to Pages based on conditionals

2009-04-16 Thread Vladimir K
Try EmptyPanel component which is shipped with Wicket. if (condition) add(new YourVisibleComponent("componentId")); else add(new EmptyPanel("componentId")); Do not forget about OOD. You can introduce createYourVisibleComponent() method which creates empty panel in base class and some certain

Adding components to Pages based on conditionals

2009-04-16 Thread Subramanian Murali
Hi, I am a new wicket user. How do we include / exclude content or components in pages based on conditions. What is the equivalent in Wicket to the if tag in the JSTL tag library? The reason i ask this question is because irrespective of whether i add the component in the page, i need to have the

Re: Page content setting on a panel.

2009-04-16 Thread Zenberg Ding
Thank u, I'll check it I would use an iframe instead of doing this, or I would use panels instead of pages. But you may want to look at the code of ModalWindow in wicket extensions since it is capable of doing what you want, i.e. displaying the content of a page within a . Zenberg Din

Re: jboss + ear + wicket

2009-04-16 Thread Grigoriy Tkachuk
16.04.2009 23:58, Francis De Brabandere пишет: Hi, Are there any known problems on deploying wicket web applications on JBoss? I'm deploying an ear containing a war, this works correctly on glassfish but on jboss wicket gives me this exception: Markup of type 'html' for component 'xxx.updater.w

spring transaction rollback and wicket

2009-04-16 Thread Ryan
Has anyone found a convenient fix for this scenario: You have a form that has fields for working on a large object. Most of the validation is done through wicket, but there are a few complex business rules that must be validated at the service tier. If these rules fail an exception is thrown and s

Re: updating PanelCachingTab

2009-04-16 Thread Erik van Oosten
- get the list of tabs from the TabPanel - update the list: just put in a new PanelCachingTab on the correct index - call setCurrentTab on the TabPanel (even if the correct tab is already visible!) - if done from Ajax callback, don't forget to add all changed components to the AjaxRequestTarget

Re: jetty, wicket and multiple maven modules. refresh class problem.

2009-04-16 Thread Fernando Wermus
buil automaticaly was off. Jajaja! thanks On Thu, Apr 16, 2009 at 9:20 AM, Fernando Wermus wrote: > Hi, > I solved dependencies problems. > I still cannot debugging and programming at the same time. Eclipse > didn't take the changes I did to a any business java file and webapp java > file

updating PanelCachingTab

2009-04-16 Thread tubin gen
Is it possible to update a panel which is inside org.apache.wicket.extensions.markup.html.tabs.PanelCachingTab , I tried to add the panel to AjaxREquestTraget , it did not work , please suggest me if it is possible to refresh a PanelCachingTab ---

Re: wicket-ajax and IE performance problems for pages with many links

2009-04-16 Thread Igor Vaynberg
you can try adding this to the head after wicket-ajax.js

Re: jetty, wicket and multiple maven modules. refresh class problem.

2009-04-16 Thread Fernando Wermus
Hi, I solved dependencies problems. I still cannot debugging and programming at the same time. Eclipse didn't take the changes I did to a any business java file and webapp java file!!. I only can debug lines that haven't been change. I do execute command mvn eclipse:eclipse from parent

Re: wicket-ajax and IE performance problems for pages with many links

2009-04-16 Thread James Carman
So, we understand what's slowing us down? Any way to turn that stuff off on our end to get stuff working? I've got a release going out the door that's slow as heck on IE right now. On Thu, Apr 16, 2009 at 12:03 PM, Igor Vaynberg wrote: > this code is there so we can track focus and properly res

Re: wicket-ajax and IE performance problems for pages with many links

2009-04-16 Thread Igor Vaynberg
this code is there so we can track focus and properly restore it after ajax modifies the dom. i am not sure why we need to track and restore focus on anchors, it is only important when you are typing so that the cursor doesnt move elsewhere - so only for textfields and textareas. johan, matej says

Re: [OT] Wicket spirited conference?

2009-04-16 Thread Nino Martinez
Yup have that too, although the most expensive so far on my list, with devoxx as the cheapest one.. I think i'll put in a trip to a wicket meetup in london too, since meetups in netherlands seems to be rather spontaneous (and therefore hard to plan), besides the one thats together with apachecon..

Re: [OT] Wicket spirited conference?

2009-04-16 Thread Nino Martinez
Thanks, I did not have javazone on my research list :) On Thu, 2009-04-16 at 11:37 +0200, Martijn Dashorst wrote: > devoxx, øredev and javazone are the primary conferences that come to mind. > > Martijn > > On Wed, Apr 15, 2009 at 5:57 PM, nino martinez wael > wrote: > > Hi > > > > I know this

jboss + ear + wicket

2009-04-16 Thread Francis De Brabandere
Hi, Are there any known problems on deploying wicket web applications on JBoss? I'm deploying an ear containing a war, this works correctly on glassfish but on jboss wicket gives me this exception: Markup of type 'html' for component 'xxx.updater.web.page.HomePage$MainLogPanel' not found [stacktr

Re: wicket-ajax and IE performance problems for pages with many links

2009-04-16 Thread Peter Gardfjäll
Hi James, I'm pretty sure that links are part of the problem. To verify this, try replacing all tags with e.g. and see if you can spot any difference in response time. Alternatively, try replacing/commenting out ajax components/behaviors on your page to prevent wicket-ajax.js from being pulled i

Re: wicket-ajax and IE performance problems for pages with many links

2009-04-16 Thread James Carman
Peter, I have experienced similar problems just recently. I didn't narrow it down to the fact that the links were the problem, as you have, though! I have been racking my brains trying to figure this thing out. My page is similar, a table with lots of cells in them that are links. I've turned o

wicket-ajax and IE performance problems for pages with many links

2009-04-16 Thread Peter Gardfjäll
Hi all, I am working on a wicket application intended to be executed both on FF3 and IE7. While working on this application I have discovered that the rendering of some pages are a lot slower in IE. The pages that were significantly slower on IE have a couple of things in common: they are ajax-ena

Wicket Job offer

2009-04-16 Thread Wayne Pope
PLEASE REPLY TO ME DIRECTLY - NOT THE USER GROUP! Web 2.0 startup based in Nice/Monaco in the south of France seeks top developer to join their small team. English working environment. Skills: Java, Apache Wicket, Hibernate (annotations), Guice, XHTML, CSS, javascript, Agile/SCRUM, Linux skills,

Wicket validation messages

2009-04-16 Thread adam . parchimowicz
Hey, I was browsing Wicket documentation and found the at some point you've changed the way that Wicket locates validation messages. Along with the change any javadoc comment informing how it is supposed to work disappeared (the latest found trace was 1.3.0 http://wicket.sourceforge.net/w

Re: Markup inheritance with child pages setting title in the form 'BasePage.title + " - " + ChildPage.title'

2009-04-16 Thread Kent Larsson
Thank you both! :-) I'll do it that way and use resources. / Kent On Thu, Apr 16, 2009 at 12:50 PM, Cserep Janos wrote: >> CoolPage.PageTitle=ApplicationName - Cool Page Title >> >> into your application properties file. >> > > > From an SEO point of view this approach is more versatile. I usua

Re: WebApp Freezes

2009-04-16 Thread Marcelo Morales
I've had a similar problem and it turns out I wasn't returning connections to the pool when an exception arose. Every thread waits for the pool to hand out a connection, and waits indefinitely. On Wed, Apr 15, 2009 at 9:41 AM, J wrote: > (Sorry for the empty message. First I tried Gmail, but that

Re: Page content setting on a panel.

2009-04-16 Thread Serkan Camurcuoglu
I would use an iframe instead of doing this, or I would use panels instead of pages. But you may want to look at the code of ModalWindow in wicket extensions since it is capable of doing what you want, i.e. displaying the content of a page within a . Zenberg Ding wrote: Hi, How can let a pa

Re: Markup inheritance with child pages setting title in the form 'BasePage.title + " - " + ChildPage.title'

2009-04-16 Thread Cserep Janos
> CoolPage.PageTitle=ApplicationName - Cool Page Title > > into your application properties file. > >From an SEO point of view this approach is more versatile. I usually have CoolPage.PageTitle CoolPage.MetaDescription CoolPage.MetaKeywords all defined in properties files and added from base pa

Re: Markup inheritance with child pages setting title in the form 'BasePage.title + " - " + ChildPage.title'

2009-04-16 Thread Janos Cserep
> 1. Set an instance variable in the base page called basePageName You don't need a variable - all you need is a getter: public IModel getPageTitleModel() { return new Model("ApplicationName"); } > 2. Use a Label to set the title in the base page Exactly, like this: add(new Label("pageTit

Re: wicket integrate acegi

2009-04-16 Thread Per Newgro
Am i right that you log off by clearing cache and cookies? If you do it outside of the application i don't have any solution for this. If you clear it inside the application (click on logout link) you could call the invalidate there. Cheers Per -

Re: [OT] Wicket spirited conference?

2009-04-16 Thread Linda van der Pal
JAOO is a very good conference too. Regards, Linda. Martijn Dashorst wrote: devoxx, øredev and javazone are the primary conferences that come to mind. Martijn On Wed, Apr 15, 2009 at 5:57 PM, nino martinez wael wrote: Hi I know this is off topic, but I were wondering if any of you could

Re: [OT] Wicket spirited conference?

2009-04-16 Thread Martijn Dashorst
devoxx, øredev and javazone are the primary conferences that come to mind. Martijn On Wed, Apr 15, 2009 at 5:57 PM, nino martinez wael wrote: > Hi > > I know this is off topic, but I were wondering if any of you could > recommend any conferences (java related), preferably located in EU and > wit

Markup inheritance with child pages setting title in the form 'BasePage.title + " - " + ChildPage.title'

2009-04-16 Thread Kent Larsson
Hi, I use markup inheritance and this example was quite informative http://wicket.apache.org/examplemarkupinheritance.html . One thing I find missing is how to set the title from the child pages? Ideally I would like page titles like: ApplicationName - Cool part of the application ApplicationNa

Re: Checkbox tree component

2009-04-16 Thread Edi
I am not able to configure the above example Doug. Could you give me .war file. please thanks and regards, edi Doug Leeper wrote: > > If the tree is pre-loaded, it is easier. When the checkbox is selected, > iterate through the children nodes and set its state to selected. > > The dynamical

Re: wicket integrate acegi

2009-04-16 Thread Joe
thank per newgro     if you clean cache and cookie ,i don' t get the login user's session do you have get the login user's session method? joe --- 09年4月16日,周四, Per Newgro 写道: 发件人: Per Newgro 主题: Re: wicket integrate acegi 收件人: users@wicket.apache.org 日期: 2009,416,周四,4:19下午 You could invalid

Re: wicket integrate acegi

2009-04-16 Thread Per Newgro
You could invalidate your session on logout? Session.get().invalidate(); Or do you have issues on that? Cheers Per - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.