Re: What is wrong/missing in this code, model object deos not get set

2013-02-01 Thread saty
Yes, this is it, thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/What-is-wrong-missing-in-this-code-model-object-does-not-get-set-tp4656005p4656009.html Sent from the Users forum mailing list archive at Nabble.com.

Re: What is wrong/missing in this code, model object deos not get set

2013-02-01 Thread vineet semwal
use AjaxFormComponentUpdatingBehavior On Sat, Feb 2, 2013 at 12:18 AM, saty wrote: > I will give it a try just to see if model gets set, but i really cant do that > in this case as there are other fields in the form that need to be filled > before submitting the form, is there any other way that

Re: What is wrong/missing in this code, model object deos not get set

2013-02-01 Thread saty
I will give it a try just to see if model gets set, but i really cant do that in this case as there are other fields in the form that need to be filled before submitting the form, is there any other way that just sets the model for auto complete field? -- View this message in context: http://ap

Re: What is wrong/missing in this code, model object deos not get set

2013-02-01 Thread Michael Mosmann
Use AjaxFormSubmitBehavior,not AjaxEventBehavior.. Michael saty schrieb: >IAutoCompleteRenderer renderer = new >AbstractAutoCompleteTextRenderer() > { > private static final long serialVersionUID = 1L; > @Override >

What is wrong/missing in this code, model object deos not get set

2013-02-01 Thread saty
IAutoCompleteRenderer renderer = new AbstractAutoCompleteTextRenderer() { private static final long serialVersionUID = 1L; @Override protected String getTextValue(Broker object) {

Re: Style Modifier

2013-02-01 Thread Paul Bors
If I understand you right, you’re using it for in-line "style" attribute whereas the "class" attribute should be used via Cascading Styling Sheets. I would normally extends a CSS class and make the change I need (in your example the background-color) and then append that new class name to an alre

Re: after migration to 1.5 I get "java.lang.IllegalStateException: Header was already written to response!"

2013-02-01 Thread Paul Bors
On a side note, I had similar issues with IE9 and Wicket 1.5.x but solved them by upgrading the application server. In my case it was fixed in GlassFish v3.1.2.2 via GLASSFISH-17150"GF throws NPE when IE9 closes connection before the execution of doGet

Re: ReferenceError: wicketGet is not defined

2013-02-01 Thread saty
thanks, much appreciated -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/ReferenceError-wicketGet-is-not-defined-tp4655998p4656002.html Sent from the Users forum mailing list archive at Nabble.com.

Re: ReferenceError: wicketGet is not defined

2013-02-01 Thread Martin Grigorov
More examples at http://martin-g.github.com/wicket-reference-guide/ajax.html soonish. On Fri, Feb 1, 2013 at 5:28 PM, Nick Pratt wrote: > Some examples here for 6.0: > https://cwiki.apache.org/WICKET/calling-wicket-from-javascript.html > > On Fri, Feb 1, 2013 at 11:27 AM, Martin Grigorov >wro

Re: ReferenceError: wicketGet is not defined

2013-02-01 Thread Nick Pratt
Some examples here for 6.0: https://cwiki.apache.org/WICKET/calling-wicket-from-javascript.html On Fri, Feb 1, 2013 at 11:27 AM, Martin Grigorov wrote: > wicketGet -> Wicket.get() (or Wicket.$()) > > For Wicket 6 all such small methods were moved into Wicket.** namespace. > There is a table with

Re: ReferenceError: wicketGet is not defined

2013-02-01 Thread Martin Grigorov
wicketGet -> Wicket.get() (or Wicket.$()) For Wicket 6 all such small methods were moved into Wicket.** namespace. There is a table with the old -> new names in the migration guide for Ajax. On Fri, Feb 1, 2013 at 5:08 PM, saty wrote: > trying to use this example from > org.apache.wicket.exten

Style Modifier

2013-02-01 Thread William Speirs
I created a Behavior the other night that allows one to modify the style attribute of a tag by easily adding or removing a CSS property. Why is this better/different than AttributeModifier? Because you can update a CSS property inside the style attribute. Basic usage: myComponent.add(new StyleModi

Re: Problem with markup inheritance in Wicket 6

2013-02-01 Thread Martin Grigorov
Hi, I think there are no changes in this area. Do you extend/inherit the markup or completely override it ? I expect to see instead of in MyNewPanel.html. Create a quickstart and attach it to a ticket in Jira please. On Fri, Feb 1, 2013 at 2:12 PM, Dmitriy Neretin < dmitriy.nere...@googlemail.

Problem with markup inheritance in Wicket 6

2013-02-01 Thread Dmitriy Neretin
Hi Folks, I have another problem during Wicket 6 migration. This time it is a problem with markup inheritance. I have an old wicket panel and appropriate markup file: MyOldGoodWicketPanel & MyOldGoodWicketPanel.html Markup file looks like this: ... stuff ... Some months ago I needed for the

OSGi Activator setup

2013-02-01 Thread RalfButler
Hi there, My webapp bundle deployment into OSGi Enterprise Server Jonas works fine. It is just that I don't know how to access the my webapp. I added an Activator class: /import java.util.Hashtable; import javax.servlet.Filter; import org.osgi.framework.BundleActivator; import org.osgi.framework.

Re: FeedbackMessage from FormComponent in Wicket 6

2013-02-01 Thread Dmitriy Neretin
Thank You! But I still don't really understand the error handling. For example I implement the IValidator interface and if I fount an error how can I register it in wicket 6 approach? Old way: if(a>b){ error(validatable) } New way: validatable.error(new ValidationError(this)); <- is it right?

Re: CryptoMapper problem on wicket 6.x

2013-02-01 Thread Martin Grigorov
Hi, There is a fresh ticket about this: https://issues.apache.org/jira/browse/WICKET-4995 It will be addressed soon. On Fri, Feb 1, 2013 at 9:26 AM, Nemat Rakhmatov wrote: > I've migrated my project from wicket 1.4.x and found out that pages are > created two times. Noticed in my log file the s