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 wr

Re: Offline capable web application

2010-02-19 Thread Eelco Hillenius
On Fri, Feb 19, 2010 at 9:30 PM, Igor Vaynberg 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 typical client/ server i

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 wrote: >> I am working on an application that i want to enable to work

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 wrote: > 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

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: 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 t

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 o

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 i

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, imodel model) { > super(id, model); > minutes=new textfield("min",new model(model.getobject()/60),integer.class); > seconds=new textfi

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 t

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 add

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: 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 1

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 wrote: > I am attempting to put an isolated form within the main form of my page. I > found http://c

Re: If IE comments

2010-02-19 Thread kellerautomat
Add this behaviour to a StyleSheetReference. private final class IEOnlyBehaviour extends AbstractBehavior { private int version; public IEOnlyBehaviour(int version) { this.version = version; } @Override public void beforeRender(Component

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 con

Re: Palette: access selected/clicked item

2010-02-19 Thread minusquampefekt
Unfortunately your suggestion doesnt' work. That is because the "onchange" event only fires if i move an item from the left to the right box or vice versa. what i want is to get a notification when an item is clicked, not when it's moved. I managed to receive this notification by registering a

Re: If IE comments

2010-02-19 Thread orden
You may be interested by my code: it's adding IE only CSS in the header. You just have to add it to the page. public class IEStylesheetHeaderContributor extends AbstractBehavior implements IHeaderContributor{ private final ResourceReference ref; public IEStyleshe

Re: Offline capable web application

2010-02-19 Thread Josh Kamau
I was thinking that i could install the same application on each site, then have the databases synchronized somehow. My CTO will have me for lunch if i suggest this. On Fri, Feb 19, 2010 at 4:26 PM, Frank Silbermann < frank.silberm...@fedex.com> wrote: > Any application that executes _offline_ is

Re: Offline capable web application

2010-02-19 Thread Hauke Ingmar Schmidt
Hej, 2010/2/19 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. That

Re: Palette: access selected/clicked item

2010-02-19 Thread Michael O'Cleirigh
Hello, Inside the Palette there is a Recorder 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 onchange javascr

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 wrote: > Hi guys; > > I am working on

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 o

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 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 > forms even when wor

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. Regar

Re: Create Wikcet Filter

2010-02-19 Thread nicolas melendez
Here an example : 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 http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"; version="2.5">

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 i

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 comm

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: [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 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: 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 yo

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 ! >> >> --

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 hereand here

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

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,