reusing css files across directories.

2008-07-09 Thread Rakesh Sinha
Hi - I am trying to add css to my page. Adding the following line to my WebPage , definitely works. add(new StyleSheetReference("pageCSS", getClass(), "page.css")); But I am just curious - what would be the solution to share the css across the directory structures. In other words - if we we

Re: radiochoice signature - List vs Collection ?

2008-07-09 Thread Rakesh Sinha
https://issues.apache.org/jira/browse/WICKET-1744 . Sorry - forgot the url . On 7/9/08, Rakesh Sinha <[EMAIL PROTECTED]> wrote: > Thanks. > > Here it is . > > I would like to volunteer to fix this as well. > What are the svn commit procedures ? > > >

Re: radiochoice signature - List vs Collection ?

2008-07-09 Thread Rakesh Sinha
Thanks. Here it is . I would like to volunteer to fix this as well. What are the svn commit procedures ? On 7/9/08, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > please open a jira issue > > -igor > > > On Wed, Jul 9, 2008 at 6:43 PM, Rakesh Sinha <[EMAIL PROTECTED]&g

radiochoice signature - List vs Collection ?

2008-07-09 Thread Rakesh Sinha
Hi - I am looking at 1.4m2 codebase. One of the constructors of radio choice seem to be: public RadioChoice(final String id, final List choices) .. In reality the second argument seems to be more appropriate for a Collection , rather than as a list. Any specific reason why it is List instead o

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

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

Re: calendar control for wicket ??

2008-07-05 Thread Rakesh Sinha
together. This might be more involved I believe. On 7/5/08, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote: > are you talking about a DatePicker? > > On Sun, Jul 6, 2008 at 4:11 AM, Rakesh Sinha <[EMAIL PROTECTED]> > wrote: > > > > Hi - > > Just cu

calendar control for wicket ??

2008-07-05 Thread Rakesh Sinha
Hi - Just curious if there is a Calendar control / class associated with Wicket. Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: ajax behavior sample with radiogroup / radio

2008-07-05 Thread Rakesh Sinha
@Override protected void onError(AjaxRequestTarget target) { // TODO Auto-generated method stub } }); This seems to work. On 7/5/08, Rakesh Sinha <[EMAIL PROTECTED]> wrote: > Ok - my new code looks as follows: > ---

Re: ajax behavior sample with radiogroup / radio

2008-07-05 Thread Rakesh Sinha
a method in RadioGroup , that will given something like a current selected radio model or something similar to that ? On 7/5/08, Rakesh Sinha <[EMAIL PROTECTED]> wrote: > I changed the code to be AjaxFormComponentUpdatingBehavior ("onclick") > - but it still does not

Re: ajax behavior sample with radiogroup / radio

2008-07-05 Thread Rakesh Sinha
suspecting something wrong with my html code. html: Male Female Would this be correct ? On 7/5/08, Timo Rantalaiho <[EMAIL PROTECTED]> wrote: > On Sat, 05 Jul 2008, Rakesh Sinha wrote: > > This does not seem to invoke the ajax code handler that I was > > expect

ajax behavior sample with radiogroup / radio

2008-07-05 Thread Rakesh Sinha
Hi - I am trying to integrate ajax behavior with a radio button such that whenever a radio button in a radio group is selected - an appropriate handler is invoked. Java: RadioGroup sex = new RadioGroup("sex"); sex.add(new Radio("M", new Model(AgeValidator.SexEnum.MALE))); sex.add(new Radio(

Re: ajax event handler with a textfield .. .

2008-07-03 Thread Rakesh Sinha
On 7/3/08, Timo Rantalaiho <[EMAIL PROTECTED]> wrote: > On Thu, 03 Jul 2008, Rakesh Sinha wrote: > > > Thanks for pointing this one out. Can you paste / point to a code > > fragement for - OnChangeAjaxBehavior and how to integrate with > > TextField. > > &

Re: ajax event handler with a textfield .. .

2008-07-02 Thread Rakesh Sinha
On 7/3/08, Timo Rantalaiho <[EMAIL PROTECTED]> wrote: > On Thu, 03 Jul 2008, Rakesh Sinha wrote: > > I tried something similar to this .. It works. > > ... > > > txtAge.add(new AjaxFormComponentUpdatingBehavior("onkeyup") { > > > This works otherwi

turning off autocomplete for textfield ..

2008-07-02 Thread Rakesh Sinha
on a separate note - how do we turn off autocomplete for a TextField in the java code. (other than autocomplete=off, in html). - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: ajax event handler with a textfield .. .

2008-07-02 Thread Rakesh Sinha
he fastest way of doing this... On 7/2/08, Timo Rantalaiho <[EMAIL PROTECTED]> wrote: > On Wed, 02 Jul 2008, Rakesh Sinha wrote: > > I want a behavior to attach an ajax event handler to the textfield > > such a way that anytime a text field changes - there would be

ajax event handler with a textfield .. .

2008-07-02 Thread Rakesh Sinha
Hi - I have a TextField component in my page. Java : txtAge = new TextField("txtAge", Integer.class); lblAgeValidate = new Label("lblAgeValidate", ""); html: I want a behavior to attach an ajax event handler to the textfield such a way that anytime a text field

Re: configuring wicket:id from Java code in in a page

2008-07-01 Thread Rakesh Sinha
Thanks Igor. That works. Thanks Apache Wicket team once again for a wonderful framework. On Wed, Jul 2, 2008 at 12:37 AM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > [title will be here] > > just like the span... > > -igor > > On Tue, Jul 1, 2008 at 9:01 PM, Rakesh Sinh

configuring wicket:id from Java code in in a page

2008-07-01 Thread Rakesh Sinha
I am trying to have the title of a given page, populated from the code. HTML: == wicket:id="mysiteName" Homepage message will be here Java: (HomePage.java only) = public class HomePage extends WebPage { public HomePage(final PageParameters parameters) {