Re: Wicket generics?

2009-06-13 Thread James Carman
On Sat, Jun 13, 2009 at 9:25 AM, Martin Makundi wrote: >>> DropDownChoice dropDown = new DropDownChoice>> extends BaseClass>("id"); >> >> You can't instantiate with a wildcard type.  That's not allowed by the >> Java language. > > Ah yes... I'm getting confused myself. So the real problem is that I

Re: creating bookmarkablelink for email

2009-06-13 Thread James Carman
Use the urlFor() method. On Jun 13, 2009 9:16 AM, "Thomas Trocha" wrote: Hi there, how is it possible to create a bookmarkablelink so it can be set into an eMail. (e.g. as confirmation-link) I need something like .renderToString() or similar. Thx, ToM -

Re: conditional redirect page

2009-06-16 Thread James Carman
The response page is already being rendered. That's why it's being instantiated. On Tue, Jun 16, 2009 at 4:07 PM, Martin Makundi wrote: > > I use setResponsePage. > > If there was no other way, I would do RFE ;) > > ** > Martin > > 2009/6/16 Jeremy Thomerson : > > suggest a better way > > > > --

Re: Re: DAO not getting injected, using springbean

2009-06-16 Thread James Carman
You shouldn't use @SpringBean in your spring-managed beans, only in your Wicket code. You don't want view-specific code in your "domain" code. On Tue, Jun 16, 2009 at 4:17 PM, Bruce McGuire wrote: > > Hi Martijn. > > Thanks for the quick response. > > Are you saying that the dao and the service

Re: Re: Re: DAO not getting injected, using springbean

2009-06-16 Thread James Carman
classes, > use the normal xml injection method and get/set to get the dao into the > service class. > > Is this a correct interpretation? > > Thanks, > > Bruce. > > James Carman wrote: > >> You shouldn't use @SpringBean in your spring-managed beans, only

Re: Re: Re: Re: DAO not getting injected, using springbean

2009-06-17 Thread James Carman
ged with @Service, Daos are tagged with >> @Component("xxxDaoImpl"), Wicket web pages have @SpringBean >> (name="") >> >> Within the ServiceImpl, the Daos are tagged with @Autowired. >> >> No other xml config, setter, getter for daos etc. >

Re: ALT tags within an ImageMap

2009-06-17 Thread James Carman
You might want to try my ClientSideImageMap class: https://issues.apache.org/jira/browse/WICKET-1936 It's a bit more flexible than the existing implementation (and it'll support what you're wanting to do). The existing client side image map just

Re: Conversation scope in wicket

2009-06-17 Thread James Carman
There are a few folks working on implementing JSR-299 support for Wicket, which would provide support for conversation-scoped beans. I'm working on one currently and I believe that the jboss folks have one working too. On Thu, Jun 18, 2009 at 12:08 AM, Joe Fawzy wrote: > Hican this functionalit

Re: Conversation scope in wicket

2009-06-17 Thread James Carman
On Thu, Jun 18, 2009 at 12:38 AM, Igor Vaynberg wrote: > > you are free to implement this as an open source addition to wicket. > there is wicketstuff or googlecode or sf.net where you can host it. > > wicket is a ui framework and conversational scope management falls > outside wicket's scope. it

Re: Conversation scope in wicket

2009-06-17 Thread James Carman
I will. I'm just keeping notes on what all listeners I'd like to see. :) On Thu, Jun 18, 2009 at 1:08 AM, Igor Vaynberg wrote: > jira it up. > > -igor > > On Wed, Jun 17, 2009 at 9:44 PM, James > Carman wrote: >> On Thu, Jun 18, 2009 at 12:38 AM, Igor Vaynber

Re: Conversation scope in wicket

2009-06-18 Thread James Carman
On Thu, Jun 18, 2009 at 7:07 AM, Carl-Eric Menzel wrote: > > +1 > > I fully agree. Conversation scope is a kludge for a broken model, and in > the end nothing more than a specialized form of global variables. To which model are you referring? > > Just put your state into the appropriate page or

Re: Conversation scope in wicket

2009-06-18 Thread James Carman
On Thu, Jun 18, 2009 at 7:46 AM, Carl-Eric Menzel wrote: > Then you already have an object that your components can work on. Put > that in a Wicket model and enjoy. My point is this: You either have > existing business code that supports conversations - then you don't need > Wicket conversations,

Re: Conversation scope in wicket

2009-06-18 Thread James Carman
On Thu, Jun 18, 2009 at 8:27 AM, Carl-Eric Menzel wrote: > > The idea of a "conversation" has been around for a long time.  It's > > called a stateful session bean. > > You have a point there. But I think this is all provided by Wicket > already - You have components and models that perfectly enca

Re: default integer form values

2009-06-18 Thread James Carman
so, it's 0 On Thu, Jun 18, 2009 at 10:48 AM, Bas Vroling wrote: > It is an unitialized int (private int residueNumber;) > > On 18 Jun, at 16:46, Per Lundholm wrote: > >> What is the initial value of "residueNumber"? >> >> /Per >> >> On Thu, Jun 18, 2009 at 3:35 PM, Bas Vroling wrote: >>> >>> I hav

Re: Conversation scope in wicket

2009-06-18 Thread James Carman
JSR-299 is somewhat of a moving target right now, so it's hard to stay up-to-date with it. I'm mainly working with the OpenWebBeans folks on it. On Thu, Jun 18, 2009 at 2:03 PM, Joe Fawzy wrote: > > Hi all > > On Thu, Jun 18, 2009 at 7:44 AM, James Carman > wrote: >

Re: Conversation scope in wicket

2009-06-19 Thread James Carman
27;s current work on the webbeans-wicket > integration (already contained in the webbeans preview) that you would write > your own? > > cheers, uwe. > > > On Thu, Jun 18, 2009 at 8:05 PM, James Carman > wrote: > >> JSR-299 is somewhat of a moving target right now, so it&

Re: JDeveloper - Can I get a show of hands?

2009-06-19 Thread James Carman
Absolutely not.  I don't know that I've even heard anyone say they're using it.  It's funny how management thinks they can make these sort of decisions for developers. I'd say stick with one of the top three (in my opinion), in this order: 1. IntelliJ IDEA 2. Eclipse 3. Netbeans On Thu, Jun

Re: Hibernate Transactions and Wicket

2009-06-19 Thread James Carman
The only changes that will be persisted to the database are ones that go on within a transaction.  So, do all of your work in transactional methods (in spring-managed beans), but leave your session open for the entire request so that you can traverse relationships if necessary. On Fri, Jun 19, 200

Re: [announce] Wicket 1.4-RC5 released

2009-06-19 Thread James Carman
Only problem I'm having with 1.4-rc5 seems to be some JavaScript incompatibilities. I had to clear my cache to get some of my ajax stuff working again. :( Guess I'll have to make sure I tell my customers. On Fri, Jun 19, 2009 at 3:10 AM, Paul Szulc wrote: >> >> >> besides that it's great to see

Re: JDeveloper - Can I get a show of hands?

2009-06-19 Thread James Carman
+1 on using Maven.  Most folks at our job site use eclipse, but I'm an IntelliJ junkie (they got me hooked many years ago and I can't break free).  For the most part, we don't have issues between environments, provided folks have their plugins set up correctly. On Fri, Jun 19, 2009 at 6:39 AM, Mar

Re: Creating a form dynamically

2009-06-19 Thread James Carman
You could use Velocity to dynamically build your markup. On Fri, Jun 19, 2009 at 10:10 AM, Ryan LaHue wrote: > I'm trying to build a form dynamically and am having a little problem. > Basically I have a class that takes a List and then passes > them into a ListView for display on screen.  The prob

Re: [announce] Wicket 1.4-RC5 released

2009-06-19 Thread James Carman
Is it turned on by default? I don't think I changed anything with respect to that setting. On Fri, Jun 19, 2009 at 9:33 AM, Johan Compagner wrote: > or add the lastmodifiedtimestamp to your resources (thats a wicket setting) > > On Fri, Jun 19, 2009 at 12:32, James Carman >

Re: [announce] Wicket 1.4-RC5 released

2009-06-19 Thread James Carman
I assume that's getResourceSettings().setAddLastModifiedTimeToResourceReferenceUrl(true)? On Fri, Jun 19, 2009 at 11:04 AM, Johan Compagner wrote: > no but you can turn it on. > Then these problems are not an issue. > > On Fri, Jun 19, 2009 at 16:14, James Carman >wrote: &

Re: [announce] Wicket 1.4-RC5 released

2009-06-19 Thread James Carman
So, if this can cause crazy problems like that, why is it off by default? I didn't see any justification (or that it was off by default for that matter) in the javadocs. On Fri, Jun 19, 2009 at 11:19 AM, Johan Compagner wrote: > > yes > > On Fri, Jun 19, 2009 at 17:07, Jame

Re: JDeveloper - Can I get a show of hands?

2009-06-19 Thread James Carman
hope) that most of these questions have easy answers, but > I'm just not finding a lot of relevant online > documentation/discussion. Most of the JDeveloper web app documentation > is focused on EJBs or basic Servlet/JSP-based apps. > > > On Fri, Jun 19, 2009 at 3:53 AM, James >

Re: Hibernate Transactions and Wicket

2009-06-19 Thread James Carman
rnate > sessions. It is by no means a new issue, but I think it can confuse > first time users of LDMs. > > -Ryan > > On Fri, Jun 19, 2009 at 06:30:14AM -0400, James Carman exclaimed: > >>The only changes that will be persisted to the database are ones that >>go on

Re: JDeveloper - Can I get a show of hands?

2009-06-19 Thread James Carman
+1 to sqldeveloper (java or native). For developers (not DBAs), it's a very nice tool and does what you need for the majority of the cases. On Fri, Jun 19, 2009 at 11:28 PM, Vasu Srinivasan wrote: > JDeveloper is good to target a narrow Oracle infrastructure. We use it for > Oracle soa suite, a

Re: JDeveloper - Can I get a show of hands?

2009-06-20 Thread James Carman
n Sat, Jun 20, 2009 at 1:04 PM, Scott Swank wrote: > And if you're an Oracle DBA your main tool is called "SQL Plus". > > On Fri, Jun 19, 2009 at 8:58 PM, James > Carman wrote: > > +1 to sqldeveloper (java or native). For developers (not DBAs), it's a >

Re: Wicket + Spring DM + Hibernate

2009-06-21 Thread James Carman
You can't use @SpringBean? On Sun, Jun 21, 2009 at 11:03 AM, Daniel Dominik Holúbek wrote: > Hello everyone :)So, I solved the Spring DM problems successfully... but > there is still one problem left, and this time I am absolutely sure that > it's a Wicket related problem :) > > I want to inject m

Re: ModalWindow.setResizable(false) no longer works in 1.4-rc5?

2009-06-21 Thread James Carman
The 1.4 release is all about "genericizing" Wicket. If you've got a regression like this, it's probably not supposed to be happening. I would file a JIRA and attach a quickstart. On Sun, Jun 21, 2009 at 11:21 AM, Marcin Palka wrote: > Hi, > > I migrated my application from 1.4-rc1 to 1.4-rc5 and

Re: Wicket + Spring DM + Hibernate

2009-06-21 Thread James Carman
lication's init method and then run the application, the only thing I > get is this exception:  java.lang.IllegalStateException: No > WebApplicationContext found: no ContextLoaderListener registered? > > But if there is a way how to set up that listener, I would be happy :) > >

Re: Wicket + Spring DM + Hibernate

2009-06-22 Thread James Carman
> can't build ApplicationContext, as it is built by Spring DM Extender. Am I > right? > > On Mon, Jun 22, 2009 at 12:37 AM, James Carman > wrote: > >> Try using the other SpringComponentInjector constructor (the one that >> takes an ApplicationContext object).  Const

Re: Wicket + Spring DM + Hibernate

2009-06-22 Thread James Carman
On Mon, Jun 22, 2009 at 11:11 AM, Daniel Dominik Holúbek wrote: > I don't know :)I can create a Spring bean from Application object, but I > don't know what does it mean - make it context "aware". > That's why I am asking whether somebody has already tried this... Have your application class imple

Re: Wicket + Spring DM + Hibernate

2009-06-22 Thread James Carman
That's what I'd try, perhaps. How are you starting this application? Only in eclipse? On Mon, Jun 22, 2009 at 11:09 AM, Daniel Dominik Holúbek wrote: > Well, I don't know :)I > > On Mon, Jun 22, 2009 at 12:32 PM, James Carman > wrote: > >> Can you have your Ap

Re: Wicket + Spring DM + Hibernate

2009-06-22 Thread James Carman
< >> dankodo...@gmail.com> wrote: >> >>> For now, only in eclipse. But when it goes to production (or further >>> testing) it will run in equinox bridge. >>> >>> >>> On Mon, Jun 22, 2009 at 5:14 PM, James Carman < >>> jcar...@c

Re: Wicket + Spring DM + Hibernate

2009-06-22 Thread James Carman
Sorry, that's IWebApplicationFactory, not IWicketApplicationFactory. Long day. On Mon, Jun 22, 2009 at 5:05 PM, James Carman wrote: > You will probably need to make your application class a singleton > (with a getInstance() method and stuff) and specify that in the spring >

Re: Dirty read/edit problem.

2009-06-22 Thread James Carman
With optimistic locking, there's no real way to know that someone else is "thinking" about editing something. As Scott said, I think you want pessimistic locking. On Mon, Jun 22, 2009 at 7:24 PM, satar wrote: > > Hum, I may not have a complete understanding of optimistic locking. Bottom > line

Re: Dirty read/edit problem.

2009-06-22 Thread James Carman
If it's fairly unlikely that two people would be editing the same record at the same time, then it's probably okay to go with optimistic locking. On Mon, Jun 22, 2009 at 8:41 PM, satar wrote: > > Yep, that is what I thought from the reading I have done. I think I will do > it the way I have in t

Re: Wicket + Spring DM + Hibernate

2009-06-23 Thread James Carman
On Tue, Jun 23, 2009 at 4:05 AM, Daniel Dominik Holúbek wrote: > > Okay, but I still don't understand the reason of doing this stuff :)I've > already created the Application bean, and implemented > ApplicationContextAware. > Then the setApplicationContext method gets called, so I created > Applict

Re: Wicket + Spring DM + Hibernate

2009-06-23 Thread James Carman
On Tue, Jun 23, 2009 at 8:26 AM, Daniel Dominik Holúbek wrote: > > I appreciate your help, of course :)You know, I'm trying to create a web app > consisting of independent modules. Then if I change something in one module, > I don't have to redeploy whole application. > This can be achieved of cou

Re: Wicket + Spring DM + Hibernate

2009-06-23 Thread James Carman
ff so that we can avoid some headaches for you. :) On Tue, Jun 23, 2009 at 11:21 AM, Daniel Dominik Holúbek < dankodo...@gmail.com> wrote: > Yes, that's the way it's meant to work :) > > On Tue, Jun 23, 2009 at 3:25 PM, James Carman > wrote: > > > On Tue, Jun 2

Re: the preferred way to inject to model objects

2009-06-25 Thread James Carman
You could use Salve (beat you to it, Igor!).  Or, you can use AspectJ along with @Configurable/@Autowired.  The reason we have to use @SpringBean and not @Configurable in Wicket is that usually the reference to the injected bean is "passed around" to other places. Spring doesn't handle the deserial

Re: Dirty read/edit problem.

2009-06-25 Thread James Carman
The lock "table" is in-memory, so no need to clear on startup. On Thu, Jun 25, 2009 at 4:36 AM, Adrian Merrall wrote: > You probably also want to use a session listener to clear any left over > locks when a session is destroyed. If you are storing the locks in the db > it would be a good idea to

Re: ExternalLink via AjaxLink

2009-06-26 Thread James Carman
If you're trying to do a client-side image map, you might try my ClientSideImageMap class available as an attachment in JIRA: https://issues.apache.org/jira/browse/WICKET-1936 With it, you can "attach" an ExternalLink to an area within the image. On Fri, Jun 26, 2009 at 5:49 PM, Shun Jie Lau wro

Re: Possible to retrieve previous page from PageMap

2009-06-29 Thread James Carman
Just copy PageReference. That's what we did. On Mon, Jun 29, 2009 at 5:59 PM, kar...@sf wrote: > > Hello, > > I have implemented Carlo's approach in my base page and wrapped methods > around it to create page parameters and redirect to the previous page. Thank > you for this contribution. > > Eve

Re: virues scanning for file upload

2009-07-02 Thread James Carman
What OS? Windoze? Linux? On Thu, Jul 2, 2009 at 11:00 AM, tubin gen wrote: > we need to implement virues scanning functionality for uploded files > and reject in case of virues.Please suggest what choices i have and are > there any example ? >

Re: Wicket behind proxy (AJP)

2009-07-02 Thread James Carman
I don't think ProxyPass supports the "/" path, does it? At least, it didn't back when I wanted to set my site up like that. What I had to do was put a dummy HTML page in there with a refresh directive to make it go to: http://mysite/mywicketapp On Thu, Jul 2, 2009 at 2:27 PM, Sergey Podatelev w

Re: virues scanning for file upload

2009-07-06 Thread James Carman
Well, ClamAV is a free virus scanner for linux. Perhaps you could try to figure out how to use it? On Mon, Jul 6, 2009 at 10:47 AM, fachhoch wrote: > > any suggestions on this ? > > fachhoch wrote: > > > > What OS? Linux > > > > > > > > J

Re: Strange behaviour using ComponentFeedbackPanel

2009-07-07 Thread James Carman
Perhaps there is a different error on the page? On Tue, Jul 7, 2009 at 7:37 AM, Filippo Bonsignori < filippo.bonsign...@logobject.ch> wrote: > Hi all, > I'm developing on Wicket 1.4-rc4 and I'm obtaining a strange behaviour > using the ComponentFeedbackPanel: the message is not shown in the > bro

Re: Using Converter with DropDownChoice

2009-07-07 Thread James Carman
Try using an IChoiceRenderer rather than a converter. On Tue, Jul 7, 2009 at 7:45 AM, Christoph Drießen wrote: > Hi all, > > I'm trying to use a Converter with a DropDownChoice overriding the > getConverter(Class type) method. Unfortunately this method never gets > called. > Any ideas? > > Chris

Re: Strange behaviour using ComponentFeedbackPanel

2009-07-07 Thread James Carman
Yes, the response page. If you put a regular FeedbackPanel on the page, how many messages does it show? On Tue, Jul 7, 2009 at 9:22 AM, fbonsignori wrote: > > > James Carman-3 wrote: > > > > Perhaps there is a different error on the page? > > > > Are you mea

Re: Using Converter with DropDownChoice

2009-07-07 Thread James Carman
choice is connected to the model object through a > PropertyModel. > > Cheers, > c > > > Am 07.07.2009 um 14:01 schrieb James Carman: > > > Try using an IChoiceRenderer rather than a converter. >> >> On Tue, Jul 7, 2009 at 7:45 AM, Christoph Drießen wrote: >&g

Re: Prefill form not model?

2009-07-07 Thread James Carman
On Tue, Jul 7, 2009 at 10:51 AM, Martin Makundi < martin.maku...@koodaripalvelut.com> wrote: > > Typically to prefill a form you have the backing model object have > > sensible defaults. i.e., a form that edits a person is given a > > person, and the person object has it's gender set to "male" as

Re: Strange behaviour using ComponentFeedbackPanel

2009-07-07 Thread James Carman
FeedbackPanel the error > message > is not shown and the reported warning is logged. > > > James Carman-3 wrote: > > > > Yes, the response page. If you put a regular FeedbackPanel on the page, > > how > > many messages does it show? > > > > -- >

Re: Using Converter with DropDownChoice

2009-07-07 Thread James Carman
uot;today" into a Date with > a renderer? Isn't the renderer just for rendering like it's name suggests? > Or am I missing something here? > > > Am 07.07.2009 um 16:32 schrieb James Carman: > > > So, why wouldn't a renderer work for you? You could u

Re: Prefill form not model?

2009-07-07 Thread James Carman
On Tue, Jul 7, 2009 at 10:59 AM, Martin Makundi wrote: > > The hack is cleaner In your opinion. Hibernate supports merging (if that's what you're using). Why not edit the object in a detached state (not in the session)? Then, when you want to update it, you call update()? If the edit never suc

Re: Strange behaviour using ComponentFeedbackPanel

2009-07-07 Thread James Carman
Right, basically Wicket is letting you know that you're ignoring an error message by not rendering it, meaning you may be losing out on valuable user feedback. On Tue, Jul 7, 2009 at 11:10 AM, fbonsignori wrote: > > Same behaviour. > > > James Carman-3 wrote: >> >&g

Re: Strange behaviour using ComponentFeedbackPanel

2009-07-07 Thread James Carman
Panel the message is not shown with warning and instead > using a FeedbackPanel the behaviour is as expected? It seems that using > ComponentFeedbackPanel the html code required to show the feedback message > is not correctly generated. > > > > James Carman-3 wrote: >> >&

Re: Strange behaviour using ComponentFeedbackPanel

2009-07-07 Thread James Carman
On Tue, Jul 7, 2009 at 11:55 AM, fbonsignori wrote: > > So you are suggesting me that the warning message > > "Component-targetted feedback message was left unrendered. This could be > because you are missing a FeedbackPanel on the page.  Message: > [FeedbackMessage message = "Not yet implemented!"

Re: Strange behaviour using ComponentFeedbackPanel

2009-07-07 Thread James Carman
No problem at all. Glad we got it sorted out finally. Happy Wicketeering! On Tue, Jul 7, 2009 at 12:39 PM, fbonsignori wrote: > > I'm sorry ... I had just put the wrong component in the > ComponentFeedbackPanel constructor! > > Thnx a lot for your help. > > > Ja

Re: 1.4 trunk broken?

2009-07-08 Thread James Carman
Have we fixed this? I'm getting the same error. On Wed, Jun 17, 2009 at 3:00 PM, Stefan Lindner wrote: > The problem occurs when I klicked around on a page an then deploy a new > version of the app. > When I klick on a page link now then the error occurs. In former trunk > versions and all form

Re: 1.4 trunk broken?

2009-07-08 Thread James Carman
er an "official" 1.4 release). For now, we're going to back out to 1.4-rc4. On Wed, Jul 8, 2009 at 7:34 AM, Johan Compagner wrote: > i think in trunk it should be fixed. > > On Wed, Jul 8, 2009 at 13:20, James Carman > wrote: > >> Have we fixed this?  I'm

Re: Wicket 1.4RC6 NoSuchMethodError

2009-07-08 Thread James Carman
Did you not re-compile your code? You might have to. The signature of the method has changed. It used to take Component, but now it takes "Component..." (varargs). On Wed, Jul 8, 2009 at 10:45 AM, Joshua Martin wrote: > Runtime... > > > On Wed, Jul 8, 2009 at 10:44 AM, Martin > Makundi wrote: >

Re: Wicket 1.4RC6 NoSuchMethodError

2009-07-08 Thread James Carman
It wasn't much time. :) No worries. On Wed, Jul 8, 2009 at 11:11 AM, Joshua Martin wrote: > That's gotta be one of the dumbest mistakes I've ever made! Simply did > a Clean and Build in NetBeans and it redeployed perfectly! > > My apologies for wasting your time... > > -- > __

Re: 1.4 trunk broken?

2009-07-08 Thread James Carman
berg wrote: > you can always build your own jar from trunk > > -igor > > On Wed, Jul 8, 2009 at 4:43 AM, James > Carman wrote: >> Yeah, there was a message that just sent out about it.  It's >> WICKET-2346.  When can we expect a new release?  This is a nasty bug &g

Re: Wicket's @SpringBean and the "autowire-candidate" annotation

2009-07-09 Thread James Carman
How do you propose that we get at that information? I took a look around, but didn't see anything like an isAutowireCandidate(String beanName) method. On Thu, Jul 9, 2009 at 3:48 AM, Ben Hutchison wrote: > Currently, when injecting Spring autowired dependencies via @SpringBean, > Wicket's Spring

Re: Session timeout too short?

2009-07-09 Thread James Carman
I've seen this behavior too. My customers complain about their sessions timing out too quickly. I raised the setting, but we're still seeing problems. I'll try to add a listener, too. On Thu, Jul 9, 2009 at 11:31 AM, Igor Vaynberg wrote: > sounds like tomcat is expiring the sessions early. i wo

Re: Dynamic links in inmethod DataGrid

2009-07-10 Thread James Carman
Tell the label to render its body only. On Fri, Jul 10, 2009 at 5:08 AM, De Soza, Jean-Pierre wrote: > Hello, > > I'm facing a very specific issue with Links in a cell of the inmethod DatGrid: > > -        If I use a link with a static text next to a label with a variable > text, the link works p

Re: model detached many times

2009-07-10 Thread James Carman
Perhaps there could be some sort of registry for models that need to be detached. Then, after rendering, they're all detached as part of the request cycle? On Fri, Jul 10, 2009 at 4:00 AM, Martijn Dashorst wrote: > If you share a model between components, then yes–each component will > call detac

Re: Dynamic links in inmethod DataGrid

2009-07-10 Thread James Carman
lso like to add another variable in the picture... In fact, the link > does work, but only with Firefox, not with IE7, and I unfortunately need to > support both. > > > James Carman-3 wrote: >> >> Tell the label to render its body only. >> > > -- > View t

Re: model detached many times

2009-07-10 Thread James Carman
horst wrote: > Automatic detachment is one of the things we're looking into for 1.5 or 1.6 > > Martijn > > On Fri, Jul 10, 2009 at 12:47 PM, James > Carman wrote: >> Perhaps there could be some sort of registry for models that need to >> be detached.  Then, after re

Re: How to throw new PageExpiredException?

2009-07-10 Thread James Carman
1.4-rc7 should fix this, no? On Fri, Jul 10, 2009 at 10:48 AM, Igor Vaynberg wrote: > you can try unwrapping the exceptions in > requestcycle.onruntimeexception and call super with the page exipred > exception. > > -igor > > On Fri, Jul 10, 2009 at 3:00 AM, Ann Baert wrote: >> Hello, >> >> How can

Re: How to setup QuickStart project being able useYUI menubar from Wicket stuff

2009-07-11 Thread James Carman
I thought someone said this was fixed in the latest version of the code. Are you using the "trunk" version of YUI menu2? I had the same issues as you. On Sat, Jul 11, 2009 at 3:21 PM, Petr Fejfar wrote: >>   - Finally, if I run the QuickStart application the menu bar is >> shown, but there is no

Re: How to setup QuickStart project being able useYUI menubar from Wicket stuff

2009-07-12 Thread James Carman
t 6:52 AM, James > Carman wrote: > >> I thought someone said this was fixed in the latest version of the >> code.  Are you using the "trunk" version of YUI menu2?  I had the same >> issues as you. > > Yes, I downloaded wicketstuff from

Re: model detached many times

2009-07-13 Thread James Carman
to for 1.5 or >> 1.6 >> >> Martijn >> >> On Fri, Jul 10, 2009 at 12:47 PM, James >> Carman wrote: >>> Perhaps there could be some sort of registry for models that need to >>> be detached.  Then, after rendering, they're all detached as part

Re: model detached many times

2009-07-13 Thread James Carman
On Mon, Jul 13, 2009 at 7:32 AM, Erik van Oosten wrote: > So the best thing to do for now is to have some flag to see if you're > already detached. In getObject the flag is cleared. For most models however, > it should not matter if they're called multiple times; the typical thing you > do in detac

Re: Dynamic links in inmethod DataGrid

2009-07-14 Thread James Carman
The wicket:id attributes can be useful during development. They're automatically stripped in "deployment" mode. You might also want to turn on the setting that tells Wicket to spit out the component path. On Mon, Jul 13, 2009 at 5:55 PM, satar wrote: > > James, is this similar to calling > getMa

Re: Problem with AjaxFallbackDefaultDataTable in 1.4-SNAPSHOT wicket-1.4-20090709.154646-550.jar [SEC=UNCLASSIFIED]

2009-07-14 Thread James Carman
There's a built-in component for toggling check boxes in a check group. On Mon, Jul 13, 2009 at 7:04 PM, wrote: > Hello. > > I'm attempting a simple AjaxFallbackDefaultDataTable with using > 1.4-SNAPSHOT and the wicket-1.4-20090709.154646-550.jar and > wicket-extensions-1.4-20090709.154646-542.ja

Re: problem with pagination when hibernate result transformer is applied

2009-07-22 Thread James Carman
Do a different query to ask how many there are than the one you use to return the data. On Wed, Jul 22, 2009 at 11:10 AM, tubin gen wrote: >   I am using hibernate criteria query to get data for my > AjaxFallbackDefaultDataTable, this datatable also  gives me pagination > parameters which I am app

Re: [ANN] wicket-tree project

2009-07-25 Thread James Carman
So is the project a war (since it runs with jetty:run)? Wouldn't that make it hard to use in other projects? On Jul 25, 2009 6:18 PM, "Major Péter" wrote: Cool, that was exactly, what I was looking for. Thanks. Peter 2009-07-26 00:06 keltezéssel, Sven Meier írta: > > Hi Peter, > >> // at the

Re: Thanks Wicket-Team!

2009-07-28 Thread James Carman
Good work. Now, if I can only learn wicket as well as you have! :) On Tue, Jul 28, 2009 at 7:01 AM, Oliver Krohne wrote: > Hi, > > Many thanks to the Wicket-Team for the great Framework and > of course for the support I have received from the mailinglist. > > I started with zero-Wicket knowledge

Re: Apache Wicket 1.4 takes type safety to the next level

2009-07-30 Thread James Carman
Congrats, Wicket team! Another great milestone. Keep up the good work! On Thu, Jul 30, 2009 at 6:54 AM, Martijn Dashorst wrote: > The Apache Wicket project is proud to announce the release of Apache > Wicket 1.4. Apache Wicket is an open source, component oriented Java > web application framewor

Re: Form skips validation for disabled/not visible components

2009-08-03 Thread James Carman
And, if you want to display the currently-selected "thing", then try using a label (with a little style to it perhaps). On Mon, Aug 3, 2009 at 11:23 AM, Igor Vaynberg wrote: > use HiddenField instead of a TextField, that way there is no need to disable > it. > > then the textfield/lookup button c

Re: SVN URL for Wicket 1.4.0 sources?

2009-08-04 Thread James Carman
That's not exactly fixing it, Martijn. The version in the pom still says "SNAPSHOT." What did you do, copy trunk? Who cut this release? There should be a tag available to re-create every release. I don't see tags for the last couple of rcs either. This is quite a big no-no in Apache Land. On

Re: SVN URL for Wicket 1.4.0 sources?

2009-08-04 Thread James Carman
On Tue, Aug 4, 2009 at 4:25 AM, Martijn Dashorst wrote: > I beg to differ: the way it is currently setup is the way we have done > it since inception of wicket. No, I beg to differ. You haven't been doing it that way. Take a look at: http://svn.apache.org/repos/asf/wicket/tags/wicket-1.3.6/pom.

Re: SVN URL for Wicket 1.4.0 sources?

2009-08-04 Thread James Carman
And each release gets its own release branch. > > I'm not sure why you are barking up the tree though. > > Martijn > > On Tue, Aug 4, 2009 at 10:32 AM, James > Carman wrote: >> On Tue, Aug 4, 2009 at 4:25 AM, Martijn >> Dashorst wrote: >>> I beg to diffe

Re: SVN URL for Wicket 1.4.0 sources?

2009-08-04 Thread James Carman
else that is specific for a release is in the release >> branch. And each release gets its own release branch. >> >> I'm not sure why you are barking up the tree though. >> >> Martijn >> >> On Tue, Aug 4, 2009 at 10:32 AM, James >> Carman wrote:

Re: SVN URL for Wicket 1.4.0 sources?

2009-08-04 Thread James Carman
You aren't *supposed* to commit to tags, though. On Tue, Aug 4, 2009 at 5:00 AM, Martijn Dashorst wrote: > I can commit to a tag just as good as to the release branch. There is no > spoon. > > Martijn > > On Tue, Aug 4, 2009 at 10:56 AM, James > Carman wrote: >>

Re: SVN URL for Wicket 1.4.0 sources?

2009-08-04 Thread James Carman
proach, however, isn't usually necessary. If a user accidentally commits a change to a tag directory, you can simply undo the change as discussed in the previous section. This is version control, after all!" On Tue, Aug 4, 2009 at 5:02 AM, James Carman wrote: > You aren't *supposed*

Re: SVN URL for Wicket 1.4.0 sources?

2009-08-04 Thread James Carman
On Tue, Aug 4, 2009 at 5:00 AM, Martijn Dashorst wrote: > I can commit to a tag just as good as to the release branch. There is no > spoon. You're not answering the question, either. You haven't shown me how you would easily re-create the released software as it was when it was released with you

Re: SVN URL for Wicket 1.4.0 sources?

2009-08-04 Thread James Carman
On Tue, Aug 4, 2009 at 5:05 AM, Martijn Dashorst wrote: > We create a branch of off trunk for future maintenance of wicket 1.4, > not from a release branch. > > wicket/branches/wicket-1.3.x  -> created from wicket/trunk when we > moved 1.3 to maintenance mode > wicket/branches/wicket-1.4.x -> will

Re: SVN URL for Wicket 1.4.0 sources?

2009-08-04 Thread James Carman
jn > > On Tue, Aug 4, 2009 at 11:02 AM, James > Carman wrote: >> You aren't *supposed* to commit to tags, though. >> >> On Tue, Aug 4, 2009 at 5:00 AM, Martijn >> Dashorst wrote: >>> I can commit to a tag just as good as to the release branch. There is no

Re: SVN URL for Wicket 1.4.0 sources?

2009-08-04 Thread James Carman
elease.sh > > there are no changes to the release after it has been created. A > social convention, just as tagging it. > > And this is the last thing I'll say about it. > > Martijn > > On Tue, Aug 4, 2009 at 11:10 AM, James > Carman wrote: >> On Tue

Re: SVN URL for Wicket 1.4.0 sources?

2009-08-04 Thread James Carman
dbox/ivaynberg/wicket-1.4.0 ? > > Martijn > > On Tue, Aug 4, 2009 at 12:33 PM, James > Carman wrote: >> Well, think about it this way.  In the original message in this >> thread, Thomas Singer went looking for the 1.4.0 release stuff at the >> URL: >> >> http://svn

Re: SVN URL for Wicket 1.4.0 sources?

2009-08-04 Thread James Carman
artijn > > On Tue, Aug 4, 2009 at 1:29 PM, James > Carman wrote: >> We shouldn't have to do this kind of research to know what's going on. >>  That's the whole point. >> >> On Tue, Aug 4, 2009 at 7:25 AM, Martijn >> Dashorst wrote: >>> WTF?

Re: SVN URL for Wicket 1.4.0 sources?

2009-08-04 Thread James Carman
On Tue, Aug 4, 2009 at 7:54 AM, Martijn Dashorst wrote: > We have documented, and established release procedures, which I > followed, and then I must jump to your bidding? Again, the point is that we shouldn't have to read the release procedures to find the release tags. Maven/Subversion folks ju

Re: strange icon appears in webpage

2009-08-04 Thread James Carman
Print out the character codes for each character in the string. Is it crlf? On Tue, Aug 4, 2009 at 11:14 AM, fachhoch wrote: > > this is happening only when deployed in unix in windows it is fine , I am > sure I am not using characters of any foreign language  , is there any > better way to  iden

Re: strange icon appears in webpage

2009-08-04 Thread James Carman
not typed in my editor , but why is this  happening only in unix > and not in windows , is there anything I have to configure in unix ? > > James Carman-3 wrote: >> >> Print out the character codes for each character in the string.  Is it >> crlf? >> >&

Re: ImageMap

2009-08-05 Thread James Carman
https://issues.apache.org/jira/browse/WICKET-1936 On Wed, Aug 5, 2009 at 4:13 PM, Stefan Lindner wrote: > Are there any plans to improve the current ImageMap implementation? My > problems are: > 1. The rendered HTML ist no valid XHTML. > 2. The constructor does not support a ResourceReference for

Re: ImageMap

2009-08-05 Thread James Carman
planst o support this? > > Stefan > > -Ursprüngliche Nachricht- > Von: James Carman [mailto:jcar...@carmanconsulting.com] > Gesendet: Mittwoch, 5. August 2009 22:26 > An: users@wicket.apache.org > Betreff: Re: ImageMap > > https://issues.apache.org/jira/browse/

<    5   6   7   8   9   10   11   12   13   14   >