[Wicket-user] Page class instanciation in a tree navigated application

2007-02-11 Thread Natto Lover
Hi. This is my 3rd day with Wicket. I really like Wicket so far. I am looking through the docs and examples and their source, but came to a couple of questions. I want to know how the code will look like if I applied Wicket to one of my web apps. I have a domain model with lots of objects, too

Re: [Wicket-user] Page class instanciation in a tree navigated application

2007-02-11 Thread Igor Vaynberg
On 2/11/07, Natto Lover [EMAIL PROTECTED] wrote: My questions are: (1) Can I create URLs without instantiating the page objects? wicket has bookmarkable pages ( a page that has a default constructor or page(PageParameters) constructor ). you can create a url for this page without creating

Re: [Wicket-user] 1.3/2.0 Snapshots?

2007-02-11 Thread Johan Compagner
huh? Why is 2.0 not on apache yet? johan On 2/9/07, Igor Vaynberg [EMAIL PROTECTED] wrote: 2.0 and 1.2.x are here http://wicketstuff.org/maven/repository/wicket/ just not in org/apache/wicket yet -igor On 2/9/07, Ryan Sonnek [EMAIL PROTECTED] wrote: i can't wait for 2.0 snapshots! =)

Re: [Wicket-user] 1.3/2.0 Snapshots?

2007-02-11 Thread Martijn Dashorst
Because I (we) haven't fixed the pom's yet. Martijn On 2/11/07, Johan Compagner [EMAIL PROTECTED] wrote: huh? Why is 2.0 not on apache yet? johan On 2/9/07, Igor Vaynberg [EMAIL PROTECTED] wrote: 2.0 and 1.2.x are here http://wicketstuff.org/maven/repository/wicket/ just not

Re: [Wicket-user] Wicket-user Digest, Vol 9, Issue 100

2007-02-11 Thread Natto Lover
Thanks a lot! I'll try what you explained. Let me clarify the last part of my question. If so, how can I avoid creating duplicate instances for the same domain object when the user clicks the link for the same instance for multiple times? not sure what you mean by duplicate instances

[Wicket-user] render to file?

2007-02-11 Thread Francisco Treacy
Hi all, Is there a possibility to render a Wicket page to a file instead to the browser? In fact, i need to make an 'HTML offline export' of all products stored in database... how would you do to accomplish this, including stylesheets and images? (i already tried wget but I'm having problems

Re: [Wicket-user] Wicket-user Digest, Vol 9, Issue 100

2007-02-11 Thread Igor Vaynberg
well yes, there will be two pages pointing to the same dir, but wicket uses an LRU map to keep only X number of them in session. so eventually it will go away, you dont need to worry about it -igor On 2/11/07, Natto Lover [EMAIL PROTECTED] wrote: Thanks a lot! I'll try what you explained.

[Wicket-user] JS Error: Object expected - but only with wicket 1.2.5

2007-02-11 Thread Niels Bo
After switching from 1.2.4 to 1.2.5, I am seeing a lot of JavaScript errors Object expected on AjaxFallbackLink links. In development mode I also found that the WICKET AJAX DEBUG is often missing after using a AJAX link followed by a link to a bookmarkable/mounted page. Looking a the html

[Wicket-user] alternative to fragments?

2007-02-11 Thread Francisco Treacy
Hi all, Fragments allow to do selections in page's content, but I find this way too complicated to accomplish a simple if statement: I have a form. Inside it, an upload field, for images. Besides it, a little image preview and a delete link. I would like to easily switch between preview +

Re: [Wicket-user] alternative to fragments?

2007-02-11 Thread Martijn Dashorst
Why not use setVisible() on the components? Or subclass and override isVisible()? Martijn On 2/11/07, Francisco Treacy [EMAIL PROTECTED] wrote: Hi all, Fragments allow to do selections in page's content, but I find this way too complicated to accomplish a simple if statement: I have a form.

Re: [Wicket-user] render to file?

2007-02-11 Thread Igor Vaynberg
does wget keep the cookie for session tracking? -igor On 2/11/07, Francisco Treacy [EMAIL PROTECTED] wrote: Hi all, Is there a possibility to render a Wicket page to a file instead to the browser? In fact, i need to make an 'HTML offline export' of all products stored in database... how

[Wicket-user] Hotswap application

2007-02-11 Thread Jesse Barnum
I am trying to develop with Wicket in IntelliJ. Whenever I do a hotswap on some code changes, it seems like IntelliJ / Tomcat automatically redeploys the application and I get a 'Page Expired' error. Is there any way for me to run the app in debugger mode, make changes to methods,

Re: [Wicket-user] Hotswap application

2007-02-11 Thread Igor Vaynberg
we dont use any fancy launchers here, just this https://svn.apache.org/repos/asf/incubator/wicket/branches/wicket-1.x/wicket-examples/src/main/java/wicket/examples/StartExamples.java debug that as a java application, include a jetty dependency and you are ready to go. -igor On 2/11/07, Jesse

Re: [Wicket-user] Adding more roles to wicket-auth-roles

2007-02-11 Thread Jonathan Locke
Well, yes. ADMIN and USER are just string constants of no particular significance. You can use any strings you want without changing the source code. Matt Welch wrote: I'm trying to use wicket-auth-roles for authentication and authorization, but there are a few things I'm not quite

Re: [Wicket-user] Adding more roles to wicket-auth-roles

2007-02-11 Thread Matt Welch
Well, yes(and I could certainly be making this harder than it really is) but that doesn't seem to alleviate the issue with all of the classes in that use the Roles class explicitly. In any case, I took Igor's suggestion and used the great work in wicket-auth-roles as a guide and created

Re: [Wicket-user] Adding more roles to wicket-auth-roles

2007-02-11 Thread Jonathan Locke
it's been a long time since i worked on this code, so i don't recall the details that well. if there are specific things we could do to make wicket-auth-roles more reusable right out of the box, i think we should consider them... please feel free to file an RFE if you have a specific idea of

[Wicket-user] Bitte Login oder Registrieren.

2007-02-11 Thread Leo
That must be the key to your success. I talk about this off and on over at churchpundit. CommentsPage: congratulations! It's a wonderful, life-changing experience. Villa Rentals in Osceloa Florida Disney Orlando Area 1st Choice - Grand Palms 3 bed condo 5 miles to Disney Villa to rent Osceloa

Re: [Wicket-user] Adding more roles to wicket-auth-roles

2007-02-11 Thread Igor Vaynberg
i dont know if its worth doing this. the truth of the matter is that most apps have very different authorization schemes. i think what you will end up doing is creating something so generic it is convoluted, take a look at acegi - they tried to do that. i think we are better off with a concise

Re: [Wicket-user] Adding more roles to wicket-auth-roles

2007-02-11 Thread Jonathan Locke
yeah. i hear ya and i agree in general. but if there i something simple and straightforward we could do to make the existing code more broadly applicable or extensible somehow, why not at least put in an RFE to consider it? igor.vaynberg wrote: i dont know if its worth doing this. the