Re: wicket:enclosure and authorization

2007-11-02 Thread Maurice Marrink
On Nov 2, 2007 3:26 AM, Igor Vaynberg [EMAIL PROTECTED] wrote: if we rename it then we should also rename Component.RENDER action to Component.VISIBLE Perhaps something for after 1.3 is released? Maurice - To unsubscribe,

Re: Two forms on the same page

2007-11-02 Thread Cristi Manole
i think that's what i called imbricated :)) On 11/1/07, Igor Vaynberg [EMAIL PROTECTED] wrote: 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

Re: wicket:enclosure and authorization

2007-11-02 Thread Eelco Hillenius
On 11/1/07, Igor Vaynberg [EMAIL PROTECTED] wrote: if we rename it then we should also rename Component.RENDER action to Component.VISIBLE Do you really think it is worth it renaming this late in the game? Eelco - To

Submit Form Automatically during Load

2007-11-02 Thread Hubert Kauker
Hello... I want to support a URL like this: http://host/webapp/home/?userid=foopassword=barsubmit=true The page is meant to perform login. When both userid and password are correct, I want to pass to the following page directly. This works well. When the password is wrong, I want an

Re: Disabling Palette buttons

2007-11-02 Thread wheleph
I solved the problem by creating custom add and remove buttons. It turned out that the original buttons that are used by Palette are not subclasses of Button but subclasses of WebMarkupContainer and hence they don't properly support disabled state and generating of markup id. I wonder why plain

Re: wicket:enclosure and authorization

2007-11-02 Thread Johan Compagner
By the way, Component.RENDER doesn't have to be renamed for me either. Maybe add one extra method to component: isVisibleAllowed() that checks both properties: isRenderedAllowed and isVisible() and that method is again called for every component in the hierachy in isVisibleInHiearchy() i think

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

2007-11-02 Thread Francisco Diaz Trepat - gmail
Great. On 11/2/07, Matej Knopp [EMAIL PROTECTED] wrote: Thanks, I've assigned the issue to me, will look at it as soon as I have time. -Matej On 11/1/07, Francisco Diaz Trepat - gmail [EMAIL PROTECTED] wrote: Done, I reported the issue. Attached the Ziped QuickStart and added the FIX

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

2007-11-02 Thread Matej Knopp
Thanks, I've assigned the issue to me, will look at it as soon as I have time. -Matej On 11/1/07, Francisco Diaz Trepat - gmail [EMAIL PROTECTED] wrote: 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

Re: wicket:enclosure and authorization

2007-11-02 Thread Sebastiaan van Erk
Just some thoughts I have on the issue... Johan Compagner 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 isRenderedAllowed() is just isVisibleAllowed(), So rename it?? Note that your

Re: wicket:enclosure and authorization

2007-11-02 Thread Matej Knopp
I think this should wait after 1.3. And I'm not the one who's usually hesitating what it comes to breaking stuff :) -Matej On 11/2/07, Eelco Hillenius [EMAIL PROTECTED] wrote: On 11/1/07, Igor Vaynberg [EMAIL PROTECTED] wrote: if we rename it then we should also rename Component.RENDER action

Re: Preserving user input after form error

2007-11-02 Thread Igor Vaynberg
what servlet container are you using? i think this problem popped up on weblogic before and was due to a combination of a weblogic bug and the particular servlet mapping that was used. does the behavior happen to all form components or just some particular one? try it without that funky onerror()

Re: wicket:enclosure and authorization

2007-11-02 Thread Igor Vaynberg
this is how enabled works: the actual outcome of whether something will end up being enabled or not is the combination of isEnabled()isEnabledAllowed() for visibility it is currently: isVisible()isRenderAllowed() which makes little sense to me because i have to deal with two concepts: visibility

Re: Disabling Palette buttons

2007-11-02 Thread Igor Vaynberg
webmarkupcontainers were used because the buttons do not need to submit anything to serverside, they are just there to add an onclick javascript. i agree they dont handle disabling properly and that is a bug, please open a jira issue. -igor On 11/2/07, wheleph [EMAIL PROTECTED] wrote: I

Re: wicket:enclosure and authorization

2007-11-02 Thread Igor Vaynberg
this will make it hugely inconsistent with how isenabled() isenabledallowed() works. -igor On 11/2/07, Johan Compagner [EMAIL PROTECTED] wrote: By the way, Component.RENDER doesn't have to be renamed for me either. Maybe add one extra method to component: isVisibleAllowed() that checks both

Re: Get Page expired after closing javascript opened window (containing a wicket page)

2007-11-02 Thread Igor Vaynberg
make sure you are opening your popup in a different pagemap -igor On 11/2/07, pixotec [EMAIL PROTECTED] wrote: I'm developing a CMS in wicket and have a selfmade wysiwyg textarea in the page. when clicking on insert image an image dialog is opened in a new window. the dialog is a wicket

difference between Link(SomePage.class) and Link(new SomePage())

2007-11-02 Thread auron
Hey all, Sorry to be the wicket newbie, but I was wondering if you guys could help me to understand how Links work. I understand that when you do Link(SomePage.class), it calls the zero param constructor of SomePage, and when you do Link(new SomePage(someParams)) you can call other

Re: Prompting a User to Save When Leaving a Page

2007-11-02 Thread Christian Alejandro Marquez Grabia
I have a problem while doing this... I am using Wicket 1.2.6 and when I attempt to leave the page after modifying the form, the alert pops up, but if I select Cancel, in order to remain in the page, everything that had Ajax stops working, without any visible errors. Any ideas? Did anyone had the

TabbedPanel question

2007-11-02 Thread DRE
I have a question about the TabbedPanel. I've got a page that has a header, body, and footer. I've got a tabbedpanel with 3 tabs (each with a list of BookmarkablePageLinkssort of a submenu) in the header. When you click on a BookmarkablePageLink it loads the correct panel into the body of

Re: Submit Form Automatically during Load

2007-11-02 Thread Hubert Kauker
Nino.Martinez wrote: have you mounted the page? I want to support a URL like this: http://host/webapp/home/?userid=foopassword=barsubmit=true Well, no. I haven't. Even without mounting, in the absence of *submit* the *userid* and *password* parameters show up nicely in the page after

Re: pageMap question ?

2007-11-02 Thread Igor Vaynberg
On 11/1/07, mfs [EMAIL PROTECTED] wrote: 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

Re: wicket:enclosure and authorization

2007-11-02 Thread Johan Compagner
for visibility it is currently: isVisible()isRenderAllowed() which makes little sense to me because i have to deal with two concepts: visibility and rendering. from my point of view as a user i dont care to know about rendering, i just want to plop my components down and tweak their

RE: IE 3-7

2007-11-02 Thread William Hoover
Yeah, I was using a dedicated vm as well. It was interesting to see what some of our sites looked like under older versions of IE (3-5.5), but beyond that I can't see any practical reasons to do so. However, it is useful to have IE6 IE7 running under the same machine. Glad it could be of use

Re: wicket:enclosure and authorization

2007-11-02 Thread Sebastiaan van Erk
Johan Compagner wrote: true that if something is not rendered then it is not visible. The problem is that the you're confusing the name of the visible property with what it means, namely: isVisible() means is visible IF the component is allowed to render But the problem is that that line

Wicket jBPM

2007-11-02 Thread William Hoover
Has anyone successfully setup JBoss jBPM with Wicket? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Localizing title of ModalWindow

2007-11-02 Thread Per Newgro
Is it correct that the jira entry says it is fixed in beta4? Because we use beta4 and the title still needs a Model instead of an IModel. Cheers Per - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

subscription

2007-11-02 Thread Antoine Angénieux
- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Multiple wicket:child / tags on a single base page?

2007-11-02 Thread Stefan Fußenegger
Hi folks, I just stumbled on a situation where it would be useful to have two or more wicket:child / tags in a base page. Just consider a layout that consists of the usual footer, header, navigation, and content parts. But now, the content should be arranged in two columns, e.g. two different

Re: wicket:enclosure and authorization

2007-11-02 Thread Igor Vaynberg
security is bypassed anyways because most component writers will forget to do the double check. so neither solution is good. -igor On 11/2/07, Johan Compagner [EMAIL PROTECTED] wrote: for visibility it is currently: isVisible()isRenderAllowed() which makes little sense to me because i

Re: Submit Form Automatically during Load

2007-11-02 Thread Nino Saturnino Martinez Vazquez Wael
have you mounted the page? Hubert Kauker wrote: Hello... I want to support a URL like this: http://host/webapp/home/?userid=foopassword=barsubmit=true The page is meant to perform login. When both userid and password are correct, I want to pass to the following page directly. This works

RE: Preserving user input after form error

2007-11-02 Thread Chris Colman
can you make sure your servlet mapping is of form /foo/* -igor Yes it's of that form. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Multiple wicket:child / tags on a single base page?

2007-11-02 Thread Igor Vaynberg
this has been discussed multiple times on this list, search the archives. the conclusion has always been that what you want can be accomplished by factory methods on the basepage that generate panels. -igor On 11/2/07, Stefan Fußenegger [EMAIL PROTECTED] wrote: Hi folks, I just stumbled on

Re: wicket:enclosure and authorization

2007-11-02 Thread Johan Compagner
true that if something is not rendered then it is not visible. The problem is that the you're confusing the name of the visible property with what it means, namely: isVisible() means is visible IF the component is allowed to render But the problem is that that line above is not true...

OT Øredev...

2007-11-02 Thread Nino Saturnino Martinez Vazquez Wael
Anyone comming to the øredev developer congress...? regards Nino - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Wicket jBPM

2007-11-02 Thread Eelco Hillenius
On 11/2/07, William Hoover [EMAIL PROTECTED] wrote: Has anyone successfully setup JBoss jBPM with Wicket? Several people who I know. You can use jBPM like any regular Java API. Eelco - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: Multiple wicket:child / tags on a single base page?

2007-11-02 Thread Stefan Fußenegger
Thanks for that awesomely fast reply! I found an excellent thread in the archives that explains this topic very well - I swear I searched before, but obviously with the wrong keywords ;) http://www.nabble.com/Multiple-wicket%3Achild-tags-in-the-same-page-tf3775143.html To sum it up for those

Re: pageMap question ?

2007-11-02 Thread mfs
igor.vaynberg wrote: On 11/1/07, mfs [EMAIL PROTECTED] wrote: 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

RE: Wicket jBPM

2007-11-02 Thread William Hoover
I guess what I'm really asking is if anyone actually composed the UI integration piece that supports the API (similar to the JBoss jBPM webapp) so that all of the controller variables could be seamlessly linked to models. -Original Message- From: Eelco Hillenius [mailto:[EMAIL

Re: pageMap question ?

2007-11-02 Thread mfs
I do that..i mean this scenario is still sort of comprehensible where i say i want to view the previous page via a go-back link (and we can certainly achieve that with the way u mentioned)..but i what i would really want to know are some real life examples/scenarios/use-cases where i would come

Re: Is Beta5 coming soon? Beta4 has caused these issues for us....

2007-11-02 Thread Erik van Oosten
Hi, You mostly get NoSuchMethodErrors if one of the slf4j jars on your classpath is too old. But I guess you already knew that. You may find more help on the sl4j site. Regards, Erik. PS. on the dev list there was a vote with the result that Wicket 1.3 RC1 will be build (not

Re: Is Beta5 coming soon? Beta4 has caused these issues for us....

2007-11-02 Thread Gerolf Seitz
you have to use slf4j version 1.4.2 (instead of 1.0.x) in your pom file Gerolf On Nov 2, 2007 8:11 PM, landry soules [EMAIL PROTECTED] wrote: Hello Please Al, what is the fix for this problem with slf4j ? I spent half a day trying every possible combination between log4j and slf4j, and got

Re: pageMap question ?

2007-11-02 Thread Igor Vaynberg
for scenarios like those simply pass the page instance to another page class secondsteppage extends webpage { public secondsteppage(page first) { add(new link(go-back) { onclick() { setresponsepage(first); }}); } } -igor On 11/2/07, mfs [EMAIL PROTECTED] wrote: igor.vaynberg wrote:

WICKET-606 Broken Again in beta4?

2007-11-02 Thread Dan Syrstad
It appears that the issue http://issues.apache.org/jira/browse/WICKET-606 that was fixed in beta2 is broken again in beta4. Basically TextFields for Strings (configured with the defaults) are always converting to empty strings. They should convert to null by default based on the

Re: Localizing title of ModalWindow

2007-11-02 Thread Matej Knopp
Sorry, that is just a typo. Will be fixed in a second. -Matej On 11/2/07, Per Newgro [EMAIL PROTECTED] wrote: Is it correct that the jira entry says it is fixed in beta4? Because we use beta4 and the title still needs a Model instead of an IModel. Cheers Per

Re: Is Beta5 coming soon? Beta4 has caused these issues for us....

2007-11-02 Thread landry soules
Thanks for your answers, but still no success : I tried (once again) to use maven to generate a brand new project, but eclipse freezes when i import the project generated with mvn eclipse:eclipse -DdownloadSources=true... Is there something i'm missing ? In my classpath, i have

Re: WICKET-606 Broken Again in beta4?

2007-11-02 Thread Eelco Hillenius
If you see that it is broken, then please open the issue again. If it is, before fixing we really need to create a test case for this so that when we fix it, it stays fixed. Eelco On 11/2/07, Dan Syrstad [EMAIL PROTECTED] wrote: It appears that the issue

Re: Is Beta5 coming soon? Beta4 has caused these issues for us....

2007-11-02 Thread Gwyn Evans
Hi landry, Did you modify the SLF version specified in the created pom.xml before trying to import it? /Gwyn Friday, November 2, 2007, 8:36:37 PM, landry soules [EMAIL PROTECTED] wrote: ls Thanks for your answers, but still no success : ls I tried (once again) to use maven to generate a brand

Re: Is Beta5 coming soon? Beta4 has caused these issues for us....

2007-11-02 Thread landry soules
Actually, i didn't go on with maven, since my project is already quite advanced now, i don't want to reconfigure it to use maven. I just tried to create a sample project to figure out what is the correct combination of slf4j/log4j to use (bad idea, since it appears to be broken in the original

RE: Multiple wicket:child / tags on a single base page?

2007-11-02 Thread Chris Colman
I found an excellent thread in the archives that explains this topic very well - I swear I searched before, but obviously with the wrong keywords ;) http://www.nabble.com/Multiple-wicket%3Achild-tags-in-the-same-page-tf37 75143.html Multiple child/extends pairs (where you have to see such a

Re: Best practice question

2007-11-02 Thread James McLaughlin
Hi Doug, It is hard to say without knowing more about your app. As a rule, I never keep references to data in my components. Components have only refs to services (injectable) and all the data are encapsulated by IModels of one sort or another. The IModels always implement IDetachable and keep

One Page Load Producing Three GETs

2007-11-02 Thread Devin Venable
I've been trying to figure out why when I hit my wicket page, it loads three times. I discovered this while debugging...my constructor was called three times for my derived WebPage. I've captured the call stack produced by the three calls. (See below) In my web browser I'm merely pasting the

Re: difference between Link(SomePage.class) and Link(new SomePage())

2007-11-02 Thread auron
Hey Igor - Thanks for the reply. Unfortunately I am still having some trouble finding the solution for this. I've been using nabble to search the forums and so far I cannot find anything of use (perhaps my search terms aren't effective). it seems that main problem is that when invalidating a

Why is LoadableDetachableModel read-only?

2007-11-02 Thread Peter Dotchev
Hi, setObject() is not supported on LoadableDetachableModel because it extends AbstractReadOnlyModel. What is the reason for this? This way LoadableDetachableModel cannot be used with form controls. In my case I have a DropDownChoice with a list of non-serializable objects. What kind of model

RE: Preserving user input after form error

2007-11-02 Thread Chris Colman
what servlet container are you using? i think this problem popped up on weblogic before and was due to a combination of a weblogic bug and the particular servlet mapping that was used. Tomcat 5.5.20 does the behavior happen to all form components or just some particular one? All

Re: One Page Load Producing Three GETs

2007-11-02 Thread Martijn Dashorst
empty src attributes in img tags seem to cause this kind of problems. Not sure if that is your case though. Martijn On 11/2/07, Devin Venable [EMAIL PROTECTED] wrote: I've been trying to figure out why when I hit my wicket page, it loads three times. I discovered this while debugging...my

Re: Multiple wicket:child / tags on a single base page?

2007-11-02 Thread Eelco Hillenius
It would be quite feasible to add support for multiple overridden sections using the above tag names while remaining backwards compatible with existing markup by continuing to support the old child/extends tags working the way they always have. It's kind of a predictable answer, but the best

Re: Why is LoadableDetachableModel read-only?

2007-11-02 Thread Eelco Hillenius
setObject() is not supported on LoadableDetachableModel because it extends AbstractReadOnlyModel. What is the reason for this? Because load is an algorithm to get the value; if you set the value you have two different ways of getting that value which gets inconsistent easily. This way

RE: Multiple wicket:child / tags on a single base page?

2007-11-02 Thread Chris Colman
It would be quite feasible to add support for multiple overridden sections using the above tag names while remaining backwards compatible with existing markup by continuing to support the old child/extends tags working the way they always have. It's kind of a predictable answer, but the

Re: Multiple wicket:child / tags on a single base page?

2007-11-02 Thread Eelco Hillenius
There's nothing I would love more right now than to have to time to implement a patch to support multiple overridden sections in a wicket page but unfortunately time is one thing I don't seem to have much of these days. I can't believe 2007 is almost over - heck, where did this year go? Tell

RE: Multiple wicket:child / tags on a single base page?

2007-11-02 Thread Chris Colman
There's nothing I would love more right now than to have to time to implement a patch to support multiple overridden sections in a wicket page but unfortunately time is one thing I don't seem to have much of these days. I can't believe 2007 is almost over - heck, where did this year go?

Re: difference between Link(SomePage.class) and Link(new SomePage())

2007-11-02 Thread Ayodeji Aladejebi
boolean loggedIn = session.get().isSignedIn(); MySignInForm.setVisible(!loggedIn); then you can set your expired page settings to point to the page with your SignInForm hope this assists your design decision why should you invalidate a session by passing parameter to another page why not just

RE: Preserving user input after form error

2007-11-02 Thread Chris Colman
Could it be because the form page is bookmarkable? 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

Re: Preserving user input after form error

2007-11-02 Thread Igor Vaynberg
why dont you submit a quickstart and then we can figure out why its happening -igor On 11/2/07, Chris Colman [EMAIL PROTECTED] wrote: Could it be because the form page is bookmarkable? thats odd, all the values should be preserved, thats our rawinput that all formcomponents have. Do you