Re: Modal widow slow?

2011-01-12 Thread Attila Király
No wonder she is a widow. Her husband is the perfect listener. 2011/1/12 James Carman ja...@carmanconsulting.com It's a woman who won't let you do anything until she's done telling you what she wants to tell you. On Wed, Jan 12, 2011 at 3:51 PM, Peter Ertl pe...@gmx.org wrote: What's a

Re: How to set Wicket with embedded Jetty?

2011-02-07 Thread Attila Király
Hi Surapol, Try adding this before registering the filter: filterHolder.setInitParameter(WicketFilter.FILTER_MAPPING_PARAM, /*); It seems wicket is not parsing the web.xml if that init parameter is present. Attila 2011/2/7 Surapol Pairojtanachai sura...@bridsystems.com I can easily create

Re: Question about Unit Testing with custom Session

2011-02-09 Thread Attila Király
Hi, Try this in your application's #init() method (before calling #refresh() on ctx) ctx.setServletContext(getServletContext()); Attila 2011/2/9 Dmitriy Neretin dmitriy.nere...@googlemail.com Thank you for reply, yes! And I get then another exception :) Cannot resolve

Re: Question about Unit Testing with custom Session

2011-02-09 Thread Attila Király
] This is the right path. The xml file is there. It also schouldn't be a problem with file system permissions :( On 9 February 2011 12:57, Attila Király kiralyattila...@gmail.com wrote: Hi, Try this in your application's #init() method (before calling #refresh() on ctx) ctx.setServletContext

Re: Question about Unit Testing with custom Session

2011-02-09 Thread Attila Király
was using it. P.S. My assertion for ServletContext looks like this: Assert.assertNotNull(tester.getServletSession().getServletContext().getContext(WEB-INF/web.xml)); You are right. tester.getServletContext() is only available in 1.5, not in 1.4. Attila On 9 February 2011 14:27, Attila Király

Re: [announce] Wicket 1.5-rc2 is released!

2011-02-28 Thread Attila Király
As a workaround you can download the missing core jar from the maven repo: http://repo1.maven.org/maven2/org/apache/wicket/wicket-core/1.5-rc2/ http://repo1.maven.org/maven2/org/apache/wicket/wicket-core/1.5-rc2/There is no wicket.jar because it was sliced up into 3 smaller one: core (missing

Re: My failed 1.5 migration. Advice on HttpSessionDataStore and/or Jetty clustering needed

2011-03-01 Thread Attila Király
Your last exception seems pretty similar to those mentioned in https://issues.apache.org/jira/browse/WICKET-3470 (especially the last one also related to GAE: loading a persisted session at application startup). Attila 2011/3/1 Per Fragemann p...@small-improvements.com Hi all, I'm running a

Re: Externalizing Page Mounts Via Spring

2011-03-09 Thread Attila Király
Your xml config tries to instantiate the page. Try this: bean class=org.apache.wicket.request.target.coding.QueryStringUrlCodingStrategyconstructor-arg index=0 value=login /constructor-arg index=1 value=com.me.loginPage //bean Attila 2011/3/9 Arjun Dhar dhar...@yahoo.com Hi, I wanted to

Re: FileUpload size limit

2011-03-18 Thread Attila Király
Hi, The sad answer is that you can not prevent the actual data transfer between the browser and the server. The core problem is that all browsers of today will only read the response after the request has been fully written out. This means that even if you know the size from the content-length

Re: FileUpload size limit

2011-03-18 Thread Attila Király
The maxPostSize setting in tomcat is not playing any role in file uploads (multipart requests) because these requests are processed by the web application directly. So this should be configured with wicket settings like IApplicationSettings. setDefaultMaximumUploadSize() and Form.setMaxSize(). But

Re: FileUpload size limit

2011-03-18 Thread Attila Király
That will be the HTML5 FileReader Api. Too bad it is not supported in IE9 and Opera. But it would awesome to see wicket support for that because it would give a better user experience in Chrome and FF. Attila 2011/3/18 John Owen jo...@globalscape.com There are some javascript-based solutions

Re: FileUpload size limit

2011-03-18 Thread Attila Király
it can be done in a way so it is used when FileReader API is available but cause no trouble if it is not (so it works in all browsers and IEs). Attila 2011/3/18 Martin Grigorov mgrigo...@apache.org On Fri, Mar 18, 2011 at 3:53 PM, Attila Király kiralyattila...@gmail.com wrote

Re: PackageResourceReference, MetaInfStaticResourceReference and timestamps

2011-03-24 Thread Attila Király
2011/3/24 hok ivanvasi...@gmail.com 2. In the Servlet 3.0 specification it's possible to have static resources under META-INF/resources and I noticed that wicket has MetaInfStaticResourceReference, which is better for serving static resources. In my case for some components I have css files

Re: PackageResourceReference, MetaInfStaticResourceReference and timestamps

2011-03-24 Thread Attila Király
2011/3/24 Martin Grigorov mgrigo...@apache.org Hi, On Thu, Mar 24, 2011 at 7:17 AM, Attila Király kiralyattila...@gmail.com wrote: 2011/3/24 hok ivanvasi...@gmail.com 2. In the Servlet 3.0 specification it's possible to have static resources under META-INF/resources and I

Re: Apache Wicket Cookbook Published!

2011-03-25 Thread Attila Király
Gratulations! I ordered one. Attila 2011/3/25 Igor Vaynberg igor.vaynb...@gmail.com For the past nine months I have been quietly working on a book about Wicket...

Re: PackageResourceReference, MetaInfStaticResourceReference and timestamps

2011-03-25 Thread Attila Király
2011/3/25 mzem...@osc.state.ny.us Hi, I made a new test (serving a png and a js) with current trunk and the gap is much smaller now: tomcat is 25% faster on average. Attila Attila can you elaborate on your tests? Are you comparing the difference between using a resource reference

Re: [OT] Apache Wicket Merchandise, nominees Spring roundup

2011-03-28 Thread Attila Király
Hi! I nominate Martin Grigorov for his continuous, dedicated work on wicket and friendly help for users. Attila 2011/3/28 nino martinez wael nino.martinez.w...@gmail.com Hi guys Been a while, but theres cash in the shop[1] again so that means it's time to give out some merchandise :) So

Re: Wicket 1.5 and Tomcat 7 encoding issues?

2011-03-29 Thread Attila Király
If this encoding issue is in url: did you configure Tomcat to use UTF-8 for uri encoding (URIEncoding attribute on the HTTP connector)? The default encoding for URI is ISO-8859-1 in Tomcat and UTF-8 in Jetty. Attila 2011/3/29 nino martinez wael nino.martinez.w...@gmail.com Hi Guys Im not

Re: Wicket 1.5 and Tomcat 7 encoding issues?

2011-03-29 Thread Attila Király
/ Already done so.. Or? Thanks for helping.. 2011/3/29 Attila Király kiralyattila...@gmail.com: If this encoding issue is in url: did you configure Tomcat to use UTF-8 for uri encoding (URIEncoding attribute on the HTTP connector)? The default encoding for URI is ISO-8859-1 in Tomcat and UTF-8

Re: Wicket 1.5 and Tomcat 7 encoding issues?

2011-03-29 Thread Attila Király
tag aswell for utf-8 but it made no difference.. Is there something else that I am missing? 2011/3/29 Attila Király kiralyattila...@gmail.com: Yep I ment that and it looks ok. Is your html page in UTF-8 as well? Attila 2011/3/29 nino martinez wael nino.martinez.w...@gmail.com you

Re: Wicket 1.5 and Tomcat 7 encoding issues?

2011-03-30 Thread Attila Király
Hi, you are right this is the issue: request encoding is not set. I forgot it but I use spring's CharacterEncodingFilter for that in all my web apps (not just wicket ones). But I think this could be done in wicket 1.5 out of the box, so I made a patch for it:

Re: Git workflow tip for WIcketstuff

2011-04-09 Thread Attila Király
It is a good article on feature branches. Thanks! I smiled on this one: will allow us to pretend that we wrote the tests first… :) Attila 2011/4/8 Bruno Borges bruno.bor...@gmail.com http://reinh.com/blog/2009/03/02/a-git-workflow-for-agile-teams.html

Re: Inmethod Grid Select All or Reload Grid

2011-04-18 Thread Attila Király
2011/4/18 GJT taulant.gju...@helvetic.com Hi there I started using the Inmethod DataGrid because I need resizable tables and I need to be able to select multi entries. First, I had the problem that I couldn't select all entries and the multi select didin't work properly. In this forum I

Re: Inmethod Grid Select All or Reload Grid

2011-04-18 Thread Attila Király
Can you provide a minimal example webapp showing the problem? Attila 2011/4/18 GJT taulant.gju...@helvetic.com After debugging, I found out the with the hashCode method, the columns don't load. If I take out the hashCode method, the columns loads the data again. But as I said, the selection

Re: Is this a bug?

2011-04-25 Thread Attila Király
Imho this is the issue mentioned in https://issues.apache.org/jira/browse/WICKET-3608 https://issues.apache.org/jira/browse/WICKET-3608Attila 2011/4/25 nimmy nim_sa...@hotmail.com no luck... since it is quoted it appears a string -- View this message in context:

Re: Forms marked as multipart do not work with ajax and IE9

2011-05-06 Thread Attila Király
Fow new projects I would really consider to use html5 header: !DOCTYPE html Not only it is the most up to date but it turns browsers and IE8, 9 into strict mode and IE6, 7 into almost strict mode [1]. So it gets the best out from the http clients: none of them is using quirks mode with it. [1]

Re: Error with FileUpload: ServletRequest does not contain multipart content

2011-05-10 Thread Attila Király
What wicket version are you using? There is a difference how file upload is configured in 1.4 and in 1.5. Attila 2011/5/10 eugenebalt eugeneb...@yahoo.com I looked through that example and in fact duplicated what you have there in the simplest possible example. My simple example below is just

Re: New Website up using wicket

2011-05-13 Thread Attila Király
To the topic starter: Did you consider using wicket's html compressor? On May 13, 2011 7:37 AM, Josh Kamau joshnet2...@gmail.com wrote: Works really fast. Just curious. Whats on the back end? spring/guice/hibernate/??? Josh. On Thu, May 12, 2011 at 6:45 PM, nino martinez wael

[OT] Google, Microsoft, and Yahoo Team Up to Improve Search

2011-06-02 Thread Attila Király
Hi, Maybe not everyone heard about it but there is a new way to enhance the markup and make it more search crawler friendly: http://schema.org . It seems interesting. Attila

Re: Wicket and OSGi

2011-06-27 Thread Attila Király
Good work. Could you also document the new module on wicketstuff wiki? https://github.com/wicketstuff/core/wiki Thanks, Attila 2011/6/27 Harald Wellmann harald.wellm...@gmx.de There is now a new module wicket-osgi in wicketstuff/core at Github with some glue code to adapt Wicket to OSGi

Re: What is the status of wicketstuff dojo?

2011-06-30 Thread Attila Király
That is the 1.5 branch of wicketstuff. The 1.4 is in https://github.com/wicketstuff/core/tree/core-1.4.x/jdk-1.5-parent/dojo-parent/dojo-api/src/main/java/org/wicketstuff/dojo11/markup/html Dojo is disabled in the 1.5 branch (enabled in 1.4), probably because there was noone to maintain it.

Re: inmethod-grid generics

2011-07-02 Thread Attila Király
Hi Duy, Generics were added only to the 1.5 branch of inmethod-grid. There is no plan to backport this to the 1.4 branch. Attila 2011/7/2 Duy Do doquoc...@gmail.com Hi wicketers, I found inmethod-gric generics for wicket 1.5 on wicketstuff but can not find one for wicket 1.4.x. Is there

Re: wicketstuff.org/maven is down - trying to get wicketstuff-merged-resources

2011-07-03 Thread Attila Király
Since wicketstuff releases are published to central there is not much need for that custom repo. Imho that is the reason why it is not maintained anymore. That particular project however seems not to be part of wicketstuff it was just using its groupid. I found a newer alpha version of it in

Re: WicketFilter.init() called twice with Glassfish

2011-07-03 Thread Attila Király
Using java.net.URL in Set-s and Map-s is a no-no. Wicket should use java.net.URI instead. See [1] for an example. Attila [1] More Joy of Sets example with URL from Google Tech Talks: http://www.youtube.com/watch?v=wDN_EYUvUq0#t=9m58s 2011/7/3 Bertrand Guay-Paquet ber...@step.polymtl.ca When

Re: inmethod-grid bugs?

2011-07-06 Thread Attila Király
Please open an issue in wicketstuff issuetracker at github for this. Thanks. On Jul 6, 2011 9:16 AM, Duy Do doquoc...@gmail.com wrote: Hi Martin, I use version 1.4.17. It's same in version 1.5-SNAPSHOT on wicketstuff. Thank you for your quick response. On 7/6/2011 2:07 PM, Martin Grigorov

Re: inmethod-grid bugs?

2011-07-06 Thread Attila Király
My guess is that you are using a custom DataProviderAdapter with a custom AbstractPageableView. If this is the case, the workaround is to override AbstractPageableView.wrapQuery() to wrap the IQuery into an IGridQuery similar to DataGridBody.Data.wrapQuery(). I am working on a solution to solve

Re: hibernate and jasper reports

2011-07-20 Thread Attila Király
Choose one from guice and spring and live happily ever after? Why are you using both of them? Attila 2011/7/20 hariharansrc hariharan...@gmail.com i am having two maven projects, wicket hibernate integration using guice and wicket jasper reports integration using spring. Both project working

Re: wicketstuff tinymce development

2011-07-27 Thread Attila Király
I would like to point out that tinymce in wicketstuff 1.5 branch needs some love too. It is not yet ported to wicket 1.5. Attila 2011/7/27 jbrookover jbrooko...@cast.org Michal Letynski wrote: Is here anyone who is currently doing something with tinymce wicketstuff project ? I saw that

Re: inmethod grid problem in IE8

2011-09-17 Thread Attila Király
Hi Duy, which wicket, inmethod-grid versions are you using? Regards, Attila 2011/9/17 Duy Do doquoc...@gmail.com Hi Wicketers, I have a problem with inmethod-grid in IE8 as below error. This issue cause the grid display incorrectly. Is it a bug? And how to fix it? Webpage error details

Re: inmethod grid problem in IE8

2011-09-18 Thread Attila Király
Repeating my previous answer to you: give more details. For example: which wicket, inmethod-grid versions are you using? Is the problem reproducable with the wicketstuff inmethod grid examples web app too? Attila 2011/9/18 Duy Do doquoc...@gmail.com Any suggestion? On 9/17/2011 10:59 AM,

Re: Wicket 1.5 and Google Analytics

2011-09-20 Thread Attila Király
If nothing else helps I think you can exclude query parameters in Google Analytics: http://www.google.com/support/analytics/bin/answer.py?answer=55499 http://www.google.com/support/analytics/bin/answer.py?answer=55461 Attila 2011/9/20 Bruno Borges bruno.bor...@gmail.com With Wicket, versioned

Re: wicketAjaxGet Size limt

2011-09-25 Thread Attila Király
Aren't you sending your data in the url? Even if you are using POST you can still have some (all) data in the url as query parameters. And there are limits for url length (both on client/browser side and server side). This would also explain why does it depend on header buffer size as the url is

Re: wicketstuffpush 1.5 timepushservice not working

2011-10-01 Thread Attila Király
Fixed a bug related to this in trunk. Will be part of next release (probably 1.5.1). With this change your example worked for me with Chrome and Opera latest stables. Did not work with FF 7 however so there might be other bugs. Attila 2011/10/1 vineet semwal vineetsemwal1...@gmail.com hellos !

Re: UTF-8 not working

2011-10-14 Thread Attila Király
You have to configure a filter (write one or reuse existing ones like http://static.springsource.org/spring/docs/3.1.0.RC1/javadoc-api/org/springframework/web/filter/CharacterEncodingFilter.html) to call request.setCharacterEncoding(UTF-8) before wicket gets the request. This is not needed with

Re: UTF-8 not working

2011-10-16 Thread Attila Király
Please provide a small quickstart showcasing the problem to get more help because based on these information it should work. Attila 2011/10/15 Mathias Nilsson wicket.program...@gmail.com Oh, And I've also tried putting org.springframework.web.filter.CharacterEncodingFilter as the first filter

Re: ModalWindow shows Error Page in Opera

2011-10-21 Thread Attila Király
It is fixed in 1.4.18 too: https://issues.apache.org/jira/browse/WICKET-3615 Attila 2011/10/21 nhsoft.yhw nhsoft@gmail.com Wicket 1.5.x have fixed the problem. -- View this message in context:

Re: GoAndClearFilter does not reset filterForm fields

2011-10-26 Thread Attila Király
Hi Sandor, Just tried filtering on a modified wicket-examples / DataTablePage and the filter form clearing worked. Even without subclassing GoAndClearFilter. Maybe the problem is in your dataprovider implementation. How did you implement the IFilterStateLocator interface? Regards, Attila

Re: Making a column 'Sortable' in inmethod datagrids

2011-11-01 Thread Attila Király
You have to set the sortProperty in the column constructor. You have to double click it to sort by it. The arrow is only visible for that column where the sorting is actually in effect. Check out the examples: live: http://wicketstuff.org/grid-examples/data-grid/simple source:

Re: UTF-8 encoding RFE for warning?

2011-11-02 Thread Attila Király
Nitpicking a bit: .properties files need to be in ISO 8859-1 encoding not in default. Attila 2011/11/2 Wilhelmsen Tor Iver toriv...@arrive.no It's a known fact for me aswell now :) Note that even though properties files need to be in the default encoding, you can use non-iso-latin

Re: Apache Wicket is a Flawed Framework

2011-11-17 Thread Attila Király
Currently a link to this mail is the most popular on dzone: http://www.dzone.com/links/apache_wicket_is_a_flawed_framework.html Attila