Re: Wicket and Vue.js synergy

2020-08-17 Thread Илья Нарыжный
- Orienteer(http://orienteer.org) - open-source Business Application Platform On Sun, Aug 16, 2020 at 2:55 PM Илья Нарыжный wrote: > > Hello, Wicket Users! > > Vuecket went through an important milestone: all required > functionality is r

Re: Wicket and Vue.js synergy

2020-08-16 Thread Илья Нарыжный
- Orienteer(http://orienteer.org) - open source Business Application Platform On Tue, Aug 11, 2020 at 12:44 AM Илья Нарыжный wrote: > > Hello, > > Made big progress on marrying Wicket and Vue. > Currently, existing features are listed in README: > https://github.com/Oriente

Re: Wicket and Vue.js synergy

2020-08-11 Thread Илья Нарыжный
anks, Ilya - Orienteer(http://orienteer.org) - open source Business Application Platform On Tue, Aug 4, 2020 at 12:59 AM Илья Нарыжный wrote: > > Thank you, Martin! > > If somebody interested, work has begun in the following repository

Re: Wicket and Vue.js synergy

2020-08-04 Thread Илья Нарыжный
per, like integrating on component level > > Have fun! > > On Thu, May 7, 2020 at 6:40 AM Илья Нарыжный wrote: > > > Hello, > > > > I code on Wicket for around 10 years and on Vue JS for a few months > > and found a lot of in common between these f

JavaScript/CSS/etc resources from NPM

2020-07-08 Thread Илья Нарыжный
Hello, Wicket Users, I will really appreciate your feedback on a new library which is almost ready and about to be released. https://github.com/OrienteerBAP/JNPM It provides java native API to work with Node Package Manager. Use Cases: 1) Explore NPM registry from Java native application 2) Pack

Wicket and Vue.js synergy

2020-05-06 Thread Илья Нарыжный
Hello, I code on Wicket for around 10 years and on Vue JS for a few months and found a lot of in common between these frameworks. There are 100 and 1 ways in Wicket how to integrate a front-end framework. But with pre-created Wicket library - integration might be even deeper and lead to a synergy

Wicket and Chat Bots

2020-01-20 Thread Илья Нарыжный
Hello, I'm looking for some feedback from Wicket experienced devs and, potentially, some team-members who will love the idea I'm going to describe. We in Orienteer pretty frequently work with chat-bots for Facebook, Telegram and etc. One of our module was open-sourced:

Re: OOM: Direct buffer memory

2020-01-20 Thread Илья Нарыжный
://orienteer.org) - open source Business Application Platform On Fri, Jan 17, 2020 at 9:33 AM Илья Нарыжный wrote: > > Yes. Pretty sure. > But it might be something indirect: for example, during building of our next > docker image with the newer wicket, some openjdk/maven/libs newer dependency

Re: OOM: Direct buffer memory

2020-01-17 Thread Илья Нарыжный
ure these OOMs didn't happen before? > > Sven > > > On 16.01.20 22:52, Илья Нарыжный wrote: > > Sven, > > > > It was 8.5 - so not so far away. > > > > Thanks, > > Ilya > > - > > Orienteer(htt

Re: An open source devops platform completely created with Wicket

2020-01-16 Thread Илья Нарыжный
Robin, Thank you for sharing!:) We also working on a platform completely based on Wicket: https://github.com/OrienteerBAP/Orienteer And I can also just join to your words: wicket is an undervalued web framework. Great work, Wickets-contributors! Thanks, Ilya

Re: OOM: Direct buffer memory

2020-01-16 Thread Илья Нарыжный
Am 16. Januar 2020 19:27:19 MEZ schrieb "Илья Нарыжный" : > >Hello, > > > >After upgrading to Wicket 8.6.1 we started seeing periodical OOMs in > >logs like below. > >I'm not 100% sure that it's due to Wicket, but we didn't change > >containers parame

OOM: Direct buffer memory

2020-01-16 Thread Илья Нарыжный
Hello, After upgrading to Wicket 8.6.1 we started seeing periodical OOMs in logs like below. I'm not 100% sure that it's due to Wicket, but we didn't change containers parameters and etc - so at least it's quite suspicious. Our startup flags: -XX:+PerfDisableSharedMem -Xmx4G -Xms4G

Converters for Date/Time

2020-01-12 Thread Илья Нарыжный
Hello, I have some fundamental question about Wicket:) For users it's convenient when date-time has shown in their timezone. So most of wicket devs, do that somehow like we did it here:

Retrieve user's page on the site

2019-12-29 Thread Илья Нарыжный
Hello, We have pretty widely used software with thousands of visits per day. And from time to time we observe pretty weird Wicket related errors in logs. Commonly it's something about components structure: no such child, there is already such element and etc. But the problem is that commonly we

Google and DevUtils Inspector Page can kill your WebApp

2019-09-11 Thread Илья Нарыжный
Hello, This is real-life story. It started a relatively long time ago: our demo server from time to time had OurOfMemory condition. It was strange because the solution itself is very well "stress volume tested". So we were just rebooting demo server after such incidents. But it started to happen

Re: DataTable and SelectAll checkbox

2019-07-17 Thread Илья Нарыжный
Hello, Or you can check implementation of IColumn with "Select All" here: https://github.com/OrienteerBAP/Orienteer/blob/master/orienteer-core/src/main/java/org/orienteer/core/component/table/CheckBoxColumn.java#L49-L64 Thanks, Ilia -

RequestHandlerExecutor.ReplaceHandlerException and default handling by web container

2018-12-07 Thread Илья Нарыжный
Hello, According to source code, it seems not possible to replace current handler by 'null' - assuming that wicket in this case will allow web-server to handle request further. That's a code of wicket filter: if (requestCycle.processRequestAndDetach()) { webResponse.flush(); } else { ... } and

Re: Wicket and Jersey Integration

2018-12-04 Thread Илья Нарыжный
OK. Last my question was solved through RequestCycle.replaceAllRequestHandlers(handler); Thanks, Ilia - Orienteer(http://orienteer.org) - open source Business Application Platform On Mon, Dec 3, 2018 at 11:27 PM Илья Нарыжный wrote: > Mar

Re: Wicket and Jersey Integration

2018-12-03 Thread Илья Нарыжный
at 9:29 AM Ernesto Reinaldo Barreiro < > reier...@gmail.com> > wrote: > > > Ilia, > > > > Ok. Them "mounting" JERSEY as a wicket "resource" might be a solution? > > > > On Mon, Dec 3, 2018 at 7:22 AM Илья Нарыжный wrote: > > > &

Re: Wicket and Jersey Integration

2018-12-02 Thread Илья Нарыжный
lter not enough for your needs? It is a filter you can > put in front of JERSEY and you will have some wicket related things. > > On Sun, Dec 2, 2018 at 6:50 PM Илья Нарыжный wrote: > > > Hello, > > > > I know that story of wicket and different jax-rs containers is pre

Wicket and Jersey Integration

2018-12-02 Thread Илья Нарыжный
Hello, I know that story of wicket and different jax-rs containers is pretty long. Currently we are using Jersey as a servlet under wicket filter, but we don't like that in this case REST end-points have nothing about Wicket: no wicket session available, no wicket request cycle listeners executed

Re: LambdaModel use

2018-11-10 Thread Илья Нарыжный
is simply a model 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, >

LambdaModel use

2018-11-08 Thread Илья Нарыжный
Hello, How it was expected to use LambdaModel with setters? Right now it seems to be not quite usable, because, of the following code inside: @Override public void setObject(R r) { X x = target.getObject(); if (x != null) { setter.accept(x, r); } } As you can see, if previous

Problems with update of wicket from 8.0.0 to 8.1.0

2018-11-01 Thread Илья Нарыжный
Hello, wicket users, After updating just of wicket version in our projects from 8.0.0 to 8.1.0 we started to see the following exception during rendering time. Nothing was changed except wicket version. Do you have any suggestions what hidden dependencies and etc. might lead to this issue?

External HTML and/or export to external page

2018-08-17 Thread Илья Нарыжный
Hello users of great framework Wicket! Originally HTML files in Wicket were a good way to outsource creation of design to designers and then use it by devs. So designers can work more or less in parallel with developers. But technology is going ahead and now more or less advanced projects in

Wicket and Rapidoid

2018-07-24 Thread Илья Нарыжный
Hello, Did you try to mate Wicket and Rapidoid(https://www.rapidoid.org/)? Do you see any value from performance perspective? Thanks, Ilia - Orienteer(http://orienteer.org) - open source Business Application Platform

Curated list of Wicket Libraries and Solutions

2018-07-02 Thread Илья Нарыжный
Dear, Wicket users, Exactly as you are, I love Wicket! It's great framework and even modern JS frameworks as AngularJS, React and so on - pretty behind Wicket from architecture perspective. Most of us has his/her own set of wicket libs, own wicket-ecosystem. Lets share our experience, lets share

Re: Please friends

2018-01-29 Thread Илья Нарыжный
Hi! If you need CRUD with bootstrap and inventory I recommend you to take a look to http://orienteer.org. Some quick presentation about functionality can be found there: https://gitpitch.com/OrienteerBAP/Orienteer/gitpitch Orienteer is based on Apache Wicket: if needed you can deploy your own

Re: Wicket 8 GA for production

2017-10-10 Thread Илья Нарыжный
ou have any suggestion or advice they are warmly welcome! > > > On Tue, Oct 10, 2017 at 11:27 AM, Martin Grigorov <mgrigo...@apache.org> > wrote: > > > Hi, > > > > On Mon, Oct 9, 2017 at 9:40 PM, Илья Нарыжный <phan...@ydn.ru> wrote: > > > > &

Re: Code Generator with Wicket...

2017-10-09 Thread Илья Нарыжный
Jack, We did the following approach: https://github.com/OrienteerBAP/Orienteer /tree/master/orienteer-core/src/main/java/org/orienteer/core/component/meta Shortly: there is a metapanel, which can "substitute" corresponding panel according to display mode (view or edit), property type (boolean,

Re: Wicket 8 GA for production

2017-10-09 Thread Илья Нарыжный
across the World. Thanks, Ilia - Orienteer(http://orienteer.org) - open source Business Application Platform On Mon, Oct 9, 2017 at 4:10 AM, Martin Grigorov <mgrigo...@apache.org> wrote: > Hi, > > On Sun, Oct 8, 2017 at 7:28 PM, Илья

Wicket 8 GA for production

2017-10-08 Thread Илья Нарыжный
Dear Wicket developers, Could you please help with understanding of Wicket 8 status? 1) When do you expect GA version be released? (I mean first official release which is not a candidate and etc.) 2) How accurately Wicket 8 branch currently mimics features from version 7? 3) What the level

Re: Double slash break everything

2017-09-22 Thread Илья Нарыжный
Hello, Ticket https://issues.apache.org/jira/browse/WICKET-6473 was created. Thanks, Ilia - Orienteer(http://orienteer.org) - open source Business Application Platform On Tue, Sep 19, 2017 at 3:36 PM, Илья Нарыжный <phan...@ydn.ru> wrote: &g

Re: Double slash break everything

2017-09-19 Thread Илья Нарыжный
On Tue, Sep 19, 2017 at 8:24 AM, Maxim Solodovnik <solomax...@gmail.com> > wrote: > > > Here is the example of handling multiple slashes: > > https://stackoverflow.com/questions/11214542/is-there-a- > > way-to-handle-extra-slashes-at-beginning-of-url-using-jersey-and-guic &g

Re: Double slash break everything

2017-09-18 Thread Илья Нарыжный
, Sep 18, 2017 at 6:04 PM, Maxim Solodovnik <solomax...@gmail.com> wrote: > I would say it is not wicket issue, but the behavior of your application > server > > WBR, Maxim > (from mobile, sorry for the typos) > > On Sep 19, 2017 07:53, "Илья Нарыжный" <phan...

Re: Double slash break everything

2017-09-18 Thread Илья Нарыжный
Hello, Any ideas? Is this known Wicket bug? Thanks, Ilia - Orienteer(http://orienteer.org) - open source Business Application Platform On Sat, Sep 9, 2017 at 10:37 PM, Илья Нарыжный <phan...@ydn.ru> wrote: > Hello, > > We ha

Double slash break everything

2017-09-09 Thread Илья Нарыжный
Hello, We have in Orienteer customized NotFoundPage https://github.com/OrienteerBAP/Orienteer/blob/master/orienteer-core/src/main/java/org/orienteer/core/web/NotFoundPage.java . And it works perfectly except one case: if somebody by mistake put double slash in URL. For example

Re: Inconsistent functionality for object's properties

2017-07-18 Thread Илья Нарыжный
t; Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Tue, Jul 18, 2017 at 1:28 PM, Илья Нарыжный <phan...@ydn.ru> wrote: > > > Hello, > > > > Wicket has a great feature: ability to customize getting and setting &g

Inconsistent functionality for object's properties

2017-07-18 Thread Илья Нарыжный
Hello, Wicket has a great feature: ability to customize getting and setting properties from/to an object. It's done through IPropertyLocator. But at the same time wicket's JSONObject implementation use just common native properties of an object through Introspector. As a result: not all

Re: FilterForm and Ajax

2017-04-18 Thread Илья Нарыжный
bit vague: what components are you using? Do you > use AjaxFallbackDefaultDataTable? > > On Mon, Apr 17, 2017 at 8:04 PM, Илья Нарыжный <phan...@ydn.ru> wrote: > > > Guys, > > > > Is there any good way (approved solution from wicket dev team) how to > make > > d

FilterForm and Ajax

2017-04-17 Thread Илья Нарыжный
Guys, Is there any good way (approved solution from wicket dev team) how to make datatable filtering AJAX enabled? Currently, if you enter filter criterias in FilterForm and click Enter - it will reload full page instead of refreshing just a table through Ajax. Thanks, Ilia

Pluggable architecture for wicket application

2016-11-13 Thread Илья Нарыжный
Hello, We really need advise from Apache Wicket experts. Please let me know if you have any ideas how to realize the following: We are working on Orienteer (http://orienteer.org) - open source Business Application Platform for rapid development. Orienteer already has pluggable architecture which

Re: Reload Wicket classes/markup without reloading Servlet Container

2016-09-05 Thread Илья Нарыжный
Hi, I also recommend this library https://github.com/stagemonitor/stagemonitor Stagemonitor has nice web page for tracking/monitoring. Thanks, Ilya - Orienteer(http://orienteer.org) - open source Business Application Platform On Fri, Sep 2, 2016 at

Re: Form from post to multipart

2016-09-05 Thread Илья Нарыжный
orm-data'; e.encType=e.encoding;}"); } } } Thanks, Ilya - Orienteer(http://orienteer.org) - open source Business Application Platform On Mon, Sep 5, 2016 at 2:32 AM, Илья Нарыжный <phan...@ydn.ru> wrote: > It will not solve the probl

Re: Form from post to multipart

2016-09-05 Thread Илья Нарыжный
- Orienteer(http://orienteer.org) - open source Business Application Platform On Mon, Sep 5, 2016 at 1:29 AM, Maxim Solodovnik <solomax...@gmail.com> wrote: > Maybe you can use nested forms? > > On Mon, Sep 5, 2016 at 2:51 PM, Илья Нарыжный <phan...@ydn.ru&g

Form from post to multipart

2016-09-05 Thread Илья Нарыжный
Hello! Please help to figure out is there some good solution for the following situation: There is a page with Form with in it. Form contains lots of components underneath. And some components can be changed by AJAX from "view" representation to "edit". And sometimes "edit" is some file upload

Feature Request: Please add postConstruct() method

2016-08-19 Thread Илья Нарыжный
Hello, There is a pain: components sometimes have a bunch of constructors, but very often it's needed to configure something for that component in common. And there are 2 ways to do that today: 1) Either explicitly call some single method from every constructor. 2) Or use onInitialize() method.

Re: Restrict wicket/bookmarkable

2016-05-05 Thread Илья Нарыжный
lting > https://twitter.com/mtgrigorov > > On Wed, May 4, 2016 at 7:32 PM, Илья Нарыжный <phan...@ydn.ru> wrote: > >> For now I just removed BookmarkableMapper. Everything works. But it seems >> to me that some cases might go wrong... And as side effect: hrefs just >> em

Re: Restrict wicket/bookmarkable

2016-05-04 Thread Илья Нарыжный
behavior with https://issues.apache.org/jira/browse/WICKET-3849. > >> > >> According to Sven the behavior in Wicket 1.4.x was different and he > >> changed > >> it with https://issues.apache.org/jira/browse/WICKET-5094. > >> IMO Wicket 1.4.x must had a bu

Re: Restrict wicket/bookmarkable

2016-05-03 Thread Илья Нарыжный
. Thanks, Ilia 2016-05-03 22:50 GMT-07:00 Илья Нарыжный <phan...@ydn.ru>: > Martin, > > Just checked: it doesn't work as expected. It seems that this code > doesn't work as it was assumed: > > BookmarkableMapper.java > if (application.getSecuritySettings().getEnforc

Re: Restrict wicket/bookmarkable

2016-05-03 Thread Илья Нарыжный
().setEnforceMounts(true); doesn't have any effect. Thanks, Ilia 2016-05-03 10:59 GMT-07:00 Илья Нарыжный <phan...@ydn.ru>: > Thank you Martin! I did know that there should be easier way to do > that, but could not be able to find it:) > > Regards, > > Ilia > > 2016-05-03

Re: Restrict wicket/bookmarkable

2016-05-03 Thread Илья Нарыжный
s#getEnforceMounts() is for > this. Also its javadoc seems to say that. > But there were some changes to its behavior after which I am no more sure > what exactly it does :-/ > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Tue, May 3, 2

Re: Restrict wicket/bookmarkable

2016-05-03 Thread Илья Нарыжный
Yea - that's possible. Even instrumentation is possible, but probably this problem somehow solved already in wicket. I would briefly summarize the problem like: Wicket allow to directly address bookmarkable pages from 3rd party libraries without good way to manage accessibility. Potentially it

Restrict wicket/bookmarkable

2016-05-02 Thread Илья Нарыжный
Hello, Is there good way to restrict accessing bookmarkable pages through /wicket/bookmarkable URL? Use case: there is ability in our software (http://orienteer.org) dynamically enable or disable module with Development utils. This module of cource use wicket-devutils, but neverheless fact that

Re: Resources can't object HTTP request body

2016-03-31 Thread Илья Нарыжный
you! > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Tue, Mar 29, 2016 at 3:30 PM, Илья Нарыжный <phan...@ydn.ru> wrote: > >> Martin, >> >> There are 3 problems: >> >> 1) Map can not guara

Re: Resources can't object HTTP request body

2016-03-29 Thread Илья Нарыжный
o add a helper method to simplify > this. > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Sat, Mar 26, 2016 at 5:28 AM, Илья Нарыжный <phan...@ydn.ru> wrote: > >> It seems that Wicket Resource can't obtain whole HTTP

Resources can't object HTTP request body

2016-03-25 Thread Илья Нарыжный
It seems that Wicket Resource can't obtain whole HTTP POST body. The reason of that is the following: Mappers invoke WebRequest.isAjax() and isAjax() is trying to getRequestParameters() - so body of POST parsed prior to actual getInputStream() in a Resource object. Is there any chances to allow

Re: WicketStuff status and future; awesome-wicket project

2016-02-03 Thread Илья Нарыжный
Ilya, >> >> In your list the nashorn project is missing - it is a way to allow users to >> execute javascript on server side. I am going to add it to the list of >> submodules, now. >> >> Anyway it is up to the community to update the wiki or to bring projec

Re: WicketStuff status and future; awesome-wicket project

2016-01-31 Thread Илья Нарыжный
ov <mgrigo...@apache.org>: > Hi, > > > On Sun, Jan 31, 2016 at 1:38 AM, Илья Нарыжный <phan...@ydn.ru> wrote: > >> Guys, >> >> Please help me understand what's status of wicketstuff project and >> what's a roadmap for the future? >> >>

WicketStuff status and future; awesome-wicket project

2016-01-30 Thread Илья Нарыжный
Guys, Please help me understand what's status of wicketstuff project and what's a roadmap for the future? I'm asking, because from community stand point I don't see so much pros. Pros: 1) It's easy to have all wicket related projects in place and observe at once. But this pros can be easily

Re: Security Issue or incorrect usage?

2016-01-03 Thread Илья Нарыжный
Sorry, Andrea, I meant "observed" according to my experiments. I have already redo my implementation, but class and this article are pretty dangerous: it might be easily understanded in wrong way and even on dev env it might work "as expected", but "side-effects" might be catched only on

Security Issue or incorrect usage?

2015-12-30 Thread Илья Нарыжный
Guys, Please advise on the following "feature". There is the following cool ability in wicket: https://cwiki.apache.org/confluence/display/WICKET/Dynamically+Generate+a+CSS+Stylesheet Pretty much the same approach can be used for JavaScript. But it's noted: if try to retrieve URL for

Re: Problem with paged datatable and model

2015-08-19 Thread Илья Нарыжный
Sven On 19.08.2015 06:19, Илья Нарыжный wrote: Sven, Thanks! In my case IDataProvider provides data from DB. And these options leads to double query to DB... And that's a little bit redundant... DataProvider: https://github.com/OrienteerDW/wicket-orientdb/blob/master/wicket-orientdb

Re: Problem with paged datatable and model

2015-08-18 Thread Илья Нарыжный
On 15.08.2015 23:36, Илья Нарыжный wrote: Guys, Please help to resolve the following problem. There is datatable with paging. Table propagated from LoadableDetachableModel. Also table is under form and contain action (AjaxFormSubmitLink) to remove a row within table. Problem: load

Problem with paged datatable and model

2015-08-15 Thread Илья Нарыжный
Guys, Please help to resolve the following problem. There is datatable with paging. Table propagated from LoadableDetachableModel. Also table is under form and contain action (AjaxFormSubmitLink) to remove a row within table. Problem: load() on the model invoked before actual action performed

Announcement of Wicket Console library

2014-09-02 Thread Илья Нарыжный
Guys, Everyday, during our programmer's lifes, we encounter with situations when we definetly need to hack or check or even fix something on server side. In this case it's nice to have some console which can help you to execute low level commands. Let me present project which is making that

Wicket related projects news/announcements

2014-08-23 Thread Илья Нарыжный
Guys, Could you please advise: is there some resource or email group related to Apache Wicket where announcements about new wicket-related/based projects can be published? I have several opensource projects related to Wicket and it will be nice to have ability to send some news about them to

Re: Stateless/Statefull pages - incorrect behaviour

2014-05-05 Thread Илья Нарыжный
Wicket Training and Consulting On Sat, Apr 26, 2014 at 5:08 PM, Илья Нарыжный phan...@ydn.ru wrote: Guys, Please advise how to do in following situation or confirm that's a bug and should be fixed. There is a page (login page) with stateless form. That page has lots of common

Stateless/Statefull pages - incorrect behaviour

2014-04-26 Thread Илья Нарыжный
Guys, Please advise how to do in following situation or confirm that's a bug and should be fixed. There is a page (login page) with stateless form. That page has lots of common components (menu and etc.). There are some statefull components in the components tree that are visible only for signed

Re: OT: good java hosting

2014-01-17 Thread Илья Нарыжный
I also recommend to take a look to this: http://jelastic.com (about platform: http://docs.jelastic.com) It's platform for horizontal and vertical scalling (like apache WS). Ilia 2014/1/16 Ernesto Reinaldo Barreiro reier...@gmail.com Thanks to all for replays! On Fri, Jan 17, 2014 at 12:32

Re: Best way to do authentication in external system

2014-01-16 Thread Илья Нарыжный
Grigorov Wicket Training and Consulting On Thu, Jan 16, 2014 at 9:29 AM, Илья Нарыжный phan...@ydn.ru wrote: Guys, Please advice me. What's the best way to implement authentication in external system(support of Single Sign On)? I know 3 variants, but all of them have

Best way to do authentication in external system

2014-01-15 Thread Илья Нарыжный
Guys, Please advice me. What's the best way to implement authentication in external system(support of Single Sign On)? I know 3 variants, but all of them have different pros and cons. 1) Implement your own IRequestCycleListener. You are intercepting all requests, finding out those that should be

AbstractAutoCompleteRenderer.getOnSelectJavaScriptExpression problem

2013-08-29 Thread Илья Нарыжный
Guys, I'm using Wicket 6.7 and I stack with following problem: I need to send AJAX request back to server once autocomplete variant has been selected. I thought to use getOnSelectJavaScriptExpression to add required AJAX call, but it's not possible simply obtain required callbackUrl from that

Recommendation service for form components

2013-07-13 Thread Илья Нарыжный
Hello, Please advise me how following feature can be implemented in beloved Wicket: We have a lot of forms and most of form components are used for configuring of subsequent outputs: graphics, tables, etc. So this forms components are used for output configuration. And it will be nice if such

Re: Recommendation service for form components

2013-07-13 Thread Илья Нарыжный
- From: Илья Нарыжный [mailto:phan...@ydn.ru] Sent: Saturday, July 13, 2013 12:54 PM To: users@wicket.apache.org Subject: Recommendation service for form components Hello, Please advise me how following feature can be implemented in beloved Wicket: We have a lot of forms and most of form

Is there SmartFormComponent available?

2013-05-20 Thread Илья Нарыжный
Hello, We have following situation: entity can have value of various type: boolean, enum, number and etc. And it'll be nice to have some SmartFormComponent which can show required representation of UI according to type: radio button, checkbox, etc. Is there something lika that available? I

Re: Dynamic Session.style

2013-05-07 Thread Илья Нарыжный
Hi, We use different approach than styles and variations. We have GenericPage with following definition: public abstract class GenericPageK extends Serializable extends EntityPageK implements IMarkupResourceStreamProvider, IMarkupCacheKeyProvider Then in public IResourceStream

Change signature of AbstractTree or Model.ofSet

2013-05-05 Thread Илья Нарыжный
Hello, I have following problem in wicket 6 with trees: Constructor of class org.apache.wicket.extensions.markup.html.repeater.tree.AbstractTree have following signature: protected AbstractTree(String id, ITreeProviderT provider, IModelSetT state) The problem is in IModelSetT state argument and

Re: Wicket as Jboss Modules

2012-06-13 Thread Илья Нарыжный
application per WAR-deployment with wicket, but if you use the libs from ear/lib or modules there will be only one application. best Martin Илья Нарыжный schrieb: Hello, I have several projects which use wicket and various wicket sun-modules. Every project (*.ear file) took about

Wicket as Jboss Modules

2012-06-12 Thread Илья Нарыжный
Hello, I have several projects which use wicket and various wicket sun-modules. Every project (*.ear file) took about 10Mb and about 8Mb is for wicket libraries. Recently I have move my projects to Jboss AS 7 and now I'm thinking about putting all wicket related jars to JBOSS_HOME/modules. Have

setRenderBodyOnly(true) doesn't work for label in title

2012-02-20 Thread Илья Нарыжный
Hello, I have following code in HTML: titlespan wicket:id=pagetitle/wicket:message key=site.title.suffix/wicket:message/title and in Java: add(new Label(pagetitle, titleModel).setRenderBodyOnly(true)); But as output on page, I have following title: titlespanActual title here/spansite

Re: StringValue.toOptionalLong incorrect behavior

2011-12-20 Thread Илья Нарыжный
) but it also throws exceptions if the provided value is empty string. On Wed, Nov 16, 2011 at 11:00 AM, Илья Нарыжный phan...@ydn.ru wrote: Hello, I have page mounted as @MountPath(/page/#{pageId}) Also I have following code: public ViewPagePage(PageParameters params

Re: StringValue.toOptionalLong incorrect behavior

2011-12-20 Thread Илья Нарыжный
OK:) Please find it here: https://issues.apache.org/jira/browse/WICKET-4309 Thank you! Regards, Ilia 2011/12/20 Martin Grigorov mgrigo...@apache.org Ticket please! 2011/12/20 Илья Нарыжный phan...@ydn.ru: Hello, Up this topic. Are you planning to fix this functionality

Inclusion of script in wicket:head and AJAX

2011-11-29 Thread Илья Нарыжный
Hello, I have following code in my wicket component: wicket:head script type=text/javascript src=http://www.google.com/jsapi;/script /wicket:head Everything is OK if component is visible from the begining. But if component is enabled by AJAX, I have following in the logs: *INFO: * Initiating

Re: Inclusion of script in wicket:head and AJAX

2011-11-29 Thread Илья Нарыжный
...@apache.org https://issues.apache.org/jira/browse/WICKET-4092 On Tue, Nov 29, 2011 at 3:20 PM, Илья Нарыжный phan...@ydn.ru wrote: Hello, I have following code in my wicket component: wicket:head script type=text/javascript src=http://www.google.com/jsapi /script /wicket:head

Re: Inclusion of script in wicket:head and AJAX

2011-11-29 Thread Илья Нарыжный
... Thanks, Ilia 2011/11/29 Martin Grigorov mgrigo...@apache.org Ticket + quickstart. We load .js resources from CDN in our app and there are no problems. 2011/11/29 Илья Нарыжный phan...@ydn.ru: Martin, Thank you, but in Wicket 1.5.3 browser come to some inconsistent state after

StringValue.toOptionalLong incorrect behavior

2011-11-16 Thread Илья Нарыжный
Hello, I have page mounted as @MountPath(/page/#{pageId}) Also I have following code: public ViewPagePage(PageParameters params) { this(getEntityPkFor(params, Page.class, 1)); //1 - is default ID if PK in url was not found } and: protected static Long

Re: Validate form on page start

2011-11-14 Thread Илья Нарыжный
, On Sun, Nov 13, 2011 at 2:20 PM, Илья Нарыжный phan...@ydn.ru wrote: Hello, I have following case: There is RegistrationPage in the project. This page fill attributes of new User and persists in the database. But for registration from social networks we want to implement following: show to new user

Re: Validate form on page start

2011-11-14 Thread Илья Нарыжный
form#process(null); 2011/11/14 Илья Нарыжный phan...@ydn.ru: Hello, Martin, I tried, as you propose, but that doesn't work: page is not initilized, so all validators just validate empty fields without propagated values to it. Maybe I should done that in some onXXX method

Re: Validate form on page start

2011-11-14 Thread Илья Нарыжный
mgrigo...@apache.org Hi, You need to call org.apache.wicket.markup.html.form.FormComponent.inputChanged() before that. See org.apache.wicket.markup.html.form.FormComponent.inputChanged() 2011/11/14 Илья Нарыжный phan...@ydn.ru: Hi, Unfortunatly, it doesn't work too. Process doesn't

Re: Validate form on page start

2011-11-14 Thread Илья Нарыжный
is used. 2011/11/14 Илья Нарыжный phan...@ydn.ru: Martin, Yes. That seems to work, but for case when parameters for page were propogated by PageParameters. But what should I call in case, when value for fields initially should be populated from CompoundPropertyModel and corresponding

Validate form on page start

2011-11-13 Thread Илья Нарыжный
Hello, I have following case: There is RegistrationPage in the project. This page fill attributes of new User and persists in the database. But for registration from social networks we want to implement following: show to new user the same RegistrationPage with filled fields according to data

Url.toAbsoluteString doesn't work correctly

2011-11-11 Thread Илья Нарыжный
Hello, I have following code: String fullPath = url.toAbsoluteString(); String subPath = url.toString(); log.info(FULL: +fullPath+ SUBPATH: +subPath); And after execution on the page in logs I see following: 13:00:08,751 INFO [STDOUT] INFO - TestPanel - FULL: /login SUBPATH:

Orders of CSS files

2011-11-03 Thread Илья Нарыжный
Hello, Is there some way to specify final CSS file which will be used by browsers at the end - and that's why can rewrite some CSS rules? We have following case: we use wicketstuff tagit autocomplite component. This component contribute some CSS to the header. But we need to overwrite some css

AbstractAutoCompleteRenderer.getOnSelectJavaScriptExpression doesn't have access for callbackUrl

2011-10-25 Thread Илья Нарыжный
Hello, Is't possible to obtain callbackUrl in javascript rendered by AbstractAutoCompleteRenderer.getOnSelectJavaScriptExpression? We have following case: by autocomplete some of the already existing objects can be selected, after that INPUT will be disabled (because already existing object was

Dynamic BorderBehavior and AjaxFormSubmitBehavior

2011-10-24 Thread Илья Нарыжный
Hello, Is it possible to use BorderBehavior and AjaxFormSubmitBehavior together on the same TextField? BorderBehavior in our case is dynamic: with the aid of isEnabled. But it seems, that border is not updating be AJAX: only by refresh of the page. Is it correct behavior? Thanks, Ilia

Unnecessary 302 redirects in Wicket 1.5

2011-10-20 Thread Илья Нарыжный
Hello, Could you please explain for what reason wicket for every page redirects users to some other page by 302 code? For example from /home user will be redirected to /home?1 etc. It seems quite strange and I think, that this is much more strange for Search Engines. I found solution how to