Re: Field level Authorization strategy suggestions?

2008-07-21 Thread Gabor Szokoli
gories were too simple at first (but then project scope drift started...) You'll have to substitute table columns for components, it already has isVisible, and you can just add isEnabled. Hope it helps! Gabor Szokoli - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: why are we coding Web apps?

2008-07-16 Thread Gabor Szokoli
27;s convenient for casual users, who wish to try out > the app. Most users have Web browsers pre-installed. They may > not have Java, etc. Good enough for me :-) Gabor Szokoli - To unsubscribe, e-mail: [EMAIL PR

Re: Running a huge wicket site(1m + users)

2008-07-16 Thread Gabor Szokoli
Wicket could work as it does now as fallback and for the parts of the application that fit the wicket model better, but have some of its AJAX callbacks "outsourced" to pure data services. The fallback could call the same or a more direct

Re: users, please give us your opinion: what is your take on generics with Wicket

2008-06-03 Thread Gabor Szokoli
ins for this purpose). I was thinking about using the existing wicket 1.4 API from scala, if that's any more comfortable. Gabor Szokoli - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: users, please give us your opinion: what is your take on generics with Wicket

2008-06-03 Thread Gabor Szokoli
nce :-) Is this any nicer in scala? Gabor Szokoli - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: problem when reading properties file

2008-06-02 Thread Gabor Szokoli
ook at either the FeedbackPanel which you might be reimplementing, or at overriding the isVisible function of the label to make it show up conditionally. Gabor Szokoli - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional command

Re: sortable column with overriden getCssClass

2008-06-02 Thread Gabor Szokoli
Ooops, I goofed, everything works fine, the second class= attribute is on an inner element :-) Can we have wicket tabulate the html output in developement mode please? :-) [...] - To unsubscribe, e-mail: [EMAIL PROTECTED] For

sortable column with overriden getCssClass

2008-06-02 Thread Gabor Szokoli
sortedness class and mine as expected, and another class attribute with the sortedness class only: Now that can't be right, did I do something wrong or could this be a bug? Gabor Szokoli - To unsubscribe, e-mail: [EMAIL

Re: Best Wicket Books or Tutorials

2008-03-31 Thread Gabor Szokoli
from introducing wicket to my team. We also had a good understanding of the basics before meddling with Ajax. It probably would have confused us a lot otherwise. Gabor Szokoli - To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

Re: Clearing Form inputs

2008-03-28 Thread Gabor Szokoli
Hi, On 3/28/08, freak182 <[EMAIL PROTECTED]> wrote: > > Hi Igor, > Any code exampleim such a newbie on this...form.detachModels? > Thanks a lot...cheers... I think he meant you should also clear the value from the model of the component, for example like this: stubbornTextField.setModelObj

Re: [vote] Release 1.4 with only generics and stop support for 1.3

2008-03-18 Thread Gabor Szokoli
+1 On 3/17/08, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > Everybody is invited to vote! Please use > > [ ] +1, Wicket 1.4 is 1.3 + generics, drop support for 1.3 > [ ] -1, I need a supported version running on Java 1.4 > > Let your voices be heard! > > Martijn > > -- > Buy Wicket in Actio

Re: Planning Wicket Next Generation

2008-03-15 Thread Gabor Szokoli
(like java 7 :-) ) Gabor Szokoli On 3/15/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I'd say people using wicket now who did not mind switching > from other framework might not mind upgrading web server > to java5 (even 7:-), or deploy it on a new web server instead &

Re: ajax popup on traditional form

2008-03-04 Thread Gabor Szokoli
On 3/4/08, Gabor Szokoli <[EMAIL PROTECTED]> wrote: > In the ajax debug window, I can only see the modalwindow form > submission, and no further activity. Woops, this part was wrong. The component was sent in the ajax response, but without the new choices added to the model by the

Re: ajax popup on traditional form

2008-03-04 Thread Gabor Szokoli
We're preparing a code example, the actual code is a bit convolved. Thanks! Gabor Szokoli - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

ajax popup on traditional form

2008-03-03 Thread Gabor Szokoli
up on html, javascript, DOM, xmlhttprequest, etc just to figure out what's what. And then in the end the solution never involves any of that, just passing the right thingie hadler as the whotsit to the doohickey. We still love it, just need some help :-)

Re: GET method parameters as List or Map?

2008-02-29 Thread Gabor Szokoli
On 2/29/08, Johan Compagner <[EMAIL PROTECTED]> wrote: > What is your question exactly? What do you want todo in wicket? > Woops, wrong users list, sorry about the noise! (should have been the jersey list...) G

GET method parameters as List or Map?

2008-02-29 Thread Gabor Szokoli
Hi, I have a GET method which takes a bunch of optional search parameters. I then put these in a map, keyed by the . A cool servlet framework we use (wicket) has a construct called PageParameters. Is there anything similar in Jersey? Gabor Szokoli

Re: CompoundModel based on proxies

2008-02-27 Thread Gabor Szokoli
e use reflection for currently I expect. Just imagine, JAXB could be a utility class with 2 static methods: encode and decode :-) Gabor Szokoli - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: loosely coupled panels: react to model object change

2008-02-05 Thread Gabor Szokoli
t foresee a situation in our current application where we couldn't follow the same pattern. We keep underestimating wicket :-) Gabor Szokoli - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: nice URLs (was: Short Design Question)

2008-02-05 Thread Gabor Szokoli
ment for bookmarkable, human readable URLs representing the user interaction state. REST if you will :-) We are just now looking into a full AJAX redesign of the application (not all our requirements are wise :-) ), reading up on the required trickery like this: http://ajaxpatterns.org

loosely coupled panels: react to model object change

2008-02-05 Thread Gabor Szokoli
share a model, and do setObject on that. Where do I put my OnModelObjectChanged event handling code without sacrificing too much from my lovely loosely coupling? Any advice is warmly welcome. Gabor Szokoli - To unsubscribe, e

Re: PageParameter backed models?

2007-12-21 Thread Gabor Szokoli
(You can look at my original-original message multi-quoted on the bottom of my first mail from today...) Gabor Szokoli - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: PageParameter backed models?

2007-12-21 Thread Gabor Szokoli
, we use the class-based setResponsePage variant because we need to set a few page parameters to store some of the state in the URL. Thanks! Gabor Szokoli - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-

Re: PageParameter backed models?

2007-12-21 Thread Gabor Szokoli
display per page for example) get lost in this cycle. Could you guys suggest some in-between approach, where part of the state is stored in the URL, but the rest is kept in the components (models)? Thanks: Gabor Szokoli On Nov 28, 2007 9:46 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > why

Re: How to flush the markup stream in getMarkupResourceStream() method

2007-12-19 Thread Gabor Szokoli
assume mine resembles "flush" more, so dibs on his subject line! :-) ) Gabor Szokoli On Dec 19, 2007 9:26 PM, venky221 <[EMAIL PROTECTED]> wrote: > > If I restart my tomcat between the two requests, it works fine but I can not > flush the markup conten

Re: "Streaming" a huge ZIP file

2007-12-17 Thread Gabor Szokoli
ghtly related, what would be the best way for a single onclick() event to result in both a wicket page refresh and a download? Gabor Szokoli - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How to make a WebPage Application aware?

2007-12-15 Thread Gabor Szokoli
could of course share this knowledge between your servlets in many ways from JNDI to a web service depending on the level of isolation between them. Gabor Szokoli, possibly misunderstanding the issue - To unsubscribe, e-mail: [EMAIL

Re: How to make a WebPage Application aware?

2007-12-15 Thread Gabor Szokoli
reverse proxy. Or the two servlets could talk to each other and share the registered bookmarkable URLs dynamically > I wonder if there is a way to make a WebPage application aware, so that it > resolves it's owner application automatically. Application

Re: The Textis incomprehensible

2007-12-15 Thread Gabor Szokoli
Hi! I do not know what could cause the difference between operation on Linux and on XP, (perhaps some locale is not installed) but here is a workaround you could try: On Dec 15, 2007 2:49 AM, JohnSmith333 <[EMAIL PROTECTED]> wrote: > > My wicket code in xp show normally. The text isn't incompr

Re: IUnauthorizedComponentInstantiationListener: keep the page paramaters

2007-12-13 Thread Gabor Szokoli
Solved in-house, sorry about the noise. I was looking at the wrong place, I should have used continueToOriginalDestination in the login form submit code. Again, for the sake of completeness, here's the pattern to preserve the bookmarkable URL complete with page parameters across the login procedu

Re: wicket:message and HTML

2007-12-13 Thread Gabor Szokoli
ar for headers and element attributes like title) You could change WicketMessageResolver, it uses a label inside. I'd use a new attribute (defaulting to the old behavior when missing) if I were you: Gabor Szokoli - To

Re: "Streaming" a huge ZIP file

2007-12-12 Thread Gabor Szokoli
On Dec 12, 2007 11:58 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > ((WebResponse)r.getResponse).setAttachmentHeader("foo.xls"); Indeed! Thank you. Gabor Szokoli - To unsubscribe, e-mail: [EMAIL PROTEC

IUnauthorizedComponentInstantiationListener: keep the page paramaters

2007-12-12 Thread Gabor Szokoli
n for saving which page the user attempted to access with what parameters, and delivering it after a successful login? Thanks: Gabor Szokoli - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: "Streaming" a huge ZIP file

2007-12-12 Thread Gabor Szokoli
On Dec 12, 2007 7:23 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > correct. only that one user will have to wait for the download to > complete. if that is undesired then use a shared resource. This is what we experience, and it is fine. Good natural limit on the amount of load each user can caus

Re: "Streaming" a huge ZIP file

2007-12-12 Thread Gabor Szokoli
Thanks all! On Dec 12, 2007 8:48 AM, Thomas Singer <[EMAIL PROTECTED]> wrote: > IIRC, DownloadLink and Igor's anonymous class will lock the session, so if > you have one downloading over a very slow connection, other users will get a > timeout. I beleive I have separate sessions for each user, so

Re: "Streaming" a huge ZIP file

2007-12-11 Thread Gabor Szokoli
I guess I forgot to mentionthe single most important aspect of my question: The archive not present on the file system, it is dynamically assembled on the fly from individual files. (the whole point is downloading multiple files in one go.) Gabor Szokoli On Dec 11, 2007 11:45 PM, Jeremy Levy

"Streaming" a huge ZIP file

2007-12-11 Thread Gabor Szokoli
target.setFileName(new SimpleDateFormat("MMddHHmmss").format(Calendar.getInstance().getTime()) + ".zip"); getRequestCycle().setRequestTarget(target); All suggestions are welcome. Gabor Szokoli --

Re: Silly problem with button model

2007-11-29 Thread Gabor Szokoli
Butterfingers. On Nov 29, 2007 9:21 PM, Gabor Szokoli <[EMAIL PROTECTED]> wrote: > toggle.true=Disable > toggle.false=Disable The second one should be "Enable" of course. > IModel action = new StringResourceModel("toggle.${account.enabled}", > this, new

Re: Silly problem with button model

2007-11-29 Thread Gabor Szokoli
like this: IModel action = new StringResourceModel("toggle.${account.enabled}", this, new Model(user)); Not 100% sure, I'm just making it up :-) Gabor Szokoli > > > //Set the model for the enable/disable account button also known > as "toggle" >

Re: YUI DatePicker - does it support hours and minutes ?

2007-11-29 Thread Gabor Szokoli
Hi! We use DateTimeField for hours and minutes. Gabor Szokoli On Nov 29, 2007 8:38 AM, Nili Adoram <[EMAIL PROTECTED]> wrote: > Hi all, > I am upgrading wicket from 1.2.2 to 1.3 (Cheers for 1.3). > The previous DatePicker was able to display hours and minutes. > However, I

Re: PageParameter backed models?

2007-11-29 Thread Gabor Szokoli
Indeed! Thank you. On Nov 28, 2007 9:46 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > why not just > ... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

PageParameter backed models?

2007-11-28 Thread Gabor Szokoli
(partial) form state? Thanks in advance: Gabor Szokoli - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: ListMultipleChoice to take choices model from parent

2007-11-27 Thread Gabor Szokoli
On Nov 27, 2007 5:52 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > you can create your own subclass that does what you want...but thats > about it short of writing your own component Thanks, just wanted to make sure I'm not overlooking some more straight-forward way of do

ListMultipleChoice to take choices model from parent

2007-11-27 Thread Gabor Szokoli
make a "free-text palette" set editor? (regular palette does not work, as we must have a text entry field for adding new elements, there is no finite universal set to chose from.) Thank you in advance for any ideas! Gabor Szokoli

Re: Matt Raible's ApacheCon presentation

2007-11-16 Thread Gabor Szokoli
These two are the exact same things I have in mind about wicket: On Nov 15, 2007 10:18 PM, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > I've always had in my mind that the perfect > approach to state handling would be to give users the choice between > server managed and client managed (i.e. by pa

Re: Readonly checkbox

2007-11-16 Thread Gabor Szokoli
On Nov 16, 2007 6:06 PM, mclev <[EMAIL PROTECTED]> wrote: > > I have a case where I'm using a checkbox to show boolean data in a table. > However I want the data to be readonly. Try setEnabled(false), works on any Component. Szocske --

Re: Wicket Web Beans 1.0-rc1 Released

2007-09-17 Thread Gabor Szokoli
On 9/15/07, Zenrique Steckelberg <[EMAIL PROTECTED]> wrote: > - allow constructor to accept models besides beans too, if possible. Me too! :-) Or is there some other way to use DetachableModels backed by JPA with WWB? (The abbreviation conjures images of a tiny but venerable local railroad compan

Re: Re: First Day Disgust!

2007-09-08 Thread Gabor Szokoli
With all due respect: On 9/8/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > Do note however, that we presume basic knowledge of Java programming ...fair enough... > and Java web applications (what is a war, what is a web.xml file). Wicket, being component based, has great appeal for people wi

Re: How to set wicket's locale?

2007-09-07 Thread Gabor Szokoli
gt; > > > > -igor > > > > > > > > > On 9/6/07, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > > > > > > > > new PropertyModel(Page.this, "session.foo.sushi.bar"); > > > > > > > >

Re: How to set wicket's locale?

2007-09-06 Thread Gabor Szokoli
On 9/6/07, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > new PropertyModel(Page.this, "session.foo.sushi.bar"); > > ? Wow. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How to set wicket's locale?

2007-09-06 Thread Gabor Szokoli
On 9/5/07, Johan Compagner <[EMAIL PROTECTED]> wrote: > can you make an jira issue for this? https://issues.apache.org/jira/browse/WICKET-936 Any ideas on encapsulating the session as a propertymodel for components in 1.2? Gabor

Re: How to set wicket's locale?

2007-09-04 Thread Gabor Szokoli
Uh, oh, one more quick thing: I'm still on wicket 1.2, and my wicket:message labels retain their text in the locale they were first rendered in. Is there anything I can do on locale changes to make them change their text? Is this behavior the same under 1.3? Gabor

Re: How to set wicket's locale?

2007-09-04 Thread Gabor Szokoli
On 9/3/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > Just go with overriding getLocale on your custom session object. If > you need to support just one locale, that's easy: just always let it > return that locale. Otherwise, you'll have to do some more work (e.g. > using request.getLocale()), b

Re: How to set wicket's locale?

2007-09-03 Thread Gabor Szokoli
On 9/3/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > > I use wicket 1.2 for now. > > Yeah, unfortunately it doesn't work for 1.2. It's one of the > improvements for 1.3. We'll upgrade for the next release once this one is out... > But either override getLocale in your session, or set it using

Re: How to set wicket's locale?

2007-09-03 Thread Gabor Szokoli
On 8/22/07, Nino Saturnino Martinez Vazquez Wael <[EMAIL PROTECTED]> wrote: > There are some different approaches you could use... > > But why not make a parent page class where you do it in? And then > inherit from that? Or just use a custom session which does it by it > self(check out the quickst

Re: Presentation and application logic separation

2007-08-29 Thread Gabor Szokoli
On 8/28/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > well, what wicket does is version the state if you keep it inside its model, > so it all Just Works. But because you are keeping your state outside of > wicket you have to build your own versioning mechanism, or remove your state > machine and

Re: Re[2]: [Wicket-user] Wicket in Action now available through Manning Early Access Program

2007-08-24 Thread Gabor Szokoli
On 8/24/07, Oleg Taranenko <[EMAIL PROTECTED]> wrote: > > moreover the payment through a paypal account, that withdraws money from card > emitted by a > russian bank, failed too! :| They seem to accept visa, mastercard and AMEX, you don't have to use

Re: [Wicket-user] Wicket in Action now available through Manning Early Access Program

2007-08-24 Thread Gabor Szokoli
On 7/26/07, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > Eelco and I are really happy to announce the availability of our first > two chapters of our forthcoming book "Wicket in Action". Manning does not accept orders from Hungary, where I happen to live and work. Normally we don't bother with su

Re: Wicket vs. ZK

2007-08-16 Thread Gabor Szokoli
and we only had to supply the business logic via a web service...) just wanted to share my thoughts on the separation of concerns slogan. Gabor Szokoli - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Radio problem

2007-08-13 Thread Gabor Szokoli
Hi! On 8/13/07, shumbola <[EMAIL PROTECTED]> wrote: > If I use RadioGroup, then having problem with my Model. Appreciate if > someone show me the right way with a sample code. We use RadioGroup for something similar and it works fine. The form has a CompoundPropertyModel with attributes including

Re: WicketTester vs Component.error()

2007-08-08 Thread Gabor Szokoli
On 8/7/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > in 1.2 you cannot call error/info/etc from component's constructor because > you havent added that component to the page yet. in 1.3 it just works. Indeed. I was under the false impression that this function worked on regular deployment, but th

WicketTester vs Component.error()

2007-08-07 Thread Gabor Szokoli
Hi, I'm using wicket 1.2, and use the WicketTester startPage(...) method in a unit test. (In fact there's nothing else in it, I just want to test if the markup matches the component hierarchy.) Problem is, a component on the page uses its error(...) method to display its dissatisfaction with the m

Re: editable form saw a similar issue fixed with forms and pallettes in 1.3

2007-07-31 Thread Gabor Szokoli
On 7/30/07, Ed_ <[EMAIL PROTECTED]> wrote: > > http://mail-archives.apache.org/mod_mbox/wicket-commits/200707.mbox/[EMAIL > PROTECTED] > Is there any correlation? I don't think so, but I'm not much more experienced with wicket than you are :-) > > Thanks the toString override seems to work in t

Fwd: [Wicket-user] editable form

2007-07-30 Thread Gabor Szokoli
Hi, Sorry if duplicated: On 7/29/07, Ed _ <[EMAIL PROTECTED]> wrote: > > I am trying to create an editable form - this has a drop down list. in it > > List ratingList = cfg.getContentRatingList(); > DropDownChoice ratingChoice = new DropDownChoice("rating", new > PropertyModel(form, "category"),