Can we do straight print in a java web application?

2007-08-18 Thread Eko S.W.
Dear all, I would like to found out about something : can we do straight print in a java web application? That is, we do not rely on window.print(), because we rely on browser to print them. I have an idea, silly perhaps, that we build another daemon that listen to something. That daemon wait,

Can I HTTP Post from static html page to a Wicket page?

2007-08-18 Thread Chris Lintz
Hi all, I want to post to a Bookmarkable page from a static (non-Wicket page). I am having a tough time figuring out exactly how this can be done. For example, I simply want a static home page to contain a basic form with the form action=/auth/login . Is this possible with a Wicket page? I

Wicket with Excel

2007-08-18 Thread Edi
I have one doubt in wicket with excel code. you have createLoop(). right? I want to call one function in before/after createLoop(). How? grid.add(createLoop()); And how create Loop works. Please explain and let me know. -- View this message in context:

Custom StringHeaderContributor

2007-08-18 Thread Tauren Mills
Maybe its just late and I'm not thinking straight, but I can't figure out the best way to create a custom StringHeaderContributor. All I want it to is encapsulate some javascript that has some property replacements in it. I have it working with a custom model as such: add(new

generic validator questions

2007-08-18 Thread Stojce Dimski
Hi I am new to wicket and during my studying phase (1.3b2) I wrote a small validator for my pilot project. Validator checks that class indicated by some control implements specified interface or is subclass of specified class. It works like charm. But I have a big problems locating the messages

Re: Can we do straight print in a java web application?

2007-08-18 Thread Igor Vaynberg
i think its a little out of scope of wicket :) prob what you would need is a browser plugin -igor On 8/18/07, Eko S.W. [EMAIL PROTECTED] wrote: Dear all, I would like to found out about something : can we do straight print in a java web application? That is, we do not rely on

Re: Two questions: Roadmap and Editable Grids

2007-08-18 Thread Igor Vaynberg
On 8/18/07, dtoffe [EMAIL PROTECTED] wrote: I wonder if is it possible to create a custom component that behaves like an editable grid. For example, I want a flexible grid like those in Visual Basic or Delphi, in which I can set some cells as editable, some fixed, some in other colour, is

Re: Can I HTTP Post from static html page to a Wicket page?

2007-08-18 Thread Igor Vaynberg
sure, set the form's action to point to the bookmarkable page. mount the bookmarkable page with querystringurlcodingstrat give it a (PageParameters params) constructor and you are good to go, you can pull out the submitted values out of params. -igor On 8/18/07, Chris Lintz [EMAIL PROTECTED]

Re: Custom StringHeaderContributor

2007-08-18 Thread Igor Vaynberg
there should already be a png fix for ie in extensions. -igor On 8/18/07, Tauren Mills [EMAIL PROTECTED] wrote: Maybe its just late and I'm not thinking straight, but I can't figure out the best way to create a custom StringHeaderContributor. All I want it to is encapsulate some javascript

Re: generic validator questions

2007-08-18 Thread Igor Vaynberg
right now you have a few choices: you can load that .properties file yourself from inside your validator you can put these properties into application-scoped .properties file. you can also add an rfe into our jira to allow validators to have their own .properties bundles. -igor On 8/18/07,

Re: generic validator questions

2007-08-18 Thread Stojce Dimski
Hi Igor The error message says: Could not locate error message for error: [org.apache.wicket.validation.ValidationError message=[null], keys=[notFound, ClassValidator], variables=[]] notFound - is my key ClassValidator - is the name of the class the .propeties file is together with .class file

Re: generic validator questions

2007-08-18 Thread Igor Vaynberg
On 8/18/07, Stojce Dimski [EMAIL PROTECTED] wrote: Hi Igor The error message says: Could not locate error message for error: [org.apache.wicket.validation.ValidationError message=[null], keys=[notFound, ClassValidator], variables=[]] the problem looks like is that its looking for a

Re: Custom StringHeaderContributor

2007-08-18 Thread Tauren Mills
Igor, Really? I didn't see one. Then again, ModalWindow uses transparent pngs and doesn't seem to have an issue. But I didn't see any code to handle it in modal.js. Could you point me to where its at? If one doesn't exist, I'd be happy to contribute this. Tauren On 8/18/07, Igor Vaynberg

Re: Custom StringHeaderContributor

2007-08-18 Thread Igor Vaynberg
hrm, i remember i added one there based on [1], but maybe it was removed due to license incompatibilities before we moved to apache... [1] http://homepage.ntlworld.com/bobosola/pnghowto.htm -igor On 8/18/07, Tauren Mills [EMAIL PROTECTED] wrote: Igor, Really? I didn't see one. Then

Re: Acegi and Wicket-auth-roles

2007-08-18 Thread Erik van Oosten
Hi Ian, Indeed, the Wicket base class from Wicket-auth-roles does keep the 'is signed in' state. This is okay; it is the intention that you invalidate the session upon logout. This should of course happen automatically on a timeout after you close the browser. If the browser did not keep

Slider Component

2007-08-18 Thread Samanth Bapu
All, I am relatively new to Wicket and just hooked to it. Thanks for creating such a good framework without any messy xml or configuration files. I just wanted to know if there are any good open source Slider component available and can be integrated with Wicket? I have found ZK, Prototype GI

Re: Slider Component

2007-08-18 Thread Igor Vaynberg
any javascript slider can be easily integrated into wicket, in fact most javascript libs can be. see wicket-stuff for inspiration, there are integrations for animator.js, mootools, yui, scriptaculous, etc. -igor On 8/18/07, Samanth Bapu [EMAIL PROTECTED] wrote: All, I am relatively new to

Re: Slider Component

2007-08-18 Thread Eelco Hillenius
I am relatively new to Wicket and just hooked to it. Thanks for creating such a good framework without any messy xml or configuration files. I just wanted to know if there are any good open source Slider component available and can be integrated with Wicket? I have found ZK, Prototype GI

Re: generic validator questions

2007-08-18 Thread Stojce Dimski
Hi Igor, First thing, thanks, your hints gave me the direction and I solved the issue... I like the approach 'Classname.Key' and I think it's right for this category of generic validators as are those in 'validator' package. It was just a question of overriding one method: @Override public void

Re: generic validator questions

2007-08-18 Thread Igor Vaynberg
im not sure exactly what your usecase is. we have something that is kind of similar, namely new TextField(number, Integer.class); which would type convert the entered string into an Integer and error out if the conversion could not be performed. but i dont think this is the exact match to

Re: Custom StringHeaderContributor

2007-08-18 Thread Tauren Mills
I just checked in the 1.2 repo and couldn't find it either. Maybe it is in a branch I didn't look at. Anyway, what about my original question? Wouldn't having a custom headercontributor be the way to do this rather than a model that is passed to stringheadercontributor? I don't want to redo