Re: Stateless page and Pragma no-cache

2007-11-01 Thread Johan Compagner
you are right thats not handy. I made it just like we do with resources have a special overridable protected method that is called setHeaders() on WebPage Can you open an jira issue for this so that this is being shown as a change? johan On 11/1/07, John Patterson [EMAIL PROTECTED] wrote:

Re: Two forms on the same page

2007-11-01 Thread Martijn Dashorst
Yes it is possible so the error is somewhere in your code. Do you add the components for form2 to the form1? Martijn On 11/1/07, Cristi Manole [EMAIL PROTECTED] wrote: Hello, Simple question :) : Is it possible to have two forms on the same page, without having them imbricated? form

IExceptionResponseStrategy gone from 1.3

2007-11-01 Thread Dipu Seminlal
Hi all, I had a simple implementation of IExceptionResponseStrategy which helped me to do this protected IRequestCycleProcessor newRequestCycleProcessor() { return new DefaultWebRequestCycleProcessor() { protected IExceptionResponseStrategy

Re: Two forms on the same page

2007-11-01 Thread Dipu Seminlal
yes its possible to have two forms in the same page. if you could provide some more details, you are likely to get more helpful response :) Cheers Dipu On 11/1/07, Cristi Manole [EMAIL PROTECTED] wrote: Hello, Simple question :) : Is it possible to have two forms on the same page,

Re: Disabling Wicket Ajax Debug in browser

2007-11-01 Thread Martijn Dashorst
Yep, and if you have the debug link in a production system, you are deploying your wicket application wrong! So setting ajaxdebug to false should not be used in my opinion. Always switch the configuration to production when you build your war for deployment on a production system. Martijn On

Re: Two forms on the same page

2007-11-01 Thread Cristi Manole
thanks for your quick answer. here goes the problem details :) !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.1//EN http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd; html xmlns=http://www.w3.org/1999/xhtml; head wicket:head style !-- for autocomplete -- div.wicket-aa {

Re: Two forms on the same page

2007-11-01 Thread Cristi Manole
i am so sorry for your time. looked for ages at that tag. seems i should have a vacation is there a way to delete this thread? :) again, sorry for your time. On 11/1/07, Martijn Dashorst [EMAIL PROTECTED] wrote: form wiked:id = tableForm method = post action = maybe change this to

JDeveloper and Wicket

2007-11-01 Thread johnnyGRE
Hello, How can I setup wicket on JDeveloper? Can anyone help with a step-by-step guide specific on JDev? I have tried but no luck so far. Thanks for your time, John -- View this message in context: http://www.nabble.com/JDeveloper-and-Wicket-tf4730313.html#a13525928 Sent from the Wicket - User

Re: wicket:enclosure and authorization

2007-11-01 Thread Matej Knopp
I'd say more like the enclosure should check is the component will render rather than a simple isVisible check. -Matej On 11/1/07, Maurice Marrink [EMAIL PROTECTED] wrote: On Oct 31, 2007 9:58 PM, Igor Vaynberg [EMAIL PROTECTED] wrote: there seems to be a bit of a disconnect between render in

Re: Two forms on the same page

2007-11-01 Thread Martijn Dashorst
form wiked:id = tableForm method = post action = maybe change this to wicket:id? Martijn On 11/1/07, Cristi Manole [EMAIL PROTECTED] wrote: thanks for your quick answer. here goes the problem details :) !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.1//EN

Re: Synchronizing AutoCompleteTextField with a checkbox

2007-11-01 Thread Dipu Seminlal
hmmm, thats even better :) On 11/1/07, WicketKeeper [EMAIL PROTECTED] wrote: I'm a dumdum. The answer is to use AjaxCheckBox (duhh) Cheers WK WicketKeeper wrote: Hi I have an autocomplete field object with the getChoices method overridden, which works just fine. Next to it I

Re: Synchronizing AutoCompleteTextField with a checkbox

2007-11-01 Thread WicketKeeper
That would work as well, yes. I don't know if this is good practice, but the way I've done it now, which works, is: tsf = new TableSelectionField(TableNameAutoCompleteTextField); AjaxCheckBox tncb = new AjaxCheckBox(TableNamesRegexpCheckBox) { public void

Re: Synchronizing AutoCompleteTextField with a checkbox

2007-11-01 Thread WicketKeeper
I'm a dumdum. The answer is to use AjaxCheckBox (duhh) Cheers WK WicketKeeper wrote: Hi I have an autocomplete field object with the getChoices method overridden, which works just fine. Next to it I have a checkbox, which when checked alters the logic in getChoices so that the string is

Re: Problem closing a ModalWindow when used through an IFrame

2007-11-01 Thread Matej Knopp
The modal window probably won't work well when paced in a page that is loaded in iframe. Still, if you can provide a quickstart assigned to a JIRA entry I will take a look if there is a quick fix for your problem. -Matej On 11/1/07, Deepak Mahavishnu [EMAIL PROTECTED] wrote: Hello! I'm doing

Synchronizing AutoCompleteTextField with a checkbox

2007-11-01 Thread WicketKeeper
Hi I have an autocomplete field object with the getChoices method overridden, which works just fine. Next to it I have a checkbox, which when checked alters the logic in getChoices so that the string is interpreted as a regular expression. This DOES work: tsf = new

Re: mvn netbeans:netbeans command for QuickStart Project

2007-11-01 Thread Francisco Diaz Trepat - gmail
thanks al. i would not expect to, as so elocuently put, RTFM for some tool so outside wicket scope. rather wicket projects worked out me the box or with simpler tool such as ant. specially when we are trying to contribute to the cause. f(t) On 10/31/07, Al Maw [EMAIL PROTECTED] wrote: Francisco

Re: Synchronizing AutoCompleteTextField with a checkbox

2007-11-01 Thread Dipu Seminlal
try adding AjaxFormComponentUpdatingBehaviour to the the check box instead of setting wantOnSelectionChangedNotifications. as far as i know wantOnSelectionChangedNotifications will refresh the page. AjaxFormComponentUpdatingBehaviour will do an ajax call and won't refresh the entire page.

Re: wicket:enclosure and authorization

2007-11-01 Thread Johan Compagner
so now it calls isVisible? so just call isVisibleInHierarchy() so instead of this: * else* *if* (childComponent != *null*) { // Delegate to child component setVisible(childComponent.isVisible()); } do this: * else* *if* (childComponent != *null*) { // Delegate to child component

Re: wicket:enclosure and authorization

2007-11-01 Thread Johan Compagner
stupid extra linefeeds or carriage returns... How can you get rid of them when copy pasting. On 11/1/07, Johan Compagner [EMAIL PROTECTED] wrote: so now it calls isVisible? so just call isVisibleInHierarchy() so instead of this: * else **if* (childComponent != *null*) { // Delegate

Re: Problem closing a ModalWindow when used through an IFrame

2007-11-01 Thread Deepak Mahavishnu
Hi Matej! And thanks for a quick response! I opened a jira issue related to this. The quick start is very straight forward: Just create a html page with this source: html body iframe src= http://www.wicket-library.com/wicket-examples/ajax/modal-window.1; width=100% height=100%/iframe /body

Re: mvn netbeans:netbeans command for QuickStart Project

2007-11-01 Thread Francisco Diaz Trepat - gmail
Great Martjin I'll try it out. f(t) On 10/31/07, Martijn Dashorst [EMAIL PROTECTED] wrote: Netbeans has a module for direct maven support. I think you can download it in the plugin manager (I tried it once and that worked great, but I still didn't like netbeans). Martijn On 10/31/07,

{wicket 1.3 beta 4} Error handling (Internal error page)

2007-11-01 Thread Nino Saturnino Martinez Vazquez Wael
Hi Im doing some finishing touches at our web application. And Im trying to create a internal error page that gives the possibility for the user to get back to the page that caused the error, just in case that the circumstances that caused the error are gone. Now this is what I've done :

Re: JDeveloper and Wicket

2007-11-01 Thread hillj2
johnnyGRE wrote: Hello, How can I setup wicket on JDeveloper? Can anyone help with a step-by-step guide specific on JDev? I have tried but no luck so far. I'm not sure what fancy setup you're looking for, but I've done a little wicket in JDev (Version 10.1.3.2). Basically I add the

Re: {wicket 1.3 beta 4} Error handling (Internal error page)

2007-11-01 Thread Nino Saturnino Martinez Vazquez Wael
Appears I was wrong. This is actually working. I would still like to know if this is the correct way to do it? regards Nino Nino Saturnino Martinez Vazquez Wael wrote: Hi Im doing some finishing touches at our web application. And Im trying to create a internal error page that gives the

Re: BUG: Ajax Panel Replacement Issue on Fireforx only (Kind of Complex Scenario)

2007-11-01 Thread Francisco Diaz Trepat - gmail
Matej I've got the QuickStart. I've loaded it with Netbeans 6 beta 2 with the maven plugin. Everything compiled and ran perfectly. I added the panels that show the issue. Now what? Do I Zip the root project folder with all inside and attach it to a JIRA? thanks, f(t) On 10/31/07, Matej

Picklist?

2007-11-01 Thread SamImari
Hello, Is there a picklist component available in wicket? Regards, SAM -- View this message in context: http://www.nabble.com/Picklist--tf4731812.html#a13530160 Sent from the Wicket - User mailing list archive at Nabble.com.

ModalWindow question

2007-11-01 Thread Doug Leeper
I would like to use a ModalWindow to prompt for a choice of action for the user. Upon selecting the choice, I would like to close the ModalWindow then redirect the user to a page based on the selected choice. I know you can use setResponsePage in the Link on the ModalWindow page...so how would

Re: TabbedPanel

2007-11-01 Thread DRE
Thanks Igor I guess I was a little mixed up. So ... now I've got 3 tabs (each with a list of BookmarkablePageLinkssort of a submenu) When you click on a BookmarkablePageLink it loads the correct panel into the body of the main page. All of that is great except when I click on a

Re: Stateless page and Pragma no-cache

2007-11-01 Thread John Patterson
On 1 Nov 2007, at 02:38, Johan Compagner wrote: you are right thats not handy. I made it just like we do with resources have a special overridable protected method that is called setHeaders() on WebPage Can you open an jira issue for this so that this is being shown as a change?

Re: AjaxLazyLoadPanel in Beta3 is very lazy

2007-11-01 Thread SantiagoA
Thanks johan for the quick response. I was a little shocked by this answer, so my next question is a bit late. is there a way to fill a panel from serverside? i mean when i have data, which i get from an external WebService, is there a way to start filling a panel from serverside when the

Re: mvn netbeans:netbeans command for QuickStart Project

2007-11-01 Thread Gwyn Evans
Hi Francisco, Sorry, it does appear that we got it wrong as far the the mvn netbeans:netbeans instruction goes - I've updated the website source (it'll sync eventually) to remove that, leaving the suggestion that, with NB6, the pom.xml can be opened directly. As I use IDEA and most of the other

Re: BUG: Ajax Panel Replacement Issue on Fireforx only (Kind of Complex Scenario)

2007-11-01 Thread Matej Knopp
Yeah, that would work. Cheers, -Matej On 11/1/07, Francisco Diaz Trepat - gmail [EMAIL PROTECTED] wrote: Matej I've got the QuickStart. I've loaded it with Netbeans 6 beta 2 with the maven plugin. Everything compiled and ran perfectly. I added the panels that show the issue. Now what? Do

Re: mvn netbeans:netbeans command for QuickStart Project

2007-11-01 Thread Francisco Diaz Trepat - gmail
Great!!! f(t) On 11/1/07, Gwyn Evans [EMAIL PROTECTED] wrote: Hi Francisco, Sorry, it does appear that we got it wrong as far the the mvn netbeans:netbeans instruction goes - I've updated the website source (it'll sync eventually) to remove that, leaving the suggestion that, with NB6,

Re: IExceptionResponseStrategy gone from 1.3

2007-11-01 Thread Igor Vaynberg
override requestcycle.onruntimeexception() -igor On 11/1/07, Dipu Seminlal [EMAIL PROTECTED] wrote: Hi all, I had a simple implementation of IExceptionResponseStrategy which helped me to do this protected IRequestCycleProcessor newRequestCycleProcessor() { return new

Re: Two forms on the same page

2007-11-01 Thread Igor Vaynberg
wait until you discover we support embedded forms, that will really screw with your mind... -igor On 11/1/07, Cristi Manole [EMAIL PROTECTED] wrote: i am so sorry for your time. looked for ages at that tag. seems i should have a vacation is there a way to delete this thread? :) again,

Re: wicket:enclosure and authorization

2007-11-01 Thread Igor Vaynberg
i mean the action should be called VISIBLE instead of RENDER and we should also have isVisibleAllowed() just like we have isEnabled()/isEnabledAllowed() makes more sense? that way the check in enclosure is: if (child.isvisible()child.isvisibleallowed()) { ...} -igor On 11/1/07, Maurice

Re: Picklist?

2007-11-01 Thread Igor Vaynberg
http://wicketstuff.org/wicket13/compref/;jsessionid=8B0BE6767513433D186ACDA13707FC4F?wicket:bookmarkablePage=%3Aorg.apache.wicket.examples.compref.PalettePage -igor On 11/1/07, SamImari [EMAIL PROTECTED] wrote: Hello, Is there a picklist component available in wicket? Regards, SAM --

Re: IExceptionResponseStrategy gone from 1.3

2007-11-01 Thread Dipu Seminlal
Hi Igor, Many thanks for the reply, so will that be correct if i do the following in my application class /** * @see org.apache.wicket.Application#newRequestCycle( org.apache.wicket.Request, * org.apache.wicket.Response) */ public RequestCycle newRequestCycle(final

Re: AW: ModalWindow question

2007-11-01 Thread Doug Leeper
Thanks Stefan. I figured that this is what I was left with...had to wait to the onWindowCloseCallback to handle the user action properly. I was hoping for a more elegant (already built) means to be able to pass back to the calling ModalWindow to identify what action was performed. But since

Re: IExceptionResponseStrategy gone from 1.3

2007-11-01 Thread Igor Vaynberg
looks good -igor On 11/1/07, Dipu Seminlal [EMAIL PROTECTED] wrote: Hi Igor, Many thanks for the reply, so will that be correct if i do the following in my application class /** * @see org.apache.wicket.Application#newRequestCycle( org.apache.wicket.Request, *

Best practice question

2007-11-01 Thread Doug Leeper
I believe I may be doing somethings incorrect in my application because I just ran across an OutOfMemoryError and the steps involved were small. I did increase the memory size to -Xms256m -Xmx512m which got me past the original issue...but I did notice that the application heap size continues to

Re: Best practice question

2007-11-01 Thread Igor Vaynberg
i do the same thing all over the place and no memory issues here, so look for something else or use a profiler to see exactly what you are leaking -igor On 11/1/07, Doug Leeper [EMAIL PROTECTED] wrote: I believe I may be doing somethings incorrect in my application because I just ran across

Re: Best practice question

2007-11-01 Thread Doug Leeper
That is good that you do the same thing...so it must be my implementation that is wrong. I use an optimizer to find the issue. Do you recommend a reasonable one? Also, is it possible to introspect the serialized data? Also, I am using Hibernate. Would classes obtained via Hibernate that are

Re: wicket:enclosure and authorization

2007-11-01 Thread Johan Compagner
On 11/1/07, Igor Vaynberg [EMAIL PROTECTED] wrote: i mean the action should be called VISIBLE instead of RENDER and we should also have isVisibleAllowed() just like we have isEnabled()/isEnabledAllowed() thats just isRenderedAllowed() thats the same thing. Just different name rename it if

Re: trouble attaching source

2007-11-01 Thread Eelco Hillenius
I've used source attachements through mvn eclipse:eclipse with beta 3 and 4 without problems. Eelco On 11/1/07, Devin Venable [EMAIL PROTECTED] wrote: Has anyone encountered a problem attacheing wicket-1.3.0-beta2 source to Eclipse Europa (3.3)? Each time I attempt Eclipse gives me An error

Re: Best practice question

2007-11-01 Thread Igor Vaynberg
i use yourkit, it seems to work pretty darn well -igor On 11/1/07, Doug Leeper [EMAIL PROTECTED] wrote: That is good that you do the same thing...so it must be my implementation that is wrong. I use an optimizer to find the issue. Do you recommend a reasonable one? Also, is it possible

Re: wicket:enclosure and authorization

2007-11-01 Thread Igor Vaynberg
yes, but you see how we have two concepts: visible and render, where as we really only need one, i will tweak the enclosure and add isrenderallowed check -igor On 11/1/07, Johan Compagner [EMAIL PROTECTED] wrote: On 11/1/07, Igor Vaynberg [EMAIL PROTECTED] wrote: i mean the action should

Re: Best practice question

2007-11-01 Thread Matej Knopp
Yourkit really works pretty darn well. Btw. What wicket version are you using? And are you sure it's Wicket / Web that is leaking? -Matej On 11/1/07, Igor Vaynberg [EMAIL PROTECTED] wrote: i use yourkit, it seems to work pretty darn well -igor On 11/1/07, Doug Leeper [EMAIL PROTECTED]

Re: communication between frames and customizing LinkTree

2007-11-01 Thread Matej Knopp
Why do you use frames anyway? If you want to pass things between frames javascript is the only way, but I don't see what's the point of using frames when you have framework capable of Ajax partial page updates. -Matej On 11/1/07, Devin Venable [EMAIL PROTECTED] wrote: I posted a question a few

Re: Best practice question

2007-11-01 Thread Doug Leeper
I am using Jdk1.5 and Wicket 1.3/Trunk (from earlier this week) I just downloaded and installed YourKit. I stepped through my application and took snapshots. The bulk of the memory is in byte[]. Traversing the graph where this is located is in the

Re: Retrieving Post Parameters with PageParameters

2007-11-01 Thread Chris Fierer
Thanks for all the replies. I found out that the issue was related to my Apache settings and the names of my Inputs that I was passing over to the IFrame. No Wicket Issues here. - Chris Chris Fierer wrote: I am using an IFrame to call into a webpage with a form. When, that form is

Attaching Feedback from Child Form to Parent Feedback Panel

2007-11-01 Thread Chris Fierer
I was digging around for this the other day and didn't seem to find my answer. Here is my situation: I have a FeedbackPanel located in my Parent Page. Then, I have a form in my Child Page. I want the automated Wicket validation to attach it's messages to my feedback Panel in the Parent. I

Preserving user input after form error

2007-11-01 Thread Chris Colman
I've created a form and set up some validators on various fields. When there is an error and the page is redisplayed showing the errors none of the previous values that the user typed in are there. Is there an easy way to preserve the values already entered by the user? I tried overriding

Re: BUG: Ajax Panel Replacement Issue on Fireforx only (Kind of Complex Scenario)

2007-11-01 Thread Francisco Diaz Trepat - gmail
Done, I reported the issue. Attached the Ziped QuickStart and added the FIX or a Fix in the form of a Comment. Please let me know as I might done something incorrectly like filling the correct values for the properties of the Issue. Example: it is not major, it is minor. things like that. f(t)

Re: Preserving user input after form error

2007-11-01 Thread Johan Compagner
thats odd, all the values should be preserved, thats our rawinput that all formcomponents have. Do you have a repeater/listview around your formcomponents. On 11/1/07, Chris Colman [EMAIL PROTECTED] wrote: I've created a form and set up some validators on various fields. When there is an error

Re: wicket:enclosure and authorization

2007-11-01 Thread Johan Compagner
they are not really 2 concepts, if something is not visible then it wont be rendered or if something is not rendered then it is not visible, so isRenderedAllowed() is just isVisibleAllowed(), So rename it?? On 11/1/07, Igor Vaynberg [EMAIL PROTECTED] wrote: yes, but you see how we have two

Re: IE 3-7

2007-11-01 Thread Gerolf Seitz
On Nov 1, 2007 4:52 PM, William Hoover [EMAIL PROTECTED] wrote: If anyone is interested in running IE versions 3-7 on the same machine checkout http://tredosoft.com/Multiple_IE and http://tredosoft.com/IE7_standalone william, thanks for the link. i tried Multiple IE (for IE6) and it works

RE: Preserving user input after form error

2007-11-01 Thread Chris Colman
thats odd, all the values should be preserved, thats our rawinput that all formcomponents have. Do you have a repeater/listview around your formcomponents. Hmmm, I don't know why my form doesn't preserve it. Here's the source of the form. Can you spot anything that I'm doing wrong? //

RE: Preserving user input after form error

2007-11-01 Thread Chris Colman
Oh yeah, I'm using Wicket 1.2.6 if that has any bearing on the situation. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Using tables with the SortableListView

2007-11-01 Thread Roy van Rijn
Hi, I've been working on a project that uses the SortableListView (wicket extensions). My current code uses ul li tags to display the sortable list, just like the example shows here: http://wicketstuff.org/confluence/display/STUFFWIKI/Script.aculo.us+SortableListView But instead of having a li

Re: Preserving user input after form error

2007-11-01 Thread Johan Compagner
i dont know what goes wrong then for you because if i test this: http://wicketstuff.org/wicket12/forminput/ that that works fine. If you make a validation error on 1 the rest keep there values. On 11/1/07, Chris Colman [EMAIL PROTECTED] wrote: Oh yeah, I'm using Wicket 1.2.6 if that has

RE: Preserving user input after form error

2007-11-01 Thread Chris Colman
i dont know what goes wrong then for you because if i test this: http://wicketstuff.org/wicket12/forminput/ that that works fine. If you make a validation error on 1 the rest keep there values. The only difference I can see so far is that my form page is an 'extended' page where the

Removed Validator? (was Re: Two forms on the same page)

2007-11-01 Thread Gwyn Evans
Thursday, November 1, 2007, 4:26:24 PM, you wrote: IV wait until you discover we support embedded forms, that will really IV screw with your mind... Talking of which, are there any Best Practices for dynamic instances of that? The specific issue I've just run across is where I have a outer form

Re: communication between frames and customizing LinkTree

2007-11-01 Thread Devin Venable
I'd be happy to not use frames, but I don't have the choice at this time because the application is already written using frames and time won't permit a total rewrite---at least that was our thinking when we decided to leave most of the application as-is. From my experience so far, I guess we

pageMap question ?

2007-11-01 Thread mfs
PageMap stores a single instance of a particular page ? OR could it have multiple instances of the same page (browsed by user at different instances against 2 different use-case lets say), and if there could be muliple instances of the same page, its just the page being viewed which is in the

Re: Removed Validator? (was Re: Two forms on the same page)

2007-11-01 Thread Igor Vaynberg
looks like we need to update form processing code to skip inner disabled forms, mind making a jira issue? the whole concept is somewhat radical and we havent been able to think through it completely just because its new. so there are still a few caveats here and there for embedded forms. -igor

Re: wicket:enclosure and authorization

2007-11-01 Thread Igor Vaynberg
if we rename it then we should also rename Component.RENDER action to Component.VISIBLE -igor On 11/1/07, Johan Compagner [EMAIL PROTECTED] wrote: they are not really 2 concepts, if something is not visible then it wont be rendered or if something is not rendered then it is not visible, so

Re: Preserving user input after form error

2007-11-01 Thread Igor Vaynberg
can you make sure your servlet mapping is of form /foo/* -igor On 11/1/07, Chris Colman [EMAIL PROTECTED] wrote: i dont know what goes wrong then for you because if i test this: http://wicketstuff.org/wicket12/forminput/ that that works fine. If you make a validation error on 1 the

Re: pageMap question ?

2007-11-01 Thread mfs
Thanks igor, that really clarifies a lot of things..a couple of followup question though.. So as you said versioning is implemented to handle the back button (and subsequently forward properly, but i wonder if wicket enforces a hit to the server on a browser back button by setting every response

Re: Preserving user input after form error

2007-11-01 Thread Timo Rantalaiho
On Fri, 02 Nov 2007, Chris Colman wrote: private String captchaInput = new String(fred); private String captchaInput = fred; public final void onError() { super.onError(); // update model fields so the user doesn't have