Problem with page wich shown via pagelink

2008-04-10 Thread Иванов Дмитрий
Добрый день. I have page with form and feedback on it. Page is mounted under some path. When i access this page via mounted path - everything is ok - after processing form feedback panel shows error and/or other messages, as expected. But when i create PageLink to this page on the othe

Re: Facebook Wicket Integration

2008-04-10 Thread TH Lim
Hi, I have redeployed this application in another Tomcat server it worked. I have no idea what's wrong. It is a classic PEBCAK. However, there is a work around it which I used when the solution was not working. I directed the home Webpage to the Facebook login page if the user has not login ye

Re: ajax error handling on server side exception

2008-04-10 Thread Igor Vaynberg
actually i believe this is how it worked original, but then users wanted any kind of serverside error to go to the error page so we changed it -igor On Thu, Apr 10, 2008 at 8:20 PM, ywtsang <[EMAIL PROTECTED]> wrote: > > i can sucecssfuly use "getFailureScript" to act against the "client-side" >

Re: Attaching stuff to pages

2008-04-10 Thread David Leangen
I'm using MixedParamUrlCodingStrategy. Beautiful stuff! Just one prob on line 154: String value = (String)parameters.get(parameterName); This throws a ClassCastException, since parameters.get() returns String[] and not String. Doesn't this have to do with an api change in javax.servlet? S

ajax error handling on server side exception

2008-04-10 Thread ywtsang
i can sucecssfuly use "getFailureScript" to act against the "client-side" ajax error, i.e the server is down and ajax request is sent with failure can we have similar facility for "server-side" exception upon ajax request? e.g. for now, if the server throw exception during "onevent" of an ajax r

Re: Attaching stuff to pages

2008-04-10 Thread David Leangen
Cool! Thank you for the ultra-rapido reply. :-) On Thu, 2008-04-10 at 19:44 -0700, Igor Vaynberg wrote: > mount a page using indexed url coding strategy then in the page check > if there is a parameter. if there is one add the details panel, if not > add the list panel > > -igor > > > >

Re: Attaching stuff to pages

2008-04-10 Thread Igor Vaynberg
mount a page using indexed url coding strategy then in the page check if there is a parameter. if there is one add the details panel, if not add the list panel -igor On Thu, Apr 10, 2008 at 7:39 PM, David Leangen <[EMAIL PROTECTED]> wrote: > > I know this type of question has been asked befor

Attaching stuff to pages

2008-04-10 Thread David Leangen
I know this type of question has been asked before, so if somebody can point me to a previous thread or some doc, that would be cool. I have a page like "books" mounted on /books. When the user sees the page mounted at /books, she gets a list of all available books. Each available book should be

Fragment question

2008-04-10 Thread Ritz123
Hi, This may be actually a stupid question - am little confused about Fragments use. Lets say I was extending existing component e.g. DataTable and did not have markup file of my derived component, (I think) in such a case, base class markup file will be used. Assuming that is the case if I want

Re: Migrating to 1.4-SNAPSHOT: how to rid of generic warnings?

2008-04-10 Thread Jonathan Locke
uh, i meant WebPage obviously Jonathan Locke wrote: > > > i didn't say it shouldn't be. i was just saying /if it was not going to > be/ (i'm not working on 1.4 yet, so i don't know why it's not generic > already) it shouldn't create generics warnings. in fact, i agree with you > and people

Re: Migrating to 1.4-SNAPSHOT: how to rid of generic warnings?

2008-04-10 Thread Jonathan Locke
i didn't say it shouldn't be. i was just saying /if it was not going to be/ (i'm not working on 1.4 yet, so i don't know why it's not generic already) it shouldn't create generics warnings. in fact, i agree with you and people should ideally just say MyPage extends WebPage if their page has no

Wicket + SDO

2008-04-10 Thread deepeshmathur
Hi, Has any one tried using Service Data Object with Wicket? Thanks and Regards Deepesh -- View this message in context: http://www.nabble.com/Wicket-%2B-SDO-tp16623270p16623270.html Sent from the Wicket - User mailing list archive at Nabble.com. -

Re: StringResourceModel with computed values/expression?

2008-04-10 Thread Igor Vaynberg
see NavigatorLabel in extensions -igor On Thu, Apr 10, 2008 at 5:57 PM, Ritz123 <[EMAIL PROTECTED]> wrote: > > Hi, > > How would I pass in mathematical formula which is dynamic? e.g. in the > resource bundle properties file I would like a label like > mylist.navlabel=Displaying {0}-{1} of N

StringResourceModel with computed values/expression?

2008-04-10 Thread Ritz123
Hi, How would I pass in mathematical formula which is dynamic? e.g. in the resource bundle properties file I would like a label like mylist.navlabel=Displaying {0}-{1} of N items DataTable doesnt give me 1 and/or X as property to I have to compute it like (currentPage -1)* rowsPerPage to (curre

Re: how to get html source

2008-04-10 Thread freak182
What i mean is the html tags and all kind of stuff of the rendered page. not the .html file...i want to retrieve that and save to DB. Mr Mean wrote: > > What do you mean get the html source of a page? > Wicket already fetches the html source for your page if it is located > in the same package

Re: Migrating to 1.4-SNAPSHOT: how to rid of generic warnings?

2008-04-10 Thread Igor Vaynberg
why wouldnt page be generic? class edituserpage extends webpage { public edituserpage(imodel user) {...}} -igor On Thu, Apr 10, 2008 at 5:22 PM, Jonathan Locke <[EMAIL PROTECTED]> wrote: > > > yeah. if Page/WebPage are not going to be generic, maybe they should extend > (Web)MarkupContaine

Re: Migrating to 1.4-SNAPSHOT: how to rid of generic warnings?

2008-04-10 Thread Jonathan Locke
yeah. if Page/WebPage are not going to be generic, maybe they should extend (Web)MarkupContainer or something? MYoung wrote: > >> public class HomePage extends WebPage { > > ERROR: The type WebPage is not generic; it cannot be parameterized with > arguments > > > >>you COULD use the @Sup

Re: Migrating to 1.4-SNAPSHOT: how to rid of generic warnings?

2008-04-10 Thread Matthew Young
> public class HomePage extends WebPage { ERROR: The type WebPage is not generic; it cannot be parameterized with arguments >you COULD use the @SuppressWarnings({"unchecked"}) I would rather not use @SupressWarnings if I can do the right thing. On Thu, Apr 10, 2008 at 4:49 PM, Matej Knopp <[

Re: Migrating to 1.4-SNAPSHOT: how to rid of generic warnings?

2008-04-10 Thread Robby O'Connor
you COULD use the @SuppressWarnings({"unchecked"}) annotation. More info: http://mindprod.com/jgloss/annotations.html#SUPPRESSWARNINGS Matthew Young wrote: > Oh mine, some many generic warnings after moving to 1.4. I got rid of them > by putting in type parameters but I'm not sure if I'm doing the

Re: Migrating to 1.4-SNAPSHOT: how to rid of generic warnings?

2008-04-10 Thread Matej Knopp
Problem is that WebPage is generic class but your instance doesn't have the type specified. Since you page doesn't have a model object the type is not really necessary, but the compiler doesn't know that. You can try this: public class HomePage extends WebPage { This should get rid of the wanin

Migrating to 1.4-SNAPSHOT: how to rid of generic warnings?

2008-04-10 Thread Matthew Young
Oh mine, some many generic warnings after moving to 1.4. I got rid of them by putting in type parameters but I'm not sure if I'm doing the right thing. There is one warning I don't know how to fix: WARNING: Type safety: the method add(Component) belongs to the raw type MarkupContainer. Reference

Re: Hibernate with wicket

2008-04-10 Thread Uwe Schäfer
Nino Saturnino Martinez Vazquez Wael schrieb: interesting... Could be a possible thing for wicket persistence.. think so. however, have done something quite similar myself and dropped it for warp-persist. it is quite minimalistic though and not really feature complete (from my p.o.v.) but it

authentication

2008-04-10 Thread Scott Swank
What do folk recommend for authentication? 1) In Wicket in Action there is a simple, custom authentication implementation. 2) In Wicket Examples authentication is based on wicket-auth-roles. 3) Then there's WASP & SWARM Is there any sort of comparison of wicket-auth-roles with SWARM that I haven'

Re: WebRequest question

2008-04-10 Thread James Carman
I've never really cared for this whole idea of requiring subclassing to get your work done. Is there no way to make things more pluggable? Perhaps use the decorator design pattern? On Thu, Apr 10, 2008 at 4:10 PM, Martijn Lindhout <[EMAIL PROTECTED]> wrote: > If I remember well, Wasp/Swarm needs

Re: warning: [deprecation] AuthenticatedWebSession(AuthenticatedWebApplication,Request)

2008-04-10 Thread sindibade
Hi all, I still encounter the same problem with wicket 1.3.3 Thanx, Tarik Mr Mean wrote: > > AuthenticatedWebApplication used the deprecated constructor, this > should be fixed in wicket 1.3.3 see > https://issues.apache.org/jira/browse/WICKET-1423 > > Maurice > > On Sun, Apr 6, 2008 at

Re: form-specific feedback

2008-04-10 Thread Enrique Rodriguez
ComponentFeedbackPanel in org.apache.wicket.markup.html.panel. Use your Form instances in the constructor to filter messages. Enrique On Thu, Apr 10, 2008 at 1:26 PM, Andrew Broderick <[EMAIL PROTECTED]> wrote: > Hi, > > I have two forms on the same page, that are two different classes. Each us

form-specific feedback

2008-04-10 Thread Andrew Broderick
Hi, I have two forms on the same page, that are two different classes. Each uses a FeedbackPanel. The problem is, if one of them is submitted, and error("blah") is called somewhere in the onSubmit(), they both display the message! How can I make each form only display its own messages? Thanks

Re: WebRequest question

2008-04-10 Thread Martijn Lindhout
If I remember well, Wasp/Swarm needs its own WebRequest subclass? 2008/4/10, Igor Vaynberg <[EMAIL PROTECTED]>: > > On Thu, Apr 10, 2008 at 12:34 PM, Martijn Lindhout > <[EMAIL PROTECTED]> wrote: > > My two questions: > > > > 1. is this necessary / bad? > > > no, it just adds some extra capabili

Re: Tomcat dying with Wicket 1.3.2 (Windows / JDK 1.5.0_10)

2008-04-10 Thread Jeremy Thomerson
Thanks for the suggestion - I may just go that route instead of my own listener. As far as Google - yes! We're a public community site (for hunting and fishing in Texas), and almost all of our non-repeat traffic comes from search engines, so we must be highly ranked. We're #2 in Google for "texa

Re: WebRequest question

2008-04-10 Thread Igor Vaynberg
On Thu, Apr 10, 2008 at 12:34 PM, Martijn Lindhout <[EMAIL PROTECTED]> wrote: > My two questions: > > 1. is this necessary / bad? no, it just adds some extra capability to the request > 2. what if I need different types of requests in my application? i doubt you will. what usecases do you hav

Re: How to get wicket-SNAPSHOT?

2008-04-10 Thread Ryan Gravener
1.4-SNAPSHOT On 10/04/2008, Matthew Young <[EMAIL PROTECTED]> wrote: > > I want to use wicket-SNAPSHOT to give 1.4 a try. But I get mvn error: > > [INFO] snapshot org.apache.wicket:wicket:SNAPSHOT: checking for updates > from > wicket-snapshots > Downloading: > > http://wicketstuff.org/maven/re

Re: Tomcat dying with Wicket 1.3.2 (Windows / JDK 1.5.0_10)

2008-04-10 Thread Maarten Bosteels
Hi, On Thu, Apr 10, 2008 at 6:40 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > httpsession already has a settimeout no? so once a user logs in you > can set it to a longer period We use that technique (not on a wicket app though) and it seems to work. Something else to consider: Do you want

How to get wicket-SNAPSHOT?

2008-04-10 Thread Matthew Young
I want to use wicket-SNAPSHOT to give 1.4 a try. But I get mvn error: [INFO] snapshot org.apache.wicket:wicket:SNAPSHOT: checking for updates from wicket-snapshots Downloading: http://wicketstuff.org/maven/repository//org/apache/wicket/wicket/SNAPSHOT/wicket-SNAPSHOT.pom Downloading: http://wicke

WebRequest question

2008-04-10 Thread Martijn Lindhout
Hi all, In de sample UploadApplication (1.3.3) I saw this: protected WebRequest newWebRequest(HttpServletRequest servletRequest) { return new UploadWebRequest(servletRequest); } and I've seen this several other times for other request types. Putting this code here makes EVERY

Setting Ajax throttle behavior on a modal's closed callback

2008-04-10 Thread Michael Mehrle
I'm getting some strange 'Channel busy - postponing' errors in my AJAX in Safari. Read up on it and I think the solution might be to throttle the AJAX call (especially since it works fine in Firefox). The call I dug up is 'setThrottleDelay(...)' - but I only see that as part of an AjaxBehavior.

Re: Wicket as a template generator

2008-04-10 Thread Jonathan Locke
you could generalize this by making a request cycle with a custom response installed that does this. if this is a totally separate application for you, you could create an abstraction like TemplateGeneratingApplication which does the fancy request cycle stuff behind the scenes. in fact, this se

CheckGroupSelector problem

2008-04-10 Thread atul singh
I am facing an issue with CheckGroupSelector. CheckGroupSelector is not showing itself selected, though all of the Check's in the CheckGroup come pre-selected based on the underlying model i am setting up. (That means I have the CheckGroup's list model already populated with all individual Check's

Autocomplete overriding events

2008-04-10 Thread Eric Velazquez
Hi. I have a text field with an AjaxFormValidatingBehavior attached to it doing some fancy validation, but then i realize i need that textfield to be an AutocompleteTextField, but this autocomplete behavior overrides all the event handlers including the onblur my fom validating behavior uses. Cur

Re: Wicket as a template generator

2008-04-10 Thread Doug Leeper
I believe the following is the correct way (it works from my point of view). Are there any issues that I need to be aware of? Is there a better way? Thanks - Doug Note: this method is called in either a Link or Button: public BaseTemplate extends WebPage { public String generateHTML(

Re: Tomcat dying with Wicket 1.3.2 (Windows / JDK 1.5.0_10)

2008-04-10 Thread Igor Vaynberg
httpsession already has a settimeout no? so once a user logs in you can set it to a longer period -igor On Thu, Apr 10, 2008 at 7:38 AM, Jeremy Thomerson <[EMAIL PROTECTED]> wrote: > Thanks for the tip. I came up with an idea last night that I would like to > get input on. I created an HttpSe

Re: Facebook Wicket Integration

2008-04-10 Thread itai
Hi Lim, I ran into the exact same problem ... Did you find a solution ?? Thanks, Itai. TH Lim wrote: > > > java.lang.NullPointerException > at org.thlim.sample.wicket.Login.(Login.java:23) > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > Method) > at java.la

Re: IBM Developerworks article comparing Wicket and Tapestry

2008-04-10 Thread Ryan Sonnek
very nice article. well balanced and thoughtful. The more I see the two compared I can't help but think, "People are *insane* if they choose tapestry over wicket." On Thu, Apr 10, 2008 at 10:19 AM, cwilkes <[EMAIL PROTECTED]> wrote: > > > http://www.ibm.com/developerworks/java/library/os-tapes

Re: Modal Window onSubmit prevent closing

2008-04-10 Thread Cristi Manole
thank you for your quick response. yes, i'm using it with panel. there's no other way to achieve what i'm looking for? Can I use ajax and keep the form multi-part? Can I get the file name without the regular submit? Tks, Cristi Manole On Thu, Apr 10, 2008 at 6:39 PM, Matej Knopp <[EMAIL PROTEC

Re: Hibernate with wicket

2008-04-10 Thread Nino Saturnino Martinez Vazquez Wael
interesting... Could be a possible thing for wicket persistence.. Uwe Schäfer wrote: tbt schrieb: I'm using a static block to save resources so that hibernate does not have to initialize a session each time a transaction needs to be done. maybe warp-persist is something you like to look at.

Re: Modal Window onSubmit prevent closing

2008-04-10 Thread Matej Knopp
You can use regular submit button only if you have a modal window with page. If you have modal window with panel you are bound to using ajaxbutton. -Matej On Thu, Apr 10, 2008 at 5:21 PM, Cristi Manole <[EMAIL PROTECTED]> wrote: > Hello, > > Is it possible to prevent the modal window from closin

How to pass an arbitrary javascript variable to onSubmit?

2008-04-10 Thread Vitaly Tsaplin
Hi everyone, How to pass an arbitrary javascript variable to onSubmit? Vitaly - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Wicket as a template generator

2008-04-10 Thread Doug Leeper
I believe this is possible but want to be sure and be efficient about it. Is it possible to create a Wicket Page and capture the generated HTML text from with-in a Button.onSubmit()? The page will not be displayed in the current wicket app. This page is only a 'template' to generate the HTML.

Re: Hibernate with wicket

2008-04-10 Thread cwilkes
tbt wrote: > > Can anyone tell me the list of jar files that are needed to run > databinder. I am having trouble running the baseball example. > Have you tried running "mvn package"? -- View this message in context: http://www.nabble.com/Hibernate-with-wicket-tp16607352p16609086.html Sent fr

Modal Window onSubmit prevent closing

2008-04-10 Thread Cristi Manole
Hello, Is it possible to prevent the modal window from closing after regular onSubmit? My use case is that I have a modal window with a form where the user can upload a picture. The submit is not Ajax because (i think) the form could then not be multi-part. Being stuck with a regular onSubmit, i

IBM Developerworks article comparing Wicket and Tapestry

2008-04-10 Thread cwilkes
http://www.ibm.com/developerworks/java/library/os-tapestrywicket/index.html?ca=drs- If there's one take home message from it it is in the conclusion: "If you try to avoid using XML, or if you just like object-oriented programming, Wicket could be your choice for day-to-day use. A richer extensio

Re: System requirements for running wicket app in production

2008-04-10 Thread Jeremy Levy
All of our hardware is virtualized. It's allowed us to scale very quickly and easily. As for specific requirements it really depends on the volume you expect. If your going to run Apache, Tomcat, and your DB on the same machine I'd try to have at least 512mb on a low volume site. You may want t

Re: wicket login problem

2008-04-10 Thread lars vonk
I don't think getters and setters are needed anymore it also support field access. On Thu, Apr 10, 2008 at 4:18 PM, Ryan Gravener <[EMAIL PROTECTED]> wrote: > Take a look at http://wicketstuff.org/wicket13/forminput/ and > http://cwiki.apache.org/WICKET/working-with-wicket-models.html > > In

Re: Tomcat dying with Wicket 1.3.2 (Windows / JDK 1.5.0_10)

2008-04-10 Thread Jeremy Thomerson
Thanks for the tip. I came up with an idea last night that I would like to get input on. I created an HttpSessionListener that will track all created sessions. It has a thread that will run every few minutes, and if a session does not belong to a signed-in user, it will invalidate it after only

Re: wicket login problem

2008-04-10 Thread Ryan Gravener
Take a look at http://wicketstuff.org/wicket13/forminput/ and http://cwiki.apache.org/WICKET/working-with-wicket-models.html In your login form I would have private member variables userId and password public class LoginForm extends Form { private String userId; private String password; public

wicket login problem

2008-04-10 Thread Neo Anderson
I follow the tutorial http://www.developer.com/java/web/article.php/10935_3673576_1 to learn how to use wicket. And I want to practise not to embed the Form inside another class. So I create a class called LoginForm.java and move the code to there (as follow). public class LoginForm extends For

System requirements for running wicket app in production

2008-04-10 Thread Oliver Lieven
Hi all, are there any suggestions or experiences on the (minimum) system/hardware requirements for running a Wicket based application on a productive system? Would e.g. a Virtual Server as offered by most hosting providers be powerful enough to run a Java/Tomcat/Wicket/database application? I kn

Re: Hibernate with wicket

2008-04-10 Thread Thomas Kappler
Hi, you should ask databinder-related questions in its forum at http://databinder.net/forum/viewforum.php?f=1&st=0&sk=t&sd=d&start=0. As to your questions, are you not using maven? If not, you could still have a look at the Maven pom.xml file of the baseball project to figure out the dependencie

Re: Hibernate with wicket

2008-04-10 Thread Uwe Schäfer
tbt schrieb: I'm using a static block to save resources so that hibernate does not have to initialize a session each time a transaction needs to be done. maybe warp-persist is something you like to look at. http://www.wideplay.com/guicewebextensions2 -- THOMAS DAILY GmbH Adlerstraße 19 79098

Re: Hibernate with wicket

2008-04-10 Thread tbt
Hi Can anyone tell me the list of jar files that are needed to run databinder. I am having trouble running the baseball example. Thanks tbt adrienleroy wrote: > > you can take a look at the databinder project : http://databinder.net/ > > > tbt wrote: >> >> Hi >> >> I'm using a static bloc

Re: FileUploadField and Image

2008-04-10 Thread Jeremy Levy
Use javascript to submit the form. On Thu, Apr 10, 2008 at 4:38 AM, Fabien D. <[EMAIL PROTECTED]> wrote: > > Hi, > > I would like to do a special behavior. > > I have a input for FileUploadField, when the user choices an image in his > local disk, this file is automatically uploaded (in a temp fo

Re: Busy indicator in a Tree

2008-04-10 Thread Laurent N.
I override the "newLink" method of the DefaultAbstractTree class to return IndicatingAjaxLink and it works. Thanks. -- View this message in context: http://www.nabble.com/Busy-indicator-in-a-Tree-tp16604249p16608586.html Sent from the Wicket - User mailing list archive at Nabble.com. -

Re: Hibernate with wicket

2008-04-10 Thread adrienleroy
you can take a look at the databinder project : http://databinder.net/ tbt wrote: > > Hi > > I'm using a static block to save resources so that hibernate does not have > to initialize a session each time a transaction needs to be done. > > .

Re: Hibernate with wicket

2008-04-10 Thread James Carman
There should be only one SessionFactory created during your application's lifecycle (assuming you're using only one database). On Thu, Apr 10, 2008 at 6:31 AM, tbt <[EMAIL PROTECTED]> wrote: > > Hi > > I'm using a static block to save resources so that hibernate does not have > to initialize a

Hibernate with wicket

2008-04-10 Thread tbt
Hi I'm using a static block to save resources so that hibernate does not have to initialize a session each time a transaction needs to be done. static SessionFactory sessionFactory; static {

Re: how to get html source

2008-04-10 Thread Maurice Marrink
What do you mean get the html source of a page? Wicket already fetches the html source for your page if it is located in the same package and has the same name as your page. You do not need it. The constructor is irrelevant for this process. Maurice On Thu, Apr 10, 2008 at 10:51 AM, freak182 <[EM

how to get html source

2008-04-10 Thread freak182
Hello, My problem is how to get the html source of the page with the constructor having a parameter?...i see an example of getting the html source of the page with the constructor having no parameter that i think is easy. Thanks a lot...Cheers! -- View this message in context: http://www.nabbl

Re: Busy indicator in a Tree

2008-04-10 Thread Martijn Dashorst
override the link factory and return an IndicatingAjaxLink instead On 4/10/08, Laurent N. <[EMAIL PROTECTED]> wrote: > > Hello, > > I'm using an EditableTreeTable and I would like to have a busy indicator > when expanding a tree node. How should I do? I read some threads talking > about busy i

FileUploadField and Image

2008-04-10 Thread Fabien D.
Hi, I would like to do a special behavior. I have a input for FileUploadField, when the user choices an image in his local disk, this file is automatically uploaded (in a temp folder of tomcat) and rendered whitout click on submit... How can i do this if it's possible? Thank you in advance --

Busy indicator in a Tree

2008-04-10 Thread Laurent N.
Hello, I'm using an EditableTreeTable and I would like to have a busy indicator when expanding a tree node. How should I do? I read some threads talking about busy indicator but I couldn't find one which solve my problem. Thanks for your attention. -- View this message in context: http://www.

Re: "Stable" 1.3.x ?

2008-04-10 Thread Johan Compagner
You can checkout the wicket1.3.x branch Or wait a few hours so that we have bamboo completely configured correctly so that you can get there 1.3 snapshots On 4/10/08, Wouter Huijnink <[EMAIL PROTECTED]> wrote: > Hi committers, > > We need a 1.3 jar in which the stack overflow issue has been fixed

"Stable" 1.3.x ?

2008-04-10 Thread Wouter Huijnink
Hi committers, We need a 1.3 jar in which the stack overflow issue has been fixed and that is as stable as 1.3 can be right now. As discussed at the wicket meetup, 1.3.4 isn't there yet, so this requires a custom build from the 1.3.x branch. Do we checkout the current state of 1.3.x, or would

Re: Application Context

2008-04-10 Thread lars vonk
What do you mean by non wicket files? Why do you need the ApplicationContext? If you just want to have your dependencies injected in a non Component class you could use InjectHolder.getInjector().inject(objectToWire) and pass in the Object you want to get wired. You should also annotate the propert

fail to check HttpServletRequest.isSecure under tomcat

2008-04-10 Thread ywtsang
i have configured the tomcat (6.0.13) to use SSL when i access my app under https and try to check the HttpServletRequest.isSecure (the http servlet request is retrieved from RequestCycle.get()), it always returns false (i have already configured the tomcat connector to returns "true" for the "se