Avoiding XMlPullParser Parse exception

2012-08-14 Thread vinitty
I am migrating from 1.3.4 to 1.5.7 No in my Html some places extra quotes are exits but my Html was working fine in 1.3.4 Now in 1.5.7 parsing exception is coming I can not modified htmls as i am having around 1k htmls please suggest what to do and how to solve this -- View this message

Re: How to control IMG/CSS URL-Rewriting in mounted pages?

2012-08-14 Thread Martin Grigorov
Hi, If your images/css are in the web root then use something like images/image.img in your .html. Wicket will make the url relative to the web root no matter what mount path you use for the page. On Mon, Aug 13, 2012 at 5:41 PM, Joachim Schrod jsch...@acm.org wrote: Hi, I'm new to Wicket and

Re: Problem sending email using SSL after upgrading to Wicket 1.5

2012-08-14 Thread Martin Grigorov
Hi, I don't think this is anyhow related to Wicket. Here are the GMail SMTP related props I use successfully: mail.server.host=smtp.gmail.com mail.server.port=587 mail.server.username=my.em...@gmail.com mail.server.password=my-passwd mail.server.starttls.enable=true You may also check the docs

Re: Avoiding XMlPullParser Parse exception

2012-08-14 Thread Martin Grigorov
Hi, You better fix your HTML. This will improve the way it is rendered too. I hope you don't have invalid HTML in all these 1k html files. On Tue, Aug 14, 2012 at 9:09 AM, vinitty vini...@gmail.com wrote: I am migrating from 1.3.4 to 1.5.7 No in my Html some places extra quotes are exits but

Re: Avoiding XMlPullParser Parse exception

2012-08-14 Thread vinitty
Hmm So there is no other way ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Avoiding-XMlPullParser-Parse-exception-tp4651210p4651214.html Sent from the Users forum mailing list archive at Nabble.com.

Re: How to control IMG/CSS URL-Rewriting in mounted pages?

2012-08-14 Thread Joachim Schrod
Yes, that's what I observed and described below. And that behavior is not appropriate for my use case. So, how can I stop Wicket to make the url relative to the web root no matter what mount path I use for the page? I want to *change* that: my designer delivers HTML where the images are *not*

Looking for A Telecommuting Wicket Specialist

2012-08-14 Thread Martin Makundi
Hi! We are looking for a telecommuting wicket private contractor to do some application development using Wicket (1.4.x). We prefer a direct contract with the developer-contractor instead of software companies. ** Martin http://code.google.com/p/koodaripalvelut-wicket/

Re: Is there a way to search component by its wicket ID ?

2012-08-14 Thread arkadyz111
But why we have to write userForm ? What is an idea behind of this ? Why get(username) is not enough ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Is-there-a-way-to-search-component-by-its-wicket-ID-tp4651175p4651217.html Sent from the Users forum mailing list

Re: Problem sending email using SSL after upgrading to Wicket 1.5

2012-08-14 Thread James Eliyezar
Martin, Yes I use smtp props that are similar to what you have shared. Kindly see my initial post for the smtp properties used by me. I may sound stupid but the same piece of code runs fine when using wicket-1.4.x. And I use the following wicket related dependencies: - wicket -

Re: Is there a way to search component by its wicket ID ?

2012-08-14 Thread James Eliyezar
Because the id is unique only within the markup container of a component. It need not be unique in a page. This is by design. For more details refer: https://cwiki.apache.org/WICKET/component-hierarchy.html On Tue, Aug 14, 2012 at 3:42 PM, arkadyz111 azelek...@gmail.com wrote: But why we have

RE: wicket-dnd strange situation

2012-08-14 Thread Decebal Suiu
Hi Hielke First, I want to say thanks for wiquery. I integrated wiquery in a big project with success and we are happy with them. I know that the 2 code snippets do exactly the same. The first uses the wicket mechanism and the second uses the jquery mechanism. I read at

Re: Is there a way to search component by its wicket ID ?

2012-08-14 Thread nunofaria11
Hi there, I'm not really sure if searching a component by its ID is a good idea - It kinda' breaks modularity and goes against the OO approach. I have never searched a component by its ID but assuming you need the full path (hierarchy) to it, such component will be hard to use in any other

Re: Wicket freelancer job in Vienna, Austria

2012-08-14 Thread gbrunner
Hi Marco, I'm also based in Vienna and this sounds interesting. Can you provide me with some more details about the project and what exactly you are looking for. Best, Gerwin Brunner P.S.: Wir können die Unterhaltung auch auf Deutsch durchführen :) -- View this message in context:

Re: Checkbox in DataTable is not reflecting its sts in checkbox

2012-08-14 Thread Delange
I agree, but how should the code be? At the end it has to be placed in the model. Do you have any suggestion? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Checkbox-in-DataTable-is-not-reflecting-its-sts-in-checkbox-tp4651174p4651225.html Sent from the Users

Re: Checkbox in DataTable is not reflecting its sts in checkbox

2012-08-14 Thread Bertrand Guay-Paquet
You have 2 choices: 1) put the boolean as a property of your KostenOV and reference it with a model (e.g. propertyModel) 2) Use a CheckGroup and multiple checkboxes which use the id of KostenOV as their value. Have a look at:

Re: Wicket freelancer job in Vienna, Austria

2012-08-14 Thread gbrunner
Hi Marco, I'm also based in Vienna and this sounds interesting. Can you provide me with some more details about the project and what exactly you are looking for. Best, Gerwin Brunner P.S.: Wir können die Unterhaltung auch auf Deutsch durchführen :) -- View this message in context:

RE: Is there a way to search component by its wicket ID ?

2012-08-14 Thread Paul Bors
If you use wicket-component-expressions from com.googlecode.londonwicket you can get to the list of all the components on the page that have that username id via a regexp of **:username, but as James mentioned earlier, the ID is not unique and your wicket component tree might have such multiple

RE: How to control IMG/CSS URL-Rewriting in mounted pages?

2012-08-14 Thread Paul Bors
Wicket rewrite the SRC attribute of the image as relative to your webapp context unless you declare that image as a wicket component, give it a wicket:id and then use a ContextImage. Thus you would turn a img src=../images/image.jpg to a img wicket:id=img src=../images/image.jpg. If you do

Re: WicketRuntimeException: Submit Button ... is not enabled

2012-08-14 Thread eugenebalt
Thanks a lot. In our case, we have an AjaxButton that maps to a input type=submit. Would using the input type Button get rid of this problem? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/WicketRuntimeException-Submit-Button-is-not-enabled-tp4651180p4651231.html

Re: WicketRuntimeException: Submit Button ... is not enabled

2012-08-14 Thread Bertrand Guay-Paquet
No, they are interchangeable. On 14/08/2012 11:42 AM, eugenebalt wrote: Thanks a lot. In our case, we have an AjaxButton that maps to a input type=submit. Would using the input type Button get rid of this problem? -- View this message in context:

Re: WicketRuntimeException: Submit Button ... is not enabled

2012-08-14 Thread eugenebalt
It is true that we have multiple buttons on our form that we are disabling/hiding selectively. Our scenario: a panel that contains the button Edit, and then when it's clicked, the panel opens and Edit is replaced by two other visible buttons - Submit and Cancel. Edit is gone. We need this dynamic

RE: WicketRuntimeException: Submit Button ... is not enabled

2012-08-14 Thread Paul Bors
As an idea, I tend to keep the panel edit/view state as a boolean and then toggle the label on the button and control the behavior of the button press via an if-else statement in the onSubmit() of the button. This helps because I only have a single Edit/Save button and I toggle from labels to

Ajaxtabbedpanel example not working on ie9

2012-08-14 Thread Delange
Running this example from the apache website it's working ok, But when i run the sample example on my tomcat server and open it in an IE9 browser: i see no reaction if a choose another tab When I try this on Chrome or Safari it works fine. How to resolve this with IE9? Here a debug list:

RE: Ajaxtabbedpanel example not working on ie9

2012-08-14 Thread Paul Bors
If you're talking about: http://www.wicket-library.com/wicket-examples/ajax/tabbed-panel?2 That works fine with IE: 9.0.8112.16421, perhaps you blocked JavaScript from executing? ~ Thank you, Paul Bors -Original Message- From: Delange [mailto:delan...@telfort.nl] Sent: Tuesday,