[Wicket-user] Back link problem again

2005-05-06 Thread Matej Knopp
are rendered. How can I (if there is a way) move the page to the front of session pages (so that other pages would expire sooner)? Recreating master page using BookmarkableLink is not a solution, since I need the master page remember it's state. Thanks -Matej Knopp

Re: [Wicket-user] Back link problem again

2005-05-07 Thread Matej Knopp
collections framework IMO. Check it out! Good luck, Eelco Matej Knopp wrote: Hi I know it's been discussed here already, but still I coudln't find a solution. The problem is that I've a detail page from which I want to have link to master page. The link is done like this: add (new PageLink

[Wicket-user] Page expired error

2005-05-18 Thread Matej Knopp
Hi. I'm getting a page expired error and I don't know why. I'm using wicket RC2. Every page expires on 10th reload. This only happens with internet explorer. Mozilla and Opera can reload the page as many times as needed with no problems. No other pages are created or reloaded, but the page

Re: [Wicket-user] WebPage and iframes

2005-06-26 Thread Matej Knopp
I think the point is not to reload entire page, just the part that has changed. IMHO a better solution than IFRAMEs would be to use AJAX, although it will take a while until wicket supports AJAX (1.1 I guess?) Eelco Hillenius wrote: Just for my understanding why would you actually want

Re: [Wicket-user] Hide real URL filter

2005-06-27 Thread Matej Knopp
Hmm.. It seems that disabled back button works only in Firefox/Mozzila and Internet Explorer. In opera the back button works even when the URL is the same. Matej Knopp wrote: Hi, I've developed a servlet filter that hides the real URL from the user. The real url is stored in the session

Re: [Wicket-user] Hide real URL filter

2005-06-27 Thread Matej Knopp
to disable the backbutton. The back button is a fact of live. It is what the users are used to what the know. if i go from a list page to a detailpage i want to be able to use the back button to go back to the listpage. johan - Oorspronkelijk bericht - Van: Matej Knopp [EMAIL PROTECTED

Re: [Wicket-user] Hide real URL filter

2005-06-27 Thread Matej Knopp
? Christopher L Merrill wrote: Matej Knopp wrote: In such application, in every detailpage there should be a link to masterpage, that properly updates the masterpage and IMHO user should only get there this way. Can't you accomplish the same thing using the Cache-control or Expires HTTP

Re: [Wicket-user] page basics

2005-06-30 Thread Matej Knopp
Norbert Sándor wrote: Hi, Hi Someone please help to understand the basics :) As I see, a new instance of a page is created for each request. So how and where can I store the state of the page? The instance of a page is created only once. Then it's stored in pagemap. It's not recreated on

Re: [Wicket-user] Struts vs Wicket

2005-06-30 Thread Matej Knopp
Hi. I've read the article and I agree but I think maybe there should be mentioned the page-expiring thing. In MVC framework, usually the page state is not stored on server. So if you have one page, open another in different window, work with the later one and then return to previous window,

Re: [Wicket-user] Struts vs Wicket

2005-06-30 Thread Matej Knopp
. In a normal single window/frame app a page expire is not very common (you have to go back 9 pages or something, you can configure that) And that looks fine to me (i think 4 levels is already more then most users are doing) johan Matej Knopp wrote: Hi. I've read the article and I agree but I think

Re: [Wicket-user] Specify pagemap for page class

2005-06-30 Thread Matej Knopp
. if this usage doesn't work for you, can you explain why? Matej Knopp wrote: Hi Is there any way to specify the pagemap name for certain page class/instance? I know there's a pageMap query parameter for bookmarkable page but that does not seem sufficient for me. I'd like to know if I can

Re: [Wicket-user] Specify pagemap for page class

2005-06-30 Thread Matej Knopp
- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matej Knopp Sent: Thursday, June 30, 2005 5:10 PM To: wicket-user@lists.sourceforge.net Subject: [Wicket-user] Specify pagemap for page class Hi Is there any way to specify the pagemap name for certain page class/instance? I know

Re: [Wicket-user] Specify pagemap for page class

2005-06-30 Thread Matej Knopp
this expresses what you want in a better way. Matej Knopp wrote: Okay, I won't touch it :) Only thing I want to do is to say that all pages of class EditPage will be in different pagemap than other pages. That all. I don't really want to mess with pagemap internals. Jonathan Locke wrote: do not do

Re: [Wicket-user] Specify pagemap for page class

2005-06-30 Thread Matej Knopp
, why is this a problem? is it new browser windows? because popups and frames should work fine with pagemaps... Matej Knopp wrote: I'm not quite sure. What if user opened 10 different edit pages and all of them would have isExpirable() returning false? Would it mean that no other pages could

Re: [Wicket-user] Letters for hangman?

2005-07-04 Thread Matej Knopp
I don't understand, what's the point of converting wicket-example into series of independent netbeans projects. Wouldn't it be simpler to create one netbeans web project, copy the source code from wicket examples into new project's src folder and also copy the contents of the web folder

Re: [Wicket-user] Problems with encoding and forms

2005-07-07 Thread Matej Knopp
Try changing the rendering strategy to REDIRECT_TO_RENDER and see if it works. I've had similiar problem and this solved it. But beware if you're using hibernate, redirect to render may cause problems with lazy initialized properties. Johan Compagner wrote: I have couple of questions: 1.

Re: [Wicket-user] Another page expiration thoughts

2005-07-07 Thread Matej Knopp
working with it. You can't because it's expired. It's no longer in the pagemap. But the detail pages (which are still in the pagemap) contain references to it. (Or at least in my application they do). On 7/7/05, Matej Knopp [EMAIL PROTECTED] wrote: Looking at my application I just realized one

Re: [Wicket-user] Another page expiration thoughts

2005-07-07 Thread Matej Knopp
. Matej Knopp wrote: Juergen Donnerstag wrote: I'm not an expert on this topic, but why is setResponsePage(back); setRedirect(true) not sufficient? I'm using constructs like setResponsePage(new MyPage()) from time to time and seems to works fine. Does the back instance contain the information

[Wicket-user] Component that would render in multiple tags

2005-07-10 Thread Matej Knopp
Hi, is it possible to make a component (derived from WebMarkupContainer) that would render in multiple tags? e.g. I have the following markup span wicket:id=component_idSomething/span and the result would be span wicket:id=component_idSomething/span another-tagSomething/another-tag Many

Re: [Wicket-user] Component that would render in multiple tags

2005-07-10 Thread Matej Knopp
This is something I wanted to avoid. I don't want the component to carry any markup, I want it to use parent's markup. Phil Kulak wrote: Yup, use a panel. -Phil On 7/11/05, Matej Knopp [EMAIL PROTECTED] wrote: Hi, is it possible to make a component (derived from WebMarkupContainer

Re: [Wicket-user] how about the preformance of wicket?

2005-07-11 Thread Matej Knopp
Well, I've done a simple profiling usin JProfiler beta. Beware I've never done any java profiling before. From what I've seen it really doesn't seem that managin state is a big overhead. It seems that the markup rendering is the bottleneck. http://knopp.sk/calltrees.zip Here are the

Re: [Wicket-user] how about the preformance of wicket?

2005-07-11 Thread Matej Knopp
Could you please post somewhere the war file with logging disabled? I tried adding log4j.properties with the following content log4j.threshold=info log4j.debug=false into the wicket-benchmark class path but it helped only a little. It seems that I'm doing something wrong. Thank you. Chris

Re: [Wicket-user] how about the preformance of wicket?

2005-07-11 Thread Matej Knopp
= priority value=INFO/ /category root appender-ref ref=CONSOLE/ /root /log4j:configuration Matej Knopp wrote: Could you please post somewhere the war file with logging disabled? I tried adding log4j.properties with the following content log4j.threshold=info log4j.debug

Re: [Wicket-user] how about the preformance of wicket?

2005-07-11 Thread Matej Knopp
Hmm.. Using YourKit Java Profiler, wicket really is only marginaly slower. I wonder why JProfiler makes such a difference (on the highest accurate settings). Matej Knopp wrote: Thank you. The results I get are mixed. When editing acustomer entry and saving it, the performance is comparable

Re: [Wicket-user] Spring Integration

2005-07-11 Thread Matej Knopp
The BeanFactory is created only on application startup. It's put in the application constructor. Or am I missing something? Actually, i'm using the spring ContextLoaderListener and then find the ApplicationContext in the ServletContext. I have this line in my Application.init () function

Re: [Wicket-user] Spring Integration

2005-07-11 Thread Matej Knopp
Nick Heudecker wrote: Then I'm confused. First day with Wicket and all... Isn't the Application object only created once? Yes, it is. On 7/11/05, Phil Kulak [EMAIL PROTECTED] wrote: Woa, Nick, not a good option. Creating an XmlBeanFactory is very expensive, something you want to do on

Re: [Wicket-user] Spring Integration

2005-07-11 Thread Matej Knopp
No problem, You've just overlooked it. To me, such things happen all the time :) Phil Kulak wrote: I'm sorry, Marej and Nick. I totally missed that Nick was creating the BeanFactory in the application. Disregard my posts in this topic. On 7/11/05, Matej Knopp [EMAIL PROTECTED] wrote: How do

Re: [Wicket-user] Nested beans as the model object

2005-07-12 Thread Matej Knopp
Hi. You can't access the nested properties directly from html as far as I know. For things like this you need to use the BoundCompoundPropertyModel. See http://wicket.sourceforge.net/wiki/index.php/Models -Matej Nick Heudecker wrote: Hi, For the first large form I'm building, I have a

Re: [Wicket-user] Nested beans as the model object

2005-07-12 Thread Matej Knopp
Yeah, I've seen it somewhere. I think it's a great idea. Actually, I think I've some components with - in their name, but it wouldn't take longer than few minutes to change :) Btw. what about other separators? (':' or '#' for example). Not that - would't be ok :) Eelco Hillenius wrote: Btw,

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

2005-07-12 Thread Matej Knopp
javax.servlet.ServletResponse; /** * * @author Matej Knopp * @version */ public class URLFilter implements Filter { // The filter configuration object we are associated with. If // this value is null, this filter instance is not currently // configured. private FilterConfig filterConfig

Re: [Wicket-user] Nested beans as the model object

2005-07-12 Thread Matej Knopp
didn't really decide on one, except that it has to be a java reserved character (so you can't use it in your property names). What do you prefer? Maybe we should have a vote on this? Eelco Matej Knopp wrote: Yeah, I've seen it somewhere. I think it's a great idea. Actually, I think I've some

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

2005-07-12 Thread Matej Knopp
to. Matej Knopp wrote: Well, I once wrote a servlet filter for use with wicket that can conceal the whole URL. Actually, it was inspired by your wizard example :) What it does is that the whole URL is stored in session, so there's no URL visible in browser URL field, back button is disabled

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

2005-07-12 Thread Matej Knopp
Okay, I don't object and vote for ':'. Eelco Hillenius 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

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

2005-07-12 Thread Matej Knopp
If I understand it correctly, the bean looks like this class BeanClass { Company company; // setters, getters } the component id is company.name and it's bound to the company.name property of the BeanClass object. Phil Kulak wrote: I like the colon myself, but I'm a little confused

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

2005-07-12 Thread Matej Knopp
Actually, I'd leave this to the url encrypter, because using '/' properly would mean changing the url structure. having ...library?component=7.border/books/2/moveDownversion=0interface=ILinkListener instead of ...library?component=7.border.books.2.moveDownversion=0interface=ILinkListener resp.

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

2005-07-12 Thread Matej Knopp
breadcrumbs only because the component hierarchy could not be properly reflected in the URL. Could someone explain me, why you have stuff like interface=ILinkListener in render request? What ILinkListener does? Does it do actual rendering? If not, why is it there? Michael. On 7/13/05, Matej

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

2005-07-12 Thread Matej Knopp
Hmm. You're right. I think that the version should have changed. Maybe someone will clarify this behavior (and tell if it's intentional). Michael Jouravlev 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

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

2005-07-12 Thread Matej Knopp
think anyone in this thread is dumb (that's including you :) As I recall, when I starting using wicket I was trying to figure the same things you are. Michael Jouravlev wrote: On 7/13/05, Matej Knopp [EMAIL PROTECTED] wrote: Well, I think that the default URL scheme is made to be as simple

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

2005-07-13 Thread Matej Knopp
Actually, there is some versioning still there. But if you turn of default versioning (via Application.getSettings ()), it works well. (resembles web islands behavior). Shouldn't be all versioning turned off for hangman? Btw. I tried another thing - add these headers to hangman

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

2005-07-13 Thread Matej Knopp
Well, these headers work with internet explorer. The page is properly reloaded on back button. But it does not work with Firefox nor does it work with opera. It think thigs would be easier if more browsers honored this headers. -Matej Johan Compagner wrote: Btw. I tried another thing

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

2005-07-13 Thread Matej Knopp
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. Michael Jouravlev wrote: On 7/13/05, Johan Compagner [EMAIL PROTECTED] wrote:

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

2005-07-13 Thread Matej Knopp
--- Not Found The requested URL /wicketdialog was not found on this server. --- It doesn't for me. What's supposed to be there? -Matej Eelco Hillenius wrote: http://www.superinterface.com/wicketdialog does not work? Eelco Michael Jouravlev wrote: On 7/13/05,

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

2005-07-13 Thread Matej Knopp
Hmm.. you can try http://widlak.intrak.tuke.sk:8080/wicket1/displaytag as well. But don't follow links to the link-omatic example :) I hope it works and you can get through my firewall. Matej Knopp wrote: Have a look at http://widlak.intrak.tuke.sk:8080/wicket1/library It works similiar way

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

2005-07-13 Thread Matej Knopp
Sorry, I disagree here. I think that it would bring unnecessary complexity. Actually, only the URLs will change. It should not affect any existing wicket programs. The user really doesn't have to care, if the components in url are separated by '.' or ':'. It really has nothing to do with class

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

2005-07-13 Thread Matej Knopp
, but they should be build by wicket too). -Matej Gili wrote: As soon as it affects Javascript (which Eelco mentioned it would) it becomes a user problem. And the unncessary complexity is all under the hood, where it should remain. Gili Matej Knopp wrote: Sorry, I disagree here. I think

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

2005-07-13 Thread Matej Knopp
restricting*. And it's also has it's issues. It was ment just as a proof of concept. I wanted to see if it's can be possible. And it is :) You can find the servlet filter somewhere in this thread as an attachment. -Matej Michael Jouravlev wrote: On 7/14/05, Matej Knopp [EMAIL PROTECTED

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

2005-07-13 Thread Matej Knopp
can you decide, for which one is the url relevant? Gili wrote: Matej Knopp wrote: Once again. There's no way for wicket to decide wheter '.' separates components or it's a part of component name. It's ambiguous. Therefore today '.' can't be part of component name. And that's what's wrong. OGNL

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

2005-07-13 Thread Matej Knopp
Gili wrote: Matej Knopp wrote: Once again. There's no way for wicket to decide wheter '.' separates components or it's a part of component name. It's ambiguous. Therefore today '.' can't be part of component name. And that's what's wrong. OGNL supports nested beans and this way it can't

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

2005-07-13 Thread Matej Knopp
]), hyphens (-), underscores (_), colons (:), and periods (.). So the choice is between hyphen and colon. As underscore is a valid identifier element for Java, and period is the thing we want to get rid of. Martijn Matej Knopp wrote: I don't know what's the state of current ajax implementation

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

2005-07-13 Thread Matej Knopp
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. -Matej Michael Jouravlev wrote: I decided to start a new thread about reload on Back. Despite of whether we as server-side developers

Re: [Wicket-user] Put page into pagemap on redirect

2005-07-15 Thread Matej Knopp
, Eelco Matej Knopp wrote: Hi I know I has already been discussed here but I'm not quite sure so I'm asking again. When I do this setResponsePage(page); setRedirect(true); and the page instance is no longer in pagemap, shouldn't it be put there? I'm using wicket 1.0 and it doesn't seem

Re: [Wicket-user] Put page into pagemap on redirect

2005-07-15 Thread Matej Knopp
offline. Could you be so kind and test whether this is still a bug? Cheers, Eelco Matej Knopp wrote: Hi I know I has already been discussed here but I'm not quite sure so I'm asking again. When I do this setResponsePage(page); setRedirect(true); and the page instance is no longer

Re: [Wicket-user] Put page into pagemap on redirect

2005-07-15 Thread Matej Knopp
. Maybe after 1.0? I'm sending you the current snapshot offline. Could you be so kind and test whether this is still a bug? Cheers, Eelco Matej Knopp wrote: Hi I know I has already been discussed here but I'm not quite sure so I'm asking again. When I do this setResponsePage(page

Re: [Wicket-user] Put page into pagemap on redirect

2005-07-15 Thread Matej Knopp
Yeah, I'm sorry to have misleaded you. Sometimes, tomcat droves me mad. I'm definitely going to check the JettyLauncher plugin. -Matej Eelco Hillenius wrote: Bummer. Ok, we'll look into it. Eelco Matej Knopp wrote: Actually, I double checked it and the bug is still here. Seems like tomcat

Re: [Wicket-user] Put page into pagemap on redirect

2005-07-15 Thread Matej Knopp
competitors :)), so maybe if you complain, he'll fix it :) Eelco Matej Knopp wrote: Yeah, I'm sorry to have misleaded you. Sometimes, tomcat droves me mad. I'm definitely going to check the JettyLauncher plugin. -Matej Eelco Hillenius wrote: Bummer. Ok, we'll look into it. Eelco Matej Knopp

Re: [Wicket-user] Put page into pagemap on redirect

2005-07-15 Thread Matej Knopp
or better said the JVM should reload code (hotswap) johan Eelco Hillenius wrote: Johan is one of the Sysdeo Tomcat plugin guys (we're competitors :)), so maybe if you complain, he'll fix it :) Eelco Matej Knopp wrote: Yeah, I'm sorry to have misleaded you. Sometimes, tomcat droves me mad

Re: [Wicket-user] Put page into pagemap on redirect

2005-07-15 Thread Matej Knopp
the page map when it is going to rendered. So a response page will from now always be at the front of its pagemap. I did this in 1.1 stream (beta will be released this weekend) do you need it in the 1.0 stream? Then we will backport it. (or i think eelco will do it anyway :)) johan Matej Knopp

Re: [Wicket-user] Why no page interface?

2005-07-15 Thread Matej Knopp
Peter Veentjer - Anchor Men wrote: Although I do use interfaces for my facade/dao. - In the beginning I though that it would be a good idea to create a dao abstraction. But my experience so far is that is it impossible to switch from Dao

Re: [Wicket-user] setRedirect(new Page()) in constructor?

2005-07-16 Thread Matej Knopp
This does work, but you have to call redirectTo instead of setResponsePage in your constructor. like redirectTo (new Page1(parameters)); -Matej josh lim wrote: I tried to use a setRespnosePage at first since that was how I used it on the onSubmit callbacks... but it did not redirect when I

Re: [Wicket-user] setRedirect(new Page()) in constructor?

2005-07-16 Thread Matej Knopp
it is inconsistent. Don't you think so? Eelco Matej Knopp wrote: This does work, but you have to call redirectTo instead of setResponsePage in your constructor. like redirectTo (new Page1(parameters)); -Matej josh lim wrote: I tried to use a setRespnosePage at first since that was how I used

Re: [Wicket-user] setRedirect(new Page()) in constructor?

2005-07-16 Thread Matej Knopp
once Josh On 7/16/05, Matej Knopp [EMAIL PROTECTED] wrote: It doesn't seem to be inconsistent to me. SetResponsePage sets a page to respond. But IMHO to respond you need an action first. In constructor, there's no such action. When you click on a link or submit a form, it is an action

Re: [Wicket-user] customize display-value for choicelist.

2005-07-16 Thread Matej Knopp
Hmm.. I've extended the ChoiceList class to get this behavior. It works, but I really don't know if there's not a better solution for 1.0. In 1.1 things have changed and ChoiceList will no longer exist. Johan Compagner has posted details ~week ago. As for 1.0, I've done it this way public

[Wicket-user] Prevent label escaping the string

2005-07-16 Thread Matej Knopp
Hi Couple of days ago I needed to write some javascript (as wicket component). So I created a new label and put the javascript there. But of course it didn't work, because the string got escaped. Briefly looking at the source code, I've done it this way item.add (new Label (script, var

Re: [Wicket-user] Why no page interface?

2005-07-16 Thread Matej Knopp
Would be page interface enough? I mean, the only current usecase that were here presented is AOP, which IMHO would be nice to have but I'm afraid it's not worth the complication it would introduce. In my application, most of the actions belong to components. Forms, Links, even more

Re: [Wicket-user] Prevent label escaping the string

2005-07-17 Thread Matej Knopp
I think yes, I do. -Matej Juergen Donnerstag wrote: +1 Juergen On 7/17/05, Johan Compagner [EMAIL PROTECTED] wrote: +1 by me that should is strange Eelco Hillenius wrote: Do you want it changed in 1.1? Eelco Matej Knopp wrote: Wow. Now that's what can be called lack of perception

Re: [Wicket-user] Trouble with borders (ClassLoader problem)

2005-07-17 Thread Matej Knopp
The borders can be little complicated to use. In wicket 1.1 there is markup inheritance which IMHO simplyfies these things a lot. -Matej Peter Veentjer - Anchor Men wrote: I have removed them and now it works. The difference between a bordered page and a non bordered is: 1) in the html no

[Wicket-user] Actions on invisible components

2005-07-18 Thread Matej Knopp
Hi. I'm using wicket 1.0 and I just realized, that it is possible to invoke action (ILinkListener, etc) on an invisible component. Is this intentional? Because in my application it causes problems. For example I've page with my bean properties and several buttons to edit/manipulate it. I

Re: [Wicket-user] Actions on invisible components

2005-07-18 Thread Matej Knopp
when Wicket regconizes that an invisible component is called? Eelco Matej Knopp wrote: Hi. I'm using wicket 1.0 and I just realized, that it is possible to invoke action (ILinkListener, etc) on an invisible component. Is this intentional? Because in my application it causes problems

Re: [Wicket-user] Actions on invisible components

2005-07-18 Thread Matej Knopp
Sorry, ignore the previous post, I've sent it by mistake. -Matej Matej Knopp wrote: Johan Compagner wrote: redirect to the same page as you where on? So the just directly redirect to the invoker page if a component that is invisible (or one of the parents) But maybe developers or users get

Re: [Wicket-user] Actions on invisible components

2005-07-18 Thread Matej Knopp
be the component because that one was invisible so couldn't generate itself) johan Matej Knopp wrote: The easiest would be to do nothing. Do as normal, just ignore the action. So if put in a url that would trigger action on invisible component, I would just get redirected to appName

Re: [Wicket-user] Actions on invisible components

2005-07-18 Thread Matej Knopp
the error page is configurable. Martijn Matej Knopp wrote: The easiest would be to do nothing. Do as normal, just ignore the action. So if put in a url that would trigger action on invisible component, I would just get redirected to appName?component=Xinterface=IRedirectLitener,...etc Another

Re: [Wicket-user] Actions on invisible components

2005-07-18 Thread Matej Knopp
, as it is a (serious) security issue. However, the process of creating a new release will have its backlash on the development of 1.1. Putting out any release usually takes out a good part of a weekend day. Martijn Matej Knopp wrote: I suppose that this will be fixed in 1.1. Will it also be backported to 1.0

Re: [Wicket-user] why such a strange design in the AbstractValidator

2005-07-18 Thread Matej Knopp
Peter Veentjer - Anchor Men wrote: Another improvement: the Validator should not be so thightly coupled to the FormComponent ( have found no reason why it should). The Validator should validate a value and not a FormComponent and should return a collection of errors. This way the components

[Wicket-user] Generating html markup from template.

2005-07-19 Thread Matej Knopp
Hi. I know this is little off topic but I'd like to ask if anyone know an easy way to generate web pages from template within eclipse. Recently I started thinking about internationalizing my application and realized, that most of the strings to translate are actually in html files. So

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

2005-07-19 Thread Matej Knopp
Hi. Is there any way to disable automactic form validation when using multiple submit buttons? I remember some time ago one had to call validate on form manually form each handler. Now it's called automatically. I want to have a cancel button and having the form validated first means that

Re: [Wicket-user] Generating html markup from template.

2005-07-19 Thread Matej Knopp
What I wanted to do was having a one markup (like Page_src.html) that would look like html $(item1) /html and properties for different languages that could be used as model to generate Page_en, Page_sk, Page_de, etc. These pages would be generated statically from ide. But I don't want it

Re: [Wicket-user] Generating html markup from template.

2005-07-19 Thread Matej Knopp
=1235319group_id=119783atid=684978 Juergen, is there anything more we can do here? We had a discussion about 18n text replacing on this list last week too, so it seems like a good idea to consider whether we can support this better... Eelco Matej Knopp wrote: What I wanted to do was having

Re: [Wicket-user] Generating html markup from template.

2005-07-19 Thread Matej Knopp
in optimizing this because it won't happen periodicaly, only on markup reload. Well, I'm going to get some sleep, it's 3:12 AM here :) -Matej Matej Knopp wrote: I have done some basic stuff. I have UrlFilterResourceStream class with function String filter(String source) { ... } that can

Re: [Wicket-user] VOTE: make AbstractValidator threadsafe

2005-07-20 Thread Matej Knopp
+0 too. It seems to be a little bit better by design, making it threadsafe. But the real benefits are not clear no me. The gained speed improvement is IMHO unmeasurable. -Matej Eelco Hillenius wrote: Last week there was a discussion about making AbstractValidator thread safe. Who is for

Re: [Wicket-user] Custom message provider?

2005-07-21 Thread Matej Knopp
and add it into the ApplicationSettings? Igor -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matej Knopp Sent: Thursday, July 21, 2005 1:06 PM To: wicket-user@lists.sourceforge.net Subject: [Wicket-user] Custom message provider? Hi, there's

Re: [Wicket-user] Custom message provider?

2005-07-22 Thread Matej Knopp
(latin 2) encoding so that you don't need to put any escaped characters in. Then, as part of the build pocess run native2ascii on all of the properties files to get all the extended characters correctly escaped. regards, Chris Matej Knopp wrote: Hi, there's a big discussion today about

Re: [Wicket-user] Custom message provider?

2005-07-22 Thread Matej Knopp
want (see General - Content Types) Thank you. I overlooked this option. Though I knew I can set the encoding of specific property file. -Matej johan Matej Knopp wrote: Tried it. But I had to set the encoding of property files to iso8859-2 manually. When I forgot it, eclipse threw away all

Re: [Wicket-user] Wicket 1.1

2005-07-22 Thread Matej Knopp
to close the door on 1.0.2. Martijn Matej Knopp wrote: No need for 1.0 to be supported. -Matej Eelco Hillenius wrote: Lots of fixes and improvements this week. That's good. It getting harder to maintain the 1.0 branch though. The plan was not to do any API breaking fixes

Re: [Wicket-user] Internationalization HTML

2005-07-23 Thread Matej Knopp
wrote: I like it (haven't look at the source code, but I like the functionality). What about having a vote whether and where (which project) this should be integrated? I'm off to bed soon, but I'll certainly take a look tomorrow! Eelco Matej Knopp wrote: Hi. I've made a demo showing

Re: [Wicket-user] Internationalization HTML

2005-07-23 Thread Matej Knopp
it in the extensions project). I think that wicket core should be as small and thin as possible. IMHO this should be an add on. Not every wicket user needs translation. -Matej Eelco Matej Knopp wrote: I think the functionality is more important that the actual source code. This example

Re: [Wicket-user] Internationalization HTML

2005-07-23 Thread Matej Knopp
-extension? Juergen On 7/23/05, Matej Knopp [EMAIL PROTECTED] wrote: Eelco Hillenius wrote: Juergen Donnerstag wrote: we've discussed it already and agreed on waiting for Matej to come up with a first draft to proof that the idea works, and it obviously does very well. But I guess I'm

Re: [Wicket-user] Wicket 1.1-b1 released

2005-07-24 Thread Matej Knopp
1.1.0-b1 is a great release. I've succesfully upgraded my current project. It was almost painless :) Actually, it consisting of removing a class that was a wrapper around ListMultipleChoice, because it was obsolete in 1.1, as well as removing my own ChoiceList implementation, since it's no

Re: [Wicket-user] Wicket 1.1-b1 released

2005-07-24 Thread Matej Knopp
Sure you can. :) -Matej Martijn Dashorst wrote: Can I use this comment on my blog? A little advertisement never hurt ;-) Martijn Matej Knopp wrote: 1.1.0-b1 is a great release. I've succesfully upgraded my current project. It was almost painless :) Actually, it consisting of removing

[Wicket-user] Markup inheritance bug?

2005-07-26 Thread Matej Knopp
Hi, I'm using 1.1 and I just tried markup inheritance. It works almost ok, but there's one strange thing. The generated page source code starts with wicket:extend. It's even before doctype, and that's bad. It's there no matter if setStripWicketTags is on or off. Is this correct behavior?

Re: [Wicket-user] Markup inheritance bug?

2005-07-27 Thread Matej Knopp
/html Exactly. I'l check it. Thanks. -MAtej Juergen On 7/27/05, Matej Knopp [EMAIL PROTECTED] wrote: Hmm.. If this is default behavieor, then I think it's a little bit weird. Having wicket:extend before doctype causes problems. I still don't understand the reason for this. Having markup

Re: [Wicket-user] Markup inheritance bug?

2005-07-28 Thread Matej Knopp
is, what is more important. Juergen On 7/27/05, Matej Knopp [EMAIL PROTECTED] wrote: Juergen Donnerstag wrote: I agree, nothing should go before doctype. But we don't test it. Actually you might add doctype whereever you want to. I think none of the web frameworks validates the output. They all rely

Re: [Wicket-user] Markup inheritance bug?

2005-07-28 Thread Matej Knopp
? Juergen On 7/28/05, Matej Knopp [EMAIL PROTECTED] wrote: Hmm.. This does sound logical. But then we should use doctype of the component (inherited page) and put it in front, ignoring the doctype of the parent page. I understand, but IMO it is too much of magic. Will it be clear to every user

Re: [Wicket-user] Markup inheritance bug?

2005-07-28 Thread Matej Knopp
. I understand it's comes from the way markup inheritance is implemented. -Matej Matej Knopp wrote: SetStripWicketTag() should definitely be fixed. Once this is fixed, having doctype first would be nice, but not necessary. -Matej Juergen Donnerstag wrote: How important is it for you

Re: [Wicket-user] Markup inheritance bug?

2005-07-29 Thread Matej Knopp
I'm afraid not. When using markup inheritance and having setStrip... off, the result page looks like this wicket:extenddoctype... everybrowser will ignore doctype, as it's preceeded by wicket:extends. So no schema is going to help there. -Matej Eelco Hillenius wrote: Phil Kulak wrote: I

Re: [Wicket-user] Wicket 1.1-beta2 or rc1 this weekend?

2005-07-29 Thread Matej Knopp
Hmm.. couldn't there be both? public AbstractChoice(final String id, IModel model, final List choices, final IChoiceRenderer renderer) { this(id, model, new Model(choices), renderer) } public AbstractChoice(final String id, IModel model, final IModel

Re: [Wicket-user] Wicket 1.1-beta2 or rc1 this weekend?

2005-07-29 Thread Matej Knopp
wrote: Yes and on all its subclasses. But we could do that... Matej Knopp wrote: Yeah, 9 might seem a little bit scary number :) But i think most of them are self-explaining... -Matej Eelco Hillenius wrote: That would mean having 9 (!) constructors though... Eelco Matej Knopp wrote

Re: [Wicket-user] VOTE: remove moveUp/moveDown and removeLinks from ListView

2005-07-29 Thread Matej Knopp
+1 I've allways wondered why are they there :) -Matej Eelco Hillenius wrote: I think we should remove these methods. They are quite easy to implement yourself, and they limit the ways we can change ListView's internals. I can see they are 'handy', but I feel they also mess up the idea that a

[Wicket-user] How to invalidate session?

2005-07-31 Thread Matej Knopp
Hi. I've a logout link and I want it to invalidate the session and redirect to homepage. Is there a simple way to do this? Calling Session.invalidate() in link handler throws java.lang.IllegalStateException. Thanks -Matej --- SF.Net

Re: [Wicket-user] How to invalidate session?

2005-07-31 Thread Matej Knopp
() { getSession().invalidate(); } } Matej Knopp wrote: Hi. I've a logout link and I want it to invalidate the session and redirect to homepage. Is there a simple way to do this? Calling Session.invalidate() in link handler throws java.lang.IllegalStateException. Thanks -Matej

Re: [Wicket-user] Hibernate Sessions and Wicket

2005-07-31 Thread Matej Knopp
Matej Knopp wrote: How can you ensure that a session will be closed? What if user got disconnected? Will the session hang open until the http session timeout? Another problem that comes to my mind is that hibernate session is not thread safe. Using one session through multiple request you

  1   2   3   4   5   6   7   >