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: span wicket:id=listViewId a

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

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

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 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

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 the same pagemap

[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] Page Map clarification

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

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

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

[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

[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

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

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:

[Wicket-user] Programmatically/Dynamically change html

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

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

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

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

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

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 Mahmood