Re: wicket and stateless ajax?

2024-07-01 Thread Bas Gooren
… and if it’s not really statelessness you are after but clean urls … c) map the page using a mapper which doesn’t put the page id in the url; The public URL is clean, but ajax urls will refer to stateful urls. Met vriendelijke groet, Kind regards, Bas Gooren Op 1 juli 2024 bij 10:14:31

Re: Question about Resource Management changes in Wicket 8

2024-06-07 Thread Bas Gooren
vriendelijke groet, Kind regards, Bas Gooren Op 6 juni 2024 bij 15:28:35, Kyle Bibby (kbi...@avemacorp.com) schreef: Hello, I have a large project that I am upgrading from Wicket 6 to Wicket 8. Yes, it's fairly old. As I am working through the various changes one issue has stumped me. With Wicket 8, my

Re: RangeValidator and BigDecimal

2023-12-20 Thread Bas Gooren
")); … it will work correctly. Met vriendelijke groet, Kind regards, Bas Gooren Op 20 december 2023 bij 15:25:23, Sven Meier (s...@meiers.net) schreef: Hi Eric, you can read in the javadoc, why your first solution is 'unpredictable': https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java

Re: RangeValidator and BigDecimal

2023-12-20 Thread Bas Gooren
regards, Bas Gooren Op 20 december 2023 bij 14:38:53, Eric Hamel (eric.ha...@albanyitg.com) schreef: Good morning, We encountered an issue this morning with our use of RangeValidator. The customer requested a validation for amounts between 0.01 and 999,999.00. We have a NumberTextField to which

Re: problem using DropDownChoice

2023-12-14 Thread Bas Gooren
contents are updated. If you still cannot figure it out, please provide a quickstart that demonstrates your issue. That will help others (like me) to spot the underlying issue quickly. Met vriendelijke groet, Kind regards, Bas Gooren Op 14 december 2023 bij 19:27:30, Nelligan, Steven M (snell...@i

Re: Aw: Re: Odd behaviour with StatelessForm and onInitialize()

2023-12-01 Thread Bas Gooren
lize). Perhaps one of the core devs can comment on if what I found to happen is desired behavior (components not configured after form submit in stateless page, when components are added in onInitialize). Met vriendelijke groet, Kind regards, Bas Gooren Op 30 november 2023 bij 16:45:48, ihmeh

Re: Odd behaviour with StatelessForm and onInitialize()

2023-11-28 Thread Bas Gooren
with a stateful page. But this is just me guessing without looking at your code. Met vriendelijke groet, Kind regards, Bas Gooren Op 23 november 2023 bij 16:09:53, ihmehlm...@gmx.de (ihmehlm...@gmx.de) schreef: Hello, upon working with StatelessForms for the first time I stumbled up an odd behavior

Re: Question about log warning: "IndicatingAjaxButton should be applied on a 'button' tag"

2023-06-28 Thread Bas Gooren
Hi Shawn, That’s more of a styling issue. uses the “value” attribute to render the button text. For a you’ll need to put the value inside the button tag: value goes here Met vriendelijke groet, Kind regards, Bas Gooren Op 28 juni 2023 bij 15:24:44, Shawn McKinney (smckin...@symas.com

Re: Question about log warning: "IndicatingAjaxButton should be applied on a 'button' tag"

2023-06-28 Thread Bas Gooren
Hi Shawn, The code basically checks if you apply the behavior to a element. In other words: is considered an “invalid” element for this behavior. is considered “valid”. Met vriendelijke groet, Kind regards, Bas Gooren Op 28 juni 2023 bij 15:08:52, Shawn McKinney (smckin...@symas.com

Re: Blind XPath Injection Solution

2022-11-08 Thread Bas Gooren
SQL or other queries, you are good. So if this an issue in your case depends on what you do with the value of your form field at regionFormGroup:regionFormGroup_body:regionTextField Met vriendelijke groet, Kind regards, Bas Gooren Op 8 november 2022 bij 05:03:57, Jonathan P. Babie (

Re: BootstrapMultiSelect shows empty list without any options.

2022-06-22 Thread Bas Gooren
Hi! Sounds like a CSS/display issue. Did you inspect which css rules apply to the select and its children? Met vriendelijke groet, Kind regards, Bas Gooren Op 22 juni 2022 bij 11:34:00, Arunachalam Sibisakkaravarthi ( arunacha...@mcruncher.com) schreef: Hi guys, We are working to implement

Re: Ajax Error

2022-05-23 Thread Bas Gooren
) is adding some javascript code to a wicket Ajax response, which fails. You could inspect the Ajax response using e.g. chrome developer tools to see where a “Main” variable is referenced. Met vriendelijke groet, Kind regards, Bas Gooren Op 23 mei 2022 bij 13:03:16, vahid ghasemi (vahidghasemi

Re: No matching SeamConversationContext for store type interface javax.servlet.http.HttpServletRequest, using NOOP instance!

2022-03-23 Thread Bas Gooren
was removed in 2018 (with the upgrade to CDI 2): https://github.com/apache/wicket/commit/0f64e1f9e30bb3642805730e2409e9d3ac4ebcea The new version without the seam conversation dependency is wicket 9. Have you tried upgrading to that version? Met vriendelijke groet, Kind regards, Bas Gooren Op 23

Re: How to use the JavaScriptDeferHeaderResponse correctly?

2022-02-02 Thread Bas Gooren
Hi Sven, Thank you for the workaround, I’ll try it out this week. I have also created a jira issue for this: https://issues.apache.org/jira/browse/WICKET-6953 Met vriendelijke groet, Kind regards, Bas Gooren Op 1 februari 2022 bij 20:22:58, Sven Meier (s...@meiers.net) schreef

How to use the JavaScriptDeferHeaderResponse correctly?

2022-01-31 Thread Bas Gooren
e decorators collection (add, add pre, add post). Any help would be appreciated :-) Met vriendelijke groet, Kind regards, Bas Gooren - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: Custom error handler (IRequestCycleListener) with Bookmarkable page

2021-11-11 Thread Bas Gooren
or me: remove the zero-arg constructor. Hope this helps! Met vriendelijke groet, Kind regards, Bas Gooren Op 11 november 2021 bij 13:59:27, Jeroen Steenbeeke ( j.steenbeeke...@gmail.com) schreef: Our application uses an implementation of IRequestCycleListener to redirect users to a custom error

Re: Cookiebot support

2021-08-06 Thread Bas Gooren
Hi Stepan, I would say a combination of two things: a) subclass JavascriptContentHeaderItem, override its render method to render additional attributes b) wrap your new header item in a PriorityHeaderItem Met vriendelijke groet, Kind regards, Bas Gooren Op 6 augustus 2021 bij 14:53:01, Stepan

Re: Possible bug / edge case found where page is not detached

2021-07-25 Thread Bas Gooren
Hi Sven, Done - https://issues.apache.org/jira/browse/WICKET-6908 Met vriendelijke groet, Kind regards, Bas Gooren Op 24 juli 2021 bij 10:29:38, Sven Meier (s...@meiers.net) schreef: Hi Bas, that sounds like a bug. Your quickstart didn't make it through the mailing list, would you please

Possible bug / edge case found where page is not detached

2021-07-23 Thread Bas Gooren
—> So the page was not detached These steps don’t have the same result on the homepage. So my guess is there is some relation to the fact that we are interacting with a stateful, non-mounted page. Met vriendelijke groet, Kind regards, Ba

Re: Password in url after page recreation

2021-07-20 Thread Bas Gooren
parameters, which are reused when recreateBookmarkablePagesAfterExpiry is true and the page expired. Did you by any chance specify a method=“GET” attribute on your form? Met vriendelijke groet, Kind regards, Bas Gooren Op 20 juli 2021 bij 21:46:07, Claudia Hirt (claudiabec...@gmx.de) schreef: >

Re: reset form

2021-06-29 Thread Bas Gooren
string value are used as model values for the form components). Met vriendelijke groet, Kind regards, Bas Gooren Op 29 juni 2021 bij 10:22:01, vahid ghasemi (vahidghasemi...@gmail.com) schreef: First, thanks for the speed of your support. 1 AjaxButton reset = new AjaxButton("reset&q

Re: Parent page container required in child page?

2021-06-26 Thread Bas Gooren
Hi, Have a look at TransparentWebMarkupContainer, it was specifically made for this. This does involve some (internal) magic in wicket but allows you to simply say this.add() in child pages instead of rootContainer.add(). // Bas Verstuurd vanaf mijn iPhone > Op 26 jun. 2021 om 18:09 heeft Prag

Re: Reg: Wicket CSRF Token

2021-06-16 Thread Bas Gooren
Hi Sundar, Have you had a look at https://julienprog.wordpress.com/2017/10/28/csrf-prevention-for-wicket/ ? Met vriendelijke groet, Kind regards, Bas Gooren Op 16 juni 2021 bij 09:15:48, sundar saba (sundarsabapa...@gmail.com) schreef: Hi all, I am using wicket and spring security in my

Re: Kotlin 1.5.0 : NotSerializableException: Non-serializable lambda

2021-05-03 Thread Bas Gooren
bda’s in WizardPage are no longer serializable by default due to your upgrade to kotlin 1.5.0. So I’d recommend downgrading your Kotlin for now. (I’m not an active user of kotlin, so I found this information with 10 minutes of Googling) Met vriendelijke groet, Kind regards, Bas Gooren Op 30 april 2021 bij

Re: Checking preconditions/changes in models

2021-01-29 Thread Bas Gooren
age Regards Sven On 20.01.21 09:18, Bas Gooren wrote: > Hi Sven, > > Thank you for your reply. > > On catching failure “when it happens”: can you explain what that looks like > for you? > > E.g. do you handle exceptions within the model itself, or with a > Req

Re: Checking preconditions/changes in models

2021-01-20 Thread Bas Gooren
call to “getModelObject()” inside my components with a try-catch (so in methods like onConfigure, onClick etc). Met vriendelijke groet, Kind regards, Bas Gooren Op 14 januari 2021 bij 19:18:57, Sven Meier (s...@meiers.net) schreef: Hi Bas, in my experience is is very hard to check every possible

Re: Illegal Reflective Access in DefaultPropertyLocator

2021-01-18 Thread Bas Gooren
groet, Kind regards, Bas Gooren Op 18 januari 2021 bij 17:13:42, Johannes Renoth (johannes.ren...@gmx.de) schreef: Hello, In my project i have the following Warning since the Update to Java 11: The issue remains even after trying with the latest Version 9.2.0 I am using a LocalDateTime Model

Checking preconditions/changes in models

2021-01-12 Thread Bas Gooren
Hi all, First off: best wishes to everyone for 2021, and that we may all have fun this year building stuff in Wicket! I’m wondering how others implement the following requirement… Suppose a page has a model backed by something stored in the session or database (e.g. an e-commerce basket page or

Re: Migration from 7 to 8.9.0 : Missing Ajax target in listener

2020-08-21 Thread Bas Gooren
” javascript calls? Met vriendelijke groet, Kind regards, Bas Gooren Op 21 augustus 2020 bij 11:16:01, Frédéric Donckels ( frederic.donck...@gmail.com) schreef: Hello, we are in the process of migrating from Wicket 7 to 8.9.0 and have a troubling issue. On one page, we have a list of elements. When we

Re: "wicket:message" in markup combined with Property Expression Language

2020-08-14 Thread Bas Gooren
replacement prior to using it to find a localized message. This means you’ll have to wire things up in java code to make your use-case work. Met vriendelijke groet, Kind regards, Bas Gooren Op 14 augustus 2020 bij 09:56:50, Thorsten Schöning (tschoen...@am-soft.de) schreef: Hi all, I know how to use

Re: Issues with refreshing panel with form

2020-08-03 Thread Bas Gooren
Hi Michal, Can you provide some code, e.g. a Quickstart application [1] so we can have a look? It’s hard to say why it’s not working without seeing some code. 1) https://wicket.apache.org/start/quickstart.html Met vriendelijke groet, Kind regards, Bas Gooren Op 3 augustus 2020 bij 13:53:36

Re: Page locked for a long time

2020-07-23 Thread Bas Gooren
Hi Maxim, You need to call parseFileParts() on the request yourself before accessing files and post parameters, or there are no parts and post parameters. Am on mobile so cannot quickly find java doc for 8 or 9 but api is the same:

Re: Change pageId Parameter structure

2020-07-14 Thread Bas Gooren
!), but also allows you to solve this in 1 location instead of many locations. Source: I have written many such custom mappers and mapper decorators, e.g. for localization of urls. Met vriendelijke groet, Kind regards, Bas Gooren Op 14 juli 2020 bij 14:54:07, Ravi Knox (ravi.k...@intellinet.de

Re: Preventing AJAX behavior to execute during page reload

2020-03-06 Thread Bas Gooren
state if an action was executed or not. May I ask why you are not simply calling setResponsePage(getPage())? Met vriendelijke groet, Kind regards, Bas Gooren Op 6 maart 2020 bij 10:58:59, Sebastian Lichtenfels ( sebastian.lichtenf...@tomtec.de) schreef: Hi all, I have a problem with an AJAX

Re: Dealing with editing of nested objects in a multiple screens for a single entity

2020-01-18 Thread Bas Gooren
regards, Bas Gooren Op 17 januari 2020 bij 21:42:54, Sven Meier (s...@meiers.net) schreef: Hi Bas, >set of custom models that remembers what was provided in “setObject” and can later replay this in my experience most attempts on putting to much logic into model implementations have failed. L

Re: An open source devops platform completely created with Wicket

2020-01-16 Thread Bas Gooren
mimic mine), as there are not that many (public) stories about wicket usage :-) I will certainly have a close look at your product. Thanks! Met vriendelijke groet, Kind regards, Bas Gooren Op 17 januari 2020 bij 01:26:06, Robin Shen (ro...@pmease.com) schreef: Dear wicket users, I'd like

Dealing with editing of nested objects in a multiple screens for a single entity

2020-01-16 Thread Bas Gooren
aining it. But alas, I cannot seem to find any mention of it anymore. Thank you all for reading and any input you can provide. Met vriendelijke groet, Kind regards, Bas Gooren

Re: Retrieve user's page on the site

2019-12-30 Thread Bas Gooren
this (either in-memory by IP, or some other backing store). When an exception occurs, you can catch it in your request cycle listener and fetch the last user actions. Together, these should provide a better trail of actions leading up to the exceptions. Met vriendelijke groet, Kind regards, Bas Gooren Op

Re: Application not seri

2019-12-21 Thread Bas Gooren
() { MyServiceInsideApplication service = MyApplication.getService(); return service.getX(); } }; This way, there is no need to serialize the service, as it can be looked up just-in-time when it is needed. Met vriendelijke groet, Kind regards, Bas Gooren Op 21 december 2019 bij 07:03:18, ShengChe Hsiao (front...@gmail.com

Re: Is there a way to control Wicket's id generation?

2019-10-25 Thread Bas Gooren
a “radioX” value there. Of course the value can be overridden, but not with a central strategy. Met vriendelijke groet, Kind regards, Bas Gooren Op 25 oktober 2019 bij 17:06:32, Entropy (blmulholl...@gmail.com) schreef: I work on a government project and one of our rules is that all of our apps

Re: Wrapping a FormComponent with a Border

2019-09-04 Thread Bas Gooren
Hi Tom, I can have a look over the weekend, to see if I can extract some code and put it on GitHub for you. Met vriendelijke groet, Kind regards, Bas Gooren Op 3 september 2019 bij 13:05:42, Tom Götz (t...@richmountain.de) schreef: Hi Bas and thanks for your input! I guess this would also

Re: Wrapping a FormComponent with a Border

2019-09-03 Thread Bas Gooren
. My 2 cents :-) Met vriendelijke groet, Kind regards, Bas Gooren Op 3 september 2019 bij 11:19:06, Tom Götz (t...@richmountain.de) schreef: Well ok, I'll give the Panel solution a try. In the panel I will have a FormGroup Border and inside that there's my input/textfield. Only thing that still

Re: Migrating to 8.5

2019-08-19 Thread Bas Gooren
Hi! It sounds like you are not referencing the correct wicket-request dependency. Did you check your maven dependency tree to ensure there are no old (or duplicate/multiple) versions of wicket dependencies being resolved? Met vriendelijke groet, Kind regards, Bas Gooren Op 19 augustus 2019

Re: Control how and where the Bootstrap css resources are included in the page

2019-05-10 Thread Bas Gooren
, Bas Gooren Op 10 mei 2019 bij 17:24:43, Matteo Alessandroni ( matteo.alessandr...@tirasa.net) schreef: Hi, I would like to know whether there is a way to decide where to place the Bootstrap css resources in the element. I'm asking this because I have a "BookmarkablePageLink" eleme

Re: ModalWindow cannot trigger setWindowClosedCallback or setCloseButtonCallback problem

2019-03-06 Thread Bas Gooren
Hi, Since you are not storing pages, how does the form in your modal window work? I assume you are using a stateless form? Since your on close callback is stateful, it will not work; you will either need to use a stateless Ajax behavior or stateless form where in onsubmit you redirect to a new

Re: Best practice for custom page renderer

2019-02-28 Thread Bas Gooren
Hi! We have many stateless pages in our apps (public-facing, indexed, e-commerce websites), and use the default render strategy provided by wicket. When a page is stateless, wicket does not redirect. Are you sure your pages are stateless? Met vriendelijke groet, Kind regards, Bas Gooren Op

Re: Model map with enum as a key

2019-02-04 Thread Bas Gooren
e groet, Kind regards, Bas Gooren Op 4 februari 2019 bij 13:51:28, Zbynek Vavros (zbynekvav...@gmail.com) schreef: I got this class that has map with enums as keys: public class MasterClass { private Map config = Maps.newHashMap(); } enum is classic: public enum MyEnum { VALUE1, VALUE2 } now

Re: web session not available to current thread

2018-12-10 Thread Bas Gooren
().add( new XForwardedRequestWrapperFactory() ); You might need to configure it, depending on your reverse proxy and it’s IP address; When the proxy’s IP matches the “allowedInternalProxies” regex, the real remote address will be available to wicket. Met vriendelijke groet, Kind regards, Bas Gooren

Re: LambdaModel use

2018-11-14 Thread Bas Gooren
groet, Kind regards, Bas Gooren Op 11 november 2018 bij 00:42:38, Илья Нарыжный (phan...@ydn.ru) schreef: Thank you, Bas! Fully agree with you that if setters is to set something on a main target object. In my particular case, I tried to use LambdaModel for "conversion" betwee

Re: AjaxSelfUpdatingBehaviour detaches my DataTable

2018-11-14 Thread Bas Gooren
request or reload the entire page). What kind of data provider are you using? Met vriendelijke groet, Kind regards, Bas Gooren Op 12 november 2018 bij 14:19:09, Sandor Feher (sfe...@bluesystem.hu) schreef: Hi, I feel a little bit dump but I can't fix it. At the moment it looks like if I want my

Re: LambdaModel use

2018-11-08 Thread Bas Gooren
which delegates getting and setting the value to the specified supplier and consumer, without having a target model. 1) https://github.com/apache/wicket/blob/master/wicket-core/src/main/java/org/apache/wicket/model/LambdaModel.java Met vriendelijke groet, Kind regards, Bas Gooren Op 9 november 2018

Re: Rendering a page for storage

2018-09-16 Thread Bas Gooren
Hi René, If I recall correctly, the component renderer uses a mock request and response to render components. Does your page (or any injected services) require the request to be a servlet request? // Bas Verstuurd vanaf mijn iPhone > Op 16 sep. 2018 om 21:48 heeft René Stolle het volgende >

Re: spring controller redirect ModelAndView to a wicket panel class

2018-09-10 Thread Bas Gooren
of one-time-tokens so you can forward to wicket with that token and wicket can fetch the user based on the token. In any case, can you debug the code? If you set some breakpoint I think you’ll figure out quickly where the problem lies :-) Good luck. Met vriendelijke groet, Kind regards, Bas Gooren

Re: spring controller redirect ModelAndView to a wicket panel class

2018-09-08 Thread Bas Gooren
wicket one or the spring one? Of the two pages/urls in question (your spring endpoint running the code you’ve shown and the wicket page), which ones require authentication? Met vriendelijke groet, Kind regards, Bas Gooren Op 7 september 2018 bij 20:24:35, extraquoo (extraq...@gmail.com) schreef

Re: spring controller redirect ModelAndView to a wicket panel class

2018-09-07 Thread Bas Gooren
can extract and use to construct your panel in any way you need. Met vriendelijke groet, Kind regards, Bas Gooren Op 7 september 2018 bij 06:20:54, extraquoo (extraq...@gmail.com) schreef: Hi my project is implemented by two frameworks: spring web flow and wicket. Now in one of the spring

Re: renderFullUrl for apache internal redirected page

2018-08-04 Thread Bas Gooren
vhost configuration: Header set X-Forwarded-Proto “https” Met vriendelijke groet, Kind regards, Bas Gooren Op 4 augustus 2018 bij 12:44:59, smallufo (small...@gmail.com) schreef: My server is apache frontend , redirecting all port 80 to 443 and with '/app' prefix , proxyPass to internal

Re: ListenerRequestHandler / urls from the past... - component not found

2018-06-30 Thread Bas Gooren
should instead be >>> >>> http://examples7x.wicket.apache.org/forminput/?wicketHandling=0-1.IFormSubmitListener-inputForm >>> >>> where wicketHandling would be the global named paramter where the wicket >>> puts >>> all its infos into that param

Re: ListenerRequestHandler / urls from the past... - component not found

2018-06-29 Thread Bas Gooren
or a RenderPageRequestHandler, depending on the type of page that was being rendered (stateless, bookmarkable) Good luck. Met vriendelijke groet, Kind regards, Bas Gooren Op 29 juni 2018 bij 11:50:27, Korbinian Bachl ( korbinian.ba...@whiskyworld.de) schreef: Hi, I've got some problems with 404/ 500

Re: DropDownChoice and null value

2018-06-25 Thread Bas Gooren
. To override the “Choose one” text on the initial render, have a look at AbstractSingleSelectChoice#getDefaultChoice(String), as it documents which translation keys are used for these cases. Met vriendelijke groet, Kind regards, Bas Gooren Op 25 juni 2018 bij 14:26:46, JavaTraveler (meteor.ei

Re: wicket 8 / RootRequestMapper vs CompoundRequestMapper

2018-06-11 Thread Bas Gooren
er should be installed after all other mappers, and as the root mapper. If you just want to map some pages, just add the mapper and don’t worry about where in the hierarchy it is. As long as it returns a score higher than any other, it will be used. Met vriendelijke groet, Kind regards, Bas Gooren O

Re: How to use language/locale from url without creating a session?

2018-05-31 Thread Bas Gooren
, Bas Gooren Op 26 mei 2018 bij 13:41:25, Martin Grigorov (mgrigo...@apache.org) schreef: Hi, Here is another solution: - put the locale in RequestCycle's metadata - override Session#getLocale() and if Session#isTemporary() then use the metadata, otherwise use the session's locale On Fri, May 25

How to use language/locale from url without creating a session?

2018-05-25 Thread Bas Gooren
vriendelijke groet, Kind regards, Bas Gooren

Re: SPA, session replacement and pagestore

2018-05-19 Thread Bas Gooren
a lot of pages indexed by google. Met vriendelijke groet, Kind regards, Bas Gooren Op 18 mei 2018 bij 12:21:24, Ravi (ravi.k...@intellinet.de) schreef: Hi all, we have a single page application (SPA). On the first entree we of course get a Session url that will never disappear due to the nature

Re: manual resolving of path

2018-04-11 Thread Bas Gooren
, Kind regards, Bas Gooren Op 11 april 2018 bij 09:47:16, Korbinian Bachl ( korbinian.ba...@whiskyworld.de) schreef: Hi, where would I need to look at if I wanted to resolve the path from the root of the webapplication inside a wicket application root? e.g.: domain.com <- has wicket app on R

Re: Wicket in a wildfly cluster

2018-03-02 Thread Bas Gooren
Hi Ravi, Sorry - I have no experience with "real-time" session replication. Personally I would never attempt it, as wicket sessions can grow relatively large and thus replication may not be instantaneous (as you are experiencing)… Met vriendelijke groet, Kind regards, Bas Gooren

Re: Wicket in a wildfly cluster

2018-03-02 Thread Bas Gooren
Hi Ravi, You don’t mention what’s in front of your application servers. Are you doing non-sticky load balancing? Or are you having issues when the user hits the same application server? (Which would be a different issue) Met vriendelijke groet, Kind regards, Bas Gooren Op 2 maart 2018 bij 13

Re: Session discontinue

2018-03-01 Thread Bas Gooren
Hi! It sounds like your session is not getting bound. Have you tried explicitly calling bind()? Ps it’s good practice to call replaceSession() on login to prevent session fixation, so have a look at that, too. // Bas Verstuurd vanaf mijn iPhone > Op 1 mrt. 2018 om 10:44 heeft

Re: strange error

2018-02-27 Thread Bas Gooren
a debug breakpoint in your constructor, and step through the code) to find out exactly where the NPE is thrown. Met vriendelijke groet, Kind regards, Bas Gooren Op 27 februari 2018 bij 13:25:56, Shengche Hsiao (shengchehs...@gmail.com) schreef: Hi there, I wrote a wicket-based application , users

Re: Preventing directory list

2018-02-14 Thread Bas Gooren
does not provide a fix. Although I do interpret the thread as if this is only a problem with using a wicket servlet, instead of a wicket filter. Are you using the servlet or filter? Met vriendelijke groet, Kind regards, Bas Gooren Op 13 februari 2018 bij 20:13:25, Entropy (blmulholl...@gmail.com

Re: Preventing directory list

2018-02-13 Thread Bas Gooren
. Are you certain web sphere is picking up your configuration? Met vriendelijke groet, Kind regards, Bas Gooren Op 13 februari 2018 bij 17:12:19, Entropy (blmulholl...@gmail.com) schreef: But I have "/*" mapped t the wicket servlet. /images is under "/*". I have no servlet mapp

Re: Preventing directory list

2018-02-13 Thread Bas Gooren
Hi! For as far as I know, wicket does not provide any directory listings; I suspect this is either your application server, or your webserver which responds with a directory listing. Met vriendelijke groet, Kind regards, Bas Gooren Op 13 februari 2018 bij 16:44:43, Entropy (blmulholl

Re: wicket:for inside a propertyListView doesn't generate id on the input

2018-01-03 Thread Bas Gooren
is already rendered when the AutoLabelResolver runs. To fix this, please call setOutputMarkupId(true) yourself on the checkbox, or put the label before the checkbox in your html. Met vriendelijke groet, Kind regards, Bas Gooren Op 3 januari 2018 bij 08:02:15, Virginie Garcin ( virginie.gar

Re: Odd Requirement

2017-10-06 Thread Bas Gooren
, and let the submitting components set it based on their desired validation mode. Detach the model on page detach. Met vriendelijke groet, Kind regards, Bas Gooren Op 5 oktober 2017 bij 20:34:35, Entropy (blmulholl...@gmail.com) schreef: We have an odd requirement that I was wondering how

Re: NumberTextField and LambdaModel, typing goes wrong?

2017-10-04 Thread Bas Gooren
Rob, This is because a property model provides certain metadata (when available); E.g. When the property model points to a field, it provides the type of field. Even when the model value is null this type information is still available. Since this metadata is not available when using lambdas

Re: why is DefaultNestedTree component treated as property within PropertyResolver ?

2017-08-18 Thread Bas Gooren
Hi Ulrich, My guess (based on quickly looking at your code on my phone): the DeafultNestedTree probably uses a model to store open/closed state or selected states. Since you don't provide it in the constructor, wicket automatically creates a property model since a parent component has a

Re: How to "force" page redirects to HTTPS?

2017-08-08 Thread Bas Gooren
url, whether the url generation went through your HttpsMapper. This also allows you to detect if the container is interfering (your app server or reverse proxy). Met vriendelijke groet, Kind regards, Bas Gooren Op 8 augustus 2017 bij 12:50:47, Hendy Irawan (he...@soluvas.com) schreef: Thanks

Re: How to "force" page redirects to HTTPS?

2017-08-08 Thread Bas Gooren
a compound mapper. Please confirm if you are, in fact, mounting pages after your call to setRootRequestMapper. Met vriendelijke groet, Kind regards, Bas Gooren Op 8 augustus 2017 bij 12:39:12, Hendy Irawan (he...@soluvas.com) schreef: I have managed to use XForwardedRequestWrapperFactory by creating

How do you handle rolling upgrades?

2017-07-26 Thread Bas Gooren
#Parallel_deployment Met vriendelijke groet, Kind regards, Bas Gooren

Re: How save entity after clicking on submit button inside Form Wicket class.

2017-03-29 Thread Bas Gooren
configured the dependency injection? Met vriendelijke groet, Kind regards, Bas Gooren Op 28 maart 2017 bij 18:59:33, Sokab (sokab3...@gmail.com) schreef: Hi Everyone. When I try save entity inside simple WebPage like this everything is ok: import com.example.entities.Person; import javax.ejb.EJB

Re: Generated IDs

2017-02-06 Thread Bas Gooren
to set the markup id according to some algorithm. Met vriendelijke groet, Kind regards, Bas Gooren Op 6 februari 2017 bij 17:25:21, Entropy (blmulholl...@gmail.com) schreef: Yes, but we have a whole lot of existing pages and fields and links and buttons. I was kind of hoping I could just get

Re: Cannot mock final SortableDataProvider.getSortState

2017-01-13 Thread Bas Gooren
(…) DatabaseLocator.setDatabaseForCurrentThread(mockDatabase) … in test expect(mockDatabase.getIndex(anyObject())).andReturn(…) SortableContactDataProvider.iterator(….) etc. … run after test DatabaseLocator.clearDatabaseForCurrentThread() Met vriendelijke groet, Kind regards, Bas Gooren Op 13 januari 2017 bij 12:10

Re: Cannot mock final SortableDataProvider.getSortState

2017-01-12 Thread Bas Gooren
regards, Bas Gooren Op 12 januari 2017 bij 10:23:12, Eric J. Van der Velden ( ericjvandervel...@gmail.com) schreef: Hello, SortableDataProvider, in package org.apache.wicket.extensions.markup.html.repeater.util, has a final method getSortState(). I cannot mock this method. I have copied

Re: Question/Suggestion about updating a component in aw existing page (Wicket 6.x)

2017-01-04 Thread Bas Gooren
a wicket event from every component once it’s been updated (storing a component reference in the event); You can then listen for these events in your “parent”/owning component and add the component to the ART. Met vriendelijke groet, Kind regards, Bas Gooren Op 4 januari 2017 bij 15:10:46

Re: Question/Suggestion about updating a component in aw existing page (Wicket 6.x)

2017-01-04 Thread Bas Gooren
, Kind regards, Bas Gooren Op 4 januari 2017 bij 14:33:34, christophe (madeleine.christo...@wanadoo.fr) schreef: Hello dear readers I am working on a web application that is very very AJAX-oriented. In other words any "displayed" page gets updated many times as a consequence o

Re: AbstractToolbar vs AjaxFallbackDefaultDataTable

2016-12-29 Thread Bas Gooren
It sounds like your code keeps adding the toolbar. Can you show us some code that adds your custom toolbar? It should only add the toolbar once, when the table is created. // Bas Verstuurd vanaf mijn iPhone > Op 29 dec. 2016 om 09:53 heeft nino martinez wael >

Re: Calling Javascript for any event in a parent

2016-12-22 Thread Bas Gooren
Hi! You can override #onEvent in your “parent” component. The AjaxRequestTarget is broadcast as an event (you can check if the payload is an ART). You can then check if the ART contains your table component, and if it does, append your javascript. Met vriendelijke groet, Kind regards, Bas

Bug in wicket 7.5.0 caused by WICKET-6231; Reported as WICKET-6266

2016-11-01 Thread Bas Gooren
uest write access to the wicket wiki (username bgooren), to list the company I work for on the “Companies that provide services”-page. Thanks! Met vriendelijke groet, Kind regards, Bas Gooren

Re: stop wicket from rewriting references in my css file

2016-06-23 Thread Bas Gooren
Can you show us how the references are being rewritten? Maybe the format is an indication of where it is being rewritten… Met vriendelijke groet, Kind regards, Bas Gooren Op 23 juni 2016 bij 08:18:34, nino martinez wael ( nino.martinez.w...@gmail.com) schreef: I've looked everywhere and cant

Re: wicket-guice and recursive injection of non serializable JPA2 objects

2016-06-17 Thread Bas Gooren
transparently. Met vriendelijke groet, Kind regards, Bas Gooren Op 17 juni 2016 bij 12:38:00, Dieter Tremel (tre...@tremel-computer.de) schreef: Hello Martin, I tried this to learn it, but didn't find it. I put a breakpoint at org.apache.wicket.serialize.java.JavaSerializer

Re: wicket-guice and recursive injection of non serializable JPA2 objects

2016-06-16 Thread Bas Gooren
is that you’ll find the culprit by simply looking at all places in your code where you use the PersonenDao. Met vriendelijke groet, Kind regards, Bas Gooren Op 15 juni 2016 bij 16:25:25, Dieter Tremel (tre...@tremel-computer.de) schreef: Hello Martin, it is: personenProvider = (com.sun.proxy

Re: wicket-guice and recursive injection of non serializable JPA2 objects

2016-06-15 Thread Bas Gooren
:-) Met vriendelijke groet, Kind regards, Bas Gooren Op 15 juni 2016 bij 13:29:24, Dieter Tremel (tre...@tremel-computer.de) schreef: Hello Bas, I try to cut small pieces of the code, please tell me if you want to see more. First the error: 12:59:03.919 [http-nio-8084-exec-6] WARN

Re: stop wicket from rewriting references in my css file

2016-06-15 Thread Bas Gooren
)CssCompressor(). It sounds like it is currently set to an instance of CssUrlReplacer in your app, as that rewrites all references in CSS. Met vriendelijke groet, Kind regards, Bas Gooren Op 15 juni 2016 bij 12:11:12, nino martinez wael (nino.martinez.w...@gmail.com) schreef: Hi I currently have an issue

Re: wicket-guice and recursive injection of non serializable JPA2 objects

2016-06-15 Thread Bas Gooren
Dieter, Since the data provider is inject as a proxy, only the proxy should be serialized. On deserialization it should look up the actual data provider again. Can you share some code so we can see how you set things up? What you are trying is something that should work out of the box - it does

Re: Issue with the FileUploadField

2016-06-14 Thread Bas Gooren
, and handle the upload on ajax submit. Met vriendelijke groet, Kind regards, Bas Gooren Op 13 juni 2016 bij 17:20:28, ChambreNoire (a...@tentelemed.com) schreef: Hey there, Little late in the day, but I'm trying to find a working example of a simple ajax fileuploadfield to be used within a modal

Re: Generate css from less for package resources at runtime.

2016-05-25 Thread Bas Gooren
time of imported sources. I’ll try to do some debugging to see if it really is not working, and if that’s the case: why it’s not working. Met vriendelijke groet, Kind regards, Bas Gooren Op 24 mei 2016 bij 20:25:52, Lars Törner (lars.tor...@gmail.com) schreef: Thanks Martin, I'll take a look

Re: AjaxFormValidatingBehavior on component

2016-05-18 Thread Bas Gooren
panels in onUpdate() and onError(). Met vriendelijke groet, Kind regards, Bas Gooren Op 18 mei 2016 bij 11:29:26, Sven Meier (s...@meiers.net) schreef: Hi, I cannot find that error message in Wicket's source. Are you using org.apache.wicket.ajax.form.AjaxFormValidatingBehavior or some

Re: Generate css from less for package resources at runtime.

2016-05-18 Thread Bas Gooren
. A potential way to fix this is to make it more intelligent, assuming the less compiler can expose such details (referenced files, last-modified time of those files). Met vriendelijke groet, Kind regards, Bas Gooren Op 18 mei 2016 bij 13:06:59, Martin Grigorov (mgrigo...@apache.org) schreef: Hi Lasse

Re: Generating table header ids for multiple tables pe rpage

2016-05-17 Thread Bas Gooren
not simply use a data table and manage everything in java code? Met vriendelijke groet, Kind regards, Bas Gooren Op 15 mei 2016 bij 20:01:15, Thorsten Schöning (tschoen...@am-soft.de) schreef: Guten Tag Thorsten Schöning, am Sonntag, 15. Mai 2016 um 11:14 schrieben Sie: > So nex

Re: Generating table header ids for multiple tables pe rpage

2016-05-14 Thread Bas Gooren
(String id). Regarding the “headers” attribute: simply override onComponentTag in your table component, and change the headers attribute as you want; This way you don’t have to add an AttributeModifier, and don’t have to think of it. Met vriendelijke groet, Kind regards, Bas Gooren Op 14 mei

Re: Which model to use for forwarding form processing results?

2016-05-10 Thread Bas Gooren
groet, Kind regards, Bas Gooren Op 10 mei 2016 bij 19:48:48, Thorsten Schöning (tschoen...@am-soft.de) schreef: Guten Tag Bas Gooren, am Dienstag, 10. Mai 2016 um 13:43 schrieben Sie: > This sounds like a good use-case for an event. Thanks for this hint, I totally forgot about it and deci

  1   2   3   >