Re: page reload

2008-04-14 Thread Milan Křápek
Hi, I am still stack on this problem. It seems that page refresh does not help. I try to add javascript command window.refresh and window.reload but this does not wokr too. Only thing that helps is new call of this page constructor. (I add some refrsh link, that generates the new page)

OutOfMemoryError when deploying (only)

2008-04-14 Thread Anders Peterson
Hi, I've got a problem when deploying my wicket application. I deploy to Tomcat 5.5 on Linux. The problem is that I get an OutOfMemoryError when viewing one particular page. I can go straight from starting Tomcat to accessing that page and get the error - there is no history. That kind of

Pass Model to ModalWindow

2008-04-14 Thread Milan Křápek
Hi, please how can I pass the model to the modal window. I have my form in modal window and I want to show there some default vaules that can be changed. But I am not able to pass the model to the window. In constructor there is not any parameter for model. I try to do this:

Re: OutOfMemoryError when deploying (only)

2008-04-14 Thread Anders Peterson
Problem seems to be fixed... I was building/deploying my application using wicket 1.3.3. Tomcat on the deployment server had wicket-examples-1.3.0 installed. When I removed that the problem disappeared. /Anders Anders Peterson wrote: Hi, I've got a problem when deploying my wicket

Re: page reload

2008-04-14 Thread Maurice Marrink
In navigationBorder.add(new MyList(myList, databaseManager.loadAndGetGroups())); databaseManager.loadAndGetGroups() should return a reloading model like LoadableDetachableModel which in the load method always goes to the database I assume that right now it simply returns a list or a non reloading

Re: Pass Model to ModalWindow

2008-04-14 Thread Maurice Marrink
If you subclass ModalWindow you can add any constructor argument you like. alternatively you can set the modal on the component/page you use as content. That being said there is no reason why setModel followed by a getModel should throw a nullpointer. are you sure you are not accidentally invoking

Re: Pass Model to ModalWindow

2008-04-14 Thread Nino Saturnino Martinez Vazquez Wael
I do it like this: AjaxLink popupLink = new AjaxLink(manageWeightPop) { @Override public void onClick(AjaxRequestTarget target) { modalWindow.setContent(new ManageWeightPanel(modalWindow .getContentId(), modalWindow, new BaseEntityDetachableModel(getPerson(; modalWindow.show(target); } };

Re: OutOfMemoryError when deploying (only)

2008-04-14 Thread Martijn Dashorst
seems like a permgen space issue On 4/14/08, Anders Peterson [EMAIL PROTECTED] wrote: Problem seems to be fixed... I was building/deploying my application using wicket 1.3.3. Tomcat on the deployment server had wicket-examples-1.3.0 installed. When I removed that the problem disappeared.

AjaxLink doesn't work for Wicket 1.3.3 ?

2008-04-14 Thread Tomasz Prus
I have AjaxLink which works good in Wicket 1.3.2 but doens't work whe i change version to 1.3.3. package pl.mainseek.car.wicket.components; import java.util.Arrays; import java.util.List; import org.apache.wicket.PageParameters; import org.apache.wicket.ajax.AjaxRequestTarget; import

RE: Using a static image map

2008-04-14 Thread Martijn C. Vos
Cristina wrote: Hello, I've defined a simple HTML image map from a business process diagram: div class=image-place !-- img and usemap definition here... -- map name=basic-process-500x375 area shape=rect coords=8,136,71,178 href=Module01.html title=Subprocess

[announce] WUG(Wicket User Group) becomes WUGI at Øredev?

2008-04-14 Thread Nino Saturnino Martinez Vazquez Wael
Hi Im dabling with making a Wicket user group meetup at Øredev, since øredev attracts people from all over it means that the WUG would become International, hence WUGI. And I do think we getting Martijn Dashorst todo the keynote for opening the WUGI. It will be a conference within a

CompoundPropertyModel need to track changes

2008-04-14 Thread Karen Schaper
Hi, I am using a CompoundPropertyModel. CompoundPropertyModel personModel = new CompoundPropertyModel( person ); Form_editForm= new EditPersonForm( editForm, personModel ) ; Upon submitting the form, I thought that the setter methods would be called on

Re: Pass Model to ModalWindow

2008-04-14 Thread Milan Křápek
Thanks a lot, the constructor way wokrs fine. And I you were right in the other thing too. I set the model before I add the modal window, but after I create the content :o) Sorry for this dummy mistake. Milan - To

Re: Removing the jsessionid for SEO

2008-04-14 Thread Rüdiger Schulz
Hello everybody, I just want to add my 2 cents to this discussion. At IndyPhone we too wanted to get rid of jesessionid-URLs in google's index. Yeah, it would be nice if the google bot would be as clever as the one from yahoo, and just remove them himself. But he doesn't. So I implemented a

Localization, Bookmarkable pages, and mounting strategies

2008-04-14 Thread Sebastiaan van Erk
Hi, I have localized my Wicket site, but I have a problem with localization + (mounted) bookmarkable pages. When mounting a bookmarkable page: mount(new WhateverUrlCodingStrategy(/mypage, MyPage.class)); there is no locale parameter... This means: 1) I cannot give my

DynamicWebResource filename

2008-04-14 Thread Sebastiaan van Erk
Hi, Any reason why the filename field in DynamicWebResource does not at least have a protected getter so you can use it in subclasses without having to add the field again? Regards, Sebastiaan smime.p7s Description: S/MIME Cryptographic Signature

Check validator existence

2008-04-14 Thread Paolo Di Tommaso
Guys, is there an API in wicket to know if a Validator instance has been added to a form? Something like Form#contains( IValidator ) or any workaround to know it? Thanks, // Paolo

Re: AjaxLink doesn't work for Wicket 1.3.3 ?

2008-04-14 Thread Matej Knopp
Please create a jira issue and attach a page source code that doesn't work. -Matej 2008/4/14 Tomasz Prus [EMAIL PROTECTED]: I have AjaxLink which works good in Wicket 1.3.2 but doens't work whe i change version to 1.3.3. package pl.mainseek.car.wicket.components; import

Re: page reload

2008-04-14 Thread Milan Křápek
Thanks a lot, with the LoadableDetachableModel I am now able to show the changes when I edit the item. But some problems still remain. To delete items I have just link, that on the onClick event removes the selected item. So I need to reload the page after this remove too. I try to do it

Re: CompoundPropertyModel need to track changes

2008-04-14 Thread Maurice Marrink
Hmm, it should try to use bean methods before trying the field directly. you could try changing the wicket id of your formcomponent to the full method name, e.g. setLastname() if your property is lastname. If that does not work, it might indicate a problem with your getters and setters. An

Re: page reload

2008-04-14 Thread Maurice Marrink
Are you using an ajaxlink or a regular link? if(ajax) try wrapping your list in a WebMarkupContainer and add that to the ajaxtarget. else this should already work, the entire page is automatically refreshed after the onclick exits. Maurice On Mon, Apr 14, 2008 at 12:38 PM, Milan Křápek [EMAIL

SV: Check validator existence

2008-04-14 Thread Wilhelmsen Tor Iver
is there an API in wicket to know if a Validator instance has been added to a form? Two solutions: 1) Call iterator() and test with instanceof IValidator on each element until you get true. This will only find validators on the form and not on the subcomponents... 2) Make a Component.IVisitor

Re: CompoundPropertyModel need to track changes

2008-04-14 Thread Gerolf Seitz
On Mon, Apr 14, 2008 at 1:05 PM, Maurice Marrink [EMAIL PROTECTED] wrote: Hmm, it should try to use bean methods before trying the field directly. you could try changing the wicket id of your formcomponent to the full method name, e.g. setLastname() if your property is lastname. If that does

Re: Localization, Bookmarkable pages, and mounting strategies

2008-04-14 Thread Gwyn Evans
On Mon, Apr 14, 2008 at 11:40 AM, Sebastiaan van Erk [EMAIL PROTECTED] wrote: However they're still workarounds for something that I think is conceptually not quite right in Wicket currently: the fact that it should be possible to mount different locales of a page on different urls, for

Re: Removing the jsessionid for SEO

2008-04-14 Thread Korbinian Bachl - privat
Hi Rüdiger, AFAIK this could lead to some punishment by google, as he browses the site multiple times using different agents and origin IPs and in case he sees different behaviours he thinks about cloaking/ prepared content and will act accordingly to it; This is usually noticed after the

Wicket portles in Sun Portal

2008-04-14 Thread Wilhelmsen Tor Iver
We have (wisely :) ) chosen Wicket as web framework, but also chosen Sun Portal as the portal engine (not just Pluto but the commercial product). This causes a problem since Sun apparently haven't implemented the two interfaces required by Apache's bridge, so Wicket 1.3.x portlets do not work

Re: Wicket portles in Sun Portal

2008-04-14 Thread Thijs
Liferay is not really supported, We have it running but have hacked wicket to do so (in a combindation of a bridges implementation and a custom wicket version). Especially to get the Ajax stuff working correctly. We are hoping that with portlet 2.0 supported both by Liferay and wicket that the

Re: Removing the jsessionid for SEO

2008-04-14 Thread Rüdiger Schulz
Hm, SEO is really a little bit like black science sometimes *g* This (german) article states, that SID cloaking would be ok for google: http://www.trafficmaxx.de/blog/google/gutes-cloaking-schlechtes-cloaking Some more googling, and here someone seems to confirm this:

Re: Localization, Bookmarkable pages, and mounting strategies

2008-04-14 Thread Sebastiaan van Erk
Gwyn Evans wrote: On Mon, Apr 14, 2008 at 11:40 AM, Sebastiaan van Erk [EMAIL PROTECTED] wrote: However they're still workarounds for something that I think is conceptually not quite right in Wicket currently: the fact that it should be possible to mount different locales of a page on

Re: [WUG] Copenhagen

2008-04-14 Thread Nino Saturnino Martinez Vazquez Wael
Hi This is a reminder, and callout as it would be really nice to be some more people in order to get discussions going. Heres the proposed content: *Wicket-Spring-JPA-Hibernate (Could also be a discussion of the upcomming archetype wicket Iolith) *Wicket Testsing experiences *Creating

Re: [WUG] Copenhagen

2008-04-14 Thread Frank Bille
We could also have an informal ask-a-question session for 30-45 min in the beginning? Which expectations does people have for this meeting? Frank On Mon, Apr 14, 2008 at 2:49 PM, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Hi This is a reminder, and callout as it would be

Radio group, model

2008-04-14 Thread Goran Novak
Hi, I have a form with a radio group. Everithing works (page renders without errors) but I can't get selected radio in forms onSubmit method. model.getSomeRadioGroup() returns null. It probably some logical error using the models. Does radioGroup have to have its own model or something like

Re: Removing the jsessionid for SEO

2008-04-14 Thread Korbinian Bachl - privat
Yeah, its quite a shame that google doesnt open source their logic ;) would be nice if you could give us the code however, so we could have a look at it :) Rüdiger Schulz schrieb: Hm, SEO is really a little bit like black science sometimes *g* This (german) article states, that SID

MOdal window feedback panel something strange is going on

2008-04-14 Thread taygolf
Hey guys. I am not sure that this has anything to do with the feed back panel or not but I wanted to mention it. Here is what I have. I have a modal window with required textfields in it. The textfields have another modal window that creates a 'popup' and the user selects the value they want

Re: Removing the jsessionid for SEO

2008-04-14 Thread Erik van Oosten
Hi Rüdiger, I would be very interested in the code. If you can not find a suitable repository, could you just do something simple like linking to a zip from a blog post? Regards, Erik. Rüdiger Schulz wrote: Hello everybody, I just want to add my 2 cents to this discussion. At

How to change the html folder?

2008-04-14 Thread liny
Hi~ In default, for example, your html and web page class must be together. Can I move my html files to a single folder? And how? Thanks -- View this message in context: http://www.nabble.com/How-to-change-the-html-folder--tp16678545p16678545.html Sent from the Wicket - User mailing list

Re: Radio group, model

2008-04-14 Thread Michael O'Cleirigh
Hi Goran, I have a form with a radio group. Everithing works (page renders without errors) but I can't get selected radio in forms onSubmit method. model.getSomeRadioGroup() returns null. It probably some logical error using the models. Does radioGroup have to have its own model or something

Re: Facebook Wicket Integration

2008-04-14 Thread itai
Hi! Thanks a lot - this works... Ill have to put the validation on the BasePage class to authenticate every page because in many cases (like in links that are used on facebook notifications) the first accessed page is an internal one. Another question, my application runs as an iframe inside

Re: Check validator existence

2008-04-14 Thread Igor Vaynberg
no, i dont think we do. what is your usecase? -igor On Mon, Apr 14, 2008 at 2:45 AM, Paolo Di Tommaso [EMAIL PROTECTED] wrote: Guys, is there an API in wicket to know if a Validator instance has been added to a form? Something like Form#contains( IValidator ) or any workaround to know

Re: Localization, Bookmarkable pages, and mounting strategies

2008-04-14 Thread Johan Compagner
So when you do this: mount(new WhateverUrlCodingStrategy(/mypage, MyPage.class, Locale.NL)); then when i hit /mypage we have to set the sessions locale to NL then? johan On Mon, Apr 14, 2008 at 12:40 PM, Sebastiaan van Erk [EMAIL PROTECTED] wrote: Hi, I have localized my Wicket site,

Re: Localization, Bookmarkable pages, and mounting strategies

2008-04-14 Thread Jan Kriesten
hi sebastiaan, Any ideas on this? Anybody already implemented the coding strategy for the locale in the root? Anybody got another easier workaround? i don't use a coding strategy for this but an extension to wicket filter that parses the 'relative path' of the url for locale definitions,

Re: Localization, Bookmarkable pages, and mounting strategies

2008-04-14 Thread Jan Kriesten
hi sebastiaan, Would you be willing to share that code? Because in the short term I think it's the best solution. it's all Scala - if you want that... ;-) best regards, --- jan. - To unsubscribe, e-mail: [EMAIL

Re: Localization, Bookmarkable pages, and mounting strategies

2008-04-14 Thread Sebastiaan van Erk
Johan Compagner wrote: So when you do this: mount(new WhateverUrlCodingStrategy(/mypage, MyPage.class, Locale.NL)); then when i hit /mypage we have to set the sessions locale to NL then? I don't think so. The *resource* has the specified locale, i.e., the Page, but I think it's bad to

Re: DateTimeField and zero padding hours

2008-04-14 Thread Federico Fanton
On Sat, 12 Apr 2008 18:25:56 +0200 Johan Compagner [EMAIL PROTECTED] wrote: I guess this has something to do with the format string that is used for your locale, just look int what dateformat is used in your case I'm sorry, but I cannot understand how the blank hours is related to a locale

Re: Localization, Bookmarkable pages, and mounting strategies

2008-04-14 Thread Jan Kriesten
hi sebastiaan, i just snip the things out and comment (as far as necessary): use this filter instead of the default wicket filter: ---8--- object LocaleFilter { final val REQUEST_LOCALE_ATTRIBUTE = _request_locale_ } class LocaleFilter extends WicketFilter { import

Re: Localization, Bookmarkable pages, and mounting strategies

2008-04-14 Thread Sebastiaan van Erk
Hi Jan, Would you be willing to share that code? Because in the short term I think it's the best solution. Regards, Sebastiaan Jan Kriesten wrote: hi sebastiaan, Any ideas on this? Anybody already implemented the coding strategy for the locale in the root? Anybody got another easier

Re: Localization, Bookmarkable pages, and mounting strategies

2008-04-14 Thread Sebastiaan van Erk
Hmm.. Scala :-) I guess I'll opt for English then :-) I don't quite understand what you do... taking it out of the filter is easy enough I guess, but then? When you set a property on the application how does this work with different threads? Do you use thread local? Then you do you render

Re: [WUG] Copenhagen

2008-04-14 Thread Nino Saturnino Martinez Vazquez Wael
Frank Bille wrote: We could also have an informal ask-a-question session for 30-45 min in the beginning? Sounds great. Which expectations does people have for this meeting? Exactly my words. It's up to the crow to decide on the content. This should actually be very appreciated, it's

Re: Removing the jsessionid for SEO

2008-04-14 Thread Rüdiger Schulz
I'll wrap something up in the course of this week, and post it on my blog. (so little time a.t.m.) greetings, Rüdiger 2008/4/14, Erik van Oosten [EMAIL PROTECTED]: Hi Rüdiger, I would be very interested in the code. If you can not find a suitable repository, could you just do something

Re: Localization, Bookmarkable pages, and mounting strategies

2008-04-14 Thread Jan Kriesten
hi sebastiaan, Btw: do you have a change locale link? How do you make sure it plays nice with bookmarkable urls? actually, since the locale is filtered out from the actual url - you don't have to worry about this at all. just link the user to the /de/xy or /en/xy-pages and you get called

Re: How to change the html folder?

2008-04-14 Thread Jeremy Thomerson
http://cwiki.apache.org/WICKET/control-where-html-files-are-loaded-from.html On Mon, Apr 14, 2008 at 10:09 AM, liny [EMAIL PROTECTED] wrote: Hi~ In default, for example, your html and web page class must be together. Can I move my html files to a single folder? And how? Thanks -- View

RE: Good example for FormComponentPanel?

2008-04-14 Thread Michael Mehrle
I am pretty sure that a tabbed panel can't be part of one form. If it can, that would be lovely. But I was under the impression that you can't add panels to a form. Could someone clarify this for me? BTW, one of the things I tried was to make each panel into a FormComponentPanel and then add

Re: Good example for FormComponentPanel?

2008-04-14 Thread Nick Heudecker
A FormComponentPanel is used to combine several individual form components into a single object, like if you had year/month/day DropDownChoices in a single component. AFAIK, forms can contain anything except pages. On Mon, Apr 14, 2008 at 12:26 PM, Michael Mehrle [EMAIL PROTECTED] wrote: I am

Re: DynamicWebResource filename

2008-04-14 Thread Frank Bille
I can't see any good reason. If you create an issue for it (preferable with a patch), then I'll take a look at it. Frank On Mon, Apr 14, 2008 at 12:56 PM, Sebastiaan van Erk [EMAIL PROTECTED] wrote: Hi, Any reason why the filename field in DynamicWebResource does not at least have a

Re: Good example for FormComponentPanel?

2008-04-14 Thread Ryan Gravener
DateTimeField extends FormComponentPanel On Fri, Apr 11, 2008 at 7:37 PM, Michael Mehrle [EMAIL PROTECTED] wrote: I need to build a TabbedPanel with three tabs which are part of one form - the selected tab will contain form components which need to be submitted by that one form. It seems

ReCaptcha Panel

2008-04-14 Thread Dan Kaplan
Here is the code for the recaptcha panel. I don't feel like creating a project for this but others have expressed interest in it. Panel: http://pastebin.org/29726 SRC: http://pastebin.org/29725 NOTE: this library has a dependency lib. You can download it here:

Re: Check validator existence

2008-04-14 Thread Paolo Di Tommaso
Take in consideration the following use case: 1) There is a panel instancing a IFormValidator 2) To make the panel self contained it does not have an explicit reference to the containing form but it is found invoking Component#findParent( Form.class ) method 3) Doing so, findParent cannot be

Re: ReCaptcha Panel

2008-04-14 Thread Michael Laccetti
Perhaps this would do well as an addition to wicketstuff contribs? Dan Kaplan-3 wrote: Here is the code for the recaptcha panel. I don't feel like creating a project for this but others have expressed interest in it. Panel: http://pastebin.org/29726 SRC: http://pastebin.org/29725

Re: Check validator existence

2008-04-14 Thread Igor Vaynberg
just have a boolean that marks the fact that you have added the validator to the form... -igor On Mon, Apr 14, 2008 at 12:05 PM, Paolo Di Tommaso [EMAIL PROTECTED] wrote: Take in consideration the following use case: 1) There is a panel instancing a IFormValidator 2) To make the panel

RE: ReCaptcha Panel

2008-04-14 Thread Dan Kaplan
Probably, IMO it's way easier to use this than following the captcha example. This example has a problem though: it displays a warning every time you visit the page with the panel (can't remember what the warning says, something about not being able to bind a text field). But it still works

Re: Check validator existence

2008-04-14 Thread Paolo Di Tommaso
I've done so .. thanks. // Paolo On Mon, Apr 14, 2008 at 9:17 PM, Igor Vaynberg [EMAIL PROTECTED] wrote: just have a boolean that marks the fact that you have added the validator to the form... -igor

RE: Good example for FormComponentPanel?

2008-04-14 Thread Michael Mehrle
So, a form CAN contain a panel? Meaning, I am able to add a tabbedpanel to a form and it'll work? Michael -Original Message- From: Nick Heudecker [mailto:[EMAIL PROTECTED] Sent: Monday, April 14, 2008 10:29 AM To: users@wicket.apache.org Subject: Re: Good example for FormComponentPanel?

RE: ReCaptcha Panel

2008-04-14 Thread Michael Mehrle
Not sure if anyone cares about this - but I hear that ALL captchas out there have been broken. Not really much of a hurdle anymore. -Original Message- From: Dan Kaplan [mailto:[EMAIL PROTECTED] Sent: Monday, April 14, 2008 11:08 AM To: users@wicket.apache.org Subject: ReCaptcha Panel

Consuming a portlet in Wicket?

2008-04-14 Thread Andrew Broderick
Hi, I am trying to seamlessly integrate JForum into my Wicket application. Problem is, JForum is an entirely separate web application (running under the same domain however). JForum has a JSR-168 portlet bridge available, to allow it to run as a portlet. However, can a portlet be consumed by

Re: Localization, Bookmarkable pages, and mounting strategies

2008-04-14 Thread Johan Compagner
The problem is that a component has not a locale by default So then we should give a Page a locale field. and then that will be set.. But the problem is if you do setResponsePage(Page.class) what should then be taken? The session locale mount? johan On Mon, Apr 14, 2008 at 6:14 PM,

RE: ReCaptcha Panel

2008-04-14 Thread Michael Laccetti
ReCaptcha = Google? Well then. That'd be a particular problem. If they update their stuff, perhaps it'll be handy; I do know that it is popular. Michael Mehrle wrote: Not sure if anyone cares about this - but I hear that ALL captchas out there have been broken. Not really much of a

RE: CompoundPropertyModel need to track changes

2008-04-14 Thread Karen Schaper
Thanks. My class variables for example are _name with the underscore. and the getter and setter would be setName and getName. In my form for this page I had included the underscore _name so I think wicket was looking for set_Name. Once I changed the wicket:id to be just name the setter

Re: Good example for FormComponentPanel?

2008-04-14 Thread Igor Vaynberg
if you replace tabbedpanel links to submitlink it will -igor On Mon, Apr 14, 2008 at 12:51 PM, Michael Mehrle [EMAIL PROTECTED] wrote: So, a form CAN contain a panel? Meaning, I am able to add a tabbedpanel to a form and it'll work? Michael -Original Message- From: Nick

Re: Localization, Bookmarkable pages, and mounting strategies

2008-04-14 Thread Sebastiaan van Erk
Johan Compagner wrote: The problem is that a component has not a locale by default So then we should give a Page a locale field. and then that will be set.. But the problem is if you do setResponsePage(Page.class) what should then be taken? The session locale mount? The most logical thing

Re: IE/XP FileUpload Problem

2008-04-14 Thread JulianS
I ended up using workaround 2, which was the easiest to implement, namely preventing keystrokes in the text field and requiring the user to click the Browse button: FileUploadField fuf = new FileUploadField(FIELD_ID); fuf.add(new SimpleAttributeModifier(onkeydown, if(event.keyCode==8){return

Performance question

2008-04-14 Thread Ritz123
Hi, I have created first couple of pages of my wicket application but have some performance concerns. The pages (even the refresh alone takes 6-7 secs on Dual Core 2.2GHz Pentium with 4GB of RAM). DB is located on the remote host, but has caching at the application server - so thats not adding

Re: Performance question

2008-04-14 Thread Igor Vaynberg
profile it and see where the time goes, or paste some code from those pages -igor On Mon, Apr 14, 2008 at 2:57 PM, Ritz123 [EMAIL PROTECTED] wrote: Hi, I have created first couple of pages of my wicket application but have some performance concerns. The pages (even the refresh alone

RE: Good example for FormComponentPanel?

2008-04-14 Thread Michael Mehrle
You mean the links that select/toggle each panel? Not sure what you mean though - can you please elaborate? Michael -Original Message- From: Igor Vaynberg [mailto:[EMAIL PROTECTED] Sent: Monday, April 14, 2008 1:37 PM To: users@wicket.apache.org Subject: Re: Good example for

Re: Good example for FormComponentPanel?

2008-04-14 Thread Igor Vaynberg
yes, those links. by default they are regular a href links, so they wont submit the values of components that are inside the tab. you can override tabbedpanel.newlink and return a submitlink instead. -igor On Mon, Apr 14, 2008 at 3:28 PM, Michael Mehrle [EMAIL PROTECTED] wrote: You mean the

Re: Performance question

2008-04-14 Thread Ritz123
Havent used a profiler in a while - is there any opensource one which can work with tomcat? igor.vaynberg wrote: profile it and see where the time goes, or paste some code from those pages -igor On Mon, Apr 14, 2008 at 2:57 PM, Ritz123 [EMAIL PROTECTED] wrote: Hi, I have

RE: Good example for FormComponentPanel?

2008-04-14 Thread Michael Mehrle
Oh, I think you misunderstood - it's just a matter of having one of three panels visible, and all of them are part of one form. The submit button is outside the tabbed panel. form wicket:id=form div wicket:id=tabbedPanel / input type=button wicket:id=submit / /form It's something

onBeforeSubmit

2008-04-14 Thread Karen Schaper
Hi, I would like to do something after the user clicks a submit button but before the fields are actually submitted. Is there a way to do this in wicket? Thanks Karen - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: onBeforeSubmit

2008-04-14 Thread Igor Vaynberg
add javascript to button markup's onclick event -igor On Mon, Apr 14, 2008 at 5:38 PM, Karen Schaper [EMAIL PROTECTED] wrote: Hi, I would like to do something after the user clicks a submit button but before the fields are actually submitted. Is there a way to do this in wicket?

DataTable with row indexes?

2008-04-14 Thread Ritz123
Hi, Has anyone implemented DataTable with row indexes showing the corresponding row number as the first column? Thanks -- View this message in context: http://www.nabble.com/DataTable-with-row-indexes--tp16692909p16692909.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: Good example for FormComponentPanel?

2008-04-14 Thread Igor Vaynberg
On Mon, Apr 14, 2008 at 3:52 PM, Michael Mehrle [EMAIL PROTECTED] wrote: Oh, I think you misunderstood no, i didnt. instead of all this theorizing why dont you try to implement this and see what the problems with it are. you will find that since tabbed panel uses are regular links any

Re: How to change the html folder?

2008-04-14 Thread liny
Jeremy Thomerson-3 wrote: http://cwiki.apache.org/WICKET/control-where-html-files-are-loaded-from.html On Mon, Apr 14, 2008 at 10:09 AM, liny [EMAIL PROTECTED] wrote: Hi~ In default, for example, your html and web page class must be together. Can I move my html files to a single

Can only locate or create session in the context of a request cycle.

2008-04-14 Thread mfs
Guys, Please comment.. I have a non-wicket AuthenticationFilter which is intercepting all request to my wicket-app and checking if the request is coming in from a valid user. Basically in the url am passed over an authenticationToken (by another application where the user has signed in

Re: Facebook Wicket Integration

2008-04-14 Thread TH Lim
Yes, you can use mountBookmarkablePage method of WebApplication. itai wrote: Hi! Thanks a lot - this works... Ill have to put the validation on the BasePage class to authenticate every page because in many cases (like in links that are used on facebook notifications) the first

RE: Good example for FormComponentPanel?

2008-04-14 Thread Michael Mehrle
Alright, got it. Actually, for my purposes losing the tab info is actually what I need, so this should work. Michael -Original Message- From: Igor Vaynberg [mailto:[EMAIL PROTECTED] Sent: Monday, April 14, 2008 5:48 PM To: users@wicket.apache.org Subject: Re: Good example for

Question about Modal Window

2008-04-14 Thread freak182
Hello, I have a question about modal window. When I click the [x] button in the modal window, two methods were called namely CloseButtonCallback and WindowClosedCallback and when I called window.close(target) only WindowClosedCallback clled.I think this is default behavior. But I want to call

Re: Good example for FormComponentPanel?

2008-04-14 Thread Igor Vaynberg
hmm, kinda weird to use the tab metaphor for this then. maybe a dropdown or radios that switch the panel would work better. but thats just me. -igor On Mon, Apr 14, 2008 at 6:49 PM, Michael Mehrle [EMAIL PROTECTED] wrote: Alright, got it. Actually, for my purposes losing the tab info is

Re: DataTable with row indexes?

2008-04-14 Thread Matthew Young
IColumn[] columns = { // // Make a column to show the row number // new AbstractColumn(new Model(No.)) { @Override public void populateItem(Item cellItem, String componentId, IModel rowModel) {