Using SigInPage with IE9

2011-05-16 Thread Zhubin Salehi
Hi, I'm using org.apache.wicket.authroles.authentication.pages.SignInPage in my application to provide a simple way for the users to sign in. It works perfectly fine in FF4 but I get this error in IE9: The XML page cannot be displayed Cannot view XML input using XSL style sheet. Please correct

NotSerializableException in Wicket 1.5

2011-02-25 Thread Zhubin Salehi
Hi, Since I migrated to Wicket 1.5 I get exceptions like this in my log file: 2011-02-25 10:28:07,234 [http-8080-Processor21] ERROR org.apache.wicket.util.lang.WicketObjects - Error serializing object class com.route1.mobi.map3.web.pages.assemblage.FindHost [object=[Page class =

Re: NotSerializableException in Wicket 1.5

2011-02-25 Thread Zhubin Salehi
Thanks for your quick reply. I used Wicket 1.4.15. I think like you said I need to avoid serializing CGLIB objects. Is there any specific way to do this? Zhubin Martin Grigorov-4 wrote: There are no changes in Wicket related to the serialization checks. There were some improvements in

Re: NotSerializableException in Wicket 1.5

2011-02-25 Thread Zhubin Salehi
Pedro Santos wrote: Text field name in logicalEntityForm has an PropertyModel targeting a DetailSearchCriteria, this class has the field detailParam of type DetailParam, and DetailParam has the field names of a not serializable property type: List A lot of List implementations are

RE: Wicket 1.5 and custom request cycle

2011-02-10 Thread Zhubin Salehi
I had the same issue. Do you have any estimate on the release date of RC2? Zhubin -Original Message- From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] Sent: February 10, 2011 1:54 PM To: users@wicket.apache.org Subject: Re: Wicket 1.5 and custom request cycle i just fixed this last

RequestCycle.onRequestTargetSet(IRequestTarget requestTarget) equivalant in Wicket 1.5

2011-02-02 Thread Zhubin Salehi
trying to figure out what to do with onRequestTargetSe()t method. Does anyone know how to achieve this? Thanks, Zhubin Zhubin Salehi Senior Software Engineer Route1 - Securing the Digital World(tm) Phone: 416-848-8391 ext. 2262 Mobile: 416-939-6383 [cid:image001.jpg@01CBC2E9.FD70D5B0

RE: RequestCycle.onRequestTargetSet(IRequestTarget requestTarget) equivalant in Wicket 1.5

2011-02-02 Thread Zhubin Salehi
Thanks, I just did. Zhubin -Original Message- From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] Sent: February 2, 2011 3:16 PM To: users@wicket.apache.org Subject: Re: RequestCycle.onRequestTargetSet(IRequestTarget requestTarget) equivalant in Wicket 1.5 dont think that hook exists

RE: 1.5.x javadoc

2011-01-28 Thread Zhubin Salehi
No 1.5.x! -Original Message- From: Steve Swinsburg [mailto:steve.swinsb...@gmail.com] Sent: January 28, 2011 12:04 AM To: users@wicket.apache.org Subject: Re: 1.5.x javadoc Wicket By Example has a section for the Javadocs, but it needs a refresh. http://wicketbyexample.com/api/ cheers,

Re: Tree and TabbedPanel components

2009-07-30 Thread Zhubin Salehi
Hi Raj, I think you need to refresh 'detailPanel' instead of 'panelOnClick'. Something like this: . . . Panel panelOnClick = new DetailTabbedPanel(detailPanel, defNode); panelOnClick.setOutputMarkupId(true); this.detailPanel.replaceWith(panelOnClick);

Markup for Disabled Panels and Pages

2009-07-24 Thread Zhubin Salehi
Hi all, I was wondering if there is a way to change a panel's or page's markup or even class when it is disabled. I have two versions of some of my panels and pages: a XXXViewPanel/Page and a XXXEditPanel/Page. The view-only version has labels instead of dropdown menus and text fields. Based

Markup for Disabled Panels and Pages

2009-07-23 Thread Zhubin Salehi
on user's roles some pages/panels might be view-only for some users and editable for some others. Is there a way that I can substitute a panel or page when it is disabled? Thanks, Zhubin Zhubin Salehi Senior Software Engineer Route1 - Securing the Digital

RE: Markup for Disabled Panels and Pages

2009-07-23 Thread Zhubin Salehi
PM To: users@wicket.apache.org Subject: Re: Markup for Disabled Panels and Pages When it is disabled you might want to set invisible it and set visible the another panel? On Thu, Jul 23, 2009 at 10:24 AM, Zhubin Salehi zhubin.sal...@route1.comwrote: Hi all, I was wondering if there is a way

Session timeout too short?

2009-07-09 Thread Zhubin Salehi
Hi, I’m using Wicket 1.4-RC6, Tomcat 6.0.20 and JDK 1.5.0_19. The “session-timeout” timeout value in tomcat/conf/web.xml is 30, but I noticed my pages timeout after about 10 minutes. If I don’t touch a page for 10 mints, next time I submit a form on that page I get a “Page Expired” error. Any

Re: Problems Refreshin a Image from AjaxLink

2009-03-06 Thread Zhubin Salehi
Hi guys, I have a similar problem that NonCachingImage does not solve. I have implemented a simple expand/collapse button. I check the rendered page source in FireFox and image name is always /img/expand.gif. Here is the code: /* advanced search link */

Re: Problems Refreshin a Image from AjaxLink

2009-03-06 Thread Zhubin Salehi
() { return advancedSearch ? /img/collapse.gif : /img/expand.gif; } }))); I hope it's more readable this way :-) Zhubin Zhubin Salehi wrote: Hi guys, I have a similar problem that NonCachingImage does not solve. I have implemented a simple expand/collapse button. I check the rendered

Re: Problems Refreshin a Image from AjaxLink

2009-03-06 Thread Zhubin Salehi
advancedSearch is in PersonDetailTab that is a panel in an AbstractTab in a PanelCachingTab in FindUserAcountForm. Zhubin igor.vaynberg wrote: is advancedSearch inside findUserAccountForm? -igor On Fri, Mar 6, 2009 at 9:23 AM, Zhubin Salehi zhooz...@yahoo.com wrote: Here

Re: Problems Refreshin a Image from AjaxLink

2009-03-06 Thread Zhubin Salehi
time the panel is rendered, getObject() method is called but apparently the return value is ignored. Zhubin Salehi wrote: advancedSearch is in PersonDetailTab that is a panel in an AbstractTab in a PanelCachingTab in FindUserAcountForm. Zhubin igor.vaynberg wrote: is advancedSearch

Re: Problems Refreshin a Image from AjaxLink

2009-03-06 Thread Zhubin Salehi
time the panel is rendered, getObject() method is called but apparently the return value is ignored. Zhubin Salehi wrote: advancedSearch is in PersonDetailTab that is a panel in an AbstractTab in a PanelCachingTab in FindUserAcountForm. Zhubin igor.vaynberg wrote: is advancedSearch

Re: Problems Refreshin a Image from AjaxLink

2009-03-06 Thread Zhubin Salehi
isVisible() { return advancedSearch; } }); It's not the best way to go, but it works. Zhubin Zhubin Salehi wrote: I figured out if the page starts with 'advancedSearch = false' the image is always expand.gif and if it starts with 'advancedSearch = true' the image is always

Re: Pageable tree?

2009-02-03 Thread Zhubin Salehi
So each item in the list view is an individual tree? Zhubin igor.vaynberg wrote: no, use the listview to only list your roots. when you click on one it refreshes the tree to the right with that root. -igor On Mon, Feb 2, 2009 at 7:59 AM, Zhubin Salehi zhooz...@yahoo.com wrote: You

Re: Pageable tree?

2009-02-02 Thread Zhubin Salehi
On Fri, Jan 30, 2009 at 8:31 PM, Zhubin Salehi zhooz...@yahoo.com wrote: Hi, Is there some kind of pageable tree class in Wicket, or I have to break up my tree to several smaller trees and put them in a PageableListView? Thanks, Zhubin -- View this message in context: http

Re: Pageable tree?

2009-02-02 Thread Zhubin Salehi
components [listview][tree] where listview lets you select roots and refreshes the tree with the selected root. -igor On Mon, Feb 2, 2009 at 7:04 AM, Zhubin Salehi zhooz...@yahoo.com wrote: I have a rootless tree with a large number of nodes on the first level. I only want to make a first

Pageable tree?

2009-01-30 Thread Zhubin Salehi
Hi, Is there some kind of pageable tree class in Wicket, or I have to break up my tree to several smaller trees and put them in a PageableListView? Thanks, Zhubin -- View this message in context: http://www.nabble.com/Pageable-tree--tp21754065p21754065.html Sent from the Wicket - User mailing

Re: Is there a way to be notified when a tab in a TabbedPanel is selected?

2009-01-29 Thread Zhubin Salehi
So every time a tab is selected, a new instance of that panel will be created? Erik van Oosten wrote: Hi Zhubin, Everytime there is a tab switch, method getPanel from the ITab instance is called. Regards, Erik. Zhubin Salehi wrote: Hi all, How can I be notified when one

Re: Is there a way to be notified when a tab in a TabbedPanel is selected?

2009-01-29 Thread Zhubin Salehi
So which Panel method is a best to monitor when that panel is selected? I need to set a model property for each of my tabs. Also I tried to stop Wicket from instantiating a new Panel every time a tab is selected, here is the code: /* advanced search check box */ add(new

Re: Is there a way to be notified when a tab in a TabbedPanel is selected?

2009-01-29 Thread Zhubin Salehi
Sorry wrong code fragment! Here is the right one: /* 'search by MobiNET ID tab */ tabs.add(new PanelCachingTab(new AbstractTab(new StringResourceModel(title.byMobinetId, FindUserAccount.this, null)) { private static final long

Re: Is there a way to be notified when a tab in a TabbedPanel is selected?

2009-01-29 Thread Zhubin Salehi
This code looks cool, thanks a lot! Erik van Oosten wrote: How about this: tabs.add(new PanelCachingTab(new AbstractTab(new StringResourceModel(title.byMobinetId, FindUserAccount.this, null)) { private static final long serialVersionUID =

Is there a way to be notified when a tab in a TabbedPanel is selected?

2009-01-28 Thread Zhubin Salehi
Hi all, How can I be notified when one of the tabs in a TabbedPanel is selected? Where is no onSelect() method in ITab interface, is there a way to achieve this? Thanks, Zhubin -- View this message in context:

Navigaion Menu

2008-03-27 Thread Zhubin Salehi
Hi all, Does anybody know any good JavaScript navigation menu that works fine with Wicket? Out Graphics Designer is trying to create a menu for me and has problem finding a good one. Thanks, Zhubin Zhubin Salehi Senior Software Engineer Route1, Inc. Phone: (416) 848-8391 Ext. 2262

RE: Problem with using RadioGorup and AjaxEventBehavior in a FormComponentPanel

2008-03-20 Thread Zhubin Salehi
works a lot better for this sort of thing when dealing with check/readio html components -igor On Wed, Mar 19, 2008 at 10:55 PM, Igor Vaynberg [EMAIL PROTECTED] wrote: i dont think browsers support an onschange event :) -igor On Wed, Mar 19, 2008 at 7:24 PM, Zhubin Salehi [EMAIL PROTECTED

RE: Problem with using RadioGorup and AjaxEventBehavior in a FormComponentPanel

2008-03-20 Thread Zhubin Salehi
Ok, I noticed when I use AjaxFormComponentUpdatingBehavior, no JavaScript gets added to radio buttons. -Original Message- From: Zhubin Salehi [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2008 9:18 AM To: users@wicket.apache.org Subject: RE: Problem with using RadioGorup

RE: Problem with using RadioGorup and AjaxEventBehavior in a FormComponentPanel

2008-03-20 Thread Zhubin Salehi
:59 PM To: users@wicket.apache.org Subject: Re: Problem with using RadioGorup and AjaxEventBehavior in a FormComponentPanel are you adding the bheavior to Radio or RadioGroup, it needs to go to Radio components -igor On Thu, Mar 20, 2008 at 6:21 AM, Zhubin Salehi [EMAIL PROTECTED] wrote: Ok, I

RE: Problem with using RadioGorup and AjaxEventBehavior in a FormComponentPanel

2008-03-20 Thread Zhubin Salehi
, March 20, 2008 1:07 PM To: users@wicket.apache.org Subject: Re: Problem with using RadioGorup and AjaxEventBehavior in a FormComponentPanel right. see AjaxFormChoiceComponentUpdatingBehavior -igor On Thu, Mar 20, 2008 at 10:02 AM, Zhubin Salehi [EMAIL PROTECTED] wrote: I'm adding

RE: Problem with using RadioGorup and AjaxEventBehavior in a FormComponentPanel

2008-03-20 Thread Zhubin Salehi
, RadioChoice.convertedInput is null. -Original Message- From: Zhubin Salehi [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2008 1:17 PM To: users@wicket.apache.org Subject: RE: Problem with using RadioGorup and AjaxEventBehavior in a FormComponentPanel I added

Problem with using RadioGorup and AjaxEventBehavior in a FormComponentPanel

2008-03-19 Thread Zhubin Salehi
) at java.lang.Thread.run(Thread.java:595) It looks like the model in RadioGroup is not updated when nanp.processInput() is called. Any idea what I have done wrong? By the way I'm using Wicket 1.3.2, JDK 1.5.0_15, Tomcat 5.5.26 and Firefox 2.0.0.12 Thanks, Zhubin Zhubin Salehi Senior Software Engineer Route1, Inc

RE: Problem with using RadioGorup and AjaxEventBehavior in a FormComponentPanel

2008-03-19 Thread Zhubin Salehi
, Zhubin Salehi [EMAIL PROTECTED] wrote: Hi all, I'm trying to update some TextFields in a FormComponentPanel when the user selects a radio button from a RadioGroup. Here is a fragment of my code that created Radio and RadioGroup objects: add(nanp = new RadioGroup(nanp, new