Re: Custom DropDownChoice with css style

2010-01-21 Thread German Morales
Hallo Alexander, Perhaps you could change this to be a FormComponent (actually inheriting from FormComponentPanel). Then, when your ajax call refreshes the "component", the whole div (containing drop down + span) will be replaced by a new one. In your version, if i understand correctly, wicket rem

Re: dropdown issue

2010-01-21 Thread chinedu efoagui
@jonas Thanks a lot for your help but could illustrate with some code please so i can get the full idea .. On 1/20/10, Jonas wrote: > with this code, you're trying to set a PersonnelrecordsDepartment Object > into the field called parentId of the object referred to by the > 'selected' v

Component hierarchy question

2010-01-21 Thread Marek Šabo
Hi, suppose you have menubar with ajaxfallbacklinks that you want to change panels in the main area. new AjaxFallbackLink("search") { private static final long serialVersionUID = 1L; @Override public void onClick(AjaxRequestTarget target) { Pa

Re: Custom DropDownChoice with css style

2010-01-21 Thread Martin Makundi
http://mail-archives.apache.org/mod_mbox/wicket-users/201001.mbox/%3c303141551001110817p7b03f6a0rb93848a012380...@mail.gmail.com%3e 2010/1/21 German Morales : > Hallo Alexander, > > Perhaps you could change this to be a FormComponent (actually inheriting > from FormComponentPanel). > Then, when yo

wicket bench in eclipse

2010-01-21 Thread Lionel Port
Hi Guys, Not strictly a wicket question, I know. Does anyone have wicket bench working in Galileo or recent version of eclipse or know of a good plugin I should be using?. My project has a maven structure, not sure if thats why it doesn't work. regards, Lionel --

Page Map Is Locked, Can't Switch Pages When A Transaction Is Ongoing

2010-01-21 Thread Carlo Camerino
Hi, if any of you could help, we have a problem in one of our wicket installations. We have a system that connects to another system. Sometimes the system's reply lasts for more than a minute. Wicket is having problem with regards to the page map being locked. I click for example on a page to req

Re: Wicket+Guice

2010-01-21 Thread nino martinez wael
regarding number 2 it should be as doing normal java coding.. 2010/1/21 Peter Karich > Hi, > > now I blogged about this stuff recently: > > http://karussell.wordpress.com/2010/01/18/crud-with-wicket-guice-db4o-neodatis/ > > Comments and requests of reformulations are welcome ;-) ! > > Question 1

Re: Page Map Is Locked, Can't Switch Pages When A Transaction Is Ongoing

2010-01-21 Thread Jeroen Steenbeeke
I'd suggest running the transaction in the background (separate thread) and using an AjaxStoppableSelfUpdatingTimer to periodically check if the thread was finished and only do the redirect after finishing. This way, the pagemap remains unlocked. 2010/1/21 Carlo Camerino : > Hi, > > if any of you

Using BreadCrumb to travel through pages which display object hierarchy?

2010-01-21 Thread Ashika Umanga Umagiliya
In my application I travel forward among pages using DataTables : Link alink = new Link(arg1) { @Override public void onClick() { setResponsePage(new SubFamilyPage(selectedSubfamily)); } }; Is it possible to use 'BreadCrum' to navigate through pages like follows? FamilyesPage -> SubFa

Re: CryptedUrlWebRequestCodingStrategy + WebRequestCodingStrategy = resource URLs are not encrypted (bug?).

2010-01-21 Thread Antoine van Wel
What can you do if you need to enforce that no fqn's are ever generated in (resource) paths? Best I can think of now is putting a breakpoint in the resourceKey method where the fqn is retrieved, and then stepping through your full webapp - which is a rather poor solution. Any other ideas? Antoin

[release] Wicket Security 1.4-beta1

2010-01-21 Thread Emond Papegaaij
Wicket Security 1.4-beta1 has just been released. This release contains all updates made by Olger Warnier in the last 6 months to make Wicket Security work with Wicket 1.4 and the examples he added. It also contains the new ComponentSubclassPermission, which makes it possible to authorize a cla

Re: dropdown issue

2010-01-21 Thread Jonas
Make sure you fully understand how CompoundPropertyModel and PropertyModel work first. I suggest to study some documentation about CompoundPropertyModel (as in [1], [2] or [3]) and to do some googleing for code examples. [1] [2]

Re: Page Map Is Locked, Can't Switch Pages When A Transaction Is Ongoing

2010-01-21 Thread Carlo Camerino
hi, i believe this is due to the fact that wicket has synchronized page maps for access. do you think it is safe to remove it? what are the precautions when removing synchronized for wicket page maps? Is there a setting that I could use to disable this? Thanks A Lot Carlo On Thu, Jan 21, 2010

Re: dropdown issue

2010-01-21 Thread chinedu efoagui
@jonas : I admit am quite new at wicket but i think i understand how compoundpropertymodel and propertymodel works. I have used them quite extensively in my code. I think i have an issue with properly using the choice renderer cos that is where the problem is. Thank you for you help. On 1/21/10,

Re: Page Map Is Locked, Can't Switch Pages When A Transaction Is Ongoing

2010-01-21 Thread Jeroen Steenbeeke
I'd suggest adapting your application to use Wicket properly instead of the other way around. I'm not a Wicket Dev but I'm pretty sure that desynchronizing page map access will cause more problems than it solves. Your problem is that Page A displays data which can take a lot of time to gather due

Re: Page Map Is Locked, Can't Switch Pages When A Transaction Is Ongoing

2010-01-21 Thread Ernesto Reinaldo Barreiro
Why not follow the Jeroen's suggestion instead of trying to trick framework internals? Ernesto On Thu, Jan 21, 2010 at 11:17 AM, Carlo Camerino wrote: > hi, > > i believe this is due to the fact that wicket has synchronized page maps > for > access. > > do you think it is safe to remove it? > wh

Re: Page Map Is Locked, Can't Switch Pages When A Transaction Is Ongoing

2010-01-21 Thread Carlo Camerino
if i can't do this, is there anyway that i could at least increase the timeout of the pagemap to greater than 1 minute? 1 minute would be too little i guess On Thu, Jan 21, 2010 at 2:34 AM, Ernesto Reinaldo Barreiro < reier...@gmail.com> wrote: > Why not follow the Jeroen's suggestion instead of

Re: Page Map Is Locked, Can't Switch Pages When A Transaction Is Ongoing

2010-01-21 Thread Carlo Camerino
is there anyway that i could just kill the previous thread? On Thu, Jan 21, 2010 at 3:05 AM, Carlo Camerino wrote: > if i can't do this, is there anyway that i could at least increase the > timeout of the pagemap to greater than 1 minute? > 1 minute would be too little i guess > > > On Thu, Jan 2

Re: Page Map Is Locked, Can't Switch Pages When A Transaction Is Ongoing

2010-01-21 Thread Jeroen Steenbeeke
If you do it my way, then you don't have to 2010/1/21 Carlo Camerino : > is there anyway that i could just kill the previous thread? > > On Thu, Jan 21, 2010 at 3:05 AM, Carlo Camerino > wrote: > >> if i can't do this, is there anyway that i could at least increase the >> timeout of the pagemap t

Re: Page Map Is Locked, Can't Switch Pages When A Transaction Is Ongoing

2010-01-21 Thread Martijn Dashorst
Read up on Future's in the java.concurrent packages. They might provide you with a good way to work with answers that lie in the future... Martijn On Thu, Jan 21, 2010 at 12:14 PM, Carlo Camerino wrote: > is there anyway that i could just kill the previous thread? > > On Thu, Jan 21, 2010 at 3:0

Re: Page Map Is Locked, Can't Switch Pages When A Transaction Is Ongoing

2010-01-21 Thread Ernesto Reinaldo Barreiro
Carlo, If you need some code illustrating how to do this, I can mail you the source code of a similar use case: creating a lengthy PDF and providing users with progress feedback... It uses the same approach Jeroen mentioned. Best, Ernesto On Thu, Jan 21, 2010 at 12:21 PM, Jeroen Steenbeeke wr

Re: Cannot get default invisible TextField's ModelObject ?

2010-01-21 Thread Chuck Brinkman
I stepped through the code and found that the convertedInput is null when processing submit. I didn't see anything that looked like an error message from wicket.I look forward to seeing what the wicket developers have to say. I'm just a new wicket user but was interested in this issue. I als

Re: Page Map Is Locked, Can't Switch Pages When A Transaction Is Ongoing

2010-01-21 Thread Carlo Camerino
hi, please do. thanks a lot! On Thu, Jan 21, 2010 at 3:38 AM, Ernesto Reinaldo Barreiro < reier...@gmail.com> wrote: > Carlo, > > If you need some code illustrating how to do this, I can mail you the > source code of a similar use case: creating a lengthy PDF and providing > users with progres

Re: Page Map Is Locked, Can't Switch Pages When A Transaction Is Ongoing

2010-01-21 Thread Carlo Camerino
where do i get this class? AjaxStoppableSelfUpdatingTimer ? On Thu, Jan 21, 2010 at 3:43 AM, Carlo Camerino wrote: > hi, > > please do. > > thanks a lot! > > > On Thu, Jan 21, 2010 at 3:38 AM, Ernesto Reinaldo Barreiro < > reier...@gmail.com> wrote: > >> Carlo, >> >> If you need some code illustr

Re: Page Map Is Locked, Can't Switch Pages When A Transaction Is Ongoing

2010-01-21 Thread Jeroen Steenbeeke
My apologies, that is a class we use internally. Must have confused it with some basic wicket class. You can use AbstractAjaxTimerBehavior to similar effect. Just override the onTimer method 2010/1/21 Carlo Camerino : > where do i get this class? > > AjaxStoppableSelfUpdatingTimer ? > On Thu, Jan

Re: add javascript after AjaxLazyLoadPanel finishes rendering - (was: onAfterRender called twice in AjaxLazyLoadPanel)

2010-01-21 Thread Steve Swinsburg
If it was my own Panel class then I would add the extra markup. But I am using the built in AjaxLazyLoadPanel class and was hoping to just override it easily. Looks like I'll extend it as per Sven's suggestion below. cheers, Steve On 21/01/2010, at 6:37 PM, svenmeier wrote: > > class SomePa

Re: Page Map Is Locked, Can't Switch Pages When A Transaction Is Ongoing

2010-01-21 Thread Carlo Camerino
no prob. i was thinking, if was going to do timerbehaior approach, might as well go with comet have any of you guys used comet for this kind of situation before? thanks carlo On Thu, Jan 21, 2010 at 3:54 AM, Jeroen Steenbeeke wrote: > My apologies, that is a class we use internally. Must have

Adding child to parent component

2010-01-21 Thread Muro Copenhagen
Hi, Can anyone tell me if it is possible to extend a panel, and adding the child panel inside a component of the parent panel. So i'm looking for something like this: Parent extends Panel { public Parent (String id) { super(id); WebMarkupContainer div = new WebMarkupContaine

RE: Adding child to parent component

2010-01-21 Thread Stefan Droog
Is this what you mean? http://wicket.apache.org/examplemarkupinheritance.html -Original Message- From: Muro Copenhagen [mailto:copenha...@gmail.com] Sent: Thursday, January 21, 2010 1:16 PM To: users@wicket.apache.org Subject: Adding child to parent component Hi, Can anyone tell me if i

Re: Cannot get default invisible TextField's ModelObject ?

2010-01-21 Thread smallufo
Yes , indeed , if the form is in the second row (default invisible) , it works , But I cannot get the first row's data (such as radioGroup's model object will become null ). Moreover , Form with multiple row , with something visible and something extensible (default invisible), it is not so rare.

AutoCompleteTextField and HTML Encoding question (1.4.4)

2010-01-21 Thread Leon Nieuwoudt
Hi :) I'm trying to use a AutoCompleteTextField that shows a list of E-Mail addresses. The problem I'm running into is that the "<" character is causing rendering issues, for example: John Doe . I've already bypassed the selection list rendering problem by using a custom renderer (code below), bu

Re: Page Map Is Locked, Can't Switch Pages When A Transaction Is Ongoing

2010-01-21 Thread Jeroen Steenbeeke
Afraid not, but I believe wicketstuff-push is integrated with comet. 2010/1/21 Carlo Camerino : > no prob. > > i was thinking, if was going to do timerbehaior approach, might as well go > with comet > > have any of you guys used comet for this kind of situation before? > > thanks > carlo > > On Th

Re: Cannot get default invisible TextField's ModelObject ?

2010-01-21 Thread Chuck Brinkman
I looked some more and found the following: When it works, with my modification, FormComponent.getInputAsArray tries to get parameters for the TextField named "more:moreForm:textfield". I looked in the parameter map or the RequestFacade object and found these: wicket:interface, wicket:ignoreIfNot

Re: Page Map Is Locked, Can't Switch Pages When A Transaction Is Ongoing

2010-01-21 Thread Ernesto Reinaldo Barreiro
I would use timer as comet introduces additional dependencies... I have used comet-push for other things but not via wicket-stuff project. Thus, I can't offer any help. Ernesto On Thu, Jan 21, 2010 at 1:07 PM, Carlo Camerino wrote: > no prob. > > i was thinking, if was going to do timerbehaior

Re: Adding child to parent component

2010-01-21 Thread Muro Copenhagen
Thanks for the answer It's not exactly what i mean...But if you look at the provided example... What if you wanted the child to be placed insided a component on the parent... something like: In example you provided the child is not placed inside a component added to the parent, rather

Re: Adding child to parent component

2010-01-21 Thread Muro Copenhagen
Hi I think i found a solution... I was looking for something like this: http://old.nabble.com/panel-wicket:extend-confusion-td22862369.html http://www.mail-archive.com/wicket-u...@lists.sourceforge.net/msg15151.html So i think the transparent resolver should fix my problem... Best Regards... Mu

Re: wicket bench in eclipse

2010-01-21 Thread Swanthe Lindgren
We are using Galileo and m2eclipse (Maven) with Wicket bench, no problem, but we are only using wicket bench when creating new pages and panels as a lazy way to get both the java and html file. //Swanthe On 2010-01-21 04:48, Lionel Port wrote: Hi Guys, Not strictly a wicket question, I know.

Re: Adding child to parent component

2010-01-21 Thread Muro Copenhagen
And this is link explains it pretty good: http://cwiki.apache.org/WICKET/markup-inheritance.html On Thu, Jan 21, 2010 at 2:25 PM, Muro Copenhagen wrote: > Hi > > I think i found a solution... > > I was looking for something like this: > http://old.nabble.com/panel-wicket:extend-confusion-td228623

CryptedUrlWebRequestCodingStrategy and setResponsePage

2010-01-21 Thread Giambalvo, Christian
Hi all, just a question to url encryption. I added following section to my application class /** * @see org.apache.wicket.authentication.AuthenticatedWebApplication#newRequestC ycleProcessor() */ @Override protected IRequestCycleProcessor newRequestCycleProcessor() { r

Re: Component hierarchy question

2010-01-21 Thread Alexander Monakhov
Hi. I'm not sure. But when you call add() method you pass reference to the certain component. If you create new object and assign reference to it, you just create reference to new object, but old one references to old object. For example, // here is new component creation 1. Component c = new Com

get set attribute wicket session

2010-01-21 Thread Martin Asenov
Hello, everyone! I would like to ask if: -I've got an AuthenticatedWebSession implementation and there I have the fields -field1 -field2 with getters and setters. After that somewhere in my code, no matter where I say ((MySessionImpl)getSession()).getField1() will I get sessi

AW: get set attribute wicket session

2010-01-21 Thread Giambalvo, Christian
Hi, with getSession() you will always get the session attached to the current request. So yes it is session specific. Greets chris -Ursprüngliche Nachricht- Von: Martin Asenov [mailto:mase...@velti.com] Gesendet: Donnerstag, 21. Januar 2010 16:44 An: users@wicket.apache.org Betreff: g

Re: CryptedUrlWebRequestCodingStrategy + WebRequestCodingStrategy = resource URLs are not encrypted (bug?).

2010-01-21 Thread Igor Vaynberg
not sure that is possible currently. the aliasing only works on a per class level. see SharedResources.putClassAlias(). you can add an rfe to have it enhanced. seems like a quiet arbitrary requirement, especially when it comes to security. an fqn does not give anything away security-wise. -igor

RE: get set attribute wicket session

2010-01-21 Thread Martin Asenov
Thanks, Chris! Have a nice evening! Cheers, Martin -Original Message- From: Giambalvo, Christian [mailto:christian.giamba...@excelsisnet.com] Sent: Thursday, January 21, 2010 5:46 PM To: users@wicket.apache.org Subject: AW: get set attribute wicket session Hi, with getSession() you w

RE: get set attribute wicket session

2010-01-21 Thread Martin Asenov
Well, here comes another issue... What should I do when I don't have the MySessionImpl class visible, because it's in the webapp module which is invisible for the UI module. Because webapp has a dependency to the UI and otherwise I'll have a cyclic reference and compile time error.? How cou

Re: Using style AND variation

2010-01-21 Thread Daniel Stoch
Hi all, Liz Huber wrote: > In our application we use Panels in different variations. > For example: Foot.html, Foot_withTextLinks.html, Foot_withImageLinks.html, > Head.html, Head_error.html > > Now we'd additionally like to use different styles. > For example on Valentine's Day all image links i

Validation errors

2010-01-21 Thread Riccardo Trombini
Hi I have problems with FormValidation. Everything works perfect till Wicket has to promt the Errormessages. Something with the localization went wrong, instead of the message I receive : "[ValidationError message=[null], keys=[error.SolrConnectionFault], variables=[null]]" I use a Feedbac

RE: Validation errors

2010-01-21 Thread Stefan Droog
Try form.error(getString("error.SolrConnectionFault")); -Original Message- From: Riccardo Trombini [mailto:riccardo.tromb...@csnc.ch] Sent: Thursday, January 21, 2010 5:09 PM To: users@wicket.apache.org Subject: Validation errors Hi I have problems with FormValidation. Everything work

Re: Component hierarchy question

2010-01-21 Thread Marek Šabo
Hi, thanks, sorry about silly question I forgot that java passes method arguments by value and copies references. Maybe I got confused with c++ pointers. Regards, -- Marek Šabo On 01/21/2010 03:48 PM, Alexander Monakhov wrote: > Hi. > > I'm not sure. But when you call add() method you pass refe

RE: wicket bench in eclipse

2010-01-21 Thread Andreas Lüdtke
Hi Lionel, since you don't write what exactly doesn't work, I can only guess: is the M2_REPO variable beeing defined/set in eclipse? This was my main problem when I used eclipse. You should give NetBeans a try. Just open the pom file and everything is fine and working. Andreas > -Original

AW: get set attribute wicket session

2010-01-21 Thread Giambalvo, Christian
Well, you have wrong dependency. Webapp shouldn't depend on UI. But UI on webapp. You have to reverse the dependency otherwise there is no possibility. -Ursprüngliche Nachricht- Von: Martin Asenov [mailto:mase...@velti.com] Gesendet: Donnerstag, 21. Januar 2010 17:04 An: users@wicket.apa

Re: AW: get set attribute wicket session

2010-01-21 Thread Joseph Pachod
Giambalvo, Christian wrote: Hi, with getSession() you will always get the session attached to the current request. So yes it is session specific. Greets chris I would add that, in order to save this nasty cast all over the place, you could create your own getMySessionImpl this way : class My

RE: AW: get set attribute wicket session

2010-01-21 Thread Martin Asenov
Unfortunatelly I can't use this since the webapp module builds the core and UI modules in one and builds resources and stuff like this in the war. Maybe I should think of something else... Regards, -Original Message- From: Joseph Pachod [mailto:j...@thomas-daily.de] Sent: Thursday, Jan

AW: AW: get set attribute wicket session

2010-01-21 Thread Giambalvo, Christian
Not possible cause "What should I do when I don't have the MySessionImpl class visible". The class need to be visible to do that. -Ursprüngliche Nachricht- Von: Joseph Pachod [mailto:j...@thomas-daily.de] Gesendet: Donnerstag, 21. Januar 2010 17:26 An: users@wicket.apache.org Betreff: R

Re: wicket bench in eclipse

2010-01-21 Thread Jeroen Steenbeeke
Does it support parent POMs yet? This was an issue I had back when I used Netbeans and had to work with a multi-module project. 2010/1/21 Andreas Lüdtke : > Hi Lionel, > > since you don't write what exactly doesn't work, I can only guess: is the > M2_REPO variable beeing defined/set in eclipse? >

AW: AW: get set attribute wicket session

2010-01-21 Thread Giambalvo, Christian
Put them in its own jar and add it as dependency to both projects. (dirty but it does the job) -Ursprüngliche Nachricht- Von: Martin Asenov [mailto:mase...@velti.com] Gesendet: Donnerstag, 21. Januar 2010 17:38 An: users@wicket.apache.org Betreff: RE: AW: get set attribute wicket sessio

Re: Cannot get default invisible TextField's ModelObject ?

2010-01-21 Thread smallufo
I think it is a bug , and already submitted to JIRA https://issues.apache.org/jira/browse/WICKET-2694 2010/1/21 Chuck Brinkman > I looked some more and found the following: > > When it works, with my modification, FormComponent.getInputAsArray

RE: wicket bench in eclipse

2010-01-21 Thread Andreas Lüdtke
Hi Jeroen, I can open the parent pom and build/test the whole thing. Is that what you're looking for? The project explorer lists under "Modules" all the sub projects... Andreas > -Original Message- > From: Jeroen Steenbeeke [mailto:j.steenbeeke...@gmail.com] > Sent: Thursday, January

The Field 'emailInput' is required

2010-01-21 Thread Steffen
Hello, this is my first post and I hope you could help me. I have a Form with the id="test" and a Textfield="EMAIL". The Textfield I added with "add(new RequiredTextField("emailInput"))". After pressing submit (wihout entering an emali), I get the failure "Field 'emailInput' is required." I want

SV: The Field 'emailInput' is required

2010-01-21 Thread Wilhelmsen Tor Iver
> I have a Form with the id="test" and a Textfield="EMAIL". Claim the first, then: > The Textfield I added with "add(new RequiredTextField("emailInput"))". Claim the second. These conflict, because the id used in the actual code is "emailInput". > test.EMAIL.Required=test > EMAIL.Required=test

Re: The Field 'emailInput' is required

2010-01-21 Thread rmattler
try: test.emailInput.Required=test Whats'Up wrote: > > Hello, > > this is my first post and I hope you could help me. > I have a Form with the id="test" and a Textfield="EMAIL". The Textfield I > added with "add(new RequiredTextField("emailInput"))". > After pressing submit (wihout entering

Re: The Field 'emailInput' is required

2010-01-21 Thread Whats'Up
Hi rmattler thank you for the fast answer! With "test.emailInput.Required=test" I changed the completely error code to "test", but how can I change the error code to this "Field 'email' is required." ? I also tested it with test.emailInput.RequiredValidator=email, but it doesn't work rmattler w

Re: The Field 'emailInput' is required

2010-01-21 Thread rmattler
Java code: (VendorSignupEntry.java) Form form = new Form("vendorSignupForm", new CompoundPropertyModel(profileModel)) RequiredTextField mainEmail = new RequiredTextField("mainEmail"); HTML: (VendorSignupEntry.html) Properties: (VendorSignupEntry.properties)

Re: The Field 'emailInput' is required

2010-01-21 Thread Whats'Up
Sorry, I think I wrote not enough, to tell you the problem. With the code test.emailInput.Required=The Email address is required: I have to write for every field the same code, but the wicket code is ok, and I thought it is perhaps possible only to change the field name. Normally I get the error c

Re: The Field 'emailInput' is required

2010-01-21 Thread Sven Meier
FormComponent#setLabel() ? Sven Whats'Up wrote: Sorry, I think I wrote not enough, to tell you the problem. With the code test.emailInput.Required=The Email address is required: I have to write for every field the same code, but the wicket code is ok, and I thought it is perhaps possible only t

Re: The Field 'emailInput' is required

2010-01-21 Thread Whats'Up
No this it isn't. A better example, I have 2 properties files (german and englisch) English: Field 'forenameInput' is required. German: Bitte tragen Sie einen Wert im Feld 'forenameInput' ein. These both texts wicket generates by using "add(new RequiredTextField("forenameInput"))". These both tex

Re: The Field 'emailInput' is required

2010-01-21 Thread rmattler
Still not sure I understand your problem. If the field names are the same on many forms, I.E. an email field on several forms, you can put the error message in the application.properties file. If my application is MyApplication.java then create a MyApplication.properties file and put in the vali

Re: The Field 'emailInput' is required

2010-01-21 Thread Whats'Up
Thank you for the fast answer. A custom validator, I don't want to write, because it must be easier. The strange think is, that wicket uses the value "emailInput" or "forename" and I hope to change these values with the properties. rmattler wrote: > > Still not sure I understand your problem.

Re: The Field 'emailInput' is required

2010-01-21 Thread thisisme
try: emailInput = email in the property file Whats'Up wrote: > > test.EMAIL.Required=test > EMAIL.Required=test > -- View this message in context: http://old.nabble.com/The-Field-%27emailInput%27-is-required-tp27262234p27263737.html Sent from the Wicket - User mailing list archive at Nabb

Re: The Field 'emailInput' is required

2010-01-21 Thread Whats'Up
@thisis me PErfekt, this is the answer Do you know how I can order the error-codes? thisisme wrote: > > try: > > emailInput = email > > in the property file > > > Whats'Up wrote: >> >> test.EMAIL.Required=test >> EMAIL.Required=test >> > > -- View this message in context: h

Re: The Field 'emailInput' is required

2010-01-21 Thread thisisme
they appear in the same order as you add the fields to the form. so by changing this order, you will change the order of the messages, too Whats'Up wrote: > > > Do you know how I can order the error-codes? > > -- View this message in context: http://old.nabble.com/The-Field-%27emailInput%

RE: The Field 'emailInput' is required

2010-01-21 Thread Jeffrey Schneller
Actually, this is how you would do it. Or at least how I did it in the past. If you call setLabel on the input component and the value you pass to set label can come from the xml file based on the language using the StringResourceModel. Example: Java Code (myform.java): RequiredTextField first

Re: wicket bench in eclipse

2010-01-21 Thread Lionel Port
Thats exactly what I want it for. Some reason it doesn't detect wicket pages. I tried setting the wicket context in the project properties but it doesn't change and if I force opening the html page with wicket bench it throws an initialisation error. At least if you saying it works for you I know i

Re: wicket bench in eclipse

2010-01-21 Thread Lionel Port
Thanks but I don't have any problem with m2eclipse, its works great. On Fri, Jan 22, 2010 at 3:17 AM, Andreas Lüdtke wrote: > Hi Lionel, > > since you don't write what exactly doesn't work, I can only guess: is the > M2_REPO variable beeing defined/set in eclipse? > > This was my main problem whe

Re: palette onSubmit

2010-01-21 Thread wic...@geofflancaster.com
Are there any other solutions? palette.getrecorder().getconvertedinput() returns a String, i need it to return a serialized list of selected components so that i can iterate through them Original Message: - From: Igor Vaynberg igor.vaynb...@gmail.com Date: Tue, 19 Jan 2010 15:32:13

Custom error messages for fields inside Fragments

2010-01-21 Thread Tony Wu
I have a PatternValidator and cannot figure out what is the correct path to target a custom error message (page.properties) to a field inside a fragment. Here's the markup: http://pastebin.com/m4c4744e3 I tried targeting: zones.fullRecord.recordForm.fragment.insuranceFragment.insuranceProvider.Pat

Re: palette onSubmit

2010-01-21 Thread wic...@geofflancaster.com
Is there any way I can override what happens when the user adds or removes an item to/from the selected list? i know its done via javascript but is it possible to have an ajax call that calls a method where I can manually keep track of what is being added or removed? Original Message:

Re: add javascript after AjaxLazyLoadPanel finishes rendering - (was: onAfterRender called twice in AjaxLazyLoadPanel)

2010-01-21 Thread Steve Swinsburg
Thanks Sven, that works nicely. Now if only the iframe this panel loads in was in was being resized appropriately after the panel loads its contents cheers, Steve On 21/01/2010, at 10:55 PM, Steve Swinsburg wrote: > If it was my own Panel class then I would add the extra markup. But I am

How to get Log Level: DEBUG?

2010-01-21 Thread Tony Wu
Can someone point me in the right direction for setting the default console log output to include DEBUG level messages? It's currently showing INFO and WARN only. I'm using the default maven generated project. Can I do something like System.setProperty("org.apache.wicket.level", "DEBUG"); in Wicket

Re: How to get Log Level: DEBUG?

2010-01-21 Thread Andrew Lombardi
you should modify it in your log4j.properties file. If you're using the default maven generated project it would be in src/main/resources On Jan 21, 2010, at 9:59 PM, Tony Wu wrote: > Can someone point me in the right direction for setting the default console > log output to include DEBUG level

Re: Graphs, Charts and Wicket

2010-01-21 Thread Fernando Wermus
The code to make swfObject to work into a Modal Window if (AjaxRequestTarget.get() != null){ AjaxRequestTarget.get().appendJavascript(js); } shoudnt be by default? if there is no modal window, it will work too. On Wed, Feb 11, 2009 at 8:27 PM, PY wrote: > > The javascrip

RE: Validation errors

2010-01-21 Thread Riccardo Trombini
Great thank you very much ! -Original Message- From: Stefan Droog [mailto:sdr...@educator.eu] Sent: Donnerstag, 21. Januar 2010 17:13 To: users@wicket.apache.org Subject: RE: Validation errors Try form.error(getString("error.SolrConnectionFault")); -Original Message- From: Ricc