Re: Generic component placeholder

2008-06-19 Thread Matthijs Wensveen
With Panel you know you always have the right markup so that is good. The disadvantage is that you'd then have to write panels for everything the ComponentFactory should be able to produce. Maybe you could always return a container that overrides onComponentTag and set the tag's name

Re: Modal Window question

2008-06-19 Thread Matthijs Wensveen
Hmm, that's a hard one, because you have a requestTarget that does not even look at the modal window (I think). A solution (albeit a bit hacky) is to set some parameter in the session. Then, add an AbstractAjaxTimerBehaviour to the modal window that checks for the session parameter in onTimer

Re: Modal Window question

2008-06-19 Thread Igor Vaynberg
why not just spit out some javascript that opens the results window to some bookmarkable url? -igor On Wed, Jun 18, 2008 at 11:06 PM, Matthijs Wensveen [EMAIL PROTECTED] wrote: Hmm, that's a hard one, because you have a requestTarget that does not even look at the modal window (I think). A

Re: Modal Window question

2008-06-19 Thread mfs
well i dont think that will work, the onSubmit is called on the new browser Window, now if i make my form to be an ajaxForm doing a model.close(ajaxtarget) wouldnt work, since the control is a seperate window now...i hope i am making sense... So basically here is what i will be doing if i make

Re: Modal Window question

2008-06-19 Thread mfs
that i did try out and it does work, where i do a ajaxRequestTarget.appendJavaScript(window.open(externalURL)), but the part i dont like is in this scenario is that the popup blockers dive in, since the window.open is not a result of a click, and i dont want that to happen.. I want to work out a

Re: Modal Window question

2008-06-19 Thread mfs
That is certainly an option, but i dont like the idea of the timer, since there could be scenarios where the user does the form submission (resulting in a new window), and lets say i set the timer to 2 seconds, now in case the user decides to close the new browser window rightaway, and comes back

StringBufferResourceStream character encoding question

2008-06-19 Thread Dreamltf
Hi all I found a encoding question in the StringResourceStream, but it works fine when I use the DynamicWebResource -StringResourceStream- @Override protected void init() { super.init(); this.getMarkupSettings().setCompressWhitespace(true);

Re: Modal Window question

2008-06-19 Thread Nino Saturnino Martinez Vazquez Wael
Yes, that were what I was talking about. But why do you open a new browser window? mfs wrote: well i dont think that will work, the onSubmit is called on the new browser Window, now if i make my form to be an ajaxForm doing a model.close(ajaxtarget) wouldnt work, since the control is a

Re: Junit Wicket tests in Wasp/Swarm environment

2008-06-19 Thread Andrea Jahn
Hi, Sorry, if this is a stupid Java question: But how can I call SwarmWebApplication.init() without calling MyApplication.init() ? Thanks Andrea public class MyWicketTester extends WicketTester { public MyWicketTester(final ApplicationContextMock appctx) { super(new MyApplication() {

Re: Modal Window question

2008-06-19 Thread mfs
Well its just a requirement where the results are to be shown up in a new browser window, where a wizard (part of external application) is launched...with that let me add that if need be i can opt for using a link/ajax-link too, but i think the problem would still persist... I didnt think its

Regarding Loacale

2008-06-19 Thread Eyal Golan
Hi, I want to show my team mates the greatness of using wicket localization feature. We are working on Microsoft Windows XP. I put a System.out.println(getLocale()); in one of my components. I have changed in my computer from EN to FR (for example). But the print is always en_US. I know it's not a

Re: Junit Wicket tests in Wasp/Swarm environment

2008-06-19 Thread Maurice Marrink
In the above code you are showing 2 different codes for MyApplication, both override the init method. one of them calls super.init the other does not. your init should look like this: protected void init() { super.init(); addComponentInstantiationListener(new

Re: Modal Window question

2008-06-19 Thread mfs
Isn't there a way to call the appropriate javascript which does the modal-close.. mfs wrote: Guys, I am posting this question yet again, hoping to get some feedback... The problem is regarding modal windows, as to how close it, when a form (within it) is submitted in a new window.

Re: Regarding Loacale

2008-06-19 Thread Maurice Marrink
Isn't the browser sending out a locale different from the os locale? Check your browser it should have some options for a preferred language or locale. Maurice On Thu, Jun 19, 2008 at 9:02 AM, Eyal Golan [EMAIL PROTECTED] wrote: Hi, I want to show my team mates the greatness of using wicket

Breadcrumbs and Pages

2008-06-19 Thread Eyal Golan
Hi, We have pages in our web application (naturally). We have a special XML structure that represents the Pages' hierarchies. According to this we create Links. Each Link has setResponsePage(...) to a page. Regarding Bread crumbs. I looked into the examples and the source code itself and couldn't

Re: Modal Window question

2008-06-19 Thread mfs
and also for some odd reason, spitting out a window.open through ajaxtarget.appendjavascript() thought (in the ajaxform.onSubmit) works fine in IE and Mozilla but doesn't on Safari, am not sure why that is, may be safari doesnt allow popup onload (which i dont think is the case) or something

Re: idea: automatic component repo

2008-06-19 Thread Jonathan Locke
was thinking the same thing and would be the icing on the cake. website never shuts down... crawler adds components and the demos just appear on the site automagically via OSGi. mebbe we need cheeser's transparent OSGi first though? brian.diekelman wrote: Jonathan Locke wrote: -

Re: Regarding Loacale

2008-06-19 Thread Eyal Golan
I checked in IE7 and FF as well. Couldn't find anything. What I DID find is that I reach to Session.getLocale(). So, Is there a way to configure our Session to return the Locale from the system? thanks On Thu, Jun 19, 2008 at 10:34 AM, Maurice Marrink [EMAIL PROTECTED] wrote: Isn't the

Re: idea: automatic component repo

2008-06-19 Thread Jonathan Locke
this sort of marketplace might give JSF's claim to have lots of prefab components a real run for the money... i think with some effort, we could do this in a few weeks... Jonathan Locke wrote: was thinking the same thing and would be the icing on the cake. website never shuts down...

Re: idea: automatic component repo

2008-06-19 Thread Daniel Frisk
A friend of mine has a motto Appearence is everything. If this component marketplace also get a reasonably sexy frontend it could be a real winner. We have developed a kind of Theme marketplace for our photo album software but since we are tech guys we suitably named it Skin repository

Re: Localizer cache with 150.000+ entries causing OutOfMemory

2008-06-19 Thread Quan Zhou
I've met the same problem several days away and resovled it by override a method of Localizer see: http://www.nabble.com/Why-Localizer-Retained-so-many-heapsize--to17142582.html#a17182935 that may help you a little. 2008/6/9 Stefan Fußenegger [EMAIL PROTECTED]: I am just analysing a heap

Re: Regarding Loacale

2008-06-19 Thread Meindert Deen
To setup the locale in your brower: In FF (v2) use: (menu)Edit-(option)Preferences-(tab)Advanced-(Area)Languages-(button)Choose In IE (v7) use: Internet Options-(button) Languages On Thu, Jun 19, 2008 at 10:16 AM, Eyal Golan [EMAIL PROTECTED] wrote: I checked in IE7 and FF as well. Couldn't

Re: Localizer cache with 150.000+ entries causing OutOfMemory

2008-06-19 Thread Stefan Fußenegger
Hi, According to https://issues.apache.org/jira/browse/WICKET-1667 this issue will be fixed in Wicket 1.3.4 and 1.4-M3 respectively. I already put the patch into production and it works. Thanks to Igor! Regards, Stefan Heart wrote: I've met the same problem several days away and resovled

Re: Modal Window question

2008-06-19 Thread Matthijs Wensveen
The javascript to close the ModalWindow is returned by a private method of ModalWindow: /** * @return javascript that closes current modal window */ private static String getCloseJavacript() { return var win;\n // + try {\n + win =

Re: Regarding Loacale

2008-06-19 Thread Eyal Golan
OK thanks, i found it :) But now I have something else that is not working. When I start my application after I set the language to fr_CH for example, then the Locale is really fr_CH. When I, on the fly, change the language to something else (de_CH), the Locale in my application is not changed.

Re: Junit Wicket tests in Wasp/Swarm environment

2008-06-19 Thread Andrea Jahn
My initial problem was, that I have different application contexts in the test environment and in the Web application and therefore different calls of addComponentInstantiationListener. In my test environment I have a ApplicationContextMock, which I have to add as second parameter:

Re: ModalWindow with internal ModalWindow problem

2008-06-19 Thread Nino Saturnino Martinez Vazquez Wael
Hi Marieke Your war file does not deploy/startup, atleast on tomcat, could you do the same using the quickstart archetype, it should take you 2 mins doing that(and give me something that I can look at in eclipse without too much hassle)? I know Im being lazy but, thats the benefit of being

Re: ModalWindow with internal ModalWindow problem

2008-06-19 Thread Marieke Vandamme
Hello, Okay, second try.. I made my war again and tested it myself in tomcat 6. It seems to work, so I put it on the server again and hope it works for you too.. I also created a zip with my sources and libraries that you can use in eclipse : http://www.driespannenkoeken.be/src.zip If that's

Wicket in an existing jaas-app

2008-06-19 Thread Jesper Åkesson
Hello! I have a webapplication built on JavaEE, servlets and jsp. Jaas is used for security. The plan is to use Wicket but it will be done little by little. Login is done by the originalapp and the wicket pages will be behind the loginpage. How do I let wicket now about the logged in users

Re: ModalWindow with internal ModalWindow problem

2008-06-19 Thread Nino Saturnino Martinez Vazquez Wael
Hmm, okay I went ahead and created a maven project with a pom. For minimal setup. Using wicket 1.4-snapshot. And it are working, which browser are you using, im using FF2 and safari3.. However this are using wicket 1.4-snapshot(from wicketstuff repo) can you try to use that and see it the

How can i use template in wickets

2008-06-19 Thread Sushant
I want to build a template page and extend it to all my other pages. How can i do that. Help Please. -- View this message in context: http://www.nabble.com/How-can-i-use-template-in-wickets-tp18006702p18006702.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: ModalWindow with internal ModalWindow problem

2008-06-19 Thread Marieke Vandamme
Are you sure? The version I'm using is 1.4m2, so I don't think so much has changed. Did you do the following steps and have the list filled the second time? : 1- click 'Open Head Modal Window' 2- click 'Open Inner Modal Window' 3- close the modalwindow with 'When closing this window a date will

Send file from external page to wicket

2008-06-19 Thread Vit Rozkovec
Hallo, I have an applet, which is run on users computer. In this applet I scan some photo and describe it. I would like to send this foto along with the data to a wicket application. How should I do that? I thought of setting the form action parameter in the external non-wicket page to point

Re: ModalWindow with internal ModalWindow problem

2008-06-19 Thread Nino Saturnino Martinez Vazquez Wael
Ahh, I did steps 1,2,3,2,3,2,4 Problem appears as you write. Somethings seem to get out of synch. And it does seem that there are something that are inconsistant, 10 mins and i'll see if I can hack something up that works. Or if it's a true bug. Marieke Vandamme wrote: Are you sure? The

Re: How can i use template in wickets

2008-06-19 Thread jWeekend
Sushant, Wicket makes providing a common look for pages very easy, providing you with a neat technique called http://wicket.apache.org/examplemarkupinheritance.html markup inheritance . If you prefer composition, look into using http://cwiki.apache.org/WICKET/panel.html Panel s and/or

Re: ModalWindow with internal ModalWindow problem

2008-06-19 Thread Nino Saturnino Martinez Vazquez Wael
Hmm seems to be something very wierd. I've debugged it(changed your source a bit so that the main page now gives the arraylist as a model to the headmodal), and it does not seem to maintain state somehow. So head modal gets an empty list on click 1 and then at click 3 it's suddenly there again

Re: ModalWindow with internal ModalWindow problem

2008-06-19 Thread Nino Saturnino Martinez Vazquez Wael
Got it working, I believe there are an issue. Somehow the model on the modal window invoking page are not being updated. If I create a final page and pass that into the PageCreator it seems to work. But im still a little curious about why it seems that the main page's model aren't updated,

Re: Problem with error message and refreshingView

2008-06-19 Thread Fabien D.
I find a solution but I supose that it's not the best. I put between the simple and the name the Id of the row (the number of rows of my refreshingView is not fixed :( ) form.simple.1.name.Required = -- View this message in context:

CheckBoxMultipleChoice, Palette - onchange

2008-06-19 Thread Fabien D.
Hi everybody, There is someone who can tell me how to change the model of selected items for these similar objects? Because it's possible to change the model of items with setChoices(IModel m) or setChoices(List l) but there is not setSelectedChoices(IModel m) Thank you for your

Static text and condition

2008-06-19 Thread Goran Novak
Hi, What is the best (wicket) way to do the next: I have one page which has to show few sentences (static text), but the sentences are different according to the input data. For example if input to the page constructor is: Page(input1 = 0, input2 = 0, inpu3 = 0) Page has to show these three

Re: compilation question

2008-06-19 Thread James Carman
Well, it would have helped to run it twice and only send the results of the second run (you wouldn't have seen those dowloading messages). Anyway, it looks like wicket-extensions is on your classpath (listed as a dependency with compile scope), so everything should be okay. Do a jar tf on that

Re: ModalWindow with internal ModalWindow problem

2008-06-19 Thread Marieke Vandamme
That's nice. Our company's surfing control blocks the site :-) I'll try to download it at home. I don't think the problems happen because it's the homepage. In my original project, the page wasn't the homepage and the problem was the same. I debugged the project a couple of times and also

Re: CheckBoxMultipleChoice, Palette - onchange

2008-06-19 Thread Fabien D.
I find the solution, I create a new object with a new model for selected items, and i do a form.replace(Component c) -- View this message in context: http://www.nabble.com/CheckBoxMultipleChoice%2C-Palette--%3E-%22onchange%22-tp18008412p18009282.html Sent from the Wicket - User mailing list

Re: ModalWindow with internal ModalWindow problem

2008-06-19 Thread Nino Saturnino Martinez Vazquez Wael
Marieke Vandamme wrote: That's nice. Our company's surfing control blocks the site :-) I'll try to download it at home. I don't think the problems happen because it's the homepage. Could just be a problem in what I've done then... In my original project, the page wasn't the homepage and

Re: How can i use template in wickets

2008-06-19 Thread Brill Pappin
The short answer is RTFM. See: http://cwiki.apache.org/WICKET/reference-library.html There are several ways, but the one I like most is Markup inheritance. See: http://cwiki.apache.org/WICKET/markup-inheritance.html ... but, I also use panels extensively. - Brill Pappin On 19-Jun-08, at

Re: Breadcrumbs and Pages

2008-06-19 Thread Igor Vaynberg
why wouldnt it be possible? just roll your own breadcrumbs component. -igor On Thu, Jun 19, 2008 at 12:34 AM, Eyal Golan [EMAIL PROTECTED] wrote: Hi, We have pages in our web application (naturally). We have a special XML structure that represents the Pages' hierarchies. According to this we

Re: Static text and condition

2008-06-19 Thread Igor Vaynberg
just give labels a model that can figure out which sentence to show. if you want them stored in .properties files that is fine too. -igor On Thu, Jun 19, 2008 at 6:18 AM, Goran Novak [EMAIL PROTECTED] wrote: Hi, What is the best (wicket) way to do the next: I have one page which has to

How to indicate dependency on a .war file?

2008-06-19 Thread Frank Silbermann
I have a question about packaging. I have two Wicket web applications that display data for two different corporate areas, but the look-and-feel are similar. Therefore, I coded in Wicket a tool project consisting of a bunch of higher-level problem-specific components that my two projects should

Re: Page Expired with ModalWindow

2008-06-19 Thread Daniel Wu
I'm trying to open a new modal dialog, which is called from the modalWindow.setWindowClosedCallback() of the first dialog. The first dialog is being closed but the new one is not being opened. Does anyone know how to open a second modal dialog when you click a AjaxLink of the first dialog, which

Re: How to indicate dependency on a .war file?

2008-06-19 Thread Brill Pappin
Look up war overlay in the maven-war-plugin that will give you some useful information on what you want to do beyond your original questions. as for dep types. A war can be depended upon just like a jar (or anything else for that matter) you simply specify the type: dependency

Re: How to indicate dependency on a .war file?

2008-06-19 Thread John Krasnay
You can't AFAIK. A WAR file is not a JAR file, e.g. the contained classfiles are under WEB-INF/classes, not the root. You're shared component should be a JAR project instead of a WAR project. Just remember to mount your test page in each app in which you use it. jk On Thu, Jun 19, 2008 at

Re: How to indicate dependency on a .war file?

2008-06-19 Thread John Krasnay
On Thu, Jun 19, 2008 at 11:09:57AM -0400, Brill Pappin wrote: Look up war overlay in the maven-war-plugin that will give you some useful information on what you want to do beyond your original questions. as for dep types. A war can be depended upon just like a jar (or anything else for

update table with ajax

2008-06-19 Thread Manuel Corrales
Hi, i have an input and a link. The link is an ajax link, and then i want to update a table on the same page according to the input. final DataView table = new DataView(table, new ListDataProvider(Collections.EMPTY_LIST)) { public void populateItem(final Item item) {

Re: update table with ajax

2008-06-19 Thread Nino Saturnino Martinez Vazquez Wael
You got to wrap it in a markupcontainer, and add that instead.. theres something on the wiki about this... http://cwiki.apache.org/WICKET/how-to-repaint-a-listview-via-ajax.html Manuel Corrales wrote: Hi, i have an input and a link. The link is an ajax link, and then i want to update a table

Re: update table with ajax

2008-06-19 Thread wicket user
add the DataTable in a WebmarkupContainer and repaint the container cheers dipu On Thu, Jun 19, 2008 at 4:27 PM, Manuel Corrales [EMAIL PROTECTED] wrote: Hi, i have an input and a link. The link is an ajax link, and then i want to update a table on the same page according to the input.

Re: update table with ajax

2008-06-19 Thread Manuel Corrales
Fantastic !! Thanks very much. On Thu, Jun 19, 2008 at 12:33 PM, wicket user [EMAIL PROTECTED] wrote: add the DataTable in a WebmarkupContainer and repaint the container cheers dipu On Thu, Jun 19, 2008 at 4:27 PM, Manuel Corrales [EMAIL PROTECTED] wrote: Hi, i have an input and a

Re: How to indicate dependency on a .war file?

2008-06-19 Thread Brill Pappin
chuckle I've used a few convoluted ways of doing it including a combination of the dependency plugin to get the war dep and the antrun plugin to extract it, but the war overlay (which I only discovered a few months ago) is a much nicer way of doing it :) - Brill Pappin On 19-Jun-08,

RE: How to indicate dependency on a .war file?

2008-06-19 Thread Frank Silbermann
That satisfies Maven, thanks! I'm not looking to add any resources or pages from the dependency, just the java classes and HTML files, so I don't think I need the war overlay feature. But now I have another problem. For debugging in eclipse, how do I tell Eclipse about this dependency? When I

Re: How to indicate dependency on a .war file?

2008-06-19 Thread Brill Pappin
if you need to do that, then John was right, package it as a JAR file. In your case you presumably don't need all the webapp metadata that usually goes along with a war. However, it still might be worth using the overlay feature because it means you can easily run the separate wars for

RE: How to indicate dependency on a .war file?

2008-06-19 Thread Frank Silbermann
OK, so I need to package my dependency as a JAR file because I need to add it to my classpath in Eclipse. I am not sure how the war overlay tool will help me; it seems to be used for getting resources out of a .war file, and we've concluded that I need a JAR file, right? Is there an easy way to

How to insert childs to a tree with Ajax

2008-06-19 Thread Kai Schubert-Altmann
Hi, I'm using an extendet wicket tree with an own tree model. I want to insert child into the tree and want to update the tree with Ajax, but nothing worked for me. I tried invalidateAll() and updateTree(). What can i do to insert the childs with Ajax? Kai /*

Re: How to indicate dependency on a .war file?

2008-06-19 Thread John Krasnay
On Thu, Jun 19, 2008 at 11:22:03AM -0500, Frank Silbermann wrote: OK, so I need to package my dependency as a JAR file because I need to add it to my classpath in Eclipse. I am not sure how the war overlay tool will help me; it seems to be used for getting resources out of a .war file, and

Re: How to indicate dependency on a .war file?

2008-06-19 Thread Brill Pappin
overlay takes two war files and merges them. so whatever classes and resources you have in one will be included in the other. The reason to use a war instead of a jar is if you want to be able to run that common war in its own (for dev and debug) - Brill Pappin On 19-Jun-08, at 12:22

RE: Grabbing a form component's input before the form has been submitted

2008-06-19 Thread Michael Mehrle
I tried that - the onUpdate() method is being called as soon as the field is being populated with a date. The onError() method is being called as well when invalid input is entered (e.g. 'foo'). This must be something simple - I mean grabbing a field's input is the underlying mechanism allowing

RE: Grabbing a form component's input before the form has been submitted

2008-06-19 Thread Michael Mehrle
Okay, I fixed it - by accident I realized that the field started populating AFTER I first entered some erroneous data, and then a real date. Changing the JS even from BLUR to CHANGE fixed the issue. It was simply an event based timing problem. Works like a charm now. Thanks for the help, Igor -

help with ajax behavior

2008-06-19 Thread francisco treacy
hi! a few days ago i posted a NicEditTextAreaBehavior. thanks to some exchange with another wicketer, we managed to get a working version. in order to use it and post an updated version of the field contents (hence correctly updating the underlying Model), nicEdit textarea requires the user to

Change to PageParameters?

2008-06-19 Thread Frank Silbermann
In my Wicket 1.2 application I used PageParameters like a simple HashMap, calling: pageParameters.put(keyString, valueString) and String s = (String) pageParameters.get(keyString) After upgrading to Wicket 1.3 the GET is causing a ClassCastException: [Ljava.lang.String; cannot be cast to

Re: Change to PageParameters?

2008-06-19 Thread Brill Pappin
not sure about what the javadocs say, but that exception says your casting a string array to a string. What your doing is: String[] x = {value1,value2}; String y = (String)x; - Brill Pappin On 19-Jun-08, at 3:29 PM, Frank Silbermann wrote: In my Wicket 1.2 application I used

[Newbie]Session lost in an AjaxFallbackLink onClick()

2008-06-19 Thread A nono life
Hi, When in an AjaxFallbackLink's onClick(), the object I retrieve from my session is null, even if in my form constructor the object was properly retrieved : public CreatureForm(String id, HibernateObjectModel object ) { super(id, object); Creature sessionCreature = ((DemoUser)

Re: Inheritance inside a Container

2008-06-19 Thread smallufo
Hello , I had exactly the same problem , and solved by searching to this post. Thanks a lot. BUT , today , I have another problem... Today , the ChildPanel can accept a new parameter : boolean defaultVisible if true , the content will be shown; if false , the content will be invisible , only the

Re: Change to PageParameters?

2008-06-19 Thread Igor Vaynberg
in 1.3 pageparameters properly support string[] arrays like httpservletrequest. you should use pageparameters.getstring(keystring); -igor On Thu, Jun 19, 2008 at 12:29 PM, Frank Silbermann [EMAIL PROTECTED] wrote: In my Wicket 1.2 application I used PageParameters like a simple HashMap,

Re: Wicket in an existing jaas-app

2008-06-19 Thread Maurice Marrink
Take a look at swarm, it has a jaas history. It should be dead simple to port it back to jaas again. http://wicketstuff.org/confluence/display/STUFFWIKI/Wicket-Security Maurice On Thu, Jun 19, 2008 at 12:10 PM, Jesper Åkesson [EMAIL PROTECTED] wrote: Hello! I have a webapplication built on

Re: Two gmap2 applications

2008-06-19 Thread smallufo
The two applications are presented in Google Developers Day 2008 in Taipei 2008/6/17 smallufo [EMAIL PROTECTED]: FYI... http://destiny.xfiles.to/app/calendar/StarTrans http://destiny.xfiles.to/app/LuckyMap BR

Re: wicket servlet mapping to subdirectory

2008-06-19 Thread Gwyn Evans
When you say I always get redirected to the root of the webapp, do you mean when first trying to access your app, you have to go via a redirect or some such that takes you to http://www.mysite.com/; or similar? The 'traditional' trick was to have an index.html that redirected to app/ as below -

Re: Inheritance inside a Container

2008-06-19 Thread Maurice Marrink
What wicket version are you on? There was a bug about this but is has long been fixed. https://issues.apache.org/jira/browse/WICKET-1095 Maurice On Thu, Jun 19, 2008 at 9:40 PM, smallufo [EMAIL PROTECTED] wrote: Hello , I had exactly the same problem , and solved by searching to this post.

Re: wicket servlet mapping to subdirectory

2008-06-19 Thread Mattom
Hi ! No, sorry, maybe i was not precise enough, when i have the /app/* mapping, i can access my HomePage directly, but all links from the HomePage as well as the style sheet link and some image links (all within wicket:link) don't work, as the /app/ part is missing. The only images working are

Re: Inheritance inside a Container

2008-06-19 Thread smallufo
Hi... I am using 1.3.3 2008/6/20 Maurice Marrink [EMAIL PROTECTED]: What wicket version are you on? There was a bug about this but is has long been fixed. https://issues.apache.org/jira/browse/WICKET-1095 Maurice On Thu, Jun 19, 2008 at 9:40 PM, smallufo [EMAIL PROTECTED] wrote: Hello ,

Re: Inheritance inside a Container

2008-06-19 Thread smallufo
Well , let me describe more detail When the user enters the page , he can successfully show/hide the content (ChildPanel) without problems. The state is stored in wicket's session. If the ChildPanel is open(expand/show) , and he reloads the page , everything works fine. BUT... If he close

Re: Inheritance inside a Container

2008-06-19 Thread smallufo
I tried to pull up the boolean defaultVisible parameter to the ParentPanel , but still the same error public abstract class AbstractPullDownPanel extends Panel { private final WebMarkupContainer content; public AbstractPullDownPanel(String id , String title , final boolean

Re: Two gmap2 applications

2008-06-19 Thread Martin Funk
smallufo wrote: The two applications are presented in Google Developers Day 2008 in Taipei 2008/6/17 smallufo [EMAIL PROTECTED]: FYI... http://destiny.xfiles.to/app/calendar/StarTrans http://destiny.xfiles.to/app/LuckyMap BR ok, I got to admit I didn't check the apps

Session end method

2008-06-19 Thread Eyal Golan
Hello, Is there a method in Session that is called when the Session is ended? Ended = user logs out (invalidate) or time-out (or anything else that can do that) My goal is to keep some information in the session and persist it when the session terminates. Is it legal to create a Thread (as a

Re: Session end method

2008-06-19 Thread Igor Vaynberg
according to the servlet spec by the time you get session invalidation notification you can no longer access session attributes in the invalidated session so you cannot store information like this in session itself. instead you need some sort of map:session-info, but then you have to cluster that

Re: Modal Window question

2008-06-19 Thread mfs
Exactly what i needed...thanks a lot man..i should have looked into the source code myself..my bad.. Matthijs Wensveen-2 wrote: The javascript to close the ModalWindow is returned by a private method of ModalWindow: /** * @return javascript that closes current modal window

Re: Two gmap2 applications

2008-06-19 Thread smallufo
2008/6/20 Martin Funk [EMAIL PROTECTED]: smallufo wrote: The two applications are presented in Google Developers Day 2008 in Taipei 2008/6/17 smallufo [EMAIL PROTECTED]: FYI... http://destiny.xfiles.to/app/calendar/StarTrans http://destiny.xfiles.to/app/LuckyMap BR ok, I got