I am trying to have the title of a given page, populated from the code.
HTML:
==
html
head
titlewicket:id=mysiteName/title
/head
body
strongHomepage/strong
br /
br /
span wicket:id=messagemessage will be here/span
/body
/html
Java: (HomePage.java only)
=
public class HomePage extends
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 wicket:id=mysiteName[title will be here]/title
just like the span...
-igor
On Tue, Jul 1, 2008 at 9:01 PM, Rakesh Sinha
Hi -
I have a TextField component in my page.
Java :
txtAge = new TextField(txtAge, Integer.class);
lblAgeValidate = new Label(lblAgeValidate, );
html:
tdinput type=text wicket:id=txtAge //td
tdspan wicket:id=lblAgeValidate //td
I want a behavior to attach an
[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 an ajax
validation performed , that would update the model behind
lblAgeValidate - which
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]
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 otherwise but does not detect cut and paste done
with mouse.
Thanks
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.
Use the source, Luke :) Just use it instead
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(F,
wrong with my html
code.
html:
wicket:container wicket:id=sex
tdinput wicket:id=M type=radio /Male input
wicket:id=F type=radio /Female/td
/wicket:container
Would this be correct ?
On 7/5/08, Timo Rantalaiho [EMAIL PROTECTED] wrote:
On Sat, 05 Jul 2008, Rakesh Sinha wrote
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 seem to work ( though , onclick *is* the right
method to invoke from javascript
) {
// 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:
-
RadioGroup sex = new RadioGroup(sex);
Radio male = new
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]
.
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 curious if there is a Calendar control / class associated with
Wicket
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
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.
Hi -
I am looking at 1.4m2 codebase.
One of the constructors of radio choice seem to be:
public RadioChoice(final String id, final ListT 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?
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] wrote:
Hi -
I am looking
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 ?
On 7/9/08, Igor Vaynberg [EMAIL PROTECTED] wrote
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 were
19 matches
Mail list logo