Re: Wicket training this weekend - voucher for subscribers to this list.

2010-05-07 Thread James Perry
Hey Cemal, Do you know of any Wicket developers that are looking for work? I am leaving my current employer, CPG, to work for an investment bank in a front office. CPG are struggling to find any Wicket developers and I thought that you may know a few good Wicket people. Hope all is well on your

Wicket Developer Role in Portsmouth, Hampshire, England

2010-04-23 Thread James Perry
CPG Logistics, a supply chain to the pharmaceutical industry, are seeking a strong Wicket developer on a permanent basis. The work is predominately greenfield projects and both enhancements and maintenance to existing projects. The developer they seek must have strong Wicket skills to produce a

Re: Type Inference for Wicket 1.4

2010-04-15 Thread James Perry
igor.vaynb...@gmail.com wrote: you are going to have one factory method for each constructor, its going to be a pita to maintain. not something we will want in core. -igor On Wed, Apr 14, 2010 at 8:51 AM, James Perry james.austin.pe...@gmail.com wrote: I am looking to migrate from Wicket 1.3

Type Inference for Wicket 1.4

2010-04-14 Thread James Perry
I am looking to migrate from Wicket 1.3 and Wicket 1.4 and I really like the type-safe goodies but I do not like its verbosity. I was thinking of writing a patch that provides factories to improve the brevity by type inference of the generic invariant. This is an example of my idea:

Re: PROBLEM WITH PAY PAL INTEGRATION

2010-03-28 Thread James Perry
It not a wicket issue. You have two input elements with the same name: 1.input type=text name=item_name 2.input type=text name=item_name wicket:id=itemName Remove the line 1 and voila! Best, James. On 28 March 2010 22:06, victorTrapiello vic...@trapiello.net wrote: Hello guys! I´m trying to

[wicket] Load Testing Wicket Applications

2010-01-28 Thread James Perry
Today I looked for a programmatic way to load test a Wicket application and there doesn't appear to be any tools at present to do so. I was thinking of writing one that load tests Wicket applications in a programmatic manner, which IMHO will be cleaner than using regular expressions with JMeter. I

Re: creating item after form is submitted via ajax

2009-12-30 Thread James Perry
you have not added panel2 and you would need to it to panel1. I.e. panel1.add(panel2) why don't you add it on page construction and then change its visibility on form submit? best, james. 2009/12/30 wic...@geofflancaster.com wic...@geofflancaster.com: Is there a way to create an item only

Re: Very Basic Hello World - Applet

2009-12-09 Thread James Perry
Oh, I went to Southampton Uni'! :-) It depends how it is being deployed but the most simplest way is to put your the applet in your 'webapp' folder. Best, James. 2009/12/9 local_shamil shaena...@gmail.com: Ok... this is the code i used to create my Maven Wicket project mvn

Re: How do you achieve persistency

2009-10-07 Thread James Perry
Interesting, but how would you provide transactional isolation so you do not experience phantom or dirty reads? 2009/10/6 Igor Vaynberg igor.vaynb...@gmail.com i think all the suggestions you have gotten until now are overcomplicated and have a high learning curve. i think the easiest and

Re: server push

2009-10-06 Thread James Perry
Depending when you have to roll this out, have you considered HTML 5's web sockets? It will give you server push and more. On Mon, Oct 5, 2009 at 8:08 AM, Md. Jahid Shohel ja...@outscore.se wrote: Hi, We need server push for one of our web application. Is there something that you can

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-06 Thread James Perry
Nice one Cemal! I will have to use leg up to get a leg over setting up Wicket projects ;-) Best, James. On Tue, Oct 6, 2009 at 2:47 PM, jWeekend jweekend_for...@cabouge.comwrote: We have launched jWeekend's Leg Up page [1]. You can generate a command and run it at your console to create a

Re: How do you achieve persistency

2009-10-06 Thread James Perry
Assembler! On Tue, Oct 6, 2009 at 10:34 AM, Peter Arnulf Lustig u...@yahoo.dewrote: What's the fast and easy way? I am asking because of a lot of trouble with hibernate. - To unsubscribe, e-mail:

Re: How do you achieve persistency

2009-10-06 Thread James Perry
On a more serious note then perhaps just using raw JDBC if you are unsure of ORM concepts. On Tue, Oct 6, 2009 at 4:03 PM, James Perry james.austin.pe...@gmail.comwrote: Assembler! On Tue, Oct 6, 2009 at 10:34 AM, Peter Arnulf Lustig u...@yahoo.dewrote: What's the fast and easy way

Re: How do you achieve persistency

2009-10-06 Thread James Perry
There are many ways to skin a cat. Personally I like to use machine code to give it a slow, painful death. Best, James. On Tue, Oct 6, 2009 at 4:42 PM, James Carman jcar...@carmanconsulting.comwrote: On Tue, Oct 6, 2009 at 11:05 AM, James Perry james.austin.pe...@gmail.com wrote: On a more

Re: Wicket + Hibernate without Spring for lazy loading

2009-10-05 Thread James Perry
Well you can use your business logic objects inside Wicket but you have to ensure that you you hold one, and only one, instance for each business object (assuming these objects are stateless) and that you do not accidentally serialize these objects and their dependencies within your Wicket pages.

[OT] Test Driven Scaffolding

2009-09-02 Thread James Perry
I thought fellow Wicket users would be interested in my article: http://www.theserverside.com/news/thread.tss?thread_id=57443 Cheers, James.

Re: [OT] Book/pointers on caching

2009-03-30 Thread James Perry
Caching wicket components is a really bad idea as you will run into concurrency issues. IMHO the caching strategy depends on the how immutable the data is, its transaction isolation (read-only, read-write, etc) and what performance problem you are encountering (Cartesian product, N+1 select, etc).

Re: [OT] Framework for managing task

2009-02-23 Thread James Perry
IMHO, you might want to look at the Spring framework as it provides a nice API on top of the asynchronous JEE features you need. Best, James. On Sun, Feb 22, 2009 at 10:26 PM, Kaspar Fischer fisch...@inf.ethz.chwrote: My Wicket app needs to run tasks in the background and I am looking for a

Re: @SpringBean vs getApplication().getDao()

2009-02-17 Thread James Perry
As far as I am aware, the main internal differential is that annotations provides a quick, safe way to access your spring beans and ensure that the whole container does not get serialized via a proxy. However the magic comes at a cost that it will serial the bean id (as a string) - which can be

[OT] PHP based Open Source Content Management Systems

2009-01-07 Thread James Perry
Does anyone have a recommendation for a PHP Open Source Content Management System? I ask as I volunteered to setup my local running club's web site and I'm constrained to PHP due to their hosting plan. I would be grateful for a recommendation if you have experience with them. Best, JP.

Re: Participating in Wicket

2008-12-18 Thread James Perry
I'd recommend examining the WicketFilter as your starting point. This is where wicket requests get intercepted and processed accordingly. Best, James. On Thu, Dec 18, 2008 at 10:07 AM, HHB hubaghd...@yahoo.ca wrote: Thank you all guys but maybe I'm expressing my ideas the wrong way. I don't

Re: When to pass object instance /class type?

2008-12-17 Thread James Perry
That is incorrect. You can pass data to your CoolPage regardless of the setResponsePage() method signature. Just try implementing both and observe the URL once you invoke both its signatures. One will be bookmarkable and the other will not be but I'll leave it to you which signature is

Re: Wicket + spring + jpa/ hibernate = lazy load exception

2008-11-03 Thread James Perry
Firstly, your code is rather strange. That getFoos() method is not part of the List Interface API. Two possible solutions: The filter chain maybe incorrect in your web.xml. Your OpenEntityManagerInViewFilter might not be preceding the Wicket filter. Check that it does precede it. If you have a

Re: Add a * (star) to a mandatory field

2008-09-17 Thread James Perry
it is interesting that the * is output before, are you sure its not your css, can you check the generated source? -igor On Tue, Sep 16, 2008 at 6:23 AM, James Perry [EMAIL PROTECTED] wrote: I too recently had a use case where the customer wanted a '*' to represent a mandatory field. IMO

Re: Add a * (star) to a mandatory field

2008-09-16 Thread James Perry
I too recently had a use case where the customer wanted a '*' to represent a mandatory field. IMO, using a border is more subtle and tidier then your approach. On Tue, Sep 16, 2008 at 12:40 PM, Eyal Golan [EMAIL PROTECTED] wrote: Hi, I created this behavior for adding a star BEFORE the

Re: Wicket Cart: open-source e-commerce wicket app

2008-08-29 Thread James Perry
Thanks to the individuals who have both replied to the thread and emailed me personally. I will get the ball rolling next week. Cheers, James. On Thu, Aug 28, 2008 at 1:54 PM, Serkan Camurcuoglu [EMAIL PROTECTED] wrote: I have another idea for brix.. I believe that a portlet which displays

Re: Wicket Cart: open-source e-commerce wicket app

2008-08-29 Thread James Perry
Thank you. I will have a look. :-) Cheers, James. On Wed, Aug 27, 2008 at 11:06 PM, Patrick Angeles [EMAIL PROTECTED] wrote: James, If you need any CMS functionality at all for your cart project, please have a look at: http://brix-cms.googlecode.com/ For example, you could incorporate

Re: Crystal Report

2008-08-29 Thread James Perry
Yeah, I have with a Wicket app. that serves Crystal Reports XI reports. I scrapped using its J2EE business connector and, instead, wrote the reports in PDF format to the local filesystem and emailed them to user. I would recommend doing this asynchronously because of the expensive I/O costs. You

Re: Crystal Report

2008-08-29 Thread James Perry
Just to clarify, I wrote the report in PDF format via its API. I can tell you where to look if needed. On Fri, Aug 29, 2008 at 11:24 AM, freak182 [EMAIL PROTECTED] wrote: Hello, Does anyone here had encountered using crystal report with wicket as a reporting tool? Any idea how to integrate

Re: GetModelObject returns null-filled Object?

2008-08-27 Thread James Perry
What model are you using for the form? How are you setting it? While you're there have a look at IFormValidator (look at its implementations to see how to use it) as it's much neater to add your Hibernate validator like this rather then hard coding it in your overridden onSubmit method. Best,

Wicket Cart: open-source e-commerce wicket app

2008-08-27 Thread James Perry
Is anyone interested in contributing to an open-source e-commerce wicket engine? I was thinking of calling it WicketCart. I have written a primitive version which serves as a good foundation to build upon. I have a new client, a royal college, requiring an e-commerce web app so just pondering the

Re: application scope objects in Wicket

2008-08-26 Thread James Perry
Firstly I hope you are enjoying building your first Wicket web app. Is this application scope object immutable? What is the data structure? IMHO, if it's immutable then it's OK to use composition within your WebApplication by adding this object as a field within WebApplication. I would just make

Re: My Wicket + Hibernate project- Transaction solutions? Java EE w/ Wicket?

2008-08-26 Thread James Perry
On Sun, Aug 24, 2008 at 4:11 AM, jpswain [EMAIL PROTECTED] wrote: I'm just curious what everyone is using for transaction management. I have been working with Wicket for a while now (and loving it) on a pet project that also uses Hibernate and Guice. I'm realizing now that I might need/want

Re: Transactions won´t work?

2008-08-22 Thread James Perry
How are you configuring Spring within Wicket? Correct me if I'm wrong but the transactional weaving that you are trying to advise will only work if Spring can see them in its object factory (i.e. constructed within spring) - which I suspect is the case. Perhaps having spring managed service beans

Re: Unable to find component with id

2008-08-21 Thread James Perry
Send the code for HomePage.html and HomePage.html. It looks like you declaring the label in the markup incongruent to your page hierarchy; make sure it's in the wicket tag menu. Cheers, JP. On Thu, Aug 21, 2008 at 5:00 PM, btakacs [EMAIL PROTECTED] wrote: Hi I'm new in wicket. I tried to

Re: WicketSessionFilter Problem: java.lang.IllegalStateException

2008-08-01 Thread James Perry
/dispatcher /filter-mapping I'm not sure if that is what is happening in this situation, but it might be worth a shot. -Original Message- From: James Perry [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2008 7:31 AM To: users@wicket.apache.org Subject: Re: WicketSessionFilter

WicketSessionFilter Problem: java.lang.IllegalStateException

2008-07-30 Thread James Perry
Hello! I would be grateful for any advice with the below problem I am encountering with the WicketSessionFilter. I managed to convince my colleagues to migrate our www.mypharmisis.com (a drug ordering system for the Pharmaceutical industry) from Struts to Wicket after the success of a greenfield

Re: WicketSessionFilter Problem: java.lang.IllegalStateException

2008-07-30 Thread James Perry
the wicket session filter around your *.do mapping, not your new/* mapping. Martijn On Wed, Jul 30, 2008 at 11:35 AM, James Perry [EMAIL PROTECTED] wrote: Hello! I would be grateful for any advice with the below problem I am encountering with the WicketSessionFilter. I managed to convince

Re: WicketSessionFilter Problem: java.lang.IllegalStateException

2008-07-30 Thread James Perry
I can't work out why it doesn't work so I decided to subclass the WebRequestCycle and access the HTTPSession's attributes via my PharmisisSession. Cheers, Jim. On Wed, Jul 30, 2008 at 11:19 AM, James Perry [EMAIL PROTECTED] wrote: Thanks for the swift reply. That's what I originally had

Re: Wicket + Spring 2.5

2007-12-15 Thread James Perry
For an example app for Spring 2.5, download the full distrubution jar with dependencies; which contains ample sample apps. To understand how Wicket and Spring can be integrated and its implications, go to: http://cwiki.apache.org/WICKET/spring.html. As for a wicket app that uses Spring:

Re: Problems deploying Wicket application with Tomcat

2007-12-05 Thread James Perry
) at java.io.ObjectStreamClass.access$1500(ObjectStreamClass.java:52) at java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:437) Any thoughts? On Dec 5, 2007 1:00 PM, James Perry [EMAIL PROTECTED] wrote: Bare with me. I am just redeploying it. On Dec 5, 2007 12:56 PM, wicket user

Problems deploying Wicket application with Tomcat

2007-12-05 Thread James Perry
Dear all, I am deploying my first wicket based web app selling British traditional sweets at http://www.thebritishsweetshop.co.uk/ There seems to be a problem as all the links lead to a 'Page Expired' error page. Any ideas? Cheers, J.

Re: Problems deploying Wicket application with Tomcat

2007-12-05 Thread James Perry
Bare with me. I am just redeploying it. On Dec 5, 2007 12:56 PM, wicket user [EMAIL PROTECTED] wrote: I'm getting a 503, HTTP Status 503 - This application is not currently available On 05/12/2007, James Perry [EMAIL PROTECTED] wrote: Dear all, I am deploying my first wicket based web

Re: Getting started

2007-11-23 Thread James Perry
Bonjour Gervais, To help you understand the fundamentals of Wicket, I would strongly recommend reading the first few chapters of Wicket in Action. It's available for the Manning Early Access Program. To answer your third qestion on how to bind more then one domain model to a form, I would

Repeater View with an empty List

2007-11-23 Thread James Perry
Hello fellow Wicket users, If I have a FooDataProvider going to a DataView which provides a ListFoo. How do I get the DataView to display default markup, for example: trtd colspan=2There are no Foos fool!/td/tr, if this list is empty. At the moment, my table is empty and I want to give indication

Re: Wicket-security 0.1-beta1 released

2007-11-19 Thread James Perry
Would you say this release is production ready for a low volume e-commerce site? Cheers, James. On Nov 19, 2007 11:25 AM, Maurice Marrink [EMAIL PROTECTED] wrote: Beta1 has just been released for the following projects. Wasp Swarm and the accompanying Examples. The files are available on

Re: WicketNotSerializableException withi FileUpload

2007-11-09 Thread James Perry
with a normal new Model()? I think we need to fix that somehow in the detach of the FUF because if the model is set we should look into the model and if it is a FileUpload get rid of it or something. johan On Nov 8, 2007 3:26 PM, James Perry [EMAIL PROTECTED] wrote: Hello Johan, Thanks

Re: Wicket runtime Exception

2007-11-09 Thread James Perry
Hello, Please send your code. J. On Nov 9, 2007 9:48 AM, tbt [EMAIL PROTECTED] wrote: Hi I'm a newbie to wicket and i'm using RadioGroup in my application. But sometimes it gives the following runtime exception ERROR (RequestCycle.java:1043) - submitted http post value [radio0] for

How to enable AJAX in a Wicket application

2007-11-09 Thread James Perry
I am wanting to use AJAX for my Wicket application but I could not find any reference documentation on how to configure it. I looked at the examples and it appears that you need to add the following to the application's init() method: getRequestCycleSettings().addResponseFilter(new

Re: How to enable AJAX in a Wicket application

2007-11-09 Thread James Perry
Happy days! :-) On Nov 9, 2007 1:14 PM, Frank Bille [EMAIL PROTECTED] wrote: No, you just use an Ajax component (like AjaxLink) and it is enabled. Nothing else than that. Frank On Nov 9, 2007 2:09 PM, James Perry [EMAIL PROTECTED] wrote: I am wanting to use AJAX for my Wicket

Re: Strange behavior with DropDownChoice and PropertyModel

2007-11-09 Thread James Perry
I had a similar problem but I had accidentally used == for string equality within my equals(). I will add this to the Wiki as it's a common problem for beginners. A lot of MSc Internet Software Systems students at the University of Birmingham (they teach Wicket as part of the syllabus) had this

Re: Strange behavior with DropDownChoice and PropertyModel

2007-11-09 Thread James Perry
I would also recommend using CompoundPropertyModel rather than using lots of PropertyModels; it will save you a lot of time and code. J. On Nov 9, 2007 4:05 PM, Pills [EMAIL PROTECTED] wrote: So it's just because we have to override equals when using custom objects. Thank you for your answer

Re: Question about Guice integration with Wicket 1.3 beta 4

2007-11-09 Thread James Perry
Hello Peter, Out of interest why did you migrate from a Spring/Hibernate design to Guice? Cheers, James. On Nov 9, 2007 5:03 PM, pmularien [EMAIL PROTECTED] wrote: Hi Wicket folks, I've just spent some time converting a Wicket 1.2.6 / Spring 2.0 / Hibernate 3 project that we did to Wicket

Repeater View Examples are broken

2007-11-08 Thread James Perry
I have noticed that there is an internal server error with the Repeater examples: http://wicketstuff.org/wicket13/repeater/ Cheers, James. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

WicketNotSerializableException withi FileUpload

2007-11-06 Thread James Perry
Hello fellow Wicket users, I am getting a org.apache.wicket.util.io.SerializableChecker$WicketNotSerializableException: Unable to serialize class: org.apache.wicket.util.io.DeferredFileOutputStream exception when I added a file upload feature to my AddProductForm. My form is serialiazable yet I

Problem with selecting default value with DropDownChoice

2007-11-05 Thread James Perry
I have a problem with the DropDownChoice. More specifically, I have a Product class which is like: public class Product implements Serializable { private static final long serialVersionUID = 1L; private Manufacturer manufacturer; //other states //getters and setters } I have

Re: Problem with selecting default value with DropDownChoice

2007-11-05 Thread James Perry
Kandalov [EMAIL PROTECTED] wrote: On Monday 05 November 2007 16:39:02 James Perry wrote: I have a problem with the DropDownChoice. More specifically, I have a Product class which is like: public class Product implements Serializable { private static final long

Re: Problem with selecting default value with DropDownChoice

2007-11-05 Thread James Perry
Manufacturer if we change the pre-selected 'Choose One' to any object within the DDC. So why is it not correctly pre-selecting? For example, my Xbox is not pre-selecting to Microsoft instead going to 'Choose One'. Cheers, James. On 11/5/07, James Perry [EMAIL PROTECTED] wrote: Hello all, Thanks

Best practises and advice for integrating Wicket with Spring

2007-10-19 Thread James Perry
Dear Wicket community, What are the best practises and advice for integrating Wicket with Spring. I have read the Wiki so I'm aware of injecting Spring's beans using annotations. I am also interested to know if I should just keep an Spring ApplicationContext in Wicket's Application class, inject