Re: wicket menu

2009-09-22 Thread Ernesto Reinaldo Barreiro
Hi, The only difference I see between their page and TestMenu page is !--[if lte IE 7] style type=text/css html .jquerycssmenu{height: 1%;} /*Holly Hack for IE7 and below*/ /style ![endif]-- So, I just added head wicket:head !--[if lte IE 7] style type=text/css html .jquerycssmenu{height: 1%;}

Form Fiels Not updating

2009-09-22 Thread Martijn Lindhout
Hi All, I created a MasterDetailView, with a MasterView and a DetailView. In code: add(new MasterDetailView(markupId, new MembersTable(), new MemberForm()); MembersTable is a subclass of MasterView and MemberForm of DetailView. The detailview uses PropertyModels, new PropertyModel(model,

Re: + key as alternative for tab key

2009-09-22 Thread Nicolas Melendez
In every field information goes to the server to validate and then go back? Seems dificult to implement.please, tell us your experience when your are done NM On Mon, Sep 21, 2009 at 3:28 PM, Pedro Santos pedros...@gmail.com wrote: Good question, pretty much javascript work. I'm curios know

Re: wicket menu

2009-09-22 Thread T Ames
Yes, I did try the holly hack with a wicket:head and tried inserting the html .jquerycssmenu{height: 1%;} directly into the css. Neither made any difference. I also noticed that they were using an older version of jquery 1.2.6 although I am not sure that would matter. On Tue, Sep 22, 2009 at

Re: wicket menu

2009-09-22 Thread Ernesto Reinaldo Barreiro
Then, I don't know what's the problem As, said I can't see this happening on my IE6... Another thing we could try is making a static page using jquery-1.3.2.min.js and see if this is the issue... so that, we are sure it is not Wicket related. Best, Ernesto On Tue, Sep 22, 2009 at 2:49 PM, T

Re: Is it the best way to code a Link depending on a condition

2009-09-22 Thread Nicolas Melendez
Jeremy:you say 2 - don't call setEnabled() - override isEnabled why is better override isEnable then setEnable? thanks NM On Mon, Sep 21, 2009 at 9:44 AM, cmoulliard cmoulli...@gmail.com wrote: Joseph, Can you explain a little bit what you mean by provide it with attribute (IModelString)

Re: wicket menu

2009-09-22 Thread T Ames
Found it. Oddly enough, it is the jquery version. I removed the ResourceReference to JQUERY in MenuBar.java and stuck the script directly into the head tag of TestMenu.html : script type=text/javascript src= http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js;/script I also removed

Re: wicket menu

2009-09-22 Thread T Ames
I downloaded jquery-1.2.6.min.js and replaced the ResourceReference with that. Set everything else back to original and now it is working. On Tue, Sep 22, 2009 at 9:25 AM, T Ames tamesw...@gmail.com wrote: Found it. Oddly enough, it is the jquery version. I removed the ResourceReference

Re: wicket menu

2009-09-22 Thread Ernesto Reinaldo Barreiro
Maybe a generic solution is to include both jquery versions, sniff the browser version and if it is IE6 then serve jquery-1.2.6.min.js... Or try to find out why new jquery does not work. Maybe this has been reported on the original site? Best, Ernesto On Tue, Sep 22, 2009 at 3:25 PM, T Ames

ClassCastException in ListMultipleChoice

2009-09-22 Thread Sadhna Ahuja
Hello, I have a ListMultipleChoice component in my form and I get the following exception when I select an option and submit the form: Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Collection at

Multiple choice checkboxes

2009-09-22 Thread Sadhna Ahuja
Is there a way to have multiple choice checkboxes? From what I read on the forums, I could only have a ListMultipleChoice. But I need to have multiple choice checkboxes. Any examples on how I could achieve that? Thanks.

Form Processing problem on pages with Border - Wicket 1.4.1

2009-09-22 Thread Flavius
I am migrating a project from 1.3.6 to 1.4.1. I've run into a problem and I'm not sure if this is a bug or not. Most of the pages have a border and the border has a DropDownChoice in it (as well as other components). Technically it's in a panel in the border. The Form objects are typically

Re: Form Processing problem on pages with Border - Wicket 1.4.1

2009-09-22 Thread Pedro Santos
The internalUpdateFormComponentModels method in 1.3.6 didn't look for the border and visit it's components. It's not obvious to me why this needs to be done now in 1.4. The objective is to notify form's event to generic containers... When the form is submitted, the DropDownChoice's value is

Re: Multiple choice checkboxes

2009-09-22 Thread Dipu
take a look at checkGroup and check, looks like that is what you are after. please don't do duplicate posts on the list, that would ony help in annoying the, happy to help, regular repliers on this list -dipu On Tue, Sep 22, 2009 at 2:37 PM, Sadhna Ahuja sadhna.ah...@nisc.coop wrote: Is there

Re: Form Processing problem on pages with Border - Wicket 1.4.1

2009-09-22 Thread Pedro Santos
I mean override the updateModel :P On Tue, Sep 22, 2009 at 11:03 AM, Pedro Santos pedros...@gmail.com wrote: The internalUpdateFormComponentModels method in 1.3.6 didn't look for the border and visit it's components. It's not obvious to me why this needs to be done now in 1.4. The

Re: ClassCastException in ListMultipleChoice

2009-09-22 Thread Igor Vaynberg
your model object should be a collection instead of a string because this component allows selection of multiple values. -igor On Tue, Sep 22, 2009 at 6:37 AM, Sadhna Ahuja sadhna.ah...@nisc.coop wrote: Hello, I have a ListMultipleChoice component in my form and I get the following

How add a further authentication confirm

2009-09-22 Thread Domenico Reggiori
Dear users, I'm using wicket 1.3.6 version. I need to add a further authentication mechanism to some Link or Form I need to be able to force authentication every time on certain links and buttons when they are pressed. This behavior must be configurable dinamically, I would like to be able to

[Migrating to Wicket 1.4.1] Problem submitting FormTester

2009-09-22 Thread Martin Bigio
Hi, I've been having problems migrating Wicket 1.4-RC4 to 1.4.1. Some of our wicket-tests are failing and producing errors due to a form submission issue. For example: .java: public class Prueba extends PageTemplate { public Prueba() { add(new FormVoid(form).add(new Button(submit,

parameters encryption

2009-09-22 Thread tubin gen
Is there any setting in Application or any base class through which parameters can be encrypted and decrypted behind the scenes , so that I wont do this for every page ?

Re: parameters encryption

2009-09-22 Thread Igor Vaynberg
org.apache.wicket.protocol.http.request.CryptedUrlWebRequestCodingStrategy -igor On Tue, Sep 22, 2009 at 9:43 AM, tubin gen fachh...@gmail.com wrote: Is there any setting in Application  or any base class  through which parameters can be encrypted and decrypted  behind the scenes  , so that I

Re: + key as alternative for tab key

2009-09-22 Thread Jeremy Thomerson
It's very easy to implement with Wicket - just add ajax form submitting behavior to desired fields, and in the behavior, repaint the feedback form, etc... Although, it can be server intensive obviously. -- Jeremy Thomerson http://www.wickettraining.com On Tue, Sep 22, 2009 at 7:25 AM, Nicolas

508 ajaxdefaultdatatablepanel

2009-09-22 Thread tubin gen
I am using lot of ajaxdefaultdatatable and our application should be 508 , is there a way to create the sortable columns from this panel 508 ? here the code I use to create a columns new PropertyColumnWFStgAuditEntity(new ModelString(Audit Number),stgAuditGeneral.auditNumber,

form with inheritance

2009-09-22 Thread Sam Barrow
I am trying to create a form for a domain object called Shipment. A Shipment contains a Payment object. Payment is an abstract class, with subclasses CashPayment, CheckPayment, etc. What would be the best way to create a form to represent this? I'm assuming I will use some type tabs with panels

Re: Is it the best way to code a Link depending on a condition

2009-09-22 Thread Jeremy Thomerson
It's the same reason you shouldn't use new Label(id object.getSomeText());. See this example: public MyPage () { Person p = getPersonFromSomewhere(); Label l = new Label(numberOfPhoneNumbers, p.getPhoneNumbers().size()); l.setVisible(p.getPhoneNumbers().size() 0); new

Re: form with inheritance

2009-09-22 Thread Igor Vaynberg
http://wicketinaction.com/2008/10/creating-pluggable-applications-with-wicket-and-spring/ -igor On Tue, Sep 22, 2009 at 12:16 PM, Sam Barrow s...@sambarrow.com wrote: I am trying to create a form for a domain object called Shipment. A Shipment contains a Payment object. Payment is an abstract

Validate refreshingview

2009-09-22 Thread Hakan . Steisjo
Hi, I've a problem where I hope someone can point me in the right direction. I have a page which holds a form, an ajaxsubmitlink, and a panel containing formcomponents. The panel also holds two other panels, where one of the panels holds a refreshingview to which the user can add items, using a

Re: Validate refreshingview

2009-09-22 Thread Igor Vaynberg
you can use embedded forms, afair onsubmit of an inner form is called before onsubmit of outer. -igor On Tue, Sep 22, 2009 at 1:12 PM, hakan.stei...@foxt.com wrote: Hi, I've a problem where I hope someone can point me in the right direction. I have a page which holds a form, an

Stateless Applications and Wicket

2009-09-22 Thread Ricardo Mayerhofer
It would be very nice to see better support for stateless applications in wicket. Some topics that come to my mind right now are: - Ajax, - PagingNavigator, - Dropdown onSelectionChange. It works fine if I overide getStatelessHint to return true and there is no enclosing form. If there is a