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 nemat.rakhma...@gmail.comwrote: I've migrated my project from wicket 1.4.x and found out that pages are created two times.

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(ab){ error(validatable) } New way: validatable.error(new ValidationError(this)); - is it right?

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

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: wicket:panel ... stuff ... /wicket:panel Some

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 wicket:extend instead of wicket:panel 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

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

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 satya...@gmail.com wrote: trying to use this example from

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 mgrigo...@apache.orgwrote: wicketGet - Wicket.get() (or Wicket.$()) For Wicket 6 all such small methods were moved into Wicket.** namespace. There

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

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: 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-17150http://java.net/jira/browse/GLASSFISH-17150GF throws NPE when IE9 closes connection before the execution of doGet in

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 already

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

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

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 satya...@gmail.com schrieb: IAutoCompleteRendererBroker renderer = new AbstractAutoCompleteTextRendererBroker() { private static final long serialVersionUID = 1L;

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:

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