AW: Nested forms in WizardStep

2017-11-20 Thread Patrick Davids
. After login succeeded, just disable the inner login form, and the user should be able to proceed. Patrick Health AG| Patrick Davids | Softwareentwickler Tel. +49 40 524 709-258 | p.dav...@healthag.de Fax +49 40 524 709-258 | www.healthag.de EOS Health IT-Concept GmbH | Lübeckertordamm 1–3 | 20099

clearInput() if FormComponentPanel does not delegate to its inner FormComponents

2016-03-07 Thread Patrick Davids
Hi Wicket Pros, is it bug or an feature, that FormComponentPanel is not overriding clearInput() to delegate the clearing to its inner FormComponents? For me, it should behave the same way, when extending FormComponent. But I'm not sure here about consequences... (As I can see...

adding FeedbackMessages in onBeforeRender()

2016-02-29 Thread Patrick Davids
Hi all, is there any way to add a message when onBeforeRender() is called? I have a behavior for a special use-case which does some checks and provides feedback to the user when a check is unsuccessfull. But I get a org.apache.wicket.WicketRuntimeException: Cannot modify component hierarchy

Re: Use a Factory to create a Panel (Yay or Nay)?

2016-02-18 Thread Patrick Davids
> I have at times used factories and then found that they made some simply things more complicated I agree... you will loose the feature to sub-class and override onConfigure() or onBeforeRender() of your components. And what I also encountered using factories, when having sub-classed

Re: Question / Modular FormComponents / FormComponentPanels / AbstractFormValidator and problems with model updates

2016-02-15 Thread Patrick Davids
sically ignore the submitted parameters. I am missing something in your idea. What is it? } } Form f = new Form(...); PersonPanel personPanel = new PersonPanel(...) personPanel.add(new XYValidator()); // <-- a validator that validates the 'converted' person f.add(personPanel); Have fun

Question / Modular FormComponents / FormComponentPanels / AbstractFormValidator and problems with model updates

2016-02-12 Thread Patrick Davids
Hi all, I would like to implement some kind of modular form components. So, a developer is able stick together a form to save e.g. person data and adress data with different panels containing the particular needed input fields (textfield, selectboxes etc). Form f = new Form(...); f.add(new

SOLVED / Re: Question / Modular FormComponents / FormComponentPanels / AbstractFormValidator and problems with model updates

2016-02-12 Thread Patrick Davids
n Sven On 12.02.2016 11:17, Patrick Davids wrote: Hi all, I would like to implement some kind of modular form components. So, a developer is able stick together a form to save e.g. person data and adress data with different panels containing the particular needed input fields (textfield, selectbox

Re: How to get rid off Feedback Messages?

2016-02-12 Thread Patrick Davids
Hi Lorno, I faced the same problem, and I only get this working by overriding onDetach() and reading getFeedbackmessageModel() of my Feedbackpanels in combination with the Feedbackpanel.setMaxMessage(1). FeedbackPanel f = new FeedbackPanel("feedback"){ @Override protected void

Question to DataTable and ReuseIfModelsEqualStrategy

2015-12-17 Thread Patrick Davids
Hi all, I have a problem with an ComponentNotFoundExceptions when multiple ajax-request are fired with refreshing components and I fixed it using a ReuseIfModelsEqualStrategy in my refreshing DataTable. But I'm not sure about the consequences using ReuseIfModelsEqualStrategy. This is my

Re: Question to DataTable and ReuseIfModelsEqualStrategy

2015-12-17 Thread Patrick Davids
, you won't get ComponentNotFoundExceptions either. Have fun Sven On 17.12.2015 09:35, Patrick Davids wrote: Hi all, I have a problem with an ComponentNotFoundExceptions when multiple ajax-request are fired with refreshing components and I fixed it using a ReuseIfModelsEqualStrategy in my refre

Re: Quetsion to nesting Forms and reflecting states of FormComponents after ajax refreshs

2015-11-20 Thread Patrick Davids
, Patrick Davids wrote: Hi Wicket Pros, I have a quite special case here and a question concerning nested form submits and FormComponent/Raw-Input Handling. This is my component tree: Page Form A DropDownChoice1 displaying selected 'Car 1' Form B DropDownChoice2

Re: Quetsion to nesting Forms and reflecting states of FormComponents after ajax refreshs

2015-11-20 Thread Patrick Davids
' Form B DropDownChoice2 displaying selected 'Car 1' Patrick Am 20.11.2015 um 15:32 schrieb Martin Grigorov: Hi, On Fri, Nov 20, 2015 at 3:22 PM, Patrick Davids < patrick.dav...@nubologic.com> wrote: Hi Sven, using clearInput() works. I call it in onConfigure()

Re: Quetsion to nesting Forms and reflecting states of FormComponents after ajax refreshs

2015-11-20 Thread Patrick Davids
(as now) 2) or update it manually when needed (by calling #inputChanged() only on the FormComponents in the rootForm). IMO the current behavior is wrong. Please create a bug with a quickstart. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Fri, Nov 20, 2015 at 3:5

Quetsion to nesting Forms and reflecting states of FormComponents after ajax refreshs

2015-11-19 Thread Patrick Davids
Hi Wicket Pros, I have a quite special case here and a question concerning nested form submits and FormComponent/Raw-Input Handling. This is my component tree: Page Form A DropDownChoice1 displaying selected 'Car 1' Form B

Re: Quetsion to nesting Forms and reflecting states of FormComponents after ajax refreshs

2015-11-19 Thread Patrick Davids
might use component events to signal the car selection: (Wicket events infrastructure) https://ci.apache.org/projects/wicket/guide/6.x/guide/advanced.html#advanced_2 Have fun Sven On 19.11.2015 13:40, Patrick Davids wrote: Hi Wicket Pros, I have a quite special case here and a question conc

setDefaultModelObject() and IModelComparator

2015-10-13 Thread Patrick Davids
Hi wicket pros, could someone please give some further details about the default implementation of IModelComparator of Component doing an a.equals(b) of the both model-objects (old.equals(new))? I often run into this issue when calling setDefaultModelObject(), because my expectation is

Re: Components/Behaviour execution order

2015-10-01 Thread Patrick Davids
Hi Col., sometimes I try to cheat by using onBeforeRender() in such cases to 'fake' an order, because its called after onConfigure(). But this has some restrictions concerning visibility issues of components. But in simple dependencies this sometimes works for me. I think somewhere in wickets

Re: Web Frameworks pool

2015-08-03 Thread Patrick Davids
- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Mit freundlichen Grüßen, Patrick Davids nuboLOGIC GmbH Co. KG Südportal 1 • 22848 Norderstedt Tel

Re: Feedback Messages across Requests / Problem

2015-05-06 Thread Patrick Davids
requests. Any other ideas? Am 05.05.2015 um 16:12 schrieb Ernesto Reinaldo Barreiro: Store messages somewhere else? And on constructor check if there are any and add them to the page? On Tue, May 5, 2015 at 11:49 AM, Patrick Davids patrick.dav...@nubologic.com wrote: Hi all, I have have

Feedback Messages across Requests / Problem

2015-05-05 Thread Patrick Davids
Hi all, I have have a quite complicated feedback message case here. Could someone help me, please... We only want to show a single feedback message. No matter, how much errors a form validation procudes. So, I use setMaxMessages(1) on the feedback panel. To avoid having them all showed up one

Re: Client side javascript listeners / HeaderItems / OnDomReadyHeaderItem

2015-04-15 Thread Patrick Davids
-handlers. Patrick Am 15.04.2015 um 12:17 schrieb andrea del bene: On 15/04/2015 11:02, Patrick Davids wrote: Hi all, is there something included as feature in Wickets HeaderItems, what I can use as kind of client-side javascript observer-listener pattern? For instance... I have components

Client side javascript listeners / HeaderItems / OnDomReadyHeaderItem

2015-04-15 Thread Patrick Davids
Hi all, is there something included as feature in Wickets HeaderItems, what I can use as kind of client-side javascript observer-listener pattern? For instance... I have components which relies on a on-dom-ready previous executed javascript, before the components internal javascripts can be

Re: FormComponentPanel and propagating model value to components

2015-04-08 Thread Patrick Davids
Hi, quite unusal to me using a behavior to set a model. Why dont you delegate to your inner textfiled by implementing an own setXYZModel()-method? Or bind your inner textfield direct by providing a particular model in your Constructor of your custom MyFormComponentPanel? And no

Re: AjaxRequests and middle mouse-clicks on links and buttons

2015-03-26 Thread Patrick Davids
there is see what happens. Martin Grigorov Freelancer, available for hire! Wicket Training and Consulting https://twitter.com/mtgrigorov On Wed, Mar 25, 2015 at 3:33 PM, Patrick Davids patrick.dav...@nubologic.com wrote: Hi all, I have a problem here, I would like to ask you for feedback. I am

Re: Wicket in web-fragments environment

2015-03-25 Thread Patrick Davids
/mtgrigorov On Tue, Mar 17, 2015 at 11:24 AM, Patrick Davids patrick.dav...@nubologic.com wrote: I dont have a annotated WebFilter sub-class. I just splitted my web.xml into fragments. So, my web-fragment.xml looks like this. web-fragment xmlns=http://java.sun.com/xml/ns/javaee

Re: Wicket in web-fragments environment

2015-03-17 Thread Patrick Davids
Freelancer, available for hire! Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, Mar 17, 2015 at 11:24 AM, Patrick Davids patrick.dav...@nubologic.com wrote: I dont have a annotated WebFilter sub-class. I just splitted my web.xml into fragments. So, my web-fragment.xml looks

Re: Wicket in web-fragments environment

2015-03-17 Thread Patrick Davids
, Patrick Davids patrick.dav...@nubologic.com wrote: Hi all, does someone have some experiences concerning wicket and web-fragments? I set up a project with two jars, having both a web-fragments.xml. One of the web-fragments.xml defines a filter starting a WicketApplication, but I run

Re: Wicket in web-fragments environment

2015-03-17 Thread Patrick Davids
-mapping /web-fragment Patrick Am 17.03.2015 um 10:10 schrieb Martin Grigorov: Please share also the code of the @WebFilter class. Martin Grigorov Freelancer, available for hire! Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, Mar 17, 2015 at 11:01 AM, Patrick Davids

Wicket in web-fragments environment

2015-03-16 Thread Patrick Davids
Hi all, does someone have some experiences concerning wicket and web-fragments? I set up a project with two jars, having both a web-fragments.xml. One of the web-fragments.xml defines a filter starting a WicketApplication, but I run into a ClassNotFoundExceptions, while it gets initilaized.

Re: DataTable generics vs. IColumn generics

2015-03-09 Thread Patrick Davids
need more? Regards Sven Am 05.03.2015 um 15:34 schrieb Patrick Davids: Hi Sven, thanx for feedback. Ok, how to implement the LocationColumn more reusable? I dont want to be bound to a Datatable of Persons. I'd like to have a Column which works with a Locations, independently from which model

DataTable generics vs. IColumn generics

2015-03-05 Thread Patrick Davids
Hi all, whats the meaning of generic T on DataTables vs T of IColumn and T of ICellPopulator? As I understand its the type of object shown by the table rows. Reading the javadoc of AbstractColumn it says T (if I understand correct), its the type of object shown by the cell itself. But

Re: DataTable generics vs. IColumn generics

2015-03-05 Thread Patrick Davids
fun Sven Am 05.03.2015 um 12:26 schrieb Patrick Davids: Hi all, whats the meaning of generic T on DataTables vs T of IColumn and T of ICellPopulator? As I understand its the type of object shown by the table rows. Reading the javadoc of AbstractColumn it says T (if I understand correct), its

Re: New committer - Sebastien Briquet

2015-02-16 Thread Patrick Davids
Yeah, congratulations Sebastien! :-) Am 13.02.2015 um 22:02 schrieb Martin Grigorov: The Project Management Committee (PMC) for Apache Wicket has asked Sebastien Briquet to become a committer and we are pleased to announce that he has accepted. Sebastien has been involved with Wicket for

Re: FormComponentFeedbackBorder / missing message display / Bug or Feature?

2014-12-09 Thread Patrick Davids
it to a ticket in JIRA and we will take a look. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Mon, Dec 8, 2014 at 3:23 PM, Patrick Davids patrick.dav...@nubologic.com wrote: Yes, FormComponentFeedbackBorder itself just shows an asterisk. So, ok, my question

FormComponentFeedbackBorder / missing message display / Bug or Feature?

2014-12-08 Thread Patrick Davids
Hi all, is it a correct behavior, a FormComponentFeedbackBorder (asterisks for form inputs) does not display a / the message in a feedbackpanel (if available somewhere)? kind regards Patrick - To unsubscribe, e-mail:

Re: FormComponentFeedbackBorder / missing message display / Bug or Feature?

2014-12-08 Thread Patrick Davids
Training and Consulting https://twitter.com/mtgrigorov On Mon, Dec 8, 2014 at 12:06 PM, Patrick Davids patrick.dav...@nubologic.com wrote: Hi all, is it a correct behavior, a FormComponentFeedbackBorder (asterisks for form inputs) does not display a / the message in a feedbackpanel (if available

Re: FormComponentFeedbackBorder / missing message display / Bug or Feature?

2014-12-08 Thread Patrick Davids
asterisk in case the form component is invalid. Nothing more. So it is by design. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Mon, Dec 8, 2014 at 2:33 PM, Patrick Davids patrick.dav...@nubologic.com wrote: I wrapped a formcomponent

Re: form submit / parameters sometimes missing

2014-11-13 Thread Patrick Davids
Hi all, can maybe someone else help? Otherwise I would try to reproduce this with a quickstart and create an issue/bug report... Would that be ok? kind regards Patrick Am 12.11.2014 14:37, schrieb Patrick Davids: Huh, good idea... I didn't think about that. Ok, but I dont always miss my

form submit / parameters sometimes missing

2014-11-12 Thread Patrick Davids
Hi all, I have a strange behavior when submitting a form via Ajax. Sometimes some form fields are just missing. As I can see Wicket serializes the form and posts data to the server. Using FireBug I had a look at the posted data. The data looks like this (see below). The second post request is

Re: form submit / parameters sometimes missing

2014-11-12 Thread Patrick Davids
? http://stackoverflow.com/questions/417142/what-is-the-maximum-length-of-a-url-in-different-browsers Sven On 11/12/2014 11:32 AM, Patrick Davids wrote: ormdd_hf_0= tabs:components:3:attributeComponent:form:pibiChoice=0 tabs:components:3:attributeComponent:form:di17:statebottom=OK

[SOLVED] Re: PropertyModel / PropertyResolver / Map or List access

2014-11-07 Thread Patrick Davids
is not a list, it's a model, models don't have a property 1. Use this instead: new Label(myLabel, new PropertyModel(list, [1],anyProperty)) ... or: new Label(myLabel, new PropertyModel(MyPage.this, list.object.[1].anyProperty)) Regards Sven On 11/06/2014 05:03 PM, Patrick

Re: hiding a bit of markup

2014-11-07 Thread Patrick Davids
Hi Garret, did you try this? ul li wicket:id=foofoo/li libar/li /ul Everything can be a WebMarkupContainer. No need to always use divs or spans. have a nice weekend Patrick Am 07.11.2014 17:32, schrieb Garret Wilson: All, I have a little list in HTML: ul lifoo/li

PropertyModel / PropertyResolver / Map or List access

2014-11-06 Thread Patrick Davids
Hi all, the javadoc of PropertyResolver says, map or list access is possible via keys or index. Accessing an map via key is no problem, but I dont get it working for lists and index. for instance: MyPage extends Page{ private IModelListAnything list; public MyPage(IModelListAnything

Re: PropertyModel / PropertyResolver / Map or List access

2014-11-06 Thread Patrick Davids
/modelsforms.html#modelsforms_2 Label label = new Label(firstChildName, new PropertyModel(person, children.0.name)); What version of Wicket are you using? On Thu, Nov 6, 2014 at 11:03 AM, Patrick Davids patrick.dav...@nubologic.com wrote: Hi all, the javadoc of PropertyResolver says, map

FeedbackPanel / just showing one error message / missing messages

2014-10-21 Thread Patrick Davids
Hi all, I'm struggling around with a feedback panel. What I would like to implement is a single global feedback panel in the top hierarchy of my page inheritence. Its a sort of fallback-panel. If no other feedback panel catches the messages, it should display them, so its a FencedFeedback. A

Re: alternative solution for addOrReplace()?

2014-10-08 Thread Patrick Davids
Hi Andrea, this is the code (a bit pseudo-like...) I am quite sure it is not the way it should be and full of wicket anti-patterns. But still exists since my first wicket experiences 2 years ago. ;-) This panel gets rendered via RefreshingView about 30 times. public ElementPanel(String id,

Re: alternative solution for addOrReplace()?

2014-10-08 Thread Patrick Davids
-dashboard Study his design and see how much of that you can apply to your page. Otherwise I suggest you get rid of the addOrReplace() and move that logic into your onBeforeRender() methods for those panels to update themself. On Tue, Oct 7, 2014 at 12:43 PM, Patrick Davids patrick.dav

alternative solution for addOrReplace()?

2014-10-07 Thread Patrick Davids
Hi all, I have a panel, which renders a inner markupcontainer (different panels for different ways of displaying my model object) depending on its model objects type. I do this by addOrReplace() the inner panel in an onConfigure() having an if instanceof; and it also iterates over a list...

Re: alternative solution for addOrReplace()?

2014-10-07 Thread Patrick Davids
requirements. Otherwise, you can keep on using addOrReplace() but stop using instaceof and start using Generics. If you need an example code-snippet of that let me know and I'll dig some out for you. On Tue, Oct 7, 2014 at 9:51 AM, Patrick Davids patrick.dav...@nubologic.com wrote: Hi all, I have

Re: Wicket / OAuth2

2014-09-02 Thread Patrick Davids
Hi Sebastien, did you have a look at Apache Shiro? http://shiro.apache.org/integration.html There is a OAuth link... but I did not look deeper... And what I additionally have found seems to be in progress. https://issues.apache.org/jira/browse/SHIRO-119 kind regards Patrick Brown Am

Re: Wicket / OAuth2

2014-09-02 Thread Patrick Davids
in the last year and its dev@ list is very quite - no one responds to users' questions like Is Shiro still alive? Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, Sep 2, 2014 at 12:37 PM, Patrick Davids patrick.dav...@nubologic.com wrote: Hi Sebastien

Button and AutoTextLabelResolver

2014-07-30 Thread Patrick Davids
Hi all, it seems it is not possible to use AutoTextLabelResolver with buttons? I always get errors like java.lang.IllegalStateException: no related component found for wicket:label at org.apache.wicket.markup.html.form.AutoLabelTextResolver.resolve(AutoLabelTextResolver.java:258) Button

How to init a Wizard with a particular step?

2014-07-28 Thread Patrick Davids
Hi all, what I have here is an persistent workflow and I use a wizard to visualize this workflow. On entering my page I wanna push the wizard into a specific step depending on my persistent workflow state/(step). Until now I only was able to achieve this, by manually calling

Re: How to init a Wizard with a particular step?

2014-07-28 Thread Patrick Davids
with the built-in wizard): http://www.7thweb.net/wicket-jquery-ui/wizard/DynamicWizardPage Hope this helps, Sebastien. On Mon, Jul 28, 2014 at 11:05 AM, Patrick Davids patrick.dav...@nubologic.com wrote: Hi all, what I have here is an persistent workflow and I use a wizard to visualize

Re: StringResourceModel with a defaultValue as model

2014-07-21 Thread Patrick Davids
�CB��[��X��ܚX�KK[XZ[�\�\��][��X��ܚX�P�X��] �\X�K�ܙ�B��܈Y][ۘ[��[X[��K[XZ[�\�\��Z[�X��] �\X�K�ܙ�B� -- Mit freundlichen Grüßen, Patrick Davids nuboLOGIC GmbH Co. KG Kieler Str. 103-107 • 25474 Bönningstedt Tel

[SOLVED] Re: StringResourceModel with a defaultValue as model

2014-07-21 Thread Patrick Davids
Yes, already implemented this way. :-) Added a todo now, waiting for wicket7 to improve it. Thanx for the hint anyway... regards Patrick For now you can workaround it with: add(new Label(, new StringResourceModel(key.${someInfoFromBean}, Component.this, Model.of(anyBean), new

Re: DropDownChoice closes on target.add(...)

2014-07-21 Thread Patrick Davids
Hi Rune, for me it looks like the feature of updating parts of your UploadFormPanel by using a timer should be a behavior of your UploadFormPanel itself. Put it inside, and you have access the particular container to refresh. No need to refresh the whole panel from outside, which side-affects

StringResourceModel with a defaultValue as model

2014-07-18 Thread Patrick Davids
Hi all, is there any way to implement a StringResourceModel which allows to give a defaultValue as model? First I tried to override getDefaultModelAsString() of Label. (is final) Than I tried to implement an extending ModeledDefaultValueStringResourceModel, catching a MissingResourceException

Re: Question / Best Practise / (List)Model vs. (List)DataProvider

2014-05-22 Thread Patrick Davids
IDataProvider is all about efficiency, it provides efficient access to a subset of the data. Perhaps we can make it even more efficient with the recent proposal on the @dev list. Regards Sven On 05/08/2014 01:37 PM, Patrick Davids wrote: Hi all, what I often think about, and I cannot

SOLVED / Re: problem with resource lookup for css files

2014-05-19 Thread Patrick Davids
H*** S***... I hate friday afternoons. Read the chapter for resource bundles about 10 times and didnt see the underscores. Thanx Sven, it works... Patrick Am 16.05.2014 19:49, schrieb Sven Meier: Try with myCss_blue.css Regards Sven On 05/16/2014 03:51 PM, Patrick Davids wrote: Hi

problem with resource lookup for css files

2014-05-16 Thread Patrick Davids
Hi all, I have problems with resource look up for styles css... and I dont know, what I am doing wrong. Can someone have a look, please... myPackage. BasePage.java BasePage.html myCss.css myCss.blue.css myCss.orange.css As far as I know, the resource

Question / Best Practise / (List)Model vs. (List)DataProvider

2014-05-16 Thread Patrick Davids
Hi all, what I often think about, and I cannot really say is; when to use Model or DataProvider as data providing object for components they repeat some thing? Javadoc says, DataProvider are (good) for DataViews. Hmm... ok, and they allow easer iterating (first index, count). I also can

Question / l18n / property substitution / formatting

2014-04-30 Thread Patrick Davids
Hi all, I'm not sure, if I do something wrong, but I never get such a property working. Is this way not possible? Code: new StringResourceModel(label, this, model); properties file: label=${dateOfCreation, date, dd.MM.yy} This is working... Code: new StringResourceModel(label, this, null,

Re: Question / l18n / property substitution / formatting

2014-04-30 Thread Patrick Davids
uses Wicket's converters instead. Regards Sven On 04/30/2014 11:03 AM, Patrick Davids wrote: Hi all, I'm not sure, if I do something wrong, but I never get such a property working. Is this way not possible? Code: new StringResourceModel(label, this, model); properties file: label

Evaluating wickets ajax-response programatically

2014-04-23 Thread Patrick Davids
Hi all, due to a very complex gui panel with many javascript we are using a quite pure AbstractAjaxBehavior. I print out a callback url, I call it, and so on... and having an onRequest() what nearly does the same as AbstractAjaxDefaultBehaviors (just a bit different). Its copy-paste, but I

Re: Evaluating wickets ajax-response programatically

2014-04-23 Thread Patrick Davids
); } }); Patrick Am 23.04.2014 15:09, schrieb Ernesto Reinaldo Barreiro: How do you call server side AJAX behavior? On Wed, Apr 23, 2014 at 3:01 PM, Patrick Davids patrick.dav...@nubologic.com wrote: Hi all, due to a very complex gui

SOLVED / Re: Evaluating wickets ajax-response programatically

2014-04-23 Thread Patrick Davids
://github.com/apache/wicket/blob/master/wicket-experimental/wicket-atmosphere/src/main/java/org/apache/wicket/atmosphere/jquery.wicketatmosphere.js#L31 Martin Grigorov Wicket Training and Consulting On Wed, Apr 23, 2014 at 4:01 PM, Patrick Davids patrick.dav...@nubologic.com wrote: Hi all, due

Re: jquery ui DatePicker

2014-04-17 Thread Patrick Davids
Hi Dirk, have a look at http://jqueryui.com/datepicker/#date-formats and http://api.jqueryui.com/datepicker/#option-dateFormat to change the javascript-side jquery date formatting pattern to 4-letter-year. (Pay attention, it is a bit different to java date patterns.) To do so, you have to apply

Re: Handling with Feedback Messages / setMaxMessages(1)-Problem / best practise

2014-03-06 Thread Patrick Davids
FeedbackCollector(page); fc.collect().foreach(fm - fm.markRendered()) // Java 8 syntax You can put this code in some #onDetach() method. Martin Grigorov Wicket Training and Consulting On Wed, Mar 5, 2014 at 11:14 AM, Patrick Davids patrick.dav...@nubologic.com wrote: Hi François

Re: Handling with Feedback Messages / setMaxMessages(1)-Problem / best practise

2014-03-05 Thread Patrick Davids
Hi François, unfortunately this does not have any affect. Still have all messages in sequence on reloading. kind regards Patrick Am 04.03.2014 17:03, schrieb francois meillet: Session.get().getFeedbackMessages().clear(); François On Tue, Mar 4, 2014 at 10:07 AM, Patrick Davids

Re: Best practice for updating JPA object without persisting changes

2014-03-05 Thread Patrick Davids
Hi Chris, does the Guice's PersistFilter really automatically find and re-attach the backed object in the request while leaving the in-place-edit situation? I thought... as long as nothing/nobody finds and re-attach the backed object, your changes are naturally temporary and only stored on page

Handling with Feedback Messages / setMaxMessages(1)-Problem / best practise

2014-03-04 Thread Patrick Davids
Hi all, I would like to have a FeedbackPanel always showing only one error message. As seen in FeedbackPanel code setMaxMessages() does this. But it seems it does not clear the rest of messages after doing its job. When I have put 3 error messages on a page, only the first one is shown. This is

Re: How to start Wizard with an active step? / Best practise?

2014-02-18 Thread Patrick Davids
step that will skip itself in the init() or onInit() method till it get to the Active step then you could build your model as normal. Have fun. On Mon, Feb 17, 2014 at 12:21 PM, Patrick Davids patrick.dav...@nubologic.com wrote: Hi all, what is the best way to start a Wizard

question form-usage / setDefaultModelObject(...) vs. getDefaullModel().setObject(...)

2014-02-17 Thread Patrick Davids
Hi all, I have a question concerning the difference between Component#setDefaultModelObject(final Object object) and getDefaultModel().setObject(object), like described in javadoc /** * Sets the backing model object. Unlike codegetDefaultModel().setObject(object)/code, this * method checks

How to start Wizard with an active step? / Best practise?

2014-02-17 Thread Patrick Davids
Hi all, what is the best way to start a Wizard in a particular step? I tried: - to override onInit of WizardStep and setting this to activeStep, when the state is the right one, but init() of WizardModel always determines the next step after me (the current active), so this seems not to be a

Re: Wicket Wizzard Question / Custom Overview Bars

2014-02-10 Thread Patrick Davids
, this) ); } } } On Fri, Feb 7, 2014 at 9:04 AM, Patrick Davids patrick.dav...@nubologic.com wrote: Hi all, did someone already noticed, a custom overriden overview-bar of wickets wizzard is displayed in a td left of the Step contents ? I thought it would be on the top... Or did I

Wicket Wizzard Question / Custom Overview Bars

2014-02-07 Thread Patrick Davids
Hi all, did someone already noticed, a custom overriden overview-bar of wickets wizzard is displayed in a td left of the Step contents ? I thought it would be on the top... Or did I misunderstood the meaning of the overview bar? Is it meant as kind of menu?! kind regards Patrick

Re-Usable Panel with RefreshingView

2013-11-07 Thread Patrick Davids
Hi all, I would like to implement a reusable panel, containing a refreshing view. The goal is to delegate the polulateItem(ItemT item) of the refreshing view to the outer client, e.g. the page which uses my panel. (I force overriding using abstract method). So far so good. My problem now is:

Re: Question / Wicket 6 Events / generic payload

2013-10-11 Thread Patrick Davids
/wicketstuff/core/tree/master/jdk-1.6-parent/annotationeventdispatcher-parent for example. On Mon, Oct 7, 2013 at 3:47 PM, Patrick Davids patrick.dav...@nubologic.com wrote: Hi all, why does component send method uses generic payload T, but onEvent of Components receives ? events? I need

Question / Wicket 6 Events / generic payload

2013-10-10 Thread Patrick Davids
Hi all, why does component send method uses generic payload T, but onEvent of Components receives ? events? I need to cast it anyway? Whats the benefit of having generics here? kind regards Patrick - To unsubscribe, e-mail:

Wicket DropDownChoice Question about Constructors and its Behavior

2013-09-26 Thread Patrick Davids
Hi all, since I'm working with Wicket I am a bit confused about the Constructors of DropDownChoice Class. DropDownChoice provides Constructors without any Model or ModelObject. e.g. (id, List choices) This is logical in an use-case, for instance, having just a page with a SelectBox and my

Re: Wicket DropDownChoice Question about Constructors and its Behavior

2013-09-26 Thread Patrick Davids
org.apache.wicket.model.CompoundPropertyModel. In this case the dropdown will use a slot from its parent's IComponentInheritedModel. On Thu, Sep 26, 2013 at 9:39 AM, Patrick Davids patrick.dav...@nuboit.dewrote: Hi all, since I'm working with Wicket I am a bit confused about the Constructors of DropDownChoice Class

SOLVED / Re: How to make an own panel work like an e.g. TextField / joining the model hierarchy of page/form

2013-07-25 Thread Patrick Davids
, made it work. kind regards Patrick Am 24.07.2013 09:53, schrieb Martin Grigorov: Hi Patrick, On Wed, Jul 24, 2013 at 10:36 AM, Patrick Davids patrick.dav...@nuboit.dewrote: Hi Martin, concerning the IComponentInheritedModel I did not not try anything in my panel since yet, because I

Re: How to make an own panel work like an e.g. TextField / joining the model hierarchy of page/form

2013-07-24 Thread Patrick Davids
, Patrick Davids patrick.dav...@nuboit.dewrote: Hi all, I implemented a TextField-Panel. Its kind of FormComponentPanel, but not really... do not have a convertInput() situation. Just additional behaviors and some own l18n stuff... Its already working fine, but what I always have

How to make an own panel work like an e.g. TextField / joining the model hierarchy of page/form

2013-07-23 Thread Patrick Davids
Hi all, I implemented a TextField-Panel. Its kind of FormComponentPanel, but not really... do not have a convertInput() situation. Just additional behaviors and some own l18n stuff... Its already working fine, but what I always have to to is, getting the modelobject manually and forward into my

Wicket/JQuery internals advanced problem / LazyLoadedPanel with AjaxLink / AjaxLink on click not executed

2013-07-18 Thread Patrick Davids
Hi all, I have a very special problem with ajax lazy loaded panels, which contains ajax links. Problem: AjaxLink does not execute onclick. Does not reach server / no client-side execution in browser occurs. What I investigated until now: - client-side script evaluation of lazy loading panel

Re: Wicket/JQuery internals advanced problem / LazyLoadedPanel with AjaxLink / AjaxLink on click not executed

2013-07-18 Thread Patrick Davids
Hi Sven, it's a simple a. Patrick Am 18.07.2013 16:08, schrieb Sven Meier: What's the markup of the component you're binding the AjaxLink to? Sven On 07/18/2013 03:53 PM, Patrick Davids wrote: Hi all, I have a very special problem with ajax lazy loaded panels, which contains ajax links

conditional component / as singleton on page

2013-07-05 Thread Patrick Davids
Hi all, does anyone have a best practice putting a component on a page (as singleton) independendly how many other components on that page needs it? e.g. a global dialog, which can be used from different components. Not to have 20 invisible dialogs aleady rendered and opened on request. In out

Re: conditional component / as singleton on page

2013-07-05 Thread Patrick Davids
hierarchy and use Wicket events to update it. On Fri, Jul 5, 2013 at 12:15 PM, Patrick Davids patrick.dav...@nuboit.de wrote: Hi all, does anyone have a best practice putting a component on a page (as singleton) independendly how many other components on that page needs it? e.g. a global

setResponsePage does not work / on (own) ajax requests

2013-06-07 Thread Patrick Davids
Hi all, I implemented a panel having its own AbstractAjaxBehavior. I provided the callback url to my pagepanel, the ajax request works; everything seems fine. Than I implemented an abstract method onSelect() to my panel to let an implementation do some custom thinks (the onRequest() of my

Re: setResponsePage does not work / on (own) ajax requests

2013-06-07 Thread Patrick Davids
? Sven On 06/07/2013 12:38 PM, Patrick Davids wrote: Hi all, I implemented a panel having its own AbstractAjaxBehavior. I provided the callback url to my pagepanel, the ajax request works; everything seems fine. Than I implemented an abstract method onSelect() to my panel to let

Re: setResponsePage does not work / on (own) ajax requests

2013-06-07 Thread Patrick Davids
happening when you're Javascript is firing. Sven On 06/07/2013 01:27 PM, Patrick Davids wrote: Hmm... select, but is fired via jquery on client side, and I do the ajax request by $.ajax(){ url: 'bevahior generated callback url' } on my own. (Im working with jquerys autocomplete.) Patrick

Solved / Re: setResponsePage does not work / on (own) ajax requests

2013-06-07 Thread Patrick Davids
Whem I'm using Wicket.Ajax.get(...) to execute my AjaxCall via JavaScript it works. Previously I used pure jquery $.ajax(...) and that does not work. kind regards Patrick Am 07.06.2013 14:02, schrieb Patrick Davids: Runs into WicketRuntimeExceptions (but they are catched). e.g

Re: AutoCompleteTextField issues

2013-05-15 Thread Patrick Davids
For additional commands, e-mail: users-h...@wicket.apache.org -- Mit freundlichen Grüßen, Patrick Davids NuboIT GmbH Co. KG Kieler Str. 103-107 • 25474 Bönningstedt Email: patrick.dav...@nuboit.de Handelsregister: HRA6819 Pi | Amtsgericht Pinneberg Geschäftsführung der Verwaltungsgesellschaft

Need help with FeedbackMessageFilter

2013-04-19 Thread Patrick Davids
Hi all, I have a FeedbackPanel in my page and a FeedbackPanel in the form of my page. Both feedback panels show feedback messages of the form. I tried formfeedbackPanel.setFilter(new ComponentFeedbackMessageFilter(theForm)). I tried formfeedbackPanel.setFilter(new

Question / extracting models in constructors

2013-04-10 Thread Patrick Davids
Hi together, I'm in a discussion with my collegues about extracting models in constructors of components. Best practices says: DONT, because of accidently holding references of extrated objects / out of mems / etc. But, if we want to have a component containing a form is responsable to

Re: Question / extracting models in constructors

2013-04-10 Thread Patrick Davids
detach() { model.detach(); } protected abstract T onCreate(); } On 04/10/2013 04:47 PM, Patrick Davids wrote: Hi Sven, and who calls onCreate() and when is it called? regards Patrick Am 10.04.2013 16:20, schrieb Sven Meier: extracting model [objects] in constructors

Need help setting visibility via AjaxFormChoiceComponentUpdatingBehavior

2013-03-28 Thread Patrick Davids
Hi together, I searched the web for several hours and always get the same results for setting the visibilty for components via ajax, but I cannot get it work. The should work solution is: - Creat an extra a WebMarkupContainer in your page - add your subcomponents to this container -

Re: Need help setting visibility via AjaxFormChoiceComponentUpdatingBehavior

2013-03-28 Thread Patrick Davids
: users-h...@wicket.apache.org -- Mit freundlichen Grüßen, Patrick Davids NuboIT GmbH Co. KG Kieler Str. 103-107 • 25474 Bönningstedt Email: patrick.dav...@nuboit.de Handelsregister: HRA6819 Pi | Amtsgericht Pinneberg Geschäftsführung der Verwaltungsgesellschaft Daniel Fraga Zander HRB10145Pi

Solved / Re: Need help setting visibility via AjaxFormChoiceComponentUpdatingBehavior

2013-03-28 Thread Patrick Davids
said in #onConfigure() or #isVisible() returns false ? Please show some code. On Thu, Mar 28, 2013 at 12:30 PM, Patrick Davids patrick.dav...@nuboit.dewrote: Additional info: Its now working partially... I removed the onConfigure() of the markup container to determine the initial

  1   2   >