Re: Popup parent comunication

2007-11-08 Thread Johan Compagner
yeah there is already a call happening to the server. But maybe this is a bug in the wicket javascript code, that it still thinks that the channel is busy what version do you use of wicket? johan On Nov 8, 2007 9:24 AM, serban.balamaci [EMAIL PROTECTED] wrote: I forgot to look in the ajax

Re: Attempted summary of multiple wicket:child / thread

2007-11-08 Thread Johan Compagner
Yes that is the solution that also gets my vote for 1.4 if we can implement it nicely and if it is backwards compartible and straightforward to use. johan On Nov 8, 2007 10:37 AM, Jan Kriesten [EMAIL PROTECTED] wrote: hi everyone, actually, i wonder what is wrong with al's suggestion to

RE: Attempted summary of multiple wicket:child / thread

2007-11-08 Thread Chris Colman
The advantage of having this separate project is that such inheritance would be available for people who like it, and hey, maybe in the longer term you have something that works so good that you can convince people based on something that works. Executable code works much better than

Re: wicketstuff push and sharing an IChannelService

2007-11-08 Thread Xavier Hanin
On 11/6/07, Michael Sparer [EMAIL PROTECTED] wrote: Salut Xavier, Hallo Michael, I was wondering if I could/should commit the changes I made to wicketstuff push to the svn. In brief, this is what I did: 1. Extended the CometdDefaultBehaviorTemplate.js with the following if clause var

Re: Popup parent comunication

2007-11-08 Thread serban.balamaci
Wel i use wicket 1.2.6 Sadly it seems to be a browser compatibility issue. Default I use firefox but tried it now in IE 6 and IE7 and in firefox there is the problem and in IE it works as expected. Hmm... Johan Compagner wrote: yeah there is already a call happening to the server. But maybe

Re: gmap2 and map creation

2007-11-08 Thread Jan Stette
On 07/11/2007, Martin Funk [EMAIL PROTECTED] wrote: sorry I was just to tired yesterday look into that any deeper. No problem, of course! :-) I just committed a patch. Could you check if it suits your needs? The patch adds checks for isAttached() in some operations, but not all. So I

{wicket 1.3beta4} Testing unselecting check?

2007-11-08 Thread Nino Saturnino Martinez Vazquez Wael
Hi Is it possible to unselect at check with the tester? We have a page where all checks are selected by default and I need to write a test were I unselect one of them.. -Nino -- Nino Martinez Wael Java Specialist @ Jayway DK http://www.jayway.dk +45 2936 7684

Re: Attempted summary of multiple wicket:child / thread

2007-11-08 Thread Sebastiaan van Erk
Eelco wrote: The thing is though, even though it is 100% backwards compatible, it is something we'll have to support. It adds complexity to the implementation, and we'll have to answer questions about it on the list. That would be fine if everyone would have been wildly enthusiastic about it,

Re: Multiple wicket:child / tags on a single base page?

2007-11-08 Thread Stefan Fußenegger
hi eelco, Assume the tag wouldn't be renamed. Then it would only be a new and optional (!) attribute for the child/extend tags. So isn't it unnecessary to explicitly turn on/off a feature that you could implicitly turn on as soon as this attribute is used? The naming - is abstract/implement

Several localized buttons in a form

2007-11-08 Thread Pills
Hello, I would like to put 2 buttons on a form (submit/cancel). This 2 buttons need to be localized. I tried to override the form's onSubmit, and add one new Button (submit) and a new subclass of Button (cancel). My code looks like this: [CODE] Form form = new Form(formaddeditcurrency) {

Re: Several localized buttons in a form

2007-11-08 Thread Pills
Sebastiaan van Erk wrote: /** * Sets the defaultFormProcessing property. When false (default is true), * all validation and form updating is bypassed and the onSubmit method of * that button is called directly, and the onSubmit method of the parent *

Re: Problem closing a ModalWindow when used through an IFrame

2007-11-08 Thread Ville Paasimaa
I found a possible fix to this problem. If you leave the window.parent.setTimeout statement off and just call directly win.current.close the modal window will be closed. You can test this by changing getCloseJavacript method of the ModalWindow.java to return this: { return var win;\n

Re: Several localized buttons in a form

2007-11-08 Thread Sebastiaan van Erk
You could use Button.setDefaultFormProcessing(false) to turn of form validation. From the javadoc: /** * Sets the defaultFormProcessing property. When false (default is true), * all validation and form updating is bypassed and the onSubmit method of * that

Re: Several localized buttons in a form

2007-11-08 Thread Al Maw
Pills wrote: How can I put several buttons on a form? If you look at the code you've written, you've nearly answered your own question. ;-) Don't use the Form's onSubmit(). Just use the Buttons' onSubmit()s instead. If you want to allow a Button#onSubmit() without the Form validating,

DataView question, please help, thanks!

2007-11-08 Thread raybristol
I am using DataView to show a list, in my html page, I got: table border='1' class=ms-prof-main tr th class=ms-prof-topBox ID/th th

Re: Multiple wicket:child / tags on a single base page?

2007-11-08 Thread Eelco Hillenius
On Nov 7, 2007 5:53 PM, Chris Colman [EMAIL PROTECTED] wrote: heh, wellyou can be against this, but i think if we take a vote right now most core-devs with binding votes will vote this down I still can't see the reason for the negativity of some of the core-devs: this is an existing

Re: Popup parent comunication

2007-11-08 Thread serban.balamaci
I forgot to look in the ajax console. Here is what it says: INFO: Initiating Ajax GET request on /crm/app/?wicket:interface=:1:myForm:tabs:0:customTablePanel:rows:2:cells:3:cell:-1:IUnversionedBehaviorListenerwicket:behaviorId=0wicket:ignoreIfNotActive=truerandom=0.5604639175790322 INFO: Invoking

Re: Attempted summary of multiple wicket:child / thread

2007-11-08 Thread Eelco Hillenius
In conclusion, the proposed change: - is useful - does not have to be used if you don't like it - is 100% backwards compatible - it introduces no new tags (if using child/extends) The thing is though, even though it is 100% backwards compatible, it is

Re: Multiple wicket:child / tags on a single base page?

2007-11-08 Thread Sebastiaan van Erk
Eelco Hillenius wrote: On Nov 7, 2007 5:53 PM, Chris Colman [EMAIL PROTECTED] wrote: heh, wellyou can be against this, but i think if we take a vote right now most core-devs with binding votes will vote this down I still can't see the reason for the negativity of some of the core-devs:

Re: Popup parent comunication

2007-11-08 Thread Maurice Marrink
Ok, this is where i have to step aside and let the real wicket folks take over :) I have absolutely no clue as to what is going on here. Maurice On Nov 8, 2007 9:24 AM, serban.balamaci [EMAIL PROTECTED] wrote: I forgot to look in the ajax console. Here is what it says: INFO: Initiating Ajax

Re: Attempted summary of multiple wicket:child / thread

2007-11-08 Thread Stefan Fußenegger
Hi eelco. Did you see what I changed in order to make this working? There is nearly no extra complexity. So I think complexity isn't an argument here. best regards -- stefan Eelco Hillenius wrote: In conclusion, the proposed change: - is useful - does not have to be

Form values from Panel

2007-11-08 Thread Marco Aurélio Silva
Hi all I have a Panel that is open with a ModalWindow, and when it is closed the main page is updated. The problem is that I can't get the values from dropDowns of panel, they are coming always null. Is there something I'm doing wrong? Is possible to use Form on Panel? Thanks in advance! Marco

Re: Attempted summary of multiple wicket:child / thread

2007-11-08 Thread Sebastiaan van Erk
Hi, Eelco Hillenius wrote: In conclusion, the proposed change: - is useful - does not have to be used if you don't like it - is 100% backwards compatible - it introduces no new tags (if using child/extends) The thing is though, even though it is 100% backwards

Re: Attempted summary of multiple wicket:child / thread

2007-11-08 Thread Jan Kriesten
hi everyone, actually, i wonder what is wrong with al's suggestion to add id's to wicket:child and wicket:extend? regards, --- jan. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Attempted summary of multiple wicket:child / thread

2007-11-08 Thread Sebastiaan van Erk
Jan Kriesten wrote: hi everyone, actually, i wonder what is wrong with al's suggestion to add id's to wicket:child and wicket:extend? regards, --- jan. That is what I'd suggest as well, since it involves the least amount of change. As an added bonus, if no id's are added and 2 wicket:child

Re: Disabling serialization/storage of pages in session?

2007-11-08 Thread Johan Compagner
like eelco said if you don't want to serialize and store on disk, create a filestore that does nothing (or holds a few pages for per session in mem for backbutton) But what do you mean with disable the storage of pages in a session? You don't want to store a statefull page at all in the pagemap

Re: How To Change Page Store Size in DiskPageStore?

2007-11-08 Thread Johan Compagner
But 50 is nothing (at least i think it is nothing) and linux should be able to handle that just fine Can somebody peak how many handles we take on those session files? Maybe we leak somewhere or do take more then we think. johan On Nov 8, 2007 2:04 AM, Matej Knopp [EMAIL PROTECTED] wrote:

Re: DataView question, please help, thanks!

2007-11-08 Thread Dmitry Kandalov
On Thursday 08 November 2007 14:13:22 raybristol wrote: /table then in code behind I use protected void populateItem(Item item) to specified each table cell's data, because I can put any String in td tag so I can easily put any javascript function call, however, I want to do that

Re: Regarding the use of AjaxFallbackDefaultDataTable

2007-11-08 Thread John Krasnay
On Wed, Nov 07, 2007 at 07:20:01PM -0800, Jeremy Lee wrote: Hi, I have a Search Form along with a AjaxFallbackDefaultDataTable on a page that I am trying to create. How it is supposed to work is as follows: 1. User accesses page (only search form is visible) 2. User enters search

RE: Link text

2007-11-08 Thread Clay Lehman
You might want to look at IComponentBorder -Clay -Original Message- From: Sam Hough [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 07, 2007 5:47 AM To: users@wicket.apache.org Subject: Re: Link text Anything similar for spitting something out _after_ the tag that the component is

Re: Question about localization

2007-11-08 Thread Pills
igor.vaynberg wrote: application.init() { getresourcesettings().setlocalizer(...); } you dont have to use the default resource model, just write your own if you dont like the default one. -igor Thank you, it works fine ;) But I have another problem. I sometimes use

Re: Question regarding navigation with the browser's back button

2007-11-08 Thread Christian Alejandro Marquez Grabia
Well...after trying on different things, what I did was override the onAttach method, and there I regenerate the tree. Don't know if this is the better way, but it's working so far. Thanks for your help, Chris On Nov 5, 2007 4:35 PM, Igor Vaynberg [EMAIL PROTECTED] wrote: maybe your tree

Repeater View Examples are broken

2007-11-08 Thread James Perry
I have noticed that there is an internal server error with the Repeater examples: http://wicketstuff.org/wicket13/repeater/ Cheers, James. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: ResourceReference with locale and style, for CSSs

2007-11-08 Thread Johan Compagner
they locale and style are used to search for it yes they are not forced.. What do you mean with that? If the file with that style and locale isn't there it will fallback johan On Nov 7, 2007 10:50 PM, German Morales [EMAIL PROTECTED] wrote: Hi all, I'm having trouble with localized and

RE: Rendering a fieldset class attribute

2007-11-08 Thread William Hoover
I hear you... read the docs... addAttributeIfNotPresent :) It seems odd that the AttributeModifier is under the org.apache.wicket package, but the SimpleAttributeModifier is under the org.apache.wicket.behavior package? They both extend AbstractBehavior. I would have to agree with you... it

Re: How To Change Page Store Size in DiskPageStore?

2007-11-08 Thread Chris Lintz
Guys I am on the same project so I can speak a bit more. The real issue is that on Redhat the default max directories is something like 32K. We ran out of file descriptors. Basically for every unique session there is a directory created for the second level cache. I think the real issue for

Re: Wicket Servlet Filters

2007-11-08 Thread Igor Vaynberg
wicket is a UI framework, handling servlet filters is a bit outside its scope :) -igor On 11/8/07, William Hoover [EMAIL PROTECTED] wrote: Is there a wicket way to handle servlet filters internally in the API or is the recomended method just to use typical servlet filters?

packaging images/css in a jar?

2007-11-08 Thread mfs
Guys, Wondering as to where would i be packaging my images/css in case of a jar ? Farhan. -- View this message in context: http://www.nabble.com/packaging-images-css-in-a-jar--tf4772567.html#a13652419 Sent from the Wicket - User mailing list archive at Nabble.com.

Re: How To Change Page Store Size in DiskPageStore?

2007-11-08 Thread Matej Knopp
On Nov 8, 2007 6:43 PM, Eelco Hillenius [EMAIL PROTECTED] wrote: Guys I am on the same project so I can speak a bit more. The real issue is that on Redhat the default max directories is something like 32K. We ran out of file descriptors. Basically for every unique session there is a

Re: packaging images/css in a jar?

2007-11-08 Thread mfs
src/main/resources?..lets say if its a maven structure.. mfs wrote: Guys, Wondering as to where would i be packaging my images/css in case of a jar ? Farhan. -- View this message in context: http://www.nabble.com/packaging-images-css-in-a-jar--tf4772567.html#a13652470 Sent from

Re: packaging images/css in a jar?

2007-11-08 Thread Eelco Hillenius
On Nov 8, 2007 10:02 AM, mfs [EMAIL PROTECTED] wrote: Guys, Wondering as to where would i be packaging my images/css in case of a jar ? Typically relative to where you use it. Eelco - To unsubscribe, e-mail: [EMAIL

Re: How To Change Page Store Size in DiskPageStore?

2007-11-08 Thread Eelco Hillenius
Guys I am on the same project so I can speak a bit more. The real issue is that on Redhat the default max directories is something like 32K. We ran out of file descriptors. Basically for every unique session there is a directory created for the second level cache. But the file handles are

RE: Wicket Servlet Filters

2007-11-08 Thread William Hoover
Well, I was thinking more in lines of a request listener (similar to a JSF phase listener). As Wicket enters internal phases of execution a listener can be added to perform some operations on the event. Just thought it would be convenient to do something like this in the Wicket world :)

Re: ResourceReference with locale and style, for CSSs

2007-11-08 Thread German Morales
Hi johan, The problem is that the file is there... just that it doesn't seem to be looking for it. If i force the full constructor: new ResourceReference(MyPage.class, style.css, getLocale(), getStyle()) all works, so the file is correcly found and the name is correct. The problem is when i

Re: Wicket Servlet Filters

2007-11-08 Thread Eelco Hillenius
On Nov 8, 2007 8:55 AM, William Hoover [EMAIL PROTECTED] wrote: Well, I was thinking more in lines of a request listener (similar to a JSF phase listener). As Wicket enters internal phases of execution a listener can be added to perform some operations on the event. Just thought it would be

Wicket Servlet Filters

2007-11-08 Thread William Hoover
Is there a wicket way to handle servlet filters internally in the API or is the recomended method just to use typical servlet filters? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Several localized buttons in a form

2007-11-08 Thread Igor Vaynberg
i would make the cancel button a Link, but thats just me... -igor On 11/8/07, Pills [EMAIL PROTECTED] wrote: Sebastiaan van Erk wrote: /** * Sets the defaultFormProcessing property. When false (default is true), * all validation and form updating is bypassed

Re: Question about localization

2007-11-08 Thread Igor Vaynberg
write your own wicket:message like tag? -igor On 11/8/07, Pills [EMAIL PROTECTED] wrote: igor.vaynberg wrote: application.init() { getresourcesettings().setlocalizer(...); } you dont have to use the default resource model, just write your own if you dont like the default one.

Re: How To Change Page Store Size in DiskPageStore?

2007-11-08 Thread Matej Knopp
I see. That would be a serious bug indeed. Can you please file a high priority JIRA issue? We'll look at it as soon as possible. -Matej On Nov 8, 2007 6:35 PM, Chris Lintz [EMAIL PROTECTED] wrote: Guys I am on the same project so I can speak a bit more. The real issue is that on Redhat the

Re: packaging images/css in a jar?

2007-11-08 Thread mfs
but i am wondering as to how would i make it work wicket such that image gets fetched from the classpath and not relative to the application root.. So basically here is my scenario, i have jar bundled with the page components and in them i want to refer to the images (bundled within the jar

RE: Wicket Servlet Filters

2007-11-08 Thread William Hoover
So in theory it can be accomplished, but is not recommended to do so... What is the common practice when dealing with wicket related data in a servlet filter? Say you have a simple task of checking for a parameter and/or session object and redirecting to specified Wicket pages, accordingly? It

Re: packaging images/css in a jar?

2007-11-08 Thread Eelco Hillenius
src/main/resources?..lets say if its a maven structure.. No, just in the classpath. Look at wicket-examples/ images example for instance. Eelco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: Disabling serialization/storage of pages in session?

2007-11-08 Thread mfs
Basically we are still researching wicket and figuring out if that would be the desired framework for us (so far it does look promising)..and in that context we are exploring all the different scenarios/use-cases/possibilities... Now there would be certain use-cases/pages in our application

Re: Disabling serialization/storage of pages in session?

2007-11-08 Thread Eelco Hillenius
Now there would be certain use-cases/pages in our application which would have alot of data in it (lets say in mbs), and in that scenario storing the entire model-data/components would probably bring in too much of a load on the system (in my opinion...given high volume of users..) so with

Re: Mystery problem w/ Wicket + Glassfish v2?

2007-11-08 Thread Paolo Di Tommaso
Has Wicket 1.2.7 been released? I'm unable to find on 1.2.x download page .. Thanks, Paolo On Nov 5, 2007 10:17 PM, Johan Compagner [EMAIL PROTECTED] wrote: please upgrade to at least the latest version of 1.2 (1.2.7) because if i look at getContentType of an innerclass of DynamicWebResource

Re: packaging images/css in a jar?

2007-11-08 Thread Eelco Hillenius
but i am wondering as to how would i make it work wicket such that image gets fetched from the classpath and not relative to the application root.. So basically here is my scenario, i have jar bundled with the page components and in them i want to refer to the images (bundled within the jar

Re: Wicket portlet newbie questions

2007-11-08 Thread Thijs
Yeah I know Read http://www.liferay.com/web/guest/community/forums/message_boards/message/249501 Then there also is: https://issues.apache.org/jira/browse/WICKET-1132 So your not out of the woods jet... Thijs justment wrote: Ok now I already add wicket portlet page to liferay.But i have new

Doing something on Shift+Click

2007-11-08 Thread vr . sundar
Hi, I have to activate a hidden option when a user shift+clicks something. How do I go about doing this? From reading the docs, the idea I currently have is this: Add a new behavior that extends AjaxEventBehavior for the onClick event.This behavior should contribute some javascript that is used

Re: Is it possible to get AjaxLink stateless?

2007-11-08 Thread Johan Compagner
no because the ajax behaviors are also not stateless. So even if you make the link stateless then the behaviors it has make them statefull again. Sometimes ajax things can be stateless but i still think it is a bit strange for 90% or more of the cases Why is the link an ajax link?. Because in my

Re: How To Change Page Store Size in DiskPageStore?

2007-11-08 Thread Eelco Hillenius
On Nov 8, 2007 3:31 PM, Chris Lintz [EMAIL PROTECTED] wrote: We get dangling cache files. I have the sessions set to expire in 1 hour. I check one of my servers and i see cache files from over a week old. This could of only have occurred because of the multiple restarts. Maybe its a bad

Re: WicketNotSerializableException withi FileUpload

2007-11-08 Thread Johan Compagner
Ok the problem is that somehow you are holding on to a FileUpload in your page And those are not meant to be kept over requests. it seems that you keep it if i read it right in a normal Model: [class=org.apache.wicket.model.Model] private java.io.Serializable

Re: How To Change Page Store Size in DiskPageStore?

2007-11-08 Thread Martijn Dashorst
No, as sometimes you actually want to resume those sessions. I guess this is more shell type of thing rather than somethign Wicket can take care off. At least, as long as there is no bug in cleaning the stuff up when sessions expire. Martijn On 11/9/07, Eelco Hillenius [EMAIL PROTECTED]

Re: Form: onSubmit not called

2007-11-08 Thread Brill Pappin
Thats pretty much it. I had a date member of my bean and was using a text field to set it on post... of course since it didn't know the format I expected, it failed and because I didn't have a feedback panel, I couldn't see it (and nothing was coming out in the log). Although it was my own

Re: facebook support

2007-11-08 Thread Chris Lintz
I am curious what type of Wicket components/functionality you are hoping for? Just on a side note, we are using Octazen - http://www.octazen.com/ for social network slurping of contacts, etc. Of course there is a small license fee for the product, so it would be ideal to have a free library to

Re: How To Change Page Store Size in DiskPageStore?

2007-11-08 Thread Chris Lintz
How can we limit the number of files and/or directories? I only see the option to limit the size of the session or the size of the pagemap for the DiskPageStore ( DiskPageStore(java.io.File fileStoreFolder, int maxSizePerPagemap, int maxSizePerSession, int fileChannelPoolCapacity) Matej

facebook support

2007-11-08 Thread Jonathan Locke
I'd like to get facebook support into Wicket. If anyone out there has interest and would like to cooperate(particularly anyone with Facebook experience), please get in touch with me. Thanks. -- View this message in context: http://www.nabble.com/facebook-support-tf4773546.html#a13655578 Sent

Re: packaging images/css in a jar?

2007-11-08 Thread Eelco Hillenius
On Nov 8, 2007 11:16 AM, mfs [EMAIL PROTECTED] wrote: Actually it does work when the image is in the same directory as that of the page (same with the example u pointed out)..how would i refer to an image which is altogether is a different structure... lets say my page is at org.xyz.util

RE: Wicket Servlet Filters

2007-11-08 Thread William Hoover
It's not for authorization... It's for running reports. I realize that the Wicket stratagy is to work with components, but in this instance its not a practical option. The business requirement dictates that from any page in the application a parameter can be added to the url (by means of

Re: ResourceReference with locale and style, for CSSs

2007-11-08 Thread German Morales
Hi, I use it inside a page. I've tried... // inside the page constructor add(HeaderContributor.forCss(new ResourceReference(MyPage.class, style.css))); and // inside renderHead cResponse.getHeaderResponse().renderCSSReference(new ResourceReference(MyPage.class, style.css)); And

Re: Wicket Servlet Filters

2007-11-08 Thread Eelco Hillenius
On Nov 8, 2007 10:26 AM, William Hoover [EMAIL PROTECTED] wrote: So in theory it can be accomplished, but is not recommended to do so... What is the common practice when dealing with wicket related data in a servlet filter? Try to forget how other frameworks do things and look for solutions

Re: How To Change Page Store Size in DiskPageStore?

2007-11-08 Thread Matej Knopp
Yeah, something like this could be done, but then we would probably have to user separate folder for each pagestore / application, just to make sure that one page store doesn't touch other pagestore files. Still, the question is whether we should do this at all. If you kill your container (don't

Re: How To Change Page Store Size in DiskPageStore?

2007-11-08 Thread Eelco Hillenius
No we can't do that, If you as you should terminate your web container gracefully then the web container will save all the sessions to disk. Then if you restart it again all the sessions are loaded again. And yes the application works just as it was never restarted. But if we throw away all

Is it possible to get AjaxLink stateless?

2007-11-08 Thread Chris Lintz
Hi. So i have tried setting the stateless hint and my AjaxLink is still statefull. I read some where where even Ajax components can be stateless. What am I missing? AjaxLink addFriend = new AjaxLink(addFriend) { @Override

Re: facebook support

2007-11-08 Thread Matt Jensen
I am working on this, though I'm trying to leave the door open to also supporting MySpace in the future. I have not done much yet--and nothing Wicket-specific--but I do plan to include a Wicket module. Jonathan Locke wrote: I'd like to get facebook support into Wicket. If anyone out there

Re: Component.wrap and IChainingModel

2007-11-08 Thread ChuckDeal
Dmitry Kandalov wrote: On Wednesday 07 November 2007 01:18:32 ChuckDeal wrote: SortingModel (IChainingModel) - AppendingListModel (IComponentAssignmentModel) - HibernateListModel (database oriented model that returns a list of items from the db, unsorted). Perhaps I didn't get the

Re: Disabling serialization/storage of pages in session?

2007-11-08 Thread mfs
Well that was just hypothetically speaking..what i meant was it would have loads of data loaded in it..so it was that scenario where i was wondering that we shouldnt store the state of each page. Yes as you pointed out using detachable models can certainly be one to way to go..but at the same

Re: Wicket Servlet Filters

2007-11-08 Thread Eelco Hillenius
On Nov 8, 2007 11:14 AM, William Hoover [EMAIL PROTECTED] wrote: It's not for authorization... It's for running reports. I realize that the Wicket stratagy is to work with components, but in this instance its not a practical option. The business requirement dictates that from any page in the

Re: Component.wrap and IChainingModel

2007-11-08 Thread Dmitry Kandalov
On Wednesday 07 November 2007 01:18:32 ChuckDeal wrote: SortingModel (IChainingModel) - AppendingListModel (IComponentAssignmentModel) - HibernateListModel (database oriented model that returns a list of items from the db, unsorted). Perhaps I didn't get the explanation but why can't you wrap

Re: packaging images/css in a jar?

2007-11-08 Thread mfs
Actually it does work when the image is in the same directory as that of the page (same with the example u pointed out)..how would i refer to an image which is altogether is a different structure... lets say my page is at org.xyz.util [page.html] and from within it i want to refer to an image

Re: Component.wrap and IChainingModel

2007-11-08 Thread ChuckDeal
Johan Compagner wrote: SortingModel (IChainingModel) - AppendingListModel (IComponentAssignmentModel) - HibernateListModel (database oriented model that returns a list of items from the db, unsorted). So the sorting model is the outside one that you give to the component But if

Re: packaging images/css in a jar?

2007-11-08 Thread Eelco Hillenius
Anyways actually i dont have a webapp directory and dont want to have that in my jar project...just want the .class files and the images (and may be css)..both residing it a different folders structure... basically below is the resulting jar structure i have and would want to keep

Re: Form: onSubmit not called

2007-11-08 Thread Eelco Hillenius
Although it was my own fault hands down (silly me didn't write a test first) I'm thinking that I could have saved hours with some sort of indication... now that its happened once the lesson is pretty clear, but a lot of people are going to stumble over stuff like that when they first get into

RE: Attempted summary of multiple wicket:child / thread

2007-11-08 Thread Chris Colman
That is what I'd suggest as well, since it involves the least amount of change. As an added bonus, if no id's are added and 2 wicket:child sections are used, it could throw an exception (which it currently does not do, it just silently ignores the second wicket:child). That would be magic!

Re: How To Change Page Store Size in DiskPageStore?

2007-11-08 Thread Chris Lintz
Ok here is a bit more clarity after digging further. Timed out sessions do trigger a removal of the of the PageStore file. However if Tomcat is restarted there is no cleanup of the PageStore files on disk. In other words the Page Store will leak those cache files and never clean them up.

Re: How To Change Page Store Size in DiskPageStore?

2007-11-08 Thread Eelco Hillenius
Ok here is a bit more clarity after digging further. Timed out sessions do trigger a removal of the of the PageStore file. However if Tomcat is restarted there is no cleanup of the PageStore files on disk. In other words the Page Store will leak those cache files and never clean them up.

Re: How To Change Page Store Size in DiskPageStore?

2007-11-08 Thread Johan Compagner
1) Shall we file a Jira for a enhancement to the DiskPageStore which would be a cleanup of any dangling cache files not part of the current DiskPageStore instance? and which are dangling?? How do you know that? If i stop tomcat (even in development mode) and i restart again nothing is

Re: How To Change Page Store Size in DiskPageStore?

2007-11-08 Thread Eelco Hillenius
On Nov 8, 2007 3:09 PM, Johan Compagner [EMAIL PROTECTED] wrote: 1) Shall we file a Jira for a enhancement to the DiskPageStore which would be a cleanup of any dangling cache files not part of the current DiskPageStore instance? and which are dangling?? How do you know that? If i

Re: How To Change Page Store Size in DiskPageStore?

2007-11-08 Thread Johan Compagner
And from top of my head there is no api to get all the current session id's from an instance when the instance does start up.. But we could ditch ALL the directories it can find in the temp directory the page store uses when starting up, right? No we can't do that, If you as you

Re: How To Change Page Store Size in DiskPageStore?

2007-11-08 Thread Matej Knopp
We could read the session timeout from web.xml and delete what is older. But should we really do that? When session timeouts, the data is deleted anyway. These dangling files seem to be a caused by something else. -Matej Not a high priority thing for me tbh, but I think it can be done.

Re: How To Change Page Store Size in DiskPageStore?

2007-11-08 Thread Eelco Hillenius
On Nov 8, 2007 3:29 PM, Matej Knopp [EMAIL PROTECTED] wrote: We could read the session timeout from web.xml and delete what is older. But should we really do that? When session timeouts, the data is deleted anyway. These dangling files seem to be a caused by something else. If the sessions

Re: How To Change Page Store Size in DiskPageStore?

2007-11-08 Thread Johan Compagner
except if you hard kill the servlet container or if the container crashes.. Then with a restart everything is completely new and all the old onces will stick for ever.. johan On Nov 9, 2007 12:32 AM, Eelco Hillenius [EMAIL PROTECTED] wrote: On Nov 8, 2007 3:29 PM, Matej Knopp [EMAIL

Re: Is it possible to get AjaxLink stateless?

2007-11-08 Thread Chris Lintz
Ok that makes sense. To me i can chalk this up as one thing in the framework that would be a real joy to fix - that being having AjaxLink or other related Ajax components stateless. I think its a real down fall that sessions are created (and hence Page store cache files) for an Ajax link. On

Re: facebook support

2007-11-08 Thread Kent Tong
Matt Jensen-2 wrote: I am working on this, though I'm trying to leave the door open to also supporting MySpace in the future. I have not done much yet--and nothing Wicket-specific--but I do plan to include a Wicket module. Have you considered Google's OpenSocial API? - -- Kent

Re: facebook support

2007-11-08 Thread Matt Jensen
Wasn't aware of its existence. If it is relatively feature rich and integrates well with Java...it's possible that it could save me a lot of work. Always a good thing! I'll check it out. --Matt Kent Tong wrote: Matt Jensen-2 wrote: I am working on this, though I'm trying to leave the

Re: Form: onSubmit not called

2007-11-08 Thread Brill Pappin
Done: https://issues.apache.org/jira/browse/WICKET-1138 - Brill Eelco Hillenius wrote: Yeah. If you can open up a JIRA issue for it, we can think/ discuss what we could do here. -- View this message in context:

Can wicket handle events generated from javascript created?

2007-11-08 Thread dd du
Hi, all, I am new to wicket, I have a question about calling javascript from wicket, suppose I create a page from wicket, from this page I click a button, which wicket will call a javascript function, this function will create a dialog window with fancy GUI controls, from these controls, if I

Page Expired issue

2007-11-08 Thread Joshua Jackson
Dear all, What is the workaround so my request is not expired? I got this exception when clicking the Link component not long after the application is loaded: -- Page Expired The page you requested has expired. Return to home page --- This apps is deployed on IBM WAS 5.1 and I already set my

Re: Can wicket handle events generated from javascript created?

2007-11-08 Thread Igor Vaynberg
there is no magic here. look at how Link#getURL() works - it generates a url that invokes onLinkClicked on that Link component. you can use much the same mechanism and pass that url to your javascript. -igor On Nov 8, 2007 8:22 PM, dd du [EMAIL PROTECTED] wrote: Hi, all, I am new to wicket, I

Re: Page Expired issue

2007-11-08 Thread Igor Vaynberg
extend your webapp's session timeout? -igor On Nov 8, 2007 9:23 PM, Joshua Jackson [EMAIL PROTECTED] wrote: Dear all, What is the workaround so my request is not expired? I got this exception when clicking the Link component not long after the application is loaded: -- Page Expired

How Wicket Ajax?

2007-11-08 Thread Pen
We are using the Wicket as our MVC framework. I have read wicket has a very good Ajax support . I am newbie. Does anybody know how to use it with jquery and json with wicket. Here is an example Jquery grid example and json, but the server side code is in PHP, how to do it in wicket

  1   2   >