To help reduce some code, why not extend the BookmarkablePageLink class to
form your JavascriptConfirmLink and then no need to write the onclick().
also try
new JavascriptConfirmLink(id, cls, new PageParameters(method=method1),
msg)
and the id will be used here:
span wicket:id=listViewId
a
between the a and the /a?
Thanks
On 5/9/07, Shams Mahmood [EMAIL PROTECTED] wrote:
To help reduce some code, why not extend the BookmarkablePageLink class
to
form your JavascriptConfirmLink and then no need to write the onclick().
also try
new JavascriptConfirmLink(id, cls, new
PageParameters
You may choose to use almost any html tag for labels.
It's just that the wicket examples all use spans :)
D'oh! Of course. And I assume you mean span instead of label.
On 5/9/07, Shams Mahmood [EMAIL PROTECTED] wrote:
Why not just add a label to the link.
span wicket:id=listViewId
. This was causing the page expired problem.
:)
Shams
-- Forwarded message --
From: Shams Mahmood [EMAIL PROTECTED]
To: wicket-user@lists.sourceforge.net
Date: Fri, 27 Apr 2007 22:42:40 +0600
Subject: Re: [Wicket-user] Page Map clarification
are they really using the same pagemap
Hi,
I have a web site for mobiles that has around 3-4 thousand users.
Now some particular mobile models get page expired error.
I fopund that increasing page map size didn't help.
I figured that all the users are using the same Page Map.
( they all have '' as their page map name)
Is there some
on that and see what happens.
Shams.
On 4/27/07, Shams Mahmood [EMAIL PROTECTED] wrote:
Hi,
I have a web site for mobiles that has around 3-4 thousand users.
Now some particular mobile models get page expired error.
I fopund that increasing page map size didn't help.
I figured that all
I think you can have a look at equal input validator which use two
text-fields.
Using that code a san example you should be able to generate the
type of Validator you need that will generate only one message.
Hope it helps.
Shams
Hello Guys,
We have the following problem: based on client
Regarding the constructor change in 2.0,
in some of my components (in wicket 1.2) I used wicket 2.0 type constructor
where i could pass null as the parent.
In such a scenario I would have to add the child components explicitly.
When i passed a non-null value to the constructor the component
Hi,
I'm using wicket1.2.jar
Recently I noticed that giving no type attribute inside input tag of a
Wicket Button
results in the Button being displayed as textfield.
The same is true for textfields, but it doesnt really matter in that case
:).
I guess this could be corrected in java code so
Hi,
I an caught up in a problem where I cannot use javascript,
but i need a Link to submit my Form.
Basically my problem is I have pagination in my page where
the user can select items using checkboxes in a check group.
When he uses the pagination links i am required to update and hold the
See the following site :
http://www.dhtmlgoodies.com/index.html?whichScript=context_menu
demo : http://www.dhtmlgoodies.com/scripts/context-menu/context-menu.html
I think the html can be easily generated by using a ListView and
Adding Links inisde and handling the onclick of the links.
Hope u
I haven't used AjaxDefaultDataTable though I have used other
Similar components.
Why not use css ids and attribute modifiers to set the ids
of the columns or rows you want.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andrew
Klochkov
Sent:
Say I have something like this :
font color=red Red /font
span wicket:id=Label[Wicket Contents]/span
a wicket:id=wicketLink Click here /a
I want to chane this to:
font color=blue Blue /font
a wicket:id=wicketLink Click here /a
=colorcomp Red /font
Label l = new Label(colorcomp, Blue)
add(l);
l.add(new SimpleAttribyteModifier(color, blue));
Erik.
Shams Mahmood schreef:
Say I have something like this :
font color=red Red /font
span wicket:id=Label[Wicket Contents]/span
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Programmatically/Dynamically change html
Ah, I see.
I think you'll have to create a panel (or a fragment) for each variation
and then add the appropriate panel (fragment).
Does that make sense?
Erik.
Shams Mahmood schreef:
Well I
/Dynamically change html
Hmm. I remember that more people asked for generated templates. Don't
remember an answer though.
Perhaps you can investigate the class
WebMarkupContainerWithAssociatedMarkup or its super classes to see how
Wicket loads the templates.
Good luck,
Erik.
Shams Mahmood
16 matches
Mail list logo