Re: [Wicket-user] wingS 2.0 v. wicket 1.1

2005-12-12 Thread Michael Jouravlev
On 12/11/05, Andrew Lombardi <[EMAIL PROTECTED]> wrote: > Programmers work in Java, Designers work in HTML, wicket follows the > separation of concerns fairly eloquently. This is a wrong principle. Modern-day web programming is not a CGI script + HTML 2.0. Web browsers are capable of Javascript, D

Re: [Wicket-user] To SSL And Back

2005-12-06 Thread Michael Jouravlev
On 12/6/05, Nick Heudecker <[EMAIL PROTECTED]> wrote: > I don't think redirecting to > an HTTPS page would work in checkAccess() because I believe form properties > from a POST would be lost. Unless you redirect with 307 which is supported by modern browsers (umm, differently). But in this case th

Re: [Wicket-user] Is "back button" supported in wicket-contrib-dojo-examples

2005-12-05 Thread Michael Jouravlev
http://www.onjava.com/pub/a/onjava/2005/10/26/ajax-handling-bookmarks-and-back-button.html On 12/5/05, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > gmail is doing this by changing an src attr of a frame - which does generate > an entry a browser can keep track of. while other things are done via xml

Re: [Wicket-user] Wicket job

2005-12-05 Thread Michael Jouravlev
On 12/5/05, Andrew Berman <[EMAIL PROTECTED]> wrote: > Cool, I just wanted to make sure I wasn't overstepping any bounds. > > I've attached the official job posting that we have. > > --Andrew Whoa, I have to look into Wicket list more often :-) I wish it were in San Diego. Michael.

Re: [Wicket-user] remove jsessionid in first page

2005-11-08 Thread Michael Jouravlev
/8/05, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > Are you sure that's for all appservers though? I think some don't do > it, and I don't see any reason for doing it either (as they can send > the cookie right away, right? > > Eelco > > On 11/8/05, Michael Jo

Re: [Wicket-user] remove jsessionid in first page

2005-11-08 Thread Michael Jouravlev
The very first time one accesses an application, session ID is in the address. So, for the first bookmarkable page you have two addresses, which screws up the browser history navigation. The simple answer: do one more redirect on first request. The more complex answer: do one more redirect when yo

Re: [Wicket-User] The first crack on wizard

2005-10-10 Thread Michael Jouravlev
just want to donate it and forget > about it? > > Eelco > > On 10/10/05, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > > Thanks. How about making this a Wicket-stuff project then? I'd like to > > have a more visible wizard 'solution' for Wicket use

Re: [Wicket-User] The first crack on wizard

2005-10-09 Thread Michael Jouravlev
Eelco, you can review the wizard's code, it is only three classes. If you find it useful, I can donate it to Wicket codebase, so it won't be an integration per se ;-) I will provide the three-panel wizard with an optional step, so it would be easier to see, how wizard engine helps to ensure the fl

Re: [Wicket-user] Good way to back up form state?

2005-10-05 Thread Michael Jouravlev
On 10/5/05, Timo Stamm <[EMAIL PROTECTED]> wrote: > Is support for flow oriented programming necesary? I think it is highly > desirable. With abstractions of data objects and editors (in the spirit > of the Code generator / Prototype generator thread), you can concentrate > on the most important pa

Re: [Wicket-User] The first crack on wizard

2005-10-05 Thread Michael Jouravlev
On 10/5/05, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > A couple of remarks (just looking at the example): > - does the boolean validate method, which seems to be the transition > mechanism, imply that transitions are binary? What about forks? Transition as an object is binary. Transition is a pa

Re: [Wicket-User] The first crack on wizard

2005-10-04 Thread Michael Jouravlev
I put some info in the wiki: http://www.wicket-wiki.org.uk/wiki/index.php/Building_wizard_functionality Michael. --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://s

Re: [Wicket-User] The first crack on wizard

2005-10-04 Thread Michael Jouravlev
One detail: modify index.html with the following: wizard - A simple two-step wizard Michael. On 10/4/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > Ugly, but simple example of two-step wizard can be found here: > http://www.superinterface.com/files/wicket-wizard-src.

[Wicket-User] The first crack on wizard

2005-10-04 Thread Michael Jouravlev
Ugly, but simple example of two-step wizard can be found here: http://www.superinterface.com/files/wicket-wizard-src.zip Read some related docs at https://easywizard.dev.java.net I am updating wiki, so stay tuned. Wiki does not accept file uploading, ugh. The Easy Wizard source code is includ

Re: [Wicket-user] Browser cache doesn't like Wicket "path"

2005-10-04 Thread Michael Jouravlev
The path counter issue is a result of creating several instances of one component, usually a Page. I asked about possibility of having only one instanse of a Page, for different reason then this one. Still, having only one instance of certain "entry" pages would solve the problem. Do bookmarkable p

Re: [Wicket-user] Anyway to make the url change?

2005-10-03 Thread Michael Jouravlev
You don't like "no-cache, no-store" cache-control header? On 10/3/05, Phil Kulak <[EMAIL PROTECTED]> wrote: > I've got a page that is versioned, but the models never change, so > neither does the URL. This means that the browser never refreshes the > page and changes are not shown to the user. Is

Re: [Wicket-user] Should the form's submit be called when there's a button?

2005-10-03 Thread Michael Jouravlev
I hate to repeat this again, It feels to me that Wicket has too much default processing and callbacks. I would prefer things to be simpler. Hit a button - call a button handler. Submitted form without button - call default handler. And do whatever you want from this handler: call form's submit, val

[Wicket-User] children

2005-09-29 Thread Michael Jouravlev
MarkupContainer has method add(child). This is not enough if one wants to use the same instance of component within several MarkupContainers. I think that Component must also have add(reference). When referenced component is encountered, it should not, for example, be set invisible, if referring c

Re: [Wicket-User] Too much automatic processing and indirection?

2005-09-29 Thread Michael Jouravlev
gation panel hides too, which is not what I want. Seems that I have to have different instances of the same navigation panel for each form. Michael > On 9/30/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > > Panel inside panel. > > > > In PanelPage example there is

Re: [Wicket-User] Too much automatic processing and indirection?

2005-09-29 Thread Michael Jouravlev
: - Contents of another panel. And to forgo separate java and html files for AnotherPanel. Instead, define AnotherPanel as inner class for MyPanel. Also, why included panel has different syntax than definition of outer panel? Michael. On 9/29/05, Michael Jouravlev <[EM

[Wicket-User] Too much automatic processing and indirection?

2005-09-29 Thread Michael Jouravlev
Seems to me that Wicket has too much indirection and hidden processing. I thought that Wicket would liberate me from unneeded automation, like Struts' population of actionform properties from request. Instead, I feel more constrained. Why I cannot call Form.submit from any method? Why I should do

[Wicket-User] Funny bug: DatePicker converts 9/35/05 to 10/05/05

2005-09-29 Thread Michael Jouravlev
9/65/05 is converted to 11/4/05, 13/01/06 to 1/1/07. Well, it has no problems with arithmetics ;-) Was this reported yet? I use ancient version wicket-1.1-b2 from distro, not from CVS. Michael. --- This SF.Net email is sponsored by: Power Arch

[Wicket-User] Why does MarkupContainer.add returns this?

2005-09-29 Thread Michael Jouravlev
I understand why StringBuffer.append returns this, but I would expect from MarkupContainer.add to return reference to added object. When StringBuffer.append.append.append is used, the content is chained into single object, while MarkupContainer.add.add.add would add a child to container. It would

Re: [Wicket-user] Should the form's submit be called when there's a button?

2005-09-28 Thread Michael Jouravlev
On 9/28/05, Phil Kulak <[EMAIL PROTECTED]> wrote: > I really don't think so. With browsers like IE it's easy to submit a > form with no button (hit return, for example). In this case it's nice > to put the default behavior in the form, but if it's always called you > can't do that. Sometimes IE se

[Wicket-User] Simple example of using panels

2005-09-28 Thread Michael Jouravlev
Is there a simple but complete example, which shows how to use panels within one Page? Michael. --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforg

Re: [Wicket-user] Good way to back up form state?

2005-09-27 Thread Michael Jouravlev
Darn, I just have to make a wizard for Wicket, have to keep promises... Anyway, this is my view on wizard/flow/state: * A web resource has address (hence can be bookmarked) In Wicket resource is represented with Page object. * A user can navigate to any bookmarkable resource using address bar in t

Re: [Wicket-user] Time Selection Component COMPLETE

2005-09-07 Thread Michael Jouravlev
What, 12 hours only? Where did you lose another 12? ;-) On 9/7/05, Nick Heudecker <[EMAIL PROTECTED]> wrote: > Okay, here's what worked for me: > > import org.apache.commons.logging.Log; > import org.apache.commons.logging.LogFactory; > import wicket.markup.html.form.DropDownChoice; > impor

Re: [Wicket-user] User session handling (like stateful beans)

2005-09-07 Thread Michael Jouravlev
Check SignIn application in the samples. See SignInSession class. Michael. On 9/7/05, Manuel Corrales <[EMAIL PROTECTED]> wrote: > Yes, sorry. I need to keep some info about an user, while is loged. The user > navigates over the site, trough several pages, and i need to keep info while > the user

[Wicket-user] Re: [Wicket-develop] Popups on http://wicket.sf.net

2005-09-07 Thread Michael Jouravlev
Spybot found only one "Alexa related" item, and a bunch of tracking cookies. Ad-aware removed 16 items. I tried with MSIE again and did not see popup message this time. On 9/7/05, Gwyn Evans <[EMAIL PROTECTED]> wrote: > [Sent direct as well] > > Michael, > Could you please do us a favour an

[Wicket-User] JSF vs. Tapestry

2005-08-25 Thread Michael Jouravlev
http://www.theserverside.com/articles/article.tss?l=JSFTapestry Maybe someone would like to do Wicket vs Tapestry vs JSF, or just Wicket vs Tapestry ;-) --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 200

Re: [Wicket-User] Easy way to update components

2005-08-19 Thread Michael Jouravlev
On 8/19/05, Johan Compagner <[EMAIL PROTECTED]> wrote: > why not hold an extra reference to that textfield in youre page or > another place you want. Right, have not thought of that ;) > But this shouldn't be nessesary. If you want to clear/reset things that > seems to me that is data > So you sh

[Wicket-User] Easy way to update components

2005-08-19 Thread Michael Jouravlev
If I reuse the same Page, I want to clear/reset components. In the SignIn example Page contains form, and form contains username and password. Seems that the only way to access these fields is to store their IDs in class fields while constructing, and then use them for (MarkupContainer) get(formId)

Re: [Wicket-user] Awfully quiet here...

2005-08-18 Thread Michael Jouravlev
Guerilla PR: http://www.javalobby.org/java/forums/t43982.html --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Ma

Re: [Wicket-user] Awfully quiet here...

2005-08-18 Thread Michael Jouravlev
Seems that you make it up on TSS ;) On 8/18/05, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > It seems like the mailservers are down again? The number of messages is > too little for an average Wicket day. > > Martijn --- SF.Net email is Spon

Re: [Wicket-User] final again

2005-08-12 Thread Michael Jouravlev
On 8/12/05, Johan Compagner <[EMAIL PROTECTED]> wrote: > Jonathan has already explain with pretty long emails why we have final > So please search these mailing list. I know, I know... I've read the faq. --- SF.Net email is Sponsored by the Bet

[Wicket-User] final again

2005-08-12 Thread Michael Jouravlev
How many annoyed users is needed to remove 'final' ? I understand the why 'final' is there, but I don't find it reasonable enough. Why treat Wicket users as idiots (though sometimes they probably are) who cannot properly override a method? For example, I wanted to create my own version of newPage

Re: [Wicket-user] Old versions, caches, and PageMaps

2005-08-12 Thread Michael Jouravlev
by the way, if you select "Books > Subjects", Amazon shows the "Subjects" page. But if you select any other category beneath "Books > Subjects", Amazon shows same page layout. Obviously, they did not want to create a separate page for all categories, and they use one template with different databas

Re: [Wicket-user] Old versions, caches, and PageMaps

2005-08-12 Thread Michael Jouravlev
On 8/12/05, Johan Compagner <[EMAIL PROTECTED]> wrote: > > If no one objects, I will give some attention to the urls, since ugly > > urls drive me crazy ;-) > > > i and i know almost all core developers of wicket really don't care. > Why is that so important ? I really don't get that. Of course, W

Re: [Wicket-user] Old versions, caches, and PageMaps

2005-08-12 Thread Michael Jouravlev
On 8/12/05, Johan Compagner <[EMAIL PROTECTED]> wrote: > Michael Jouravlev wrote: > > I would prefer that for pages which are not versioned and have only > > one instance, the url would be built using context root + Page name. > > Of course, page name should be uniqi

Re: [Wicket-user] Old versions, caches, and PageMaps

2005-08-12 Thread Michael Jouravlev
On 8/12/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > I don't like bookmarkable urls as they are now. First, they look ugly. > Second, the page is shown directly without redirection. On the > contrary, I want to send a command to a page, so it would process it, > and t

Re: [Wicket-user] Old versions, caches, and PageMaps

2005-08-12 Thread Michael Jouravlev
On 8/12/05, Johan Compagner <[EMAIL PROTECTED]> wrote: > > > In SignIn example link look like this: signin As > > you can see, there is no additional parameters, it simply navigates to > > signIn. WebRequestCycle considers this link as a homepage, and calls > > setResponsePage(homePage). At least

Re: [Wicket-user] Old versions, caches, and PageMaps

2005-08-12 Thread Michael Jouravlev
On 8/12/05, Johan Compagner <[EMAIL PROTECTED]> wrote: > > > This is what I am currently trying to do. I do not like that Wicket > > creates a new instance of component each time when I navigate to it. I > > > this is just not true. If you navigate you are pressing links that you > have created >

Re: [Wicket-user] Old versions, caches, and PageMaps

2005-08-12 Thread Michael Jouravlev
On 8/12/05, Dan Gould <[EMAIL PROTECTED]> wrote: > I've got an unusual use-case for a page and I'm confused about how to > accomplish this in Wicket. However, it seems to be that it should be > completely doable, even if I need to hack some stuff a bit. > > I have a page, (say, http://www.foo.com

Re: [Wicket-user] Problem with CompoundPropertyModel and multiple Submit Buttons

2005-08-11 Thread Michael Jouravlev
On 8/11/05, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > Its not that I don't trust the user, the point is to automate the 90% use > case which is to have something happen after the default form processing > updates your model. > > The internalOnClick will be finalized. So if you don't want default

Re: [Wicket-user] Problem with CompoundPropertyModel and multiple Submit Buttons

2005-08-11 Thread Michael Jouravlev
So the call chain would be: Button.internalOnClick() form.process(); onClick(); Where I can override onClick() for regular button, or override internalOnClick() for Cancel button, right? I still cannot get why it cannot simply be like your previous version, but without onSubmit(): Button {

Re: [Wicket-user] Problem with CompoundPropertyModel and multiple Submit Buttons

2005-08-11 Thread Michael Jouravlev
. This way you can add some code after the form, like redirect to a > different page. > > This allows you to have lets say two buttons that update your model, but > based on which one you pressed you go to a different page. Basically just > like the onsubmit() works now for non-

Re: [Wicket-user] Problem with CompoundPropertyModel and multiple Submit Buttons

2005-08-11 Thread Michael Jouravlev
On 8/11/05, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > If we decide to break all backwards compat, how about > > Button { > onclick() { > } > } > > And > > SubmitButton { > onclick() { getform().process(); } > onsubmit() {} <-- called by form after form processing

Re: [Wicket-user] Problem with CompoundPropertyModel and multiple Submit Buttons

2005-08-11 Thread Michael Jouravlev
On 8/11/05, Jonathan Locke <[EMAIL PROTECTED]> wrote: > > michael's message was confusing to me. i wasn't sure if he was talking > about forms or buttons. > or really what his original problem was. I am sorry, I was talking about buttons. > what is it that we gain here michael and what exactly

Re: [Wicket-user] Problem with CompoundPropertyModel and multiple Submit Buttons

2005-08-11 Thread Michael Jouravlev
On 8/11/05, David Liebeherr <[EMAIL PROTECTED]> wrote: > Why don't we just make it the simple way like SWING and have a Button > that acts like a Button? > When i make a new button i will juust have something like > Button.onClick(), not Button.unSubmit() not Form.onSubmit() or what ever. Yeah, ba

Re: [Wicket-user] Problem with CompoundPropertyModel and multiple Submit Buttons

2005-08-11 Thread Michael Jouravlev
Well, how Wicket is going to be better than Struts or JSF if you are doing the same thing? A lot of built-in call sequences that are hard to override. Same as with Struts reset/populate/validate. Everyone can turn off validation by setting parameter in xml file, but it is impossible to turn reset o

Re: [Wicket-User] "path" and versioning

2005-08-11 Thread Michael Jouravlev
On 8/11/05, Johan Compagner <[EMAIL PROTECTED]> wrote: > path=x is the pointer for wicket to lookup the component which it must > use to render you're page. > if you erase path=x then it can't lookup anything and it will create a > new page. > This doesn't have anything to do with versioning. Becau

[Wicket-User] "path" and versioning

2005-08-10 Thread Michael Jouravlev
Back to Wicket from Struts. I have dumb questions again :) I set setVersioned(false) in constructors for signin example application. It is called, I checked. Still, when I click on the "signin" link on the main examples page, I get a new clean component with incremented path number. If I understan

Re: [Wicket-user] Reference manual progress - part 2

2005-08-10 Thread Michael Jouravlev
On 8/10/05, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > Furthermore, I like writing DocBook, it makes it easy to create PDF, > single page HTML and multipage HTML. > > For writing large documents, DocBook is much better than Wiki. In this case it would be great if you check in the changes into

Re: [Wicket-user] Reference manual progress - part 2

2005-08-10 Thread Michael Jouravlev
On 8/10/05, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > All, > > I've been busy writing stuff on form processing. Some pieces are still not > done, because the Wicket code is not stable for 1.1 (at least, from what > I've seen on the user/dev lists). The validator piece is rather finished > t

[Wicket-User] [OT] Maven

2005-08-10 Thread Michael Jouravlev
Hi, If I want to rebuild Wicket or Wicket examples, is it possible to reuse the jars already in the lib directory? If I set maven.repo.local to lib, it does not really help, since Maven groups jars by subdirectories. Or maybe build script should be changed to allow "flat" directory for all librar

Re: [Wicket-user] My wicket application

2005-08-03 Thread Michael Jouravlev
On 8/3/05, Matej Knopp <[EMAIL PROTECTED]> wrote: > I have fixed it. It won't show the assignment anymore. But the fix works > only in IE and Firefox, opera users will be able to edit the assignment, > but they will get error on save (but not the ugly exception - nice error > page is work to be don

Re: [Wicket-user] My wicket application

2005-08-03 Thread Michael Jouravlev
On 8/3/05, Matej Knopp <[EMAIL PROTECTED]> wrote: > Btw. What do you think would be correct action? > > Showing user a message, that assignment has been deleted, > > or > > Being able to save the assignment, without throwing any exception? > > (or showing user a message, that assignment has bee

Re: [Wicket-user] My wicket application

2005-08-03 Thread Michael Jouravlev
Cool, very nice app! You said that any button could be pressed, so I did ;-)) * My Assignments, select any assignment and click "show" * Click "Delete" * Hit Back, the data is still there * While still on "show" page hit Refresh. Hmm, seems like the data was not deleted. * Click "Save" and get an

Re: [Wicket-user] Question concerning jsp/taglib integration in wicket

2005-08-03 Thread Michael Jouravlev
On 8/3/05, Matej Knopp <[EMAIL PROTECTED]> wrote: > Uff, nice article. Nevertheless, seeing all those hacks to get it work > reminded me why is wicket so cool. :) > > -Matej > > Michael Jouravlev wrote: > > I think this is relevant for this thread. I wrote an a

Re: [Wicket-user] Question concerning jsp/taglib integration in wicket

2005-08-03 Thread Michael Jouravlev
I think this is relevant for this thread. I wrote an article on JSP components, it is illustrated wit my Struts library, but I hope that it will be interesting for Wicket crowd too. The article is officially sheduled for 2005-08-04, and since it is already August 04 in some parts of the planet, an

[Wicket-User] Subsession objects - are they supported in Wicket?

2005-07-28 Thread Michael Jouravlev
Does Wicket support objects with lifespan longer than request but shorter than session (for the lack of a better word I decided to call them "subsession" objects)? Does it provide means to clean session automatically when I leave a page? I am sorry if I ask FAQ question, since I had to return to my

[Wicket-User] Wicket object model and HTML

2005-07-21 Thread Michael Jouravlev
I was reading a discussion on TSS about some yet another controller framework, and I came across this message: http://www.theserverside.com/news/thread.tss?thread_id=35297#178752 by Dennis Bekkering: "Since (x)html is hierarchical it can be perfectly translated into a class model." Bingo! Since I

Re: [Wicket-user] "back button" and actions against visible panels

2005-07-21 Thread Michael Jouravlev
On 7/21/05, Jon Carlson <[EMAIL PROTECTED]> wrote: > Consider the case where there is *one* Page instance with multiple > panels that are made hidden or visible by user interaction. Would it > be possible to use the back button to view representations of > currently hidden panels and do actions on

Re: [Wicket-user] Form validation with multiple submit buttons.

2005-07-19 Thread Michael Jouravlev
Imho doing this manually is better. I never liked automatic reset/populate/validate sequence in Struts. On 7/19/05, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > Yes, in 1.1. there is (was part of the refactoring I did on Form). > Button now has property 'immediate', which is false by default. When

Re: [Wicket-user] Caching components generated markup

2005-07-14 Thread Michael Jouravlev
Eelco, why bothering doing the job which is already done by browser vendors? Seems that currently only resources like images are marked with cache-control headers, and the lifetime is fixed. What is it? One hour? Page itself is not marked, but it is possible by pulling out the response object and s

Re: [Wicket-user] poll: what should we use as our component's path seperator?

2005-07-13 Thread Michael Jouravlev
Now I get it! /forminput is not a page name, it is the application name, because each example is a separate application. Now is it possible to have something like /forminput/localetestform instead of /forminput?component=1 Another question is several instances of the same page. You wrote th

Re: [Wicket-user] poll: what should we use as our component's path seperator?

2005-07-13 Thread Michael Jouravlev
Matej, thank you for the explanation. I still have couple of questions. Johan, if you read this email, I see that you removed reference to IRedirectListener as well as version number if page is not versioned. Thanks, this is great news. I still do not quite understand the following: === cut here

Re: [Wicket-user] Wicket newbie: session info in URL; "clean" URLs; multiple HTMLs for one component

2005-07-13 Thread Michael Jouravlev
I don't want to start advertising my stuff here, especially considering that it is for Struts and for JSP. But in its current form it does not really matter is it a complete page, or an element on a page. If you look at this example: http://www.superinterface.com/strutsdialog/logincontrol.html You

Re: [Wicket-user] Wicket newbie: session info in URL; "clean" URLs; multiple HTMLs for one component

2005-07-13 Thread Michael Jouravlev
Riiight... I just checked with GMail. I have the list of emails with some URL in the address bar. Then I selected one email, and GMail loaded it via Ajax. URL is obviously the same. But then I clicked Back and it returned to the list. Damn good, I'd say. They do it with some javascript I am sure. B

Re: [Wicket-User] Page caching and auto-reload on Back

2005-07-13 Thread Michael Jouravlev
On 7/14/05, Matej Knopp <[EMAIL PROTECTED]> wrote: > Actually, I'm afraid that there's no way of having web islands working > with opera. Because even if the URL doesn't change, opera is still able > to go back. Yes, that is exactly that I wanted to tell. But another idea that I wanted to convey,

[Wicket-User] Page caching and auto-reload on Back

2005-07-13 Thread Michael Jouravlev
I decided to start a new thread about reload on Back. Despite of whether we as server-side developers want to reload a page on going back, or not, there are browsers. And browsers are different. This thread is not about where page should be or should not be reloaded on Back. It has more informativ

Re: [Wicket-user] poll: what should we use as our component's path seperator?

2005-07-13 Thread Michael Jouravlev
On 7/13/05, Gili <[EMAIL PROTECTED]> wrote: > Matej Knopp wrote: > > I don't know, what was wicket main goal, but I don't think it was portal > > like system. Because the only urls, that make sense to be crawled are > > bookmarkable pages. All other URLs shouldn't be crawled at all, because > > the

Re: [Wicket-user] poll: what should we use as our component's path seperator?

2005-07-13 Thread Michael Jouravlev
On 7/13/05, Johan Compagner <[EMAIL PROTECTED]> wrote: > We could get rid of the interface=IRedirectListener and if a request is > made for: > > http://www.wicket-library.com/wicket-examples/forminput?component=0&version=0 > then that IRedirectListener is implied. > But getting rid of component=0&

Re: [Wicket-user] Wicket newbie: session info in URL; "clean" URLs; multiple HTMLs for one component

2005-07-13 Thread Michael Jouravlev
On 7/13/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > See this thread for insight: > http://forums.mozillazine.org/viewtopic.php?t=99885&start=0 > I understand that by posting this link I can swing the scales to "do > not reload" decision, but again, I want t

Re: [Wicket-user] Wicket newbie: session info in URL; "clean" URLs; multiple HTMLs for one component

2005-07-13 Thread Michael Jouravlev
On 7/13/05, Phil Kulak <[EMAIL PROTECTED]> wrote: > Personally, I would use another browser if it listened to web pages > instead of me. Just because the web designer thinks I need to refresh > the content when using the back button, doesn't mean I want to sit > there and wait for the new version t

Re: [Wicket-user] Wicket newbie: session info in URL; "clean" URLs; multiple HTMLs for one component

2005-07-13 Thread Michael Jouravlev
On 7/14/05, Matej Knopp <[EMAIL PROTECTED]> wrote: > Have a look at > http://widlak.intrak.tuke.sk:8080/wicket1/library > It works similiar way. > But it will be online only for a limited time. Less then one hour > probably. I've no other place to put it online at this time. Whoa, that is a cool o

Re: [Wicket-user] Wicket newbie: session info in URL; "clean" URLs; multiple HTMLs for one component

2005-07-13 Thread Michael Jouravlev
On 7/13/05, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > http://www.superinterface.com/wicketdialog does not work? > > Eelco Not yet :) Just yesterday I finally unpacked and built examples and started looking at the code. I guess I will go with multi-panel Page, seems the simplest choice for me.

Re: [Wicket-user] Wicket newbie: session info in URL; "clean" URLs; multiple HTMLs for one component

2005-07-13 Thread Michael Jouravlev
On 7/13/05, Johan Compagner <[EMAIL PROTECTED]> wrote: > Do you know an example on the web where the back button triggers a > reload (When there is no POST message warning!!) > Never seen this. I did see pages where they are saying this page is invalid http://www.superinterface.com/strutsdialog

Re: [Wicket-user] Wicket newbie: session info in URL; "clean" URLs; multiple HTMLs for one component

2005-07-13 Thread Michael Jouravlev
Mozilla/Firefox needs "no-store" or ("no-cache" and SSL) to reload a page on Back. MSIE is ok with "no-cache". http://forums.mozillazine.org/viewtopic.php?t=194821&highlight= Opera does not care about either, they say that chapter 13.13 of HTTP 1.1 spec requires that page history should display res

Re: [Wicket-user] Wicket newbie: session info in URL; "clean" URLs; multiple HTMLs for one component

2005-07-12 Thread Michael Jouravlev
On 7/12/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > On 7/12/05, Johan Compagner <[EMAIL PROTECTED]> wrote: > > I don't want to disable the back button > > Back button should work that is how a browser work. How all people that > > have used browsers a

Re: [Wicket-user] Wicket newbie: session info in URL; "clean" URLs; multiple HTMLs for one component

2005-07-12 Thread Michael Jouravlev
On 7/12/05, Johan Compagner <[EMAIL PROTECTED]> wrote: > I don't want to disable the back button > Back button should work that is how a browser work. How all people that > have used browsers are used to. By the way, check out http://www.wicket-library.com/wicket-examples/forminput example: chan

Re: [Wicket-user] poll: what should we use as our component's path seperator?

2005-07-12 Thread Michael Jouravlev
On 7/13/05, Matej Knopp <[EMAIL PROTECTED]> wrote: > Well, I think that the default URL scheme is made to be as simple as > possible. > If you don't like it, you are free to implement you own url obsfucation. > See wicket wiki for more detail. Thanks, I will take a look. > The ILinkListener indic

Re: [Wicket-user] poll: what should we use as our component's path seperator?

2005-07-12 Thread Michael Jouravlev
There is a point of view, which I tend to agree with, that URL should reflect document structure and be logical and consistent. That should appeal to you guys, since you like the hyperlinked document model :) The idea is that instead of library?component=7.border/books/2/moveDown&version=0&interf

Re: [Wicket-user] Wicket newbie: session info in URL; "clean" URLs; multiple HTMLs for one component

2005-07-12 Thread Michael Jouravlev
On 7/12/05, Phil Kulak <[EMAIL PROTECTED]> wrote: > Web islands can be nice, but I don't like the idea. Say I'm browsing a > pageable list. I go to page three, see some stuff, hit the back button > to go to page one again, then click a link. Wicket handles that > flawlessly right now. With a web is

Re: [Wicket-user] Wicket newbie: session info in URL; "clean" URLs; multiple HTMLs for one component

2005-07-12 Thread Michael Jouravlev
On 7/12/05, Johan Compagner <[EMAIL PROTECTED]> wrote: > Same thing for listviews. 1 page 2 renders: one with 10 elements and one > with 11. > When you go back to one it should restore that component state.. Ok, first of all, let's consider that I do not suggest to *change* current Wicket cycle. I

Re: [Wicket-user] poll: what should we use as our component's path seperator?

2005-07-12 Thread Michael Jouravlev
On 7/12/05, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > We have plans to replace the current dot ('.') seperator in component > paths by another character. The main reason for wanting this, is to > avoid conflicts with Ognl, and be able to use nested properties more > easily. E.g., when that fix i

Re: [Wicket-user] Localized Strings

2005-07-12 Thread Michael Jouravlev
On 7/12/05, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > Well, it's a matter of making choices really. For Wicket it is a design > decission to make everything a component, and nest those components > hierarchical. How about dynamic changing of component structure in runtime or at least swapping c

Re: [Wicket-user] Wicket newbie: session info in URL; "clean" URLs; multiple HTMLs for one component

2005-07-12 Thread Michael Jouravlev
> >Why session information is passed/stored as request variables? I would > >say that the whole point of session state is to store everything on > >server and to have "clean URLs", that is, without parameters. > > > That would prevent Wicket to do any 'back button detection'. > Furthermore, we need

Re: [Wicket-user] Re: Wicket newbie: session info in URL; "clean" URLs; multiple HTMLs for one component

2005-07-12 Thread Michael Jouravlev
I don't quite get the reason for having *any* information in the "render request" or how do you call it. You refresh a whole Page, so unless you use Ajax, you have to render all components on a page. Page is identified by URL, like /forminput. Is not this enough? I tried to read wiki on request/re

[Wicket-user] Re: Wicket newbie: session info in URL; "clean" URLs; multiple HTMLs for one component

2005-07-12 Thread Michael Jouravlev
Oh, almost forgot. Back to http://www.wicket-library.com/wicket-examples/forminput sample. After submit it shows http://www.wicket-library.com/wicket-examples/forminput?component=4&version=0&interface=IRedirectListener If I modify URL manually (remove interface=IRedirectListener) and go to http://w

[Wicket-user] Wicket newbie: session info in URL; "clean" URLs; multiple HTMLs for one component

2005-07-12 Thread Michael Jouravlev
Hi, I am just reading the doc (the old pdf), have not started with the code yet. Got some questions. (1) "All non-external pages in Wicket are not bookmarkable because they will contain information in the URL (query parameters) that refers to session information (which will not be available at