When to pass object instance /class type?

2008-12-14 Thread HHB
Hey, What is the difference between: setResponsePage(CoolPage.class) and setResponsePage(new CoolPage()) ? When to use each one? Thanks. -- View this message in context: http://www.nabble.com/When-to-pass-object-instance--class-type--tp20998410p20998410.html Sent from the Wicket - User mailing

How to update base page panel from child page?

2008-12-14 Thread HHB
Hey, I use inheritance to do layout. The base page containing main section that should contains child's markup, and cart section. Child pages are supposed to perform operations that will update the cart section (lets say via Ajax). My question is how to ask the cart section to updates its state

Getting API/Wiki pages for offline reading

2008-12-14 Thread HHB
Hey, Why Wicket package doesn't include the API and Wiki pages (like Struts2 for example)? Any ideas how to get them for late night offline reading? Thanks. -- View this message in context: http://www.nabble.com/Getting-API-Wiki-pages-for-offline-reading-tp20998576p20998576.html Sent from the

Re: Participating in Wicket

2008-12-17 Thread HHB
and are tired of applying the fixes for you, you might be proposed to become a committer yourself. Valuable info: http://apache.org/dev/contributors.html#patches Martijn On Wed, Dec 17, 2008 at 11:13 AM, HHB hubaghd...@yahoo.ca wrote: Hey, I really have a great passion toward Wicket

Participating in Wicket

2008-12-17 Thread HHB
Hey, I really have a great passion toward Wicket framework and I really want to participate with their core developer teams. My problem is that this framework has really great and passion developers and I can't imagine myself trying to join them (nor they will accept, I think) not to mention this

Re: Participating in Wicket

2008-12-18 Thread HHB
. http://cwiki.apache.org/WICKET/lifecycle-of-a-wicket-application.html Scott On Wed, Dec 17, 2008 at 2:38 AM, HHB hubaghd...@yahoo.ca wrote: Thanks Martijn How do you suggest to start studying Wicket core code (I don't mean getting the source code :) )? It is complicated to study

Re: Participating in Wicket

2008-12-18 Thread HHB
. On 18/12/2008, at 8:19 AM, HHB wrote: Thanks. My problem is I don't where to start. Lets say I want to fix that bug, in order to know how to fix it, I have to be aware of the whole source code of Wicket, am I right? How to start studying the source code? I mean where to start

Multi-tap operations in Wicket

2008-12-22 Thread HHB
Hey, Seam framework supports the multi-tab / multi-window operations, it isolates each process from the other out-of-the-box. Does Wicket offer the same thing? Thanks. -- View this message in context: http://www.nabble.com/Multi-tap-operations-in-Wicket-tp21125698p21125698.html Sent from the

Re: Multi-tap operations in Wicket

2008-12-22 Thread HHB
().getAutomaticMultiWindowSupport() and the explanation given at javadoc. On Mon, Dec 22, 2008 at 11:39 AM, HHB hubaghd...@yahoo.ca wrote: Hey, Seam framework supports the multi-tab / multi-window operations, it isolates each process from the other out-of-the-box. Does Wicket offer the same thing? Thanks

Re: Multi-tap operations in Wicket

2008-12-22 Thread HHB
is /the/ gem of Seam, you're in for a treat with Wicket! ;) HHB wrote: This effects all the Wicket pages in the application, right? Seam folks advertise this feature as one of the gems of Seam framework, why Wicket doesn't shed more light on it? Common Wicket, no need to be humble this time

Re: Multi-tap operations in Wicket

2008-12-23 Thread HHB
. Usually you have one page map per session. Wicket's transaction support is no better or worse then the next web framework. Regards, Erik. HHB wrote: What I would like to know? If Wicket supports multi-window/tap (beginning a new (what I can call?) a conversation)? Well, yes

Re: [OT] Merb-Rails Merge

2008-12-24 Thread HHB
I hope Java web frameworks never got merged together. Whenever my Rails dudes points toward how many Java has web frameworks and considering this as a bad thing, I smile. I smile because they don't have an option, just Rails. We (Java guys), have request/action frameworks, component-based

Re: [OT] Merb-Rails Merge

2008-12-25 Thread HHB
underestimate both. (When given to the right people of course.) I hope Java web frameworks never got merged together. Too late :) Struts merged with Webworks. But I agree; choice is good. Erik. HHB wrote: I hope Java web frameworks never got merged together. Whenever my Rails

RE: How much this graph is accurate?

2009-01-05 Thread HHB
Cool! Wicket is leading by a large margin :jumping: Hoover, William wrote: This means the growth rate of wicket is greater relative to the other chosen technologies. I find forecast trends more useful as an indicator of what the future might hold. -Original Message- From: HHB

RE: How much this graph is accurate?

2009-01-05 Thread HHB
What does this mean? :-/ Hoover, William wrote: I think this: http://www.indeed.com/jobtrends?q=Seam%2C+Grails%2C+Tapestry%2C+Wicket%2 C+Stripesl=relative=1 is more accurate ;o) -Original Message- From: HHB [mailto:hubaghd...@yahoo.ca] Sent: Monday, January 05, 2009 9:24 AM

Re: Question

2009-01-05 Thread HHB
Any preferred nationalities? Joshua Stein-4 wrote: A couple of users have told me that I should post more information on what we are looking for, so here it is. We are a startup looking for someone to take us through our beta phase and beyond. Urgently, we need someone to develop

How much this graph is accurate?

2009-01-05 Thread HHB
Hey, How much this graph is accurate? http://www.indeed.com/jobtrends?q=Seam%2C+Grails%2C+Tapestry%2C+Wicket%2C+Stripesl= Tapestry is so hot these day?:confused: Don't get me wrong, I respect Tapestry and HLS, I only find it strange. T5 has only one book and you can hardly find some one blog

What are Behaviors in Wicket?

2009-01-18 Thread HHB
Hey, In easy words, what are Wicket Behaviors? what is their role? Thanks. -- View this message in context: http://www.nabble.com/What-are-Behaviors-in-Wicket--tp21525487p21525487.html Sent from the Wicket - User mailing list archive at Nabble.com.

Getting an error when trying to install via Maven

2009-01-25 Thread HHB
Hey, I created a Wicket skeleton project via Maven. When trying to install the project, I got this error: java.lang.ClassCastException: wicket.Initializer cannot be cast to org.apache.wicket.IInitializer at org.apache.wicket.Application.addInitializer(Application.java:755)

Re: Getting an error when trying to install via Maven

2009-01-26 Thread HHB
. wicket.Initializer was before the move to apache. Check your pom if you're using different wicket versions - or perform a clean if you did an update recently hth, Michael HHB wrote: Hey, I created a Wicket skeleton project via Maven. When trying to install the project, I got this error

Re: Getting an error when trying to install via Maven

2009-01-26 Thread HHB
. wicket.Initializer was before the move to apache. Check your pom if you're using different wicket versions - or perform a clean if you did an update recently hth, Michael HHB wrote: Hey, I created a Wicket skeleton project via Maven. When trying to install the project, I got this error

Behaviors and Strategy pattern

2009-02-08 Thread HHB
Hey, Is Behaviors in Wicket are implementation of the Strategy Pattern? Thanks. -- View this message in context: http://www.nabble.com/Behaviors-and-Strategy-pattern-tp21897409p21897409.html Sent from the Wicket - User mailing list archive at Nabble.com.

Why Wicket application contains maven-jetty-plugin?

2009-02-08 Thread HHB
Hey, Why POM of a Wicket skeleton application contains maven-jetty-plugin? Thanks. -- View this message in context: http://www.nabble.com/Why-Wicket-application-contains-maven-jetty-plugin--tp21899056p21899056.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: Why Wicket application contains maven-jetty-plugin?

2009-02-08 Thread HHB
Does maven-jetty-plugin getting used when we run Wicket tests (WicketTester), you know, integration tests? Timo Rantalaiho wrote: On Sun, 08 Feb 2009, HHB wrote: Why POM of a Wicket skeleton application contains maven-jetty-plugin? To be able to run your application from the command line

Equivalent of StackPanel for Wicket

2009-03-26 Thread HHB
Hey, I want to employ something like StackPanel of GWT in my Wicket application. Any production ready component? Thanks for help and time. -- View this message in context: http://www.nabble.com/Equivalent-of-StackPanel-for-Wicket-tp22726615p22726615.html Sent from the Wicket - User mailing

Re: Equivalent of StackPanel for Wicket

2009-03-29 Thread HHB
The stack panel (or the suggested jQuery) is the navigation widget for the application which means it should be part of the markup of the top level parent class. Should this jQuery widget be wrapped as Wicket component? Leszek Gawron-2 wrote: HHB wrote: Hey, I want to employ something

Re: Equivalent of StackPanel for Wicket

2009-03-29 Thread HHB
[2] - https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff [3] - http://code.google.com/p/wickext/ 2009/3/29 HHB hubaghd...@yahoo.ca The stack panel (or the suggested jQuery) is the navigation widget for the application which means it should be part of the markup of the top

Start Wicket project with Spring and Hibernate

2009-03-31 Thread HHB
Hey, Our new Wicket application is to be build with Spring and Hibernate, so I included these: dependency groupIdorg.springframework/groupId artifactIdspring/artifactId version2.5.6/version /dependency dependency

Employ JQuery Accordion in Wicket

2009-04-01 Thread HHB
Hey, My team lead is insisting on employing JQuery Accordion in our Wicket application. As you know that the Accordion consists of pairs of headers and contents panels. The requirement is to hide/show some pairs depending on the user's permission. Is is possible to do so? if yes, would you

What are those jars?

2009-04-02 Thread HHB
Hey, What are wicket-objectsizeof-agent-1.3.5 wicket-datetime-1.3.5 wicket-velocity-1.3.5 wicket-auth-roles-1.3.5 Thanks. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail:

NPE : Exception in rendering component

2009-04-02 Thread HHB
Hey, I created this panel: html head wicket:head wicket:link /wicket:link /wicket:head /head body wicket:panel div id=accordion h3a href=#First header/a/h3 divFirst content/div h3 a href=#Second header/a /h3

Re: NPE : Exception in rendering component

2009-04-02 Thread HHB
Issue solved, I'm using href instead of src attribute of script tag HHB wrote: Hey, I created this panel: html head wicket:head wicket:link /wicket:link /wicket:head /head body wicket:panel div id=accordion h3 # First header /h3

How to refer to files under /WEB-INF ?

2009-04-02 Thread HHB
Hey, How to refer to files under /WEB-INF/js in Wicket templates? Thanks. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Tips to implement this switch technique

2009-04-06 Thread HHB
Hey, For our application layout we decided to go with switching panels technique. The Index page contains the navigation panel which contains links to switch panels. I know how to implement this technique but only when the links that are supposed to switch panels are on the same Index page, not

Spring integration problem

2009-04-06 Thread HHB
Hey, I'm trying to integrate Spring 2.5 into our Wicket application, I did the following: web.xml: context-param param-namecontextConfigLocation/param-name param-valueclasspath:applicationContext.xml/param-value /context-param listener

Re: Spring integration problem

2009-04-06 Thread HHB
-namecontextConfigLocation/param-name param-valueWEB-INF/applicationContext.xml/param-value /context-param Regards, Leandro. 2009/4/6 HHB hubaghd...@yahoo.ca Hey, I'm trying to integrate Spring 2.5 into our Wicket application, I did the following: web.xml: context-param param

Re: GWT vs. Wicket?

2009-04-13 Thread HHB
Currently, I'm rewriting our GWT-based application and I picked Wicket. GWT is delicious but only on papers. GWT cons: 1. lack of roles separation, building the GUI in the code doesn't work for me. 2. Hibernate integration is a nightmare. 3. Unit testing isn't that agile thing. I like GWT but I

Submitting form via Ajax isn't working

2009-04-19 Thread HHB
Hey, I have a form and I want to submit it via Ajax: wicket:panel form wicket:id=form div wicket:id=feedback/div table width=100% cellpadding=2 cellspacing=2 tr tdlabelwicket:message key=name/ /label/td tdspan wicket:id=nameBorder

Re: Submitting form via Ajax isn't working

2009-04-19 Thread HHB
probably needs setOutputMarkupId(true) to be of any use, given that you're submitting with ajax. -Clint On Sun, Apr 19, 2009 at 9:11 AM, HHB hubaghd...@yahoo.ca wrote: Hey, I have a form and I want to submit it via Ajax: wicket:panel    form wicket:id=form        div wicket:id=feedback

Basic help please

2009-04-22 Thread HHB
Hey, I have a panel that consists of two parts: the first lists groups names. the second lists the contacts of a group, which gets populated upon clicking on the group name (via Ajax). wicket:panel div div wicket:id=groups span wicket:id=nameGroup Name/span /div

How to set content of an ajax enabled link?

2009-04-23 Thread HHB
Hey, Is there a way to set the content of a link dynamically (the value is coming from model object)? The link has to be Ajax enabled for sure. Thanks. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For

Embedding a ListView in scrollable area

2009-04-23 Thread HHB
Hey, I have a ListView that could hold a lot of rows. Is there a way to embed the list view an a scroll-able area/thing? or I have to fallback to pagination ? Thanks. - To unsubscribe, e-mail:

PagingNavigator isn't working properly

2009-04-26 Thread HHB
Hey, I have a panel that consists of two divs: one for listing available groups. second will display contacts for a group. The contacts div will get populated upon clicking of group name. ** public class ContactsModel extends LoadableDetachableModel { private

Re: PagingNavigator isn't working properly

2009-04-26 Thread HHB
to show? new Model() doesn't provide a list to iterate through. Martijn On Sun, Apr 26, 2009 at 12:05 PM, HHB hubaghd...@yahoo.ca wrote: Hey, I have a panel that consists of two divs: one for listing available groups. second will display contacts for a group. The contacts div will get populated

Example of DataTable and Hibernate

2009-04-27 Thread HHB
Hey, Do you know any example regarding using DataTable repeater with Spring Dao bean (Hibernate preferably)? Thanks. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail:

How to get an i18n message?

2009-04-27 Thread HHB
Hey, How to get a message (that will be displayed in FeedbackPanel) from properties file in order to use it for info() method of Component class? Thanks. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For

Any RefreshingView-like repeater but with pagination?

2009-04-28 Thread HHB
Hey, Is there any repeater that has the features of RefreshingView but supports paginations? Thanks. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

How to erase model values?

2009-04-28 Thread HHB
Hey, Usually, I set the model for a form like this: final Form form = new Form(form, new CompoundPropertyModel(new Contact())); But when the panel or the modalwindow that contains the form is rendered again, the model's values are still saved and displayed. So upon successful

Why I'm getting NPE?

2009-04-29 Thread HHB
Hey, I'm trying to employ DataTable in our application. * public class SortableContactDataProvider extends SortableDataProvider { @SpringBean private Service service; private Group group; public SortableContactDataProvider(Group group) { if

Re: Why I'm getting NPE?

2009-04-29 Thread HHB
--but that only works with components.) You can call InjectorHolder.getInjector().inject(whatever) to resolve @SpringBean annotations in the whatever object. W On Apr 29, 2009, at 6:38 AM, HHB wrote: Hey, I'm trying to employ DataTable in our application

Which repeater to use for my case?

2009-04-29 Thread HHB
Hey, I'm using a PageableListView with Ajax-enabled paginator. My team leader asked me to add two buttons in front of each row: Edit and Delete button. Edit will bring a ModalWindow to edit the contact. Delete will delete the record from the backend. For this functionality, which repeater do you

Not a Wicket question but ...

2009-04-30 Thread HHB
Hey, I understand this is not a Wicket question but I hope I can get some help. Our application uses c3p0 connection pooling. How to set the character encoding for database connection? Even if you aware of how to set the character encoding for Apache DBCP, I will be thankful. The application is

Re: Not a Wicket question but ...

2009-04-30 Thread HHB
with C3P0 afaik. 2009/4/30 HHB hubaghd...@yahoo.ca: Hey, I understand this is not a Wicket question but I hope I can get some help. Our application uses c3p0 connection pooling. How to set the character encoding for database connection? Even if you aware of how to set the character encoding

How to remove a row from DataTable?

2009-04-30 Thread HHB
Hey, I employed AjaxFallbackDefaultDataTable to list contacts. The last column contains a delete link that I created it this way: final ListIColumn columns = new ArrayListIColumn(); columns.add(new AbstractColumn(new Model(Delete)) { public void populateItem(Item

Re: How to remove a row from DataTable?

2009-04-30 Thread HHB
Thanks, your suggestion works like a charm. I like the technique of using abstract method, you have a Swing development background, right? Thanks again. Mathias P.W Nilsson wrote: I don't know if you can remove one row and just update the row as you can with TreeTable but maybe some here

How to enable debugging port for Jetty

2009-05-03 Thread HHB
Hey, How to enable debugging port for Jetty server that is launched via the command: mvn jetty:run ? Thanks. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail:

Why the ModalWindow isn't getting closed?

2009-05-05 Thread HHB
Hey, I have a ModalWindow with an Ajaxified form. Upon a successful submitting, a data table in the original panel that caused the modalwindow to be appeared is getting updated. The problem is the close button of the ModalWindow is not working, I mean the window isn't getting shut down.

How to append JavaScript to a link?

2009-05-05 Thread HHB
Hey, The last cell in a data table is a link (that is contained in a form) that will delete the row. How to append JavaScript code that will display a confirmation dialog? Thanks for help and time. - To unsubscribe, e-mail:

How to manipulate values in a data table?

2009-05-06 Thread HHB
Hey, I have a message class that has a status (which it is an integer) to indicate whether the message has been sent successfully. Inside a data table, how to handle this integer values so instead of displaying 0 or 1, it displays Sent or Not Sent? Thanks.

Displaying parameterized text

2009-05-11 Thread HHB
Hey, I have parameterized message in the properties file. Is there a Wicket specific component to display this parameterized text or I have to fallback to MessageFormat and Label? Thanks. - To unsubscribe, e-mail:

Misfunctionality in WIA source code

2009-05-17 Thread HHB
Hey, I think the code of chapter 11 of Wicket In Action book isn't functioning properly. After logging in, try to logout, you should notice that you are still in the same page and you have to click on Logout link again in order to be taken to the sign in page. Any ideas? I'm using the same

How to get ride of page's state?

2009-05-18 Thread HHB
Hey, How to get ride of the page's state after the request is done? Thanks. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: How to get ride of page's state?

2009-05-18 Thread HHB
it stateless :) 2009/5/18 HHB hubaghd...@yahoo.ca: Hey, How to get ride of the page's state after the request is done? Thanks. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h

Why I'm getting an empty list?

2009-05-19 Thread HHB
Hey, This problem is really driving me crazy. I have this panel that I want to set it as the content of a ModalWindow. + public abstract class GroupsPalettePanel extends BasePanel { private ArrayListGroup selectedGroups = new ArrayListGroup();

Whats wrong with my component?

2009-05-21 Thread HHB
Hey, I'm trying to create my first component in Wicket: + public class MessageTextArea extends FormComponentPanel { private String text; public MessageTextArea(String id) { this(id, null); } public MessageTextArea(String id, IModel model) {

Writing tests for protected components

2009-05-21 Thread HHB
Hey, I want to write tests for my Wicket pages and panels. The application is guarded via login functionality and all the pages and panels are depending on a User object in the session. I know who to write tests for Wicket, but I'm not sure what to do in my case due the authentication and

Re: Whats wrong with my component?

2009-05-21 Thread HHB
the parent based on its wicket id. In your case, if the MessageVO would have a text property (with setters and getters) everything would work fine. Alex HHB wrote: Hey, I'm trying to create my first component in Wicket: + public class MessageTextArea extends

Re: Whats wrong with my component?

2009-05-21 Thread HHB
the parent based on its wicket id. In your case, if the MessageVO would have a text property (with setters and getters) everything would work fine. Alex HHB wrote: Hey, I'm trying to create my first component in Wicket: + public class MessageTextArea extends

Re: Whats wrong with my component?

2009-05-21 Thread HHB
); add(textArea); } } Also, I don't think that you need at all to setOutputMarkupId to true, do you use ajax? It seems that your component doesn't do anything different than TextArea, what is it's purpose? Alex HHB wrote: MessageVO has the following

Error while trying to run tests

2009-05-24 Thread HHB
Hey, Our application is built on Wicket 1.3.5 , Spring 2.5 and Hibernate 3.2 I'm trying to write tests (with TestNG) for Wicket pages and panels: ++ filter filter-nameWicketFilter/filter-name filter-classorg.apache.wicket.protocol.http.

Re: Whats wrong with my component?

2009-05-24 Thread HHB
? -igor On Thu, May 21, 2009 at 4:45 AM, HHB hubaghd...@yahoo.ca wrote: Hey, I'm trying to create my first component in Wicket: + public class MessageTextArea extends    FormComponentPanel {    private String text;    public MessageTextArea(String id) {        this(id, null

Re: Whats wrong with my component?

2009-05-24 Thread HHB
to what? On Sun, May 24, 2009 at 7:32 AM, HHB hubaghd...@yahoo.ca wrote: Would you please tell me in code (my code I posted earlier) what do you mean? I really appreciate your time and help. igor.vaynberg wrote: you do not bind the model of the textarea to the model

Re: Whats wrong with my component?

2009-05-26 Thread HHB
: So the TextArea gets a CompoundPropertyModel that has a MessageVO object. The MessageVO has a method getLanguage ? How should the TextArea display the contents of MessageVO? HTH /Per 2009/5/24 HHB hubaghd...@yahoo.ca: Ok, the TextArea has its own model so I passed the model

Tips to start writing tests

2009-05-26 Thread HHB
Hey, I want to write tests for my Wicket pages and panels. The application is guarded via login functionality and all the pages and panels are depending on a User object in the session. I know who to write tests for Wicket, but I'm not sure what to do in my case due the authentication and

Re: Tips to start writing tests

2009-05-26 Thread HHB
wicketSession = (MySession) tester.getWicketSession(); wicketSession.setUser(fakeUser); } /Per 2009/5/26 HHB hubaghd...@yahoo.ca: Hey, I want to write tests for my Wicket pages and panels. The application is guarded via login functionality and all the pages and panels are depending

Getting a JS confirmation when uploading via Ajax

2009-06-23 Thread HHB
Hey, I'm uploading a file via Ajax, I literally copied the Wicket sample application. The uploading form is included in a modal window. Upon clicking on the upload button, I got a JavaScript dialog: ++ Are you sure you want to navigate from this page? Reloading this page will cause