[RELEASE] Wicket Stuff 6.0.0-beta3

2012-07-26 Thread Martijn Dashorst
This is my first Wicket Stuff release, so I hope I didn't mess up. Below are the changes since 6.0.0-beta1 The release tag is wicketstuff-core-6.0.0-beta3 Have fun! Martijn Dashorst Martin Grigorov (9): Merge pull request #122 from JoachimRohde/master Merge pull request #124 from td

Re: renderHead() / wicket:head page / component order

2012-07-26 Thread Emond Papegaaij
On Thursday 26 July 2012 19:26:36 Pierre Goiffon wrote: > Le 26/07/2012 10:29, Emond Papegaaij a écrit : > > Second, I suggest you use Wicket 6, because consistent resource ordering > > in > > Wicket 1.5 is nearly impossible. > > Reading this made me smile : we use Wicket for a while now, and > up

Re: I think it's time for a new book.... Igor and Co ?

2012-07-26 Thread Bertrand Guay-Paquet
writing the book was a very long and a very exhausting effort, much much more then i thought it would be. when i was done the book was actually twice as long as what was published, but the publisher wanted me to trim it down to keep the cost low... they would have to charge more if the book h

Re: I think it's time for a new book.... Igor and Co ?

2012-07-26 Thread Igor Vaynberg
On Fri, Jul 27, 2012 at 12:20 AM, Bertrand Guay-Paquet wrote: > >> Seeing how the previous book authors became less active after writing >> a book I think this is not a very good idea... :-/ > > Is this because the books didn't sell well enough? i can only speak for myself, define enough :) i ag

Re: I think it's time for a new book.... Igor and Co ?

2012-07-26 Thread Bertrand Guay-Paquet
Seeing how the previous book authors became less active after writing a book I think this is not a very good idea... :-/ Is this because the books didn't sell well enough? I don't know the authors personally and I don't know much about the publishing world so it could very well be another reas

Re: Image urls with CryptoMapper

2012-07-26 Thread jchappelle
Thanks Martin! I was hoping there was a static utility to rewrite that url. I think this will get me what I need. On Thu, Jul 26, 2012 at 3:50 PM, Martin Grigorov-4 [via Apache Wicket] < ml-node+s1842946n465081...@n4.nabble.com> wrote: > Hi, > > Either generate absolute urls from the backend serv

Re: Image urls with CryptoMapper

2012-07-26 Thread Martin Grigorov
Hi, Either generate absolute urls from the backend service or if you are certain that the image url is context relative then pass it first to org.apache.wicket.core.util.string.UrlUtils#rewriteToContextRelative() before setting it in the model. On Thu, Jul 26, 2012 at 11:43 PM, jchappelle wrote:

Re: Image urls with CryptoMapper

2012-07-26 Thread Michael Mosmann
Ok.. i think, wicket will parse the markup and rewrites the first img tag... Wicket can only do this, because its allready in the markup. Whatever comes out of an model will NOT be parsed by wicket, so its plain html (escaping switched off). The second image is more like your problem as the firs

Re: Image urls with CryptoMapper

2012-07-26 Thread jchappelle
Sven, You closed this ticket but let me say this. I'm clearly not perfectly reproducing what I am seeing in my live app. However, what is common is that wicket is finding the hard-coded image on the second page because it is rewriting the url of that image and it is not doing that for the dynamic

Re: Image urls with CryptoMapper

2012-07-26 Thread jchappelle
Well, in my actual live application I don't have that option. We are sending a query to a web service and part of the response from that web service has these image links embedded in it. So we are using a label to display them just as I am doing in the quickstart. As you can see in the quickstart,

Re: Image urls with CryptoMapper

2012-07-26 Thread Michael Mosmann
I have some questions. How does the first img-tag on the second page differ from the first one? Why dont you use a wicket image component? Mm:) -- Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet. jchappelle schrieb: I went back and edited my post. It might not hav

Re: Image urls with CryptoMapper

2012-07-26 Thread jchappelle
Issue created. https://issues.apache.org/jira/browse/WICKET-4678 https://issues.apache.org/jira/browse/WICKET-4678 -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Image-urls-with-CryptoMapper-tp4650805p4650809.html Sent from the Users forum mailing list archive at

Re: Image urls with CryptoMapper

2012-07-26 Thread jchappelle
I went back and edited my post. It might not have come through the mailing list but if you look at it from the nabble website it shows up. Josh On Thu, Jul 26, 2012 at 2:57 PM, michael mosmann [via Apache Wicket] < ml-node+s1842946n4650807...@n4.nabble.com> wrote: > Are you sure, that your panel

Re: Image urls with CryptoMapper

2012-07-26 Thread Sven Meier
That's hard to say from the snippet you've provided here, especially since a few markup tags didn't make it through. Please create an issue and attach your quickstart to it. Sven On 07/26/2012 09:31 PM, jchappelle wrote: I'm hitting a problem with images not being found when using CryptoMappe

Re: renderHead() / wicket:head page / component order

2012-07-26 Thread Martin Grigorov
On Thu, Jul 26, 2012 at 8:26 PM, Pierre Goiffon wrote: > Le 26/07/2012 10:29, Emond Papegaaij a écrit : >> Hi Pierre, > > Hi Edmond, thanks for your answer ! > >> First of all, I strongly recommend you do not use a different >> HeaderRenderStrategy. > > Yes, Martin made it very clear that ParentFi

Re: renderHead() / wicket:head page / component order

2012-07-26 Thread Pierre Goiffon
Le 26/07/2012 10:29, Emond Papegaaij a écrit : > Hi Pierre, Hi Edmond, thanks for your answer ! > First of all, I strongly recommend you do not use a different > HeaderRenderStrategy. Yes, Martin made it very clear that ParentFirstHeaderRenderStrategy is deprecated. > Second, I suggest you use

Re: Ajax Timeouts

2012-07-26 Thread Richard W. Adams
Great! That means I don't have to waste time tracking down non-existent timeouts & can focus elsewhere. Thanks for the quick feedback. From: Martin Grigorov To: users@wicket.apache.org Date: 07/26/2012 09:56 AM Subject:Re: Ajax Timeouts On Thu, Jul 26, 2012 at 5:50 PM, Richa

Re: Ajax Timeouts

2012-07-26 Thread Martin Grigorov
On Thu, Jul 26, 2012 at 5:50 PM, Richard W. Adams wrote: > Yes, it is my code. My server code will eventually reply. What I can't > control is how long a database operation will take. Typically the database > work finishes under 10 seconds, but sometimes can run up to a minute or > longer. > > I

Re: Ajax Timeouts

2012-07-26 Thread Richard W. Adams
Yes, it is my code. My server code will eventually reply. What I can't control is how long a database operation will take. Typically the database work finishes under 10 seconds, but sometimes can run up to a minute or longer. If I understand you correctly, even if takes 5 minutes (an extreme

Re: Ajax Timeouts

2012-07-26 Thread Martin Grigorov
On Thu, Jul 26, 2012 at 5:35 PM, Richard W. Adams wrote: > So once the client request gets access to the page instance, it will wait > forever for a reply? this is your code, no ? once the Ajax call gets access to the page Wicket executes onEvent(AjaxRequestTarget). Here it is your job to not bl

Re: Ajax Timeouts

2012-07-26 Thread Richard W. Adams
So once the client request gets access to the page instance, it will wait forever for a reply? From: Martin Grigorov To: users@wicket.apache.org Date: 07/26/2012 09:27 AM Subject:Re: Ajax Timeouts Hi, The timeout is to get access to the page instance. It is for both Ajax a

Re: Ajax Timeouts

2012-07-26 Thread Martin Grigorov
Hi, The timeout is to get access to the page instance. It is for both Ajax and normal requests. See org.apache.wicket.settings.IRequestCycleSettings#getTimeout You must have some exceptions in the logs if this is the reason. But even if Ajax request fails to get access to the page then it will e

Re: I think it's time for a new book.... Igor and Co ?

2012-07-26 Thread Martin Grigorov
On Thu, Jul 26, 2012 at 10:08 AM, mlabs wrote: > I'm all for improving the javadocs... oh yes... but in my experience with > javadocs, the context is too limited.. to the class or interface in > question.. there is rarely the more important 'bigger picture' information > that you need as a develop

Re: renderHead() / wicket:head page / component order

2012-07-26 Thread Emond Papegaaij
Hi Pierre, First of all, I strongly recommend you do not use a different HeaderRenderStrategy. It is likely to get removed in future versions of Wicket and might break libraries that depend on the normal HeaderRenderStrategy. Second, I suggest you use Wicket 6, because consistent resource order

how to get dropdownlist selected value

2012-07-26 Thread lxw_first
http://apache-wicket.1842946.n4.nabble.com/file/n4650788/aaa.bmp html: code final ListView trView=new ListView("tritems", new PropertyModel(this, "attrBizRoles")) { private IBizRole attrvalueBizRole=new BizRole();

RE: I think it's time for a new book.... Igor and Co ?

2012-07-26 Thread mlabs
I'm all for improving the javadocs... oh yes... but in my experience with javadocs, the context is too limited.. to the class or interface in question.. there is rarely the more important 'bigger picture' information that you need as a developer diving into something new... Wicket is a fantastic f

Re: getChoices from ListMultipleChoice

2012-07-26 Thread cosmindumy
Thanks It helped me. But just another problem. I have a customized multiple choice with 2 multiple ListMultipleChoice inside. and movieng selected choices from each other. I have problems with safe cast. Here is my class definition: public class CusomizedMultipleChoice extends Panel Here ar

Re: renderHead() / wicket:head page / component order

2012-07-26 Thread Emond Papegaaij
Hi Pierre, First of all, I strongly recommend you do not use a different HeaderRenderStrategy. It is likely to get removed in future versions of Wicket and might break libraries that depend on the normal HeaderRenderStrategy. Second, I suggest you use Wicket 6, because consistent resource order

Re: getChoices from ListMultipleChoice

2012-07-26 Thread cosmindumy
Thanks It helped me. But just another problem. I have a customized multiple choice with 2 multiple ListMultipleChoice inside. and movieng selected choices from each other. I have problems with safe cast. Here is my class definition: public class CusomizedMultipleChoice extends Panel Here are the