Ancestor controller patterns?

2018-04-20 Thread James Carman
I have a scenario where a certain type of component should typically be invisible, but in certain scenarios, it neeeds to become visible. That visibility can be changed by anybody in its ancestry and the closest one to the component should decide. Anyway, do we have established patterns for this?

ListView Add/Remove via AJAX...

2018-03-27 Thread James Carman
It has been a while since I've used Wicket and man, I really forgot how much I love this framework! It may be that I'm rusty, but I've searched quite a bit and tried all the suggestions I've found, but I can't seem to make add/remove via AJAX work for a ListView while preserving the input data. I

Re: Wicket and JPA: iplease/i a simple way to go

2012-05-13 Thread James Carman
On Sun, May 13, 2012 at 7:19 AM, hfriederichs h.friederi...@ohra.nl wrote: Tom, I couldn't agree more, you hit the spot. Indeed it's all about balance, don't over- (nor under-)architecture things. My application will be used by maybe 5 people, and requires some very simple CRUD-implemetations

Re: Wicket and JPA: iplease/i a simple way to go

2012-05-13 Thread James Carman
Patches and contributions are welcome. On May 13, 2012 10:55 AM, Tom Eugelink t...@tbee.org wrote: On 2012-05-13 13:49, James Carman wrote: If your application is that simple, check out Wicketopia. Always interesting, but the information (http://wicketopia.** sourceforge.net/ http

Re: Wicket and JPA: iplease/i a simple way to go

2012-05-13 Thread James Carman
There is a sample application by the way. It'll give you a good idea of the capabilities. On May 13, 2012 12:18 PM, James Carman jcar...@carmanconsulting.com wrote: Patches and contributions are welcome. On May 13, 2012 10:55 AM, Tom Eugelink t...@tbee.org wrote: On 2012-05-13 13:49, James

Re: Wicket and JPA: iplease/i a simple way to go

2012-05-13 Thread James Carman
for the Apache Wicket framework On 2012-05-13 18:44, James Carman wrote: There is a sample application by the way. It'll give you a good idea of the capabilities. On May 13, 2012 12:18 PM, James Carmanjcarman@**carmanconsulting.comjcar...@carmanconsulting.com wrote: Patches and contributions

Re: Wicket and JPA: iplease/i a simple way to go

2012-05-12 Thread James Carman
Wicket core tries to stay stack agnostic. If you want technology specific stuff, you have to use extra modules. On May 12, 2012 1:23 PM, hfriederichs h.friederi...@ohra.nl wrote: Igor, Josh suggested CDI as an alternative, in that respect it's the same as other approaches I've tried: to

Re: Wicket and JPA: iplease/i a simple way to go

2012-05-12 Thread James Carman
What if people want to use Hibernate? What if people want to use Cayenne? What if people want to use iBatis/myBatis? What if folks want to use just plain ole JDBC? The point is that the core of Wicket tries to stay as uncluttered as possible, relying upon add-on modules to adapt it to other

Re: Wicket and JPA: iplease/i a simple way to go

2012-05-12 Thread James Carman
On Sat, May 12, 2012 at 3:42 PM, hfriederichs h.friederi...@ohra.nl wrote: And I think I´m missing your point: I still don't get what's technology specific about JPA. Isn't it just a Java API like JMS or JaxWS? Yes, JPA is *an* API, but it's not the only persistence API out there. If Wicket

Re: Web app slow after migrating from WebSphere 6.1 to Tomcat 7

2012-05-10 Thread James Carman
Have you tried fronting Tomcat with Apache? On Thu, May 10, 2012 at 10:30 AM, shetc sh...@bellsouth.net wrote: Hi All, Not sure that this is really a Wicket question but I am having trouble finding answers elsewhere. I have a production Wicket-based app that runs just fine in WebSphere 6.1.

Re: Add components dynamically to a list view

2012-05-10 Thread James Carman
Are you looking to auto-generate some kind of editor? If so, you should check out Wicketopia. That's what it does! If it doesn't work exactly for your needs, perhaps you can borrow from it or just shoot an email to the mailing list and we'll (or I'll) take a look. On Thu, May 10, 2012 at 10:37

Re: Persistence.

2012-05-08 Thread James Carman
You should take a look at some of the RAD tools for persistence with Wicket. I wrote a library called Wicketopia that can probably help you get started. On Tue, May 8, 2012 at 4:35 PM, JASON HOLT j_holt5...@msn.com wrote: I'll repeat my plea for patience as I'm new to Java and Wicket, but

Re: Wicket 1.5.5 + JBoss 7.1.1 + CDI - ClassNotFoundException

2012-04-11 Thread James Carman
I would recommend checking out one of the existing libraries that does Wicket/CDI integration. On Wed, Apr 11, 2012 at 3:54 PM, Jonathan Tougas jtou...@gmail.com wrote: I'm running Wicket 1.5 on JBoss 7.1.1 with some CDI thrown in to the mix. In certain cases when Wicket deserializes a Page

Re: Wicket 1.5.5 + JBoss 7.1.1 + CDI - ClassNotFoundException

2012-04-11 Thread James Carman
the problem still exists. I'll update the example in a moment. On Wed, Apr 11, 2012 at 3:58 PM, James Carman ja...@carmanconsulting.comwrote: I would recommend checking out one of the existing libraries that does Wicket/CDI integration. On Wed, Apr 11, 2012 at 3:54 PM, Jonathan Tougas jtou

Re: NumberValidator.MinimumValidator

2012-04-02 Thread James Carman
http://wicket.apache.org/apidocs/1.5/org/apache/wicket/validation/validator/MinimumValidator.html On Mon, Apr 2, 2012 at 6:12 AM, SudeepShakya shakyasud...@live.com wrote: I am reading Enjoying Web Programming with wicket(1st edition). And I found out that there is no such thing in wicket

Re: Creating a submit form which takes date and a string as input and displays the data from database(mysql) using simple jdbc

2012-03-26 Thread James Carman
Have you looked at the examples from the website? On Mar 26, 2012 7:20 AM, SudeepShakya shakyasud...@live.com wrote: I have created a form which takes two dates/time and a textbox and created a class for get/set. And, it should work as : when i insert the data, it should check the data in

Re: Creating a submit form which takes date and a string as input and displays the data from database(mysql) using simple jdbc

2012-03-26 Thread James Carman
http://www.wicket-library.com/wicket-examples/dates/ On Mon, Mar 26, 2012 at 9:55 AM, SudeepShakya shakyasud...@live.com wrote: I have viewed some of the examples but not appropriate one. Can u give some hint -- View this message in context:

Re: Is there a GUI Builder for Wicket which generates Wicket java code?

2012-03-24 Thread James Carman
Wicketopia also allows you to use the same components used by the Scaffold component to build up the display by hand. Basically, you can use it at any level of abstraction you want. On Sat, Mar 24, 2012 at 10:42 AM, Pierre Goupil goupilpie...@gmail.com wrote: Or you can try the scaffolding

Re: Wicket + JPA lazy-loading

2012-03-18 Thread James Carman
Use a LoadableDetachableModel. You shouldn't be serializing persistent objects (unless of course you're in the middle of editing them or something). On Sun, Mar 18, 2012 at 8:36 AM, Bálint Kriván bal...@krivan.hu wrote: Hey! It seems that when wicket is trying to serialize the persistent

Re: Wicket + JPA lazy-loading

2012-03-18 Thread James Carman
(these are retrieved in the constructor so I don't see the need to save them on the first place) On Sun, Mar 18, 2012 at 1:56 PM, James Carman ja...@carmanconsulting.com wrote: Use a LoadableDetachableModel. You shouldn't be serializing persistent objects (unless of course you're in the middle of editing

Re: Why I cannot receive default value in Textfield?

2012-03-18 Thread James Carman
Check the value of the ContactPerson1 field in your onSubmit() method. It should contain what gets submitted. The merchant object is unrelated to your text field. On Mar 18, 2012 9:38 PM, xiaowang jy00807...@gmail.com wrote: Hi, Now I am using: html - input type=text

Re: Channel busy - postponing...

2012-03-06 Thread James Carman
Thanks for posting back the solution. This will no doubt be helpful to someone else. Community! On Mar 6, 2012 2:29 AM, Arjun Dhar dhar...@yahoo.com wrote: I just realized all posts on this matter point to some Jquery or JavaScript related mischief. I had established jquery itself was not

Re: org.apache.wicket.WicketRuntimeException: There is no application attached to current thread

2012-03-05 Thread James Carman
Make sure your filter mapping for your other filter is after the mapping for wicket filter. On Mon, Mar 5, 2012 at 5:17 PM, Dan Retzlaff dretzl...@gmail.com wrote: If your ThreadLocal is needed within Wicket, shouldn't your filter run *before* WicketFilter? Does your filter use any Wicket

Re: Wicket Spring Security

2012-03-02 Thread James Carman
Wicketopia has an example of how to integrate Spring security (including showing/hiding properties based on user roles) On Fri, Mar 2, 2012 at 2:46 PM, Erich W Schreiner eschrei...@yahoo.com wrote: Dear all, what is the recommended way of integrating Wicket 1.5.x with Spring Security 3.1.x?

Re: Error during start of wicket application

2012-02-28 Thread James Carman
You can write a context listener that prints the class path entries (most class loaders are URLClassLoaders) Sent from tablet device. Please excuse typos and brevity. On Feb 28, 2012 10:47 PM, Andre Schütz schuetz.an...@gmx.net wrote: Hi, thank you for the answer. I defined Wicket 1.5.3 in

Re: modal window takes very long time to close

2012-02-14 Thread James Carman
This is what I was trying to find: http://mail-archives.apache.org/mod_mbox/wicket-users/200904.mbox/%3ca737c1240904170336h2231a4aej48e6f3ec783bd...@mail.gmail.com%3E On Mon, Feb 13, 2012 at 11:08 AM, fachhoch fachh...@gmail.com wrote: any help with this , My modal window is taking too long to

Re: Architectural question

2012-02-12 Thread James Carman
I just use open session in view. You can still retrieve stuff outside a transaction. I explicitly call update to persist. On Feb 12, 2012 7:54 AM, Bas Gooren b...@iswd.nl wrote: Hi All, I have an architectural question about wicket, DDD and the service layer. Let's say we have a simple JPA

Re: Architectural question

2012-02-12 Thread James Carman
a good match for most of my projects though, and I'd like to be able to properly integrate my domain objects with wicket. Op 12-2-2012 15:17, schreef James Carman: I just use open session in view. You can still retrieve stuff outside a transaction. I explicitly call update to persist

Re: modal window takes very long time to close

2012-02-11 Thread James Carman
I had trouble with modal windows with lots of ajax links in the past (a table full of them). I had to do some hack to get it working. I have tried googling for exactly what I did, but I can't find it. To my archives!... On Sat, Feb 11, 2012 at 1:54 PM, fachhoch fachh...@gmail.com wrote: Yes

Re: modal window takes very long time to close

2012-02-10 Thread James Carman
Do you have a lot of Ajax links on the page? On Fri, Feb 10, 2012 at 5:30 PM, fachhoch fachh...@gmail.com wrote: I am using wicket 1.4.12 , sometimes my modal windows takes very long time to close , there is no code called when modalwindow is closed no ajax updates to the page , what can cause

Re: Property Model Issue

2012-02-04 Thread James Carman
I would avoid cpms like the plague. Too much magic. On Feb 3, 2012 5:12 PM, Sam Barrow s...@sambarrow.com wrote: On Fri, 2012-02-03 at 13:57 -0800, Dan Retzlaff wrote: Hi Sam, I think your use of Item#setModel() and Component#initModel() are unconventional. Try: Hi Dan, Yes I

Re: Property Model Issue

2012-02-04 Thread James Carman
I wouldn't necessarily say that CPMs are the wicket way. On Sat, Feb 4, 2012 at 11:32 AM, Sam Barrow s...@sambarrow.com wrote: On Sat, 2012-02-04 at 10:27 -0500, James Carman wrote: I would avoid cpms like the plague.  Too much magic. On Feb 3, 2012 5:12 PM, Sam Barrow s...@sambarrow.com

Re: Wicket webshere 7

2012-01-25 Thread James Carman
The surprising thing is that you actually have to do something like that to get it to work properly. On Jan 25, 2012 3:04 AM, Geoff Lancaster wic...@geofflancaster.com wrote: Filters work just fine. Did you set com.ibm.ws.webcontainer.invokefilterscompatibility= true In your web containers

Re: Wicket spring security sample app

2012-01-20 Thread James Carman
of sonatype-nexus-snapshots has elapsed or updates are forced - [Help 1] brian On Wed, Jan 18, 2012 at 06:58:08AM -0500, James Carman wrote: Either way, you can open it in your IDE and run the jetty test server that's included.  That's how I run it usually so that I can easily debug and play

Re: Wicket spring security sample app

2012-01-18 Thread James Carman
Either way, you can open it in your IDE and run the jetty test server that's included. That's how I run it usually so that I can easily debug and play around. On Wed, Jan 18, 2012 at 6:57 AM, James Carman ja...@carmanconsulting.com wrote: I don't know if the plugin is turned on for the example

Re: PropertyModel with x.y as property name (from a properties file)

2012-01-10 Thread James Carman
or don't use cpm On Jan 10, 2012 11:10 AM, Sven Meier s...@meiers.net wrote: Write you own model: public class PropertiesModel extends AbstractReadOnlyModelString { private Properties properties; private String key; // constructor ... public String getObject() { return

Re: Solved: Only the first TextField in a repetition gets correct OnChangeAjaxBehavior with 1.5.1

2011-12-17 Thread James Carman
This is what I love about Wicketeers. They don't just sit around complaining about something; they jump in and help fix it! Way to go Wicket community! On Sat, Dec 17, 2011 at 7:49 AM, Martin Grigorov mgrigo...@apache.org wrote: On Sat, Dec 17, 2011 at 12:58 AM, Dan Retzlaff

Re: Wicket 1.5 with Shiro for security ...

2011-12-15 Thread James Carman
Wicketopia has a shiro plugin too On Dec 15, 2011 11:57 AM, armandoxxx armando@dropchop.com wrote: Got a little question. I'm wrapping Apache Shiro as security framework for my application. And I use wicket-auth-roles for wrapping shiro login, logout, get roles and stuff methods. I've

Re: Any info on wasp-swarm?

2011-12-09 Thread James Carman
Auth-roles has always worked fine for me. On Dec 9, 2011 10:59 AM, Dan Alvizu dalv...@pingidentity.com wrote: Ah, thanks for the info! @Other Dan: I poorly worded that. Role-based access is exactly what I want to do. -Dan On Fri, Dec 9, 2011 at 3:42 AM, Emond Papegaaij

Re: Back button not work in Wicket 1.5.3 when component structure is not changed

2011-12-08 Thread James Carman
modelChanged()? Sent from tablet device. Please excuse typos and brevity. On Dec 8, 2011 12:58 AM, Dan Retzlaff dretzl...@gmail.com wrote: Hi, Robin. I am not a core developer, but I believe this is as designed. If you want the page version to be incremented, you can call Page#dirty() in

Re: WicketTester setParameterForNextRequest() doubt

2011-12-02 Thread James Carman
Have you tried using a form tester? On Dec 2, 2011 10:58 AM, Fabiosakiyam fabiosakiy...@gmail.com wrote: Hi guys, Im trying to test a component i've made using wicket tester, but im having a problem to assert a modelValue. Im trying to input data on my component fields, and then submit. The

Re: WicketTester setParameterForNextRequest() doubt

2011-12-02 Thread James Carman
Have you tried using a form tester? On Dec 2, 2011 10:58 AM, Fabiosakiyam fabiosakiy...@gmail.com wrote: Hi guys, Im trying to test a component i've made using wicket tester, but im having a problem to assert a modelValue. Im trying to input data on my component fields, and then submit. The

Re: intercept client request

2011-11-28 Thread James Carman
Too bad it's a nice feature On Nov 28, 2011 2:16 AM, Martin Grigorov mgrigo...@apache.org wrote: On Mon, Nov 28, 2011 at 4:31 AM, James Carman ja...@carmanconsulting.com wrote: Or use a request cycle listener to be more portable. request cycle listeners are available since Wicket 1.5

Re: intercept client request

2011-11-27 Thread James Carman
Or use a request cycle listener to be more portable. On Nov 27, 2011 9:22 PM, Jeremy Thomerson jer...@wickettraining.com wrote: On Sun, Nov 27, 2011 at 9:14 PM, nazeem md.naz...@gmail.com wrote: In the server side, i need to know who is performing this action to do auditing and other

Re: Dynamic component?

2011-11-25 Thread James Carman
Just use one div and always use the same id (container for example). On Nov 25, 2011 5:26 PM, Fabiosakiyam fabiosakiy...@gmail.com wrote: Hello, Sorry if this is already solved, but i couldn't find it, 'cause i don't really know what is the name of this, that's why the subject is weird. Ok

Re: Dynamically choosing component to add

2011-11-25 Thread James Carman
What exactly are you trying to do? Different view elements based on the state of your model or its type. On Oct 31, 2011 9:50 AM, Bertrand Guay-Paquet ber...@step.polymtl.ca wrote: Hi, Was is the proper way to choose which panel to add to a page based on a model's object value? Currently, I

Re: Scaffolding

2011-11-19 Thread James Carman
Why do you want generated code when you can have it automatically generated for you at runtime? On Sat, Nov 19, 2011 at 3:10 PM, Pierre Goupil goupilpie...@gmail.com wrote: Good evening fellow Wicketers, Do you know of any Wicket scaffolding component? I know about these two:

Re: integrating CDI into Wicket

2011-11-16 Thread James Carman
The only thing external is the conversation management stuff from Seam, it looks like. The user would have to make sure they include the container-specific adapter code on the classpath (org.jboss.seam.conversation:seam-conversation-weld for example) for their CDI container. Another concern

Re: integrating CDI into Wicket

2011-11-16 Thread James Carman
Is the license compatible? I am actually going to roll my own in wicketopia. On Nov 16, 2011 6:59 AM, Martin Grigorov mgrigo...@apache.org wrote: On Wed, Nov 16, 2011 at 1:49 PM, James Carman ja...@carmanconsulting.com wrote: The only thing external is the conversation management stuff from

Re: integrating CDI into Wicket

2011-11-16 Thread James Carman
On Nov 16, 2011 11:49 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote: On Wed, Nov 16, 2011 at 3:49 AM, James Carman ja...@carmanconsulting.com wrote: The only thing external is the conversation management stuff from Seam, it looks like. The user would have to make sure they include

Re: integrating CDI into Wicket

2011-11-16 Thread James Carman
at 12:37 PM, James Carman ja...@carmanconsulting.com wrote: On Nov 16, 2011 11:49 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote: On Wed, Nov 16, 2011 at 3:49 AM, James Carman ja...@carmanconsulting.com wrote: The only thing external is the conversation management stuff from Seam

Re: DI in wicket

2011-11-12 Thread James Carman
This is a Spring issue, not a Wicket issue. You're not configuring Spring correctly. If you want a working example that uses Spring/Hibernate, you can try Wicketopia's example application. It has everything configured correctly out of the box.

Re: Spring secury + auth-roles authentication and authorization: access denied

2011-11-08 Thread James Carman
Take a look at wicketopia's example app. It has spring security integration. Sent from tablet device. Please excuse typos and brevity. On Nov 7, 2011 11:24 AM, massizigao fha...@online.de wrote:

Re: @AuthorizeAction multiple actions

2011-10-27 Thread James Carman
You can't have two of the same annotations on the same target. You would need an @AuthorizeActions which would group them together. Or, check out how we handled this in wicketopia (shameless plug). :-) Sent from tablet device. Please excuse typos and brevity. On Oct 27, 2011 7:23 AM,

Re: @AuthorizeAction multiple actions

2011-10-27 Thread James Carman
He had different actions On Oct 27, 2011 7:32 AM, Martin Grigorov mgrigo...@apache.org wrote: On Thu, Oct 27, 2011 at 1:23 PM, nebojsa.nedic nebojsa.b.ne...@gmail.com wrote: Hello all, I would like to ask is it possible to add multiple authorize actions on one class. It would mean

Re: @AuthorizeAction multiple actions

2011-10-27 Thread James Carman
:41 PM, James Carman ja...@carmanconsulting.com wrote: He had different actions On Oct 27, 2011 7:32 AM, Martin Grigorov mgrigo...@apache.org wrote: On Thu, Oct 27, 2011 at 1:23 PM, nebojsa.nedic nebojsa.b.ne...@gmail.com wrote: Hello all, I would like to ask is it possible to add

Re: [ANNOUNCE] Wicketopia 0.9 Released...

2011-10-23 Thread James Carman
Try using the @Enabled annotation to limit editing to only certain contexts (such as ADMIN or something). On Sat, Oct 22, 2011 at 11:18 AM, androidcoolguy androidcool...@hotmail.com wrote: James, Your metadata annotation is based on Metastopheles, but I can't find much information about it.

[OT] Wicket Jobs List?

2011-10-19 Thread James Carman
Fellow Wicketeers, Do we have a special mailing list for Wicket jobs? I'm looking again and would like to find a good place to advertise that fact. :) Thanks, James Carman - To unsubscribe, e-mail: users-unsubscr

Re: Dynamic page display based on a configuration in Wicket

2011-10-19 Thread James Carman
If you need inspiration, you can check out the Wicketopia project. It dynamically builds forms for beans, but you could easily adapt the logic to figure out which fields to display from a different source. On Wed, Oct 19, 2011 at 11:16 AM, Vasu Srinivasan vasy...@gmail.com wrote: Hello, I am

Re: to integrate wicket with hibernate using spring

2011-07-04 Thread James Carman
You may also want to check out wicketopia. http://wicketopia.sourceforge.net Sent from tablet device. Please excuse typos and brevity. On Jul 4, 2011 11:56 AM, Martin Grigorov mgrigo...@apache.org wrote: Here is a Maven command which will get you started: mvn archetype:generate -B

Re: WicketStuff artifacts naming strategy

2011-06-30 Thread James Carman
I haven't seen that syntax before of having the group id in the artifact id, at least not with the longer group ids (reverse domain). On Thu, Jun 30, 2011 at 11:02 AM, Bruno Borges bruno.bor...@gmail.com wrote: The preffix is 'wicketstuff-', not 'org.wicketstuff.' Is this ok? *Bruno Borges*

Re: WicketStuff artifacts naming strategy

2011-06-30 Thread James Carman
too verbose. *Bruno Borges* www.brunoborges.com.br +55 21 76727099 On Thu, Jun 30, 2011 at 12:06 PM, James Carman ja...@carmanconsulting.comwrote: I haven't seen that syntax before of having the group id in the artifact id, at least not with the longer group ids (reverse domain

Re: new user registration email verification

2011-06-28 Thread James Carman
This isn't really a wicket thing is it? This is a common pattern for all web applications that require a login. There is nothing inherently wickety about it On Tue, Jun 28, 2011 at 11:34 AM, fachhoch fachh...@gmail.com wrote: any suggestions  ? Email verfication  almost all aps needs this is

Re: WicketStuff artifacts naming strategy

2011-06-28 Thread James Carman
This can cause classpath collisions Sent from my Android device. Please excuse typos and brevity. On Jun 28, 2011 5:27 PM, Bruno Borges bruno.bor...@gmail.com wrote: I started to modify all JAR poms to have the wicketstuff- preffix. Is anybody against this? Why? :-) *Bruno Borges*

Re: WicketStuff artifacts naming strategy

2011-06-28 Thread James Carman
Are you changing artifact ids? On Tue, Jun 28, 2011 at 6:26 PM, Bruno Borges bruno.bor...@gmail.com wrote: How can that happen if the purpose of this change is exactly to avoid collisions ? *Bruno Borges* www.brunoborges.com.br +55 21 76727099 On Tue, Jun 28, 2011 at 6:59 PM, James

Re: WicketStuff artifacts naming strategy

2011-06-28 Thread James Carman
be an acceptable risk when you consider how many folks are actually using the wicketstuff code, but I thought I'd bring it up. We face this same stuff at Apache Commons. On Tue, Jun 28, 2011 at 6:48 PM, James Carman ja...@carmanconsulting.com wrote: Are you changing artifact ids? On Tue, Jun 28

Re: WicketStuff artifacts naming strategy

2011-06-28 Thread James Carman
* www.brunoborges.com.br +55 21 76727099 On Tue, Jun 28, 2011 at 8:02 PM, James Carman ja...@carmanconsulting.comwrote: Sorry, hit send too soon. Are you changing artifact ids?  If you are, then Maven will think that it's something different and will thus allow both the old and the new jars on the same

Re: What is the Best login implementation?

2011-06-18 Thread James Carman
Using Wicket Auth-Roles is pretty easy. You can implement login however you want with it. Adapting it to Spring Security is easy as is Shiro. On Sat, Jun 18, 2011 at 7:47 AM, Paolo irresistible...@gmail.com wrote: Hi, I found on google some solution for login with wicket:

Re: TextField and Java Number

2011-06-15 Thread James Carman
Number is abstract. How is TextField supposed to be able to instantiate one using the text? You can't use one of the subclasses? On Wed, Jun 15, 2011 at 5:20 PM, Corbin, James jcor...@iqnavigator.com wrote: I am creating an input field that should accept numbers only, so I defined my

Re: AutoCompleteTextField which uses an Object, not a String

2011-06-14 Thread James Carman
On Tue, Jun 14, 2011 at 11:25 AM, Clint Checketts checke...@gmail.com wrote: Is there a good reason (besides backwards compatiblity) that the objectautocomplete hasn't replaced the broken string based one in wicket-extensions? It seems like AutoComplete should behave as similarly to

Re: Doubt about Pallete component

2011-06-14 Thread James Carman
Try reading the Palette javadocs. On Tue, Jun 14, 2011 at 11:38 AM, Vitor Granzinoli Vellozo vitor.vell...@cpmbraxis.com wrote: Martin, You mentioned Palette Recorder, so I tried to use that, but it not works like I need. Imagine I have an Object called Contact (with name, age..), and a

Re: need help using wicket:enclosure tag.

2011-06-09 Thread James Carman
You might want to check out Wicketopia. It has logic for handling this kind of stuff and it might even do some of it automatically for you. http://wicketopia.sourceforge.net/ Download it from SVN, build it, and run the example application. There is an example in there that hides/shows the SSN

Re: adding items dynamically to ListView

2011-06-07 Thread James Carman
How do you set up the model? Can we see some code? Sent from tablet device. Please excuse typos and brevity. On Jun 7, 2011 6:13 PM, wmike1...@gmail.com wmike1...@gmail.com wrote: Wicket doesn't allow me to update a ListView object directly through ajax, it suggests putting it in in a

Re: setReuseItems(true) + transactions = ERROR

2011-06-04 Thread James Carman
Can you try to replicate what you're doing in a more simple fashion? Take your wicket framework code out of the mix. Just try a wicket/spring/hibernate example. You can use the Wicketopia example as a template if you want. On Sat, Jun 4, 2011 at 6:01 AM, Gonzalo Aguilar Delgado

Re: setReuseItems(true) + transactions = ERROR

2011-06-03 Thread James Carman
Try using the open session in view filter On Jun 3, 2011 1:55 PM, Gonzalo Aguilar Delgado gagui...@aguilardelgado.com wrote: Hi Again, I checked why I'm receiving this nasty error. It seems that fails in this piece of code of the submit form: @Override protected void onSubmit() {

Re: adding link to datatable

2011-06-02 Thread James Carman
What is DetailsPage's hierarchy? On Thu, Jun 2, 2011 at 6:02 AM, henry henstri...@yahoo.com wrote: hi guys am having some issues my code any help will do,am trying to add a link to my datatable firstly i created the DetailPage class //DetailPage class code public DetailsPage(String id ,

Re: adding link to datatable

2011-06-02 Thread James Carman
Class hierarchy. On Thu, Jun 2, 2011 at 6:56 AM, James Carman ja...@carmanconsulting.com wrote: What is DetailsPage's hierarchy? On Thu, Jun 2, 2011 at 6:02 AM, henry henstri...@yahoo.com wrote: hi guys am having some issues my code any help will do,am trying to add a link to my datatable

Re: While dojo project is still alpha status I want to say something about scaffolding in wicket

2011-06-01 Thread James Carman
On Wed, Jun 1, 2011 at 2:59 PM, Gonzalo Aguilar Delgado gagui...@aguilardelgado.com wrote: Does it took long to program it? Do you think you will maintain it for long time? I have been working on the idea for a couple of years. I cannot run the application because compile problems (need

Re: While dojo project is still alpha status I want to say something about scaffolding in wicket

2011-06-01 Thread James Carman
On Wed, Jun 1, 2011 at 3:41 PM, Gonzalo Aguilar Delgado gagui...@aguilardelgado.com wrote: Your project looks good. Clean code, modular, well organized. I got a little bit confused about the PropertyComponentFactory. I cannot find where you define the right provider... Was looking into

Re: Wicket with Spring AOP

2011-05-31 Thread James Carman
What pointcuts are you using? You're trying to inject logic into your pages/components? 2011/5/31 İzlem Gözükeleş izl...@gmail.com: Hi, I wanted to use Spring AOP (3.0.5) with wicket (1.4.16). However, I got java.io.NotSerializableException:

Re: While dojo project is still alpha status I want to say something about scaffolding in wicket

2011-05-31 Thread James Carman
Wicketopia has a scaffold component already. Perhaps we can use some of your ideas to enhance it? On Tue, May 31, 2011 at 9:41 AM, Gonzalo Aguilar Delgado gagui...@aguilardelgado.com wrote: Hi again, too many things are going on. But I don't want to lose the oportunity to let people join or

Re: While dojo project is still alpha status I want to say something about scaffolding in wicket

2011-05-31 Thread James Carman
it offers. Thank you a lot for the update. No subestimes el poder de la gente estúpida en grupos grandes El mar, 31-05-2011 a las 10:21 -0400, James Carman escribió: Wicketopia has a scaffold component already. Perhaps we can use some of your ideas to enhance it? On Tue, May 31, 2011 at 9:41 AM

Re: How to have custom components interact with CompoundPropertyModel?

2011-05-28 Thread James Carman
Please list your constructors of your custom component. I believe the auto-resolving of models from a parent CPM is done during the constructor (the one with just the component id). On Sat, May 28, 2011 at 8:27 AM, andrea del bene andrea.on@libero.it wrote: Hi, Have you called

Re: Wicket / Hibernate / Databinder (dead?)

2011-05-28 Thread James Carman
You could check out Wicketopia. It has support for Hibernate. You can run the example application to see how it works. On Sat, May 28, 2011 at 11:48 AM, jbrookover jbrooko...@cast.org wrote: Hey all, First off, apologies for a potential dual post - I used nabble and posted to a super-level

Re: Wicket / Hibernate / Databinder (dead?)

2011-05-28 Thread James Carman
Wicketopia doesn't require spring. On May 28, 2011 3:13 PM, jbrookover jbrooko...@cast.org wrote: James Carman wrote: You could check out Wicketopia. It has support for Hibernate. You can run the example application to see how it works. I've been doing some searching and found many of your

Re: first app wicket jetty problem

2011-05-27 Thread James Carman
Set the working directory to the root of your project On May 27, 2011 4:41 PM, Oleg Ruchovets oruchov...@gmail.com wrote: Hi , Using this page http://wicket.apache.org/start/quickstart.html made all instruction and try to run my first wicket project using inteiilj idea. running jetty got such

Re: tree do not stay open tree collapsed after setResponsePage

2011-05-25 Thread James Carman
How are you getting back to the original page? On Wed, May 25, 2011 at 11:09 AM, hubert_hupe hubert_h...@gmx.de wrote: hi folks, i get wicket with the wicket... what do i have is a simple tree in page X. after click a node i do a redirect to pageY. so far so good. but the tree collapsed

Re: to integrate wicket with itext or any other framework

2011-05-24 Thread James Carman
How about this? Go write your application just using Hibernate. Then, after months of trying to figure out how to write the code to properly manage everything, try it with Spring (or some other DI container). Then you'll appreciate it more. :) On Tue, May 24, 2011 at 1:27 PM, hariharansrc

Re: to integrate wicket with itext or any other framework

2011-05-24 Thread James Carman
On Tue, May 24, 2011 at 2:39 PM, hariharansrc hariharan...@gmail.com wrote: So can tell me the proper reason for the reason behind using spring for integrating wicket and hibernate It's pretty simple. Using Hibernate is more easily done with something like Spring. It doesn't matter if you're

Re: New Website up using wicket

2011-05-16 Thread James Carman
On Mon, May 16, 2011 at 1:03 PM, Henrique Boregio hbore...@gmail.com wrote: As for the other question, the backend runs on hibernate. Not 100% hibernate, since I'm actually not mapping all of the relations using hibernate. Why not? Was there a performance issue?

Re: PropertyModel not binding DropDownChoice

2011-05-16 Thread James Carman
Lucas, Check out the EnumDropDownChoice from Wicketopia... http://wicketopia.svn.sourceforge.net/viewvc/wicketopia/trunk/wicketopia/src/main/java/org/wicketopia/component/choice/EnumDropDownChoice.java?revision=140view=markup

Re: Can you patch ModalWindow in next 1.4 release?

2011-05-11 Thread James Carman
Would it break other people's existing code? On May 11, 2011 5:13 PM, Russell Morrisey russell.morri...@missionse.com wrote: I created a patch in order to replace ModalWindow's window-closing behavior with a custom IBehavior implementation. The .patch file and a quickstart project are included in

Re: Can you patch ModalWindow in next 1.4 release?

2011-05-11 Thread James Carman
Sorry, was reading that on my phone. On Wed, May 11, 2011 at 5:26 PM, Martin Grigorov mgrigo...@apache.org wrote: No, it doesn't. He already said: The change is small and backwards-compatible. And the patch looks OK. On Wed, May 11, 2011 at 11:24 PM, James Carman jcar

Re: Problems with @SpringBean

2011-05-09 Thread James Carman
Don't make it transient On May 9, 2011 8:48 AM, Vitor Granzinoli Vellozo vitor.vell...@cpmbraxis.com wrote: Hi all, I'm new here, and I have problem with @SpringBean when I click in browser back Button. The Spring resource come null... when I load the Page first time, everything works,

Re: Separate log files (tomcat, hibernate, wicket, etc)

2011-05-06 Thread James Carman
This is a LOG4J question, not a wicket one. On Fri, May 6, 2011 at 9:38 AM, Henrique Boregio hbore...@gmail.com wrote: Hi, I've been searching for a simple way to do this but if I've only found over-complicated tutorials. I am trying to setup my lo4j properties file to do something like:

Re: Separate log files (tomcat, hibernate, wicket, etc)

2011-05-06 Thread James Carman
Well, since you're asking about a specific logging provider (log4j), then it's a log4j question. On Fri, May 6, 2011 at 10:20 AM, Henrique Boregio hbore...@gmail.com wrote: It asks how to redirect all of wicket logging to a separate log file other then the application's log file. So, this is a

Re: How to add an unspecified number of components

2011-05-06 Thread James Carman
Use a repeater. And, wasn't this question just asked recently? On Wed, May 4, 2011 at 7:54 PM, wmike1...@gmail.com wmike1...@gmail.com wrote: Hi, I'm gathering information from a database that I want to display on my page. My query to this DB could result any number of rows. I'd like to

Re: DataTable's view does not always update

2011-05-02 Thread James Carman
but it will start up. Test app will not start up - shows 404 all the time. Is it a WAS setup issue? Thanks, Dave On Sun, May 1, 2011 at 8:57 PM, James Carman ja...@carmanconsulting.com wrote: You are using a servlet instead of a filter, right?  I don't see the entire conversation

Re: Ajaxifying existing application

2011-05-01 Thread James Carman
I think he meant that rather than using a page-oriented design, that they'd need to switch to more of a one page, switch panels design? On Sun, May 1, 2011 at 4:09 AM, meduolis meduol...@gmail.com wrote: Why do you want to switch page using ajax? :D If you redownload all page contents, do not

Re: Ajaxifying existing application

2011-05-01 Thread James Carman
On Sat, Apr 30, 2011 at 5:36 PM, splitshade martin.dil...@googlemail.com wrote: Hi, i have a general question, we have an exisiting application, that now needs to be ajaxified (no page reloads etc..). This has never been a requirement, so the application is not prepared at all for this.

  1   2   3   4   5   6   7   8   9   10   >