Re: [Wicket-user] Retrieving a value from a PropertyModel

2007-03-09 Thread Tim Squires
it class mypanel extends panel { private String value; //getter+setter public mypanel() { TextField tf=new TextField(tf, new PropertyModel(this, value)); Label l=new Label(l, new propertyModel(this, value)); . } } -igor On 3/8/07, Tim Squires [EMAIL

[Wicket-user] Retrieving a value from a PropertyModel

2007-03-08 Thread Tim Squires
Hi, I'm trying to get working a panel containing a TextField and a Label. The label contains the hex value for the TextField content. The TextField is Ajaxed so that it updates the label on each key press. Unfortunalty, I cannot retrieve the value from the TextField, it always returns a null.

[Wicket-user] No Page found for component

2007-01-24 Thread Tim Squires
Hi, I have a page based on wicket.extensions.wizard. When the formValidator identifies an invalid field, I call error(a message) on that Component. At that point the following exception is thrown. java.lang.IllegalStateException: No Page found for component [MarkupContainer [Component id

[Wicket-user] Dojo contrib: WicketServlet cannot be changed once it is set

2007-01-24 Thread Tim Squires
Hi, I added wicket-contrib-dojo 0.3.1 to app and when it's redeployed I get... java.lang.IllegalStateException: WicketServlet cannot be changed once it is set wicket.protocol.http.WebApplication.setWicketServlet(WebApplication.java :400)

Re: [Wicket-user] DataView modelChanged

2007-01-18 Thread Tim Squires
: [Wicket-user] DataView modelChanged you dont need to do anything. next request the dataprovider is polled again. if the dataview really doesnt refresh make sure your dataprovider/orm layer are not doing any caching. -igor On 1/17/07, Tim Squires [EMAIL PROTECTED] wrote: Hi again

Re: [Wicket-user] DataView modelChanged

2007-01-18 Thread Tim Squires
. Martijn On 1/18/07, Tim Squires [EMAIL PROTECTED] wrote: Thanks Igor, the DataProvider /was/ caching the results. Do you know if there's a nice way of retrieving the iterator and size without retrieving the results twice? i.e. I currently have public Iterator iterator(int

[Wicket-user] wicket-auth-roles 1.2.4 pom

2007-01-17 Thread Tim Squires
Hi, The pom for wicket-auth-roles http://wicket.sourceforge.net/maven2/wicket/wicket-auth-roles/1.2.4/wick et-auth-roles-1.2.4.pom refers to the wicket 1.2 snapshot... parent artifactIdwicket-parent/artifactId groupIdwicket/groupId version1.2-SNAPSHOT/version /parent

Re: [Wicket-user] wicket-auth-roles 1.2.4 pom

2007-01-17 Thread Tim Squires
a deployed pom on the ibiblio servers. Martijn On 1/17/07, Tim Squires [EMAIL PROTECTED] wrote: Hi, The pom for wicket-auth-roles http://wicket.sourceforge.net/maven2/wicket/wicket-auth-roles/1.2.4/wi ck et-auth-roles-1.2.4.pom refers to the wicket 1.2 snapshot... parent

[Wicket-user] DataView modelChanged

2007-01-17 Thread Tim Squires
Hi again, I have a simple DataView where one of the columns contains a Link which onClick modifies the data. What is the best way of telling the DataView that the model has changed. I've tried a few things, see the comments in the code Thanks for your help, Tim DataView