Re: [Wicket-user] File Upload inside a Wizard?
do not add your own form, i dont think we handle multipart embedded forms yet. simply add the field directly to the wizardstep panel. -igor thank you igor. now the upload works. but: - howto set maximum upload size? setMaxSize(Bytes.kilobytes(500)); no longer works (I'm inside a wizardstep and have no form component I can access) - howto add ajax progress bar? I added protected WebRequest newWebRequest(HttpServletRequest servletRequest) { return new UploadWebRequest(servletRequest); } to application, but can't add(new UploadProgressBar(progress, ???)); (what to use as second param/form? (I'm inside wizardstep) Is there a way to get the form of the wizard? - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] How to remove a Behaviour?
remove is a good addition, but what about isEnabled()? that might be a nice way to conditionally apply a behavior instead of removing it. That already is supported (see IModel#isEnabled(Component)). The advantage of removing it altogether obviously is that it saves a bit of state, and the remove method will make the API more complete. Eelco - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Strange behavior when calling a function in appendJavascript
I'm having a strange problem executing javascript functions from ajax. Some scripts work and some don't. I've got this java code: target.appendJavascript(toggleSelection(document.getElementById('+getComponent().getMarkupId()+'))); And in the html I've got this: wicket:head script type=text/javascript src=js/reports.js/script /wicket:head The function toggleSelection is in reports.js. If I make toggleSelection just a simple script, it runs fine. But if I add more code to it, I sometimes get the following error response. I've verified that reports.js is included in the html source. INFO: INFO: Initiating Ajax POST request on /sa/app?wicket:interface=:3:tabs:panel:reportForm:availReport:availRow:3:row:scheduled:-1:IUnversionedBehaviorListenerwicket:behaviorId=0wicket:ignoreIfNotActive=truerandom=0.5721591389578449 INFO: Invoking pre-call handler(s)... INFO: Received ajax response (204 characters) INFO: ?xml version=1.0 encoding=UTF-8?ajax-responseevaluate![CDATA[toggleSelection(document.getElementById('tabs_panel_reportForm_availReport_availRow_3_row_scheduled'))]]/evaluate/ajax-response INFO: Response parsed. Now invoking steps... ERROR: Exception evaluating javascript: ReferenceError: toggleSelection is not defined INFO: Response processed successfully. INFO: Invoking post-call handler(s)... I've gone through the JS code very carefully to see if there are any mistakes. I can't find any. Here is the code that causes the error: function toggleSelection(element) { var cn = element.parentNode.parentNode.className; alert(cn); switch(cn) { case odd: alert(in odd); element.parentNode.parentNode.className = oddSelected; alert(out odd); break; case oddSelected): alert(in oddSelected); element.parentNode.parentNode.className = odd; alert(out oddSelected); break; case even: alert(in even); element.parentNode.parentNode.className = evenSelected; alert(out even); break; case evenSelected: alert(in evenSelected); element.parentNode.parentNode.className = even; alert(out evenSelected); break; default: break; } alert(done); } I have it working now by using a different toggleSelection script. Now the output is this: INFO: INFO: Initiating Ajax POST request on /sa/app?wicket:interface=:7:tabs:panel:reportForm:availReport:availRow:4:row:scheduled:-1:IUnversionedBehaviorListenerwicket:behaviorId=0wicket:ignoreIfNotActive=truerandom=0.8455243647238795 INFO: Invoking pre-call handler(s)... INFO: Received ajax response (204 characters) INFO: ?xml version=1.0 encoding=UTF-8?ajax-responseevaluate![CDATA[toggleSelection(document.getElementById('tabs_panel_reportForm_availReport_availRow_4_row_scheduled'))]]/evaluate/ajax-response INFO: Response parsed. Now invoking steps... INFO: Response processed successfully. INFO: Invoking post-call handler(s)... And the code is this: function toggleSelection(element) { var cn = element.parentNode.parentNode.className; if (cn == odd) { element.parentNode.parentNode.className = oddScheduled; } else if (cn == oddScheduled) { element.parentNode.parentNode.className = odd; } else if (cn == even) { element.parentNode.parentNode.className = evenScheduled; } else if (cn == evenScheduled) { element.parentNode.parentNode.className = even; } } What causes that type of Error message in the ajax window? Is it javascript that doesn't execute properly? Why would it say the method is undefined? Is there something wrong with that first script? I realize this isn't a javascript list, but I really don't see anything wrong with it. Thanks, Tauren - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Wicket-stuff GMAP
Nino, There is a special repository for the snapshots. You can find instructions on http://incubator.apache.org/wicket/building-from-svn.html. Regards, Erik. Nino Saturnino Martinez Vazquez Wael schreef: Hi Im trying to get the GMAP contribution to work, i've checked it out from svn. But it has a dependency to wicket 1.3 snapshot, which does not exist. ...dependency: dependency groupIdorg.apache.wicket/groupId artifactIdwicket/artifactId version1.3.0-incubating-SNAPSHOT/version /dependency ...dependency Does anybody have a jar or a working source, how do I solve this? regards Nino - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Erik van Oosten http://day-to-day-stuff.blogspot.com/ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Good Tutorial on core wicket
Probably caused by the wiki conversion some time ago. Erik. cowwoc schreef: I wonder why the indentation is all screwed up for the code at the bottom, the markup text looks correct to me... Gili Scott Swank wrote: Have you seen this in the wiki? It's a reasonable start on the sort of thing that I _think_ you're asking for. http://cwiki.apache.org/WICKET/lifecycle-of-a-wicket-application.html Scott -- Erik van Oosten http://day-to-day-stuff.blogspot.com/ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] 1.2 to 1.3 migration problems (javax.crypto.IllegalBlockSizeException
When I omit the panel that has the password field (a simple subclass from SignInPanel) from the page, there are no errors anymore. Obviously, I need the SignInPanel. It worked fine with version 1.2. Any ideas? Herman Bovens wrote: Hi, I'm getting errors when deploying my application, which I have just migrated from wicket 1.2 to 1.3. The first one is this: 00:52:22,421 ERROR [PasswordTextField] Problem applying encryption; go on without for now org.apache.wicket.WicketRuntimeException: Unable to decrypt the text '[EMAIL PROTECTED]' at org.apache.wicket.util.crypt.AbstractCrypt.decryptByteArray(AbstractCrypt.java:145) at org.apache.wicket.util.crypt.AbstractCrypt.decryptUrlSafe(AbstractCrypt.java:67) at org.apache.wicket.markup.html.form.PasswordTextField.setModelValue(PasswordTextField.java:133) at org.apache.wicket.markup.html.form.persistence.CookieValuePersister.load(CookieValuePersister.java:71) at org.apache.wicket.markup.html.form.Form$1.onFormComponent(Form.java:324) at org.apache.wicket.markup.html.form.FormComponent$AbstractVisitor.formComponent(FormComponent.java:106) at org.apache.wicket.markup.html.form.FormComponent.visitFormComponentsPostOrderHelper(FormComponent.java:1367) at org.apache.wicket.markup.html.form.FormComponent.visitFormComponentsPostOrderHelper(FormComponent.java:1354) at org.apache.wicket.markup.html.form.FormComponent.visitFormComponentsPostOrder(FormComponent.java:1332) at org.apache.wicket.markup.html.form.Form.visitFormComponentsPostOrder(Form.java:539) at org.apache.wicket.markup.html.form.Form.loadPersistentFormComponentValues(Form.java:308) at org.apache.wicket.Page$8.component(Page.java:1371) at org.apache.wicket.MarkupContainer.visitChildren(MarkupContainer.java:793) at org.apache.wicket.MarkupContainer.visitChildren(MarkupContainer.java:808) at org.apache.wicket.MarkupContainer.visitChildren(MarkupContainer.java:808) at org.apache.wicket.Page.setFormComponentValuesFromCookies(Page.java:1366) at org.apache.wicket.Page.renderPage(Page.java:807) at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.respond(BookmarkablePageRequestTarget.java:224) at org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:103) at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:999) at org.apache.wicket.RequestCycle.step(RequestCycle.java:1061) at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1130) at org.apache.wicket.RequestCycle.request(RequestCycle.java:489) at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:248) at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:122) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Thread.java:595) Caused by: javax.crypto.IllegalBlockSizeException: Input length must be multiple of 8 when decrypting with padded cipher at com.sun.crypto.provider.SunJCE_h.b(DashoA12275) at
[Wicket-user] Component.onAttach/onBeforeRender event changes in 1.3
Component.onAttach/onBeforeRender/onAfterRender changes. Before we had this behaviour: new Page: Page constructed Page.onAttach() - all the components are visited Page.onBeforeRender() Page.render - childComponent.onBeforeRender() childComponent.render() childComponent.onAfterRender() Page.onAfterRender() Page.onDetach() - all the components are visited Listener request which sets a new page: Page1.componentCalled() - Page2 is set to response. Page2.onAttach() - all the components are visited Page2.onBeforeRender() Page2.render - childComponent.onBeforeRender() childComponent.render() childComponent.onAfterRender() Page2.onAfterRender() Page2.onDetach() - all the components are visited Page1.onDetach() - all the components are visited So the page1 ondetach is called but not the on attach in 1.3 on attach is changed so that when a page is used, for an interface call or rendering, on attach is called. onBeforeRender did become onAttach because they where pretty much the same already. so now the behavior is this: Page1.onAttach() - all the components are visited Page1.componentCalled() - Page2 is set to response. Page2.onAttach() - all the components are visited Page2.onBeforeRender() - all the components are visited Page2.render() Page2.onAfterRender() - all the components are visited Page2.onDetach() - all the components are visited Page1.onDetach() - all the components are visited And in onAttach the component structure can't change anymore. This is now moved to onBeforeRender. So everything that was done before this change in onAttach should be done in onBeforeRender also in all the 4 call backs we have now (onAttach,onBeforeRender,onAfterRender and onDetach()) you have to make a super.xxx call else you will get an exception. i updated wiki with this info: http://cwiki.apache.org/confluence/display/WICKET/Migrate-1.3#Migrate-1.3-Component.onAttach%2FonBeforeRender%2FonAfterRenderchanges . - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] BookmarkablePageLink with multiple window support in 1.2.6
* Ingram Chen: another problem in 1.2.6. I use BookarmablePageLink: public ToIdineLink(String id, Shop shop) { super(id, ShopPage.class); setParameter(shop, shop.getId()); } so the url is: /context/app/foo?shop=123 if we open this link in new window, url will add pageMapName: /context/app/foo?shop=123wicket:pageMapName=wicket-0 this is fine.. but in 1.2.6 the link become: /context/app/foo?shop=%5BLjava.lang.String%3B%406f0241wicket:pageMapName=wicket-0 the number become string array and this url is un-resolvable Can you file a JIRA issue, attaching a quickstart project? I can't reproduce this on 1.2.6. I tried with the Click this BookmarkablePageLink to go to Page3 link in wicket-examples/linkomatic/ -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Button using button tag instead of input
* Ryan Sonnek: Using the current Link object is *not* an option since it doesn't disable buttons correctly. Yes it does it's fixed. -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Button using button tag instead of input
* Johan Compagner: Buttons can have a name and value: snip/ and i still think it is stupid to have a Button component that can't be mapped on the button tag OK guys, I changed it again for good and removed the special handling of input: Actually, a button is allowed to have a value attribute, see http://www.w3.org/TR/html4/interact/forms.html#adef-value-BUTTON Improving the Javadoc Committed revision 535523. Now, users are warned that the value attribute of button will not render anything. -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Button using button tag instead of input
On 5/5/07, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote: * Ryan Sonnek: Using the current Link object is *not* an option since it doesn't disable buttons correctly. Yes it does it's fixed. So, now I'm confused. If Link is fixed, should I use it or the updated Button object? - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Strange behavior when calling a function in appendJavascript
hmm. Have you run it with firebug or venkman? When I've run into this before it was usually because the script had a parse error causing the interpreter to barf and not load the rest of the script. best, jim On 5/5/07, Tauren Mills [EMAIL PROTECTED] wrote: I'm having a strange problem executing javascript functions from ajax. Some scripts work and some don't. I've got this java code: target.appendJavascript (toggleSelection(document.getElementById ('+getComponent().getMarkupId()+'))); And in the html I've got this: wicket:head script type=text/javascript src=js/reports.js/script /wicket:head The function toggleSelection is in reports.js. If I make toggleSelection just a simple script, it runs fine. But if I add more code to it, I sometimes get the following error response. I've verified that reports.js is included in the html source. INFO: INFO: Initiating Ajax POST request on /sa/app?wicket:interface=:3:tabs:panel:reportForm:availReport:availRow:3:row:scheduled:-1:IUnversionedBehaviorListenerwicket:behaviorId=0wicket:ignoreIfNotActive=truerandom= 0.5721591389578449 INFO: Invoking pre-call handler(s)... INFO: Received ajax response (204 characters) INFO: ?xml version=1.0 encoding=UTF-8?ajax-responseevaluate![CDATA[toggleSelection( document.getElementById ('tabs_panel_reportForm_availReport_availRow_3_row_scheduled'))]]/evaluate/ajax-response INFO: Response parsed. Now invoking steps... ERROR: Exception evaluating javascript: ReferenceError: toggleSelection is not defined INFO: Response processed successfully. INFO: Invoking post-call handler(s)... I've gone through the JS code very carefully to see if there are any mistakes. I can't find any. Here is the code that causes the error: function toggleSelection(element) { var cn = element.parentNode.parentNode.className; alert(cn); switch(cn) { case odd: alert(in odd); element.parentNode.parentNode.className = oddSelected; alert(out odd); break; case oddSelected): alert(in oddSelected); element.parentNode.parentNode.className = odd; alert(out oddSelected); break; case even: alert(in even); element.parentNode.parentNode.className = evenSelected; alert(out even); break; case evenSelected: alert(in evenSelected); element.parentNode.parentNode.className = even; alert(out evenSelected); break; default: break; } alert(done); } I have it working now by using a different toggleSelection script. Now the output is this: INFO: INFO: Initiating Ajax POST request on /sa/app?wicket:interface=:7:tabs:panel:reportForm:availReport:availRow:4:row:scheduled:-1:IUnversionedBehaviorListenerwicket:behaviorId=0wicket:ignoreIfNotActive=truerandom= 0.8455243647238795 INFO: Invoking pre-call handler(s)... INFO: Received ajax response (204 characters) INFO: ?xml version=1.0 encoding=UTF-8?ajax-responseevaluate![CDATA[toggleSelection( document.getElementById ('tabs_panel_reportForm_availReport_availRow_4_row_scheduled'))]]/evaluate/ajax-response INFO: Response parsed. Now invoking steps... INFO: Response processed successfully. INFO: Invoking post-call handler(s)... And the code is this: function toggleSelection(element) { var cn = element.parentNode.parentNode.className; if (cn == odd) { element.parentNode.parentNode.className = oddScheduled; } else if (cn == oddScheduled) { element.parentNode.parentNode.className = odd; } else if (cn == even) { element.parentNode.parentNode.className = evenScheduled; } else if (cn == evenScheduled) { element.parentNode.parentNode.className = even; } } What causes that type of Error message in the ajax window? Is it javascript that doesn't execute properly? Why would it say the method is undefined? Is there something wrong with that first script? I realize this isn't a javascript list, but I really don't see anything wrong with it. Thanks, Tauren - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Nested Forms and onSubmit()?
Ok, but how does one do labels properly like this (i.e. with a for attribute). A reminder of what this thread was about ... I'm reusing a custom PostalAddressFieldsetPanel component twice in a form so eventual markup sent to browser should look something like this: fieldset legendDelivery address/legend label for=deliveryAddress_streetStreet/label input type=text id=deliveryAddress_street ... / ... /fieldset fieldset legendInvoice address/legend label for=invoiceAddress_streetStreet/label input type=text id=invoiceAddress_street ... / ... /fieldset If I delegate to the framework to create the unique 'id' attributes for the input tags as explained below, how do I make sure the 'for' attributes of their labels have the same values. Cheers, Derek -Original Message- From: [EMAIL PROTECTED] on behalf of Martijn Dashorst Sent: Mon 4/30/2007 4:26 PM To: wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] Nested Forms and onSubmit()? On 4/30/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Ok, but name != id in xhtml and the value of xhtml id attributes on the page must be unique or it isn't valid. Do I need to ensure that any custom components do not include an xhtml id attribute? Yes you do, but you can let Wicket generate the id's for you with setOutputMarkupId(true). Wicket will take care of making them unique in your page. Martijn -- Learn Wicket at ApacheCon Europe: http://apachecon.com Join the wicket community at irc.freenode.net: ##wicket Wicket 1.2.6 contains a very important fix. Download Wicket now! http://wicketframework.org - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user * Email confidentiality notice * This message is private and confidential. If you have received this message in error, please notify us and remove it from your system. The London School of Economics and Political Science (the School) is a company limited by guarantee, registered in England and Wales, under registered number 00070527, and having its registered office at 10th Floor, Tower One, Houghton Street, London WC2A 2AE. The inclusion of this information does not of itself make this email a business document of the School and, to the maximum extent permitted by law, the School accepts no liability for the content and opinions in any non-business emails.winmail.dat- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Nested Forms and onSubmit()?
you may want to take a look at the class FormComponentLabel it should do the trick On 5/5/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Ok, but how does one do labels properly like this (i.e. with a for attribute). A reminder of what this thread was about ... I'm reusing a custom PostalAddressFieldsetPanel component twice in a form so eventual markup sent to browser should look something like this: fieldset legendDelivery address/legend label for=deliveryAddress_streetStreet/label input type=text id=deliveryAddress_street ... / ... /fieldset fieldset legendInvoice address/legend label for=invoiceAddress_streetStreet/label input type=text id=invoiceAddress_street ... / ... /fieldset If I delegate to the framework to create the unique 'id' attributes for the input tags as explained below, how do I make sure the 'for' attributes of their labels have the same values. Cheers, Derek -Original Message- From: [EMAIL PROTECTED] on behalf of Martijn Dashorst Sent: Mon 4/30/2007 4:26 PM To: wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] Nested Forms and onSubmit()? On 4/30/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Ok, but name != id in xhtml and the value of xhtml id attributes on the page must be unique or it isn't valid. Do I need to ensure that any custom components do not include an xhtml id attribute? Yes you do, but you can let Wicket generate the id's for you with setOutputMarkupId(true). Wicket will take care of making them unique in your page. Martijn -- Learn Wicket at ApacheCon Europe: http://apachecon.com Join the wicket community at irc.freenode.net: ##wicket Wicket 1.2.6 contains a very important fix. Download Wicket now! http://wicketframework.org - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user * Email confidentiality notice * This message is private and confidential. If you have received this message in error, please notify us and remove it from your system. The London School of Economics and Political Science (the School) is a company limited by guarantee, registered in England and Wales, under registered number 00070527, and having its registered office at 10th Floor, Tower One, Houghton Street, London WC2A 2AE. The inclusion of this information does not of itself make this email a business document of the School and, to the maximum extent permitted by law, the School accepts no liability for the content and opinions in any non-business emails. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Nested Forms and onSubmit()?
It does! Thanks -Original Message- From: [EMAIL PROTECTED] on behalf of Gerolf Seitz Sent: Sat 5/5/2007 4:28 PM To: wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] Nested Forms and onSubmit()? you may want to take a look at the class FormComponentLabel it should do the trick On 5/5/07, [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Ok, but how does one do labels properly like this (i.e. with a for attribute). A reminder of what this thread was about ... I'm reusing a custom PostalAddressFieldsetPanel component twice in a form so eventual markup sent to browser should look something like this: fieldset legendDelivery address/legend label for=deliveryAddress_streetStreet/label input type=text id=deliveryAddress_street ... / ... /fieldset fieldset legendInvoice address/legend label for=invoiceAddress_streetStreet/label input type=text id=invoiceAddress_street ... / ... /fieldset If I delegate to the framework to create the unique 'id' attributes for the input tags as explained below, how do I make sure the 'for' attributes of their labels have the same values. Cheers, Derek -Original Message- From: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] on behalf of Martijn Dashorst Sent: Mon 4/30/2007 4:26 PM To: wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] Nested Forms and onSubmit()? On 4/30/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Ok, but name != id in xhtml and the value of xhtml id attributes on the page must be unique or it isn't valid. Do I need to ensure that any custom components do not include an xhtml id attribute? Yes you do, but you can let Wicket generate the id's for you with setOutputMarkupId(true). Wicket will take care of making them unique in your page. Martijn -- Learn Wicket at ApacheCon Europe: http://apachecon.com Join the wicket community at irc.freenode.net : ##wicket Wicket 1.2.6 contains a very important fix. Download Wicket now! http://wicketframework.org - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user https://lists.sourceforge.net/lists/listinfo/wicket-user * Email confidentiality notice * This message is private and confidential. If you have received this message in error, please notify us and remove it from your system. The London School of Economics and Political Science (the School) is a company limited by guarantee, registered in England and Wales, under registered number 00070527, and having its registered office at 10th Floor, Tower One, Houghton Street, London WC2A 2AE. The inclusion of this information does not of itself make this email a business document of the School and, to the maximum extent permitted by law, the School accepts no liability for the content and opinions in any non-business emails. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user * Email confidentiality notice * This message is private and confidential. If you have received this message in error, please notify us and remove it from your system. The London School of Economics and Political Science (the School) is a company limited by guarantee, registered in England and Wales, under registered number 00070527, and having its registered office at 10th Floor, Tower One, Houghton Street, London WC2A 2AE. The inclusion of this information does not of itself make this email a business document of the School and, to the maximum extent
Re: [Wicket-user] AbstractTree in 1.3
The older tree, which is in extensions now, did use the TreeModel more extensively it seems. Imo, implementing your custom treenodes is the way to go for dynamic nodes anyway, but I'm not sure why Matej skips the TreeModel. Matej? Eelco On 5/2/07, Mats Norén [EMAIL PROTECTED] wrote: Just a quick question/clarification about the current Tree in 1.3. Is it correct that the AbstractTree only uses a TreeModel to gain access to the root TreeNode? Looking at the code in AbstractTree.java line 499: // is root item created? (root item is null if the items have not // been created yet, or the whole tree was dirty and clearAllITem // has been called if (rootItem == null) { TreeNode rootNode = (TreeNode)((TreeModel)getModelObject()).getRoot(); !-- look here if (rootNode != null) { if (isRootLess()) { rootItem = newTreeItem(rootNode, -1); } else { rootItem = newTreeItem(rootNode, 0); } itemContainer.add(rootItem); buildItemChildren(rootItem); } } I tried to implement my own TreeModel but noticed that it only called getRoot() and nothing else... Is this the intended behavior? Does this mean that I have to implement my own TreeNode to build a dynamic tree? /Regards Mats - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Button using button tag instead of input
* Ryan Sonnek: So, now I'm confused. If Link is fixed, should I use it or the updated Button object? Button is a form component, Link is not. It's up to you. -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Difficulty with TextFields in ListView
* Martijn Dashorst: Basically you need to setReuseItems(true) or use a repeater. Confirmed. Be careful that ListView is not industrial strength when it comes to text fields and adding or removing rows. In other words it's broken. If you need this feature, better use RefreshingView. -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Sending Emails Via Wicket?
If you don't follow the standalone Velocity approach and want to reuse your Wicket components: Processing a Wicket page and sending the result to a buffer can be achieved through StringRequestTarget, thus allowing you to use the buffer contents for sending email. See RequestCycle.setRequestTarget() -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Checkbox onchange event differences between IE and FF
I have numerous ajax calls throughout my app, and they work fine in both FF and IE. However, there is one that behaves differently in IE and FF. It seems that the onchange behavior of a checkbox happens at different times between the browsers. With FF, the event is sent as soon as the checkbox is checked. In IE, it isn't sent until the user clicks off the checkbox somewhere else on the page. How do I get IE to behave the same as FF? I want the call to be made as soon as the user clicks onto the checkbox. Is there a solution? It probably doesn't matter, but just in case, here is the code: CheckBox cb = new CheckBox(scheduled,new PropertyModel(rr.getAvailability(),scheduled)); cb.add(new AjaxFormComponentUpdatingBehavior(onchange) { @Override protected void onUpdate(AjaxRequestTarget target) { // Model is changed automatically target.appendJavascript(toggleSelection(document.getElementById('+ getComponent().getMarkupId()+'))); } }); add(cb); The backing model rr.getAvailability is a Hibernate entity. When the checkbox is checked or unchecked, the boolean property scheduled is changed in the entity and automatically persisted to the DB. Thanks! Tauren - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Strange behavior when calling a function in appendJavascript
Hi Jim, Thanks for the suggestion. I haven't tried that, so I'll give it a try. Tauren On 5/5/07, James McLaughlin [EMAIL PROTECTED] wrote: hmm. Have you run it with firebug or venkman? When I've run into this before it was usually because the script had a parse error causing the interpreter to barf and not load the rest of the script. best, jim On 5/5/07, Tauren Mills [EMAIL PROTECTED] wrote: I'm having a strange problem executing javascript functions from ajax. Some scripts work and some don't. I've got this java code: target.appendJavascript(toggleSelection( document.getElementById('+getComponent().getMarkupId()+'))); And in the html I've got this: wicket:head script type=text/javascript src=js/reports.js/script /wicket:head The function toggleSelection is in reports.js. If I make toggleSelection just a simple script, it runs fine. But if I add more code to it, I sometimes get the following error response. I've verified that reports.js is included in the html source. INFO: INFO: Initiating Ajax POST request on /sa/app?wicket:interface=:3:tabs:panel:reportForm:availReport:availRow:3:row:scheduled:-1:IUnversionedBehaviorListenerwicket:behaviorId=0wicket:ignoreIfNotActive=truerandom= 0.5721591389578449 INFO: Invoking pre-call handler(s)... INFO: Received ajax response (204 characters) INFO: ?xml version=1.0 encoding=UTF-8?ajax-responseevaluate![CDATA[toggleSelection( document.getElementById('tabs_panel_reportForm_availReport_availRow_3_row_scheduled'))]]/evaluate/ajax-response INFO: Response parsed. Now invoking steps... ERROR: Exception evaluating javascript: ReferenceError: toggleSelection is not defined INFO: Response processed successfully. INFO: Invoking post-call handler(s)... I've gone through the JS code very carefully to see if there are any mistakes. I can't find any. Here is the code that causes the error: function toggleSelection(element) { var cn = element.parentNode.parentNode.className; alert(cn); switch(cn) { case odd: alert(in odd); element.parentNode.parentNode.className = oddSelected; alert(out odd); break; case oddSelected): alert(in oddSelected); element.parentNode.parentNode.className = odd; alert(out oddSelected); break; case even: alert(in even); element.parentNode.parentNode.className = evenSelected; alert(out even); break; case evenSelected: alert(in evenSelected); element.parentNode.parentNode.className = even; alert(out evenSelected); break; default: break; } alert(done); } I have it working now by using a different toggleSelection script. Now the output is this: INFO: INFO: Initiating Ajax POST request on /sa/app?wicket:interface=:7:tabs:panel:reportForm:availReport:availRow:4:row:scheduled:-1:IUnversionedBehaviorListenerwicket:behaviorId=0wicket:ignoreIfNotActive=truerandom= 0.8455243647238795 INFO: Invoking pre-call handler(s)... INFO: Received ajax response (204 characters) INFO: ?xml version=1.0 encoding=UTF-8?ajax-responseevaluate![CDATA[toggleSelection( document.getElementById('tabs_panel_reportForm_availReport_availRow_4_row_scheduled'))]]/evaluate/ajax-response INFO: Response parsed. Now invoking steps... INFO: Response processed successfully. INFO: Invoking post-call handler(s)... And the code is this: function toggleSelection(element) { var cn = element.parentNode.parentNode.className; if (cn == odd) { element.parentNode.parentNode.className = oddScheduled; } else if (cn == oddScheduled) { element.parentNode.parentNode.className = odd; } else if (cn == even) { element.parentNode.parentNode.className = evenScheduled; } else if (cn == evenScheduled) { element.parentNode.parentNode.className = even; } } What causes that type of Error message in the ajax window? Is it javascript that doesn't execute properly? Why would it say the method is undefined? Is there something wrong with that first script? I realize this isn't a javascript list, but I really don't see anything wrong with it. Thanks, Tauren - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
Re: [Wicket-user] Checkbox onchange event differences between IE and FF
use onclick instead of onchange. -Matej On 5/5/07, Tauren Mills [EMAIL PROTECTED] wrote: I have numerous ajax calls throughout my app, and they work fine in both FF and IE. However, there is one that behaves differently in IE and FF. It seems that the onchange behavior of a checkbox happens at different times between the browsers. With FF, the event is sent as soon as the checkbox is checked. In IE, it isn't sent until the user clicks off the checkbox somewhere else on the page. How do I get IE to behave the same as FF? I want the call to be made as soon as the user clicks onto the checkbox. Is there a solution? It probably doesn't matter, but just in case, here is the code: CheckBox cb = new CheckBox(scheduled,new PropertyModel(rr.getAvailability(),scheduled)); cb.add(new AjaxFormComponentUpdatingBehavior(onchange) { @Override protected void onUpdate(AjaxRequestTarget target) { // Model is changed automatically target.appendJavascript(toggleSelection(document.getElementById('+ getComponent().getMarkupId()+'))); } }); add(cb); The backing model rr.getAvailability is a Hibernate entity. When the checkbox is checked or unchecked, the boolean property scheduled is changed in the entity and automatically persisted to the DB. Thanks! Tauren - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Checkbox onchange event differences between IE and FF
Duh! Thanks! On 5/5/07, Matej Knopp [EMAIL PROTECTED] wrote: use onclick instead of onchange. -Matej On 5/5/07, Tauren Mills [EMAIL PROTECTED] wrote: I have numerous ajax calls throughout my app, and they work fine in both FF and IE. However, there is one that behaves differently in IE and FF. It seems that the onchange behavior of a checkbox happens at different times between the browsers. With FF, the event is sent as soon as the checkbox is checked. In IE, it isn't sent until the user clicks off the checkbox somewhere else on the page. How do I get IE to behave the same as FF? I want the call to be made as soon as the user clicks onto the checkbox. Is there a solution? It probably doesn't matter, but just in case, here is the code: CheckBox cb = new CheckBox(scheduled,new PropertyModel(rr.getAvailability(),scheduled)); cb.add(new AjaxFormComponentUpdatingBehavior(onchange) { @Override protected void onUpdate(AjaxRequestTarget target) { // Model is changed automatically target.appendJavascript(toggleSelection(document.getElementById('+ getComponent().getMarkupId()+'))); } }); add(cb); The backing model rr.getAvailability is a Hibernate entity. When the checkbox is checked or unchecked, the boolean property scheduled is changed in the entity and automatically persisted to the DB. Thanks! Tauren - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] 1.2 to 1.3 migration problems (javax.crypto.IllegalBlockSizeException
* Herman Bovens: When I omit the panel that has the password field (a simple subclass from SignInPanel) from the page, there are no errors anymore. Obviously, I need the SignInPanel. It worked fine with version 1.2. Any ideas? Providing the relevant code snippet would help. Is there an example on http://wicketstuff.org/wicket13 that matches your usecase? -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] AbstractRequestTargetUrlCodingStrategy is throwing an error now...
* ChuckDeal: Upon debugging the problem, AbstractRequestTargetUrlCodingStrategy.decodeParameters actually gets called twice; first with /mode/add (as expected), but then (i can't tell exactly when, but around the time the page is actually rendering) it gets called with mode/:/0 (not expected, and incorrect which is causing the exception). Please track all HTTP requests made on Wicket. You probably have some weird static resource (image?) loading in your page that has a wrong relative path. -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Formatting non-html templates
* David Leangen: and now component.setRenderBodyOnly(true) Looks like this approach does exactly what I want after all. :-D I guess you can also add a markup filter that will strip out the XML tags. -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Back-button / versioning
* Eelco Hillenius: I still understand we need test hours and people reporting their issues if we ever want to get this stable, but so far, the test cases are still minimal, Indeed we definitely need unit tests for this custom serialization, with good coverage. -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Forgot password feature
* Tauren Mills: One more thing on this. I have it working so that my URL looks like this: /sa/app/reset/1/4xYD6JctlSPwU23eN%2Fm1isA5Cf8%3D/0/tauren The key is the PageParameter #1. I'm encoding a value using Base64, which appears to include slashes, =, etc. When this string is used in a browser, the value is URLdecoded and ends up with an extra slash, which messes everything up: ERROR RequestCycle - URL fragment has unmatched key/value pair: 1/4xYD6JctlSPwU23eN/m1isA5Cf8=/0/tauren It is a bug (soon to be fixed), see http://issues.apache.org/jira/browse/WICKET-40 -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] BookmarkablePageLink with multiple window support in 1.2.6
After trying various combination, I found this may be caused by QueryStringUrlCodingStrategy I create jira with quickstart: https://issues.apache.org/jira/browse/WICKET-539 thanks for help On 5/5/07, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote: * Ingram Chen: another problem in 1.2.6. I use BookarmablePageLink: public ToIdineLink(String id, Shop shop) { super(id, ShopPage.class); setParameter(shop, shop.getId()); } so the url is: /context/app/foo?shop=123 if we open this link in new window, url will add pageMapName: /context/app/foo?shop=123wicket:pageMapName=wicket-0 this is fine.. but in 1.2.6 the link become: /context/app/foo?shop=%5BLjava.lang.String%3B%406f0241wicket:pageMapName=wicket-0 the number become string array and this url is un-resolvable Can you file a JIRA issue, attaching a quickstart project? I can't reproduce this on 1.2.6. I tried with the Click this BookmarkablePageLink to go to Page3 link in wicket-examples/linkomatic/ -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Ingram Chen ��便��啦: http://dinbendon.net blog: http://www.javaworld.com.tw/roller/page/ingramchen - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user