Security report suggests to use Apache Wicket

2010-02-19 Thread Martijn Dashorst
Cross-site scripting is the practice of embedding malicious script into a Web page that can execute when users visit the page. To ward off such attacks, the report recommends using frameworks and libraries to control output, including Microsoft's Anti-XSS library, the OWASP ESAPI Encoding module,

Re: Large number components and redering time

2010-02-19 Thread Juha Palomäki
If you want to avoid mixing HTML and Java, you could write your component with using a templating engine, such as Velocity or Freemarker. I believe there is wicket-velocity project somewhere that provides for example Panels that can render Velocity templates files. br, Juha On Thu, Feb 18, 2010

PageExpiredException on ajax calls if apps pages are opened in different tabs

2010-02-19 Thread sachin kumar anumula
Hi, 1. Firstly, I did take a look at all posts regarding this exception available on PEE like herehttp://issues.apache.org/jira/sr/jira.issueviews:searchrequest-fullcontent/temp/SearchRequest.html?query=PageExpiredExceptionsummary=truedescription=truebody=truetempMax=1000and

Re: [OT] Wicket changed my life !

2010-02-19 Thread Peter Ertl
Wicket put the suck out of web development for me :-) Am 19.02.2010 um 08:14 schrieb Josh Kamau: Me too!! On Fri, Feb 19, 2010 at 9:57 AM, Ashika Umanga Umagiliya auma...@biggjapan.com wrote: I love Wicket ! - To

Re: Ajax and OpenSessionInViewFilter problems

2010-02-19 Thread Martin Sachs
Hi , if you use LDM for a form Model.getObject will load the Objects from DB in each request. This is not a Problem, if all data are in the Form allready. Ajax-submit sends the Form incl. all field as parameters, if valid set it to this object and then you have to Store it in this request. If

Re: [OT] Wicket changed my life !

2010-02-19 Thread Fabio Fioretti
Peter, I completely agree with you. :-) Thanks Wicket! Fabio On Fri, Feb 19, 2010 at 9:37 AM, Peter Ertl pe...@gmx.org wrote: Wicket put the suck out of web development for me :-) Am 19.02.2010 um 08:14 schrieb Josh Kamau: Me too!! On Fri, Feb 19, 2010 at 9:57 AM, Ashika Umanga Umagiliya

Re: [OT] Wicket changed my life !

2010-02-19 Thread Leon Nieuwoudt
We just did an initial presentation to a high profile client for our first Wicket-based app (previously we used PHP extensively), and it went well. The entire process from getting a prototype up, doing database stuff (mostly thanks to Hibernate), custom components, etc. went rather smoothly. The

Re: Ajax and OpenSessionInViewFilter problems

2010-02-19 Thread Bert
I had/have this problem too. Right now i use serializable hibernate objects together with an IModel implementation that does not detach the object. Object are serialized into the session and when the user presses the save button the objects are reattached to the current hibernate session and

Palette: access selected/clicked item

2010-02-19 Thread minusquampefekt
hi fellow wicket users, i have some trouble to access the currently selected item of a Palette component. By selected i mean the item which is highlighted if a user clicks on any of the items within the palette. i need that access because i want to update an Image component which renders an

Re: Create Wikcet Filter

2010-02-19 Thread nicolas melendez
Here an example : ?xml version=1.0 encoding=utf-8? web-app xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns=http://java.sun.com/xml/ns/javaee; xmlns:web=http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd; xsi:schemaLocation=http://java.sun.com/xml/ns/javaee

Offline capable web application

2010-02-19 Thread Josh Kamau
Hi guys; I am working on an application that i want to enable to work offline. I want to use wicket for this. Any ideas. I would like uses to fill and submit forms even when working offline and then the data is synchronised later. Is it possible? all manner of suggestions/links are welcome.

Re: Offline capable web application

2010-02-19 Thread Josh Kamau
Any way of integrating Google Gears or apache derby DB ? On Fri, Feb 19, 2010 at 4:04 PM, Josh Kamau joshnet2...@gmail.com wrote: Hi guys; I am working on an application that i want to enable to work offline. I want to use wicket for this. Any ideas. I would like uses to fill and submit

RE: Offline capable web application

2010-02-19 Thread Frank Silbermann
Any application that executes _offline_ is not a _web_ application -- unless the system consists of a stand-alone application containing a web server that runs on the client (e.g. via jetty) so that both client and server are running on the same box. Theoretically, a Wicket application that runs

Re: Offline capable web application

2010-02-19 Thread James Carman
Since Wicket stores state on the server side in the session (and page store), I'd say you're going to have a rough time with this one. This has been discussed before: http://markmail.org/message/pkzmsbmtppg72abg On Fri, Feb 19, 2010 at 8:04 AM, Josh Kamau joshnet2...@gmail.com wrote: Hi guys;

Re: Palette: access selected/clicked item

2010-02-19 Thread Michael O'Cleirigh
Hello, Inside the Palette there is a RecorderT which is basically a customized HiddenField that holds the id of each selected element. /** * Returns recorder component. Recorder component is a form component used to track the * selection of the palette. It receives

Re: Offline capable web application

2010-02-19 Thread Hauke Ingmar Schmidt
Hej, 2010/2/19 Frank Silbermann frank.silberm...@fedex.com: Any application that executes _offline_ is not a _web_ application -- unless the system consists of a stand-alone application containing a web server that runs on the client (e.g. via jetty) so that both client and server are running

Re: Offline capable web application

2010-02-19 Thread Jeremy Thomerson
What you describe here is different than what was implied by your first comment. What you now seem to be asking is this. Please verify: You have multiple install sites (satellite offices, etc), and each of them has a server that runs the application on its own. Users from that location will

Re: Nested Forms

2010-02-19 Thread Charles Deal
I'm sorry to bump this. At the least, can anyone point me to some code that has successfully implemented isolated, nested forms using Wicket 1.4.x? On Wed, Feb 17, 2010 at 8:43 AM, Charles Deal charles.d...@missionse.comwrote: I am attempting to put an isolated form within the main form of my

Re: Nested Forms

2010-02-19 Thread Igor Vaynberg
you cannot have an isolated embedded form, as far as html is concerned that is an oxymoron. you can try hacking around it with IFormVisitorParticipant or by overriding form.process() on your main form, etc. but i do not think this is a usecase we will support... -igor On Fri, Feb 19, 2010 at

DateField problem

2010-02-19 Thread Gatos
Hello, I have a strange problem if I enter to a date field date, from example 2.3.2110 then it will be converted to 2.3.10. Does anyone know how to solve the problem? Thank you

Re: Palette: access selected/clicked item

2010-02-19 Thread Michael O'Cleirigh
Hello, I'm not sure if the Palette is the best component to support what you are looking for. Have you considered using a DropDownChoice (which makes finding the selected item trivial) and then using a DataTable to show the 'selected' items? Here is another approach with the Palette to

Re: Palette: access selected/clicked item

2010-02-19 Thread minusquampefekt
thanks a lot mike! Am 19.02.2010 22:12, schrieb Michael O'Cleirigh: Hello, I'm not sure if the Palette is the best component to support what you are looking for. Have you considered using a DropDownChoice (which makes finding the selected item trivial) and then using a DataTable to show

Re: (Form) Use two TextFields for one object property? (SOLVED)

2010-02-19 Thread srm
class lengthtextfield extends formcomponentpanel { private final textfield minutes; private final textfield seconds; public lengthtextfield(string id, imodelinteger model) { super(id, model); minutes=new textfield(min,new model(model.getobject()/60),integer.class); seconds=new

Upload to Resource

2010-02-19 Thread Karl M. Davis
Howdy all, In the Wicket API, is there any way to have something other than a Form that can receive and process file uploads? Specifically: can a Resource accept form POSTs for file uploads? I ask because I'm trying to wrap the SWFUpload Shockwave applet in a Wicket component. Asking about

Re: [OT] Wicket changed my life !

2010-02-19 Thread Eelco Hillenius
Thanks for the kind words people. Definitively a key part of Wicket's success has been an enthusiastic community. The learning curve was slightly steep once we started doing interesting UI interactions (and also that really annoying LazyLoad exception during tests that I still can't figure

Re: Offline capable web application

2010-02-19 Thread Eelco Hillenius
I am working on an application that i want to enable to work offline. I want to use wicket for this. Any ideas. I would like uses to fill and submit forms even when working offline and then the data is synchronised later. Is it possible? all manner of suggestions/links are welcome. Isn't that

Re: (Form) Use two TextFields for one object property? (SOLVED)

2010-02-19 Thread Eelco Hillenius
A thousand thanks. Works like a charm. Though I don't fully understand how the values are passed through the components/models. It's three components, one parent (that holds the ultimate value) and two children (that both hold values used to calculate the parent value. convertinput() {

Re: [OT] Wicket changed my life !

2010-02-19 Thread Ben Tilford
Models are the hardest part to learn... Because they are really models. On Sat, Feb 20, 2010 at 12:05 AM, Eelco Hillenius eelco.hillen...@gmail.com wrote: Thanks for the kind words people. Definitively a key part of Wicket's success has been an enthusiastic community. The learning curve

Re: Offline capable web application

2010-02-19 Thread Igor Vaynberg
having data only on the client will not help you unless you also have behavior. these kinds of apps are really only feasible when you use a clientside framework like gwt. -igor On Fri, Feb 19, 2010 at 9:10 PM, Eelco Hillenius eelco.hillen...@gmail.com wrote: I am working on an application that

Re: Offline capable web application

2010-02-19 Thread Eelco Hillenius
On Fri, Feb 19, 2010 at 9:30 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: having data only on the client will not help you unless you also have behavior. these kinds of apps are really only feasible when you use a clientside framework like gwt. Any components you write wouldn't use the

Re: Offline capable web application

2010-02-19 Thread Igor Vaynberg
i just dont see the point of wrapping a page made up of gwt components in wicket wrappers. the *entire* front end has to live on the frontend in order for the application to work offline...so whats the point? anyways my two cents. cheers, -igor On Fri, Feb 19, 2010 at 9:43 PM, Eelco Hillenius