Re: When NOT to use models ?

2009-10-27 Thread Michael Mosmann
Am Montag, den 26.10.2009, 10:24 +0200 schrieb Martin Makundi: Hmm, maybe I'm missing something, but if you want to have EVALUATED once per request, I think the following should be sufficient. (unless I'm missing somtething) I want a generic centrally managed solution. I don't want to

Re: Wicket-stuff site down?

2009-10-27 Thread nino martinez wael
Yeah it does look that way. Anyone around to take a look at the server? 2009/10/27 Brill Pappin br...@pappin.ca I don't think this is maintenance, unless they have an extremely long running SQL export or something. I'd say broken at this point. - Brill On 2009-10-26, at 7:26 PM, nino

Re: Wicket-stuff site down?

2009-10-27 Thread Johan Compagner
i already did that its up again but it was AGAIN disk full problems and that is because of that STUPID maven that generates unique snapshots Who is the maven expert here that will FIX that problems on all our pom files? i have been deleting stuff now for at least 1 hour! johan On Tue, Oct 27,

Re: Isssues in Modal Window display in IE8

2009-10-27 Thread vela
Hello again, Wicket 1.3 is used -- View this message in context: http://www.nabble.com/Isssues-in-Modal-Window-display-in-IE8-tp26047156p26074763.html Sent from the Wicket - User mailing list archive at Nabble.com. - To

Re: Wicket-stuff site down?

2009-10-27 Thread Martin Grigorov
There was only one distributionManagement in wicketstuff-core/pom.xml (and sub-modules) without the needed setting: snapshotRepository idwicketstuff-org-maven/id urlscpexe://wicketstuff.org/home/wicket/tomcat/webapps/maven/repository/url uniqueVersionfalse/uniqueVersion

GuiceInjector

2009-10-27 Thread uud ashr
Hi, I need to use InjectorHolder.getInjector().inject(...) but I'm using Guice (not Spring), I searching trough the code but I can't find how to do InjectorHolder.setInjector(...a guice injector...). Can someone (comitters) add GuiceInjector, it will be looks like: import

Re: Wicket-stuff site down?

2009-10-27 Thread Martin Grigorov
One more fixed: wicketstuff-animator/pom.xml According to http://maven.apache.org/pom.html#Distribution_Management these fixes should be enough. @Johan: if the build still produces unique versions of the snapshots please tell us which are the problematic projects. El mar, 27-10-2009 a las

Re: Setup for stepping into wicket source in eclipse

2009-10-27 Thread Nicolas Melendez
is your build automatically checked? On Mon, Oct 26, 2009 at 1:07 AM, Flavius flav...@silverlion.com wrote: I am trying to debug an issue and am trying to step into wicket from my project. However, the line numbers are not matching up with the source I have. I've done this several times

Force page expiration

2009-10-27 Thread Tomás Rossi
Hi, I have another question... in Wicket (1.4.2), can I force the expiration of a page? Specifically, if users hit browser's back-button, I'd like to show them the page-expired message. I've already tried to invalidate the session, but I got a horrible exception when re-submitting the form

Re: container based authentication

2009-10-27 Thread PDiefent
I've uploaded a little Eclipse Project without WEB-INF/lib/libraries - perhaps anybody can help to get it running ... PDiefent wrote: Hello, I try to secure my wicket appication with container based authentication. The problem is, that all users can log also if they don't have the

urlFor(ResourceReference) strangeness

2009-10-27 Thread pieter claassen
WHen I start my application, my urlFor() returns a different URL than when I call it a second time? ResourceReference iconref = new ResourceReference(anchorclass, iconname); System.out.println(URL: +urlFor(iconref)); First time it returns: URL:

Re: Force page expiration

2009-10-27 Thread Pedro Santos
The page returned from back button came from pagemap. Make sure to remove it from there and you get the expired exception. On Tue, Oct 27, 2009 at 11:57 AM, Tomás Rossi tro...@mecon.gov.ar wrote: Hi, I have another question... in Wicket (1.4.2), can I force the expiration of a page?

Check(box) loses checked state after error

2009-10-27 Thread Matthias Keller
Hi I'm using a CheckGroup together with a few Check in a repeater because the number of boxes displayed is dynamic. This works fine and the data gets stored in the model correctly when submitting. However, if another form component fails in the validation, all checkboxes are getting

Re: urlFor(ResourceReference) strangeness

2009-10-27 Thread Ryan McKinley
urlFor( ) uses the current request to get a relative path. If the location you are calling urlFor() from changes, it will get a new location Note the only difference between the two urls is the ../../.. prefix On Oct 27, 2009, at 11:05 AM, pieter claassen wrote: WHen I start my

Re: Check(box) loses checked state after error

2009-10-27 Thread Martin Makundi
I'm using a CheckGroup together with a few Check in a repeater because the number of boxes displayed is dynamic. If you have a repeater the redraw event instantiates NEW checkboxes.. so ofcourse you lose the staete. I have built a reusemanager that copies the old state. Usage sould be quite

RE: Release 1.4.3

2009-10-27 Thread Corbin, James
James, Do you know when the official release of 1.4.3 is happening? By official I mean the Apache Wicket Website updated with the release announcement and links to the official package downloads. J.D. -Original Message- From: James Carman [mailto:jcar...@carmanconsulting.com]

Re: remove all behaviors of a certain type

2009-10-27 Thread keithrbennett
Sean - This is a little off topic, but for writing this kind of thing, I highly recommend Google Collections framework. You write a simple filter method (called a Predicate), and then call Collections2.filter() to return a collection over which you can iterate to remove the behaviors. - Keith

Re: Release 1.4.3

2009-10-27 Thread Matthias Keller
Corbin, James wrote: James, Do you know when the official release of 1.4.3 is happening? By official I mean the Apache Wicket Website updated with the release announcement and links to the official package downloads. J.D. Well, it is as official as can be, they just have some troubles

RE: Release 1.4.3

2009-10-27 Thread Corbin, James
Okay, that's good enough for me...I want to upgrade from 1.4.1 to 1.4.3 and wanted to be sure it was frozen (as much as can be expected for an open source product). Thanks, j.D. -Original Message- From: Matthias Keller [mailto:matthias.kel...@ergon.ch] Sent: Tuesday, October 27, 2009

Re: Setup for stepping into wicket source in eclipse

2009-10-27 Thread Pedro Santos
Debug Configuration your server configuration Source tab remove older source codes from it if there is one On Tue, Oct 27, 2009 at 10:55 AM, Nicolas Melendez nmelen...@getsense.com.ar wrote: is your build automatically checked? On Mon, Oct 26, 2009 at 1:07 AM, Flavius

Re: Check(box) loses checked state after error

2009-10-27 Thread Pedro Santos
call ListView.setReuseItems(true) On Tue, Oct 27, 2009 at 1:24 PM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: I'm using a CheckGroup together with a few Check in a repeater because the number of boxes displayed is dynamic. If you have a repeater the redraw event

Re: Check(box) loses checked state after error

2009-10-27 Thread Martin Makundi
call ListView.setReuseItems(true) That will work too in simple cases... ** Martin On Tue, Oct 27, 2009 at 1:24 PM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: I'm using a CheckGroup together with a few Check in a repeater because the number of boxes displayed is dynamic.

Re: Check(box) loses checked state after error

2009-10-27 Thread Matthias Keller
Hi Pedro Thanks, that worked for me! Matt Pedro Santos wrote: call ListView.setReuseItems(true) On Tue, Oct 27, 2009 at 1:24 PM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: I'm using a CheckGroup together with a few Check in a repeater because the number of

Treetable nodes with no links

2009-10-27 Thread sakthi vel
Hello, The tree table should be generated with links for certain nodes and no links for certain nodes. Can anyone tell how to acheive this

Odd even class for each row in tree table

2009-10-27 Thread sakthi vel
Hello, In the data table the odd and even class for each row is acheived by overriding protected Item newRowItem(String id, int index, IModel model) { return new OddEvenItem(id, index, model); } Can anyone tell how acheive the odd and even class for each row in TreeTable.

Generate dynamic tables

2009-10-27 Thread sakthi vel
Hello, How to generate tables with dynamic columns using any one of the repeaters. I need to parse the xml and generate the table based on the xml data. Can anyone tell how to acheive this functionality in wicket

Re: Treetable nodes with no links

2009-10-27 Thread Pedro Santos
you can override newNodeLink or newLink methods to return disabled links, or any other components On Tue, Oct 27, 2009 at 2:11 PM, sakthi vel vela@gmail.com wrote: Hello, The tree table should be generated with links for certain nodes and no links for certain nodes. Can anyone tell how

Wicket HTML before graphics design with CSS ...

2009-10-27 Thread Ashley Aitken
Hi All, Just a quick question. Can someone please provide some pointers to Wicket-specific or general CSS information on how best to produce Web pages (dynamic pages generated with Wicket) that a graphics designer can then come in and produce appropriate graphics and CSS style sheets

Re: Generate dynamic tables

2009-10-27 Thread Pedro Santos
You can use table form wicketstuff if you like to create an tableModel to present your xml data. Then you get dynamic columns... On Tue, Oct 27, 2009 at 2:22 PM, sakthi vel vela@gmail.com wrote: Hello, How to generate tables with dynamic columns using any one of the repeaters. I need to

Tree table with check box

2009-10-27 Thread sakthi vel
Hello, I have a single column in the tree table. But I need to have check box in the same column along with nodes and not in the seperate column. Can anyone tell how to acheive this.

Re: Wicket HTML before graphics design with CSS ...

2009-10-27 Thread Martin Makundi
I would just give the artist the freedom to do what ever he wants... and then just refactor what's necessary afterwards. ** Martin 2009/10/27 Ashley Aitken mrhat...@mac.com: Hi All, Just a quick question. Can someone please provide some pointers to Wicket-specific or general CSS

jquery ui dialog and ajax component updating

2009-10-27 Thread Jason Novotny
Hi, I'm not sure if this is a jquery or wicket problem I'm having. I am using wicket ajax to update (replace) a panel component with a link AjaxLink link = new AjaxLink(link) { public void onClick(AjaxRequestTarget target) {

Time textfield

2009-10-27 Thread hill180
I understand there is the DateTimeField, is there a textfield specifically for time only. Or a way to turn the date off in the DateTimeField. Thanks!

Re: Wicket HTML before graphics design with CSS ...

2009-10-27 Thread John Armstrong
I wouldn't do it. The churn of implementing a UI before its designed is huge. In my opinion your better off watching cartoons for the month it takes the UI to be developed because you'll most likely waste that month trying to adapt your UI implementation to the reality of what is developed by the

Re: Time textfield

2009-10-27 Thread Pedro Santos
Hi, I'm using DateTextField in one project, like: new DateTextField(time, null, new PatternDateConverter(HH:mm, true)) On Tue, Oct 27, 2009 at 2:55 PM, hill180 hill...@gmail.com wrote: I understand there is the DateTimeField, is there a textfield specifically for time only. Or a way to turn

Re: Wicket-stuff site down?

2009-10-27 Thread Johan Compagner
you can easily check it your self for example: http://www.wicketstuff.org/maven/repository/org/wicketstuff/annotation/1.4-SNAPSHOT/ johan On Tue, Oct 27, 2009 at 11:59, Martin Grigorov mcgreg...@e-card.bg wrote: One more fixed: wicketstuff-animator/pom.xml According to

Re: Wicket HTML before graphics design with CSS ...

2009-10-27 Thread Ashley Aitken
Thanks Martin and John. I realise that most projects start with Web/GUI storyboards and perhaps even fully graphically designed pages and then add the dynamic stuff. However, I think my situation is somewhat the reverse. I want to design the logical interface myself, header, footers,

Re: Wicket HTML before graphics design with CSS ...

2009-10-27 Thread John Armstrong
It makes sense what you are asking and it can be done. If you logically construct your div structure and liberally apply divs/spans so that your eventually CSS implementor can uniquely address any element on the page. More spans/divs will be better. For example, if you have an area of the page

Re: Wicket HTML before graphics design with CSS ...

2009-10-27 Thread John Armstrong
Oh and don't use an automated tool. It'll add far too much extraneous noise to your files that will complicate the CSS skinning you are after later. Hand code it and then move it around in CSS by hand. This is my opinion. I know our CSS team hates it when someone sends them something done in a

Re: Isssues in Modal Window display in IE8

2009-10-27 Thread TahitianGabriel
It should be just fine with 1.3.6. vela wrote: Hello again, Wicket 1.3 is used -- View this message in context: http://www.nabble.com/Isssues-in-Modal-Window-display-in-IE8-tp26047156p26082335.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: Force page expiration

2009-10-27 Thread Tomás Rossi
Nothing seems to work. Does the fact that the page I want to expire is the home page has anything to do with it? Pedro Santos escribió: The page returned from back button came from pagemap. Make sure to remove it from there and you get the expired exception. On Tue, Oct 27, 2009 at 11:57

Re: Force page expiration

2009-10-27 Thread Pedro Santos
You are aware that to an page expire, it has to be statefull, right? In a statefull page: getPage().getPageMap().clear() and the previous versions will to be removed from pagemap, then you got the page expired when try to back to then... On Tue, Oct 27, 2009 at 4:05 PM, Tomás Rossi

Re: Tree table with check box

2009-10-27 Thread Per Newgro
sakthi vel schrieb: Hello, I have a single column in the tree table. But I need to have check box in the same column along with nodes and not in the seperate column. Can anyone tell how to acheive this. Use a markupcontainer and add both components to it. Then add container as cell.

Re: urlFor(ResourceReference) strangeness

2009-10-27 Thread pieter claassen
Ok, but I have a panel and I want to add an Image to the panel but when I log into my application I get the ../../.. prefix, and the ResourceReference then fails. However, once I click on any link, the prefix disappears and then my panel can find the ResourceReference. Am I misunderstanding how

RE: Wicket HTML before graphics design with CSS ...

2009-10-27 Thread Corbin, James
Hi, I'll weigh in on this discussion if you don't mind. It sounds like you've already made up your mind on how you want to proceed. You can definitely take the approach you describe below, but it removes some of the freedom from the designer if they have to conform to a preconceived styling

Wicket GAE Performance

2009-10-27 Thread Alexander Elsholz
Hi, we build a wicket-application, running in gae - all works fine. but when deploying on gae-environment the performance is terrible (tried development and deploymentmode). an ajax-call takes more than 3 secounds. i logged all database-queries - no problem there. we lost time anywhere in

Re: Wicket GAE Performance

2009-10-27 Thread Pedro Santos
What profiler is telling you? I had performance problem on file system file access, and solve it removing this time consuming task from the wicket-request-cycle thread On Tue, Oct 27, 2009 at 5:36 PM, Alexander Elsholz alexander.elsh...@widas.de wrote: Hi, we build a wicket-application,

Wicket and JQuery

2009-10-27 Thread Jeffrey Schneller
I am trying to determine how to use Wicket and JQuery. I would prefer not using wiQuery or similar. I would like to just include the jQuery libraries in my html and then use jQuery as javascript and not wrap everything in java on the server side to generate the client code. How would one go

Using email in SignInPanel Username

2009-10-27 Thread Swarnim Ranjitkar
I'm trying to use wicket signinpanel . When and choose remember me checkbox and use email address in username (eg@ttt.com , next time when i come it it just remembers abc as user name instead of a...@ttt.com). It seems when storing and retreving value from cookies we need to encode and

Re: Wicket and JQuery

2009-10-27 Thread Jeremy Thomerson
I'd suggest only using jQuery for the UI effects and let Wicket do the AJAX. -- Jeremy Thomerson http://www.wickettraining.com On Tue, Oct 27, 2009 at 4:06 PM, Jeffrey Schneller jeffrey.schnel...@envisa.com wrote: I am trying to determine how to use Wicket and JQuery. I would prefer not

Re: Release 1.4.3

2009-10-27 Thread Jeremy Thomerson
1.4.3 is definitely frozen. Just that confluence replication is not working for the site right now. (bummer) -- Jeremy Thomerson http://www.wickettraining.com On Tue, Oct 27, 2009 at 10:53 AM, Corbin, James jcor...@iqnavigator.comwrote: Okay, that's good enough for me...I want to upgrade

images not cached

2009-10-27 Thread Fernando Wermus
Hi all, I am testing an app in production and I have reached a problem you may help solve me. Like the war files were big, I decided to move all static images to a folder in production and add the following code to my Applicacion class. mount(new URIRequestTargetUrlCodingStrategy(/images) {

Re: Wicket HTML before graphics design with CSS ...

2009-10-27 Thread Ashley Aitken
Thank you all. So it seems what I am trying to do is not completely impractical. Perhaps though I could let them edit the HTML files as well (as long as they maintain the logical / hierarchical structure I guess). I just wanted to make it easier for them to do things consistently

Re: Odd even class for each row in tree table

2009-10-27 Thread Jeremy Thomerson
Something like this oughta work protected Item newRowItem(String id, int index, IModel model) { Item item = super.newRowItem(String id, final int index, IModel model); item.add(new AttributeModifier(class, true, new AbstractReadOnlyModelString() { return index % 2 == 0 ? even

Re: Wicket HTML before graphics design with CSS ...

2009-10-27 Thread Dave B
thought CSS styles would be the way to go. Oh, you should definitely use CSS and web standards based markup. You should be able to apply the most basic style to it yourself so you can get the functionality going. Google 3 column layout or something similar for a basic css based layout. While

Re: Wicket HTML before graphics design with CSS ...

2009-10-27 Thread John Armstrong
Its amazing what designers can screw up :) Design can have a huge impact on code. This peaceful co-existence can really only occur if you let the designers go first. If you start with wicket you will either A) tell your designers to go to h*ll daily or B) spend hours and hours re-factoring to

Re: Wicket HTML before graphics design with CSS ...

2009-10-27 Thread Igor Vaynberg
really? because we have quiet the opposite experience. we take a wireframe prototype, build it, and have the designer go in afterwards and pretty it up. with only a couple of hours of wicket-related training the designers know what to touch and what not to touch. -igor On Tue, Oct 27, 2009 at

Re: Wicket HTML before graphics design with CSS ...

2009-10-27 Thread John Armstrong
Totally divergent now but its an interesting topic. We segment our Designers, HTML implementors and Java developers. Thats probably the key difference. Our designers work in photoshop or illustrator to pretty exacting requirements. This lets us contract out design work to a variety of firms

Re: Wicket HTML before graphics design with CSS ...

2009-10-27 Thread Igor Vaynberg
On Tue, Oct 27, 2009 at 9:36 PM, Ashley Aitken mrhat...@mac.com wrote: Hi Igor (et al.), On 28/10/2009, at 12:21 PM, Igor Vaynberg wrote: we take a wireframe prototype, build it, and have the designer go in afterwards and pretty it up. Great, that is what I was hoping for. Any tips on