Dynamic HTML mark-up ?

2010-02-23 Thread Ashika Umanga Umagiliya
Greeting friends, In the datagrid-cell , I want to add links which direct to some other pages.But the number of links change.I want to do something like in the following code-snippet(Pseudo code): new AbstractColumnObject(new Model(Description/Function)) { public void

Re: Dynamic HTML mark-up ?

2010-02-23 Thread Ashika Umanga Umagiliya
I guess the answer is 'ListView' right? Ashika Umanga Umagiliya wrote: Greeting friends, In the datagrid-cell , I want to add links which direct to some other pages.But the number of links change.I want to do something like in the following code-snippet(Pseudo code): new

Re: Dynamic HTML mark-up ?

2010-02-23 Thread Ashika Umanga Umagiliya
/ ** Martin 2010/2/24 Ashika Umanga Umagiliya auma...@biggjapan.com: I guess the answer is 'ListView' right? Ashika Umanga Umagiliya wrote: Greeting friends, In the datagrid-cell , I want to add links which direct to some other pages.But the number of links change.I want to do something like

Re: Tomcat Deployment problem : adding CSS links have been modified ?

2010-02-23 Thread Ashika Umanga Umagiliya
=stylesheet type=text/css href=style/tablestyle.css/ link rel=stylesheet type=text/css href=images/style.css/ /wicket:link François Le 1 févr. 2010 à 05:59, Ashika Umanga Umagiliya a écrit : Greetings, I've been developing my wicket application using maven+jetty and when I deployed

Re: Tomcat Deployment problem : adding CSS links have been modified ?

2010-02-22 Thread Ashika Umanga Umagiliya
link rel=stylesheet type=text/css href=style/tablestyle.css/ link rel=stylesheet type=text/css href=images/style.css/ /wicket:link François Le 1 févr. 2010 à 05:59, Ashika Umanga Umagiliya a écrit : Greetings, I've been developing my wicket application using maven+jetty and when I

[OT] Wicket changed my life !

2010-02-18 Thread Ashika Umanga Umagiliya
I love Wicket ! - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

DataTable : Write direct HTML in cells?

2010-02-09 Thread Ashika Umanga Umagiliya
Greetings all, I want to write direct HTML content in DataTable cells. Something like like : public abstract class AbstractWidthChangableColumnE extends AbstractColumnE{ public void populateItem(ItemICellPopulatorE cellitem, String id, IModelE model) { .. .. ..

Re: DataTable : Write direct HTML in cells?

2010-02-09 Thread Ashika Umanga Umagiliya
; } }); label.setEscapeModelStrings(false); item.add(label); } Ernesto On Tue, Feb 9, 2010 at 9:16 AM, Ashika Umanga Umagiliya auma...@biggjapan.com wrote: Greetings all, I want to write direct HTML content in DataTable cells. Something like like : public abstract class

Settings an HTML page as home page?

2010-02-05 Thread Ashika Umanga Umagiliya
Greetings, How can I set an static HTML page in webapp folder as my home page in Application class instead of using Wicket Page ? thanks in advance, umanga - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org

Re: Loading resources (CSS,JS) from JARs ?

2010-02-04 Thread Ashika Umanga Umagiliya
). Best, Ernesto P.S. Other frameworks have added similar features e.g. Struts2 allows to serve resources from withing jar files. This make easier to create and distribute plugins. On Thu, Feb 4, 2010 at 2:56 AM, Ashika Umanga Umagiliya auma...@biggjapan.com wrote: Greetings, While playing

Re: DataTable : Setting the Column with from Java ?

2010-02-04 Thread Ashika Umanga Umagiliya
(); IColumn col; .. .. col.someMethod().editAttribute(width,colWidth); .. nino martinez wael wrote: I susspect you should add the attribute modifier to your LinkoutColumn telling what css class you want to use.. I would have to see the html aswell to help further.. 2010/2/4 Ashika Umanga Umagiliya

Re: DataTable : Setting the Column with from Java ?

2010-02-04 Thread Ashika Umanga Umagiliya
the attribute modifier to your LinkoutColumn telling what css class you want to use.. I would have to see the html aswell to help further.. 2010/2/4 Ashika Umanga Umagiliya auma...@biggjapan.com Hi nino, To which component I should add an attribute-modifier. In IColumn ,i should add the 'width

Tooltip like popup component which can perform text copy(to clipboard)?

2010-02-03 Thread Ashika Umanga Umagiliya
Greetings, In my application, I have a datable which shows pretty long text values.So, I want to display only a part of the text in datatable-cells and when user hover over the text,it should display a Tooltip like/Popup component with full text.I cant use simple tooltip because user should

Re: Tooltip like popup component which can perform text copy(to clipboard)?

2010-02-03 Thread Ashika Umanga Umagiliya
Thanks vineet for the reply, But I could find mootip/MootipSettings classes.I use wicket 1.4.6? Any tips, umanga vineet semwal wrote: 1)create converter to display only part of text, 2)use mootip with mootipsettings.setfixed(true) On Wed, Feb 3, 2010 at 3:09 PM, Ashika Umanga Umagiliya auma

Loading resources (CSS,JS) from JARs ?

2010-02-03 Thread Ashika Umanga Umagiliya
Greetings, While playing around with wicket-stuffminis , I noticed that the Moontip load its CSS,JavaScript from the class path (wicketstuff-minis.jar) eg: http://localhost:8080/minis-examples/resources/org.wicketstuff.minis.mootipbehavior.MootipBehaviour/mootools.v1.11.js -which I couldnt

DataTable : Setting the Column with from Java ?

2010-02-03 Thread Ashika Umanga Umagiliya
Greetings, For my DataTable ,I create 'IColumn's using data from an XML file. In the code-snippet below, the 'vcol' instance has information about Column-title,bean property field,visible or not..etc. Now I want to set the column width using the same way.How can I change the CSS property from

Re: DataTable : Setting the Column with from Java ?

2010-02-03 Thread Ashika Umanga Umagiliya
Hi nino, To which component I should add an attribute-modifier. In IColumn ,i should add the 'width' to the headers ,i assume. any tips to do this? nino martinez wael wrote: use a attribute modifier 2010/2/4 Ashika Umanga Umagiliya auma...@biggjapan.com Greetings, For my DataTable ,I

Tomcat Deployment problem : adding CSS links have been modified ?

2010-01-31 Thread Ashika Umanga Umagiliya
Greetings, I've been developing my wicket application using maven+jetty and when I deployed it in Tomcat , all the CSS styles were missing. I noticed that all the CSS links have been modified by the container(or wicket?) and added the prefix ../ Eg: In my pages I have: link rel=stylesheet

Re: Tomcat Deployment problem : adding CSS links have been modified ?

2010-01-31 Thread Ashika Umanga Umagiliya
, Ashika Umanga Umagiliya a écrit : Greetings, I've been developing my wicket application using maven+jetty and when I deployed it in Tomcat , all the CSS styles were missing. I noticed that all the CSS links have been modified by the container(or wicket?) and added the prefix ../ Eg: In my

Re: Opening Wicketpages from external link?

2010-01-29 Thread Ashika Umanga Umagiliya
Any tips ? :( Any examples with Spring integration and mounted pages? Ashika Umanga Umagiliya wrote: Greetings all, Just to make sure , I create another skeleton Wicket application and integrated a module which I used before with GWT (use only Spring+Hibernate) .And whenever I configure

Re: Opening Wicketpages from external link?

2010-01-29 Thread Ashika Umanga Umagiliya
Umagiliya auma...@biggjapan.com wrote: Any tips ? :( Any examples with Spring integration and mounted pages? Ashika Umanga Umagiliya wrote: Greetings all, Just to make sure , I create another skeleton Wicket application and integrated a module which I used before with GWT (use only Spring

Re: Opening Wicketpages from external link?

2010-01-29 Thread Ashika Umanga Umagiliya
at 18:39 +0900, Ashika Umanga Umagiliya wrote: Any tips ? :( Any examples with Spring integration and mounted pages? Ashika Umanga Umagiliya wrote: Greetings all, Just to make sure , I create another skeleton Wicket application and integrated a module which I used before with GWT (use

Opening Wicketpages from external link?

2010-01-28 Thread Ashika Umanga Umagiliya
Greetings, In application I am developing,client want to open the wicket 'SeachPage' from external page. My search page is like: public SearchPage extends WebPage{ private String queryString; public SearchPage(String queryString){ this.queryString=queryString; . . } } and from other

Re: Opening Wicketpages from external link?

2010-01-28 Thread Ashika Umanga Umagiliya
that takes PageParameters instance - this is where the query string will be. since you know the mount, et /mysearch use that to construct the url in the external app. -igor On Thu, Jan 28, 2010 at 5:38 PM, Ashika Umanga Umagiliya auma...@biggjapan.com wrote: Greetings, In application I am

Re: Opening Wicketpages from external link?

2010-01-28 Thread Ashika Umanga Umagiliya
Igor Vaynberg wrote: do other mounted pages work? I mounted a test webpage and it wont work either. do you use the /* mapping with your wicket filter? Yes,and I use Spring integration as follows: filter filter-namewicket.nihonbare-web/filter-name

Re: Opening Wicketpages from external link?

2010-01-28 Thread Ashika Umanga Umagiliya
will have to debug with breakpoints to see where it goes wrong. -igor On Thu, Jan 28, 2010 at 7:11 PM, Ashika Umanga Umagiliya auma...@biggjapan.com wrote: Igor Vaynberg wrote: do other mounted pages work? I mounted a test webpage and it wont work either. do you use

Re: Opening Wicketpages from external link?

2010-01-28 Thread Ashika Umanga Umagiliya
of Wicket internals,could you point me where I found be looking at? Thanks umanga Igor Vaynberg wrote: i doubt spring has anything to do with it. do you have any other filters? -igor On Thu, Jan 28, 2010 at 7:36 PM, Ashika Umanga Umagiliya auma...@biggjapan.com wrote: None of my mounted pages

Re: Opening Wicketpages from external link?

2010-01-28 Thread Ashika Umanga Umagiliya
On Fri, Jan 29, 2010 at 6:57 AM, Ashika Umanga Umagiliya auma...@biggjapan.com wrote: Nop,I only use Wicket filter! I use markup inheritance for my pages,so I create new plain test WebPages and mounted,and they wont mount either. I use Spring,Hibernate and Compass search engine in my app

Re: Opening Wicketpages from external link?

2010-01-28 Thread Ashika Umanga Umagiliya
AM, Ashika Umanga Umagiliya auma...@biggjapan.com wrote: Nop,I only use Wicket filter! I use markup inheritance for my pages,so I create new plain test WebPages and mounted,and they wont mount either. I use Spring,Hibernate and Compass search engine in my app. You said to debug the code, you

Getting value from TextField ?

2010-01-24 Thread Ashika Umanga Umagiliya
Greetings , I have placed a TextField and a Link(Html submit button) in my page.I want to get the value of the TextField when the button is pressed(onClick()). But in the following code, I dont get the value the user typed in. What I am doing wrong? My HTML is: div class=comment Search

Re: Getting value from TextField ?

2010-01-24 Thread Ashika Umanga Umagiliya
Oops, No..I am not using a Form! James Carman wrote: Are you using a form? On Sun, Jan 24, 2010 at 9:07 PM, Ashika Umanga Umagiliya auma...@biggjapan.com wrote: Greetings , I have placed a TextField and a Link(Html submit button) in my page.I want to get the value of the TextField when

Using BreadCrumb to travel through pages which display object hierarchy?

2010-01-21 Thread Ashika Umanga Umagiliya
In my application I travel forward among pages using DataTables : Link alink = new Link(arg1) { @Override public void onClick() { setResponsePage(new SubFamilyPage(selectedSubfamily)); } }; Is it possible to use 'BreadCrum' to navigate through pages like follows? FamilyesPage -

DataTable : Link with dynamically chaning label

2010-01-20 Thread Ashika Umanga Umagiliya
Greetings , I have implemented 'AbstractColumn' to display list of 'id's and when user click on a 'id',it should take to the Page relevant to that 'id'. But in the application, the tablecells just display [Cell] and I want to display an anchor (a) with the dynamically changing label . How

Wicket 1.4.5 : Spring integration problem?

2010-01-19 Thread Ashika Umanga Umagiliya
Greetings all, I followed the easy 'Application Object Approach' to integrate Spring with my Wicket app. (http://cwiki.apache.org/WICKET/spring.html#Spring-ApplicationObjectApproach ) In my application class : public class NihonBareApplication extends WebApplication { private

Re: Wicket 1.4.5 : Spring integration problem?

2010-01-19 Thread Ashika Umanga Umagiliya
fine. Pierre Goupil wrote: Maybe it comes from the web.xml : can we ses it, please? Regards, Pierre On Wed, Jan 20, 2010 at 7:41 AM, Ashika Umanga Umagiliya auma...@biggjapan.com wrote: Greetings all, I followed the easy 'Application Object Approach' to integrate Spring with my Wicket

WicketExtensions : DataTable : Sending 'id's between web pages?

2010-01-18 Thread Ashika Umanga Umagiliya
My Domain model has 'Family' which has many 'SubFamily' objects. I managed to display the 'Family' information using a DataTable in 'FamilyPage'. Now I want to do is,when user clicks on a 'Family Id' the 'SubFamilyPage' should open and display relavant subfamilies in a datatable. I want to

Property Expression Language : Combing bean value and string ?

2010-01-18 Thread Ashika Umanga Umagiliya
Greetings all, In my Datatable , I use PropertyColumn to create my columns. I want to know whether using Wicket EL , I can do something like following: Input object has 'name' field. EL String : Your name is ${name} Output String : Your name is Tom Thanks in advance.

WicketExtensions DataTable : Creating a Links using Model value?

2010-01-17 Thread Ashika Umanga Umagiliya
Greetings, I was going through WicketExtensions DataTable source and I was wondering how to create a hyperlink using PropertyColumn. In docs it says: columns[0] = new PropertyColumn(new Model(Family Id), familyId); What I want to do is, 1) create a Link using the field value familyId,and

Re: Newbie question: fileupload AJAX progressbar ?

2009-08-19 Thread Ashika Umanga Umagiliya
UploadProgressBar)! Stefan -Ursprüngliche Nachricht- Von: Ashika Umanga Umagiliya [mailto:auma...@biggjapan.com] Gesendet: Mittwoch, 19. August 2009 07:17 An: users@wicket.apache.org Betreff: Newbie question: fileupload AJAX progressbar ? Greetings all, I am new to Wicket and I used

Question about threads inside wicket pages

2009-08-19 Thread Ashika Umanga Umagiliya
Greetings all, Please refer to image at : http://i26.tinypic.com/11qi6o7.jpg I am going to invoke a webservice using Axis2 Client,asynchronically.To getback the results, I am using a Callback handler in axis2. Within my page, I am going to create the Callback object (axisCallbackHandler in

Re: Newbie question: fileupload AJAX progressbar ?

2009-08-19 Thread Ashika Umanga Umagiliya
wrote: Hi Ashika, I pointed yopu tot he documentation because I was not sure if using UploadWebRequest has any side effects. Does not seem so. Stefan -Ursprüngliche Nachricht- Von: Ashika Umanga Umagiliya [mailto:auma...@biggjapan.com] Gesendet: Mittwoch, 19. August 2009 09:10 An: users

Re: Question about threads inside wicket pages

2009-08-19 Thread Ashika Umanga Umagiliya
Hi Jeremy, I tried to call Page.info() inside the new thread created by axis2client , then it gives the message : EXCEPTION:you can only locate or create sessions in the context of a request cycle I guess,this means I must change the page data inside the same thread right? Thanks in

Newbie question: fileupload AJAX progressbar ?

2009-08-18 Thread Ashika Umanga Umagiliya
Greetings all, I am new to Wicket and I used 'UploadProgressBar' to create an AJAX brogressbar for fileupload.(refered example at wicket-library.org ) But when uploading a file, eventhough progreebar showed,theres no activity nor incrementation of the bar I have posted my code, what could be

Re: [OT] wicket users around the world

2008-12-14 Thread Ashika Umanga Umagiliya
Sri Lankan ,working in Japan Kathmandu, Nepal - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: Autoscrolling table header

2008-10-26 Thread Ashika Umanga Umagiliya
hi jeremy, Thank you for the suggestion.I will try that out.I am currently developing a POC for a project ,so i found that ZK framework have what i wanted. But for the actual implementation I will use Wicket. Thanks and Best Regards, umanga Jeremy Thomerson wrote: Could you use thead /

Autoscrolling table header

2008-10-24 Thread Ashika Umanga Umagiliya
Hi Wicketers, I am newbie to wicket and I want to know whether its possible to implement a DataTable which behaves like a spreadsheet. Its something like ActiveWidget datagrid as in http://www.activewidgets.com/grid/ As you can see , when we scroll , the tableheader also scrolls accordingly.