Re: How to specify the html text for span

2012-09-06 Thread jam.ntk
thanks I used the webmarkupcontainer instead of multilinelabel to solve this issue. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-specify-the-html-text-for-span-tp4651812p4651829.html Sent from the Users forum mailing list archive at Nabble.com. ---

Re: Wicket and Javascript UI Libraries' components

2012-09-06 Thread gia
Thank you Martin -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-and-Javascript-UI-Libraries-components-tp4651804p4651828.html Sent from the Users forum mailing list archive at Nabble.com. -

Re: The Apache Software Foundation Announces Apache Wicket™ 6.0.0

2012-09-06 Thread Madasamy Sankarapandian
Thanks for your great job

RE: Migration to 1.5: 'X' is not a valid Serializable

2012-09-06 Thread Paul Bors
>From inside Wicket 1.5.8 the FormComponent:1112 protected void convertInput() { // No generics and the type is null if (typeName == null) { try { convertedInput = conver

Re: Migration to 1.5: 'X' is not a valid Serializable

2012-09-06 Thread Alec Swan
> Besides calling #setType() do you actually use generics with your models and > components? Sorry, don't quite understand the question. I am not calling setType() hence the problems with type detection in Wicket. Why is it important if I use generics if they are only compile-time syntactic sugar?

RE: Migration to 1.5: 'X' is not a valid Serializable

2012-09-06 Thread Paul Bors
Besides calling #setType() do you actually use generics with your models and components? See also: http://wicket.apache.org/apidocs/1.5/org/apache/wicket/markup/html/form/Form Component.html#setType(java.lang.Class) And the model changes done in 1.4: https://cwiki.apache.org/WICKET/migrating-to-w

Re: Migration to 1.5: 'X' is not a valid Serializable

2012-09-06 Thread Alec Swan
The fix for this is the same as for the "X is not a valid Serializable", specifically: new EditableLabel(..).setType(String.class) Is there anybody who thinks that requiring setType(..) call on all components which models don't resolve to a supported type is huge problem? Can this be fixed in 1.5

Re: Add an invisible component to an AjaxRequestTarget target

2012-09-06 Thread Thijs Vonk
OK thnx will give it a try On 6/9/12 22:39, Igor Vaynberg wrote: isVisibleInHierarchy() will make sure all parents are visible as well -igor On Thu, Sep 6, 2012 at 1:27 PM, Thijs Vonk wrote: Hi, We have partial page updates all over a page. So panels and components all over the place that n

Re: Migration to 1.5: 'X' is not a valid Serializable

2012-09-06 Thread Alec Swan
I just ran into another problem with type resolution. In fact, it looks like a bug in org.apache.wicket.util.lang.Objects#convertValue. The call convertValue(nonNullNonArrayValue, Object.class) will always return null if nonNullNonArrayValue is a value that is not null and not an array! Is that a

Re: Add an invisible component to an AjaxRequestTarget target

2012-09-06 Thread Igor Vaynberg
isVisibleInHierarchy() will make sure all parents are visible as well -igor On Thu, Sep 6, 2012 at 1:27 PM, Thijs Vonk wrote: > Hi, > > We have partial page updates all over a page. So panels and components all > over the place that need Ajax updates. > We're using an Interface on those componen

Add an invisible component to an AjaxRequestTarget target

2012-09-06 Thread Thijs Vonk
Hi, We have partial page updates all over a page. So panels and components all over the place that need Ajax updates. We're using an Interface on those components and with an IVisitor we traverse the component tree and add every component to the target that has this interface. But during dev

Re: The Apache Software Foundation Announces Apache Wicket™ 6.0.0

2012-09-06 Thread Minas Manthos
Nice Job! Thanks to all! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/The-Apache-Software-Foundation-Announces-Apache-Wicket-6-0-0-tp4651780p4651817.html Sent from the Users forum mailing list archive at Nabble.com. ---

Re: How to specify the html text for span

2012-09-06 Thread Martin Grigorov
On Thu, Sep 6, 2012 at 8:26 PM, jam.ntk wrote: > Hi - I have a MultiLineLabel as following > > this.form.add(new MultiLineLabel("myLabel").add(new Pass some non-null model to the label above. See its constructors. > SimpleAttributeModifier("title", tooltipMsg))); > > Now on the html side, I have

Re: The Apache Software Foundation Announces Apache Wicket™ 6.0.0

2012-09-06 Thread Olivier Dutrieux
Very very nice, very very greatest job thx Duto - Duto -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/The-Apache-Software-Foundation-Announces-Apache-Wicket-6-0-0-tp4651780p4651815.html Sent from the Users forum mailing list archive at Nabble.com. --

Re: How to specify the html text for span

2012-09-06 Thread jam.ntk
here is the mark up:   -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-specify-the-html-text-for-span-tp4651812p4651814.html Sent from the Users forum mailing list archive at Nabble.com. - T

Re: How to specify the html text for span

2012-09-06 Thread Sven Meier
Hard to guess the problem when your markup didn't come through :/. Sven On 09/06/2012 08:26 PM, jam.ntk wrote: Hi - I have a MultiLineLabel as following this.form.add(new MultiLineLabel("myLabel").add(new SimpleAttributeModifier("title", tooltipMsg))); Now on the html side, I have smething li

How to specify the html text for span

2012-09-06 Thread jam.ntk
Hi - I have a MultiLineLabel as following this.form.add(new MultiLineLabel("myLabel").add(new SimpleAttributeModifier("title", tooltipMsg))); Now on the html side, I have smething like following:   Now, when the page renders   is replaced to null by wicket. I want to have   there as the span c

Re: Wicket 1.5 migration questions

2012-09-06 Thread Alec Swan
But I want JavaScript files to be compresses by JavaScriptResourceReference and CSS be served as PackageResourceReference. How do I mount them both under /global URL suffix? On Thu, Sep 6, 2012 at 12:02 PM, Martin Grigorov wrote: > extend PackageResourceReference and override its #getName() to re

Re: Wicket 1.5 migration questions

2012-09-06 Thread Martin Grigorov
extend PackageResourceReference and override its #getName() to read the name from the request path/parameters mountResource("/global", new MyPRR()) On Thu, Sep 6, 2012 at 7:57 PM, Alec Swan wrote: > In 1.4 I had the following classes in com.myco.app.res package: > > GlobalJavascriptResourceRefere

Re: Wicket 1.5 migration questions

2012-09-06 Thread Alec Swan
In 1.4 I had the following classes in com.myco.app.res package: GlobalJavascriptResourceReference extends JavaScriptResourceReference GlobalCompressedResourceReference extends PackageResourceReference GlobalResourceScope And Application had the following code: getSharedResources().putClassAlias(G

Re: Wicket and Javascript UI Libraries' components

2012-09-06 Thread Martin Grigorov
Hi Gia, There are few good libraries that integrate Wicket with JavaScript libraries (mostly jQuery). See http://code.google.com/p/wiquery/, http://code.google.com/p/wicket-jquery-ui/, http://code.google.com/p/jqwicket/, ... If you don't use jQuery then use there code as inspiration. On Thu, Sep

Wicket and Javascript UI Libraries' components

2012-09-06 Thread gia
Hi, I am a newbie. So far I have used PHP with some javascript libraries: Prototype, YUI, Dojo. I started with Wicket 1.4.x. As I see Wicket has its own ui componenets. What is not clear for me how can I use/integrate an external Javascript libraries. Any help is appreciated, Regards gia --

[CVE-2012-3373] Apache Wicket XSS vulnerability via manipulated URL parameter

2012-09-06 Thread Carl-Eric Menzel
Severity: Important Vendor: The Apache Software Foundation Versions Affected: Apache Wicket 1.4.x and 1.5.x Description: https://wicket.apache.org/2012/09/06/cve-2012-3373.html It is possible to inject JavaScript statements into an ajax link by adding an encoded null byte to a URL pointing to a

Re: WiQuery 6.0.0 has been released!

2012-09-06 Thread julien roche
Awesome ! I am impatient to use it in my next Wicket project ! Cheers Julien Roche On Thu, Sep 6, 2012 at 12:23 PM, Hielke Hoeve wrote: > We from WiQuery are happy to announce the release of WiQuery 6.0.0! > > Unlike WiQuery 1.5 this release has become smaller. All of the resource > manageme

WiQuery 6.0.0 has been released!

2012-09-06 Thread Hielke Hoeve
We from WiQuery are happy to announce the release of WiQuery 6.0.0! Unlike WiQuery 1.5 this release has become smaller. All of the resource management present in WiQuery 1.5 has been removed because Wickets resource management has been totally revamped and works nearly the same. This considerab

Re: The Apache Software Foundation Announces Apache Wicket™ 6.0.0

2012-09-06 Thread Kees van Dieren
Congratulations and thanks for all the effort! Best regards / Met vriendelijke groet, Kees van Dieren Squins | IT, Honestly Oranjestraat 23 2983 HL Ridderkerk The Netherlands Mobile: +31 (0)6 30413841 www.squins.com http://twitter.com/keesvandieren Chamber of commerce Rotterdam: 24435130 Boeken

Re: The Apache Software Foundation Announces Apache Wicket™ 6.0.0

2012-09-06 Thread Martin Grigorov
Here are a few articles which may be useful for you: http://wicketinaction.com/2012/07/whats-new-in-wicket-6/ http://wicketinaction.com/2012/07/wicket-6-javascript-improvements/ http://wicketinaction.com/2012/07/wicket-6-native-websockets/ http://wicketinaction.com/2012/07/wicket-6-resource-manage

Re: The Apache Software Foundation Announces Apache Wicket™ 6.0.0

2012-09-06 Thread Decebal Suiu
Good job -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/The-Apache-Software-Foundation-Announces-Apache-Wicket-6-0-0-tp4651780p4651798.html Sent from the Users forum mailing list archive at Nabble.com. ---

Re: The Apache Software Foundation Announces Apache Wicket™ 6.0.0

2012-09-06 Thread Luca Provenzani
Thank you all for this new version! Il 05/09/2012 18:53, Martijn Dashorst ha scritto: "With great pleasure we announce the availability of Apache Wicket 6.0.0" -- Martijn Dashorst, Vice President, Apache Wicket Apache Wicket v6.0.0 is the 6th major release of the popular open source Java web f