AjaxFormSubmitBehavior and FilterForm problem

2014-02-13 Thread Sandor Feher
Hi, I have a datatable inside a filterform. Everything works fine but I need to filter table on every single typed characters in my filterform. To achieve this I added an AjaxFormSubmitBehavior to my filterform. There is one small problem with it. If I type one char it works fine but if I type one

Re: AjaxFormSubmitBehavior and FilterForm problem

2014-02-13 Thread Sandor Feher
Hi Martin, Thanks for the prompt answer. First I try to not re-render filterform's field. How could I do that ? My panel looks like this: I changed target.add from container to table to refresh table only but that did not help. Regards., Sandor -- View this message in context: http://apache

Re: AjaxFormSubmitBehavior and FilterForm problem

2014-02-13 Thread Sandor Feher
Yes, I use TextFilteredPropertyColumn and FilterToolbar. So it might better to use js to solve this. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AjaxFormSubmitBehavior-and-FilterForm-problem-tp4664422p4664429.html Sent from the Users forum mailing list archive at N

RE: AjaxFormSubmitBehavior and FilterForm problem

2014-02-13 Thread Sandor Feher
Hi, Thanks for the tip. I have almost done it. Just one annoying problem. I can't set filter fields' markup up. Not the td where the input field resides but the input tag itself. I have five filter fields on my filtertoolbar. To use javascript trick I have to set id for every filter fields.(Now wi

ImageUploadPlugin of TinyMCE icon and resource problem

2014-03-24 Thread Sandor Feher
Hi Guys, I experienced the same problem in 6.0 and above that has been solved in 6.0-SNAPSHOT. My second problem is how to reach the uploaded image from another page than it has been uploaded. (I upload a pic into my content editor, save it and would like to display my article at another page. Bu

DDC and DataTable refresh

2014-04-18 Thread Sandor Feher
Hi, I have a DDC and a DataTable. I would like to filter datatable with entity selected in ddc. I can't do it via FilterToolbar because DDC's model and DataTable's are different. The code below works but DataTable never get refreshed. Any ideas are welcome. Thnx! Sandor -- View this message

Re: DDC and DataTable refresh

2014-04-19 Thread Sandor Feher
Yes, I knew the problem but did not find the solution. Made my dataprovider abstract and the suggested abstract method solved the problem. Thanks! s -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/DDC-and-DataTable-refresh-tp4665465p4665476.html Sent from the Users f

Sorting datatable column with null values

2014-04-22 Thread Sandor Feher
Hi, My question is how to sort/filter columns which have null values too ? Should I check if null value in my comparator or is there other more elegant way to do this ? Thnx, Sandor -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Sorting-datatable-column-with-null-

Re: FilterToolbar with composite PK problem

2014-05-12 Thread Sandor Feher
Hi, Here is my entity's PK. In my DataTable I added one field of PK to filter on. columns.add(new TextFilteredPropertyColumn(new ResourceModel("beosztottakform.torzsszam"), "HrpBbstorzsPK.torzsszam", "HrpBbstorzsPK.torzsszam")); If this field is part of filterform then I have to fill

Email template with css

2014-05-12 Thread Sandor Feher
Hi, I use WebPages for rendering my emails content. The above code works fine but I can't get my css styles work in this way. public String renderTemplate(WebPage webPage) { BufferedWebResponse bufferedWebResponse = new BufferedWebResponse(null); webPage.getRequestCycle().setRespo

FilterToolbar with composite PK problem

2014-05-13 Thread Sandor Feher
Hi, I have an entity which has composite primary key with two fields. I need to use one of them to filter. In this case I need to fill this field everytime (though I want to filter another field or fields). If I don't fill this field then I get 'Filter field is required' message. So the question i

Re: Email template with css

2014-05-16 Thread Sandor Feher
Ok, thnx! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Email-template-with-css-tp4665788p4665793.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-u

Page rendering from quartz job

2014-05-16 Thread Sandor Feher
Hi, I fired up some quartz jobs for sending notification emails at given time. The job controller class is launched from my Application wget it get initialized. Almost everything works except of rendering mail's html body. I would like to do it with wicket's pagerenderer but it throws the followin

Re: Page rendering from quartz job

2014-05-19 Thread Sandor Feher
Yes. I would do it if possible within Wicket. If not then I will do it with a html template file with simple "search and replace constans" way. I just don't want to reinvent the wheel :) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Page-rendering-from-quartz-job-

Re: Page rendering from quartz job

2014-05-19 Thread Sandor Feher
Ok. Let's say I get the reference. How can I render the page then ? Where should I put it ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Page-rendering-from-quartz-job-tp4665860p4665933.html Sent from the Users forum mailing list archive at Nabble.com. -

Re: Page rendering from quartz job

2014-05-20 Thread Sandor Feher
Huh guys, I just see the my topic became hot :). So far so good. Now I get wicket application instance but RequestCycle is null of course. How can I get over that ? Thnx! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Page-rendering-from-quartz-job-tp4665860p46659

Re: Page rendering from quartz job

2014-05-20 Thread Sandor Feher
Sorry Martin! My code mentioned based on your comment: https://github.com/apache/wicket/blob/master/wicket-core/src/main/java/org/apache/wicket/core/util/string/ComponentRenderer.java#L46for pageHtml = ComponentRenderer.renderPage(pageProvider); throws org.apache.wicket.WicketRuntimeException:

Re: Page rendering from quartz job

2014-05-21 Thread Sandor Feher
That's nice and this is exactly what I do. But I start my job from init method of my Application class and there is no RequestCycle there at initialization time. I suppose that because there is no request has been sent to Application yet. (Nobody uses the application because it just started). I th

Testing Wicket app with JMeter

2014-07-18 Thread Sandor Feher
Hi, I must perform some load test for our application and just found JMeter which seems suit our needs. My problem is that the first step is logging in to the app and can not get JMeter to manage it. I ran a recording script process and everything looked fine but wicket changes a hidden field name

Simple message solution Wicket-Spring combined application

2015-04-22 Thread Sandor Feher
Hi, I'm looking for a simple and feasible message sending solution for my application. The main goal is that components (both wicket and spring) should be send messages if a specific event occurs to users. The message will be displayed at top of the page with help AjaxSelfUpdatingBehaviour. Spring

Re: Simple message solution Wicket-Spring combined application

2015-04-23 Thread Sandor Feher
Hi Martin, Thanks! That's it I was looking for. I use spring beans I inject to wicket context so it should be trivial choice to me but I did not keep it in my mind. Regards., Sandor -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Simple-message-solution-Wicket-Spring

Re: Simple message solution Wicket-Spring combined application

2015-04-23 Thread Sandor Feher
Hi Sebastien, It would worth a try but session scoped spring bean will fulfill all my needs right know. Thank you anyway! Regards., Sandor -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Simple-message-solution-Wicket-Spring-combined-application-tp4670461p4670482.ht

Event driven DataTable refresh

2015-05-02 Thread Sandor Feher
Hi, A have a WebMarkupContainer and a DataTable inside in it. I would like to refresh the datatable based on my spring bean's event. To achieve this I added an AjaxSelfUpdatingBehaviour to container. My problem is that I'm not able to control the refresh because at onPostProcessTarget the refresh

Re: Event driven DataTable refresh

2015-05-02 Thread Sandor Feher
Thanks for the suggestions. The event the container or table need to be refreshed on comes from a spring bean. The scenario is that if a user uploads a file via web service then a the uploads panel need to be refreshed. So I check the spring bean's state to see if an upload event occured. If so the

wicket-jquery-ui calendar locale question

2015-08-07 Thread Sandor Feher
Hi, Now I'm checking if calendar component suits to our needs (http://www.7thweb.net/wicket-jquery-ui/calendar/ExtendedCalendarPage?). Is there any options which influence the locale behaviour of Calendar component ? For example in header section the year and month name order and so one. TIA, S

Re: wicket-jquery-ui calendar locale question

2015-08-07 Thread Sandor Feher
Hi Sebastien, Thanks for the quick response. Now the picture is getting clear :). So I need to use JavaScriptPackageResource to load corresponding lang-all.js in my panel do I ? TIA, Sandor -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-jquery-ui-calendar-l

Tomcat 7 SSL and getDesiredSchemeFor problem

2015-09-17 Thread Sandor Feher
Hi, I don't know is it the appropriate channel I should ask but I hope somebody can give me a pointer. The sympthom is that super.getDesiredSchemeFor(pageClass) always returns HTTP regardless https or http is in the url. If I force Scheme.HTTPS then everything works fine. TIA., Sandor -

Re: Tomcat 7 SSL and getDesiredSchemeFor problem

2015-09-17 Thread Sandor Feher
Hi, No I did not. I would like to get both method (http and https) accessible. There is no proxy used. s -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Tomcat-7-SSL-and-getDesiredSchemeFor-problem-tp4671980p4671982.html Sent from the Users forum mailing list archive

Wicket+Spring 4 integration

2015-09-24 Thread Sandor Feher
Hi, I'm just wondering when do you plan to support spring 4 in wicket-spring module ? I try to implement an Oauth2 server on top of my Wicket app and oauth2 (at least 2.0.6 and above) requires spring 4. Right now I'm not able to upgrade due to lack of wicket spring 4 support. TIA., Sandor -- Vie

Re: Wicket+Spring 4 integration

2015-09-24 Thread Sandor Feher
So this means if I want to use Spring 4 then I must upgrade to Wicket 7. (Currently I use 6.20.0) Can I do it safely ? Is 7.0 stable enough ? TIA,Sandor -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-Spring-4-integration-tp4672031p4672033.html Sent from the

Re: Wicket+Spring 4 integration

2015-09-24 Thread Sandor Feher
Sounds good. I have up to 15 pages , wicket 6, hibernate 4 and spring 3. Not so simple but not a nightmare. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-Spring-4-integration-tp4672031p4672035.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Wicket+Spring 4 integration

2015-09-24 Thread Sandor Feher
I tried to do but I experienced some problems. They might be related to Spring but I'm not sure. I use spring security. Default login page has changed in 4 so I set my wicket app's login page. Then login page appeared but there was no action made when I clicked submit button. I dig Springs migratio

Re: Wicket+Spring 4 integration

2015-09-26 Thread Sandor Feher
Hi, Finally I came over my problems. Now my 6.20.0 works fine together with Spring 4.1.5 and Spring Security 4.0.2. My login page is mounted under /login. So the key was to define login-page and more important the login-process-url. Hope this might help to others who struggling with upgrade to

Handling session timeout properly

2016-09-22 Thread Sandor Feher
Hi, My application have some AjaxSelfUpdatingTimerBehavior in its header panel so my session never expires due to ajax requests. Somehow I would like to get rid of it. How is it possible to fence ajax request from the real request ? (As I realized there is no way.) I need an advice how to handle t

Re: Handling session timeout properly

2016-09-22 Thread Sandor Feher
Thanks, looks very useful! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Handling-session-timeout-properly-tp4675541p4675544.html Sent from the Users forum mailing list archive at Nabble.com. - To u

Re: Handling session timeout properly

2016-09-22 Thread Sandor Feher
Hi Martin, I checked up your code. I'm afraid this will not solve my problem because does not detect "normal" user activity. Ie. when user click on some page then the session timeout must be reset. I'm pretty sure that I must change my approach how my notification panel handled. -- View this mes

Refreshing my Notification panel's model

2016-09-22 Thread Sandor Feher
Hi, Tightly coupled with my previous topic I'm looking for a proper solution for refreshing my panel's model and show if it must be showed. In a nutshell I have a hibernate entity which handled a sp

Re: Refreshing my Notification panel's model

2016-09-22 Thread Sandor Feher
Hi Martin, #updateAjaxAttributes() is neat solution works like a charm. Thank you!! Sandor -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Refreshing-my-Notification-panel-s-model-tp4675548p467.html Sent from the Users forum mailing list archive at Nabble.com. -

Invalidate session on browser close

2017-02-21 Thread Sandor Feher
Hi, I need for a solution to invalidate session on browser close. I found this behaviour https://github.com/thombergs/wicket-pageexitwarning-example/blob/master/src/main/java/org/wickedsource/pageexit/PageExitLogoutBehavior.java If I add it to my BasePage (all the other pages extend that) then m

Re: Invalidate session on browser close

2017-02-23 Thread Sandor Feher
Well. Problem I seized might be a dead-end. I could reproduce the issues (User closes all the browser windows and then start the browser again. Then he can reach the app without be forced to log in.) only on my own box using jetty. At our testing environment (using tomcat 7) nor at our client we w

Validate before convert

2017-10-19 Thread Sandor Feher
Hi, I have a form used for changing users' data e.g, mail address, password and so one. I have a custom converter to convert clear text password to md5 hash on the fly. I set up some validators for password (length, complexity..) but the problem is that the validator fires only after the input val

Re: Validate before convert

2017-10-20 Thread Sandor Feher
Cool solution. Works like charm :), thanks! s -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: user

AjaxSelfUpdatingBehaviour detaches my DataTable

2018-10-29 Thread Sandor Feher
Hi, I succesfuly implemented my session expiration solution described in my recent post: http://apache-wicket.1842946.n4.nabble.com/Handling-session-timeout-properly-td4675541.html and I use the same behavior for refreshing my NotificationPanel too. My only problem/observation that AjaxSelfUpdat

Re: AjaxSelfUpdatingBehaviour detaches my DataTable

2018-10-30 Thread Sandor Feher
Hi Sven, Ok, thanks. -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: AjaxSelfUpdatingBehaviour detaches my DataTable

2018-11-12 Thread Sandor Feher
Hi, I feel a little bit dump but I can't fix it. At the moment it looks like if I want my DataTable get reloaded then I must call explicitly a public method in my DataProvider. So far I simply called detachModel() on my DataTable and in detach method I reloaded list using my DAO. Because of Aw

Re: AjaxSelfUpdatingBehaviour detaches my DataTable

2018-11-14 Thread Sandor Feher
Hi, Sorry for the confusing. Let me explain it more. Let's suppose a simple CRUD page with a single DataTable and it's dataprovider. I need to refresh my datatable after a new item added. So far I did it like this: mw = new ModalWindow("modal"); mw.setWindowClosedCallback(new ModalWindow.WindowC

Re: AjaxSelfUpdatingBehaviour detaches my DataTable

2018-11-19 Thread Sandor Feher
Hi Sven, Sorry, I did not notice your answer so far. Okay. Let's try to see things from different angle :) Yes I use spring. I tried to reduce the number of unnecessary queries. To achieve this I try to catch if my table filtered or a new item added or a dropdownchoice changed and so on. It wor

Catch start and finish of upload process on MultiFileUploadField

2022-10-17 Thread Sandor Feher
...---Sandor Feher fejlesztési vezetõ --- development manager Blue System Kft. --- Blue System Ltd. .. http://www.bluesystem.hu : http://www.adatmegorzo.hu : http

Re: Catch start and finish of upload process on MultiFileUploadField

2022-10-18 Thread Sandor Feher
Hi, On Mon, Oct 17, 2022 at 1:23 PM Sandor Feher wrote: Now I use IndicatingAjaxButton for that but catching it within onSubmit is late. What do you mean with "is late" ? As I realized when the first line of onSubmit function is executed the file(s) already get upload

Re: Catch start and finish of upload process on MultiFileUploadField

2022-10-18 Thread Sandor Feher
Okay, the process is  clear now. Thank you. The question is which method should I override to inject my code and show my panel when indicator shows up. 2022.10.18. 10:08 keltezéssel, Martin Grigorov írta: On Tue, Oct 18, 2022 at 10:50 AM Sandor Feher wrote: Hi, On Mon, Oct 17, 2022 at 1

Re: GoAndClearFilter does not reset filterForm fields

2011-11-29 Thread Sandor Feher
After three weeks stuggling finally I found the problem. I did not fill my POJO's PK which was a compound id contains three fields because I did not want to filter for this columns. The result was that my POJO's equals function always returned true and this is why it did not work for me. Huh. Just

Breadcrumb with pages

2011-12-12 Thread Sandor Feher
Hi, I have a classic header,content,footer style app. I would like to add breadcrumb panel to my header and show the current page's link. I could not find any examples except which uses panels. So I added a breadcrumbbar to my headpanel. I would more than happy if someone could point me where to s

JQuery and Wicket 1.5 question

2012-04-11 Thread Sandor Feher
Hi, I would like to use some visural wicket components so I need to initialize JQuery first. I'm wondering how to initialize it in wicket 1.5. The example shown below does not work in 1.5. Thank you in advance! Regards., Sandor -- package com.myapp.wicket; import com.j

FilterForm Date column formatting

2012-04-25 Thread Sandor Feher
Hi, I need to add date formater and/or validator to a column in the filterform. IColumn col_cru=columns.add(new TextFilteredPropertyColumn(new ResourceModel("contentlisttable.cru"), "cru", "cru")); TIA, Sandor -- View this message in context: http://apache-wicket.1842946.n4.nabble

Re: FilterForm Date column formatting

2012-04-25 Thread Sandor Feher
Hi, Thank you for the prompt answer. I had a try but it does not work as I expect. --- IColumn crdCol=new TextFilteredPropertyColumn(new ResourceModel("contentlisttable.crd"), "crd", "crd") { @Override public void populateItem(Item> item, String componentI

Re: FilterForm Date column formatting

2012-04-25 Thread Sandor Feher
Hi, Yes, sorry for that. --- Last cause: Component [cell] (path = [5:datatablecontainer:filterForm:datatable:body:rows:1:cells:3:cell]) must be applied to a tag of type [input], not: '' (line 0, column 0) Markup The problem is in "jar:file:/X:/mavenrepo/org/apache/wicke

Re: FilterForm Date column formatting

2012-04-26 Thread Sandor Feher
Ok, I will have try... -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/FilterForm-Date-column-formatting-tp4586557p4589073.html Sent from the Users forum mailing list archive at Nabble.com. - To unsub

Re: FilterForm Date column formatting

2012-04-26 Thread Sandor Feher
Hi, If I do it in this way, then all of my cells in that column will change to input textfield. But I only want to change the cell which in the filter form row. Regards, Sandor -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/FilterForm-Date-column-formatting-tp458655

Re: FilterForm Date column formatting

2012-04-26 Thread Sandor Feher
Ok, np. Here is what I did: c IColumn crdCol=new TextFilteredPropertyColumn(new ResourceModel("contentlisttable.crd"), "crd", "crd") { @Override public Component getFilter(String componentId, FilterForm form) { DateConverter dc=new DateCo

[RESOLVED] Re: FilterForm Date column formatting

2012-04-26 Thread Sandor Feher
Hi, Works fine now :). Melinda, Martin! Thank you for your help. I really appreciate that! Just for the archive. I add a panel overriding the getFilter method. - IColumn crdCol=new TextFilteredPropertyColumn(new ResourceModel("contentlisttable.crd"), "crd", "crd") { @Ove

Full month calendar

2012-05-17 Thread Sandor Feher
Hi, I need for a full month calendar view to indicate when was the employee on holiday. I found at wicketstuff the calendars package and tried to used with not too much success. wm.add(new FullWeekCalendarView("calendar",new Date(2012,05,01),new Date(2012,05,31),ievent)); Throws me an org.apache.

Re: Full month calendar

2012-05-17 Thread Sandor Feher
Thanks Igor! I will have a try.. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Full-month-calendar-tp4642735p4643499.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscri

Re: Full month calendar

2012-05-18 Thread Sandor Feher
Hi, The example Igor mentioned is nice but I'm still struggling with that. I have copy-pasted the code from HomePage but it throws me java.lang.ArrayStoreException: net.ftlines.wicket.fullcalendar.callback.GetEventsCallback at net.ftlines.wicket.fullcalendar.FullCalendar.setupCallbacks(FullC

Re: Full month calendar

2012-05-18 Thread Sandor Feher
There is no doubt if it works. I just wanted to shorten my learning curve :). So I will have another try. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Full-month-calendar-tp4642735p4644871.html Sent from the Users forum mailing list archive at Nabble.com. -

Re: Full month calendar

2012-05-18 Thread Sandor Feher
Ok. I think I found a clue. I use wicket 1.5.6 but I tried wicket-fullcalendar-core 1.2.1 from maven repo which is for wicket 1.4 as I suspect. I compiled 1.3.0-SNAPSHOT and added my project. Now it works fine :). I really appreciate if 1.3.x will be available in maven repo. This would make my life

Re: Full month calendar

2012-05-21 Thread Sandor Feher
A bonus question. How can I localize fullcalendar ? (I mean day names and so one..). Regards., Sandor -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Full-month-calendar-tp4642735p4647866.html Sent from the Users forum mailing list archive at Nabble.com. ---

Nested form model refresh

2012-06-12 Thread Sandor Feher
Hi, I have the following form. It has a nested form which is for a simple file uploading. After the upload finished I would like to get some information from the uploaded file (eg. name, size and so one) and pass it's parent form. Later if the parent form get submitted I will persist these data an

Re: Nested form model refresh

2012-06-12 Thread Sandor Feher
Hi, Tried but did not work for me :( . info("saved file: " + uploadedFile.getClientFileName()); HrpFiles e=new HrpFiles(); e.setTitle(uploadedFile.getClientFileName()); cmodel.setObject(e);

Re: Feedback next to each input field on form

2012-06-12 Thread Sandor Feher
Hi, Have you seen this ? http://stuq.nl/weblog/2008-09-03/user-friendly-form-validation-with-wicket -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Feedback-next-to-each-input-field-on-form-tp4649886p4649888.html Sent from the Users forum mailing list archive at Na

Re: Nested form model refresh

2012-06-13 Thread Sandor Feher
Hi, Works fine! Thank you so much for your help! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Nested-form-model-refresh-tp4649877p4649910.html Sent from the Users forum mailing list archive at Nabble.com. ---

Progressbar problems

2012-06-13 Thread Sandor Feher
Hi, I have two problems with my progressbar. 1. It does not show up if I use AjaxButton or AjaxSubmitLink. I dig the archives, set setOutputMarkupPlaceholderTag(true) for progressbar but it did not help. If I change it to then it shows up. 2. If I try to upload a file from a shared folder at

Re: Progressbar problems

2012-06-13 Thread Sandor Feher
Hi, Looks very nice. But how attach my uploadfield to // Get current progress from page field @Override protected Progression getProgression() { return new Progression(progress, "Item " + ite

Obtain last modified date from FileUploadField

2012-06-15 Thread Sandor Feher
Hi, I need for the uploaded file's last modified date to store it in a table. So the question is how to obtain this info from a FileUploadField field. As I have seen there is no such method in FileUpload class. thnx., Sandor -- View this message in context: http://apache-wicket.1842946.n4.nabbl

Update two fields with AjaxFormComponentUpdatingBehavior

2012-08-02 Thread Sandor Feher
Hi, I have a small but annoying problem. I'm sure there is a solution laying around but let me ask it anyway. This is a common zip code - location problem I intend to solve with actf. I would like to get zip code read only (user can choose only location name). To get my model up to date I introduc

Re: load properties file from extrnal path

2012-08-02 Thread Sandor Feher
Hi Oliver, In your Application init add IResourceSettings resourceSettings = getResourceSettings(); resourceSettings.addResourceFolder("c:\project"); //this path should be changed Regards., Sandor -- View this message in context: http://apache-wicket.

Re: Update two fields with AjaxFormComponentUpdatingBehavior

2012-08-06 Thread Sandor Feher
Hi, Just for the archives the following do the trick. helyseg.add(new AjaxFormComponentUpdatingBehavior("onchange") { @Override protected void onUpdate(AjaxRequestTarget art) { try { int irszam = TelepulesIrszam.

Key = Value search panel with actf

2012-08-08 Thread Sandor Feher
Hi, I'm looking for a component similar to DatePicker which let user to choose a value from a key = value list. It should contain an actf field let user to filter the values. Something like this: http://apache-wicket.1842946.n4.nabble.com/file/n4651064/lov.png thnx., Sandor -- View this mes

Re: Key = Value search panel with actf

2012-08-09 Thread Sandor Feher
Hi Igor, Your component looks very impressive :). So just one question. How can I reach your maven repo ? Because thru central repo I can't reach 1.0-SNAPSHOT. com.vaynberg.wicket.select2 wicket-select2 1.0-SNAPSHOT thnx, Sandor -- View this message in context: http://apache-wi

Re: Key = Value search panel with actf

2012-08-09 Thread Sandor Feher
I'm looking for 1.0-SNAPSHOT and not 0.5 :). thnx., S -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Key-Value-search-panel-with-actf-tp4651064p4651077.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Key = Value search panel with actf

2012-08-09 Thread Sandor Feher
Ok. 0.5 would be fine. thanks, Sandor -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Key-Value-search-panel-with-actf-tp4651064p4651081.html Sent from the Users forum mailing list archive at Nabble.com. -

BreadCrumb and page parameters

2012-08-21 Thread Sandor Feher
Hi, I have the following scenario: Page A It's the home page without any params. Calls page B. Page B Calls Page C with a modelobject. Link teljlink = new Link("beosztottak") { @Override public void onClick() { HRPorta

Re: BreadCrumb and page parameters

2012-08-28 Thread Sandor Feher
Had a workaround to store calling parameters in session in a HashMap. This is good enough for me right now. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/BreadCrumb-and-page-parameters-tp4651412p4651564.html Sent from the Users forum mailing list archive at Nabbl

Nested form submit problem

2012-08-28 Thread Sandor Feher
Hi, I have the following use case. I have some questionnaires and a couple of questions belong to every questionnaire. I created a nested form component contains two forms. First does nothing just has some buttons (save,delete,cancel,reset) and contains as many child forms as the number of questio

RE: Nested form submit problem

2012-08-28 Thread Sandor Feher
Hi Paul, The problem related to AjaxFormSubmitBehavior behaviour. This fires eform's onSubmit event. My original goal was to create field level validation with Ajax nothing more. The code above looks for a description belongs to the entered value and displays it. If the entered value validation f

Re: Nested form submit problem

2012-08-28 Thread Sandor Feher
Be sure :). This is the root of all evil :). Checked. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Nested-form-submit-problem-tp4651565p4651575.html Sent from the Users forum mailing list archive at Nabble.com.

RE: Nested form submit problem

2012-08-28 Thread Sandor Feher
This works until I submit the parent form because it fires nested form's onSubmit event. Does not matter if I click on save or cancel or whatever button. Anyway. Is it possible to catch the button name clicked in the nested form onSubmit ? If so I could separate the code depending on the button cl

RE: Nested form submit problem

2012-08-29 Thread Sandor Feher
Paul Bors wrote > > Must you really have a nested form here? > I think yes. I tried to sketch what I need for better understanding. For example there is a quiestionnarie has five questions. Every question has id and max points can be given and so one. I store the result in a result table and get

RE: Nested form submit problem

2012-08-29 Thread Sandor Feher
Many thanks Paul, I will go ahead. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Nested-form-submit-problem-tp4651565p4651608.html Sent from the Users forum mailing list archive at Nabble.com. - T

select2 localization questions

2012-09-04 Thread Sandor Feher
Hi, I successfuly created a Select2Choice item in my form. I fill it up from a model and everything works fine but the listed choices' display in wrong codepage. I use utf8 everywhere and have no problems with cp. The second one is how to localize select2 messages from select2.js ? E.g. formatNoMa

Re: select2 localization questions

2012-09-04 Thread Sandor Feher
Igor Vaynberg-2 wrote > > On Tue, Sep 4, 2012 at 7:27 AM, Sandor Feher <sfeher@> wrote: >> Hi, >> >> I successfuly created a Select2Choice item in my form. I fill it up from >> a >> model and everything works fine but the listed choices' display

Re: select2 localization questions

2012-09-04 Thread Sandor Feher
Okay. Just one more question. I have a domain model (HrpBbheerk) which contains a Short column. I would like to fill this via Select2Choice. I read the select2-examples but not able to get rid it. So the steps I took. 1. Fill my hepar5list list from my domain model (HrpBbhepar5). This contains c

Re: select2 localization questions

2012-09-05 Thread Sandor Feher
Hi, Igor Vaynberg-2 wrote > > you should declare your Select2Choice as Select2Choice since > that is its model type. once you do this the compiler will tell you > that your TextChoiceProvider should be TextChoiceProvider > instead of > > -igor > In this case I can't search for description he

Wicket+Spring+JUnit testing

2012-09-16 Thread Sandor Feher
Hi, Could you please advice a stack for this task ? I went thru lots of (mostly obsolete) post with not much success. I have some spring beans which are not injected as I expected. Thank you in advance! -- package hu.xxx.xxx.main; import org.springframework.context.ApplicationContext; impo

Re: Wicket+Spring+JUnit testing

2012-09-17 Thread Sandor Feher
Hi, An unitializes session variable caused my problem. First I thought it was injecting problem. Thank you for advices now I'm green :). -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-Spring-JUnit-testing-tp4652021p4652030.html Sent from the Users forum mail

wicket-tree with two Hibernate entities

2012-10-19 Thread Sandor Feher
Hi, I dig myself into wicket-tree. I store my files in an entity by categories. Categories listed in another entity. I would like the files get listed by category in a TableTree. Nothing tricky just two levels. Roots are the categories, children are files belong to categories. As I followed the

Re: wicket-tree with two Hibernate entities

2012-10-19 Thread Sandor Feher
Hi Sven, Thank you for the prompt answer. Please make me sure if I do it well. FileHelper.class import java.util.Collections; import java.util.List; public class FileTreeHelper implements Serializable { private HrpBbfparam parent; // this is the dictionary class with fields

Re: wicket-tree with two Hibernate entities

2012-10-20 Thread Sandor Feher
Thanks. All work fine. s -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-tree-with-two-Hibernate-entities-tp4653122p4653163.html Sent from the Users forum mailing list archive at Nabble.com. ---

wicket:link + component images

2012-11-27 Thread Sandor Feher
Hi, I use tinymce as editor, storing the content in a blob field and intro in a varchar2 field. At my showcontent page I dig this out and display like this: add(new Label("cikk",new Model(c.getIntro())).setEscapeModelStrings(false)); add(new Label("cikk",new Model(new String(c.getFullArticle()))

Re: wicket:link + component images

2012-11-27 Thread Sandor Feher
Hi, (B)LOB is database independent more or less. I use currently postgresql as db engine but this app should be run on top of oracle db as well. So this is why I decided to use blob. But I think it should not be affected to wicket models. I convert byte array to string and I pass that to the model

Re: wicket:link + component images

2012-11-28 Thread Sandor Feher
Okay. I digged out more deeply. The bottom line is if the img inside a or a tag then the images are broken. If there is no surrounding tag or a just a simple then everything works fine. Somehow ignores those kind of tags. This works fine.

  1   2   >