Re: How to use session

2009-08-28 Thread Gerald Fernando
hi Thomerson, Actually my page(RSSPage) this call sectorPanel class extends Panel like public class RSSPage extends WebPage { public RSSPage(){ add(new sectorGrid(sector); } } public class sectorGrid extends Panel { private String param=null; private TextField input;

Re: Wicket Google App Engine Compatible

2009-08-28 Thread uud ashr
Yes, Wicket is semi-compatible. - I have some trouble when I want to UploadFile, becase it write to temporary file and GAE not allowed you to do that. It solve but you have to re-code the wicket so is not save to temporary file, but write to DataStore. - Another is I can't use

Re: Male/Female messages

2009-08-28 Thread Peter Ertl
This might be helpful when translatiing between male - female :-) http://monster-island.org/tinashumor/humor/mflwebst.html Am 27.08.2009 um 17:35 schrieb Cserep Janos: use setStyle() and different styles for property files. That means you should have 2 files: MyApplication_male.properties

Re: AjaxLink/Behaviour with shortcut

2009-08-28 Thread Johannes Schneider
And I think EventType shouldn't be an enum but instead a class with several constants. So everybody could add own event types if necessary. Regards Johannes Johannes Schneider wrote: I made some progress: When using the (newly created) EventType onclick the behvious seems to be improved.

Re: DataTable NavigationToolbar visibility problem

2009-08-28 Thread Michael Mosmann
Using wicket+wicket-extensions 1.4.0. How do I ensure that the nav toolbar reappears properly when the number of results become pageable again? use wicket 1.4.1 as it's a bug in wicket 1.4.0 mm:) - To unsubscribe, e-mail:

Re: Page redirect after POST

2009-08-28 Thread Johan Compagner
one question. why do you want that? On Fri, Aug 28, 2009 at 06:01, b...@actrix.gen.nz wrote: Hi, With forms on Wicket pages, it appears that on submit which is HTTP POST, Wicket redirects to the same page (the page from where the data was sent) ad this is how we show feedback on the form

Wicket + Webservice

2009-08-28 Thread Bas Gooren
I would like to integrate a webservice callable by others into my existing Wicket application. The reason is that I'm integration a third-party payment provider and they provide a callback mechanism in the form of a WSDL I need to implement. Now I've taken a look at enunciate, which looks great

Re: Wicket + Webservice

2009-08-28 Thread nino martinez wael
Going for the web page, you could in theory do REST... But how smooth it are i do not know.. regards Nino 2009/8/28 Bas Gooren b...@iswd.nl: I would like to integrate a webservice callable by others into my existing Wicket application. The reason is that I'm integration a third-party payment

Re: Wicket + Webservice

2009-08-28 Thread Bas Gooren
Nino, I read a blog post by Bruno borges on this (see http://code.google.com/p/wicket-rest/). But in my case I need to adhere to a WSDL provided by the payment provider. The WSDL specifies a SOAP binding, so that's what I need to implement. Bas - Original Message - From: nino

Re: AjaxLink/Behaviour with shortcut

2009-08-28 Thread nino martinez wael
Thanks for the feedback, the quick solution would be to extend the inputevent class. Did you see the example project? 2009/8/28 Johannes Schneider maili...@cedarsoft.com: And I think EventType shouldn't be an enum but instead a class with several constants. So everybody could add own event

Re: Wicket + Webservice

2009-08-28 Thread nino martinez wael
Ahh ok, you can also make a web page return xml. Im not sure how SOAP communicates. But this might be the way for you... 2009/8/28 Bas Gooren b...@iswd.nl: Nino, I read a blog post by Bruno borges on this (see http://code.google.com/p/wicket-rest/). But in my case I need to adhere to a WSDL

Re: Wicket + Webservice

2009-08-28 Thread nino martinez wael
doh, took a closer look at the blog, it's already described there.. So you know that wicket can return XML 2009/8/28 nino martinez wael nino.martinez.w...@gmail.com: Ahh ok, you can also make a web page return xml. Im not sure how SOAP communicates. But this might be the way for you...

Re: Wicket + Webservice

2009-08-28 Thread Bas Gooren
Yeah, I've built Wicket pages which return XML responses before, so that's not the problem. But since I have to adhere to a certain WSDL and hand-constructing the SOAP response seems like the wrong thing to do, I was hoping that there might be a way to say class WebservicePage extends

Re: Wicket + Webservice

2009-08-28 Thread nino martinez wael
Hmm, good question. Are it some db services that you are accessing..? like warp? filter filter-nameguiceFilter/filter-name filter-classcom.wideplay.warp.servlet.WebFilter/filter-class /filter Then just map it to everything: filter-mapping

Re: Wicket + Webservice

2009-08-28 Thread Uwe Schäfer
Bas Gooren schrieb: to a WSDL provided by the payment provider. The WSDL specifies a SOAP binding, so that's what I need to implement. have the same requirements and we go for metro. it is a s easy as adding the dependency to pom and annotating @WebSerive. be sure to take at least version

Re: Wicket + Webservice

2009-08-28 Thread Uwe Schäfer
Bas Gooren schrieb: I have found JAX-WS Guice integration (see https://jax-ws-commons.dev.java.net/guice/), so maybe I can find a way to make it use the wicket-guice injector. easy, done it. i´ll publish it on sunday and send you a private mail. cu uwe

Re: Wicket + Webservice

2009-08-28 Thread Bas Gooren
Some are db services (yes, warp, another great project), but some are non-db-services which I setup when my wicket application initializes. My warp webfilter is already mapped to /* so I have access to the db. I'm using the com.wideplay.warp.hibernate.SessionPerRequestFilter But what I need

Re: Wicket Google App Engine Compatible

2009-08-28 Thread Fernando Wermus
It would be really great to have some accurate info in the wiki wicket. It is my thought to implement app engine in the next few weeks... On Fri, Aug 28, 2009 at 4:52 AM, uud ashr uuda...@gmail.com wrote: Yes, Wicket is semi-compatible. - I have some trouble when I want to UploadFile,

Re: Wicket + Webservice

2009-08-28 Thread Bas Gooren
Uwe, that would be amazing, thanks! I was about to hit send on a mail asking you if and how you integrated Guice, because that was missing. For the last couple of hours I've been reading up on Metro, and it seems like a good solution. Although the implementation becomes of less importance,

Have you ever run this example ?

2009-08-28 Thread Altuğ B . Altıntaş
Hi all ; I am trying to run Spring Security and Wicket-auth-roles example. Url : http://cwiki.apache.org/WICKET/spring-security-and-wicket-auth-roles.html I implemented what it writes step by step but it gives : java.lang.IllegalArgumentException: Argument [[ctx]] cannot be null at

Session gc

2009-08-28 Thread Pedro Santos
Hi, I have an wicket application mantaing objects for the session, link consumer threads to background work. I want to make sure that these objects will to be garbage colected, finalized, etc. How can I listen the session timeout notice? I don't want to implements these rules on finally method of

images in html or images in css

2009-08-28 Thread Fernando Wermus
Hi all, There is something that I dont understand: If my css style has an image declared, it works: body { background:url(images/FondoGeneral.jpg); but if it is defined in the html, it doesnt img src=images/MarcoFoto.png width=177 height=107 why? -- Fernando Wermus.

Wicket + Spring Security (PreAuthentication)

2009-08-28 Thread Anders
Hi, I refered to http://cwiki.apache.org/WICKET/spring-security-and-wicket-auth-roles.htmland wicket-spring example web application and it works. Now my company has a single-sign on web page already, like https:///login.cgi. This SSO web page will set cookies and return a token after login.

Re: images in html or images in css

2009-08-28 Thread Altuğ B . Altıntaş
Hi; Because your css file location and html file location are different. try to reach images via url way like background:url(*/images/FondoGeneral.jpg*); or img src=*/images/MarcoFoto.png* width=177 height=107 Cheers... 2009/8/28 Fernando Wermus fernando.wer...@gmail.com Hi all,

Re: Have you ever run this example ?

2009-08-28 Thread Anders
I don't see any ctx variable in that web page. On Fri, Aug 28, 2009 at 10:37 PM, Altuğ B. Altıntaş alt...@gmail.comwrote: Hi all ; I am trying to run Spring Security and Wicket-auth-roles example. Url : http://cwiki.apache.org/WICKET/spring-security-and-wicket-auth-roles.html I

Re: Have you ever run this example ?

2009-08-28 Thread Altuğ B . Altıntaş
How can i add ctx variable ? I am new in Spring Security Thanks... 2009/8/28 Anders innocentl...@gmail.com I don't see any ctx variable in that web page. On Fri, Aug 28, 2009 at 10:37 PM, Altuğ B. Altıntaş alt...@gmail.com wrote: Hi all ; I am trying to run Spring Security

Re: How to use session

2009-08-28 Thread Jeremy Thomerson
So, declare the constructor that you need to pass in the variable. It's okay to have multiple constructors. You're going to have to have some way of constructing the object and giving it the search term -- Jeremy Thomerson http://www.wickettraining.com On Fri, Aug 28, 2009 at 2:58 AM, Gerald

Re: Session gc

2009-08-28 Thread Jeremy Thomerson
see httpsessionlistener http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/http/HttpSessionListener.html -- Jeremy Thomerson http://www.wickettraining.com On Fri, Aug 28, 2009 at 9:41 AM, Pedro Santospedros...@gmail.com wrote: Hi, I have an wicket application mantaing objects for

Re: Have you ever run this example ?

2009-08-28 Thread Anders
I'm new to Spring Security and Wicket, too. You said you implemented step by step, but no ctx variable in that web page. Can you recheck again? And do you succeed to implement http://cwiki.apache.org/WICKET/spring.html ? If you implemented Spring + Wicket, then you can implement Spring Security +

Re: Session gc

2009-08-28 Thread Eelco Hillenius
see httpsessionlistener http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/http/HttpSessionListener.html Yep. You can use the session store hooks that Wicket provides, but I found HttpSessionListener to be the most reliable. Eelco

Re: images in html or images in css

2009-08-28 Thread Pedro Santos
You can use wicket:link tag to convert the static reference see: http://cwiki.apache.org/WICKET/autolink.html On Fri, Aug 28, 2009 at 12:10 PM, Altuğ B. Altıntaş alt...@gmail.comwrote: Hi; Because your css file location and html file location are different. try to reach images via url way

Re: Have you ever run this example ?

2009-08-28 Thread jWeekend
Altug, It sounds like there is no bean factory set on your servlet context. Did you add Spring's context listener in web.xml? Regards - Cemal jWeekend OO Java Technologies, Wicket Training and Development http://jWeekend.com Altuğ B. Altıntaş wrote: How can i add ctx variable ? I

Re: images in html or images in css

2009-08-28 Thread Fernando Wermus
Thanks! It works On Fri, Aug 28, 2009 at 1:16 PM, Pedro Santos pedros...@gmail.com wrote: You can use wicket:link tag to convert the static reference see: http://cwiki.apache.org/WICKET/autolink.html On Fri, Aug 28, 2009 at 12:10 PM, Altuğ B. Altıntaş alt...@gmail.com wrote: Hi;

RE: Filter Toolbar and changing size of TextFilter input box

2009-08-28 Thread TahitianGabriel
Here's a simple way to do it : new TextFilteredPropertyColumnCorbeille, Corbeille(new ModelString(longitude), pointCollecte.longitude, pointCollecte.longitude) { @Override public Component getFilter(final String varComponentId, final

Broken URLs when app packaged as WAR

2009-08-28 Thread Arun Gupta
Created a Wicket application and runs fine using mvn jetty:run and then created a WAR using mvn package. When the app is deployed in Tomcat, only the home page shows up correctly but all other links giving 404. For example http://localhost:8080/runner/newrun works fine with Jetty but

Re: Male/Female messages

2009-08-28 Thread Arie Fishler
Actually a good solution. I am already using styles for skin diffrentiation but can certainly combine the male/female to that. Simple and clean. Thanks On Thu, Aug 27, 2009 at 6:35 PM, Cserep Janos cser...@szeretgom.hu wrote: use setStyle() and different styles for property files. That means

Re: Male/Female messages

2009-08-28 Thread Pedro Santos
This remember me an idea. Will to be very helpful if wicket worked with syles hierarchy. For example, I worked on a application that have 3 styles: style1_grayscale, style1_colored, style2. In some css files for example, would be useful to write just the somePanelCssFile_style1.css, that can to

[ANN] Wicket Guice Metro, was: Wicket + Webservice

2009-08-28 Thread Uwe Schäfer
Bas Gooren schrieb: Hi Bas I would like to integrate a webservice callable by others into my existing Wicket application. The reason is that I'm integration a third-party payment provider and they provide a callback mechanism in the form of a WSDL I need to implement. I'd like to be able to

Re: AjaxLink/Behaviour with shortcut

2009-08-28 Thread Johannes Schneider
Yes, I have seen the example project - thanks for that. Great stuff btw. Extending inputevent class? I don't get it... One more thing: What about adding some sort of direct ajax callback to java without having to add a AjaxLink? In my case I have a delete link that opens a popup. But now I try to

Re: Have you ever run this example ?

2009-08-28 Thread Altuğ B . Altıntaş
I solved the problem ! I added Spring context listener + cglib 2.2.jar I run my first Spring Security Framework + wicket application. Thanks everybody ! Some notes : - Wicket example page ( http://cwiki.apache.org/WICKET/spring-security-and-wicket-auth-roles.html) is not clear enough - I

About getSignInPageClass() in AuthenticatedWebApplication class

2009-08-28 Thread Anders
Hi, I'd like to ask what if the login page is external login web page? I have no idea which class should be returned in getSignInPageClass(), Please give me some advices. Thank you very much -- -- ~Mia は 最高!~ --

Re: Quick model/user/session question

2009-08-28 Thread Igor Vaynberg
filters are executed in the order they are defined, so put the osiv filter declaration before wicket. -igor On Thu, Aug 27, 2009 at 8:08 AM, Dane Lavertydanelave...@gmail.com wrote: Thanks for the suggestion. I've actually already got OpenSessionInViewFilter in my web.xml, like so:    filter

Re: label fails serializable check when i override model().getObject (wicket 1.3.6)

2009-08-28 Thread Igor Vaynberg
final _isgraph=isgraph; graphLink.add(new Label(graphLinkLabel, new Model() { @Override public Object getObject() { return _isgraph ? List : Graph; } })); -igor On Thu, Aug 27, 2009 at 12:19 PM, james o'brienjobr...@spinnphr.com wrote: I'm