Re: Handling POST, PUT and DELETE from a resource

2012-01-04 Thread 7zark7
I know these sort of replies are annoying, but I don't think Wicket is a good choice for handling web service calls - it's pretty easy to map other paths to servlets or other handlers that better deal with PUT, DELETE, etc. -- Anh My Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On W

Re: Multithreaded construction of pages

2010-12-05 Thread 7zark7
Would love to see your code, are you using scala.actors.Futures? On 12/4/10 4:26 AM, NielsBo wrote: Hi I would like to share my experience with implementing multithreading in my Wicket application. The problem was pages containing many independent panels each fething data from external servic

Re: [OT] WicketForge 0.7.2 available for IDEA 9

2010-11-10 Thread 7zark7
Great, thanks! On 11/10/10 5:25 PM, Minas Manthos wrote: WicketForge 0.7.2 is available for download. change notes: http://plugins.intellij.net/plugin/?id=1545 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org

Re: How to "hide" ListView rows the right way?

2010-11-08 Thread 7zark7
Yes, this is what I recently used as an approach. I added an additional "more" AjaxLink which isVisible returns when the list model is "collapsed". On 11/8/10 8:20 AM, Frank van Lankvelt wrote: wouldn't you be better off wrapping your model/dataprovider in a filter that does the processing t

Re: Free wicket from component hierarchy hell

2010-11-04 Thread 7zark7
Perhaps this is what you mean by "any level within given Panel-type element", but would this not screw up making components? The hierarchy is rather important for this - unlike JSP, etc where you just dump data references in a "page response" Components are one of the things that makes Wicket

Re: get localized string from Model class?

2010-10-31 Thread 7zark7
PM, vineet semwal wrote: afaik you should only have property files corresponding to your components ,pages or application. however if you just want to do your own way you can always use get your resourcebundle. On Sun, Oct 31, 2010 at 11:51 AM, 7zark7<7za...@gmail.com> wrote: Hmm, tha

Re: get localized string from Model class?

2010-10-30 Thread 7zark7
r, Thanks On 10/30/10 4:53 AM, 7zark7 wrote: Thank you, I'll give that try! On Oct 30, 2010, at 1:51 AM, "Bas Gooren" wrote: The component parameter can be null. e.g. if you look at getObject() in the ResourceModel class: return Application.get().getResourceSettings()

Re: get localized string from Model class?

2010-10-30 Thread 7zark7
tring(resourceKey,(Component)null, > defaultValue); > > It calls Localizer#getString with the resource key and optionally a component. > > Sebastian > > - Original Message - From: "7zark7" <7za...@gmail.com> > To: "Wicket" > Sen

get localized string from Model class?

2010-10-29 Thread 7zark7
Hi, I am writing a IModel implementation which formats Dates in a particular way. I would like the text to be in localized properties files, however I can't seem to leverage anything in Wicket for this. Localizer expects a component to be passed to its getString methods, which I do not have

Re: New App - Best Practices

2010-10-03 Thread 7zark7
There's no "best practices" any more :-) Wicket/Spring/Hibernate is simple and lots of examples. Hibernate with JPA is super-easy to work with. If you want something "different", NoSQL such as CouchDB is nice, especially if you need to store binary attachments, etc. My current stack is Wicket

Re: announcing Granite - a Wicket-Scala-DB4O web application stack

2010-09-23 Thread 7zark7
Looks great, thanks for the link. +1 on CouchDB, et al vs only DB4o, Wicket+Scala+Couch is a really nice stack Thanks On 9/21/10 11:42 PM, Thomas Kappler wrote: On 09/22/10 03:41, Sam Stainsby wrote: Today we officially announced our project to provide a Wicket-DB4O-Scala web application sta

Localizer from within a Model class?

2010-08-20 Thread 7zark7
Hi, I'd like to use some localized strings within a model class. Can I use any of Wicket's localization capabilities for this? Localizer assumes you have a component reference to pass to the various getString (...) call, but I don't have access to one. Here is an example below (sorry if it's

Re: learn from my security mistake with getString

2010-07-24 Thread 7zark7
properties files and/or Spring configuration files Sent from my iPod On Jul 23, 2010, at 2:32 PM, Fernando Wermus wrote: > All we know that. On the other hand it is very practice to solve it in that > way. What tools or framework do you use instead? > > On Fri, Jul 23, 2010 at 5:25 PM, Igor Va

Re: Animated page switch possible?

2010-07-21 Thread 7zark7
Folks I think there is a valid usage here for mobile device apps which use animations between panels. I've run into this myself. Granted a webapp is not native, but some clients do desire a close to native experience and this is a nice touch. Sent from my iPod On Jul 21, 2010, at 12:48 PM, Ja

GMap2 and adding LocalSearch

2010-06-26 Thread 7zark7
I'm having trouble using GMap2 and adding a LocalSearch control: http://www.google.com/uds/solutions/localsearch/index.html Looks to be a one liner in Javascript: map.addControl(new google.maps.LocalSearch()); But given the class heirarchy and JS generation used, not sure how I would do thi