Re: [Wicket-user] How do I do this - several similar links to another page

2007-05-09 Thread Shams Mahmood
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 instead of . On 5/9/07, Shams Mahmood <[EMAIL PROTECTED]> wrote: > Why not just add a label to the link. > > >

Re: [Wicket-user] How do I do this - several similar links to another page

2007-05-09 Thread Shams Mahmood
you can pass a String to 'new PageParameters()'. A little unexpected but nice (I should have read the javadoc more thoroughly). So I have another question: How to you set the link's title? That is, how do you set the text between the and the ? Thanks On 5/9/07, Shams Mahmood <[EMAIL PR

Re: [Wicket-user] How do I do this - several similar links to another page

2007-05-09 Thread Shams Mahmood
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: method1 You can ignore the

Re: [Wicket-user] Page Map clarification

2007-04-29 Thread Shams Mahmood
. 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

Re: [Wicket-user] Page Map clarification

2007-04-27 Thread Shams Mahmood
up 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 m

[Wicket-user] Page Map clarification

2007-04-27 Thread Shams Mahmood
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

Re: [Wicket-user] Wicket and Error messages

2007-03-22 Thread Shams Mahmood
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 req

Re: [Wicket-user] IMPORTANT: your opinion on the constructor change in 2.0

2007-03-09 Thread Shams Mahmood
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 would

[Wicket-user] No type attribute in the html of Button results in TextField

2007-03-08 Thread Shams Mahmood
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 that

[Wicket-user] How to submit a form using a LINK and NO JAVASCRIPT

2007-03-03 Thread Shams Mahmood
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 value

Re: [Wicket-user] Right-click context menu

2007-01-31 Thread Shams Mahmood
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 f

Re: [Wicket-user] Programmatically/Dynamically change html

2006-11-02 Thread Shams Mahmood
/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 Ma

Re: [Wicket-user] Programmatically/Dynamically change html

2006-11-02 Thread Shams Mahmood
: 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: >

Re: [Wicket-user] Programmatically/Dynamically change html

2006-11-02 Thread Shams Mahmood
ew SimpleAttribyteModifier("color", "blue")); Erik. Shams Mahmood schreef: > Say I have something like this : > > Red > [Wicket Contents] > Click here > > I want to chane this to: > > Blue >

[Wicket-user] Programmatically/Dynamically change html

2006-11-02 Thread Shams Mahmood
Say I have something like this : Red [Wicket Contents] Click here I want to chane this to: Blue Click here [Wicket Contents] Dynamically. Anyone have idea how this can be done programmatically. I guess it has som

Re: [Wicket-user] little changes in markup - only via componentinheritance?

2006-11-02 Thread Shams Mahmood
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: Thursd