Re: Component Factory and code against interface

2007-09-04 Thread Johan Compagner
a bit more info: in wicket 1.3 (default with SLC) the change objects aren't really used anymore (they are not stored). They only cause an increment of the page version number.. johan On 9/3/07, Eelco Hillenius [EMAIL PROTECTED] wrote: igor.vaynberg wrote: On 8/23/07, Sam Hough [EMAIL

Re: Component Factory and code against interface

2007-09-04 Thread Sam Hough
commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Component-Factory-and-code-against-interface-tf4311047.html#a12473771 Sent from the Wicket - User mailing list archive at Nabble.com

Re: Component Factory and code against interface

2007-09-04 Thread Eelco Hillenius
On 9/4/07, Sam Hough [EMAIL PROTECTED] wrote: Thanks Johan and Eelco, I'm going to consider the model as opaque as far as change tracking is concerned. I just want an easy way to track dirty components so looks like this is the way to go unless it is going away completely. Since so many

Re: Component Factory and code against interface

2007-09-04 Thread Sam Hough
... Perhaps coming from GWT I imagined Wicket would magically handle all the state changes for me. All the AjaxTarget stuff seems very low level for writing user interfaces. -- View this message in context: http://www.nabble.com/Component-Factory-and-code-against-interface-tf4311047.html#a12483783

Re: Component Factory and code against interface

2007-09-04 Thread Eelco Hillenius
I have the habit of having a fixUpTheStateOfThisWidget method (real name changed to protect the guilty) that I'm starting to wonder if I can hook this into marking components as dirty. So maybe I can get away with explicit marking of components as dirty. Or e.g. work with bean properties and

Re: Component Factory and code against interface

2007-09-03 Thread Sam Hough
not that many choices... -- View this message in context: http://www.nabble.com/Component-Factory-and-code-against-interface-tf4311047.html#a12461509 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe

Re: Component Factory and code against interface

2007-09-03 Thread Eelco Hillenius
igor.vaynberg wrote: On 8/23/07, Sam Hough [EMAIL PROTECTED] wrote: heh, there is nothing that automatically marks components as dirty() because wicket doesnt know what you do inside your components. wicket is unmanaged. If I do Component.setVersioned(true) and hook in my own

Re: Component Factory and code against interface

2007-09-02 Thread Sam Hough
this message in context: http://www.nabble.com/Component-Factory-and-code-against-interface-tf4311047.html#a12308606 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e

Re: Component Factory and code against interface

2007-09-01 Thread Igor Vaynberg
advice. -- View this message in context: http://www.nabble.com/Component-Factory-and-code-against-interface-tf4311047.html#a12308606 Sent from the Wicket - User mailing list archive at Nabble.com

Re: Component Factory and code against interface

2007-08-31 Thread Sam Hough
? Restricting the set of components can presumably end up with a more consistent UI... Anyway, thanks for all your time and sage advice. -- View this message in context: http://www.nabble.com/Component-Factory-and-code-against-interface-tf4311047.html#a12308606 Sent from the Wicket - User

Re: Component Factory and code against interface

2007-08-31 Thread Igor Vaynberg
this message in context: http://www.nabble.com/Component-Factory-and-code-against-interface-tf4311047.html#a12308606 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL

Re: Component Factory and code against interface

2007-08-31 Thread Sam Hough
] -- View this message in context: http://www.nabble.com/Component-Factory-and-code-against-interface-tf4311047.html#a12426453 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL

Re: Component Factory and code against interface

2007-08-24 Thread Johan Compagner
as dirty so they can be sent back via Ajax (Echo like)? I think that would handle 90% of our Ajax like stuff. Cheers Sam -- View this message in context: http://www.nabble.com/Component-Factory-and-code-against-interface

Re: Component Factory and code against interface

2007-08-24 Thread Sam Hough
: http://www.nabble.com/Component-Factory-and-code-against-interface-tf4311047.html#a12290179 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Component Factory and code against interface

2007-08-24 Thread Igor Vaynberg
consistent UI... Anyway, thanks for all your time and sage advice. -- View this message in context: http://www.nabble.com/Component-Factory-and-code-against-interface-tf4311047.html#a12308606 Sent from the Wicket - User mailing list archive at Nabble.com

Re: Component Factory and code against interface

2007-08-24 Thread Eelco Hillenius
On 8/24/07, Johan Compagner [EMAIL PROTECTED] wrote: We can do that because all our components implement specific interfaces which changes the state of the component. For example interface ILabelMethods { setBackground(Color color) setForeground(Color color) // and so on }

Re: Component Factory and code against interface

2007-08-24 Thread Sam Hough
://www.nabble.com/Component-Factory-and-code-against-interface-tf4311047.html#a12308606 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Component Factory and code against interface

2007-08-23 Thread Igor Vaynberg
as dirty so they can be sent back via Ajax (Echo like)? I think that would handle 90% of our Ajax like stuff. Cheers Sam -- View this message in context: http://www.nabble.com/Component-Factory-and-code-against-interface-tf4311047.html#a12290179 Sent from the Wicket - User mailing list

Re: Component Factory and code against interface

2007-08-23 Thread Sam Hough
like)? I think that would handle 90% of our Ajax like stuff. Cheers Sam -- View this message in context: http://www.nabble.com/Component-Factory-and-code-against-interface-tf4311047.html#a12290179 Sent from the Wicket - User mailing list archive at Nabble.com

Re: Component Factory and code against interface

2007-08-23 Thread Igor Vaynberg
in context: http://www.nabble.com/Component-Factory-and-code-against-interface-tf4311047.html#a12290179 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED

Component Factory and code against interface

2007-08-22 Thread Sam Hough
but it seems like a reasonable thing to do? Anbody else tried this? Worked out well? Top tips? -- View this message in context: http://www.nabble.com/Component-Factory-and-code-against-interface-tf4311047.html#a12272781 Sent from the Wicket - User mailing list archive at Nabble.com

Re: Component Factory and code against interface

2007-08-22 Thread Igor Vaynberg
this message in context: http://www.nabble.com/Component-Factory-and-code-against-interface-tf4311047.html#a12272781 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED