Re: [Wicket-user] programmatic access to a wicket site

2007-05-10 Thread Erik van Oosten
Lowell, Yes, it matters a great deal. The class java.net.HttpURLConnection does not give you return codes, it just throws an exception. You need to use something like apache commons HttpClient. Btw, if you can not massage Wicket into doing what you want, you can always add a self-written

Re: [Wicket-user] programmatic access to a wicket site

2007-05-10 Thread Lowell Kirsh
Really? What about the getResponseCode() method? http://java.sun.com/j2se/1.4.2/docs/api/java/net/HttpURLConnection.html#getResponseCode() But I'm sure if you are right about not being able to get it from that class, my clients will use the jakarta (or other) client instead. So the idea of

Re: [Wicket-user] Wicket-stuff GMAP

2007-05-10 Thread Nino Saturnino Martinez Vazquez Wael
Hi Iulian I'll start to upgrade the current 1.2 branch to be using the newest version of googlemaps. That will mean that I'll add support for these controls(I think two of them are already supported): * |GLargeMapControl| - a large pan/zoom control used on Google Maps. Appears in the

Re: [Wicket-user] programmatic access to a wicket site

2007-05-10 Thread Erik van Oosten
Yeah, weird it is. Perhaps that method only returns something when there was a result code representing a successful retrieval, so anything in the 200-299 range. I am positively very sure that non-2XX codes will trigger an IOException. Regards, Erik. Lowell Kirsh wrote: Really? What

Re: [Wicket-user] programmatic access to a wicket site

2007-05-10 Thread Lowell Kirsh
Strange, it says in the javadoc that it can return 404, for example. But it also says it'll throw an exception on a bad connection. Confusing indeed. On 5/10/07, Erik van Oosten [EMAIL PROTECTED] wrote: Yeah, weird it is. Perhaps that method only returns something when there was a result code

Re: [Wicket-user] wicket-contrib-dojo for wicket 1.3.0

2007-05-10 Thread Vincent Demay
Dragos Bobes a écrit : Thanks Vincent but unfortunately it doesn't work for me. I get the same exceptions when I try to use the drag-n-drop feature and I'm sure I'm using the latest jar. Please let me know if you need more info about the errors. Ok, so can you give me a little code

Re: [Wicket-user] Wicket-stuff GMAP

2007-05-10 Thread Nino Saturnino Martinez Vazquez Wael
Eeek. I have to use java 1.4, we need to have a branch for 1.4 and aswell for it to work for me. I've already managed to update to gmap2 and add below features in the 1.5 version. I've also converted the 1.5 to an 1.4 so when I get commit access I will make the to versions. Currently Im

Re: [Wicket-user] Question about WebApplication.mount(String path, PackageName packageName)

2007-05-10 Thread Jean-Baptiste Quenot
* JulianS: If you mount a package e.g. mount(/pages, PackageName.forClass(Index.class)); You will run into a RuntimeException if you type in a url like http://localhost:8081/quickstart/app/pages; (I'm using Wicket 1.2.5): WicketMessage: Unable to load class with name:

Re: [Wicket-user] Question about WebApplication.mount(String path, PackageName packageName)

2007-05-10 Thread Johan Compagner
who is making a patch :) On 5/10/07, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote: * JulianS: If you mount a package e.g. mount(/pages, PackageName.forClass(Index.class)); You will run into a RuntimeException if you type in a url like http://localhost:8081/quickstart/app/pages;

Re: [Wicket-user] AbortWithWebErrorCodeException not working as expected

2007-05-10 Thread Eelco Hillenius
See https://issues.apache.org/jira/browse/WICKET-552 On 5/10/07, Lowell Kirsh [EMAIL PROTECTED] wrote: I easily reproduced this problem. I did not use svn access, but instead went to the wicket main page and downloaded the 1.2.6 quickstart. I ran it and it worked. Then I went to the Index.java

[Wicket-user] getVariation and extended panels

2007-05-10 Thread Joshua Lim
Hi I have got a SuperPanel class that extends Panel, I have a few variations of html for this SuperPanel and am overriding the getVariation() method for to get what I want ...that's all good. Then I wanted to add a ChildPanel extending SuperPanel. and also I would like to have ChildPanel to

Re: [Wicket-user] programmatic access to a wicket site

2007-05-10 Thread Frank Bille
Perhaps take a look at: http://svn.apache.org/viewvc/incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/pages/InternalErrorPage.java?view=co specially in the configureResponse section. Frank On 5/10/07, Lowell Kirsh [EMAIL PROTECTED] wrote: Strange, it says

[Wicket-user] XML Parsing

2007-05-10 Thread edward durai
Hi Wicket Experts, I have one xml file, like Personal Information usernameDavid/username addressUSA/address /Personal Information I want to parse username and its value and address value. Is it possible in wicket? If Yes How? Thanking You Edward -- View this message in

[Wicket-user] Query String passing

2007-05-10 Thread edward durai
Hi, I am newbie of wicket, in jsp, consider one.jsp contains username field. When I click submit button goto another page that is two.jsp. I can get username field using request.getParameter(username); But In Wicket, How can I do it the same process? Please explain. Thanking You. -- View

Re: [Wicket-user] wicket-contrib-dojo for wicket 1.3.0

2007-05-10 Thread Dragos Bobes
Hi Vincent, Thanks again for your interest in helping me. I think I found the problem. I started a new project and the dojo stuff was working there. When I compared the two projects one of the differences was that in one of them (where dojo wasn't working) I was mounting the application's

[Wicket-user] How to pass the values from one page another page in wicket?

2007-05-10 Thread edward durai
Hi, I am newbie of wicket, in jsp, consider one.jsp contains username field. When I click submit button goto another page that is two.jsp. I can get username field using request.getParameter(username); But In Wicket, How can I do it the same process? Please explain me. Thanking You. -- View

[Wicket-user] How to pass the values from one page another page in wicket?

2007-05-10 Thread edward durai
Hi, I am newbie of wicket, in jsp, consider one.jsp contains username field. When I click submit button goto another page that is two.jsp. I can get username field using request.getParameter(username); But In Wicket, How can I do it the same process? Please explain. Thanking You. -- View

[Wicket-user] div id problem

2007-05-10 Thread Bernatet Mathieu
Hi, I try to apply css style on several div but wicket changes their id attributes defined in the html file. I have 3 custom panels that contain a DataView and I want to refresh them with ajax, so I make a call to setOutputMarkupId() method. This call changes the id defined in html file. I add an

[Wicket-user] wicket-contrib-push: bad dependency

2007-05-10 Thread Xavier Hanin
Hi, I think there is a problem with the current wicket-contrib-push pom: the dependency on dojo is: dependency groupIdorg.wicketstuff/groupId artifactIddojo/artifactId version1.3.0-SNAPSHOT/version /dependency but I think it should be:

Re: [Wicket-user] wicket-contrib-push: bad dependency

2007-05-10 Thread Xavier Hanin
BTW, there is the same kind of problem on wicket-contrib-push-examples, for the dependency on WCD and WCP. Xavier On 5/10/07, Xavier Hanin [EMAIL PROTECTED] wrote: Hi, I think there is a problem with the current wicket-contrib-push pom: the dependency on dojo is: dependency

Re: [Wicket-user] XML Parsing

2007-05-10 Thread Lennaert van der Linden
Hello Edward, I am new to wicket myself and wouldn't be surprised if it contained it's own XML parsing and binding library. But you probably don't want to rely on it, as it the wicket developers may decide to go for another library. You could look into: - jdom (haven't used this, but it looks

Re: [Wicket-user] webPages variableFlow, backButton, theSmartAndCorrectWay?

2007-05-10 Thread Johan Compagner
in 1.2 you really need to hold on to the pages else the can fall out of the page map and then you can never restore them Ofcourse if the state is just some data you could keep the model and rebuild the page with that model if needed? johan On 5/10/07, manuel barzi [EMAIL PROTECTED] wrote:

Re: [Wicket-user] How to find pages where we forgot to use detachable models?

2007-05-10 Thread Johan Compagner
what you can do is in detach you try to serialize all the pages that you render and test if it serializes. Or test if there are no special objects being written that you don't expect to be written (have a custom ObjectOutputStream for that) als wicket 1.3 does have now a special object output

Re: [Wicket-user] How to find pages where we forgot to use detachable models?

2007-05-10 Thread Eelco Hillenius
You do that with org.apache.wicket.util.lang.Objects.cloneObject(yourPage) Eelco On 5/10/07, Johan Compagner [EMAIL PROTECTED] wrote: what you can do is in detach you try to serialize all the pages that you render and test if it serializes. Or test if there are no special objects being

Re: [Wicket-user] div id problem

2007-05-10 Thread Matej Knopp
Right now, when you set outputmarkupid on component wicket doesn't honor the id specified in markup. One of the reasons is that when you use the component twice, the id is no longer unique. In you case I suggest you use css class instead of id to assign stylesheet to your elements. -Matej On

Re: [Wicket-user] wicket-contrib-push: bad dependency

2007-05-10 Thread Jean-Baptiste Quenot
* Xavier Hanin: BTW, there is the same kind of problem on wicket-contrib-push-examples, for the dependency on WCD and WCP. Hey Xavier, Do you already have a SourceForge account? Would you be interested in joining the team? ;-) -- Jean-Baptiste Quenot aka John Banana Qwerty

Re: [Wicket-user] How to pass the values from one page another page in wicket?

2007-05-10 Thread Johan Compagner
http://wicketstuff.org/wicket13/signin/ On 5/10/07, edward durai [EMAIL PROTECTED] wrote: Hi, I am newbie of wicket, in jsp, consider one.jsp contains username field. When I click submit button goto another page that is two.jsp. I can get username field using request.getParameter(username);

Re: [Wicket-user] wicket-contrib-push: bad dependency

2007-05-10 Thread Xavier Hanin
On 5/10/07, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote: * Xavier Hanin: BTW, there is the same kind of problem on wicket-contrib-push-examples, for the dependency on WCD and WCP. Hey Xavier, Do you already have a SourceForge account? Sure: xhanin Would you be interested in joining

[Wicket-user] newbie creating an expandable tree node with no children

2007-05-10 Thread sf
How can I create an expandable node when the node doesn't have any children. it seems as if the '+' sign is added automatically only when children exist (I am implementing a lazy loading tree, the children will be added only when the user expands the node)? Thanks Shula -- View this message in

Re: [Wicket-user] wicket-contrib-push: bad dependency

2007-05-10 Thread Jean-Baptiste Quenot
* Xavier Hanin: On 5/10/07, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote: Would you be interested in joining the team? ;-) I don't know if I'll have much time to contribute, but I'd be happy to join though. Congratulations, you're in! I can also provide patches, it's just more work

[Wicket-user] wicket-contrib-push: design discussion

2007-05-10 Thread Xavier Hanin
Hey WCP folks, I've just started using wicket-contrib-push, and I feel a bit at home with all these comments with my name as the author :-) I would like to discuss the design with you. For the moment there interfaces implemented by both timer and comet implementations, but it's not that easy to

Re: [Wicket-user] wicket-contrib-push: bad dependency

2007-05-10 Thread Xavier Hanin
On 5/10/07, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote: * Xavier Hanin: On 5/10/07, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote: Would you be interested in joining the team? ;-) I don't know if I'll have much time to contribute, but I'd be happy to join though. Congratulations,

Re: [Wicket-user] wicket-contrib-push: bad dependency

2007-05-10 Thread Vincent Demay
Jean-Baptiste Quenot a écrit : * Xavier Hanin: On 5/10/07, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote: Would you be interested in joining the team? ;-) I don't know if I'll have much time to contribute, but I'd be happy to join though. Congratulations, you're

Re: [Wicket-user] div id problem

2007-05-10 Thread Bernatet Mathieu
2007/5/10, Matej Knopp [EMAIL PROTECTED]: Right now, when you set outputmarkupid on component wicket doesn't honor the id specified in markup. One of the reasons is that when you use the component twice, the id is no longer unique. I understand that if the id is specified in the panel markup

[Wicket-user] (no subject)

2007-05-10 Thread 财务方面合作
尊敬的负责人(经理/财务):您好! 深圳万利豪商贸发展有限公司:在我公司持续稳定的发展中实业雄厚;有着一定的 社会关系。在我公司每月进项多销项少,每月有余额发票。对外联系些业务贵公司 在平时作帐及销售方面是需要用些票据可在我公司代开。如商品销售、地税建筑安 装、其它服务、运输、广告发票等……收费1.5%左右;还可代办海关缴款书。 在我公司成立多年一直坚持以信用,所开绝对真票;更希望贵公司共同合作快乐! 本公司的承诺:以最优惠的价格和最及时的服务满足你的要求;提供到位。如

Re: [Wicket-user] newbie creating an expandable tree node with no children

2007-05-10 Thread James McLaughlin
Hi Shula, You need to override isLeaf() in your TreeNode impl to return true. best, jim On 5/10/07, sf [EMAIL PROTECTED] wrote: How can I create an expandable node when the node doesn't have any children. it seems as if the '+' sign is added automatically only when children exist (I am

Re: [Wicket-user] Query String passing

2007-05-10 Thread Scott Swank
Check out the examples http://wicketstuff.org/wicket13/index.html in particular echo. N.b. there is a view source link in the top right corner that shows you the underlying html java. Scott On 5/10/07, edward durai [EMAIL PROTECTED] wrote: Hi, I am newbie of wicket, in jsp, consider

Re: [Wicket-user] Query String passing

2007-05-10 Thread Nino Saturnino Martinez Vazquez Wael
You need to grasp the concept of models, please see http://cwiki.apache.org/WICKET/working-with-wicket-models.html and this for an example. http://wicketstuff.org/wicket13/forminput/ edward durai wrote: Hi, I am newbie of wicket, in jsp, consider one.jsp contains username field. When I

Re: [Wicket-user] XML Parsing

2007-05-10 Thread Nino Saturnino Martinez Vazquez Wael
I think I would check xstream out. http://xstream.codehaus.org/ edward durai wrote: Hi Wicket Experts, I have one xml file, like Personal Information usernameDavid/username addressUSA/address /Personal Information I want to parse username and its value and address value.

[Wicket-user] DataView: fixed number of items per page

2007-05-10 Thread Bernatet Mathieu
Hi, I'm using dataView, and for design issues I want 5 items per pages even if they are empty whereas setItemPerPage() method only defines a maximum number of items to be displayed. Any suggestions? - This SF.net email is

Re: [Wicket-user] wicket-contrib-push: design discussion

2007-05-10 Thread Eelco Hillenius
The only thing that mildly bothers me is that the 'Push' sounds like on-way-traffic to me. Can we come up with additional ideas? Something with Channel in it maybe? Or am I the only one feeling uneasy with the name? Eelco On 5/10/07, Xavier Hanin [EMAIL PROTECTED] wrote: Hey WCP folks, I've

Re: [Wicket-user] DataView: fixed number of items per page

2007-05-10 Thread Bernatet Mathieu
I think I could use the IDataProvider.iterator(first, count) and always returns an iterator of which size is count. Any other suggestions? Mathieu 2007/5/10, Bernatet Mathieu [EMAIL PROTECTED]: Hi, I'm using dataView, and for design issues I want 5 items per pages even if they are empty

Re: [Wicket-user] wicket-contrib-push: design discussion

2007-05-10 Thread Vincent Demay
Eelco Hillenius a écrit : The only thing that mildly bothers me is that the 'Push' sounds like on-way-traffic to me. Can we come up with additional ideas? Something with Channel in it maybe? Or am I the only one feeling uneasy with the name? Xavier Hanin a écrit : So I suggest to remove

Re: [Wicket-user] getVariation and extended panels

2007-05-10 Thread Igor Vaynberg
could you more clearly define what you think the behavior should be, and what it is now? -igor On 5/10/07, Joshua Lim [EMAIL PROTECTED] wrote: Hi I have got a SuperPanel class that extends Panel, I have a few variations of html for this SuperPanel and am overriding the getVariation() method

Re: [Wicket-user] programmatic access to a wicket site

2007-05-10 Thread Igor Vaynberg
https://issues.apache.org/jira/browse/WICKET-552 -igor On 5/9/07, Lowell Kirsh [EMAIL PROTECTED] wrote: One of the requirements of the site that I'm building is that oneof the pages be exposed programatically so that other programs can 'call' it. They would know whether they'd succeeded or

Re: [Wicket-user] wicket-contrib-push: design discussion

2007-05-10 Thread Xavier Hanin
On 5/10/07, Vincent Demay [EMAIL PROTECTED] wrote: Eelco Hillenius a écrit : The only thing that mildly bothers me is that the 'Push' sounds like on-way-traffic to me. Can we come up with additional ideas? Something with Channel in it maybe? Or am I the only one feeling uneasy with the

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

2007-05-10 Thread dukejansen
Yup. That's why I was trying to do it using target.appendJavascript(window.location.reload()) instead of doing the setResponsePage server side...? Since I'm appending that Javascript AFTER the 'close modal window' call, it seems like it should be able to close the modal window client side, THEN

Re: [Wicket-user] Preventing DropDownChoice to reload the choice list on submit

2007-05-10 Thread Igor Vaynberg
ichoicerenderer needs an id and a display value, the converter only has a single tostring - would that be used for id or for display value? -igor On 5/10/07, Dimitrio [EMAIL PROTECTED] wrote: Thanks to everybody the replies! I played with form components for awhile and in particular with

Re: [Wicket-user] wicket-contrib-push: design discussion

2007-05-10 Thread Vincent Demay
Xavier Hanin a écrit : On 5/10/07, *Vincent Demay* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Eelco Hillenius a écrit : The only thing that mildly bothers me is that the 'Push' sounds like on-way-traffic to me. Can we come up with additional ideas? Something

Re: [Wicket-user] wicket-contrib-push: design discussion

2007-05-10 Thread Xavier Hanin
On 5/10/07, Vincent Demay [EMAIL PROTECTED] wrote: Xavier Hanin a écrit : On 5/10/07, *Vincent Demay* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Eelco Hillenius a écrit : The only thing that mildly bothers me is that the 'Push' sounds like on-way-traffic to me. Can we

Re: [Wicket-user] How to find pages where we forgot to use detachable models?

2007-05-10 Thread Igor Vaynberg
make sure you call super.detach() first though -igor On 5/10/07, Johan Compagner [EMAIL PROTECTED] wrote: what you can do is in detach you try to serialize all the pages that you render and test if it serializes. Or test if there are no special objects being written that you don't expect to

Re: [Wicket-user] wicket-contrib-push: design discussion

2007-05-10 Thread Eelco Hillenius
Right, so what do you think of addChannelEventListener and IChannelEventListener ? Better, but the nitpicker in me says that 'Listeners' wouldn't typically participate in the channel, whereas that what the implementations are supposed to do, right? Eelco

Re: [Wicket-user] wicket-contrib-push: design discussion

2007-05-10 Thread Eelco Hillenius
Btw, for a next design discussion, we'd better use the dev list. Eelco On 5/10/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Right, so what do you think of addChannelEventListener and IChannelEventListener ? Better, but the nitpicker in me says that 'Listeners' wouldn't typically

Re: [Wicket-user] div id problem

2007-05-10 Thread Igor Vaynberg
On 5/10/07, Bernatet Mathieu [EMAIL PROTECTED] wrote: 2007/5/10, Matej Knopp [EMAIL PROTECTED]: Right now, when you set outputmarkupid on component wicket doesn't honor the id specified in markup. One of the reasons is that when you use the component twice, the id is no longer unique. I

Re: [Wicket-user] wicket-contrib-push: design discussion

2007-05-10 Thread Xavier Hanin
On 5/10/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Right, so what do you think of addChannelEventListener and IChannelEventListener ? Better, but the nitpicker in me says that 'Listeners' wouldn't typically participate in the channel, whereas that what the implementations are supposed to

Re: [Wicket-user] DataView: fixed number of items per page

2007-05-10 Thread Igor Vaynberg
that will work. or you can create your own dataview :) look at DataViewBase, its only a few lines of code, so you can create your own subclass of AbstractPageableView where setitemsperpage works like you want. -igor On 5/10/07, Bernatet Mathieu [EMAIL PROTECTED] wrote: I think I could use

Re: [Wicket-user] wicket-contrib-push: design discussion

2007-05-10 Thread Xavier Hanin
On 5/10/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Btw, for a next design discussion, we'd better use the dev list. Right, sorry about that. Xavier Eelco On 5/10/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Right, so what do you think of addChannelEventListener and

Re: [Wicket-user] div id problem

2007-05-10 Thread Xavier Hanin
On 5/10/07, Igor Vaynberg [EMAIL PROTECTED] wrote: On 5/10/07, Bernatet Mathieu [EMAIL PROTECTED] wrote: 2007/5/10, Matej Knopp [EMAIL PROTECTED]: Right now, when you set outputmarkupid on component wicket doesn't honor the id specified in markup. One of the reasons is that when you use

[Wicket-user] session authentication

2007-05-10 Thread eddmosphere
Hi there! I having a bit of trouble implementing session authentication in my application. That is, I haven't quite figured out how to control authentication page access. I would really appreciate if someone could send me a simple application with a Login Page that provides access to a Welcome

Re: [Wicket-user] wicket-contrib-push: design discussion

2007-05-10 Thread Eelco Hillenius
The two current implementation of IPushBehavior would stay behaviors, used by the IChannelService implementation, but not visible to the API user. Does it make sense? Yup. Agreed. Eelco - This SF.net email is sponsored

Re: [Wicket-user] session authentication

2007-05-10 Thread Marc-Andre Houle
http://wicketstuff.org/wicket13/signin and http://wicketstuff.org/wicket13/signin2 These are the best place to look! Marc On 5/10/07, eddmosphere [EMAIL PROTECTED] wrote: Hi there! I having a bit of trouble implementing session authentication in my application. That is, I haven't quite

[Wicket-user] Serious problem w/ Glassfish V2 Beta 2 Wicket

2007-05-10 Thread V. Jenks
I'm attempting to test against the latest Glassfish app server (V2 b41, a.k.a. Beta 2) and there seems to be an issue with wicket that didn't arise when I had tested it in earlier versions of Glassfish. I realize the app server may be to blame but that may not be entirely true, I'm just trying

Re: [Wicket-user] Serious problem w/ Glassfish V2 Beta 2 Wicket

2007-05-10 Thread Igor Vaynberg
On 5/10/07, V. Jenks [EMAIL PROTECTED] wrote: com.myapp.abcommerce.ui.admin.UserSession cannot be cast to com.myapp.abcommerce.ui.admin.UserSession ...oh REALLY now? this is a classloader problem. UserSession loaded by classloader A cannot be cast to UserSession loaded by classloader B

Re: [Wicket-user] Serious problem w/ Glassfish V2 Beta 2 Wicket

2007-05-10 Thread V. Jenks
Thanks for the insight Igor, very interesting, and it makes sense. However, it doesn't make sense. :P This has never happened to this application running on JBoss 4.0.x in over a yearand never happened when I tested it against Glassfish V1. Any idea what might be causing this? Both the

Re: [Wicket-user] Serious problem w/ Glassfish V2 Beta 2 Wicket

2007-05-10 Thread Igor Vaynberg
i dont use glassfish. just pointing out what can cause the problem. -igor On 5/10/07, V. Jenks [EMAIL PROTECTED] wrote: Thanks for the insight Igor, very interesting, and it makes sense. However, it doesn't make sense. :P This has never happened to this application running on JBoss 4.0.x

Re: [Wicket-user] div id problem

2007-05-10 Thread Alex Objelean
Would this solution work better for you? body wicket:extend div id=projects-panel div wicket:id=projects-panel/div /div div id=agents-panel div wicket:id=agents-panel/div /div div id=builds-panel div

Re: [Wicket-user] Problem with concurren ajax requests on page

2007-05-10 Thread Alex Objelean
I managed to migrate my application to wicket-1.3 ... but the same problem still persist...:( - this time it is complaining that he is unable to find the componentRelativePath of the component which is supposed to be added to the target. :( The problem with NPE in

Re: [Wicket-user] Question about WebApplication.mount(String path, PackageName packageName)

2007-05-10 Thread JulianS
Johan Compagner wrote: who is making a patch :) I don't know what the process is to submit patches, so I have attached them to this message. Julian http://www.nabble.com/file/8304/WebApplication.diff WebApplication.diff

[Wicket-user] Template Pages and Wicket: Best Way?

2007-05-10 Thread Fábio Bombonato
Hi Everyone, Well, I´m a newbie in Wicket framework and had some difficulty to figure out how is the best way to make a template page where all areas defined in this template could be changed for Pages that use it. I read many topics about template, layout in mail-list, some examples in Wicket

Re: [Wicket-user] div id problem

2007-05-10 Thread Bernatet Mathieu
answers follow ... 2007/5/10, Alex Objelean [EMAIL PROTECTED]: Would this solution work better for you? body wicket:extend div id=projects-panel div wicket:id=projects-panel/div /div div id=agents-panel div

Re: [Wicket-user] DataView: fixed number of items per page

2007-05-10 Thread Bernatet Mathieu
ok, I will take a look on it later Thanks Mathieu 2007/5/10, Igor Vaynberg [EMAIL PROTECTED]: that will work. or you can create your own dataview :) look at DataViewBase, its only a few lines of code, so you can create your own subclass of AbstractPageableView where setitemsperpage works like

Re: [Wicket-user] session authentication

2007-05-10 Thread eddmosphere
Thanks for the reply, Marc I've seen the examples, but didn't understand what were the basic steps to take..I'm confused whether to use wicket auth-roles, annotations, SignInPanel, SignInPage, etc etc.. :/ I'll take a better look ate the examples ;) Thanks again, Edd Marc-Andre Houle

Re: [Wicket-user] session authentication

2007-05-10 Thread Marc-Andre Houle
You can also download the source code of the examples to make some modification to see exactly what is happening... There not that much, I'm sure you'll get it... Marc On 5/10/07, eddmosphere [EMAIL PROTECTED] wrote: Thanks for the reply, Marc I've seen the examples, but didn't understand

Re: [Wicket-user] AbortWithWebErrorCodeException not working as expected

2007-05-10 Thread Lowell Kirsh
The solution you posted there looks workable. Instead of throwing an AbortException, I'd just call RequestCycle.get().setRequestTarget(...). However, it seems that to prevent the rest of my constructor from running (due to the error), I have to explicitly call 'return' (ie. can't use exception to

[Wicket-user] have problems with AjaxSelfUpdatingTimerBehavior and AjaxTabbedPanel

2007-05-10 Thread Murat Yücel
Hi All I had some problem with ajax when using wicket 1.2.6. I read the thread with the following subject: Problem with concurren ajax requests on page Matej suggested that a upgrade to wicket 1.3 would solve the ajax problem. So i upgraded the application to wicket-1.3.0-incubating-SNAPSHOT.

Re: [Wicket-user] Question about WebApplication.mount(String path, PackageName packageName)

2007-05-10 Thread Johan Compagner
make a jira issue for this https://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=truemode=hidepid=12310561sorter/order=DESCsorter/field=priorityresolution=-1component=12311420 On 5/10/07, JulianS [EMAIL PROTECTED] wrote: Johan Compagner wrote: who is making a patch :) I don't

Re: [Wicket-user] have problems with AjaxSelfUpdatingTimerBehavior and AjaxTabbedPanel

2007-05-10 Thread James McLaughlin
Hi Murat, I posted a hack to fix this several months back: http://www.nabble.com/AjaxTimer-clearTimeout-tf3364438.html#a9360559 Essentially, I have the timer check if the markup for the component it was bound to is still in the page, and return without firing if it is not. Hope this helps.

Re: [Wicket-user] have problems with AjaxSelfUpdatingTimerBehavior and AjaxTabbedPanel

2007-05-10 Thread James McLaughlin
erm, sorry that was: http://www.nabble.com/Re%3A-AjaxTimer-clearTimeout-p9401965.html On 5/10/07, James McLaughlin [EMAIL PROTECTED] wrote: Hi Murat, I posted a hack to fix this several months back: http://www.nabble.com/AjaxTimer-clearTimeout-tf3364438.html#a9360559 Essentially, I have the

Re: [Wicket-user] Problem with concurren ajax requests on page

2007-05-10 Thread Matej Knopp
Okay. Can you please create a quickstart that can be used to reproduce this and add attach it to a jira bug entry? Thanks -Matej On 5/10/07, Alex Objelean [EMAIL PROTECTED] wrote: I managed to migrate my application to wicket-1.3 ... but the same problem still persist...:( - this time it is

Re: [Wicket-user] Serious problem w/ Glassfish V2 Beta 2 Wicket

2007-05-10 Thread V. Jenks
It's cool, I got someone on the Glassfish forums to confirm that it's most likely an issue w/ the app server. I fell back to a prior version and the problem has disappeared completely. Thanks for the help, guys! Johan Compagner wrote: igor is right these are just 2 classloaders if you

Re: [Wicket-user] Problem with concurren ajax requests on page

2007-05-10 Thread Alex Objelean
I'll add a quickstart as soon as possible... (tomorrow by noon) Thank you! Matej Knopp-2 wrote: Okay. Can you please create a quickstart that can be used to reproduce this and add attach it to a jira bug entry? Thanks -Matej On 5/10/07, Alex Objelean [EMAIL PROTECTED] wrote: I

Re: [Wicket-user] have problems with AjaxSelfUpdatingTimerBehavior and AjaxTabbedPanel

2007-05-10 Thread Murat Yücel
Hi James Thanks for the fix. It works like a charm :)... Is this something that wicket will solve in a future release? /Murat 2007/5/10, James McLaughlin [EMAIL PROTECTED]: erm, sorry that was: http://www.nabble.com/Re%3A-AjaxTimer-clearTimeout-p9401965.html On 5/10/07, James McLaughlin

Re: [Wicket-user] Question about WebApplication.mount(String path, PackageName packageName)

2007-05-10 Thread JulianS
Done: WICKET-554 Johan Compagner wrote: make a jira issue for this https://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=truemode=hidepid=12310561sorter/order=DESCsorter/field=priorityresolution=-1component=12311420 On 5/10/07, JulianS [EMAIL PROTECTED] wrote: Johan

Re: [Wicket-user] session authentication

2007-05-10 Thread eddmosphere
I'm doing just that ;) let's see if I figure it out! Once again, thanks! Edd Marc-Andre Houle wrote: You can also download the source code of the examples to make some modification to see exactly what is happening... There not that much, I'm sure you'll get it... Marc On 5/10/07,

Re: [Wicket-user] AbortWithWebErrorCodeException not working as expected

2007-05-10 Thread Eelco Hillenius
It was a bug we didn't support it properly, and in trunk it's fixed now (note that the issue is set to 'resolved'). So put in that exception again, and you should be good. Eelco On 5/10/07, Lowell Kirsh [EMAIL PROTECTED] wrote: The solution you posted there looks workable. Instead of throwing

Re: [Wicket-user] RedirectPage and expiration

2007-05-10 Thread Eelco Hillenius
What version of Wicket are you using? Eelco On 5/9/07, Carlos Pita [EMAIL PROTECTED] wrote: Hi all, I have a page with a number of Links, some of them internal (to the wicket application), some of them external (to RedirectPages). If I follow one of the externals (opening it into a

Re: [Wicket-user] AbortWithWebErrorCodeException not working as expected

2007-05-10 Thread Lowell Kirsh
Thanks for your attention to this. Is there a roadmap of when 1.2.7 will be out? Or is 1.3.0 the next version? On 5/10/07, Eelco Hillenius [EMAIL PROTECTED] wrote: It was a bug we didn't support it properly, and in trunk it's fixed now (note that the issue is set to 'resolved'). So put in that

Re: [Wicket-user] AbortWithWebErrorCodeException not working as expected

2007-05-10 Thread Eelco Hillenius
1.3.x is the next version, and this is in trunk. I've only fixed it for that. If you really need it for 1.2.7, please re-open the issue and state that and selected 1.2.7 in the list. There's no roadmap for 1.2.7. It depends on severity of the bugs we fix for it and how badly people (tell us they)

[Wicket-user] WicketFilter doesn't work in Weblogic [Wicket 1.3]

2007-05-10 Thread dukejansen
I believe I have identified a rather serious bug in WicketFilter. I'm using a recent 1.3 snapshot, and I have recently updated our application to leverage the WicketFilter instead of WicketServlet. This is working great in Tomcat, but when we deploy to our Weblogic server, Wicket dies an ugly

Re: [Wicket-user] getVariation and extended panels

2007-05-10 Thread Joshua Lim
Ok I'll try... I was experimenting with the following with 2 panels... bascially ChildPanel.getVariation() will override the SuperPanel.getVariation() so I cannot have say a Blue SuperPanel and a Red ChildPanel... which would then make it possible to have flexible combination of layouts by

Re: [Wicket-user] WicketFilter doesn't work in Weblogic [Wicket 1.3]

2007-05-10 Thread dukejansen
Probably would be wise to look at all calls to HttpServletRequest.getServletPath. -- View this message in context: http://www.nabble.com/WicketFilter-doesn%27t-work-in-Weblogic--Wicket-1.3--tf3724994.html#a10424543 Sent from the Wicket - User mailing list archive at Nabble.com.

[Wicket-user] inspecting model from IComponentInstantiationListener

2007-05-10 Thread Ryan Sonnek
What exactly should a component instantiation listener be able to do? I'm trying to build one that will inspect the model of every component, but the model is not yet bound. is there a way to register a listener that is notified once the model is bound?

[Wicket-user] POST form submissions being converted to GETs

2007-05-10 Thread Lowell Kirsh
I have a wicket form which is supposed to be POSTing its data. Looking at the generated page, it is indeed method=post. But the page that it redirects to thinks that it is a GET. I found this information by doing: WebRequest request = (WebRequest) RequestCycle.get().getRequest(); String method =