Re: Content Security Policy support

2018-08-01 Thread Major Péter
Solodovnik írta: Hello Peter, I also believe the general rule should be: deny All then allow one-by-one but this is general principle, the guide describing some configuration you can start with :) On Mon, Jul 30, 2018 at 3:50 PM Major Péter wrote: Hi, thanks, I haven't seen that one yet (I'm c

Re: Content Security Policy support

2018-07-30 Thread Major Péter
Regards, Peter 30/07/2018 09:21 keltezéssel, Maxim Solodovnik írta: Have you already read this part of the guide? https://ci.apache.org/projects/wicket/guide/8.x/single.html#_external_security_checks On Mon, Jul 30, 2018 at 3:18 PM Major Péter wrote: Hi, I'm trying to write a new Wicket appli

Content Security Policy support

2018-07-30 Thread Major Péter
Hi, I'm trying to write a new Wicket application, and I wanted to use CSP for added security. It seems like that there are two main issues: * Wicket's AJAX support is highly dependent on inline and eval'd JavaScript code * component visibility is controlled using inline styles Is WICKET-5406

Re: moving from development to deployment mode

2011-05-04 Thread Major Péter
It can be also a servlet/filter init param and a JVM property for the server. Check out the WebApplication#getConfigurationType method, or if it really doesn't want to work, try to debug it. Regards, Peter On 2011-05-04 15:31, moèz ben rhouma wrote: Hi Henry, You have two solutions and

Re: moving from development to deployment mode

2011-05-04 Thread Major Péter
Also 1.4-rc1 is _very_ old, try to use the latest stable release: 1.4.17. On 2011-05-04 15:20, henry wrote: Hi Moez, Could it be a result of the wicket version that am using?Because i have cleared web container and i still get same message.Take a look at this. [Application] Started Wicket

Re: JavaEEComponentInjector in Wicket 1.5

2011-04-05 Thread Major Péter
It has been upgraded (with some help for which I'm thankful :) ), and although I'm not using it atm, it should be working. ;) Regards, Peter On 2011-04-05 09:01, Martin Grigorov wrote: are you talking about https://github.com/wicketstuff/core/tree/master/jdk-1.6-parent/javaee-inject-parent

Re: [1.5 RC1] Error serializing object class

2011-02-07 Thread Major Péter
Hi, in your DriverSetupPage you have an injected resource, which's equals method can not handle null arguments. Regards, Peter On 2011-02-07 12:11, nino martinez wael wrote: One of my pages fails with this, im a little bit unsure what is causing the error im using guice: 2011-02-07

Re: [1.5 m3] SerializableChecker nullpointer?

2011-01-20 Thread Major Péter
One guess would be that the injected WallBoardDataProvider's equals method does not handle null arguments? Peter 2011-01-20 10:20 keltezéssel, nino martinez wael írta: Hi im wondering why this happens? Im using Guice and have a these in my page: @Inject private WallBoardDataProvider

Re: [announce] wicketstuff-core 1.4.10 released

2011-01-20 Thread Major Péter
http://repo2.maven.org/maven2/org/wicketstuff/ Regards, Peter 2011-01-20 12:43 keltezéssel, Ayodeji Aladejebi írta: PLease where do I download stable releases on Wicket Stuff compatible with Wicket 1.4.x? thanks On Fri, Aug 13, 2010 at 4:33 AM, Michael O'Cleirigh michael.ocleir...@rivulet.ca

o.a.w.Resource in 1.5

2011-01-18 Thread Major Péter
Hi, where is org.apache.wicket.Resource nowadays? I didn't find any info about this class in the migration guide. Thanks, Peter - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail:

Re: Question about stateless forms

2011-01-18 Thread Major Péter
So is this a bug? Should I create a JIRA issue for this? Thanks, Peter 2011-01-15 23:14 keltezéssel, Igor Vaynberg írta: my first gut feeling is that if the form is stateless it should use the page's url as its action. this way page parameters are preserved and we can properly parse them out

Question about stateless forms

2011-01-15 Thread Major Péter
Hi, I'm experiencing, that if you have a stateless form on a page, and the user session expires, then Wicket reinstantiates the given page with the forms POST parameters as PageParameters. Is this the correct behaviour? Am I the only one suffering from this? If the user is at

Re: PageParametersEncoder migrating from Hybrid

2010-12-22 Thread Major Péter
Hi, I've played with the encoders, and currently this is what I'm using: https://gist.github.com/717942 It isn't really tested out, but did the job for a quick look :) Hope this helps Regards, Peter 2010-12-22 18:23 keltezéssel, Jim Pinkham írta: In my 1.5-M3 app's init, I've got:

Easyfying mounts in 1.5

2010-11-27 Thread Major Péter
Hi, is there some specific reason, why WebApplication#mount is deprecated in 1.5? It could be a really good shortcut: mount(new MyMapper(, A.class); rather then: getRootRequestMapperAsCompound().add(new MyMapper(, A.class)); also PackageMapper looks really weird: mount(new MountMapper(/error,

Creating new session with WicketTester

2010-11-27 Thread Major Péter
Hi, I'm trying to port my Wicket testcase to 1.5, and it looks like, that WicketTester#createRequestCycle() is gone now. The test case is: * create a session * set a configuration option with a form * invalidate session * create new session * assert that the session#getStyle now returns

Re: Determine if request are ajax?

2010-11-23 Thread Major Péter
and in 1.5 you can use: ((WebRequest) RequestCycle.get().getRequest()).isAjax(); Regards, Peter 2010-11-23 12:36 keltezéssel, nino martinez wael írta: Argh my bad.. I thought it would give an exception and not just null.. Thanks for the help. 2010/11/23 Ernesto Reinaldo

Re: opening ModalWindow on page load

2010-11-23 Thread Major Péter
Hi, A colleague of mine wanted to do the same just last week. He ended up dropping modal window, and the problem was solved in a different way, so there are use-cases for this functionality. (ours was: popping a modal window for user to accept/decline a pre-defined profile image on first

On-demand component initialization

2010-10-30 Thread Major Péter
Hi, I'm trying to create a ModalWindow, something similar to this example: http://wicketstuff.org/wicket14/nested/?wicket:bookmarkablePage=:org.apache.wicket.examples.ajax.builtin.modal.ModalWindowPage If I create the modalwindow like this: final ModalWindow modal = new ModalWindow(modal);

Re: On-demand component initialization

2010-10-30 Thread Major Péter
Yeah, but then I would create new panel for every single click on that link. I know it's a bit edge-case, but still... So I can't achieve this without some own initialization logic? Thanks for your replies. Regards, Peter 2010-10-30 16:48 keltezéssel, Alexander Morozov írta: You can set

Re: [1.5] new wicket URL-related questions

2010-08-24 Thread Major Péter
Hi, see inline Usually it is a component that returns false in isStateless or generates a stateful listener interface URL. okay, but how did the 1.4 have nice url in browser bar and Ajax working without this tweak? I mean this new ?number style urls are a bit ugly IMHO, and I have many

Re: [1.5] new wicket URL-related questions

2010-08-24 Thread Major Péter
okay, but how did the 1.4 have nice url in browser bar and Ajax working without this tweak? I mean this new ?number style urls are a bit ugly IMHO, and I have many ajaxified pages, so I don't know how to deal with this right now.. If you use regular bookmarkable pages in 1.4 with Ajax and

Re: [1.5] new wicket URL-related questions

2010-08-24 Thread Major Péter
I don't think there is simple way to do that (unless you tweak the mapper). Why would you want to do that though? All bookmarkable URLs are generated without the page Id, The redirect is temporary (so google indexes the original URL). URL is still bookmarkable so users can copy and paste it,

[1.5] new wicket URL-related questions

2010-08-23 Thread Major Péter
Hi! As I'm testing wicket 1.5-SNAPSHOT, I'm seeing some strange behaviors: With 1.4 I've used to have url's like: showuser/id/1234 now when I open simply the page without params, I will see the following URL: showuser?[0-9]+ When I looked at the JavaDoc of the new MountMapper (which is the

Re: RadioGroup/Radio runtime exception

2010-08-19 Thread Major Péter
Hi, I'm also seeing time to time this exception with 1.4.8, the only difference is, that I'm using the radiogroup within a wizard. (the wizard buttons are Ajax buttons). Any thoughts, how could this happen? Thanks, Peter 2010-08-19 16:40 keltezéssel, Grafas írta: Hi all, we are using

Re: [Vote] wicketstuff-core structure to support wicket 1.5 related development

2010-08-14 Thread Major Péter
[X] - trunk to track 1.5, branch for 1.4.11-SNAPSHOT and subsequent releases. (+:no merge later; -: trunk will be broken for an extended period) I think we should have the same layout as Wicket. Wicket 1.5 Options: [X] wicket 1.5 branch is set to wicket 1.5-SNAPSHOT and if there is

Re: Wicket 1.5-M1 causing IllegalStateException

2010-08-13 Thread Major Péter
2010-08-13 10:02 keltezéssel, Martin Grigorov írta: The breakpoint should be at: org.apache.wicket.request.http.handler.RedirectRequestHandler.respond(IRequestCycle) (wicket-request project) On Fri, Aug 13, 2010 at 9:54 AM, Igor Vaynberg igor.vaynb...@gmail.comwrote: 2010/8/12 Major

Re: Wicket 1.5-M1 causing IllegalStateException

2010-08-13 Thread Major Péter
A better handling would be maybe in ServletWebResponse#sendRedirect to check whether redirect is already null, and throw a nice I mean true, not null.. wicketruntimeexception instead. (or find out, how could I have two sendredirectaction) or both Regards, Peter

Re: Wicket 1.5-M1 migration experiences

2010-08-12 Thread Major Péter
, but show/10/11 indexed then the name is presumed (its 1 ,2 ,3 ,...) johan 2010/8/12 Major Péter majorpe...@sch.bme.hu: Hi, I've just tried to move our application to Wicket 1.5-M1, and I've faced with the following problems: * new HeaderContributor(new IHeaderContributor

Re: Wicket 1.5-M1 migration experiences

2010-08-12 Thread Major Péter
Hi, There is no WebRequestCycle anymore. You'll need to extend RequestCycle now. Override org.apache.wicket.Application.createRequestCycle(Request, Response) to return your class. that method is final, you should use setRequestCycleProvider() IMHO. Regards, Peter The current entry point

Re: Wicket 1.5-M1 migration experiences

2010-08-12 Thread Major Péter
What's the substitute for RequestCycle#urlFor(Class, PageParameters) ? In 1.4 I was using RequestCycle#setRequestTarget(IResourceStream) and ResourceStreamRequestTarget to make dynamically generated PDF/CSV/etc files downloadable for users. How is that possible in 1.5-M1? Thanks, Peter

Wicket 1.5-M1 and DropDownChoice wantOnSelectionChanged

2010-08-12 Thread Major Péter
Hi, I'm getting weird error, while using DDC wantOnSelectionChanged like this: http://stewie.sch.bme.hu/gitweb/?p=aldaris/korok;a=blob;f=sch-pek-web/src/main/java/hu/sch/web/kp/group/GroupHistory.java;h=fffd7b583a6cd5723e06efb905eb8dcd69bc077e;hb=wicket15#l118 When I click on a ddc row, I'm

Wicket 1.5-M1 causing IllegalStateException

2010-08-12 Thread Major Péter
Hi, I have a page with the ~following markup: form table (DataView) tra href=link //tr /table /form The link is constructed like: Link valuationLink = new Link(valuationLink) { @Override public void onClick() { setResponsePage(new ValuationDetails(val, getPage())); } };

Wicket 1.5-M1 migration experiences

2010-08-11 Thread Major Péter
Hi, I've just tried to move our application to Wicket 1.5-M1, and I've faced with the following problems: * new HeaderContributor(new IHeaderContributor() {...} isn't working anymore, the constructor is gone. After looking into JavaDoc I've find out that HeaderContributor.forCss and other methods

Re: Change from development to deployment mode in maven2

2010-07-19 Thread Major Péter
Hi, you could configure the wicket.configuration with JVM properties too, so you can have always enabled the production mode in web.xml, and override it with your dev server JVM property. See the JavaDoc for Application#getConfigurationType. Regards, Peter 2010-07-19 19:10 keltezéssel, Gustavo

Re: Serialization of injected EJBs

2010-07-07 Thread Major Péter
Hi, you could try to use: http://wicketstuff.org/confluence/display/STUFFWIKI/JavaEE+Inject Regards, Peter 2010-07-07 16:42 keltezéssel, Harald Wellmann írta: I'm using Wicket on Glassfish v3, injecting stateless session beans (using the no-interface view) into my Wicket components. For a

Re: AW: Serialization of injected EJBs

2010-07-07 Thread Major Péter
(this works fine with the wicket-cdi lib), but how to serialize the injected proxies. Regards, Harald -Ursprüngliche Nachricht- Von: Major Péter [mailto:majorpe...@sch.bme.hu] Gesendet: Mittwoch, 7. Juli 2010 16:51 An: users@wicket.apache.org Betreff: Re: Serialization of injected

Re: Serialization of injected EJBs

2010-07-07 Thread Major Péter
I'm using the lib in production with GlassFish v3 and for developing with GlassFish 3.0.1, and haven't seen this exception so far for my EJB's. Something is weird with your EJB... Could you check the javaee-inject-examples (1.4.10-SNAPSHOT) project with the same container? Thanks, Peter

Re: AW: Serialization of injected EJBs

2010-07-07 Thread Major Péter
Wellmann írta: Does javaee-inject support CDI at all? I cannot find any @Inject annotations in the examples you mentioned, they all seem to be in Java EE 5 style, not Java EE 6. Regards, Harald Von: Major Péter [majorpe...@sch.bme.hu] Gesendet

Re: OutOfMemoryError with lots of unit tests

2010-06-28 Thread Major Péter
Hi, Try something like this: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-surefire-plugin/artifactId inheritedtrue/inherited configuration skipTestsfalse/skipTests forkModeonce/forkMode argLine-Xmx512m -XX:MaxPermSize=256m/argLine

[announce]JavaEE Inject updates

2010-06-24 Thread Major Péter
Hi all, Some info about the project: JavaEE Inject basically allows you to use @EJB, @Resource and @PersistenceUnit annotations in your Wicket applications, without the need of doing lookups and other nasty stuff. :) The official announcement of the new version can be found at:

Re: Dynamic Wizard Example

2010-06-21 Thread Major Péter
Hi, probably this is not the best implementation, but here it is: http://idp.sch.bme.hu/cgi-bin/gitweb.cgi?p=aldaris/korok;a=blob;f=sch-kp-web/src/main/java/hu/sch/web/idm/pages/wizard/RegisterWizard.java;h=ccb1c532adf718a5e5a5db3ad0a9a114b2266216;hb=HEAD We are using this code in production,

Re: [announce] wicketstuff-core 1.4.7 released

2010-05-25 Thread Major Péter
Great news, thanks! Another stuff: am I the only one, who can't build wicketstuff because of the wicket-html5's following (not available) dependency: org.mortbay.jetty:maven-jetty-plugin:pom:7.0.2.v20100331 ? Regards, Peter 2010-05-24 17:48 keltezéssel, Michael O'Cleirigh írta: Hello, Based

Re: [announce] wicketstuff-core 1.4.7 released

2010-05-25 Thread Major Péter
am I the only one, who can't build wicketstuff because of the wicket-html5's following (not available) dependency: org.mortbay.jetty:maven-jetty-plugin:pom:7.0.2.v20100331 ? sorry, I just had to git svn rebase the thing... -

WicketStuff version bumping?

2010-05-05 Thread Major Péter
Hi, We have 1.4.7-SNAPSHOT for quite some time now, shouldn't we release an 1.4.8 edition and bump to 1.4.8-SNAPSHOT? Regards, Peter - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands,

Re: WicketStuff version bumping?

2010-05-05 Thread Major Péter
Right, this would make more sense :) 2010-05-06 01:07 keltezéssel, James Carman írta: Wouldn't you release a 1.4.8 version (which goes with wicket 1.4.8) and then go to 1.4.9-SNAPSHOT? 2010/5/5 Major Péter majorpe...@sch.bme.hu: Hi, We have 1.4.7-SNAPSHOT for quite some time now

Re: Wicketstuff updated!

2010-04-18 Thread Major Péter
TeamCity is still unable to connect to the SVN server, so there are no artifacts for 1.4.7-SNAPSHOT. You need to build the artifacts for yourself.. Regards, Peter 2010-04-18 20:39 keltezéssel, Nikita Tovstoles írta: Could someone pls point me to 1.4.7-SNAPSHOT maven repo location? It's not

Re: DropDownList

2010-04-14 Thread Major Péter
http://lmgtfy.com/?q=wicket+change+choose+one+text 2010-04-14 14:00 keltezéssel, Josh Kamau írta: Hi team; Please tell me , how do i change the Choose One text on the drop down list to something else? regards; Josh -

Re: Google Charts integration

2010-04-13 Thread Major Péter
It's available here: https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core/googlecharts-parent/ Regards, Peter 2010-04-12 22:28 keltezéssel, Major Péter írta: I've just started to move the application into wicketstuff-core. I will check also, whether the API has

Re: Google Charts integration

2010-04-12 Thread Major Péter
Hi, I've just checked out the project from https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/branches/wicket-1.3.x/wicket-googlecharts/ and after changing the wicket version in the pom, it still compiles, so it worth a try. :) Regards, Peter 2010-04-12 15:00 keltezéssel, Alexander

Re: Google Charts integration

2010-04-12 Thread Major Péter
should bump the version.. Anyone knows if the project are still active?.. I might be headed down the googlecharts road and if I go there. I'll make sure the project works on wicket 1.4.7 and update the project .. 2010/4/12 Major Péter majorpe...@sch.bme.hu: Hi, I've just checked out

Re: Google Charts integration

2010-04-12 Thread Major Péter
?.. I might be headed down the googlecharts road and if I go there. I'll make sure the project works on wicket 1.4.7 and update the project .. 2010/4/12 Major Péter majorpe...@sch.bme.hu: Hi, I've just checked out the project from https://wicket-stuff.svn.sourceforge.net/svnroot/wicket

Re: Wicketstuff updated!

2010-03-28 Thread Major Péter
JavaEE-Inject is tested, and OK. It looks like there are projects, which are depending to a specific wicket version (1.4-rc*, 1.4.5): * multi-text-input-parent * flot-parent/flot * flot-parent/flot-examples * wicket-html5-parent * ddcalendar-parent/ddcalendar *

Re: How to integrate wicket and velocity?

2010-03-26 Thread Major Péter
See wicket-examples project: http://www.wicket-library.com/wicket-examples/velocity/ Regards, Peter 2010-03-26 14:00 keltezéssel, Gustavo Henrique írta: Can anyone tell me where I find a good documentation about this integration? Thanks!

Re: Wicketstuff versioning

2010-03-23 Thread Major Péter
2010-03-23 11:24 keltezéssel, Boris Goldowsky írta: I may be wrong, but wouldn't it make sense to delay creating a 1.4.x branch until/unless someone actually wants to commit some code that would be different for 1.4.x and 1.5-SNAPSHOT? Once we branch, we have to start committing every bug fix

Re: Wicketstuff versioning

2010-03-23 Thread Major Péter
this mean everything in wicketstuff will stay as it is for a long time? Why not start with a smaller step and create a core wicketstuff release for current wicket 1.4? Stefan -Ursprüngliche Nachricht- Von: Major Péter [mailto:majorpe...@sch.bme.hu] Gesendet: Dienstag, 23. März 2010 11:38

Re: Inject Dao ( with JPA impl) into Wicket without Spring ?

2010-03-23 Thread Major Péter
I think yes, Wicket is already depending on cglib, so you could create something like this: http://fisheye6.atlassian.com/browse/wicket/branches/wicket-1.4.x/wicket-spring/src/main/java/org/apache/wicket/spring/SpringBeanLocator.java?r=HEAD or for non-spring code check out the wicketstuff

Re: Inject Dao ( with JPA impl) into Wicket without Spring ?

2010-03-23 Thread Major Péter
(like Resin 4 , JBoss , Glassfish v3) ... But I don't know how ... I think it will greatly reduce the webapp size (and memory footprint , probably) without spring. 2010/3/23 Major Péter majorpe...@sch.bme.hu I think yes, Wicket is already depending on cglib, so you could create

Re: Export wicket rendered page to pdf

2010-03-23 Thread Major Péter
I guess with iText, you could do that. In theory you could give an HTML output to it, to export it as a PDF. Regards, Peter 2010-03-23 19:08 keltezéssel, Rodolfo Cartas írta: Hi all! Is there a way to export a page rendered in wicket to a pdf file within the application? Best regards,

Re: Wicketstuff versioning

2010-03-23 Thread Major Péter
Hi, +1 on creating wicketstuff-core jira to coordinate release process. Here it is: http://wicketstuff.org/jira/secure/Dashboard.jspa +1 on creating a wicketstuff-core/wicketstuff-test module to share testing code between core projects. +1 on running integration tests to find run-time

Re: Dynamically adding input fields to a form

2010-03-23 Thread Major Péter
Hi, If you only need textfields, then the attached quickstart to this issue: https://issues.apache.org/jira/browse/WICKET-2432 should do it. ;) Best Regards, Peter 2010-03-23 23:40 keltezéssel, William Chu írta: Hi, Is it possible to dynamically add inputs (Texfields) to a form in Wicket?

Re: Dynamically adding input fields to a form

2010-03-23 Thread Major Péter
the input in the onSubmit() method. I'm using a StatelessForm. The user can dynamically add input text fields (input type=text namefoo1 value=.../) via javascript. When I process the form on the server side, how do I loop through the inputs passed back? Thanks, Will 2010/3/23 Major

Re: Wicketstuff versioning

2010-03-22 Thread Major Péter
Yepp, nice chat, but who wants to do the dirty work?? The first thing would be to create the 1.4.x branch, then release the current state as wicketstuff 1.4.7, and then modify the settings of the trunk to compile with wicket trunk. Let's split these jobs up to people, then do it. Also maybe we

Re: Wicketstuff versioning

2010-03-19 Thread Major Péter
Hi, count me in. I would like to help maintain wicketstuff-core too. ;) When I came to build wicketstuff-core, sometimes I end up fixing dependency issues and other stuff in others projects, but I don't commit them, because I don't want to modify someone else's code without her/his knowledge, and

Re: wicket-contrib-javaee: @EJB injection - injecting always the same instance regardless of session

2010-03-18 Thread Major Péter
Hi, At first thought, please try your code out with wicketstuff javaee-inject, but it will most likely behave just the same. You cannot store your bean in session, because AFAIK they're not serializable. Please rise an issue for this (also quickstart would be great), and I will look into it.

Re: How to delete an item from List view.

2010-03-17 Thread Major Péter
Hi, Been there, pal, believe me, been there. :)) See https://issues.apache.org/jira/browse/WICKET-2432 quickstart.zip Remove the FileUpload and this should do it for you. :) Best Regards, Peter 2010-03-17 15:10 keltezéssel, prati írta: Hi I have got a refreshingView with a delete link in

Re: Wicketstuff versioning

2010-03-17 Thread Major Péter
I always thought, that Jeremy was the maintainer of WicketStuff. Guess I was wrong. :) Sidenote: Also, I really wanted to write docs for the javaee-inject project, but I don't have confluence access, and the signup gives: org.springframework.transaction.UnexpectedRollbackException: Transaction

Re: Wicket Renames my Form id

2010-03-15 Thread Major Péter
override http://wicket.apache.org/docs/1.4/org/apache/wicket/Component.html#getMarkupId() 2010-03-15 20:00 keltezéssel, Steven Haines írta: Hi, I've noticed that wicket is renaming my form id, which has become problematic when our JavaScript developer makes use of the id for some of his

Re: Better way to find a parent compoent in page hiearchy?

2010-02-28 Thread Major Péter
Maybe, this will be good for you: http://wicketstuff.org/wicket13doc/org/apache/wicket/MarkupContainer.html#get(java.lang.String) Regards, Peter 2010-02-28 22:12 keltezéssel, David Chang írta: igor, thanks for prompt help! I can use Component#findParent(SomeClass.class) to find the first

Re: Better way to find a parent compoent in page hiearchy?

2010-02-28 Thread Major Péter
Péter majorpe...@sch.bme.hu wrote: From: Major Péter majorpe...@sch.bme.hu Subject: Re: Better way to find a parent compoent in page hiearchy? To: users@wicket.apache.org Date: Sunday, February 28, 2010, 4:20 PM Maybe, this will be good for you: http://wicketstuff.org/wicket13doc/org/apache

Re: Type Validator in 1.4??

2010-02-24 Thread Major Péter
Try IConverter, see: https://svn.apache.org/repos/asf/wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/Application.properties Regards, Peter 2010-02-24 18:58 keltezéssel, Thierry Leveque írta: It does not seems to work. I tried with [form name].ConversionException.Integer

Re: setPageExpiredErrorPage only for certain pages?

2010-02-14 Thread Major Péter
My guess would be to override RequestCycle#onRuntimeException and do your logic there if the exception is PageExpiredException. Regards, Peter 2010-02-14 13:54 keltezéssel, Andreas Lüdtke írta: In my WebApplication class I use setPageExpiredErrorPage(). So far, so good. But this happens also

Re: setResponsePage in the beggining of a constructor does not work

2010-02-04 Thread Major Péter
Hi, the setresponsepage only marks, that the pagetarget is something else on the end of the cycle, but it isn't stopping the execution of the current page. If you want that, then use: throw new RestartResponseException(getApplication().getHomePage()); Regards, Peter 2010-02-04 14:16

Re: setResponsePage in the beggining of a constructor does not work

2010-02-04 Thread Major Péter
@wicket.apache.org Subject: RE: setResponsePage in the beggining of a constructor does not work Thanks friend! Works great! You saved me a lot of time! Best regards, Martin -Original Message- From: Major Péter [mailto:majorpe...@sch.bme.hu] Sent: Thursday, February 04, 2010 3:21 PM

Re: Mounting problem with GlassFishv3

2010-02-01 Thread Major Péter
Hi, the result is this ticket: https://issues.apache.org/jira/browse/WICKET-2712 See more details there. Regards, Peter 2010-02-01 16:42 keltezéssel, Riyad Kalla írta: Peter, keep us posted on what the GF team comes back with. Best, Riyad 2010/1/31 Major Péter majorpe...@sch.bme.hu

Re: Mounting problem with GlassFishv3

2010-01-31 Thread Major Péter
and ask the GlassFish team what they think about this issue and return here with the answer. Thanks, Peter 2010-01-30 20:28 keltezéssel, Major Péter írta: Hi, I've an application, which in its web.xml has a 404 page declared: error-page error-code404/error-code location/error

Re: Tree table with check box

2010-01-14 Thread Major Péter
Hi, check out wicket-tree (http://code.google.com/p/wicket-tree/) and see the example app, I think it will solve your problem. Regards, Peter prati írta: Hi, I am also stuck in similar problem.If you can share your code snippets of how u did that will be of great help. Thanks Pratibha

Re: New photo album generator

2010-01-12 Thread Major Péter
Hi, The site looks great, nice UI! I think I found some problem on: http://jalbum.net/maps/downloads.jsp (JSP :) ) Here if I zoom in on Europe with double clicks, there is a point where the app is taking control and the map goes to Tokyo, or random parts of the earth, but I guess I've just got

Re: [announce] Wicket Stuff Core - JavaEE Inject

2010-01-08 Thread Major Péter
Hi, 2010-01-08 12:38 keltezéssel, 谢非 írta: 1. Each EJB must be declared in web.xml In the example I'm not doing so, and it's still working under GF, but if you love to write XML files, then nothing stops you, to declare your EJBs in web.xml and use their names in the annotation. 2.

Re: [announce] Wicket Stuff Core - JavaEE Inject

2010-01-03 Thread Major Péter
Yes, I've just checked with No-local-interface view, Singleton beans and web-layer EJB's and they all worked without any problem. Regards, Peter 2010-01-03 10:43 keltezéssel, Paul Szulc írta: Will it work with JEE6? 2009/12/31 Major Péter majorpe...@sch.bme.hu Hi all, I am proud

[announce] Wicket Stuff Core - JavaEE Inject

2009-12-30 Thread Major Péter
Hi all, I am proud to announce the semi-new JavaEE Inject project in Wicket Stuff Core, which was formerly known as wicket-contrib-javaee. The goal of the project: Make the @EJB, @Resource and @PersistenceUnit annotations available for Wicket users, to make the development more easier. This

Re: Handling Ajax session expired

2009-12-28 Thread Major Péter
Hi, 2009-12-28 15:57 keltezéssel, Jim Pinkham írta: OK, but could you deploy multiple copies of the same app to different root contexts - that would give you the info you want in each URL and thus be able to do different home/error pages with some config along with each copy of the app.

Re: Handling Ajax session expired

2009-12-28 Thread Major Péter
. Different frontend apps should use the same EJB's. In that case, It's not so ugly anymore in my opinion. (I don't want to advocate the use of EJB's though..) 2009/12/28 Major Péter majorpe...@sch.bme.hu Hi, 2009-12-28 15:57 keltezéssel, Jim Pinkham írta: OK, but could you deploy multiple

Re: File Upload Issues

2009-12-28 Thread Major Péter
Hi, I had some issue with multipart forms and ajax recently, but in 1.4.4 it works for me, see https://issues.apache.org/jira/browse/WICKET-2432 for more details. Is this the same issue for you? Maybe try the quickstart, see if there the ajax is working for you. Regards, Peter 2009-12-28 16:46

Re: WicketStuff and wicket-contrib-javaee

2009-12-10 Thread Major Péter
Hi guys, I now have commit rights to wicketstuff, but first I need to finish my thesis and take some exams, but hopefully soon, the javaee-inject project (had to rename the project) will appear in wicketstuff-core. ;) Also because the rename, some package-renaming will happen too. As soon as I'm

WicketStuff and wicket-contrib-javaee

2009-12-07 Thread Major Péter
Hi all, Lately I had to make some refactoring in wicket-contrib-javaee, and I saw, that the project is not well maintained. In the repo I only could find the source for v1.0, but only on sourceforge did I found the v1.1 sources. :s So after I had refactored the source to make it work with Wicket

Re: wicket enclosure not finding child!?

2009-12-06 Thread Major Péter
Hi, svn co http://svn.apache.org/repos/asf/wicket/branches/wicket-1.4.x/ mvn -Dmaven.test.skip=true install that's all you need to do. Regards, Peter 2009-12-07 03:57 keltezéssel, Douglas Ferguson írta: The project has several dependencies, do I have to check out all or is there a master

Re: wicket enclosure not finding child!?

2009-12-03 Thread Major Péter
Yes: http://www.jeremythomerson.com/blog/2008/11/wicket-quickstart-tutorial/ Peter 2009-12-04 00:13 keltezéssel, Douglas Ferguson írta: Are there instructions for this? D/ On Dec 3, 2009, at 4:51 PM, Igor Vaynberg wrote: create a quickstart or a testcase and attach it to the jira issue

Re: Wicket 1.5 experiences

2009-12-02 Thread Major Péter
Anyone? 2009-12-01 23:17 keltezéssel, Major Péter írta: Hi, I'm trying to make my project 1.5-compatible, but I had run into two issues: First I was stumbled when saw IComponentBorder has been deleted, but after some Googling I found the corresponding ticket: https://issues.apache.org/jira

Re: Wicket 1.5 experiences

2009-12-02 Thread Major Péter
EJBs with JPA this will allow your load balanced web applications to all use the same EJB and therefore the same EntityManager, ensuring that your merge operations work correctly and you can catch OptimisticLockExceptions properly. Craig _ From: Major Péter [mailto:majorpe

Wicket 1.5 experiences

2009-12-01 Thread Major Péter
Hi, I'm trying to make my project 1.5-compatible, but I had run into two issues: First I was stumbled when saw IComponentBorder has been deleted, but after some Googling I found the corresponding ticket: https://issues.apache.org/jira/browse/WICKET-2280 Okay, that's great, but I can't see this

Re: Wicket 1.5 experiences

2009-12-01 Thread Major Péter
). Is there an approximately release date for wicket 1.5? Thanks Peter 2009-12-01 23:18 keltezéssel, Matej Knopp írta: Hi, Wicket 1.5 is currently highly experimental. I definitely wouldn't recommend using it for anything even half serious. -Matej 2009/12/1 Major Péter majorpe...@sch.bme.hu: Hi, I'm trying

Re: Hide feedback when there are no messages

2009-11-28 Thread Major Péter
Hi, How does your markup looks like? Peter 2009-11-28 20:26 keltezéssel, Николай Кучумов írta: Hello. I'm currently developing a sign up form using Wicket. I've stylized the error feedback panel to make it look red, and now i see this red panel even when there are no messages at all. Can

Re: Hide feedback when there are no messages

2009-11-28 Thread Major Péter
well, if you put in the class=error by deafult, of course it will show the div. ;) Delete from your markup the class=error, then see when your validation fails, what css class will be generated via wicket, and override that from your css file. Peter 2009-11-28 20:46 keltezéssel, Николай Кучумов

Re: Hide feedback when there are no messages

2009-11-28 Thread Major Péter
something like errorFeedbackPanel. 2009/11/28 Major Péter majorpe...@sch.bme.hu well, if you put in the class=error by deafult, of course it will show the div. ;) Delete from your markup the class=error, then see when your validation fails, what css class will be generated via wicket

Re: Wicket based open source projects

2009-11-27 Thread Major Péter
Why don't you read this? http://wicket.apache.org/examples.html This will teach you the very basics of the wicket, anything else, what you would later need is just a Google query away from you. There are many Wicket example sites, see: http://wicket.apache.org/blogs.html

Re: Wicket based open source projects

2009-11-27 Thread Major Péter
I guess JTrac should do it, it's not that big project like the others. 2009-11-27 16:34 keltezéssel, Juri Prokofiev írta: What I'm looking for is not component examples, but architecture solutions. 2009/11/27 Major Péter majorpe...@sch.bme.hu: Why don't you read this? http

Re: LDAP Authentication

2009-11-05 Thread Major Péter
Hi, You should check JAAS, AFAIK it has ldap-integration too, but if you need to create an edit profile page, then I recommend you Spring-LDAP, it's very easy to use (but I'm not sure, that the roles would work). Regards, Peter 2009-11-05 21:16 keltezéssel, Benjamin Pack írta: We’re working on

Re: Too Many Files Wicket 1.4.1

2009-10-20 Thread Major Péter
Hi, we also had this issue, because (I think) we are running two different wicket application in only one glassfish domain. Our resolution was, that we are running now the glassfish domains with custom init scripts with ulimit settings. Maybe this will help for you. Best Regards, Peter

Re: Too Many Files Wicket 1.4.1

2009-10-20 Thread Major Péter
resolution - solution... Just set the ulimit in the initscript and run it with start-stop-daemon, it will make the problem disappear (but still there would be many open files...) Peter 2009-10-21 00:38 keltezéssel, Major Péter írta: Hi, we also had this issue, because (I think) we

Re: Multiple choice checkboxes

2009-09-21 Thread Major Péter
This should be good for you: http://wicketstuff.org/wicket13/compref/?wicket:bookmarkablePage=:org.apache.wicket.examples.compref.CheckBoxMultipleChoicePage Regards, Peter 2009-09-21 23:13 keltezéssel, Sadhna Ahuja írta: Is there a way to have multiple choice checkboxes? From what I read on

  1   2   >