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 a

Re: Wicket and JPA: please a simple way to go

2012-05-13 Thread James Carman
(RAD) library 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 >>

Re: Wicket and JPA: please 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" wrote: > Patches and contributions are welcome. > On May 13, 2012 10:55 AM, "Tom Eugelink" wrote: > >> >> On 2012-0

Re: Wicket and JPA: please 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" 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://w

Re: Wicket and JPA: please a simple way to go

2012-05-13 Thread James Carman
On Sun, May 13, 2012 at 7:19 AM, hfriederichs 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 on a > database

Re: Wicket and JPA: please a simple way to go

2012-05-12 Thread James Carman
On Sat, May 12, 2012 at 3:42 PM, hfriederichs 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 were to "pick a favo

Re: Wicket and JPA: please 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 e

Re: Wicket and JPA: please 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" wrote: > Igor, > > Josh suggested CDI as an alternative, in that respect it's the same as > other > approaches I've tried: to cumbersome, to c

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

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 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. I > am trying

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 wrote: > > > > > I'll repeat my plea for patience as I'm new to Java and Wicket, but have some > mi

Re: Wicket 1.5.5 + JBoss 7.1.1 + CDI - ClassNotFoundException

2012-04-11 Thread James Carman
cdi> the problem still > exists. I'll update the example in a moment. > > On Wed, Apr 11, 2012 at 3:58 PM, James Carman > wrote: > >> I would recommend checking out one of the existing libraries that does >> Wicket/CDI integration. >> >> On Wed, Apr 1

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 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 containing a refere

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 wrote: > I am reading Enjoying Web Programming with wicket(1st edition). And I found > out that there is no such thing in wicket 1.5.x. So how to implemen

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 wrote: > I have viewed some of the examples but not appropriate one. Can u give some > hint > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Creating-a-submit-fo

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" 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 > the database an

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 wrote: > Or you can try the scaffolding approach: > > http://wicke

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" wrote: > Hi, > Now I am using: > > html - > > > > Java - > public class MerchantEditPanel exte

Re: Wicket + JPA lazy-loading

2012-03-18 Thread James Carman
e > these objects (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 >wrote: > > > Use a LoadableDetachableModel. You shouldn't be serializing > > persisten

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 wrote: > Hey! > > It seems that when wicket is trying to serialize the persistent objects > (probabl

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" wrote: > I just realized all posts on this matter point to some Jquery or > JavaScript related mischief. > I had established jquery itself was not the culprit,

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 wrote: > If your ThreadLocal is needed within Wicket, shouldn't your filter run > *before* WicketFilter? > > Does your filter use any Wicket classes that requir

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 wrote: > Dear all, > what is the recommended way of integrating Wicket 1.5.x with Spring Security > 3.1.x? > > TIA & best rega

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" wrote: > Hi, > > thank you for the answer. I defined Wicket 1.5.3 in the pom.xml. There

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 wrote: > any help with this , My modal window is taking too long to close. > > > -- >

Re: Architectural question

2012-02-12 Thread James Carman
w customer and copies all fields from > the DTO. > > But then again, maybe this is overcomplicating things. DDD seems like 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, schr

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" wrote: > Hi All, > > I have an architectural question about wicket, DDD and the service layer. > > Let's say we have a simple JPA entit

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 wrote: > Yes the page has lot of

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 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 modal window to

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 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 P

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" 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 ne

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" wrote: > Filters work just fine. Did you set > > com.ibm.ws.webcontainer.invokefilterscompatibility= true > In your web containers custom properties? > >

Re: Wicket spring security sample app

2012-01-20 Thread James Carman
natype.org/content/repositories/snapshots was cached in the > local repository, resolution will not be reattempted until the update > interval of sonatype-nexus-snapshots has elapsed or updates are forced -> > [Help 1] > > > brian > > On Wed, Jan 18, 2012 at 06:58:08AM

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 wrote: > I don't know if the plugin is turned on for the example applica

Re: Wicket spring security sample app

2012-01-18 Thread James Carman
I don't know if the plugin is turned on for the example application. But, you'd need to make sure you are in the example module before you try. On Wed, Jan 18, 2012 at 1:15 AM, Brian Lavender wrote: > On Sun, Jan 15, 2012 at 12:36:48PM +0200, Martin Grigorov wrote: >> See https://github.com/jwcar

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" wrote: > Write you own model: > > public class PropertiesModel extends AbstractReadOnlyModel { > > private Properties properties; > > private String key; > > // constructor ... > > public String getObject() { >return properties.get(k

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 wrote: > On Sat, Dec 17, 2011 at 12:58 AM, Dan Retzlaff wrote: >> Yes, that broke our app dur

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" 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 got a question

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" 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 > wrote: > > > Hi Dan, > > > > As

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" 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 > your onClick(). Ot

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" 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 > problem > is,

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" 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 > problem > is,

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" wrote: > On Mon, Nov 28, 2011 at 4:31 AM, James Carman > wrote: > > Or use a request cycle listener to be more portable. > > request cycle listeners are available since Wicket 1.5 > lookin

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" wrote: > On Sun, Nov 27, 2011 at 9:14 PM, nazeem wrote: > > > In the server side, i need to know who is performing this action to do > > auditing and other related services. So I need to use a thread

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" 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 directly access t

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" 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 so, im creating

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 wrote: > Good evening fellow Wicketers, > > Do you know of any Wicket scaffolding component? I know about these two: > > http://wicketopia.sourceforge.net

Re: integrating CDI into Wicket

2011-11-16 Thread James Carman
t; On Wed, Nov 16, 2011 at 12:37 PM, James Carman > wrote: > > On Nov 16, 2011 11:49 AM, "Igor Vaynberg" > wrote: > >> > >> On Wed, Nov 16, 2011 at 3:49 AM, James Carman > >> wrote: > >> > The only thing "external" is the con

Re: integrating CDI into Wicket

2011-11-16 Thread James Carman
On Nov 16, 2011 11:49 AM, "Igor Vaynberg" wrote: > > On Wed, Nov 16, 2011 at 3:49 AM, James Carman > 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
Is the license compatible? I am actually going to roll my own in wicketopia. On Nov 16, 2011 6:59 AM, "Martin Grigorov" wrote: > On Wed, Nov 16, 2011 at 1:49 PM, James Carman > wrote: > > The only thing "external" is the conversation management stuff from &g

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 w

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. http://wicketopia.svn.sourceforge.net/svnroot/wicke

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" wrote:

Re: @AuthorizeAction multiple actions

2011-10-27 Thread James Carman
That's what I said! :) On Oct 27, 2011 8:44 AM, "Martijn Dashorst" wrote: > This should work I guess? > > > http://wicket.apache.org/apidocs/1.5/org/apache/wicket/authroles/authorization/strategies/role/annotations/AuthorizeActions.html > > Martijn > >

Re: @AuthorizeAction multiple actions

2011-10-27 Thread James Carman
He had different actions On Oct 27, 2011 7:32 AM, "Martin Grigorov" wrote: > On Thu, Oct 27, 2011 at 1:23 PM, nebojsa.nedic > wrote: > > Hello all, > > > > I would like to ask is it possible to add multiple authorize actions on > one > > class. > > > > It would mean that in case the user has rol

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, "nebojsa.

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 wrote: > James, > > Your metadata annotation is based on Metastopheles, but I can't find much > information about it. Do you have more infor

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 wrote: > Hello, > > I am familiar with w

[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-uns

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" wrote: > Here is a Maven command which will get you started: > > mvn archetype:generate -B > -DarchetypeCatalog= http

Re: WicketStuff artifacts naming strategy

2011-06-30 Thread James Carman
tstuff." > > I don't want to use that, it's too verbose. > > > *Bruno Borges* > www.brunoborges.com.br > +55 21 76727099 > > > > On Thu, Jun 30, 2011 at 12:06 PM, James Carman > wrote: > >> I haven't seen that syntax before of having the gro

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 wrote: > The preffix is 'wicketstuff-', not 'org.wicketstuff.' > > Is this ok? > > *Bruno Borges* > www.brunoborges.

Re: WicketStuff artifacts naming strategy

2011-06-28 Thread James Carman
orges* > www.brunoborges.com.br > +55 21 76727099 > > > > On Tue, Jun 28, 2011 at 8:02 PM, James Carman > wrote: > >> Sorry, hit send too soon. >> >> Are you changing artifact ids?  If you are, then Maven will think that >> it's something different

Re: WicketStuff artifacts naming strategy

2011-06-28 Thread James Carman
his might 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 wrote: > Are you changing artifact ids? > > On Tue, J

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 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

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" wrote: > I started to modify all JAR poms to have the wicketstuff- preffix. > > Is anybody against this? Why? > > :-) > > *Bruno Borges* > www.brunoborges.com

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 wrote: > any suggestions  ? > Email verfication  almost all aps needs this is there any gen

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 wrote: > Hi, > I found on google some solution for login with wicket: > > http://wicket.apache.org/learn/projects/

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 wrote: > I am creating an input field that should accept numbers only, so I defined my > TextField component as follow

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 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 palette > with a list

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 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 DropDownChoice as > poss

Re: need help using 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" wrote: > Wicket doesn't allow me to update a ListView object directly through ajax, it > suggests putting it in in a container. So I made 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 wrote: > I remov

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
Class hierarchy. On Thu, Jun 2, 2011 at 6:56 AM, James Carman wrote: > What is DetailsPage's hierarchy? > > On Thu, Jun 2, 2011 at 6:02 AM, henry wrote: >> hi guys am having some issues my code any help will do,am trying to add a >> link to my datatable >> firstl

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 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 , IModel entryModel)

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 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 configuration. > > In the code

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 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 maven3). > DOH! I didn't

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

2011-05-31 Thread James Carman
ew to wicketopia to see what 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 alrea

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 wrote: > Hi again, > > too many things are going on. But I don't want to lose the oportunity to > let people join or upgrade what we are buil

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ş : > Hi, > I wanted to use Spring AOP (3.0.5) with wicket (1.4.16). However, I got > java.io.NotSerializableException: > org.springframework.aop.aspectj.annotation.InstantiationModelAw

Re: Wicket / Hibernate / Databinder (dead?)

2011-05-28 Thread James Carman
Wicketopia doesn't require spring. On May 28, 2011 3:13 PM, "jbrookover" 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&

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 wrote: > Hey all, > > First off, apologies for a potential dual post - I used nabble and posted to > a super-level to this list. >

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 wrote: > Hi, > Have you called setType(Calendar.class) in your cu

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" 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 exception: >

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 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 after the redir

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 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 using it within th

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 wrote

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=140&view=markup http://wicketopia.svn.sourceforge.net/viewvc/wicketopia/trunk/wicketop

Re: New Website up using wicket

2011-05-16 Thread James Carman
On Mon, May 16, 2011 at 1:03 PM, Henrique Boregio 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: 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 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 > wrote: >>

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" 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 the JIRA issue: > > https:/

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, > eve

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 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 build a > panel to r

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 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 wicket question

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 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: > > everything wick

Re: DataTable's view does not always update

2011-05-02 Thread James Carman
ication with problem is having 404 on ajax calls > 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 > wrote: >> You are using a serv

Re: DataTable's view does not always update

2011-05-01 Thread James Carman
You are using a servlet instead of a filter, right? I don't see the entire conversation in my gmail, here, so I hope I didn't miss something. On Sun, May 1, 2011 at 9:51 PM, D D wrote: > I tried the setting with true and false settings. It still doesn't work. > > Here is Ajax Debug > INFO: Initi

  1   2   3   4   5   6   7   8   9   10   >