Re: Question regarding Logging in Wicket

2009-11-18 Thread James Carman
Commons Logging? On Wed, Nov 18, 2009 at 11:11 PM, Lester Chua cicowic...@gmail.com wrote: Hi, I'm using log4j as my logging tool. But when I add log4j loggers into my components, I get serialization issues. Wicket gives serialization errors because of the logger. E.g. class SomeForm

Re: Question regarding Logging in Wicket

2009-11-18 Thread James Carman
this). Thanks! Lester James Carman wrote: Commons Logging? On Wed, Nov 18, 2009 at 11:11 PM, Lester Chua cicowic...@gmail.com wrote: Hi, I'm using log4j as my logging tool. But when I add log4j loggers into my components, I get serialization issues. Wicket gives serialization

Re: Wicket + Spring + Hibernate - Wicket-In-Action

2009-11-17 Thread James Carman
On Mon, Nov 16, 2009 at 12:38 PM, Jeffrey Schneller jeffrey.schnel...@envisa.com wrote: Also how would one move the configuration of the jdbc connection to code?  It is desirable to db connection information reside at the server level so when deploying code from dev to stage to production, you

Re: Modal window (1.4.1) and IE - Slow load times

2009-11-15 Thread James Carman
I had some trouble with slow load times for modal windows. Have you tried upgrading to 1.4.3 to see if they fixed it? I seem to remember them putting something in there to address the issue. On Sun, Nov 15, 2009 at 4:08 PM, Ed _ ed_b...@hotmail.com wrote: Not too many. but is heavy on

Re: Modal window (1.4.1) and IE - Slow load times

2009-11-14 Thread James Carman
Does your page have a lot of links on it? On Sat, Nov 14, 2009 at 6:36 PM, Ed _ ed_b...@hotmail.com wrote: Hi, I am using version 1.4.1 of wickets. P Contents of a Modal Window take extremely long time upto 10-20 sec to load on Internet Explorer 8.  FireFox or Chrome on the same machine

Re: EntityModel

2009-11-12 Thread James Carman
You still have to use @SpringBean with the injector. @SpringBean tells the injector where to inject things. On Thu, Nov 12, 2009 at 3:10 AM, Sam Barrow s...@sambarrow.com wrote: Oh okay. I've been trying to use @SpringBean which of course didn't work because EntityModel is not a component.

Re: Wicket Spring API docs?

2009-11-12 Thread James Carman
Not everyone wants to use the source code all the time to figure out what's going on. Sometimes it's just nicer to just look at the javadocs online. They used to all be merged together. Is that not going to happen anymore? On Thu, Nov 12, 2009 at 3:16 PM, Igor Vaynberg igor.vaynb...@gmail.com

Re: Wicket Spring API docs?

2009-11-12 Thread James Carman
I really like the hierarchy view. When you want to know what classes are out there that implement a certain interface and how they relate to one another, that comes in very handy. On Thu, Nov 12, 2009 at 3:42 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: your IDE is much better at browsing

Re: another serialization question

2009-11-11 Thread James Carman
(impossible in some places). No point in loading something you know all the attributes of. The only way to get them reliably is to call ResearchItemGenerationService.generateResearchItems() -Original Message- From: James Carman jcar...@carmanconsulting.com Date: Wed, 11 Nov 2009... Subject: Re

Re: another serialization question

2009-11-10 Thread James Carman
ValueObjects (if you're following the design pattern) should be serializable. On Tue, Nov 10, 2009 at 10:03 PM, Sam Barrow s...@sambarrow.com wrote: One more question about serializing objects. I have a page in the application that I'm working on that calls an application service which

Re: another serialization question

2009-11-10 Thread James Carman
. On Tue, 2009-11-10 at 22:12 -0500, James Carman wrote: ValueObjects (if you're following the design pattern) should be serializable. On Tue, Nov 10, 2009 at 10:03 PM, Sam Barrow s...@sambarrow.com wrote: One more question about serializing objects. I have a page in the application that I'm

Re: another serialization question

2009-11-10 Thread James Carman
Message-- From: James Carman To: users@wicket.apache.org ReplyTo: users@wicket.apache.org Subject: Re: another serialization question Sent: Nov 10, 2009 11:39 PM Are you designing these value objects from scratch?  Do you have control over them?  Then, why are you averse to making them

Re: serialization

2009-11-09 Thread James Carman
It wouldn't matter because they're not injecting it into the components in any way. Notice they only call price.toString(). On Mon, Nov 9, 2009 at 3:25 PM, Michael Mosmann mich...@mosmann.de wrote: Am Montag, den 09.11.2009, 13:07 -0500 schrieb Sam Barrow: protected void populateItem(final

Re: How to get Session in Application

2009-11-07 Thread James Carman
Session.get()? http://wicket.apache.org/docs/1.4/org/apache/wicket/Session.html#get%28%29 In your custom session class, you can add your own get() method that returns your specific type: public static MySession get() { return (MySession)Session.get(); } Then, you don't have to cast:

Re: How to get Session in Application

2009-11-07 Thread James Carman
: you can only locate or create sessions in the context of a request cycle when I start the application. On Sat, Nov 7, 2009 at 7:38 PM, James Carman jcar...@carmanconsulting.com wrote: Session.get()? http://wicket.apache.org/docs/1.4/org/apache/wicket/Session.html#get%28%29 In your

Re: How to get Session in Application

2009-11-07 Thread James Carman
action) {         return session.auth(component,action)    }   public T extends Component boolean isInstantiationAuthorized(ClassT clazz) {        return session.auth(clazz);    } } ); On Sat, Nov 7, 2009 at 8:01 PM, James Carman jcar...@carmanconsulting.com wrote: What session

Re: How to get Session in Application

2009-11-07 Thread James Carman
Yes, it's just like servlet programming. You have to have an HttpServletRequest to get to the HttpSession. On Sat, Nov 7, 2009 at 8:05 AM, Haulyn R. Jason saharab...@gmail.com wrote: Thanks James, I works well,  that means no request, no session. On Sat, Nov 7, 2009 at 8:27 PM, James Carman

Re: dynamic components

2009-11-07 Thread James Carman
What determines which components will be on the form? On Sat, Nov 7, 2009 at 8:38 AM, Gw not4spamm...@gmail.com wrote: Hi people, Does anyone know how to dynamically add components to a form? The types and numbers of the components are arbitrary, and will be determined programmatically. In

Re: Serializable check

2009-11-05 Thread James Carman
Are you always retrieving the entire list? On Thu, Nov 5, 2009 at 11:25 PM, b...@actrix.gen.nz wrote: Igor, Creating the list of entities exclusively inside iterator() requires two database calls for retrieving a list for a single request, the additional call being required for the size()

Re: Bookmarkable images from db

2009-11-02 Thread James Carman
Just write a servlet (or Spring Web MVC handler). On Mon, Nov 2, 2009 at 10:52 AM, Peter Dotchev dotc...@gmail.com wrote: Hi Alex, I check SharedResources, but as I understand it I would have to add there a Resource object for each image. After checking again the javadoc there might be

Re: wicket + jdbc template app

2009-11-01 Thread James Carman
Do you want to use spring On Nov 1, 2009 10:12 AM, Ivan Dudko ivan.du...@gmail.com wrote: Hello, guys! I want to use wicket with plain jdbc without any persistence framework. Where i can find template application for this type of data source? Thank you for answer!

Re: Generate dynamic tables

2009-10-30 Thread James Carman
When you construct it, you give it a list of columns. If the columns need to change, just reconstruct it and replace it. On Fri, Oct 30, 2009 at 6:37 AM, vela vela@gmail.com wrote: Hello again, Could you tell how to add dynamic column in the DefaultDataTable -- View this message in

Re: Date format in DataTable

2009-10-30 Thread James Carman
We use the following class for date columns: import org.apache.wicket.WicketRuntimeException; import org.apache.wicket.extensions.markup.html.repeater.data.table.PropertyColumn; import org.apache.wicket.model.IModel; import org.joda.time.DateTime; import java.text.ParseException; import

Re: Generate dynamic tables

2009-10-29 Thread James Carman
You can use DefaultDataTable to achieve what you want. On Thu, Oct 29, 2009 at 8:42 AM, Pedro Santos pedros...@gmail.com wrote: Hi, I had written some doc on wiki: http://wicketstuff.org/confluence/display/STUFFWIKI/Table hope it is enough to you evaluate if is what you need on your project

Re: Any issues using @SpringBean in WebApplication

2009-10-28 Thread James Carman
On Wed, Oct 28, 2009 at 5:29 PM, Michael O'Cleirigh michael.ocleir...@rivulet.ca wrote: You could use the @Autowired Spring annotation and the  autowire=byType attribute to the bean definition to support autowiring to get the same effect as @SpringBean brings in Components. Not exactly,

Re: How to write HTML directly

2009-10-26 Thread James Carman
Yes add(new Label(output,h1Hello/h1)) returns this which is the current component/page. Then, you're calling setEscapeModelStrings(false) on that, which is not what you want. You want: add(new Label(output,h1Hello/h1).setEscapeModelStrings(false)); Igor's example had the double end parens

Re: Fw: new to wicket

2009-10-26 Thread James Carman
On Mon, Oct 26, 2009 at 5:24 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: use the maven quickstart on our webpage type mvn package and you will have a war file inside the target dir. And a bunch of source code you can tweak to your liking!

Re: Release 1.4.3

2009-10-26 Thread James Carman
It's there: http://repo1.maven.org/maven2/org/apache/wicket/wicket/1.4.3/ There was an announcement just recently. On Mon, Oct 26, 2009 at 10:48 PM, Marc-Andre Houle mho...@gmail.com wrote: Hello wicket user list, I would like to know when is suppose to happen the actual release of wicket

Re: Secured/Constraint IDataProvider and DropDownChoice choices

2009-10-21 Thread James Carman
Are you using Hibernate? If so, you could use filters. Also, Oracle has something built in that will automatically rewrite your queries for you based on the database user that's connected (most people don't use Oracle usernames to connect, though). On Wed, Oct 21, 2009 at 7:48 AM, Roman Ilin

Re: Model property name different than wicket:id, is possible?

2009-10-21 Thread James Carman
Do you have to use CompoundPropertyModel? Why not use explicit models instead? This is one reason why I don't like to use CompoundPropertyModels. On Tue, Oct 20, 2009 at 2:57 PM, Manuel Corrales manuelcorra...@gmail.com wrote: Hello. I have a (i hope) reusable panel. This panel has a

Re: Secured/Constraint IDataProvider and DropDownChoice choices

2009-10-21 Thread James Carman
On Wed, Oct 21, 2009 at 8:22 AM, Roman Ilin roman.i...@gmail.com wrote: Two questions: 1) why do you use thread local and don't store organization in session If you store it in your session, you have to mix your data access layer with your web layer. With thread-local variables, you don't (you

Re: css in DefaultDateTable

2009-10-18 Thread James Carman
Have you tried overriding the getCssClass() method on PropertyColumn (defined in AbstractColumn)? On Sun, Oct 18, 2009 at 6:04 AM, Per Newgro per.new...@gmx.ch wrote: Am i right here: you want to exchange the css class of an td to bring up your own layout? This seems heavyweight to me. Why not

Re: Transaction filters and redirection problem

2009-10-14 Thread James Carman
That's the problem with transaction-per-request. Why not put your transaction around your service/domain methods rather than around the entire request cycle? On Wed, Oct 14, 2009 at 5:19 AM, Iain Reddick iain.redd...@beatsystems.com wrote: For anyone in this situation (having to use a

Re: Transaction filters and redirection problem

2009-10-14 Thread James Carman
as transactional), so if we decide it's necessary it is reasonably trivial to implement. The main pro for per-request transactions is the complete seperation of transaction concerns. In the meantime I have a Filter-based solution, or I can hook into the wicket request cycle. iainr For now, James

Re: onComponentTagBody Behavior

2009-10-14 Thread James Carman
Use a wrapping model? On Wed, Oct 14, 2009 at 2:38 PM, Steve Lowery slow...@gatessolutions.com wrote: We have a component that extends Label we've written to replace the body of the component with N/A, unknown, or whatever resource we give it when its model object is null (by overriding

Re: Modular Application

2009-10-13 Thread James Carman
Is BasePage in your webapp module and you have other pages in other modules? If so, you're going to have a circular dependency. What you could do is set up a web-commons module which contains stuff like BasePage and have your other modules use that. Then, your web module declares all of them as

Re: Modular Application

2009-10-13 Thread James Carman
the same compilation error. To me its a bit odd that its the add method of WebPage that can't be found. On Tue, Oct 13, 2009 at 4:00 PM, James Carman jcar...@carmanconsulting.comwrote: Is BasePage in your webapp module and you have other pages in other modules?  If so, you're going to have

Re: How do you achieve persistency

2009-10-06 Thread James Carman
On Tue, Oct 6, 2009 at 11:05 AM, James Perry james.austin.pe...@gmail.com wrote: On a more serious note then perhaps just using raw JDBC if you are unsure of ORM concepts. Isn't that kind of like saying I suggest you walk everywhere you want to go if you're unfamiliar with how to drive a car?

Re: How do you achieve persistency

2009-10-06 Thread James Carman
On Tue, Oct 6, 2009 at 11:50 AM, Erik Post eriksen...@gmail.com wrote: That's fairly sound advice though, isn't it? And may I add may own two cents in suggesting iBatis if you prefer SQL to things like JPA or Hibernate? I don't know if I'd call it sound advice. Sure, walking can give you

Re: How do you achieve persistency

2009-10-06 Thread James Carman
On Tue, Oct 6, 2009 at 12:32 PM, dtoffe dto...@yahoo.com.ar wrote:    So our fast and easy way is to use code generation to get JDBC based DAOs that wrap the stored procs call. We even keep writing stored procs for new requirements, all our devs know SQL well and I don't believe we will gain

Re: How do you achieve persistency

2009-10-06 Thread James Carman
What about queries against your persistent storage tier? Wouldn't that be quite slow? On Tue, Oct 6, 2009 at 6:07 PM, Martijn Dashorst martijn.dasho...@gmail.com wrote: I would use the package names as directories and the class names as the inner most directory name (with a capital). This

Re: RE : Redirections and Reverse-Proxy

2009-09-28 Thread James Carman
Have you looked at: http://docs.codehaus.org/display/JETTY/Configuring+mod_proxy This sounds like a jetty issue, not a Wicket issue. On Mon, Sep 28, 2009 at 2:58 PM, Stéphane Jeanjean stephane.jeanj...@softeam.com wrote: For sure, I'm using reverse proxy and cookie rewriting, but before

Re: multiple changes vs. session-per-request

2009-09-09 Thread James Carman
Add them to a List that you keep and then when you're done, dump that list into the entity? On Wed, Sep 9, 2009 at 10:15 PM, Troy Caubletroycau...@gmail.com wrote: I have a database entity that refers to a collection of non-entity components. @Entity class A {     @CollectionOfElements    

Re: UTF-8

2009-09-01 Thread James Carman
On Tue, Sep 1, 2009 at 12:00 PM, Eelco Hilleniuseelco.hillen...@gmail.com wrote: But I'm sure you can write a properties implementation that reads from UTF-8 in a few hours max, especially now that you have an example in Tapestry's code. Patch is welcome :-) Why not just borrow the code from

Re: Quick model/user/session question

2009-08-31 Thread James Carman
)dao.get(clazz, (Long)id); }; } I'd be happy to supply more code (xml files, etc.) if it would be useful. I feel that this is about as simple a use case as I can create for the issue. Thanks again for all your help! Dane On Sat, Aug 29, 2009 at 7:41 AM, James Carman ja

Re: Quick model/user/session question

2009-08-31 Thread James Carman
org.springframework.beans.factory.support.DefaultListableBeanFactory - Returning cached instance of singleton bean 'wicketApplication' Dane On Mon, Aug 31, 2009 at 9:14 AM, James Carman jcar...@carmanconsulting.comwrote: Or, you can turn on spring logging to see it opening the session. On Mon, Aug 31, 2009 at 10:56 AM, Igor Vaynberg

Re: requestParameters and %20

2009-08-30 Thread James Carman
, James Carman jcar...@carmanconsulting.com wrote: have you tried java.net.URLDecoder? On Sat, Aug 29, 2009 at 3:43 PM, Fernando Wermus fernando.wer...@gmail.comwrote: I am serving a file from disk which its name is red apple.jpg. From html source it renders as follows img

Re: requestParameters and %20

2009-08-29 Thread James Carman
have you tried java.net.URLDecoder? On Sat, Aug 29, 2009 at 3:43 PM, Fernando Wermus fernando.wer...@gmail.comwrote: I am serving a file from disk which its name is red apple.jpg. From html source it renders as follows img src=a/b/c/d/red apple.jpg / I found that On method getUri() and a

Re: at least one-validation?

2009-08-24 Thread James Carman
form-level validator? 2009/8/24 Stefan Malmesjö s.m.mo...@gmail.com: Hi! I have a form that has a number of textfield inputs that are created dynamically from information from a database (depending on the object type selected in a dropdown, different input fields are possible). What I want

Re: at least one-validation?

2009-08-24 Thread James Carman
? 2009/8/24 Stefan Malmesjö s.m.mo...@gmail.com: Thanks. Just didn't know what to search for. Looking into it now. Thanks for the nudge :) /Stefan On 2009-08-24 13:50, James Carman wrote: form-level validator? 2009/8/24 Stefan Malmesjös.m.mo...@gmail.com: Hi! I have a form that has

Re: Need Wicket Book

2009-08-18 Thread James Carman
Well, if you're ever looking for work, just let me know. I can pay you 10x that much! :) On Tue, Aug 18, 2009 at 2:45 AM, Ernesto Reinaldo Barreiroreier...@gmail.com wrote: Well, expensive is a relative term: in the country I come from $27.50 is almost twice the money a developer will receive

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 Lindnerlind...@visionet.de 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

Re: ImageMap

2009-08-05 Thread James Carman
. Are there 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/WICKET-1936 On Wed, Aug 5, 2009

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 Dashorstmartijn.dasho...@gmail.com 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:

Re: SVN URL for Wicket 1.4.0 sources?

2009-08-04 Thread James Carman
Ok, so show me how you would re-create the 1.4.0 release as it was when it was released. What SVN URL would you use to do that? If someone has checked in changes into your release branch, you're going to need to find what version (SVN version) was used along with that URL to re-create the 1.4.0

Re: SVN URL for Wicket 1.4.0 sources?

2009-08-04 Thread James Carman
I don't disagree that you guys are doing it this way. I'm saying it's the wrong way to do it. On Tue, Aug 4, 2009 at 4:45 AM, Martijn Dashorstmartijn.dasho...@gmail.com wrote: See also: http://cwiki.apache.org/confluence/display/WICKET/Releasing On Tue, Aug 4, 2009 at 10:41 AM, Martijn

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 Dashorstmartijn.dasho...@gmail.com 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

Re: SVN URL for Wicket 1.4.0 sources?

2009-08-04 Thread James Carman
Take a look at: http://svnbook.red-bean.com/en/1.5/svn.branchmerge.tags.html#svn.branchmerge.tags.mksimple But wait a moment: isn't this tag creation procedure the same procedure we used to create a branch? Yes, in fact, it is. In Subversion, there's no difference between a tag and a branch.

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 Dashorstmartijn.dasho...@gmail.com 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

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 Dashorstmartijn.dasho...@gmail.com 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

Re: SVN URL for Wicket 1.4.0 sources?

2009-08-04 Thread James Carman
You might want to check the best practices document from the Incubator: http://incubator.apache.org/guides/releasemanagement.html#best-practices-svn On Tue, Aug 4, 2009 at 5:05 AM, Martijn Dashorstmartijn.dasho...@gmail.com wrote: Same for releases/wicket-1.4.0 after the release has been

Re: SVN URL for Wicket 1.4.0 sources?

2009-08-04 Thread James Carman
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.apache.org/repos/asf/wicket/tags/wicket-1.4.0 and it wasn't there. Why did he go there? Hmm. Maybe because that's how everyone else does

Re: SVN URL for Wicket 1.4.0 sources?

2009-08-04 Thread James Carman
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 Dashorstmartijn.dasho...@gmail.com wrote: WTF? Read the commit messages and then tell me that the 1.4.0 release is not an exact copy of

Re: SVN URL for Wicket 1.4.0 sources?

2009-08-04 Thread James Carman
Wow, that's a great way for a member of the development team to treat a member of their user community. I'm not the only one with these concerns. Why don't you bad-mouth Reinhard too? On Tue, Aug 4, 2009 at 7:35 AM, Martijn Dashorstmartijn.dasho...@gmail.com wrote: Jeez, get a life...

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 Dashorstmartijn.dasho...@gmail.com 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.

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, fachhochfachh...@gmail.com 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

Re: strange icon appears in webpage

2009-08-04 Thread James Carman
and 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? On Tue, Aug 4, 2009 at 11:14 AM, fachhochfachh

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 Vaynbergigor.vaynb...@gmail.com wrote: use HiddenField instead of a TextField, that way there is no need to disable it. then the

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 Dashorstdasho...@apache.org 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

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 Krohneokro...@yahoo.de 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

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 majorpe...@sch.bme.hu wrote: Cool, that was exactly, what I was looking for. Thanks. Peter 2009-07-26 00:06 keltezéssel, Sven Meier írta: Hi

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 genfachh...@gmail.com wrote:   I am using hibernate criteria query to get data for my AjaxFallbackDefaultDataTable, this datatable also  gives me pagination

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, satarstarl...@gmail.com wrote: James, is this similar to

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, michelle.bh...@health.gov.au wrote: Hello. I'm attempting a simple AjaxFallbackDefaultDataTable with using 1.4-SNAPSHOT and the wicket-1.4-20090709.154646-550.jar and

Re: model detached many times

2009-07-13 Thread James Carman
No, he means *all* models. The idea would be that Wicket would look for fields of type IModel (or its descendants) on components/pages. If it sees one, it would automatically detach it. On Mon, Jul 13, 2009 at 3:47 AM, Vladimir Kkoval...@gmail.com wrote: Martijn, you probably mean how

Re: model detached many times

2009-07-13 Thread James Carman
On Mon, Jul 13, 2009 at 7:32 AM, Erik van Oostene.vanoos...@grons.nl 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

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

2009-07-12 Thread James Carman
Actually, I think I was remembering incorrectly. They were telling me that they fixed a different issue I was having with YUI (something to do with a link taking me to a login page making my login page do nothing). On Sun, Jul 12, 2009 at 4:17 AM, Petr Fejfarpetr.fej...@gmail.com wrote: On Sun,

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 Fejfarpetr.fej...@gmail.com wrote:   - Finally, if I run the QuickStart application the menu bar is shown,

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-Pierrejean-pierre.des...@hp.com 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

Re: Dynamic links in inmethod DataGrid

2009-07-10 Thread James Carman
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 this message in context: http://www.nabble.com/Dynamic-links

Re: model detached many times

2009-07-10 Thread James Carman
Right, but they shouldn't have to be detached multiple times. My point is that we should collect all the models that need detaching and call detach on them only once. Automatically deciding which ones need to be detached is a separate issue. On Fri, Jul 10, 2009 at 7:18 AM, Martijn

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 Vaynbergigor.vaynb...@gmail.com 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

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 Hutchisonb...@ibsglobalweb.com wrote: Currently, when injecting Spring autowired dependencies via

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 Vaynbergigor.vaynb...@gmail.com wrote: sounds like tomcat is expiring

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 Lindnerlind...@visionet.de 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

Re: 1.4 trunk broken?

2009-07-08 Thread James Carman
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 Compagnerjcompag...@gmail.com wrote: i think in trunk it should be fixed. On Wed, Jul 8, 2009 at 13:20, James Carman jcar...@carmanconsulting.comwrote: Have we fixed this?  I'm getting the same

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 Martinjosmar52...@gmail.com 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
think in trunk it should be fixed. On Wed, Jul 8, 2009 at 13:20, James Carman jcar...@carmanconsulting.comwrote: Have we fixed this?  I'm getting the same error. On Wed, Jun 17, 2009 at 3:00 PM, Stefan Lindnerlind...@visionet.de wrote: The problem occurs when I klicked around on a page

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 browser

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 c...@gmx.de 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?

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 filippo.bonsign...@logobject.ch wrote: James Carman-3 wrote: Perhaps there is a different error on the page? Are you meaning about page

Re: Using Converter with DropDownChoice

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

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 a

Re: Strange behaviour using ComponentFeedbackPanel

2009-07-07 Thread James Carman
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? -- View this message in context: http://www.nabble.com/Strange-behaviour-using-ComponentFeedbackPanel

Re: Using Converter with DropDownChoice

2009-07-07 Thread James Carman
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 use a map-based renderer if you wish. On Tue, Jul 7, 2009 at 9:16 AM, Christoph Drießen c...@gmx.de

Re: Prefill form not model?

2009-07-07 Thread James Carman
On Tue, Jul 7, 2009 at 10:59 AM, Martin Makundi martin.maku...@koodaripalvelut.com 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

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, fbonsignorifilippo.bonsign...@logobject.ch wrote: Same behaviour. James Carman-3 wrote: What

Re: Strange behaviour using ComponentFeedbackPanel

2009-07-07 Thread James Carman
a ComponentFeedbackPanel 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: Right, basically Wicket

Re: Strange behaviour using ComponentFeedbackPanel

2009-07-07 Thread James Carman
On Tue, Jul 7, 2009 at 11:55 AM, fbonsignorifilippo.bonsign...@logobject.ch 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

<    3   4   5   6   7   8   9   10   11   12   >