Cache control wicket + jetty

2009-12-14 Thread Martin Makundi
Hi! I was reading this: http://docs.codehaus.org/display/JETTY/LastModifiedCacheControl It says "The Jetty default servlet allows the cache control header to be set for static content by using the cacheControl init parameter using cacheControl max-age=3600,public " However, I am not sure t

Re: enclosure changes in 1.4.4

2009-12-13 Thread Martin Makundi
What about RFE for ?? ** Martin 2009/12/13 Anton Veretennikov : > Consistency is one of wicket's strengths. My tiny vote for 1.4.4 > > -- Tony > > On Sun, Dec 13, 2009 at 3:35 PM, Girts Ziemelis > wrote: >> I also liked the behaviour - it made the code shorter, as I did not have to >> mirr

Re: Get stateful page url

2009-12-11 Thread Martin Makundi
ng the unique page > url to the end. If someone knows of a better way to do this, I'm all ears. > > Zak > > On Fri, Dec 11, 2009 at 9:10 AM, Martin Makundi < > martin.maku...@koodaripalvelut.com> wrote: > >> Why do you need it? Maybe there is a better way aro

Re: Get stateful page url

2009-12-11 Thread Martin Makundi
Why do you need it? Maybe there is a better way around it? ** Martin 2009/12/11 Zak Johnson : > I am trying to figure out a way to grab the url of a stateful page instance. > So for example, I want to click a link which creates a new page and before > redirecting to that page I want to grab the ?

Wicket/Web Developer Position: Berlin, Germany

2009-12-10 Thread Martin Makundi
Hi! We are looking for a Wicket & web UI & Javascript-expert to work for a fixed 3-6 months period at our client's premises in Berlin, Germany. You will be building state-of-the-art mobile and web applications, and your task is the UI / Javascript part of the development. Required Skills: * Expe

Re: Very Basic Hello World - Applet

2009-12-09 Thread Martin Makundi
d attribute to the applet tag, create a Label with the same wicket > ID, and then use an AttributeModifier to create the code attribute on the > applet tag. > > Craig >  _ > > From: Martin Makundi [mailto:martin.maku...@koodaripalvelut.com] > To: users@wicket.apache

Re: Very Basic Hello World - Applet

2009-12-09 Thread Martin Makundi
> but 1 little question ... when i complie the code... instead of manually > copy pasting it to my WEBAPP folder.. can i give it as a path (like > /myproject/src/main/webapp/HelloWorld.class) ... No. But you can tweak your build configuration (maven, ant) to copy it automatically. ** Martin > A

Re: Very Basic Hello World - Applet

2009-12-09 Thread Martin Makundi
COmpile HelloWorld.java applet into HelloWorld.class and put it into the webapp directory and write: 2009/12/9 local_shamil : > > Ok cool the image works fine... > > i just added this and it came out "  Picture.JPG   " > > now i need to insert an applet .. > > this is my HelloWorld.java code

Re: Very Basic Hello World - Applet

2009-12-09 Thread Martin Makundi
> Guys i am a bit confused now... Take it slow :) > I am trying to have an Applet displayed in a wicket website... That's fine. It is just like displaying an IMAGE in a html page. The applet has nothing to do with wicket. > should i create a JAR as HelloWorld.jar and put it in to the WEBAPP fol

Re: Very Basic Hello World - Applet

2009-12-09 Thread Martin Makundi
The jar is a library for the applet code. Baybe you do not need it. ** Martin 2009/12/9 local_shamil : > > Ok... this is the code i used to create my Maven Wicket project > > " mvn archetype:create -DarchetypeGroupId=org.apache.wicket > -DarchetypeArtifactId=wicket-archetype-quickstart -Darchetyp

Re: Very Basic Hello World - Applet

2009-12-09 Thread Martin Makundi
If you have an applet you can put it into wicket very easily: 2009/12/9 Shamil : > I need to know how to set-up a simple hello world applet to Wicket , i have > almost browsed the entire web, and clueless of how to find it .. can some > one please help me out... or point me

Re: Data Provider

2009-12-08 Thread Martin Makundi
Modal window can contain only ajax components. Are you using ajaxdatatable? ** Martin 2009/12/9 hill180 : > Hello Group, > > Just a questions to get a point in the right direction. > > I have a Modal Window that opens when a Search AjaxLink is clicked.  All is > Good There. > > The modal Window i

Re: Questions about Serialization...

2009-12-08 Thread Martin Makundi
Where do you keep your data between pages if not in session? ** Martin 2009/12/8 Yves-Marie LAINÉ : > Hi, > > I'm new on the list, sorry if my question has already been asked. I didn't > find the right answer on google. > > Is it possible tu use wicket without Page serialization ? If no, why ? >

Re: basic problem of using wicket

2009-12-06 Thread Martin Makundi
It looks like you need help with the very basics, have a look at Pro Wicket at Google Books it has all necessary examples fo what you are doing: http://books.google.com/books?id=bA8yTZIZQCsC&dq=pro+wicket&printsec=frontcover&source=bl&ots=mmwyOdfFs8&sig=v2m3vxDLQVlesze9iBnnJCacuQA&hl=fi&ei=A28bS9S

Re: onClick Handle ?

2009-12-04 Thread Martin Makundi
Have you tried AttributeModifier? ** Martin 2009/12/4 Peter Arnulf Lustig : > Hi, > > I'd like to create an own Link in the template document. When I create an > Link via Wicket with an onClick attribute, then it calls the page everytime   > I click on it. What I need is a Link in that way: > >

Re: Ajax Wizard and feedback

2009-12-04 Thread Martin Makundi
Yeah..but is the feedback message invoked before adding the feedback into the target? ** Martin 2009/12/4 John Armstrong : > When I click next in the wizard and have not selected an item from the > RadioGroup. > > J > > On Fri, Dec 4, 2009 at 7:26 AM, Martin Makundi > wr

Re: Ajax Wizard and feedback

2009-12-04 Thread Martin Makundi
When does the error occur? ** Martin 2009/12/4 John Armstrong : > Still working on this darn sign-up form in my spare time. I currently > can not get feedback to show up. If I disable javascript it shows up > but using ajax it does not. > > In my WizardStep I have the code to add the feedback pan

Re: Component feedback

2009-12-04 Thread Martin Makundi
You can filter feedback messages.. have a look inside FeedbackPanel. ** Martin 2009/12/4 Sam Barrow : > Hi. I have a FormComponentPanel called MoneyField with a couple of text > boxes inside. > Is there any way to make a new MoneyField with a ComponentFeedbackPanel > that collects all the feedbac

Re: DropDownChoiceWithStylingOptions

2009-12-04 Thread Martin Makundi
Busy... sorry. Feel free to put it. 2009/12/4 nino martinez wael : > Martin, why not put something like this in minis? > > 2009/12/4 Martin Makundi > >> Free4U >> >> public class DropDownChoiceWithStylingOptions extends DropDownChoice >> { >>  priv

DropDownChoiceWithStylingOptions

2009-12-04 Thread Martin Makundi
Free4U public class DropDownChoiceWithStylingOptions extends DropDownChoice { private String previouslyAppendedOptGroupLabel; private int choices; /** * @param id * @param choices * @param renderer */ public DropDownChoiceWithStylingOptions(String id, IModel> choices,

Re: Apache License in the Prototype

2009-12-03 Thread Martin Makundi
patch proposal ... 2009/12/3 Luther Baker : > Not a huge thing but would it make sense to remove the ... entry > from the wicket prototype? > >     >         >            The Apache Software License, Version 2.0 >            http://www.apache.org/licenses/LICENSE-2.0.txt >            repo >      

Re: Has anybody seen this before?

2009-12-03 Thread Martin Makundi
I see this too very often on our production site.. again: when bots visit the page or people maybe mess with back buttons or have invalidated sessions. ** Martin 2009/12/3 Douglas Ferguson : >> [Ljava.lang.String; cannot be cast to java.lang.String >> >> java.lang.ClassCastException:[Ljava.lang.S

Re: palette and event

2009-12-02 Thread Martin Makundi
http://issues.apache.org/jira/browse/WICKET-1574 2009/12/2 Swarnim Ranjitkar : > > I was trying to attach AjaxFormComponentUpdatingBehavior to palette and looks > like I can't do it this way. Is there anyways to attach action to palette > change event. > Here is my code. Appreciate you feedback

Re: palette and event

2009-12-02 Thread Martin Makundi
http://www.mail-archive.com/users@wicket.apache.org/msg14153.html 2009/12/2 Swarnim Ranjitkar : > > I was trying to attach AjaxFormComponentUpdatingBehavior to palette and looks > like I can't do it this way. Is there anyways to attach action to palette > change event. > Here is my code. Appreci

Re: How to do Simple non-Ajax Javascript Behaviour?

2009-12-01 Thread Martin Makundi
YOu need to make AttributeModifier if you want it to look like this: ** Martin 2009/12/2 Lester Chua : > Hi, > > Hmmm, I have a simple thing which should be easy but I just cant figure out > on Wicket. > > 1. I have an input box. > 2. I need to "attach" a javascript to this box to monitor key p

Re: validation string resource name prefix

2009-12-01 Thread Martin Makundi
Yes it is possible ;) Make sure it is worth it before pursuing. ** Martin 2009/12/1 Sebastiaan van Erk : > Hi, > > I would like all the validation strings on a specific page to have a > specified prefix, e.g., if I have a field "password" with a length validator > on my page, I would like the fo

Re: test for dropdownchoice with ajax - response is homepage always

2009-12-01 Thread Martin Makundi
Operation 2 FormTester f1 = tester.newFormTester (...); f1.setValue f1.submit } ** Martin > > Thanx && cheers, > Martin > > >> >> ** >> Martin >> >> 2009/12/1 Martin Grotzke : >> > On Tue, 2009-12-01 at 11:44 +0200, Martin Ma

Re: test for dropdownchoice with ajax - response is homepage always

2009-12-01 Thread Martin Makundi
Line 63 you are re-using the same formTester. Cannot work. ** Martin 2009/12/1 Martin Grotzke : > On Tue, 2009-12-01 at 11:44 +0200, Martin Makundi wrote: >> > Thanx for your feedback! Did you have a look at http://is.gd/58mq3 which >> > shows the test? >> >> Of

Re: Form too large ?

2009-12-01 Thread Martin Makundi
ize. It can be controlled via > org.mortbay.jetty.Request.maxFormContentSize system property (20 > bytes by default) > > 2009/12/1 Martin Makundi >> >> Hi! >> >> What is this error? We got this from our production site... >> >> >> 2009-12-01

Form too large ?

2009-12-01 Thread Martin Makundi
Hi! What is this error? We got this from our production site... 2009-12-01 11:16:19,634 1488650 [btpool0-17] ERROR RequestCycle  - H java.lang.IllegalStateException: Form too large        at org.mortbay.jetty.Request.extractParameters(Request.java:1269)        at org.mortbay.jetty.Request.getPar

Re: test for dropdownchoice with ajax - response is homepage always

2009-12-01 Thread Martin Makundi
> Thanx for your feedback! Did you have a look at http://is.gd/58mq3 which > shows the test? Ofcourse I didn't look ;) Now, having looked at it your bug is that FORMTESTER CAN BE SUBMITTED ONLY ONCE! If you want to use it another time, you need to call newFormTester again. ** Martin > > >> >> *

Re: test for dropdownchoice with ajax - response is homepage always

2009-11-30 Thread Martin Makundi
Hi! > When I test a page like this > http://www.wicket-library.com/wicket-examples/ajax/choice > with wicket tester and submit the form, the response page is the > HomePage instead of the expected page (ChoicePage). Do you use a formtester? The wicket tester executeajax does not properly submit t

Re: How to make a feedback panel appear on page load?

2009-11-30 Thread Martin Makundi
Hi! It should appear if you call "error" or something... what's your code? ** Martin 2009/12/1 Early Morning : > Hi, > > I'm trying to make a feedback panel appear immadiately after page load (such > as when you search and the results appear in a new page, but there is an > error), but even if I

Re: How to render panel markup to string - solved

2009-11-28 Thread Martin Makundi
rentComponent.add(component); >> >>       try { >>         component.prepareForRender(); >>         component.renderComponent(); >>       } catch (RuntimeException e) { >>         component.afterRender(); >>         throw e; >>       } >>     } finally {

Re: How to render panel markup to string - solved

2009-11-28 Thread Martin Makundi
return stringResponse.toString(); } ** Martin 2009/10/30 Martin Makundi : > Almost still needs some tweaking: > > org.apache.wicket.WicketRuntimeException: Unable to find the markup > for the component. That may be due to transparent containers or > components implementing ICompo

Re: Portlet RequestCycle logRuntimeException

2009-11-27 Thread Martin Makundi
Hi! We get something similar often on our production site: http://osdir.com/ml/users-wicket.apache.org/2009-11/msg00825.html I am not sure, but maybe more often when bots (googlebot,msnbot) visit our site. It might have something to do with state? I am curious if anybody finds out what's going o

Re: PropertyModels *without* strings

2009-11-26 Thread Martin Makundi
.  Same >> thing happens with the Spring support.  The configuration files are >> changed for you.  I don't know how eclipse works with this kind of >> stuff, but IDEA definitely has hooks for this kind of stuff. >> >> On Thu, Nov 26, 2009 at 2:28 AM, Martin Makun

Re: PropertyModels *without* strings

2009-11-25 Thread Martin Makundi
zens. but, maybe im just weird. I'm just saying that it should be made even better. ** Martin > > On Wed, Nov 25, 2009 at 11:28 PM, Martin Makundi > wrote: >> If refactoring is not supported it is just easier to use string >> constants, which do not break. >> >> ** &

Re: PropertyModels *without* strings

2009-11-25 Thread Martin Makundi
If refactoring is not supported it is just easier to use string constants, which do not break. ** Martin 2009/11/26 Gerolf Seitz : > as far as i have read, the binding "methods" aren't automatically refactored > (eg. renamed), > but you get compiler errors in the code where you use the "old names

Re: Passing parameters to Wicket application

2009-11-25 Thread Martin Makundi
container as wicket even.. depend's on your requirements, really. ** Martin > Martin Makundi  wrote / napísal(a): >> >> You could use SQL database / or other "storage" to store data which is >> readable by wicket app. Could that work? >> >> **

Re: Passing parameters to Wicket application

2009-11-25 Thread Martin Makundi
You could use SQL database / or other "storage" to store data which is readable by wicket app. Could that work? ** Martin 2009/11/25 Tomas Mihok : > Hello, > > we are currently desingnig a new project. It is a complex network monitoring > tool for enterprise use. > > WicketApp >      | >  Server

Re: css not managed by wicket

2009-11-23 Thread Martin Makundi
Just put /style.css Otherwise wicket is trying to guess the relative url. In most cases it guesses wrong so I have adopted the practice of using resource urls relative to the root of the domain. ** Martin 2009/11/23 Ilya German : > Hello! > > I'm trying to make my web application to use a .css s

Re: setVisible(false) kills DraggableBehavior()

2009-11-23 Thread Martin Makundi
n Mon, Nov 23, 2009 at 1:34 PM, Martin Makundi < > martin.maku...@koodaripalvelut.com> wrote: > >> What is in draggablebehavior? That might be the problem. >> >> ** >> Martin >> >> 2009/11/23 pieter claassen : >> > The code below works but t

Re: setVisible(false) kills DraggableBehavior()

2009-11-23 Thread Martin Makundi
What is in draggablebehavior? That might be the problem. ** Martin 2009/11/23 pieter claassen : > The code below works but the moment that I set my questioneditorpanel as > invisible to start with (even with the setOutputMarkupPlaceholder(true)), > the the draggable behavior stops working. I don'

Re: request scoped variables

2009-11-20 Thread Martin Makundi
> When the hibernate session is closed you will get a lazy initialization > error if they proxy tries to load any lazy fields. In my opinnion it's a design flaw if you lazy-load suff that you keep in session. Stop that. ** Martin > > > On Nov 20, 2009, at 9:34 AM,

Re: request scoped variables

2009-11-20 Thread Martin Makundi
n Nov 20, 2009, at 9:19 AM, Martin Makundi wrote: > >> Why should it be detached every request if it is lightweight? >> >> It seems you have a problem elsewhere? Maybe you have problems with >> object equalities etc? >> >> YOu can override MySession.detach t

Re: request scoped variables

2009-11-20 Thread Martin Makundi
Why should it be detached every request if it is lightweight? It seems you have a problem elsewhere? Maybe you have problems with object equalities etc? YOu can override MySession.detach to detach it. ** Martin 2009/11/20 Douglas Ferguson : > Yeah, but how to I guarantee that it will be detache

Re: strange error

2009-11-20 Thread Martin Makundi
> I can recreate it when using XP. Doing what recreates it? > > D/ > > On Nov 20, 2009, at 1:12 AM, Martin Makundi wrote: > >> I get this quite often on our production site, how can you reproduce >> it?  My guess is that it somehow relates to invalid session and

Re: Wicket datepicker disable weekdays

2009-11-20 Thread Martin Makundi
Or contribute ;) 2009/11/20 Martin Makundi : > If it is'nt in the yui specs then you might have to hack it. > > ** > Martin > > 2009/11/20 Muro Copenhagen : >> Hi Martin, >> >> Thanks actually i did...but could not find something... >> >&g

Re: Wicket datepicker disable weekdays

2009-11-20 Thread Martin Makundi
If it is'nt in the yui specs then you might have to hack it. ** Martin 2009/11/20 Muro Copenhagen : > Hi Martin, > > Thanks actually i did...but could not find something... > > Maybe i have overlooked stuff ? > > Best Regards > > Muro > > On Fri, N

Re: Wicket datepicker disable weekdays

2009-11-20 Thread Martin Makundi
Hi! Did you look at the api documentation: http://developer.yahoo.com/yui/calendar/ ** Martin 2009/11/20 Muro Copenhagen : > Hi, > > I tried to google for this feature i want without any luck :) > > I want to use the wicket datepicker but i want to disable fridays, saturdays > and sundays. > >

Re: strange error

2009-11-19 Thread Martin Makundi
I get this quite often on our production site, how can you reproduce it? My guess is that it somehow relates to invalid session and clicking stale links on the page. We get this whenever googlebot or similar browses our pages. ** Martin 2009/11/20 Douglas Ferguson : > I am able to consistently r

Re: request scoped variables

2009-11-19 Thread Martin Makundi
If your user account is not very heavy just do MySession extends WebSession { private UserAccount userAccount; // instead of just userid } 2009/11/20 Douglas Ferguson : > I am maintaining an app that is written in wicket. > > When a user logs in the userId is stored on the session. > There is a

Re: General questions regarding Wicket roadmap and plans

2009-11-18 Thread Martin Makundi
> 1) Product Roadmap (Release plans, upcoming features etc) > This is important to us because it will at least indicate the intentions of > Wicket Team. As any technology that is adopted enterprise-wide needs to be > long-lived and well supported in addition to it's features and technology, > some

Re: Open new window through a form

2009-11-18 Thread Martin Makundi
I have a somewhat similar need, I need to display the feedback panel before opening popup. In my undesranding you could do some kind of ajax deocrator that will open the opup after successful form submit. HEre is some discussion: http://osdir.com/ml/users-wicket.apache.org/2009-07/msg00472.html

Re: 500 error from server with very quickly click on component

2009-11-17 Thread Martin Makundi
Not knowing anything about anything.. maybe your threadpool runs short? ** Martin 2009/11/18 Haulyn R. Jason : > Hi: > > My architecture is using wicket as UI layer, then use Hessian as RPC web > service. I find a problem, everything works well in common condition, if I > click a link very quickl

Re: Isssues in Modal Window display in IE8

2009-11-17 Thread Martin Makundi
Ah.. so the solution is to write more tests in any case :) ** Martin 2009/11/17 Per Newgro : > Hmm Martin, > > we switched almost every 1.3 version and always had issues. Like changed > checkbox behavior and so on. > Don't know all our bugs anymore but we always had to write new tests because > o

Re: Isssues in Modal Window display in IE8

2009-11-17 Thread Martin Makundi
Why not change that.. should not be a problem. ** Martin 2009/11/17 vela : > > Hello again, > > We use wicket 1.3 in the production environment. That's why, other wise no > issues > -- > View this message in context: > http://old.nabble.com/Isssues-in-Modal-Window-display-in-IE8-tp26047156p26385

Re: Isssues in Modal Window display in IE8

2009-11-16 Thread Martin Makundi
What's the problem of upgrading wicket version? ** Martin 2009/11/17 vela : > > Hello again, > > It is working fine with wicket 1.3.6. But is there any way to make modal > window work in IE8 with wicket.1.3? > -- > View this message in context: > http://old.nabble.com/Isssues-in-Modal-Window-dis

Internal error parsing wicket:interface

2009-11-16 Thread Martin Makundi
Hi! We get a lot of this error on our production site, what might be the reasond and how to avoid it? 2009-11-16 12:01:39,017 73184854 [btpool0-293] ERROR RequestCycle - org.apache.wicket.WicketRuntimeException: Internal error parsing wicket:interface = resources org.apache.wicket.protocol.http.

Re: When NOT to use models ?

2009-11-14 Thread Martin Makundi
> it's more like an model graph.. so you say > > IModel> dataFromDB=new LoadableDetachedModel() ... > IModel countModel=new > CascadingLoad..Model>(dataFromDB); > add(new Label("counter",countModel)); > > countModel.detach() is called from Label, and dataFromDB.detach() is > called fram countModel.

Re: XML Serialization Wicket

2009-11-13 Thread Martin Makundi
I would never guess that DiskPageStore should waste time producing xml... ** Martin 2009/11/13 Pamir Erdem : > Hi. > > As you know, Wicket uses disk storage to save web pages by serializing them. >  PageMap and DiskPageStore classes are examples for it. Is there any way to > change the  serializa

Re: To WASP or not to WASP?

2009-11-12 Thread Martin Makundi
I would just look at the login in ProWicket book... can be found from google books: http://books.google.com/books?id=bA8yTZIZQCsC&lpg=PP1&ots=mmvGOdbMl7&dq=%22pro%20wicket%22&hl=fi&pg=PT91#v=onepage&q=&f=false 2009/11/12 Alex Rass : > I need a rather simple authentication added to some of my scre

Re: Calling IN TO Wicket from JSP

2009-11-12 Thread Martin Makundi
Hi! In my experience this can be accomplished using stateless form. We have a login form on another site and it sends the parameters to a stateless wicket form. ** Martin 2009/11/12 Corbin, James : > Thanks for the response, we are looking into doing something very > similar to this. > > -Or

Re: Calling IN TO Wicket from JSP

2009-11-12 Thread Martin Makundi
If you were running the applications on the same server, I would just make a method in my wicket application...for example MyWicketApplication.getUrl() and call that from JSP code directly. Keep it simple. ** Martin 2009/11/12 Corbin, James : > So no responses???  Does that mean it cannot be done

Re: User count

2009-11-09 Thread Martin Makundi
External analytics is much more simpler to manage. ** Martin 2009/11/9 vela : > > Hello again, > > can't we count it using the wicket application, some thing like this in jsp > > > <%! int i= 0;%> > <% out.println("People visited "+(++i)); %> > > > > -- --

Re: Wicket and JQuery

2009-11-08 Thread Martin Makundi
#x27;ready');  I have never tried this - there may be > unintended consequences. > > -- > Jeremy Thomerson > http://www.wickettraining.com > > > > On Tue, Oct 27, 2009 at 11:38 PM, Martin Makundi < > martin.maku...@koodaripalvelut.com> wrote: > >> ... and expect trouble

Re: Scopes in Wicket Application

2009-11-08 Thread Martin Makundi
Wicket is built on servlet model so it should be the same. ** Matin 2009/11/8 sakthi vel : > Hello, > > What are the scopes in wicket application much like four different > scopes(request, page, session, application) in jsp. > -

Re: User count

2009-11-08 Thread Martin Makundi
Use some free statistics service like google analytics or similar. ** Martin 2009/11/8 sakthi vel : > Hello, > > How to maintain the user hit (number of visitors) to the application without > using the database. > - To unsubscri

Re: If IE comments

2009-11-04 Thread Martin Makundi
Hi! You can output them from code... at least. For example as a label ors omething. ** Martin 2009/11/4 Neil Curzon : > Hi all, > > We're currently migrating some legacy HTML pages into a sexy Wicket app. > Unfortunately, the pages use a few sections for > browser compatibility. Sometimes this

Re: Problem with IFormsubmitting

2009-11-04 Thread Martin Makundi
Hi! The proposed solution does not work with Modal Windows!! * http://osdir.com/ml/users-wicket.apache.org/2009-11/msg00076.html Modal windws have a fake parent form: .. and ofcourse it does not have a hidden input field... .. so the solution gets a bit nastier... .. we must fake the hidden

Re: Problems with displaying modal window

2009-11-03 Thread Martin Makundi
WHy not fix your doctype first? ** Martin 2009/11/4 Anders Sørensen : > Hello everybody. > > I have a webpage under development where I use modal windows. > This has so fare not caused any problems - but now I get an error on one of > my pages. > > I have just added the modal window capability to

Re: Problem with IFormsubmitting

2009-11-03 Thread Martin Makundi
gt; Jeremy Thomerson > http://www.wickettraining.com > > > > On Tue, Nov 3, 2009 at 12:22 PM, Martin Makundi < > martin.maku...@koodaripalvelut.com> wrote: > >> Hi! >> >> One finishing touch is needed. The hidden field should be cleared >> after ajax subm

Re: Problem with IFormsubmitting

2009-11-03 Thread Martin Makundi
throw new RuntimeException(e); } } /** * @return Form */ public abstract Form getForm(); /** * @return CharSequence */ public abstract CharSequence getChangeListenerUrl(); } ** Martin 2009/11/3 Martin Makundi : > Hi! > > I hope I found a solution usin IOnChangeLi

Re: Problem with IFormsubmitting

2009-11-03 Thread Martin Makundi
t); /** * @param target */ protected void onError(AjaxRequestTarget target) { onSubmit(target); } /** * @param id */ public AjaxFormSubmittingChangeListenerCheckBox(String id) { this(id, null); } } 2009/11/3 Martin Makundi : > Hi! > > Maybe this is the solution:

Re: Problem with IFormsubmitting

2009-11-03 Thread Martin Makundi
a change listener with ajax form submit? ** Martin 2009/11/3 Martin Makundi : > Hi! > > I need to accomplish the following: > 1. receive ajax onchange event from a formcomponent > 2. receive "defaultformprocesing=false" style submit > 3. repaint an area; I this is why

Problem with IFormsubmitting

2009-11-03 Thread Martin Makundi
Hi! I need to accomplish the following: 1. receive ajax onchange event from a formcomponent 2. receive "defaultformprocesing=false" style submit 3. repaint an area; I this is why I need the form to be really submitted (=rawinput but not validated). I have built a custom component FormSubmittingDr

Re: How to render panel markup to string?

2009-10-30 Thread Martin Makundi
org.apache.wicket.MarkupFragmentFinder.find(MarkupFragmentFinder.java:125) at org.apache.wicket.Component.locateMarkupStream(Component.java:3813) at org.apache.wicket.Component.renderComponent(Component.java:2547) ** Martin 2009/10/30 Martin Makundi : > Looking at AjaxRequestTarget, maybe something like this might w

Re: How to render panel markup to string?

2009-10-30 Thread Martin Makundi
return stringResponse.toString(); 2009/10/30 Martin Makundi : > Hi! > > Can a wicket component be rendered to string in the following use case: > > 1. I have a table (multiple columns and rows). Each row corresponds to > a person. The columns could represent for rexample a

How to render panel markup to string?

2009-10-30 Thread Martin Makundi
Hi! Can a wicket component be rendered to string in the following use case: 1. I have a table (multiple columns and rows). Each row corresponds to a person. The columns could represent for rexample a calendar for the person. Monda, tuesday, etc. 2. For each row, I have summary information. I hav

Re: Wicket and JQuery

2009-10-27 Thread Martin Makundi
... and expect trouble with ajaxifying jquery plugins that skin html components. They will not work properly if you replace your components via ajax - or at least you might have to work hard on it. ** Marin 2009/10/27 Jeremy Thomerson : > I'd suggest only using jQuery for the UI effects and let W

Re: Wicket HTML before graphics design with CSS ...

2009-10-27 Thread Martin Makundi
I would just give the artist the freedom to do what ever he wants... and then just refactor what's necessary afterwards. ** Martin 2009/10/27 Ashley Aitken : > > Hi All, > > Just a quick question. > > Can someone please provide some pointers to Wicket-specific or general CSS > information on how

Re: Check(box) loses checked state after error

2009-10-27 Thread Martin Makundi
> call ListView.setReuseItems(true) That will work too in simple cases... ** Martin > > On Tue, Oct 27, 2009 at 1:24 PM, Martin Makundi < > martin.maku...@koodaripalvelut.com> wrote: > >> > I'm using a CheckGroup together with a few Check in a repeater

Re: Check(box) loses checked state after error

2009-10-27 Thread Martin Makundi
> I'm using a CheckGroup together with a few Check in a repeater because the > number of boxes displayed is dynamic. If you have a repeater the redraw event instantiates NEW checkboxes.. so ofcourse you lose the staete. I have built a reusemanager that copies the old state. Usage sould be quite

Re: When NOT to use models ?

2009-10-26 Thread Martin Makundi
             } >                return cachedValue; >            } >        }; > > since the cached value is transient, it will be null when it is > deserialized. But during the requestCyclue, the evaluation will only happen > once. (at least, if I'm not missing somethin

Re: Multiple check box in a row in the ListView

2009-10-25 Thread Martin Makundi
Hi! Firstly, I would consider the 1st checkbox just a dymmy helper implemented using CheckGroupSelector. I would not really care if it reflects the two other checkboxes or not, that's an overkill. And if still necessary, I would simply do it with javascript. Anywyays. there is an example of wicket

Re: When NOT to use models ?

2009-10-24 Thread Martin Makundi
> What I found was that I was instantiating my LDM's as private variables in > my custom components but that they were not being detached.  In this case > you need to programatically register your non default models to participate > in the detachment process.  See the Wiki here for an example: > ht

Re: When NOT to use models ?

2009-10-23 Thread Martin Makundi
> evaluated only one time per render can be done with > LoadableDetachedModel .. I do not mean LOADED once per render. I mean EVALUATED once per render. In my understanding LoadableDetachableModel does not guarantee "reset" in any particular stage. > can you explain it a littly bit (a link to you

Re: When NOT to use models ?

2009-10-23 Thread Martin Makundi
Hi! I have said that you might need to "cache" your model values, in some performance situations. If you do not use models, you do not need same kind of caching (because the value is fixed). Nevetheless, using models results in cleaner code, but I am dreaming of a centralized caching mechanism suc

Re: Wicket pages development orgnization

2009-10-15 Thread Martin Makundi
And http://www.xaloon.org/tabs * http://www.xaloon.org/blog/advanced-wicket-tabs-with-jquery ** Martin 2009/10/16 Martin Makundi : > http://blog.ehour.nl/index.php/archives/18 > > 2009/10/16 Ding Zenberg : >> Hi all, >> >> Is there a nice way organize those pages in

Re: Wicket pages development orgnization

2009-10-15 Thread Martin Makundi
http://blog.ehour.nl/index.php/archives/18 2009/10/16 Ding Zenberg : > Hi all, > >   We'll plan to use wicket in our application for one enterprise's > information management system. > >   the app's portal layout is someting like this: > >   - >   |        

Re: Open Source projects using Wicket

2009-10-15 Thread Martin Makundi
Pushing definitely is more performance efficient - you know exactly when and where you push it and it's easy (happy-day-scenario) to optimize. Partly the ease of optimization results from "difficulty of making complex relations". However, if you pull from models, you might end up with very complex

Re: Open source Wicket blog

2009-10-14 Thread Martin Makundi
It would be nice to bundle a wicket app with a blog site yes! The challenge is how to make it "open" such that it is easy (=lightweight) to attach to any particular conventions (authentication, memberships, etc.) of the "main" site. ** Martin 2009/10/14 Daniel Frisk : > Hi, > > we have developed

Re: vps hosting for wicket app

2009-10-07 Thread Martin Makundi
Hosted vps might give you backup and fail-over very cost-effectively. ** Martin 2009/10/7 John Armstrong : > I never found VPS to be cost effective (for my needs). For $100/month > or so I have a core 2-duo dedicated box with 4GB RAM/120GB disk and > 10mb/s throughput that can host 2-3 virtual ma

Re: Storing entity object in session - how to do it?

2009-10-07 Thread Martin Makundi
We have (some key) entities (successfully) in Session. But they are not lazy-load entities so they act like plain-old-java-beans. ** Martin 2009/10/7 Jeffrey Schneller : > Looking through the archives I saw some posts that said you should not > store entity objects [for example object coming from

Re: Page expired stateless page?

2009-10-06 Thread Martin Makundi
No, I increased logging and it seems this is somehow related to googlebot visits (occurs simultaneously). Maybe they do not keep session properly. Is this possible in your case that it is a googlebot visit? ** Martin 2009/10/6 sparktronics : > > I have the same problem... were you able to solve i

Re: how to map 2 html files to 1 class?

2009-10-05 Thread Martin Makundi
lasses.  If I do - wicket is a >> failure. >> >> -Original Message- >> From: Martin Makundi [mailto:martin.maku...@koodaripalvelut.com] >> Sent: Monday, October 05, 2009 6:27 PM >> To: users@wicket.apache.org >> Subject: Re: how to map 2 html files to 1

Re: how to map 2 html files to 1 class?

2009-10-05 Thread Martin Makundi
t; -Original Message- > From: Martin Makundi [mailto:martin.maku...@koodaripalvelut.com] > Sent: Monday, October 05, 2009 6:27 PM > To: users@wicket.apache.org > Subject: Re: how to map 2 html files to 1 class? > > What are you handling there ? > > ** > Martin >

Re: how to map 2 html files to 1 class?

2009-10-05 Thread Martin Makundi
e cause hardly anything > is going on there. > > > -Original Message- > From: Martin Makundi [mailto:martin.maku...@koodaripalvelut.com] > Sent: Monday, October 05, 2009 6:08 PM > To: users@wicket.apache.org > Subject: Re: how to map 2 html files to 1 class? > >>

Re: how to map 2 html files to 1 class?

2009-10-05 Thread Martin Makundi
> PageHandler.java, that handles all 3. > mountBookmarkablePage("/PageA.html", PageHandler.class); > mountBookmarkablePage("/PageB.html", PageHandler.class); > mountBookmarkablePage("/PageC.html", PageHandler.class); This is a bit confusing, you ar giving different aliases to the same page. Is tha

<    3   4   5   6   7   8   9   10   11   12   >