Re: PropertyModel implementing IComponentInheritedModel

2008-07-06 Thread Thomas Kappler
Thanks, Johan. Perhaps I wasn't clear enough about the motivation. On Sun, Jul 6, 2008 at 6:51 AM, Johan Compagner <[EMAIL PROTECTED]> wrote: > Why should the propertymodel be an inherited? Well, to have model sharing. So why not just use a CPM? Because it has another difference to PM: you don't

Re: calendar control for wicket ??

2008-07-06 Thread Ayodeji Aladejebi
which DateTextField are you using? The one in Wicket Extensions or the one in Wicket-datetime API using JODA time API underneath? ensure you are using the one in wicket-datetime API then Study the date converter class of the wicket-datetime API. it seems to work well for me On Sun, Jul 6, 2008 at

Re: calendar control for wicket ??

2008-07-06 Thread Ayodeji Aladejebi
meanwhile, you can also do this easily in wicket: import org.apache.wicket.extensions.yui.calendar.DatePicker; Textfield dateField = new TextField("birthday", Date.class); dateField.add(new DatePicker()); your binding bean private Date birthday; getter, setter users can navigate with a DatePic

Re: Validators for lists

2008-07-06 Thread atul singh
No it is a text area giving comma separated input. Any ways I found what I needed: i.e Validatable: the concrete implementation of IValidatable which can be used outside wicket components On Sun, Jul 6, 2008 at 10:25 AM, Johan Compagner <[EMAIL PROTECTED]> wrote: > So the list of objects is in th

wicketstuff yui context menu clashes with YUI menu

2008-07-06 Thread Karen Schaper
Hi, I have a menu at the top of my page that was generated using YUI. I then have a datatable that is refreshed using ajax. Each row has an image that has a (org.wicketstuff.yui.markup.html.menu2.contextMenu ) attached to it. My problem is that the top menu is not working when using the right

MockWebApplication supporting https ?

2008-07-06 Thread Rakesh Sinha
Hi - Came across this class - org.apache.wicket.protocol.http.MockWebApplication internally used by WicketTester. It seems to work nice with http:// , but not with SSL. I am working with 1.3.4 . Can we have a future MockObject (may be a configurable WicketTester , that can take the hostnam

SSL support for WebApplication in development branch ..

2008-07-06 Thread Rakesh Sinha
Hi - I am looking at the following wiki - http://cwiki.apache.org/confluence/display/WICKET/How+to+switch+to+SSL+mode#HowtoswitchtoSSLmode-Edit(Wicket1.3.x)%3A . The wiki lists a whole number of options to add SSL support to a web application including that of the links of controls etc. (Butto

RE: Problem with Pagination in Wicket 1.3.4

2008-07-06 Thread Umesh Paliwal
Here is the related Code for the Navigation Panel . HTML CODE: [dataview navigator] JAVA CODE: PagingNavigator navigator; navigator = new PagingNavigator("navigator",myDataView) { protected void onBeforeRender() {

Re: No effect of code until restarting netbeans.

2008-07-06 Thread Witold Czaplewski
Am Sat, 5 Jul 2008 18:40:24 +0100 schrieb "Ayodeji Aladejebi" <[EMAIL PROTECTED]>: > Only that after a while, tomcat will give you perm-gen error which > will force you to terminate the tomcat instance using Task Manager > manually before netbeans can continue managing tomcat You can set the MaxP

Re: generics

2008-07-06 Thread Matthijs Wensveen
Timo Rantalaiho wrote: On Fri, 04 Jul 2008, Matthijs Wensveen wrote: How do you cope with deeply nested model properties? For example: public class PersonViewer extends Component { .. } some other component does: person.getOrders().get(0).setAmount(0); // first order for free (as in beer)

Re: PropertyModel implementing IComponentInheritedModel

2008-07-06 Thread Maurice Marrink
Have you seen BoundCompoundPropertyModel? It sounds like you are looking for that behavior. Maurice On Sun, Jul 6, 2008 at 9:42 AM, Thomas Kappler <[EMAIL PROTECTED]> wrote: > Thanks, Johan. Perhaps I wasn't clear enough about the motivation. > > On Sun, Jul 6, 2008 at 6:51 AM, Johan Compagner <