Re: UI Layout

2010-07-14 Thread armandoxxx
Hi guys ... I have the same little issue and don't know how to resolve this ... I work on 2 really big projects One is a newspaper web site and other is more of a b2b application. So for newspaper web site, showing all kinds of news and stuff I'm trying with 1 page approach. Reasons: -

Re: UI Layout

2010-07-14 Thread Arjun Dhar
Hi bro, so I need to change page layout markup file( since markup files will have my panels defines) 1. Use Inheritance: What I like about inheritance is you can template and further sub-template without a single line of Java (except for empty class files to represent the page ..I have a

Re: UI Layout

2010-07-14 Thread armandoxxx
Hey ... 10x for fast reply .. I am considering inheritance cause many stuff will be reusable but I have a little tiny problem with my components and trying to figure it out ... let me try to show an example I have my custom component that shows news, labels etc. These news can be

Re: Multiple columns using div with last one on each row different

2010-07-14 Thread Charles Deal
Is your layout fixed at 3 columns? If so, you should be able to add that AttributeModifer to every third item in the repeater. If it is not fixed, but is a liquid layout where the number of columns could change when the browser (or container) is resized, then there is really no way for wicket to

Re: UI Layout

2010-07-14 Thread Ernesto Reinaldo Barreiro
why not use repeaters for things you don't know in advance? Ernesto On Wed, Jul 14, 2010 at 12:09 PM, armandoxxx armando@dropchop.com wrote: Hey ... 10x for fast reply .. I am considering inheritance cause many stuff will be reusable but I have a little tiny problem with my components

Accessing transport within wicketGlobalFailureHandler

2010-07-14 Thread Gast, Thorsten
Hi, I want to use wicketGlobalFailureHandler() to handle some http status codes from an Ajax-Call. Currently I am doing something like this - which works fine - but is in my opinion not very nice. function wicketGlobalFailureHandler() { var t = Wicket.Ajax.transports; for (var

wicket mailing list

2010-07-14 Thread Josh Kamau
Just out of curiosity, how many members are in the wicket mailing list? regards Josh

Editable localized messages

2010-07-14 Thread Harald Wellmann
The combination of wicket:message and custom IStringResourceLoader is really cool for building internationalized applications. We currently use a combination of static strings from property files and dynamic strings stored in a database table loaded via an IStringResourceLoader. To edit a

Re: UI Layout

2010-07-14 Thread armandoxxx
hi .. can you explain what you mean, cause I'm not sure what you mean ... King regards Armando -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/UI-Layout-tp1891867p2288618.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: wicket mailing list

2010-07-14 Thread David Leangen
42 On Jul 14, 2010, at 8:50 PM, Josh Kamau wrote: Just out of curiosity, how many members are in the wicket mailing list? regards Josh - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional

Re: UI Layout

2010-07-14 Thread Ernesto Reinaldo Barreiro
Hi Armando, I mean make custom-label-panel a repeater so that you can dynamically add anything you need. Best, Ernesto On Wed, Jul 14, 2010 at 1:56 PM, armandoxxx armando@dropchop.com wrote: hi .. can you explain what you mean, cause I'm not sure what you mean ... King regards

Re: wicket mailing list

2010-07-14 Thread Ernesto Reinaldo Barreiro
Life is meaningless:-) On Wed, Jul 14, 2010 at 2:04 PM, David Leangen wic...@leangen.net wrote: 42 On Jul 14, 2010, at 8:50 PM, Josh Kamau wrote: Just out of curiosity, how many members are in the wicket mailing list? regards Josh

Re: Editable localized messages

2010-07-14 Thread Martin Grigorov
Check org.apache.wicket.markup.resolver.WicketMessageResolver This is the default handler for wicket:message and it is registered in org.apache.wicket.Application.internalInit() See whether you can extend it. The idea is to generate a href=... super.onComponentTagBody() /a On Wed, 2010-07-14 at

Wicket Training - London, Amsterdam, Brussels, Munich

2010-07-14 Thread Cemal Bayramoglu
Here's the schedule for our next round of public Wicket training [0]: London (jWeekend [1]): August 5-6 (Thu-Fri) August 7-8 (Sat-Sun) September 4-5 (Sat-Sun) September 6-7 (Mon-Tue) Amsterdam (JTeam [2]): August 26-27 (Thu-Fri) Brussels (JTeam [2]): September 23-24 (Thu-Fri) Munich (latest

How to pass context-param values to different WebPages ?

2010-07-14 Thread Madhan
I am new to wicket. I have created a simple web-app which displays my name in a label. However, when I wanted to extend the web app by fetching my name from web.xml, though I was able to get the context parameters in the init method of the application class, I am not sure how to send

Re: UI Layout

2010-07-14 Thread armandoxxx
Hey .. 10x for your reply .. I tried what you suggested but it's not working ...and the way wicket works of course not.. you need wicket:id in a markup and I don't want to write it ... cause I'll probably die before i cover all cases needed by customer... but hey .. 10x again for tryin

RE: How to pass context-param values to different WebPages ?

2010-07-14 Thread Stefan Lindner
Create a getMyName-method in Applicatoin class and call Application.get().getMyName() in your page class Stefan -Ursprüngliche Nachricht- Von: Madhan [mailto:madhan.sundarara...@tcs.com] Gesendet: Mittwoch, 14. Juli 2010 14:58 An: users@wicket.apache.org Betreff: How to pass

Re: How to pass context-param values to different WebPages ?

2010-07-14 Thread Bilgin Ibryam
((YourApplication)getApplication()).getServletContext().getAttribute(attrName); Bilgin On Wed, Jul 14, 2010 at 1:58 PM, Madhan madhan.sundarara...@tcs.com wrote: I am new to wicket. I have created a simple web-app which displays my name in a label. However, when I wanted to extend the

Job opening - Boston area

2010-07-14 Thread Boris Goldowsky
Our educational RD non-profit is looking to hire a programmer who has a real interest in working to improve education. You'd have to be in commuting distance of Wakefield, MA (just north of Boston). The job will involve lots of building experimental web apps using Wicket. Please see

RE: How to pass context-param values to different WebPages ?

2010-07-14 Thread Madhan
I tried the following statement in the constructor of my WebPage class, add( new Label( userName, (IndexApplication.get()).getUserName() ) ); I got the following error, IndexPage.java:10: cannot find symbol symbol : method getUserName() -- View this message in context:

RE: How to pass context-param values to different WebPages ?

2010-07-14 Thread Stefan Lindner
Your are new to Java too? Did you override the get() method in your IndexApplication? If not, IndexApplication.get results in an Applicationobject and not in an IndexApplication object. Either cast it in your opage oder create your own get methodn in IndexApplication. add( new Label(

AW: Page Expired with back button

2010-07-14 Thread Christian Helmbold
Is there already a JIRA ticket for this issue? Would it be possible that wicket is not able to handle a second request in the same session and on the same page, before the first request was completed? Could it be a threading error? Christian - Ursprüngliche Mail Von: Martin

Re: Output just text, no component

2010-07-14 Thread James Carman
You can use a org.apache.wicket.util.template.JavaScriptTemplate. On Wed, Jul 14, 2010 at 9:51 AM, Ted Vinke tvi...@first8.nl wrote:  Hi everybody! I'm trying to accomplish something new with Wicket: output just some text, instead of a component. I simply can't figure out how to dynamically

RE: Multiple columns using div with last one on each row different

2010-07-14 Thread Chris Colman
Is your layout fixed at 3 columns? If so, you should be able to add that AttributeModifer to every third item in the repeater. That's the approach I took. I assumed it's fixed at 3 columns for now and did the change in Java code in the repeater. If I ever need a different column count I'll have

Re: using comet to find all clients using a page

2010-07-14 Thread fachhoch
Please tell me if it works ok on all servers or has problems with any ? I saw some posts telling about problems with jetty , -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/using-comet-to-find-all-clients-using-a-page-tp2283204p2288834.html Sent from the Wicket

Re: UI Layout

2010-07-14 Thread Arjun Dhar
ok, so you mention wicket:id as if its some constant thing. Conceptually a markup tahhed by wicket-id, is no less powerful than injecting a scriptlet or any dynamic script you inject via JSP, PHP. Its like a reference point/range. Who says that anything between that wicket:id condemns you to the

Re: AW: Page Expired with back button

2010-07-14 Thread Martin Grigorov
AFAIK there is no such ticket. Please create one and attach an application that shows the problem. On Wed, 2010-07-14 at 14:03 +, Christian Helmbold wrote: Is there already a JIRA ticket for this issue? Would it be possible that wicket is not able to handle a second request in the

Re: UI Layout

2010-07-14 Thread armandoxxx
Hey all I finally figured out how to do it ... yes it helped to use ListView but at first I did not notice .setReuseItems(boolean) function ... after reading this article http://www.javaworld.com/javaworld/jw-07-2008/jw-07-wicket2.html?page=1 I figured out how to draw whatever I want into

Re: Editable localized messages

2010-07-14 Thread Igor Vaynberg
or rather create a component and use that instead of wicket:message -igor On Wed, Jul 14, 2010 at 5:21 AM, Martin Grigorov mcgreg...@e-card.bg wrote: Check org.apache.wicket.markup.resolver.WicketMessageResolver This is the default handler for wicket:message and it is registered in

Re: wicket mailing list

2010-07-14 Thread Daniel
Martijn Dashorst martijn.dashorst at gmail.com writes: 1199 On Wed, Jul 14, 2010 at 1:50 PM, Josh Kamau joshnet2030 at gmail.com wrote: Just out of curiosity, how many members are in the wicket mailing list? regards Josh Does this number includes the people who post through

AW: Editable localized messages

2010-07-14 Thread Harald Wellmann
Hmm, yes, but then I'd have to add lots of tiny components to my pages. One of the main points of wicket:message is to avoid just that, isn't it? Regards, Harald Von: Igor Vaynberg [igor.vaynb...@gmail.com] or rather create a component and use that

jWicket 0.6.1

2010-07-14 Thread Stefan Lindner
jWicket version 0.6.1 is now in wicketstuff's trunk. New Featuers: - ui-accordion - ui-sortable - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Panel under https

2010-07-14 Thread Jeffrey Schneller
I have a panel which contains a form on my page that is shown as a modal window via JQuery. The page itself is not under https but I would like the form to be submitted via SSL. The form is submitted via an IndicatingAjaxButton. How can I make the form submitted via https but not have the rest

Re: wicket mailing list

2010-07-14 Thread nino martinez wael
Less than there should :) 2010/7/14 Josh Kamau joshnet2...@gmail.com Just out of curiosity, how many members are in the wicket mailing list? regards Josh

Preventing double-click of AjaxButtons in ModalWindow

2010-07-14 Thread Alex Grant
I have ModalWindows whose content contains OK AjaxButtons, which, assuming validation passes, will do some processing and then close the ModalWindow. If a user enters valid data and then double-clicks the OK button they will get an Exception like this one, because Wicket has already processed

TextFilteredPropertyColumn feature?

2010-07-14 Thread Ivan Dudko
Hello! I am using TextFilteredPropertyColumn in my DataTable and it works very well. But when i added second TextFilteredPropertyColumn to my table, i get some fun. Filtering works only when i fill all two inputs (in these TextFilteredPropertyColumn's). And if i fill only one input, it do not do