Re: cryptomapper uses the same wicket-crypt params for each user

2015-07-04 Thread Steve Swinsburg
Thanks for the confirmation, Martin. Regards. On Sat, Jul 4, 2015 at 4:32 PM, Martin Grigorov mgrigo...@apache.org wrote: Hi, Yes. This is the correct way. It is the default in 6.19.0 On Jul 4, 2015 2:51 AM, Steve Swinsburg steve.swinsb...@gmail.com wrote: OK solved

Re: cryptomapper uses the same wicket-crypt params for each user

2015-07-03 Thread Steve Swinsburg
OK solved: getSecuritySettings().setCryptFactory(new KeyInSessionSunJceCryptFactory()); //diff key per user final IRequestMapper cryptoMapper = new CryptoMapper(getRootRequestMapper(), this); setRootRequestMapper(cryptoMapper); On Fri, Jul 3, 2015 at 9:58 PM, Steve Swinsburg steve.swinsb

cryptomapper uses the same wicket-crypt params for each user

2015-07-03 Thread Steve Swinsburg
Hi all, I am using the cryptomapper to encrypt some URLs and am finding that every logged in user is getting the same encrypted URL for the same pages. ie to go to x page is http://url?wicket-crypt=Uqcgp... for both user A and user B. Is there any way to make this unique for each user? In my

Re: Making a datatable more accessible

2015-06-21 Thread Steve Swinsburg
a reference to the row's model - that would remove the need to lookup the row object from the grandparent. Have fun Sven On 18.06.2015 14:15, Steve Swinsburg wrote: Hi all, I have a datatable and need to make it more accessible for screenreaders. I am using an AbstractColumn and setting

Making a datatable more accessible

2015-06-18 Thread Steve Swinsburg
Hi all, I have a datatable and need to make it more accessible for screenreaders. I am using an AbstractColumn and setting the getHeader and populateItem methods with the contents. In a particular row I want to change the markup of the cells from TD to TH, as they are header type content. Is

EditablePropertyColumn and a callback to save

2014-10-23 Thread Steve Swinsburg
I am using the inmethodgrid EditablePropertyColumn to allow inline edits of a datatable. What I want to do is have some sort of callback method registered on a cell so that when a user edits it then tabs or clicks away, the method is fired, so that I can immediately do something with the contents

Re: EditablePropertyColumn and a callback to save

2014-10-23 Thread Steve Swinsburg
Perfect, thanks guys. cheers, Steve On Thu, Oct 23, 2014 at 10:27 PM, Martin Grigorov mgrigo...@apache.org wrote: Right! You have to override

Re: How to get this URL pattern working in newer versions of Wicket?

2014-10-22 Thread Steve Swinsburg
: Hi, On Tue, Oct 7, 2014 at 10:14 PM, Steve Swinsburg steve.swinsb...@gmail.com wrote: Hi Martin, The context bits of /portal/tool/UUID are added by the framework that I am using. All webapps are addressable in this way since the webapps are all registered with the framework

Re: How to get this URL pattern working in newer versions of Wicket?

2014-10-07 Thread Steve Swinsburg
see the user guide's Chapter 10 Wicket Links and URL generation at: http://wicket.apache.org/guide/guide/single.html#urls I guess you want to provide your own IMapperContext? On Mon, Oct 6, 2014 at 12:31 AM, Steve Swinsburg steve.swinsb...@gmail.com wrote: Hi all, I've been working

Re: How to get this URL pattern working in newer versions of Wicket?

2014-10-07 Thread Steve Swinsburg
as there are filters that inject things like authorisation etc. cheers, Steve On Tue, Oct 7, 2014 at 8:06 PM, Martin Grigorov mgrigo...@apache.org wrote: Hi, On Mon, Oct 6, 2014 at 6:31 AM, Steve Swinsburg steve.swinsb...@gmail.com wrote: Hi all, I've been working on Wicket 1.4

How to get this URL pattern working in newer versions of Wicket?

2014-10-05 Thread Steve Swinsburg
Hi all, I've been working on Wicket 1.4 for a while and in upgrading to Wicket 6 I've found an inconsistency in the way URLs are handled, specifically in the inmethod data grid but also the editable data grid. I have a particular context path that I need to maintain as the webapp rendering is

Re: [Building Sakai] Charts Wicket Sakai

2013-02-11 Thread Steve Swinsburg
Looks like your dependencies are wrong. Check the 1.5 migration guide, it should list the correct Maven coordinates to use. On Fri, Feb 8, 2013 at 7:51 AM, Antonio muñoz alonso antoniovalenciasp...@hotmail.com wrote: When I change the version from 1.5 wicket gives me an error. You can use

Re: [Building Sakai] Charts Wicket Sakai

2013-02-07 Thread Steve Swinsburg
Change the poms to list the correct dependencies for what you need, then adjust any compilation issues since things have changed between wicket 1.4 and 1.5 or 6. By patch I mean send the differences in the code produced by the archetype and what you change so I can update the archetype.

Re: Charts Wicket Sakai

2013-02-05 Thread Steve Swinsburg
Hi, I wrote the Sakai Wicket Maven Archetype: https://confluence.sakaiproject.org/display/BOOT/Sakai+Wicket+Maven+Archetype Yes, you can upgrade the version of Wicket, but you'll need to adjust code as per the 1.5 or 1.6 upgrade guide for Wicket:

Re: wicketstuff poms still depend on wicketstuff repo which no longer exists

2012-11-07 Thread Steve Swinsburg
at some stage we can upgrade :) cheers, Steve On 01/11/2012, at 7:20 PM, Martin Grigorov mgrigo...@apache.org wrote: Hi, You better build the projects locally. On Thu, Nov 1, 2012 at 1:31 AM, Steve Swinsburg steve.swinsb...@gmail.com wrote: Hi, Some artifacts in wicketstuff still

wicketstuff poms still depend on wicketstuff repo which no longer exists

2012-10-31 Thread Steve Swinsburg
Hi, Some artifacts in wicketstuff still mention the old wicketstuff repo, i.e.: http://repo1.maven.org/maven2/org/wicketstuff/tinymce-parent/1.4.21/tinymce-parent-1.4.21.pom And on Maven2 that is causing the build to fail: Downloading:

Re: form with arbitrary number of fields

2012-10-31 Thread Steve Swinsburg
://wicket.apache.org/apidocs/1.5/org/apache/wicket/markup/repeater/RepeatingView.html On Fri, Sep 28, 2012 at 1:35 PM, vineet semwal vineetsemwa...@gmail.com wrote: use a repeater which and yo can attach your formcomponents to items On Fri, Sep 28, 2012 at 8:18 AM, Steve Swinsburg steve.swinsb

form with arbitrary number of fields

2012-09-27 Thread Steve Swinsburg
Hi all, I have a form that allows users to add an arbitrary number of fields, for example keywords for an item where there could be multiple. Up until now I have been processing my form where the fields are known and map directly to a model. However I'm unsure as to how this mapping works, for

Re: How to build a hudson/jenkins like live log viewer?

2011-11-20 Thread Steve Swinsburg
I've done something similar to this using the Tailer class from commons-io. cheers, Steve On 21/11/2011, at 12:59 PM, James wrote: Dear wicket community, In a project that I'm working on, I need to build a live log viewer or dynamic log viewer or refreshable log viewer. Much like how

Re: How to build a hudson/jenkins like live log viewer?

2011-11-20 Thread Steve Swinsburg
the most beautiful, so setRenderBodyOnly(true) might make it nicer. -Clint On Sun, Nov 20, 2011 at 9:27 PM, James james.eliye...@gmail.com wrote: Thanks Steve. I'll look into the commons-io Tailer. But any idea on how to use this with wicket? On Mon, Nov 21, 2011 at 11:10 AM, Steve

Re: What is the difference between Model , PropertyModel,CompoundPropertyModel?

2011-11-10 Thread Steve Swinsburg
Hi, There is some documentation about models on the wiki: https://cwiki.apache.org/WICKET/working-with-wicket-models.html cheers, Steve On 11/11/2011, at 3:33 PM, raju.ch wrote: Could someone please explain me the difference between Model , PropertyModel,CompoundPropertyModel? -- View

Re: Wicket - TinyMCE/FckEditor

2011-08-02 Thread Steve Swinsburg
I created a Wicket FCKEditor component some time back. It takes care of rendering the javascripts and all the rest for you and you just instantiate it like: add(new FCKTextArea(id)); If you would like this, drop me a line and I'll dig out the code. cheers. Steve On 02/08/2011, at 3:53 PM,

wicketstuff site down

2011-07-06 Thread Steve Swinsburg
Hi all, The wicketstuff site is down http://wicketstuff.org/wicket/ Safari can’t open the page “http://wicketstuff.org/wicket/” because Safari can’t connect to the server “wicketstuff.org”.

Re: What is the status of wicketstuff dojo?

2011-07-01 Thread Steve Swinsburg
it. Attila 2011/7/1 Steve Swinsburg steve.swinsb...@gmail.com I found the old source. There is a LOT of stuff missing in the 1.4 release compared to the 1.3 release. 1.3: https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/attic/wicketstuff-dojo/src/main/java/org/wicketstuff/dojo

Re: What is the status of wicketstuff dojo?

2011-07-01 Thread Steve Swinsburg
PM, Steve Swinsburg steve.swinsb...@gmail.com wrote: Ok, but even in that 1.4 branch it is missing dozens of classes that were present in the 1.3 version. They are also missing in the release artifacts. Can someone please migrate them from 1.3 to 1.4? Thanks, Steve On 01/07/2011

Re: What is the status of wicketstuff dojo?

2011-07-01 Thread Steve Swinsburg
things with dojo. And that's why the project is disabled. I'm sorry, *Bruno Borges* www.brunoborges.com.br +55 21 76727099 On Fri, Jul 1, 2011 at 9:59 AM, Steve Swinsburg steve.swinsb...@gmail.comwrote: I don't use the library, I'm just converting a tool from 1.3 to 1.4

What is the status of wicketstuff dojo?

2011-06-30 Thread Steve Swinsburg
Hi, Does anyone know what the status of wicketstuff dojo is? I have an application that was written in Wicket 1.3 which I have converted to 1.4, likewise for dojo. However there are classes missing from the 1.4 release that were being used in the 1.3 release, specifically:

Re: What is the status of wicketstuff dojo?

2011-06-30 Thread Steve Swinsburg
/jdk-1.5-parent/dojo-parent/dojo-api/src/main/java/org/wicketstuff/dojo11/markup/html Is someone able to migrate that and push a release? cheers, Steve On 01/07/2011, at 11:51 AM, Steve Swinsburg wrote: Hi, Does anyone know what the status of wicketstuff dojo is? I have an application

Re: Issue with internationalising the MultiFileUploadField component

2011-05-18 Thread Steve Swinsburg
Thanks, I can reproduce it in a quickstart using 1.4.17 as well.Attached tohttps://issues.apache.org/jira/browse/WICKET-3727Reproduced the snippets here:---HomePage.java:add(new Label("message", new

Issue with internationalising the MultiFileUploadField component

2011-05-17 Thread Steve Swinsburg
Hi, We are having an issue setting some properties to override the default text for the MultiFileUploadField component. As per the docs, we have set the following in our local properties file: org.apache.wicket.mfu.caption.unlimited=Ficheros: org.apache.wicket.mfu.caption.limited=Ficheros

Re: Issue with internationalising the MultiFileUploadField component

2011-05-17 Thread Steve Swinsburg
at 9:31 AM, Steve Swinsburg steve.swinsb...@gmail.comwrote: Hi, We are having an issue setting some properties to override the default text for the MultiFileUploadField component. As per the docs, we have set the following in our local properties file

Re: Issue with internationalising the MultiFileUploadField component

2011-05-17 Thread Steve Swinsburg
. On Tue, May 17, 2011 at 1:37 PM, Steve Swinsburg steve.swinsb...@gmail.comwrote: Yeah, that's where I have them and its not working. Its the same spot we have the ones that do work too. We do use a custom resource loader but I don't understand why it would allow us to override some

Re: 1.5.x javadoc

2011-01-27 Thread Steve Swinsburg
Wicket By Example has a section for the Javadocs, but it needs a refresh. http://wicketbyexample.com/api/ cheers, Steve On 28/01/2011, at 10:36 AM, Todd Wolff wrote: Hi, Is there a URL where I can pull up javadoc for latest 1.5 RC without having to checkout source and generate myself?

Re: ModalWindow update size

2010-11-27 Thread Steve Swinsburg
I just noticed that autosizing ModalWindows has made it into Wicket 1.5, heres the JIRA: https://issues.apache.org/jira/secure/attachment/12456436/fix-WICKET-1.4.x.patch Take a look at the patches, there is a method that sets the size of the window, might be something to borrow. cheers, Steve

objectautocomplete with first item selected

2010-11-07 Thread Steve Swinsburg
Hi all, Using the ObjectAutocompleteTextField from Wicketstuff on a form. When the user starts typing they are given a list of choices, and I would like the first item in that list to always be selected by default. They can obviously choose a different one but the issue is that presently, if

where is the wicketstuff JIRA?

2010-11-07 Thread Steve Swinsburg
Hi all, I noticed that the wicketstuff JIRA has disappeared. It was taken down in April but has it come back, possibly in a new location? That XSS issue in JIRA was fixed quite some time ago. thanks, Steve - To unsubscribe,

Re: objectautocomplete with first item selected

2010-11-07 Thread Steve Swinsburg
Ok this code allows a preselect: builder.preselect(); But tabbing away clears the field. I would like the selected option to be filled into the text field. thanks, Steve On 08/11/2010, at 10:14 AM, Steve Swinsburg wrote: Hi all, Using the ObjectAutocompleteTextField from Wicketstuff

Re: wicketstuff repo down again

2010-09-09 Thread Steve Swinsburg
Hi Mike, Excellent, thanks for the info. I was still on older versions of those artifacts (1.4.1). Will see about upgrading. regards, Steve On 08/09/2010, at 11:44 AM, Michael O'Cleirigh wrote: Hi Steve, Wicketstuff-core artifacts have been released through the oss.sonatype.org

wicketstuff repo down again

2010-09-07 Thread Steve Swinsburg
Hi all, The wicketstuff repo is down again. Is there any chance the tagged artifacts from the wicketstuff repo can be synced to a more reliable Maven repo (central even)? I have the ones I need in my own remote repo but this doesn't work for others that build my project. Thanks, Steve

Re: Remove support for Portlets in Wicket 1.5

2010-08-12 Thread Steve Swinsburg
-1 to removing it As soon as uPortal supports JSR-286 (and it does, just not in a release yet) I'll be using Wicket for my portlet development and have been training my team in readiness. At a minimum move it to wicketstuff. thanks, Steve On 12/08/2010, at 5:19 AM, Rodolfo Hansen wrote: I

StringHeaderContributor from a panel added by AJAX

2010-07-02 Thread Steve Swinsburg
Hi, I have a panel that I add via AJAX to my page. On this panel I have a StringHeaderContributor block that I want to add. It's not doing anything. Does this not work when added via AJAX? The same code works fine when on a normal page. String altText = some value from an i18n properties

Re: StringHeaderContributor from a panel added by AJAX

2010-07-02 Thread Steve Swinsburg
tried implementing the headercontributor Interface in your ajax component instead of using the headercontributor directly? regards Nino 2010/7/2 Steve Swinsburg steve.swinsb...@gmail.com Hi, I have a panel that I add via AJAX to my page. On this panel I have a StringHeaderContributor

Re: AjaxEditableLabel unicode issue

2010-05-11 Thread Steve Swinsburg
Hi, Is this after the value has been submitted and perhaps stored in a database, then retrieved and displayed again? If so, is your database setup as UTF-8? Also, if using Tomcat, is the connector setup as UTF-8 also? For Wicket, try setting this *:

Re: close a modal window and setResponsePage

2010-04-28 Thread Steve Swinsburg
Hi, close the modal, then do the setResponsePage in the window closed callback that you can provide. cheers, Steve On 29/04/2010, at 7:53 AM, Fernando Wermus wrote: Hi all, I have a modal window. There are some image avatars in it, and the user could click on them. In case the user

Re: Back button

2010-04-26 Thread Steve Swinsburg
Looks like an issue with Firefox only though, as per the JIRA [1]. If you follow the recommendation in the JIRA, does that fix the problem? cheers, Steve [1] https://issues.apache.org/jira/browse/WICKET-923 On 26/04/2010, at 5:56 PM, Pointbreak wrote: That browser cache issue is what I

Re: Form submit with tinymce

2010-04-26 Thread Steve Swinsburg
Whats the raw content behind the text containing the emoticon when you submit? Is the emoticon represented as just a :) for example? If so you'll need to parse the output and render as the images. A graphical editor is just a fancy wrapper around text. cheers, Steve On 26/04/2010, at 10:03

Re: better way setting up ID for a Wicket component?

2010-03-30 Thread Steve Swinsburg
If you just want to do this so you can style your markup, use the class attribute in your markup and convert your CSS #id's to .classes, if that's possible. cheers, Steve On 31/03/2010, at 12:03 PM, David Chang wrote: Boris, thanks for sharing your thoughts: IDs are needed for e.g. AJAX

Re: PROBLEM WITH PAY PAL INTEGRATION

2010-03-28 Thread Steve Swinsburg
Why not process your form normally via Wicket, then make a POST request to PayPal? cheers, Steve On 29/03/2010, at 4:49 PM, victorTrapiello wrote: Yes I use POST, I´m not using any wicket form, I just set to my value a Tesxt fiels and then I add the wicket in this form, but as I said

Re: Image that loads from a database, and use a default when no data exists

2010-02-15 Thread Steve Swinsburg
Hi Esteban, Make a component which takes a parameter and performs the appropriate action for its logic, then displays the image. I do this is an app of mine, where the image comes from one of several sources. cheers, Steve On 16/02/2010, at 6:30 AM, Esteban Masoero wrote: Hi there: I

wicket app over https but renders some images as http

2010-02-10 Thread Steve Swinsburg
Hi all, I have a Wicket application that is running over HTTPS but is rendering some images (like background images from css) over HTTP only. This causes the 'This page contains unsecure items' type warning and inspecting the Page Info from Firefox shows they are indeed being served over HTTP

Re: wicket app over https but renders some images as http

2010-02-10 Thread Steve Swinsburg
file https? On Thu, Feb 11, 2010 at 12:35 PM, Steve Swinsburg steve.swinsb...@gmail.com wrote: Hi all, I have a Wicket application that is running over HTTPS but is rendering some images (like background images from css) over HTTP only. This causes the 'This page contains unsecure items

Re: wicket app over https but renders some images as http

2010-02-10 Thread Steve Swinsburg
Note that this also happens for resources that Wicket serves, eg: resources/org.apache.wicket.ajax.AbstractDefaultBehaviour/indicator.gif and ContextImages. Can I detect HTTPS and force Wicket to serve content over HTTPS? thanks, Steve On 11/02/2010, at 11:14 AM, Steve Swinsburg wrote

Re: wicket app over https but renders some images as http

2010-02-10 Thread Steve Swinsburg
? -- Jeremy Thomerson http://www.wickettraining.com On Wed, Feb 10, 2010 at 6:46 PM, Steve Swinsburg steve.swinsb...@gmail.comwrote: Note that this also happens for resources that Wicket serves, eg: resources/org.apache.wicket.ajax.AbstractDefaultBehaviour/indicator.gif

Re: wicket app over https but renders some images as http

2010-02-10 Thread Steve Swinsburg
What I meant to say was that the ContextImage and CSS looks fine, however the actual URLs it renders are all HTTP, not HTTPS when they should be. The first resource link is clearly broken. cheers, Steve On 11/02/2010, at 12:13 PM, Steve Swinsburg wrote: Hi Jeremy, For resources its

Re: wicket app over https but renders some images as http

2010-02-10 Thread Steve Swinsburg
in a portal framework). On 11/02/2010, at 1:00 PM, Andrew Lombardi wrote: and the URL for your page in the Location bar *is* https? On Feb 10, 2010, at 5:55 PM, Steve Swinsburg wrote: What I meant to say was that the ContextImage and CSS looks fine, however the actual URLs it renders are all

Re: wicket app over https but renders some images as http

2010-02-10 Thread Steve Swinsburg
Edit: ... thats how I can confirm it was broken, because when I change it to http it works. On 11/02/2010, at 1:26 PM, Steve Swinsburg wrote: Yes. And thats how I can confirm it breaks when I change the address to just http. Both http and https work on this particular site which makes

Re: wicket app over https but renders some images as http

2010-02-10 Thread Steve Swinsburg
if Wicket thinks its on HTTP or HTTPS. Could be the iframe? thanks, Steve On 11/02/2010, at 2:48 PM, Igor Vaynberg wrote: your paste does not contain any absolute urls, only relative ones... -igor On Wed, Feb 10, 2010 at 7:15 PM, Steve Swinsburg steve.swinsb...@gmail.com wrote: Yes, the app

Re: wicket app over https but renders some images as http

2010-02-10 Thread Steve Swinsburg
. do this (in firefox): pull up the app in https, right click in the iframe, click this frame, click show only this frame. is the url that appears with the iframe content https? -- Jeremy Thomerson http://www.wickettraining.com On Wed, Feb 10, 2010 at 9:57 PM, Steve Swinsburg

Re: wicket app over https but renders some images as http

2010-02-10 Thread Steve Swinsburg
On Wed, Feb 10, 2010 at 10:49 PM, Steve Swinsburg steve.swinsb...@gmail.com wrote: It's done by the portal, but it renders an iframe of source: src= https://myserver.edu.au/portal/tool/138a11eb-bcee-4b13-b6c5-d7bf206980ea Which is the direct link to the tool instance. So it appears

Re: wicket app over https but renders some images as http

2010-02-10 Thread Steve Swinsburg
at 8:49 PM, Steve Swinsburg steve.swinsb...@gmail.com wrote: It's done by the portal, but it renders an iframe of source: src= https://myserver.edu.au/portal/tool/138a11eb-bcee-4b13-b6c5-d7bf206980ea Which is the direct link to the tool instance. So it appears to be HTTPS

Re: wicket app over https but renders some images as http

2010-02-10 Thread Steve Swinsburg
the replies, I think we've all learned something today ;) cheers, Steve On 11/02/2010, at 6:20 PM, Steve Swinsburg wrote: The interesting thing is that I am unable to reproduce this locally, the iframe is served over HTTPS in my local instance but broken in production. So I'm starting

Re: Wicket best practice

2010-02-07 Thread Steve Swinsburg
Another example of an app builder is the Sakai App Builder, which is an Eclipse plugin for quickly creating an example tool/app integrated into the Sakai Framework. http://confluence.sakaiproject.org/display/BOOT/Sakai+App+Builder It allows you to select from a number of view technologies

Re: setResponsePage in the beggining of a constructor does not work

2010-02-04 Thread Steve Swinsburg
They don't need to be bookmarkable. You can call specific constructors of a class if you want: throw new RestartResponseException(new MyClass(something)); cheers, Steve On 05/02/2010, at 10:59 AM, Chris Colman wrote: Could I use RestartResponseException to redirect to a URL instead of a

Re: Save a form's markup

2010-02-02 Thread Steve Swinsburg
Why don't you just have two pages, one that is the HTML form and submits the data, one that gets the data and displays it back again depending on that data. Saving the markup is a bad IMO, if the original form needs to change, even slightly, you are still using the old markup on the other

Re: Image auto-resize in browser

2010-01-30 Thread Steve Swinsburg
The autoresize can be turned off in IE so a longer term solution might be to add some onHover/onClick handlers to do what you require, rather than making the resize behaviour IE specific. http://www.microsoft.com/windows/ie/ie6/using/howto/customizing/autoresize.mspx cheers, Steve On

Re: Nasty problem with component not found and images [solved]

2010-01-27 Thread Steve Swinsburg
Thomas, Thanks for this. I may also have run into the multiple page load you say this might cause. Can you confirm if this is the case for any img src=# / and goes away when its just img / ? cheers, Steve On 28/01/2010, at 2:54 AM, Riyad Kalla wrote: Thomas, as someone who frequently likes

Re: How to change content in ModalWindow - minor success!

2010-01-26 Thread Steve Swinsburg
You could just have the ModalWindow's contents be set in the onClick of the button that shows the window. Then you know if the checkbox has been checked or not and you can add in the appropriate panel, then just show the window. In my app I have any number of modal windows that might show

Re: How to change content in ModalWindow - minor success!

2010-01-26 Thread Steve Swinsburg
Ah I thought the 'create new account' check box was on the parent page and checked before the Window was opened. But its in the window itself. Right so you want to replace a panel in the page. In that case: I do this as well as I have a form in my ModalWindow that allows a user to confirm an

Re: add javascript after AjaxLazyLoadPanel finishes rendering - (was: onAfterRender called twice in AjaxLazyLoadPanel)

2010-01-21 Thread Steve Swinsburg
Steve Swinsburg-3 wrote: Hi Lionel, Thanks and yes, thats what I am trying to do, attach some javascript after something has rendered. So I attached an AjaxEventBehaviour to it and now have this: add(new AjaxLazyLoadPanel(myPanel) { @Override public Component

Re: add javascript after AjaxLazyLoadPanel finishes rendering - (was: onAfterRender called twice in AjaxLazyLoadPanel)

2010-01-21 Thread Steve Swinsburg
Thanks Sven, that works nicely. Now if only the iframe this panel loads in was in was being resized appropriately after the panel loads its contents cheers, Steve On 21/01/2010, at 10:55 PM, Steve Swinsburg wrote: If it was my own Panel class then I would add the extra markup. But I am

onAfterRender called twice in AjaxLazyLoadPanel

2010-01-20 Thread Steve Swinsburg
I have an AjaxLazyLoadPanel and want some javascript to fire after its loaded it's contents: I assumed I could override onAfterRender and add my javascript like so: add(new AjaxLazyLoadPanel(myPanel) { @Override public Component getLazyLoadComponent(String markupId) {

Re: onAfterRender called twice in AjaxLazyLoadPanel

2010-01-20 Thread Steve Swinsburg
after every component render... perhaps you should keep a boolean flag that marks if you rendered the js yet or not. alternatively you can add a behavior to the panel with istemporary() { return true; } -igor On Wed, Jan 20, 2010 at 7:24 PM, Steve Swinsburg steve.swinsb...@gmail.com

Re: Image name changing in dev server

2010-01-19 Thread Steve Swinsburg
Can you use a ContextImage? On 20/01/2010, at 6:07 AM, vg...@osc.state.ny.us wrote: We do not need any naming rules. Thats why I am confused. My code is this inside a reating view. Image image = new Image(circle+i, /images/circlegray.JPG) In local enviornment it works fine but in

Re: urlFor works, but combined with mountBookmarkablePage it doesn't

2010-01-16 Thread Steve Swinsburg
Hi, Thanks for the tips. Unfortunately, the container I am deploying into is stripping the request parameters. I've had to code my own bookmarkable page link method for this container. cheers, Steve On 16/01/2010, at 12:36 AM, Martin Grigorov wrote: On Fri, 2010-01-15 at 22:29 +1100, Steve

urlFor works, but combined with mountBookmarkablePage it doesn't

2010-01-15 Thread Steve Swinsburg
Hi all, I have the following code which generates a URL to a page with some parameters: String url = urlFor(MyMessageView.class, new PageParameters(thread= + ad9697d2-8328-43b4-be28-ee677a88bc9a)).toString(); This generates a URL like so:

Re: Wicket Wizards and Hibernate

2010-01-14 Thread Steve Swinsburg
Hi, Once you have the object built up, you could reattach it to the session with saveOrUpdate() which will figure out if it needs to insert or update. This assumes you are using the Spring Hibernate wrapper templates. cheers, Steve On 14/01/2010, at 9:47 PM, Rodolfo Cartas wrote: Hi! I'm

clearing a TextField

2010-01-13 Thread Steve Swinsburg
Hello all, I have a list of items and an ajax form at the bottom so you can add items to the list, containing a single textfield and a submit button. On successful submit, the item is saved and the list is redrawn. Great! I want to clear the textfield though so new items can be added, since the

Re: clearing a TextField

2010-01-13 Thread Steve Swinsburg
unless it's really necessary On Thu, Jan 14, 2010 at 6:55 AM, Steve Swinsburg steve.swinsb...@gmail.comwrote: Hello all, I have a list of items and an ajax form at the bottom so you can add items to the list, containing a single textfield and a submit button. On successful submit

Re: JVM crash, Wicket class mentioned

2010-01-12 Thread Steve Swinsburg
remember having similar problems before and they were fixed by upgarding jvm (1.6.0_17 - 1.6.0_18 for example). ** Martin 2010/1/11 Steve Swinsburg steve.swinsb...@gmail.com: Hi Martin, I'll pass that on, but the JRE version is 1.6.0_17-b04 unless you mean the 14.3-b01 VM version

Re: making tinyMce TextArea readonly

2010-01-12 Thread Steve Swinsburg
Here's a class I created which extends the default TinyMCESettings class. I use this as my configuration and can customise it to my hearts content, adding and removing buttons: /** * A configuration class for the TinyMCE Wicket component, used by textareas. * If more are required for

JVM crash, Wicket class mentioned

2010-01-11 Thread Steve Swinsburg
Hi, This came up on another list I am part of, and being a member of this list, thought I'd ask here to see if this is a known fixed issue. This is with an app written using Wicket 1.3.0. Essentially, the JVM crashed with this error under Java 1.6, the same app runs fine under Java 1.5: # # A

Re: JVM crash, Wicket class mentioned

2010-01-11 Thread Steve Swinsburg
/01/2010, at 11:54 PM, Martin Makundi wrote: Hi! Did you try newer jvm build? ** Martin 2010/1/11 Steve Swinsburg steve.swinsb...@gmail.com: Hi, This came up on another list I am part of, and being a member of this list, thought I'd ask here to see if this is a known fixed issue

Re: Wicket session not threadsafe?

2010-01-08 Thread Steve Swinsburg
The first thing to do would be to reproduce the issue in a dev environment, then try upgrading that environment to 1.3.7 and see if that solves the problem. There shouldn't be any API breaks in the 1.3 series so this should be a simple POM dependency version update. It might also be your

Re: Wicket session not threadsafe?

2010-01-08 Thread Steve Swinsburg
: unfortunately it is extremely difficult to reproduce in dev. Have tried it a lot. but the issue seems to happen vaer rare in a multi-user env. Thing is though ti happens rarely... it is a client facing issue and data integrity as promised is challenged. Steve Swinsburg-3 wrote: The first

Re: Help with Wicket Adoption Numbers

2010-01-07 Thread Steve Swinsburg
On the wiki there are some pages to help your cause: http://cwiki.apache.org/WICKET/websites-based-on-wicket.html http://cwiki.apache.org/WICKET/products-based-on-wicket.html as well as blogs talking about Wicket, and lots more useful PR info: http://cwiki.apache.org/WICKET/index.html All the

Re: RadioGroup with radio objects with same values

2010-01-06 Thread Steve Swinsburg
Hi, If its the first item in the list, set it to be selected one. A simple boolean could work here. cheers, Steve On 07/01/2010, at 2:04 AM, Kogel, Jonck-van-der wrote: Hi, I have a radiogroup that is built up dynamically, so I don't know ahead of time what the choices are going to be.

Re: Detecting an external change to the ModelObject of a Form

2010-01-05 Thread Steve Swinsburg
Good stuff, can you put this up on in Confluence with some code samples? http://cwiki.apache.org/WICKET/reference-library.html cheers, Steve On 05/01/2010, at 10:31 PM, Stijn Maller wrote: Oooops, in case some of you are baffled that this code would work, let me put your mind at ease, it

Re: Hello World Portlet

2010-01-03 Thread Steve Swinsburg
Hi Mansour, Thats just the Tomcat log, you should have a portal log that has the actual exception or error that occurred? cheers, Steve On 04/01/2010, at 3:32 PM, Mansour Al Akeel wrote: Sorry, Forgot to include the error message: Found web.xml Found WEB-INF/portlet.xml Attempting to

Re: Hello World Portlet

2010-01-03 Thread Steve Swinsburg
the issue, or something else when I was trying to run it as a web app. It's working anyway. Would it be a good idea to provide a maven archetype for wicket portlets ? On Mon, Jan 4, 2010 at 1:42 AM, Steve Swinsburg steve.swinsb...@gmail.com wrote: Hi Mansour, Thats just the Tomcat log, you

Re: Hello World Portlet

2010-01-03 Thread Steve Swinsburg
they sould be. I am still new to wicket, but enjoying it already :) On Mon Jan 04,2010 04:52 pm, Steve Swinsburg wrote: Absolutely that would be great. BTW I assume this is Jetspeed 2 since its JSR286? On 04/01/2010, at 4:48 PM, Mansour Al Akeel wrote: I checked jetspeed.log

Re: SV: wicketstuff portlets - where did it go?

2009-12-31 Thread Steve Swinsburg
Right I thought as much once I found the source. Unfortunately it doesn't provide the actual JSR168 implementations from Apache Portals Bridges Common which I was hoping for. Cheers ~ steve (sent from my ipod) On 31/12/2009, at 7:48 PM, Wilhelmsen Tor Iver toriv...@arrive.no wrote: Ah

wicketstuff portlets - where did it go?

2009-12-30 Thread Steve Swinsburg
Hi all, The link from this page: http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-portlets references this spot in SVN: http://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/branches/wicket-13/wicket-portlets which doesn't exist. Anyone know where it went or have a copy of it?

Re: wicketstuff portlets - where did it go?

2009-12-30 Thread Steve Swinsburg
Ah looks like I may have found it: http://wicket-stuff.svn.sourceforge.net/viewvc/wicket-stuff/attic/wicket-portlets/ On 31/12/2009, at 5:18 PM, Steve Swinsburg wrote: Hi all, The link from this page: http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-portlets references

Re: Location of css and js files

2009-12-21 Thread Steve Swinsburg
None of these solutions are going to do what the OP really needs since they all assume an app server is serving the pages. Presumably he wants the designer to be able to run up the static HTML in the browser, without running in a web application. You have a few options: 1. link the files as

Re: ObjectAutoCompleteField and specifying the fields from the object to use

2009-12-21 Thread Steve Swinsburg
On further investigation, the values aren't being separated after all. What is added to the textfield is what is submitted in the form. Is it possible to submit a different value than just the display text? thanks, Steve On 21/12/2009, at 1:54 PM, Steve Swinsburg wrote: Nevermind. I ended

opening modelwindow freezes IE8

2009-12-21 Thread Steve Swinsburg
Hi everyone, I've had a report from a user of a Wicket app, that when the AjaxLink to open a ModalWindow is clicked, the ModalWindow opens and the browser freezes. This is on IE8 and in Windows 7 or XP. However, running it in Compatibility Mode it seemed to work. Works ok in other browsers.

Re: ObjectAutoCompleteField and specifying the fields from the object to use

2009-12-21 Thread Steve Swinsburg
not sure, but you could try to set idProperty in ObjectAutoCompleteBuilder On Mon, Dec 21, 2009 at 10:54 AM, Steve Swinsburg steve.swinsb...@gmail.com wrote: On further investigation, the values aren't being separated after all. What is added to the textfield is what is submitted

Re: ObjectAutoCompleteField and specifying the fields from the object to use

2009-12-21 Thread Steve Swinsburg
Actually I have just found in the javadocs the AbstractObjectAutoCompleteRenderer which does the separation. I'll give that a go. cheers, Steve On 22/12/2009, at 10:54 AM, Steve Swinsburg wrote: I decided against using the ObjectAutoCompleteTextField because it was too restrictive

Re: ObjectAutoCompleteField and specifying the fields from the object to use

2009-12-21 Thread Steve Swinsburg
) { return p.getDisplayName(); } }; and then: builder.autoCompleteRenderer(renderer); Does what I want. Thanks for the tip! cheers, Steve On 22/12/2009, at 10:57 AM, Steve Swinsburg wrote: Actually I have just found in the javadocs

ObjectAutoCompleteField and specifying the fields from the object to use

2009-12-20 Thread Steve Swinsburg
Hi, I am using ObjectAutoCompleteField from WicketStuff and it looks like what I need for my scenario: I have an object list with a bunch of fields and when the user searches, it needs to match on a certain field and display the list of matches. The examples do this with a Car object with an

  1   2   3   >