Re: [Wicket-user] Custom request listener (wicket 1.2.x)

2007-06-28 Thread Paolo Di Tommaso
I've added the following issue, https://issues.apache.org/jira/browse/WICKET-707 Thanks, Paolo On 6/22/07, Igor Vaynberg [EMAIL PROTECTED] wrote: yeah, dont think we ever thought about doing that...please open a jira issue. it is probably something we should support. -igor

[Wicket-user] AjaxTabbedPanel and back button (Wicket 1.2.x)

2007-06-28 Thread Paolo Di Tommaso
Guys, I have a page with an AjaxTabbedPanel component. When the user change the tab selection and then click on the browser back button it come back to the previous page. I would like instead to come back to the previous selected tab (when has been changed obviously). This is the default

Re: [Wicket-user] Using hot-reloading of classes with Spring (Was: Has something changed in markup inheritance?)

2007-06-28 Thread Jean-Baptiste Quenot
* Watter: With that, I can get past the error I reported earlier. Unfortunately, I'm seeing something else now. If I go to a page, then use my browser back button to go back a page, and then click on any other link, I get a ClassCastException for

Re: [Wicket-user] AjaxTabbedPanel and back button (Wicket 1.2.x)

2007-06-28 Thread Johan Compagner
i dont think this is really possible in 1.2. Because ajax and versioning is not really implemented in 1.3 we have IPageVersionManager.rollbackPage() where you can rollback a page version. But to support or catch the backbutton in the browser you need to write the javascript yourself that then

Re: [Wicket-user] AjaxTabbedPanel and back button (Wicket 1.2.x)

2007-06-28 Thread Paolo Di Tommaso
Umh .. it is a pity .. Is there any example to start from ? Thanks a lot - Paolo On 6/28/07, Johan Compagner [EMAIL PROTECTED] wrote: i dont think this is really possible in 1.2. Because ajax and versioning is not really implemented in 1.3 we have IPageVersionManager.rollbackPage() where

Re: [Wicket-user] Problems with updating TabbedPanel

2007-06-28 Thread Holda, Dariusz
Hi Igor, Thank you for a quick response. I get your point. My main page should have client object and model that is referring this object and I should use the same model in DropDownChoice, Form and Panels for TabbedPanel. The problem is I have too many clients in my DB to pull them out at the

[Wicket-user] Custom Exception in onClick of Link

2007-06-28 Thread Javed
I have created one custom Exception class which will be thrown from pages or panel when particular entity say ABC is deleted from DB. That means, before performing any operation related to that entity; first it will check if that entity exists or not. If that entity no longer exist then it will

Re: [Wicket-user] Radio buttons in multiple pages

2007-06-28 Thread Javed
Thanks Igor for your time and guidance. I will try this and let you know Regards, Javed igor.vaynberg wrote: On 6/26/07, Javed [EMAIL PROTECTED] wrote: I have come across such scenario where I need to have radio buttons across the mutliple pages. Say there are 25 records laid among 5

Re: [Wicket-user] Oracle Application Server 10g (10.1.2) and Wicket / ajax

2007-06-28 Thread Nino Saturnino Martinez Vazquez Wael
Hi Matej I've tried adding this: public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain) throws IOException, ServletException { if (servletRequest instanceof HttpServletRequest) {

Re: [Wicket-user] Wicket 1.2.4 - Cross session concurrency issue s

2007-06-28 Thread Seldon, Richard
Thank you for the various responses regarding this issue. Pleased to tell you that testing results indicate the Wicket 1.2.4 patch has fixed our problems with concurrency without introducing any other known bugs! Big relief so thank you for this. Regarding ongoing support for Wicket 1.3 and JDK

[Wicket-user] Panel doesn't use changed model

2007-06-28 Thread Pieter Cogghe
I' m trying to do something very simple. When I click a link, I change the Model of a panel, but the Panel doesn't show the content of the new Model. I tried to do this with a simple Label and that works. It has got to be something very stupid, but I've been looking at it all morning and I just

[Wicket-user] wicket:remove/ does not allow wicket component tags

2007-06-28 Thread ywtsang
when I have wicket component tags inside a wicket:remove tag, the wicket complains as error: Markup remove regions must not contain Wicket component tags e.g. wicket:remove test /wicket:remove is there any configuration that allows the wicket to just accept any kind of content in the

Re: [Wicket-user] Panel doesn't use changed model

2007-06-28 Thread Pieter Cogghe
I've put this method in my SectionPanel @Override public Component setModel(IModel arg0) { SectionModel s = (SectionModel) arg0.getObject(this); System.out.println(s.getResource().getText().get(language.toString ()).get(InstrumentContentType.PHRASE_TYPE)); Component

Re: [Wicket-user] Panel doesn't use changed model

2007-06-28 Thread Martijn Dashorst
It seems that the error is in the Panel. Can you post that code too? Martijn -- Wicket joins the Apache Software Foundation as Apache Wicket Join the wicket community at irc.freenode.net: ##wicket Wicket 1.2.6 contains a very important fix. Download Wicket now! http://wicketframework.org

Re: [Wicket-user] Panel doesn't use changed model

2007-06-28 Thread Martijn Dashorst
On 6/28/07, Pieter Cogghe [EMAIL PROTECTED] wrote: public class SectionPanel extends Panel { public SectionPanel(String id, IModel model) throws ApplicationException { super(id,model); //title this.title = new Label(title, new PropertyModel(model.getObject

Re: [Wicket-user] Panel doesn't use changed model

2007-06-28 Thread Martijn Dashorst
On 6/28/07, Martijn Dashorst [EMAIL PROTECTED] wrote: new PropertyModel(model, foo) erhm... not quite there yet... You should also notify the property model in the setModel of your panel. In this case you have a push type of model binding. It usually is a better model to adopt a pull type

Re: [Wicket-user] Oracle Application Server 10g (10.1.2) and Wicket / ajax

2007-06-28 Thread Johan Compagner
it could be that we set the headers again after that in the chain.doFiltercall. On 6/28/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Hi Matej I've tried adding this: public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse,

Re: [Wicket-user] Wicket 1.3 roadmap

2007-06-28 Thread ZedroS
Martijn Dashorst wrote: Working on the release beta 2 as we speak. Martijn Hi Martijn Is it possible to have a gross idea of when it will be released ? Does the delay look like a week, a month, some months ? Thanks in advance ZedroS -- View this message in context:

[Wicket-user] wicket with database

2007-06-28 Thread tnjtn1
HI, i am newer to wicket. i would like to know simple application using wicket. tell me url or give example code. Thanks Regards, kumar -- View this message in context: http://www.nabble.com/wicket-with-database-tf3993913.html#a11341474 Sent from the Wicket - User mailing list archive at

Re: [Wicket-user] wicket with database

2007-06-28 Thread Gerolf Seitz
you could take a look at databinder.net hth, gerolf On 6/28/07, tnjtn1 [EMAIL PROTECTED] wrote: HI, i am newer to wicket. i would like to know simple application using wicket. tell me url or give example code. Thanks Regards, kumar -- View this message in context:

Re: [Wicket-user] Oracle Application Server 10g (10.1.2) and Wicket / ajax

2007-06-28 Thread Matej Knopp
You can try subclassing HttpServletRequest and filter the headers. -Matej On 6/28/07, Johan Compagner [EMAIL PROTECTED] wrote: it could be that we set the headers again after that in the chain.doFilter call. On 6/28/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Hi

Re: [Wicket-user] wicket with database

2007-06-28 Thread tnjtn1
When go through that site , it goes the below site. http://wicket.sourceforge.net/. My doubt is i would like to use wicket with database . give me the solution. Regards, kumar Gerolf Seitz wrote: you could take a look at databinder.net hth, gerolf On 6/28/07, tnjtn1 [EMAIL

Re: [Wicket-user] Panel doesn't use changed model

2007-06-28 Thread Pieter Cogghe
Thanks, that works. I really didn't know what I did wrong, nut I understand the reasoning behind it. 2007/6/28, Martijn Dashorst [EMAIL PROTECTED]: On 6/28/07, Martijn Dashorst [EMAIL PROTECTED] wrote: new PropertyModel(model, foo) erhm... not quite there yet... You should also notify the

Re: [Wicket-user] Oracle Application Server 10g (10.1.2) and Wicket / ajax

2007-06-28 Thread Andrew Klochkov
Matej Knopp wrote: You can try subclassing HttpServletRequest and filter the headers. I'd try to add my headers after (not before) the following code. filterChain.doFilter(servletRequest, servletResponse); -- Andrew Klochkov

Re: [Wicket-user] AjaxTabbedPanel and back button (Wicket 1.2.x)

2007-06-28 Thread Johan Compagner
not really, that part (the client part) is not really implemented yet. waiting for someone to do it :) johan On 6/28/07, Paolo Di Tommaso [EMAIL PROTECTED] wrote: Umh .. it is a pity .. Is there any example to start from ? Thanks a lot - Paolo On 6/28/07, Johan Compagner [EMAIL

[Wicket-user] Wicket with JExcel

2007-06-28 Thread Edi
Hi, I am Newbie of Wicket. I have downloaded sample example to read XLS file using Wicket with JExcel. It's working fine. My doubt is 1.How can I retrieve the datatype of each cell? and 2. How to validate the each cell values? Please give me some Suggestions. Thanking You. Regards, Edi --

Re: [Wicket-user] Panel doesn't use changed model

2007-06-28 Thread Martijn Dashorst
The problem lies in the references. In your first version, you kept a direct reference to the model object passed in at construction time. At that moment, the property model keeps a reference to that object. When you changed the Model of the panel, the property model was not notified: there is no

[Wicket-user] OpenSessionInViewFilter and Wicket Resources

2007-06-28 Thread Huergo Perez
Hi All, I am using Wicket with Spring's OpenSessionInViewFilter for Hibernate. The filter is mapped to Wicket servlet. The problem with this setup is that the OpenSessionInView filter gets invoked on *all* requests to Wicket including requests for static resources (such as CSS files and

Re: [Wicket-user] Wicket with JExcel

2007-06-28 Thread Ayodeji Aladejebi
I think that is within the scope of the JExcel API and not a wicket thing. Refer to the JExcel API doc first On 6/28/07, Edi [EMAIL PROTECTED] wrote: Hi, I am Newbie of Wicket. I have downloaded sample example to read XLS file using Wicket with JExcel. It's working fine. My doubt is 1.How

Re: [Wicket-user] Wicket with JExcel

2007-06-28 Thread Ayodeji Aladejebi
meanwhile, if yu look at this code in the Wicket - JExcel example Cell cell = sheet.getCell(col, row); values[row][col] = new XCell(row, col,cell.getContents()); return values[row][col].getData(); The Cell object is from

[Wicket-user] Resource key change for EmailAddressValidator, PatternValidator subclasses (and also RfcCompliantEmailAddressValidator)

2007-06-28 Thread Al Maw
I thought this important enough to cross-post to user and dev, sorry for the duplication if you read both. As noted in the 1.2 - 1.3 migration notes, EmailAddressPatternValidator has been renamed to EmailAddressValidator to better fit in with the naming conventions used elsewhere. I've just

Re: [Wicket-user] wicket:remove/ does not allow wicket component tags

2007-06-28 Thread Al Maw
ywtsang wrote: when I have wicket component tags inside a wicket:remove tag, the wicket complains as error: Markup remove regions must not contain Wicket component tags e.g. wicket:remove test /wicket:remove is there any configuration that allows the wicket to just accept any kind of

Re: [Wicket-user] Using hot-reloading of classes with Spring (Was: Has something changed in markup inheritance?)

2007-06-28 Thread Watter
Jean-Baptiste Quenot-3 wrote: * Watter: With that, I can get past the error I reported earlier. Unfortunately, I'm seeing something else now. If I go to a page, then use my browser back button to go back a page, and then click on any other link, I get a

Re: [Wicket-user] Panel doesn't use changed model

2007-06-28 Thread Pieter Cogghe
Okay, now I understand it. I'd better replace the ModelObject than the Model. thanks a lot, Pieter 2007/6/28, Martijn Dashorst [EMAIL PROTECTED]: The problem lies in the references. In your first version, you kept a direct reference to the model object passed in at construction time. At that

Re: [Wicket-user] Resource key change for EmailAddressValidator, PatternValidator subclasses (and also RfcCompliantEmailAddressValidator)

2007-06-28 Thread Frank Bille
On 6/28/07, Al Maw [EMAIL PROTECTED] wrote: I've just removed the old deprecated class as I see no reason this should be hanging around in the 1.3 release. IMHO we should keep the old with a description on how to update. Yes it's fine we have the migration doc, but this morning I was

[Wicket-user] FormInput Example on 1.3 Clearing Radio/Check/Box on error

2007-06-28 Thread Joshua Lim
Hi I am encountering a behaviour on 1.3 trunk forminput on wicket-examples which I think wasn't the same before.(been away from wicket for a while) When I clear the String TextField (which is a requiredTextField) to force an error , my values on the Radio/Check/Group seems to be cleared as

Re: [Wicket-user] wicket:remove/ does not allow wicket component tags

2007-06-28 Thread ywtsang
It is a matter of convenience. Let me explain a little more. Our designers are working on the html template and wicket:remove is useful for preview purpose. Ocassionally they may copy the html with the wicket:id inside the wicket:remove block. As a result, when we (IT dev team) run the html

Re: [Wicket-user] Using hot-reloading of classes with Spring (Was: Has something changed in markup inheritance?)

2007-06-28 Thread Peter Thomas
On 6/28/07, Watter [EMAIL PROTECTED] wrote: Jean-Baptiste Quenot-3 wrote: * Watter: With that, I can get past the error I reported earlier. Unfortunately, I'm seeing something else now. If I go to a page, then use my browser back button to go back a page, and then

Re: [Wicket-user] Oracle Application Server 10g (10.1.2) and Wicket / ajax

2007-06-28 Thread mchack
Another method to do this would be to Override the configureResponse method for the page, at least this is how I am doing it. This is where the cache-control header is being generated. If no change needed then call super.configureResponse() else add your header at this point. Seems like there

Re: [Wicket-user] Using hot-reloading of classes with Spring (Was: Has something changed in markup inheritance?)

2007-06-28 Thread Jean-Baptiste Quenot
* Watter: Jean-Baptiste Quenot-3 wrote: * Watter: With that, I can get past the error I reported earlier. Unfortunately, I'm seeing something else now. If I go to a page, then use my browser back button to go back a page, and then click on any other

[Wicket-user] replaceWith() not working

2007-06-28 Thread Evan Chooly
I'm on the latest snapshot and am having a problem using replaceWith(). When I have wicket logging turned on I can see all sorts of activity, but my page doesn't get updated. Below is the code I'm using. I ripped this code off from eelco's blog at

Re: [Wicket-user] Using hot-reloading of classes with Spring (Was: Has something changed in markup inheritance?)

2007-06-28 Thread Watter
ptrthomas wrote: On 6/28/07, Watter [EMAIL PROTECTED] wrote: A couple of observations. Looks like you are using Acegi as well. I have the same problem when I don't exclude my Session and Application classes. Actually, we aren't using Acegi. That class you're looking it is named similar

Re: [Wicket-user] Problems with updating TabbedPanel

2007-06-28 Thread Igor Vaynberg
On 6/28/07, Holda, Dariusz [EMAIL PROTECTED] wrote: Hi Igor, Thank you for a quick response. I get your point. My main page should have client object and model that is referring this object and I should use the same model in DropDownChoice, Form and Panels for TabbedPanel. The problem is I

[Wicket-user] Removing IFormValidators

2007-06-28 Thread landtuna
It seems that there is no way to remove an IFormValidator from a Form. Because the fields in my Form are inside Panels (only one of which is present at any given time), the Form fields are not necessarily children of the Form. When one of the Form's IFormValidators receives a

Re: [Wicket-user] Custom Exception in onClick of Link

2007-06-28 Thread Igor Vaynberg
On 6/28/07, Javed [EMAIL PROTECTED] wrote: I have created one custom Exception class which will be thrown from pages or panel when particular entity say ABC is deleted from DB. That means, before performing any operation related to that entity; first it will check if that entity exists or not.

[Wicket-user] ClientProperties in Wicket 1.2.6 and GPL license

2007-06-28 Thread JulianS
One of our partners will not allow us to use Wicket because a piece of it is GPL-licensed. From what I can tell, they must be referring to ClientProperties.java. Can this be removed from the distribution? It looks like it's been rewritten in 1.3? Thanks, Julian -- View this message in context:

Re: [Wicket-user] Wicket 1.2.4 - Cross session concurrency issue s

2007-06-28 Thread Igor Vaynberg
On 6/28/07, Seldon, Richard [EMAIL PROTECTED] wrote: Regarding ongoing support for Wicket 1.3 and JDK 1.4, I've shared this information internally. It was helpful to get clarification and we can understand the stance taken to press ahead with Java 1.5. Change is inevitable, however

Re: [Wicket-user] OpenSessionInViewFilter and Wicket Resources

2007-06-28 Thread Igor Vaynberg
On 6/28/07, Huergo Perez [EMAIL PROTECTED] wrote: Hi All, I am using Wicket with Spring's OpenSessionInViewFilter for Hibernate. The filter is mapped to Wicket servlet. The problem with this setup is that the OpenSessionInView filter gets invoked on *all* requests to Wicket including requests

Re: [Wicket-user] FormInput Example on 1.3 Clearing Radio/Check/Box on error

2007-06-28 Thread Igor Vaynberg
On 6/28/07, Joshua Lim [EMAIL PROTECTED] wrote: Hi I am encountering a behaviour on 1.3 trunk forminput on wicket-examples which I think wasn't the same before.(been away from wicket for a while) When I clear the String TextField (which is a requiredTextField) to force an error , my

Re: [Wicket-user] Dynamic Menus?

2007-06-28 Thread Sean Sullivan
You are right. The link is broken: http://wicket-stuff.svn.sourceforge.net/viewvc/wicket-stuff/trunk/wicket-extensions-menubar/ It appears that the code is now located here: http://wicket-stuff.svn.sourceforge.net/viewvc/wicket-stuff/branches/wicket-2-DISCONTINUED/wicket-extensions-menubar/

Re: [Wicket-user] ClientProperties in Wicket 1.2.6 and GPL license

2007-06-28 Thread Eelco Hillenius
One of our partners will not allow us to use Wicket because a piece of it is GPL-licensed. From what I can tell, they must be referring to ClientProperties.java. Can this be removed from the distribution? It looks like it's been rewritten in 1.3? That code is (adapted) from Echo 2, which is

[Wicket-user] Page Expire in subsequent AJAX requests (Wicket 1.3)

2007-06-28 Thread Chris Lintz
Hi all, I am hoping there is a work around or at least a known issue by now. Basically I am making a AJAX request (via AjaxSubmitButton in 1.3 beta). The first requests works fine...but if i click on AjaxSubmitButton a 2nd time, I get a Page Expired. I found this related issue in the Jira but

Re: [Wicket-user] ClientProperties in Wicket 1.2.6 and GPL license

2007-06-28 Thread Eelco Hillenius
One of our partners will not allow us to use Wicket because a piece of it is GPL-licensed. From what I can tell, they must be referring to ClientProperties.java. Can this be removed from the distribution? It looks like it's been rewritten in 1.3? Yes, it has been rewritten in 1.3 to get

Re: [Wicket-user] Removing IFormValidators

2007-06-28 Thread Igor Vaynberg
On 6/28/07, landtuna [EMAIL PROTECTED] wrote: It seems that there is no way to remove an IFormValidator from a Form. Because the fields in my Form are inside Panels (only one of which is present at any given time), the Form fields are not necessarily children of the Form. When one of the

Re: [Wicket-user] wicket:remove/ does not allow wicket component tags

2007-06-28 Thread Eelco Hillenius
Therefore if wicket itself can simply allow me to configure to ignore anthing inside wicket:remove, it would be a great convenience. Otherwise, I also want to know the reason behind why wicket prohibit wicket:id insder wicket:remove and try to make my designers follow the necessary practice.

Re: [Wicket-user] wicket:remove/ does not allow wicket component tags

2007-06-28 Thread Igor Vaynberg
On 6/28/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Therefore if wicket itself can simply allow me to configure to ignore anthing inside wicket:remove, it would be a great convenience. Otherwise, I also want to know the reason behind why wicket prohibit wicket:id insder wicket:remove and

Re: [Wicket-user] AjaxTabbedPanel and back button (Wicket 1.2.x)

2007-06-28 Thread Eelco Hillenius
not really, that part (the client part) is not really implemented yet. waiting for someone to do it :) FYI Paolo, we've been chatting about this before and had some ideas, but it's a hard problem to solve. Unlike GWT (who does a good job supporting the back button with Ajax), Wicket doesn't

Re: [Wicket-user] wicket:remove/ does not allow wicket component tags

2007-06-28 Thread Eelco Hillenius
isnt it as easy as? wicket:remove!-- whatever --wicket:remove Haven't tried that. If that works that would be great. Eelco - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of

Re: [Wicket-user] wicket with database

2007-06-28 Thread Eelco Hillenius
When go through that site , it goes the below site. http://wicket.sourceforge.net/. Please read http://incubator.apache.org/wicket/examples.html and click around in the left menu bar to find out how to download etc. Eelco

Re: [Wicket-user] replaceWith() not working

2007-06-28 Thread Eelco Hillenius
public void onClick() { DeleteLink.this.replaceWith(new ConfirmDeletePanel(DeleteLink.this.getId(), really delete?) { @Override protected void onCancel() { replaceWith(DeleteLink.this); }

Re: [Wicket-user] OpenSessionInViewFilter and Wicket Resources

2007-06-28 Thread John Krasnay
On Thu, Jun 28, 2007 at 09:16:13AM -0700, Igor Vaynberg wrote: On 6/28/07, Huergo Perez [EMAIL PROTECTED] wrote: One possible solution would be to move the static resources away from my JAR file directly into the WAR (as most Java web MVC apps usually have), however I would

Re: [Wicket-user] replaceWith() not working

2007-06-28 Thread Evan Chooly
On 6/28/07, Eelco Hillenius [EMAIL PROTECTED] wrote: public void onClick() { DeleteLink.this.replaceWith(new ConfirmDeletePanel(DeleteLink.this.getId(), really delete?) { @Override protected void onCancel() {

Re: [Wicket-user] replaceWith() not working

2007-06-28 Thread Matej Knopp
huh, if you have a in your markup, then i wouldn't be surprised if things didn't work as expected. You should try to replace a panel with panel, possible attached to div -Matej On 6/28/07, Evan Chooly [EMAIL PROTECTED] wrote: On 6/28/07, Eelco Hillenius [EMAIL PROTECTED] wrote:

Re: [Wicket-user] replaceWith() not working

2007-06-28 Thread Evan Chooly
I started off with a panel but i moved it down one to the link itself thinking there might be some oddities with the panel being part of a column blah blah blah. I'll rework it and try again. On 6/28/07, Matej Knopp [EMAIL PROTECTED] wrote: huh, if you have a in your markup, then i wouldn't

Re: [Wicket-user] replaceWith() not working

2007-06-28 Thread Evan Chooly
On 6/28/07, Evan Chooly [EMAIL PROTECTED] wrote: I started off with a panel but i moved it down one to the link itself thinking there might be some oddities with the panel being part of a column blah blah blah. I'll rework it and try again. So bumping it back up to the whole panel didn't

Re: [Wicket-user] wicket:remove/ does not allow wicket component tags

2007-06-28 Thread RĂ¼diger Schulz
2007/6/28, Igor Vaynberg [EMAIL PROTECTED]: isnt it as easy as? wicket:remove!-- whatever --wicket:remove But then whatever will be invisible in preview as well, won't it? -- greetings from Berlin, RĂ¼diger Schulz www.2rue.de

Re: [Wicket-user] Evaluating Wicket for Spring long transactions+Hibernate case

2007-06-28 Thread James McLaughlin
Doing conversations spanning requests is somewhat straightforward in a Spring MVC setting as the request lifecycle is easy to understand, but I'm quite at a loss as to how I'm going to go about this with Wicket. Essentially we need to go into some Spring transaction method at some point in

Re: [Wicket-user] wicket:remove/ does not allow wicket component tags

2007-06-28 Thread Eelco Hillenius
But then whatever will be invisible in preview as well, won't it? Details, details :) Eelco - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your

Re: [Wicket-user] Page Expire in subsequent AJAX requests (Wicket 1.3)

2007-06-28 Thread Matej Knopp
Hi, there was a significant change to ajax requests after beta1, so please test this when beta 2 is out. If the problem persists, we will certainly look into it. -Matej On 6/28/07, Chris Lintz [EMAIL PROTECTED] wrote: Hi all, I am hoping there is a work around or at least a known issue by

Re: [Wicket-user] Force page refresh after Ajax request completes?

2007-06-28 Thread dukejansen
Tried this. It still gives the warning. :( James McLaughlin-3 wrote: Its a shameless hack, but you could try it in a setTimeout. Or possibly, target.appendJavascript(Wicket.Window.unloadConfirmation=false;window.location.reload()) Otherwise, I believe the semantics of onClose make it

[Wicket-user] css-styles

2007-06-28 Thread Jan Kriesten
hi, i've come across the problem that many components add special css-files and that those headercontributions cummulate to a certain amount of lines with link rel=stylesheet... - in my case up to 12. so, the idea comes, having only one link line within the html-response and within that all

Re: [Wicket-user] Force page refresh after Ajax request completes?

2007-06-28 Thread Matej Knopp
Then you might need to update wicket. -Matej On 6/28/07, dukejansen [EMAIL PROTECTED] wrote: Tried this. It still gives the warning. :( James McLaughlin-3 wrote: Its a shameless hack, but you could try it in a setTimeout. Or possibly,

Re: [Wicket-user] css-styles

2007-06-28 Thread Matej Knopp
That wouldn't work, it would break Ajax header contribution filtering. -Matej On 6/28/07, Jan Kriesten [EMAIL PROTECTED] wrote: hi, i've come across the problem that many components add special css-files and that those headercontributions cummulate to a certain amount of lines with link

Re: [Wicket-user] Force page refresh after Ajax request completes?

2007-06-28 Thread dukejansen
Figured this out. Setting the unloadConfirmation to false here is useless, because Wicket only examines that boolean in its show() method for the modal, at which point it sets up unload event handlers based on true/false. That event handler is already set by this point, so changing the boolean

Re: [Wicket-user] wicket security and acl files

2007-06-28 Thread craigdd
I've had a pretty good look at wicket security but the conclusion that I've come to with that is it only supports the fact that you have pre defined roles within your application. I'm currently working on a multi tenant web application where the application provided a set of permission, such and

Re: [Wicket-user] Classcastexception and getSession

2007-06-28 Thread Flemming Boller
Hi Well after some debugging, searching nabble.com etc.. I finally found out what the problem was. After printing out the classloaders of the MySession.class.getClassloader() and the GetSesion().getClass().getCla... I found out it was 2 differentclassloaders. Reading at some Jetty forums

[Wicket-user] pagemap locking

2007-06-28 Thread Jonathan Locke
getting this exception. seems like a request thread might be hanging with the page map locked? anyone have any ideas? thanks! [11:19:44] ERROR - RequestCycle - After 1 minute the Pagemap null is still locked by: Thread[ajp-8009-1,5,main], giving up trying to get the page for

Re: [Wicket-user] pagemap locking

2007-06-28 Thread Martijn Dashorst
Yep, long running request blocks incoming request. Martijn On 6/28/07, Jonathan Locke [EMAIL PROTECTED] wrote: getting this exception. seems like a request thread might be hanging with the page map locked? anyone have any ideas? thanks! [11:19:44] ERROR - RequestCycle -

Re: [Wicket-user] Classcastexception and getSession

2007-06-28 Thread Martijn Dashorst
Heh... nice discovered one! This one goes into the books of nasty things not to do. Martijn -- Wicket joins the Apache Software Foundation as Apache Wicket Join the wicket community at irc.freenode.net: ##wicket Wicket 1.2.6 contains a very important fix. Download Wicket now!

Re: [Wicket-user] wicket security and acl files

2007-06-28 Thread Maurice Marrink
By the way, I'm not saying wicket security is bad, other than my example I think it is a well put together framework that beats the hell out of using JAAS. Thanks, i appreciate that :) I've had a pretty good look at wicket security but the conclusion that I've come to with that is it only

Re: [Wicket-user] pagemap locking

2007-06-28 Thread Jonathan Locke
makes sense all right. is there any way we could print out a stack trace of the thread that's holding the monitor we're trying to grab? maybe via JMX? this would be extremely useful when this exception is thrown! Martijn Dashorst wrote: Yep, long running request blocks incoming request.

Re: [Wicket-user] pagemap locking

2007-06-28 Thread Eelco Hillenius
makes sense all right. is there any way we could print out a stack trace of the thread that's holding the monitor we're trying to grab? maybe via JMX? this would be extremely useful when this exception is thrown! We've had a thread about that, and the conclusion was that this is possible (I

Re: [Wicket-user] pagemap locking

2007-06-28 Thread Jonathan Locke
yeah, i just figured that out. i'll just patch our wicket for now. but we should add this for wicket 1.4 (in a nicer way than this (generic utility method), of course): final StringBuilder builder = new StringBuilder();

[Wicket-user] Session.dirty()

2007-06-28 Thread Maurice Marrink
Hi, I am in the process of making wasp and swarm play nicer within a clustered environment. Johan suggested calling dirty() whenever i make a change in the session (which is where i store everything indirectly). But because i have login method on my authorization strategy (which should call dirty

Re: [Wicket-user] wicket security and acl files

2007-06-28 Thread craigdd
I understand what you are saying and I see how you have accomplished something similar to what I'm trying to do, however it seems to me that you are miss using the concept of a Principal. I'm not a security expert but a principal seems to point to an individual and not with something called

Re: [Wicket-user] wicket 1.3 and tomcat 5.5 filterStart severe error?

2007-06-28 Thread Nino Saturnino Martinez Vazquez Wael
Sorry for hanging on this for a couple of days... using the wicket 1.3 beta 2 release and mvn install on wicket quickstart project and the deploying on tomcat 6, with the war from target folder yields this on my laptop: jun 29, 2007 12:57:44 AM org.apache.catalina.core.StandardContext

Re: [Wicket-user] wicket 1.3 and tomcat 5.5 filterStart severe error?

2007-06-28 Thread Igor Vaynberg
add this into your pom: dependency groupIdorg.slf4j/groupId artifactIdslf4j-log4j12/artifactId version1.0.1/version /dependency dependency groupIdlog4j/groupId artifactIdlog4j/artifactId version1.2.14/version

Re: [Wicket-user] FormInput Example on 1.3 Clearing Radio/Check/Box on error

2007-06-28 Thread Joshua Lim
Here it is : https://issues.apache.org/jira/browse/WICKET-710 On 6/29/07, Igor Vaynberg [EMAIL PROTECTED] wrote: On 6/28/07, Joshua Lim [EMAIL PROTECTED] wrote: Hi I am encountering a behaviour on 1.3 trunk forminput on wicket-examples which I think wasn't the same before.(been away from

[Wicket-user] How to update multiple frames at the same time

2007-06-28 Thread Ken Leung
Say I have 2 frames - F(a) | F(b) --- F(b) has a button and onpressed, it will update/refresh F(b), but I also want to trigger an update to F(a) too. Any ideas of how to update F(a) also ? thx

Re: [Wicket-user] How to update multiple frames at the same time

2007-06-28 Thread Igor Vaynberg
On 6/28/07, Ken Leung [EMAIL PROTECTED] wrote: Say I have 2 frames - F(a) | F(b) --- F(b) has a button and onpressed, it will update/refresh F(b), but I also want to trigger an update to F(a) too. Any ideas of how to update