Re: [Wicket-user] About to use Wicket. ORM?

2007-07-25 Thread Anders Peterson
Choosing something more lightweight can be (in my opinion often is) good for productivity and maintainability. One of the main things I look for when choosing libraries/frameworks is what dependencies they have - how many other frameworks do they force me to use (at specific versions). Another

Re: [Wicket-user] Reverting the constructor change of 2.0

2007-03-27 Thread Anders Peterson
weeks, the net result is that we'll have a Wicket > version that is everything Wicket 2.0 is now bar the constructor > change. 1.3 and that version will be very close to each other (so much > easier to maintain), and it'll be easier for people comming from 1.2 > or 1.3 to

Re: [Wicket-user] Reverting the constructor change of 2.0

2007-03-27 Thread Anders Peterson
How did this end - what's the plan? /Anders Eelco Hillenius wrote: > I didn't mean that bad. I would just prefer someone else to do the next vote. > > Eelco > > > On 3/14/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: >> i guess sacrasm and frustration dont transfer well over email :| >> >> -igor

Re: [Wicket-user] IBM to adopt Wicket as standard web framework

2007-03-27 Thread Anders Peterson
What does it take to become the victim of a joke like this? Can this be counted as an accomplishment? /Anders Korbinian Bachl wrote: > seems as they (the jokers) have no longer the patience to wait for april 1st > :P > >> -Ursprüngliche Nachricht- >> Von: [EMAIL PROTECTED] >> [mailto:[

Re: [Wicket-user] Converters

2007-03-15 Thread Anders Peterson
> want to write a formatter to go between that and a string automatically. > how do i integrate that into the jdk api so it works transparently like > it would if i used wicket's converters? > > -igor > > > On 3/14/07, *Anders Peterson* <[EMAIL PROTECTED] >

Re: [Wicket-user] Reverting the constructor change of 2.0

2007-03-14 Thread Anders Peterson
Don't poll too much - just decide on something. The core development team is relatively small isn't it... /Anders Igor Vaynberg wrote: > well obviously we cannot poll for that until we have decided what 1.3 > will be. so first you need a poll on that, then you need a poll that > depends on that

Re: [Wicket-user] Converters

2007-03-14 Thread Anders Peterson
Not sure what you mean, but if you control the factory you control the formatters. /Anders Igor Vaynberg wrote: > and does that api support registering your own converters? > > -igor > > > On 3/14/07, *Anders Peterson* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED

Re: [Wicket-user] Reverting the constructor change of 2.0

2007-03-14 Thread Anders Peterson
be better with Java5. The fact that Wicket has not yet adopted Java5 means it is not as good as it could be. Java5 is not just a minor upgrade. If anything ever should have been called Java2 it's Java 1.5/5.0 ;-) /Anders Eelco Hillenius wrote: > On 3/14/07, Anders Peterson <[EMAIL PRO

Re: [Wicket-user] Converters

2007-03-14 Thread Anders Peterson
Format instances. /Anders Martijn Dashorst wrote: > On 3/14/07, Anders Peterson <[EMAIL PROTECTED]> wrote: >> One of my questions remain: Why does Wicket need converters at all? Java >> already has java.text.Format with two-way conversion between String and >> some other

Re: [Wicket-user] Reverting the constructor change of 2.0

2007-03-14 Thread Anders Peterson
Do you plan to still release new features for "old" Java after you've released a Java5 version? That seems crazy. Make one last release for JDK 1.4 and after that it's bug fixing only. All new development should target Java5. Wicket should have moved to Java5 at least one year ago! /Anders Ee

Re: [Wicket-user] Converters

2007-03-14 Thread Anders Peterson
t; and BigDecimals->String > > johan > > > On 3/14/07, *Anders Peterson * <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > Hi, > > I use Wicket 1.2.5 and have been looking at Converters (IConverter & > ITypeConverter). >

Re: [Wicket-user] Reverting the constructor change of 2.0

2007-03-14 Thread Anders Peterson
> (not direclty releasing it but usable for people who want 1.3 + java5) > > johan > > > On 3/14/07, * Anders Peterson* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > Can anyone vote? > > I vote for alternative D. > >

Re: [Wicket-user] Reverting the constructor change of 2.0

2007-03-14 Thread Anders Peterson
Can anyone vote? I vote for alternative D. You asked about reverting the constructor change or not. My interpretation of the answers you got is: Yes, fine, what ever, but give us generics (for models at least). Alternative D is: Revert to working on 1 branch (doesn't matter if it's called 1.3

[Wicket-user] Converters

2007-03-14 Thread Anders Peterson
Hi, I use Wicket 1.2.5 and have been looking at Converters (IConverter & ITypeConverter). The problem I want to solve is "formatting" my BigDecimals correctly. Can't understand why this should be so complicated. Why have converters at all? Java already has java.text.Format with the methods: O

Re: [Wicket-user] IMPORTANT: your opinion on the constructor change in 2.0

2007-03-08 Thread Anders Peterson
This is what I like to hear: One path forward and generics in a released version this decade. Drop that constructor change, and whatever else you need, to make this happen. /Anders Eelco Hillenius wrote: >> if we do provide a new generified version, then lets make that 1.4 and make >> 1.3 the

Re: [Wicket-user] IMPORTANT: your opinion on the constructor change in2.0

2007-03-08 Thread Anders Peterson
... and having two active development branches seems like a really bad idea. /Anders Anders Peterson wrote: > I don't care about (understand) the pros and cons regarding the > constructor change. What Wicket needs is parameterized models > (generics). I think you should do what

Re: [Wicket-user] IMPORTANT: your opinion on the constructor change in2.0

2007-03-08 Thread Anders Peterson
I don't care about (understand) the pros and cons regarding the constructor change. What Wicket needs is parameterized models (generics). I think you should do what ever it takes to support this in a released version as soon as possible. /Anders Gabor Szokoli wrote: > On 3/7/07, Korbinian Bach

Re: [Wicket-user] Wicket starts incubation at Apache

2006-10-16 Thread Anders Peterson
Why? Martijn Dashorst wrote: > The Wicket team is proud to announce that we are starting the process > of joining the Apache Software Foundation. > > When projects first move to Apache, they are housed at the Apache > Incubator. The Incubator helps incoming projects migrate to the > vibrant Apach

Re: [Wicket-user] Database Integration With Wicket

2006-10-03 Thread Anders Peterson
nother (e.g: kodo) by just changing > 2 lines in persistence.xml... as well as afterward tweaking if you need so. > > Regards > > Korbinian > > >> -Ursprüngliche Nachricht- >> Von: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] Im Auftrag >> von And

[Wicket-user] Database Integration With Wicket

2006-10-03 Thread Anders Peterson
JPA, Hibernate and other tools like that seem to (desperately) try to hide the fact that there is an rdbms underneath. Did anyone here try not having one... http://www.db4o.com/about/news/release/2006_09_28.aspx /Anders Korbinian Bachl wrote: > Hi All, > > since im working now several days w

Re: [Wicket-user] Database Integration With Wicket

2006-09-25 Thread Anders Peterson
I looked at JPA this weekend - I'm positively surprised! At first I was confused about how everything fit together; JPA, GlassFish, Sun, Java, Oracle, TopLink... What you should know is: 1) GlassFish is the name for the open source development project for building a Java EE 5 application serve

Re: [Wicket-user] Database Integration With Wicket

2006-09-22 Thread Anders Peterson
I use PriDE. It's extremely small and easy to learn - basically it generates SQL for you. http://pride.sourceforge.net/ I've designed a number of supporting classes and coding conventions that give me some more advanced features (still light weight). I've been meaning to look at what exists in

Re: [Wicket-user] jfreechart and wicket

2006-09-13 Thread Anders Peterson
I'm using jfreechart with both Wicket and WebObjects - there isn't much you have to do. I created a class ChartResource that extends DynamicImageResource. In that class I have this: protected byte[] getImageData() { JFreeChart tmpChart = this.getFactory().getChart(); tm

Re: [Wicket-user] WebObjects open source?

2006-08-31 Thread Anders Peterson
WO is free since about 1 year and may be about to become open source. Try it and learn what some really talented people designed more than 10 years ago. ...and if you want to ask questions about technical details - ask the people who know. WO has a very good on-line community. http://www.omnig

Re: [Wicket-user] WebObjects open source?

2006-08-31 Thread Anders Peterson
Igor Vaynberg wrote: > but this is for me where the problem is - if your components are > delcared declaratively then you cannot have dynamic page structures. eg > switching panels around, moving panels. this was one of the reasons i > switched away from tapestry. Like this? http://developer.

Re: [Wicket-user] WebObjects open source?

2006-08-30 Thread Anders Peterson
There are other WO developers better suited to answer those question. I'm cross posting to webobjects-talk and hope someone will pick up the thread. /Anders Igor Vaynberg wrote: > I guess i would be interested in knowing how web objects stores state > and how the back button is handled. > > i

Re: [Wicket-user] WebObjects open source?

2006-08-30 Thread Anders Peterson
only a fixed and limited set of components to work with - why assume something like that? /Anders > -Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Anders > Peterson > Sent: Tuesday, August 29, 2006 12:51 PM > To: wicket-user@lists.sou

Re: [Wicket-user] WebObjects open source?

2006-08-30 Thread Anders Peterson
WicketBuilder would have to generate java code - right? WOBuilder only generates snippets like this in a separate file: String2: WOString { value = [EMAIL PROTECTED]@count; numberformat = "___,__0"; } "wicket:id": "ComponentClassName" { "list of bindings" } /Anders Joh

Re: [Wicket-user] WebObjects open source?

2006-08-30 Thread Anders Peterson
ur opinion is superior to Wicket from >> WebObjects ? e.g. a small comparision? >> >>> -Ursprüngliche Nachricht- >>> Von: [EMAIL PROTECTED] >>> [mailto:[EMAIL PROTECTED] Im Auftrag >>> von Anders Peterson >>> Gesendet: Dienstag, 29.

Re: [Wicket-user] WebObjects open source?

2006-08-29 Thread Anders Peterson
jects/Reference/API/com/webobjects/appserver/WOComponent.html Eelco Hillenius wrote: > :) It's one of my favorite parts of Wicket, so sure. > > What about the strong points of WebObjects, what are the things you > really like about that? > > Eelco > > On 8/29/06, Anders

Re: [Wicket-user] WebObjects open source?

2006-08-29 Thread Anders Peterson
the 'just Java programming'/ > OO part of Wicket. > > Eelco > > > On 8/29/06, Anders Peterson <[EMAIL PROTECTED]> wrote: >> Korbinian Bachl wrote: >>> Hi Anders, >>> >>> i heard much about WebObjects, and have a qustion: is it

Re: [Wicket-user] WebObjects open source?

2006-08-29 Thread Anders Peterson
ket from > WebObjects ? e.g. a small comparision? > >> -Ursprüngliche Nachricht- >> Von: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] Im Auftrag >> von Anders Peterson >> Gesendet: Dienstag, 29. August 2006 10:41 >> An: wicket-user@lists.sourceforge.net

Re: [Wicket-user] WebObjects open source?

2006-08-29 Thread Anders Peterson
I know WebObjects much better than I know Wicket... The only reason I looked at Wicket is because Apple made some very strange decisions regarding licensing and support for other platforms about a year ago. Should the open source rumors be true (I'm not sure they are) I'll most likely go back t

Re: [Wicket-user] Wicket 2.0

2006-06-12 Thread Anders Peterson
Can you make daily/weekly builds available? /Anders Jerry Smith wrote: > Looks like there are some very nice changes coming to Wicket in 2.0! Is > there a timeline on when there might be binary drops to play with and a > possible target release date? > >> -Original Message- >> From: [EMA

[Wicket-user] Indeces based access with PropertyModel

2006-05-18 Thread Anders Peterson
Hi all, With Wicket 1.1 (ognl) I could do this: Loop tmpLoop = new Loop("instruments", Instrument.ALL.size()) { protected void populateItem(LoopItem anItem) { int tmpIter = anItem.getIteration(); anItem.add(new Label("name", Instrument.ALL.

[Wicket-user] Re: Where is the OGNL replacement code in wicket 1.2?

2006-05-08 Thread Anders Peterson
just be able to type: this.getValue("expression"); or this.getPage().getValue("expression"); ...or, something like that. Did you look at the NSKeyValueCoding docs? /Anders On 5/8/06, *Anders Peterson* < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

[Wicket-user] Re: Where is the OGNL replacement code in wicket 1.2?

2006-05-08 Thread Anders Peterson
ecifically like to have the performAction method in Page, but why not put it in Component. /Anders Johan Compagner wrote: You also have this now. Just call PropertyResolver.getValue(contextObject, propertyString) where should that performAction method be located? On 5/8/06, * Anders Peterso

[Wicket-user] Re: Where is the OGNL replacement code in wicket 1.2?

2006-05-08 Thread Anders Peterson
On 5/8/06, Anders Peterson <[EMAIL PROTECTED]> wrote: A different web application framework that I've worked with has "ognl" available everywhere. It's extremely convenient and powerful! http://developer.apple.com/documentation/WebObjects/Reference/API5.2.4/com/webobje

[Wicket-user] Re: Where is the OGNL replacement code in wicket 1.2?

2006-05-08 Thread Anders Peterson
Anders Peterson wrote: I'm sure it needs to return anything, but maybe it could be passed some sort of context object (if available). Should be: I'm NOT sure it needs to return anything, but maybe it could be passed some sort of context object (if

[Wicket-user] Re: Where is the OGNL replacement code in wicket 1.2?

2006-05-08 Thread Anders Peterson
s the wicket.util.lang.PropertyResolver class What would that perform do? How does it look like? PropertyResolver has limited support for executing methods. something like: Object value = PropertyResolver.getValue ("getAddressArray()", person); is supported. johan On 5/8/06, *Anders Peterson* &l

[Wicket-user] Re: Where is the OGNL replacement code in wicket 1.2?

2006-05-08 Thread Anders Peterson
dn't be difficult to add... /Anders Anders Peterson wrote: I'm looking for the equivalent of Ognl.setValue(...) and guessing I should use wicket.util.lang.PropertyResolver.setvalue(...); The wicket.util.object package (referred to in the wiki migrate instructions) does not exist.

[Wicket-user] Where is the OGNL replacement code in wicket 1.2?

2006-05-08 Thread Anders Peterson
I'm looking for the equivalent of Ognl.setValue(...) and guessing I should use wicket.util.lang.PropertyResolver.setvalue(...); The wicket.util.object package (referred to in the wiki migrate instructions) does not exist. Would it be possible to add a method performActionNamed(String express

[Wicket-user] Re: More on refreshing page contents

2006-04-06 Thread Anders Peterson
tyModel(tmpMod, "optimisedWeights.toBigDecimal(" + tmpIter + ",0)"))); } }; this.add(tmpLoop); Igor Vaynberg wrote: this usually means you added a component to the component tree, but it was never referenced in the markup so it was not rendered - nor will it ever be

[Wicket-user] Re: More on refreshing page contents

2006-04-06 Thread Anders Peterson
I'm using a Loop now (on a different page). Then I get a WicketRuntimeException: The component(s) below failed to render: 1. [Component id = name, page = se.optimatika.blapp.gui.PgEvaluate, path = 3:instruments:0:name.Label, isVisible = true, isVersioned = true] .. I can't see what's wron

[Wicket-user] Re: More on refreshing page contents

2006-04-04 Thread Anders Peterson
there. Hope this helps. Maurice On 4/4/06, Anders Peterson wrote: Hi All, With one page I'm displaying a matrix of numbers and I have a problem updating/refreshing it. I roughly understand why it doesn't work, but I don't know what the best/correct way to make it work is. Basica

[Wicket-user] Re: More on refreshing page contents

2006-04-04 Thread Anders Peterson
Igor Vaynberg wrote: On 4/4/06, Anders Peterson <[EMAIL PROTECTED]> wrote: That worked! I also had to move the declaration of tmpInstrument to inside the populateItem method (otherwise all rows were the same). not really sure what you mean here I have two ListViews - one for the ro

[Wicket-user] More on refreshing page contents

2006-04-04 Thread Anders Peterson
Hi All, With one page I'm displaying a matrix of numbers and I have a problem updating/refreshing it. I roughly understand why it doesn't work, but I don't know what the best/correct way to make it work is. Basically I have a ListView of rows and the last column in each row is in turn a List

[Wicket-user] Re: Refreshing page contents

2006-03-30 Thread Anders Peterson
have nothing to do with Wicket. /Anders Juergen Donnerstag wrote: Sounds like your browser is using its local cache. Try Juergen On 3/30/06, Anders Peterson <[EMAIL PROTECTED]> wrote: Hi, I have a problem refreshing page contents. This did work as int

[Wicket-user] Refreshing page contents

2006-03-30 Thread Anders Peterson
Hi, I have a problem refreshing page contents. This did work as intended before I updated the database model. The page's code has not been changed other than in one case I had to change what objects I loop through. The page functions exactly as before except for one thing: When submitting the

[Wicket-user] Re: Refreshing dynamic images

2006-03-01 Thread Anders Peterson
led then we are setting some default caching headers and we set the last modified time. for our DynamicByteArrayResource i have made it non cacheable by default now. I guess this is a better default. johan On 3/1/06, Anders Peterson <[EMAIL PROTECTED]> wrote: 1) "setCacheable": Don

[Wicket-user] Re: Refreshing dynamic images

2006-03-01 Thread Anders Peterson
ari, IE and FF work differently). Martijn On 2/28/06, Anders Peterson <[EMAIL PROTECTED]> wrote: Hi, On one page I'm displaying dynamic charts (JFreeChart) as images. The charts, the data they're based on, are constantly changed by the users. The problem (as I understand it): T

[Wicket-user] Re: Refreshing dynamic images

2006-03-01 Thread Anders Peterson
the page - is there a standard for that? I have no idea which browsers will be used, and I want the app to work with any browser. Thanks, /Anders Anders Peterson wrote: Hi, On one page I'm displaying dynamic charts (JFreeChart) as images. The charts, the data they're based on, are cons

[Wicket-user] Refreshing dynamic images

2006-02-28 Thread Anders Peterson
Hi, On one page I'm displaying dynamic charts (JFreeChart) as images. The charts, the data they're based on, are constantly changed by the users. The problem (as I understand it): The web browser doesn't know that the image has changed and therefore (sometimes) uses a cached image. Which mea

[Wicket-user] Re: VOTE

2006-02-17 Thread Anders Peterson
Eelco Hillenius wrote: 1. Give me the constructor change and the Java 5 functionality in one pass (Wicket 2.0) Note sure what the constructor change is. I vote for getting Java5 functionality as soon as possible. /Anders -- http://ojalgo.org/ Mathematics, Linear Algebra and Optimisation wi

[Wicket-user] Re: Updating a model using DropDownChoice

2005-11-23 Thread Anders Peterson
is the root model of itself instead of giving "this" with the call. johan On 11/22/05, Christian Essl <[EMAIL PROTECTED]> wrote: On Tue, 22 Nov 2005 16:10:23 +0100, Anders Peterson <[EMAIL PROTECTED]> wrote: Hi, There are a couple of things I don't unde

[Wicket-user] Re: Updating a model using DropDownChoice

2005-11-22 Thread Anders Peterson
information. johan On 11/22/05, Anders Peterson <[EMAIL PROTECTED]> wrote: Hi, There are a couple of things I don't understand. 1) I have a form using a CompoundPropertyModel with a HashMap as the initial model object. When I later (after having made a choice in a DropDownChoice)

[Wicket-user] Updating a model using DropDownChoice

2005-11-22 Thread Anders Peterson
Hi, There are a couple of things I don't understand. 1) I have a form using a CompoundPropertyModel with a HashMap as the initial model object. When I later (after having made a choice in a DropDownChoice) call this.getForm().setModelObject(aNewModelObject); nothing in the gui is updated. T

[Wicket-user] Re: Formatting numbers in Labels

2005-11-22 Thread Anders Peterson
rters Christian On Sun, 20 Nov 2005 13:20:02 +0100, Anders Peterson <[EMAIL PROTECTED]> wrote: With code like this anItem.add(new Label("return", new PropertyModel(tmpInstrument, "diffusionProcess.localDrift"))); I'm trying to display small numbers. 1.14654481730512

[Wicket-user] Formatting numbers in Labels

2005-11-20 Thread Anders Peterson
With code like this anItem.add(new Label("return", new PropertyModel(tmpInstrument, "diffusionProcess.localDrift"))); I'm trying to display small numbers. 1.1465448173051241E-12 1.2381223801081599E-6 In the generated page this just appears as "0" or "-0". I want it to be "0.012381223801

[Wicket-user] Re: Image is not displayed

2005-10-19 Thread Anders Peterson
examples, that's how it seems to be done there. /Anders johan On 10/19/05, Anders Peterson <[EMAIL PROTECTED]> wrote: I'm trying to do precisely this, and I can't get it to work. I've tried all possible ways to do this - except one. ;-) Using wicket 1.1rc2 I

[Wicket-user] Re: Image is not displayed

2005-10-19 Thread Anders Peterson
I'm trying to do precisely this, and I can't get it to work. I've tried all possible ways to do this - except one. ;-) Using wicket 1.1rc2 I use Dreamweaver to do the html work, and eclipse for the Java part. The Dreamweaver site root is set to be the same as the java source folder root. In

[Wicket-user] Which application in SessionFactory?

2005-08-26 Thread Anders Peterson
Doesn't the newSession method in the ISessionFactory interface need to take an (the) application as an argument? As it is now you can ONLY create ISessionFactory instances as an anonymous class. /Anders -- http://ojalgo.org/ Mathematics, Linear Algebra and Optimisation with Java -

[Wicket-user] Re: Hibernate vs Cayenne?

2005-08-26 Thread Anders Peterson
Gili wrote: I am seriously considering dumping Hibernate in favor of Cayenne because the former has a multitude of bugs and usability issues I ran into which the authors refuse to acknowledge (don't mention the word "bug" on their discussion forum or else they will ban you. No joke!). An

[Wicket-user] Re: visible == redered

2005-08-24 Thread Anders Peterson
Juergen Donnerstag wrote: I did the changes necessary to not render invisible component and it passes all existing unit tests. Any more suggestions (votes) on this topic? Juergen I'm happy! /Anders -- http://ojalgo.org/ Mathematics, Linear Algebra and Optimisation with Java --

[Wicket-user] Re: KeyValueCoding and ProperyModel

2005-08-24 Thread Anders Peterson
Eelco Hillenius wrote: I find it perfectly natural that the 'name' property of a null object gets me null when working with Ognl. In fact, that's another good reason to support this; all expression languages like Ognl, but also JSF's and for example Velocity's allows you to have expression where

[Wicket-user] Re: visible == redered

2005-08-24 Thread Anders Peterson
ectly after the component that was not visible But that is more a juergen kind of thing... johan Eelco Hillenius wrote: Yep. Also, I should do any model updates when it is part of a form, and it should not be reachable as a listener too, though I think that still is an open issue. Eelco On

[Wicket-user] Re: IModel - wiki addition

2005-08-24 Thread Anders Peterson
When/where/how are models shared between sessions or application instances? When should I call detach rather than just dumping the model? I trust detach is never called automagically. /Anders -- http://ojalgo.org/ Mathematics, Linear Algebra and Optimisation with Java Christian Essl wrote: As

[Wicket-user] Re: KeyValueCoding and ProperyModel

2005-08-24 Thread Anders Peterson
fferently. And I'm handicapted: I'm dutch ;-) I really want to like Wicket - honestly - but I'm struggling. Also; I fully realize that some (most) of my problems are because I'm a beginner - not necessarily because there is something wrong with Wicket. Anders Peterson wrot

[Wicket-user] Re: KeyValueCoding and ProperyModel

2005-08-23 Thread Anders Peterson
wed, or be flexible about what we support. Eelco On 8/23/05, Anders Peterson <[EMAIL PROTECTED]> wrote: Igor Vaynberg wrote: Cant you just do new CompoundPropertyModel(new HashMap()) ? Yes Also check out the wicket.util.value.ValueMap helper class. StringValue seems useful! /

[Wicket-user] Re: KeyValueCoding and ProperyModel

2005-08-23 Thread Anders Peterson
Igor Vaynberg wrote: Cant you just do new CompoundPropertyModel(new HashMap()) ? Yes Also check out the wicket.util.value.ValueMap helper class. StringValue seems useful! /Anders -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Anders Peterson

[Wicket-user] Re: KeyValueCoding and ProperyModel

2005-08-23 Thread Anders Peterson
Hi, it's me agian... I just discovered that this works perfectly fine: Map tmpMap = new HashMap(); Ognl.setValue("testValue", tmpMap, new Integer(1)); Then couldn't CompoundProtertyModel have a Map as a default object (if allowing null objects is a problem)? /Anders A

[Wicket-user] Re: KeyValueCoding and ProperyModel

2005-08-23 Thread Anders Peterson
In case it wasn't clear... An NSDictionary instance will accept *any* ognl expression. /Anders -- http://ojalgo.org/ Mathematics, Linear Algebra and Optimisation with Java Anders Peterson wrote: Hi, I have a background doing WebObjects (WO) programming. http://developer.appl

[Wicket-user] Re: visible == redered

2005-08-23 Thread Anders Peterson
t that was not visible But that is more a juergen kind of thing... johan Eelco Hillenius wrote: Yep. Also, I should do any model updates when it is part of a form, and it should not be reachable as a listener too, though I think that still is an open issue. Eelco On 8/23/05, Anders Peters

[Wicket-user] KeyValueCoding and ProperyModel

2005-08-23 Thread Anders Peterson
Hi, I have a background doing WebObjects (WO) programming. http://developer.apple.com/webobjects/ WO contains an interface NSKeyValueCoding and a class NSDictionary that is essentially a Map that implements NSKeyValueCoding. http://developer.apple.com/documentation/WebObjects/Reference/API/c

[Wicket-user] visible == redered

2005-08-23 Thread Anders Peterson
Hi, If I set a component to not visible "setVisible(false)" then that component and any/all children should not get rendered - right? Just like confirmation before I submit a bug report. /Anders -- http://ojalgo.org/ Mathematics, Linear Algebra and Optimisation with Java -

[Wicket-user] Re: Pattern to update reusable panels

2005-08-23 Thread Anders Peterson
Juergen Donnerstag wrote: What do you normally do? Having a panel that, in the same page, should display different things depending on what the user does must be a common design pattern. create different panels and enable/disable them. Say you have a list of Client objects displayed in one

[Wicket-user] Re: Pattern to update reusable panels

2005-08-23 Thread Anders Peterson
more approaches to it. Why not have the business object itself in the CompoundPropertyModel? /Anders On 8/23/05, Anders Peterson <[EMAIL PROTECTED]> wrote: Thanks for answering! This is the route I've taken, but when/where/how do I create the models? Should I create the model in the

[Wicket-user] Re: Pattern to update reusable panels

2005-08-23 Thread Anders Peterson
I think it should be possible to create *PropertyModels with a null model argument - it would make things a lot easier. Getting the various properties should return null if the model is null, and corresponding labels, textfields or whatever are left empty. /Anders Anders Peterson wrote

[Wicket-user] Re: Pattern to update reusable panels

2005-08-23 Thread Anders Peterson
o? /Anders Juergen Donnerstag wrote: You could use setVisible(true/false). Create your markup and panel class with all the different data, assign a wicket:id to all tags to be either visible or not and control visibility by your java code. Juergen On 8/23/05, Anders Peterson <[EMAIL PROTECTED]&

[Wicket-user] Re: Pattern to update reusable panels

2005-08-23 Thread Anders Peterson
Here's a more specific case... A page conatins a panel. That panel should display different data depending on what the user does/selects in the main page, and initially there is nothing to display. How is something like this intended to be done? Is there an example of this? /Anders A

[Wicket-user] Pattern to update reusable panels

2005-08-22 Thread Anders Peterson
Hi, How do I update reusable panels that make up part of a page? Do I get a hold on the appropriate models and call setObject? Ideally (sub) components should know how to update themselves, but then it needs a binding/reference to some external (parent) object. How is this supposed to be done

[Wicket-user] Re: Updating multiple database records with one form submit

2005-08-17 Thread Anders Peterson
t's all you have to do. When the form is submitted, the properties will be updated if the form passes validation. On 8/16/05, Anders Peterson <[EMAIL PROTECTED]> wrote: Beginner here! Stuck on a problem: 1) I get all (4) records from a table in the database. 2) Using a Form and a Li

[Wicket-user] Updating multiple database records with one form submit

2005-08-16 Thread Anders Peterson
Beginner here! Stuck on a problem: 1) I get all (4) records from a table in the database. 2) Using a Form and a ListView I display all records simultaneously each with its own TextField 3) I press the submit button after having changed any or all of the items in the form/list. How do I get t

[Wicket-user] ognl when submitting forms

2005-08-16 Thread Anders Peterson
Hi, Trying to learn Wicket, and generally find I have to type a lot of code - creating (anonymous) subclasses for everything. Why can't Buttons (and Forms...) just be configured using ognl? myButton.setOnSubmitPath("doSomething"); would call myButton.getForm().getParent().doSomething(); wh

Re: [Pride-users] Re: [Wicket-user] Re: Tools and frameworks

2005-08-14 Thread Anders Peterson
Eelco Hillenius wrote: You can't specify VM arguments in your web.xml file. You can use web.xml parameters in your Wicket application object (override method init). You should note however that VM arguments are in the scope of the whole VM that can have mutliple (conflicting?) webapplications.

[Wicket-user] Re: Tools and frameworks

2005-08-14 Thread Anders Peterson
Eelco Hillenius wrote: The classpath problems that /can/ exist is when you have multiple webapps deployed on the server you use for the plugin, and with Tomcat for some libs that Tomcat uses internally. I think Tomcat's classloading kind of sucked a long time anyway. But the dev loader (I thin

[Wicket-user] Re: Tools and frameworks

2005-08-14 Thread Anders Peterson
Johan Compagner wrote: Tomcat/Jetty: I tried Tomcat and the Sysdeo plug-in first. Eventually I got everything to work, but wasn't happy about Sysdeo's handling of classpaths. Tried Jetty and Jetty Launcher as well. It works much better!!! ...and yes, Jetty starts significantly faster that Tomc

[Wicket-user] Re: Tools and frameworks

2005-08-14 Thread Anders Peterson
Well... ;-) (I'm a beginner both in terms of PriDE and servlets.) Currently I simply set the VM arguments in the eclipse (Jetty Launcher) launch configuration. Before, when I was using Tomcat/Sysdeo, I couldn't do this. Then I hard coded the properties: System.setProperty("pride.driver", "

[Wicket-user] Re: Quickstart & Examples

2005-08-13 Thread Anders Peterson
the apps behaviour and presentation. /Anders Anders Peterson wrote: Hi, I have the quickstart and examples projects up and running. When I downloaded them (a few days ago) I believe I saw some instructions on how to start modifying the apps to learn wicket features. Now I can't find

[Wicket-user] Re: Tools and frameworks

2005-08-13 Thread Anders Peterson
annotations). They're very different. ;-) http://pride.sourceforge.net/ There's also an eclipse plug-in for working with PriDE. I have little experience with PriDE, but so far I'm very happy with it. It has no (as in zero) dependencies. /Anders Anders Peterson wrote: Thanks for answering, I&

[Wicket-user] Quickstart & Examples

2005-08-11 Thread Anders Peterson
Hi, I have the quickstart and examples projects up and running. When I downloaded them (a few days ago) I believe I saw some instructions on how to start modifying the apps to learn wicket features. Now I can't find these instructions, and begin to doubt I really did see them. Do they exist?

[Wicket-user] Re: Tools and frameworks

2005-08-10 Thread Anders Peterson
the appserver integration stuff) usefull without webapp development: - spring (I'm still not convinced, but the rest of the world is ;-) - hibernate - maven - ant - junit But those are basically a need for all projects, not specific for wicket development. Martijn Anders Peterson wrot

[Wicket-user] Tolls and frameworks

2005-08-10 Thread Anders Peterson
Hi all, I’m just about to start work on my first Wicket application. What other tools and frameworks do you use with Wicket? I use eclipse so I’d be particularly interested in recommendations on eclipse plug-ins. As far as I know there is no Wicket-specific plug-in, but I’m sure there are oth

[Wicket-user] Re: Using JDK 1.5

2005-08-03 Thread Anders Peterson
I think it’s strange that a small/young project like Wicket has to wait for IBM before it can make use of Java 5. BTW, Hi! I'm considering using Wicket for my next project. The main alternative is Tapestry. In conjunction with Wicket or Tapestry I’ll most likely use Hibernate, but there is