RE: Error during start of wicket application

2012-04-11 Thread Alex Rass
Seems like a classpath issue. Make sure that all the wicket jars that you need are included in your path. - Alex -Original Message- From: André Schütz [mailto:andre-p...@gmx.de] Sent: Thursday, February 23, 2012 12:13 PM To: users@wicket.apache.org Subject: Error during start of wicket

tomcat deployment issues

2012-04-11 Thread Alex Rass
If someone could help me out with this issue, that would be awesome. Currently: Deploying on Tomcat 6. Default deploy folder is webapps webapps/ROOT is where my 1st wicket app is (lets call it App1) webapps.web2 is another Host record for a different URL. webapps.web2/app2 is my wicket app #2

developers needed

2011-06-28 Thread Alex Rass
Hi. Can use a wicket developer or two for a 3-4 week project. Needs to be able to work legally in US, sign a Non-Disclosure Agreement (NDA) and have an SSN# for a W9 form (to do 1099). Work from home. Gotta be able to show me some wicket work (with source samples) you did in the past. Work

urls after a form submission

2010-10-06 Thread Alex Rass
Hi. After an on-page (wicket) form is submitted, the followed url doesn't follow the page's URL encoding strategy (QueryStringUrlCodingStrategy or any others). It just becomes http://site.com/?wicket...; and loses original page Could someone please tell me if there's a way to fix it easily? Is

RE: urls after a form submission

2010-10-06 Thread Alex Rass
, 2010 8:13 PM To: users@wicket.apache.org Subject: Re: urls after a form submission On Wed, Oct 6, 2010 at 6:59 PM, Alex Rass a...@itbsllc.com wrote: Hi. After an on-page (wicket) form is submitted, the followed url doesn't follow the page's URL encoding strategy (QueryStringUrlCodingStrategy

multiple html pages to 1 class

2010-09-28 Thread Alex Rass
I know this has been raised tons of times, But has anyone ever figured out: how to do this and not screw up page versioning? Any sort of CMS would need this. I am ok with going to 1.5.M2 for this, btw, if that solves it. - Alex.

RE: multiple html pages to 1 class

2010-09-28 Thread Alex Rass
and IMarkupCacheKeyProvider and return whatever html you want, anything will do it as long as it matches component hierarchy. -igor On Tue, Sep 28, 2010 at 7:40 AM, Alex Rass a...@itbsllc.com wrote: I know this has been raised tons of times, But has anyone ever figured out: how to do this and not screw up page

RE: multiple html pages to 1 class

2010-09-28 Thread Alex Rass
at the end or the page name which makes everything fall apart. So I suspect solution is to fix the post form refresh of the url for the BookmarkablePageRequestTargetUrlCodingStrategy and/or for the QueryStringUrlCodingStrategy Or I am open to other suggestions. - Alex Rass -Original Message- From

RE: sanity check request for fix regarding the dreaded PageExpiredException

2010-09-27 Thread Alex Rass
Igor's is 100% right Plus you are forgetting that if you use the default page url constructor - it goes by interface number which will/may change after a redeploy. So your lost url bullet can be fixed if you use some url creation strategy that solidifies in it enough of the path that you can

bookmarkablePage strategy change?

2010-09-27 Thread Alex Rass
by accident? Because now, once things get dynamic, I get: http://site.com/?wicket:interface=:0 and lose my bob (which helped me keep sanity before). Can anyone help? - Alex Rass - To unsubscribe, e-mail: users-unsubscr

RE: bookmarkablePage strategy change?

2010-09-27 Thread Alex Rass
in the encode method and try to step through - it will not match. - Alex Rass - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

RE: bookmarkablePage strategy change?

2010-09-27 Thread Alex Rass
going to 1.5M2 - Alex -Original Message- From: Alex Rass [mailto:a...@itbsllc.com] Sent: Monday, September 27, 2010 9:23 PM To: users@wicket.apache.org Subject: bookmarkablePage strategy change? I have been doing: webApplication.mountBookmarkablePage(/bob, pageClass); for quite some time

RE: Best Practice passing data between Bookmarkable pages

2010-08-17 Thread Alex Rass
I may be missing smth simple, but usually to pass data within a session, I override Session and add whatever holders I need there. You can add a generic set/getMetaObject one if you want - it's your class. Wicket should be able to manage the session objects happily. - Alex -Original

RE: Best Practice passing data between Bookmarkable pages

2010-08-17 Thread Alex Rass
No. I mean: You can getSession() to get to the session object. (I saw you use that so I know you know about it) But in your Application class, you can create whatever session object you want as long as it overrides the right class (there's a method for creating the session you'd override). Then

RE: back link

2010-08-08 Thread Alex Rass
Well, first off, there's a bug: setResponsePage( new TargetPage( new SomeModel(), OriginatingPage.this ); Needs to be part of constructor call: setResponsePage( new TargetPage( new SomeModel(), OriginatingPage.this ) );

RE: Tomcat 7 stylesheet problem

2010-08-06 Thread Alex Rass
Try posting that in the Tomcat forums. 7 is still an early beta. Could be just a bug or a config issue. - Alex -Original Message- From: PDiefent [mailto:pdief...@csc.com] Sent: Friday, August 06, 2010 4:57 AM To: users@wicket.apache.org Subject: Tomcat 7 stylesheet problem Hello, I

back link

2010-08-06 Thread Alex Rass
Hi. Here's a cooky-wacky problem: Added this to my markup: a href=# onClick=history.go(-1) class=backbuttonBack/a But when I am running this under the wicket (w/ FFox), it works great once. Then it starts jumping me back to this page after I leave it. Is there something I should be doing

wicket super-components

2010-08-04 Thread Alex Rass
Hi. Are there any resources on finding larger components? Wicket is SUCH a fantastic architecture for plugin functionality, I am wondering if there is a place to find components like IMAP Email Access Components. Or an FTP Client component etc. Or would that be Wicket-Stuff? (and if it's not

RE: tomcat 7.0.0 getRelativePathPrefixToContextRoot

2010-07-19 Thread Alex Rass
Simple solution: Look at the source for getRelativePathPrefixToContextRoot And if it's a straight through call to tomcat implementation: post a bug with tomcat ppl. If it's something that wicket does wrong: post a bug here (jira) Considering Wicket works with Tomcat 5 and 6, I'd guess you'll

RE: Logging

2010-07-19 Thread Alex Rass
Yup :) Martin's right, this is a bad way of doing it! You should be getting a logger for your own class. So when the logger does log - it knows where the errors come from and helps you create proper stack traces. You'll also have better control over log levels for different classes/packages in

RE: How to support multiple themes in Wicket application.

2010-06-15 Thread Alex Rass
You guys should check out this site: http://www.csszengarden.com/ Note the links on the right. Click them - they'll turn same site into a completely different themes (not even close) by using nothing but CSS. So if you code your site right for CSS, swapping/adding themes should be a no-brainer!

is this a bug in ModelT?

2010-06-15 Thread Alex Rass
Hi. Was writing some code and encountered that org.apache.wicket.model.Model T Always uses direct references to 'object' variable directly. And never as getObject(). This may hinder overriding methods. (I found this cause I overwrote getObject() and NOTHING changed :) I then looked at the

RE: Creating and zipping binary files for download

2010-06-15 Thread Alex Rass
You should consider that 2 users can be doing it at the same time. Which will lead to serious errors. I would suggest using a random file name (or one with session hash in the filename) so you avoid userA downloading userB's download.zip I would think that you should be able to just stream it

RE: is this a bug in ModelT?

2010-06-15 Thread Alex Rass
, 2010 6:11 AM To: users@wicket.apache.org Subject: Re: is this a bug in ModelT? I did something similar and it works. ** Martin 2010/6/15 Alex Rass a...@itbsllc.com: Hi. Was writing some code and encountered that org.apache.wicket.model.Model T Always uses direct references to 'object

RE: Wicket, IntelliJ and xml resource bundles

2010-05-07 Thread Alex Rass
Tom, Write to IntelliJ guys to improve support for wicket. Their XML definition files don't allow a lot of the syntax even in HTML. They are behind on a bunch of stuff for wicket. But they are usually good about listening to end users. I've had them fix a bunch of stuff in the past. They have

RE: Wicket Forms on PS3 Browser

2010-03-13 Thread Alex Rass
Perhaps has to do with: ..., the PS3 browser reports nothing except a user-agent of Mozilla/5.0 (PLAYSTATION 3; 1.00). Everything else is blank. The PS3 apparently does not send an HTTP-Accept header to the server. It supports Javascript but will not divulge which version. Finally, it reports no

RE: Wicket Forms on PS3 Browser

2010-03-13 Thread Alex Rass
Forms on PS3 Browser Good link. I didn't really expect the app to work but I thought the form submit would be the least of my problems. I still find it interesting that forms seem to work for other sites. -- From: Alex Rass a...@itbsllc.com Sent

RE: Print friendly panel (pdf)

2010-02-28 Thread Alex Rass
. Some info: http://www.scottklarr.com/topic/15/css-create-a-style-sheet-for-print-only/ http://www.scottklarr.com/topic/15/css-create-a-style-sheet-for-print-only/ http://webdesign.about.com/cs/css/a/aa042103a.htm On Sat, Feb 27, 2010 at 4:54 PM, Alex Rass a...@itbsllc.com wrote: Josh

RE: Print friendly panel

2010-02-27 Thread Alex Rass
Josh, This doesn't answer your question directly (about a popup). But a MUCH simpler way is to make your page printer friendly by supplying an alternative CSS for printing format (google on that). Makes life much easier. When you tell your page which css to use, you can say use this CSS for

RE: better look modern css for wicket

2010-02-01 Thread Alex Rass
I suspect they don't do it b/c ... it's a job for a designer! I think it's pretty damn good already. And there are already 3 looks for some component (look at the CSS file). And while it wouldn't bring more people to wicket (that's not why ppl go wicket, that's silly), it would make for more

Caching: Expires HTTP header and ETags

2009-12-21 Thread Alex Rass
, - Alex Rass - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

RE: Location of css and js files

2009-12-20 Thread Alex Rass
Global resources you can reference globally. Use can use the non-wicket links. Container hosts folders you can use. Idea behind this is to use components which are fully contained. Hence (all in one place). If this doesn't suit you - there are bunch of tutorials on how to load resources from

RE: Pretty URLs and sessions

2009-12-17 Thread Alex Rass
V, What you are looking for can be addressed in 2 ways. GA gives you a value to add to the page's html: some javascript which calls home and reports URL it was called from. This will tell you which items customers are looking at: item_id=2098 Using HybridUrlCodingStrategy (as per Alex O) will

RE: Pretty URLs and sessions

2009-12-17 Thread Alex Rass
They're so wowed by GA, I doubt there's any turning back. Explain to your guys that GA is Google. If he is ok with Google knowing as much (or more) than you guys do about your own sales - then party on! Go GA! Also, you can track a lot more stuff than GA will let you since you know/own

RE: Redirect after for submit, but not what you think

2009-12-08 Thread Alex Rass
So: always override onSumbit for the buttons and *sometimes* redirect. Tis all. - Alex -Original Message- From: Robert Moskal [mailto:rmos...@mostmedia.com] Sent: Tuesday, December 08, 2009 12:05 PM To: users@wicket.apache.org Subject: Redirect after for submit, but not what you think

RE: making tinyMce TextArea readonly

2009-12-02 Thread Alex Rass
Yeah, would be good to update the whole tinyMCE thing. It's SO popular! It's rather outdated from what's on tinyMCE site. It should really be repackaged with some helper stuff like setReadOnly(true/false). And provide with a convenient tabbed panel for HTML/RAW edit window. Anyone who knows how

RE: How to render raw HTML

2009-12-01 Thread Alex Rass
There was this little class somewhere in help. Obviously needs a little change for getting actual content and piping it out, but from here - it's not far. Hope this helps. /** * Use if you want to redirect entire page and dump this one. */ static class ImportTag extends

RE: Posting A Form To NonWicket

2009-11-21 Thread Alex Rass
know. Thanks for the response. Alex Rass wrote: You could write something on the server end (or your wicket app) that would do it for you. Just use apache http commons or write your own post code. Easy stuff (open socket, couple commands, dump input, close socket). It can even get back

RE: Posting A Form To NonWicket

2009-11-20 Thread Alex Rass
You could write something on the server end (or your wicket app) that would do it for you. Just use apache http commons or write your own post code. Easy stuff (open socket, couple commands, dump input, close socket). It can even get back to the user with error codes from the other server etc if

RE: Intellij9 integration

2009-11-15 Thread Alex Rass
not really inclined to spend my limited free time on it. On Sat, Nov 14, 2009 at 3:12 PM, Alex Rass a...@itbsllc.com wrote: You have a point, but I've been using Idea for... 6+ years now. These guys are very sales oriented. They added GWT support as a point release, like it was a no big deal. When

RE: CompoundPropertyModel

2009-11-14 Thread Alex Rass
Kolya, 2 things: 1) If you still have the old setup: Try stopping server, deploying your stuff to it, starting server. I've had issues with redeploying at runtime (hot deploy) with Tomcat (which is what Glassfish is based on). This is where Jeremy's advice to run Jetty is a good idea. 2)

Intellij9 integration

2009-11-14 Thread Alex Rass
If any of you guys are using Intellij Idea, I HIGHLY suggest you go to the EAP Forum http://intellij.net/forums/forum.jspa?forumID=22 and post that you want Wicket support in 9. They have opened up EAP for version 9 and it's now or god knows when. They are starting an Open Source version this

RE: Intellij9 integration

2009-11-14 Thread Alex Rass
You have a point, but I've been using Idea for... 6+ years now. These guys are very sales oriented. They added GWT support as a point release, like it was a no big deal. When they see there's a demand - they move on it. And if they can add a new popular framework for the launch - they just may,

RE: Error on Websphere 6.1 for Wicket Application

2009-11-13 Thread Alex Rass
It's not a problem. It's a warning. Just means that it's not optimized for production and you will see an ajax debug message in the UI. Everything will run perfectly fine. It's a setting to turn production mode on and off. By the time you write ANYTHING, you would have figured out how to turn it

RE: page without class

2009-11-13 Thread Alex Rass
Yup. Works for me! Or just configure tomcat or whatever you use as servlet container to pick up the files elsewhere. This has totally nothing to do with Wicket. It, very wisely, picks up just the stuff it knows about. All your other requests fall through to Tomcat/servlet engine. In fact, it's

RE: page without class

2009-11-13 Thread Alex Rass
Oh, for that... Try messing with: getRequestCycle().setRequestTarget(new RedirectRequestTarget(access-in-denial.html)); -Original Message- From: fachhoch [mailto:fachh...@gmail.com] Sent: Friday, November 13, 2009 11:36 AM To: users@wicket.apache.org Subject: Re: page without class

RE: page without class

2009-11-13 Thread Alex Rass
... Or by overwriting how page requests are handled. -Original Message- From: Jeremy Thomerson [mailto:jer...@wickettraining.com] Sent: Friday, November 13, 2009 1:14 PM To: users@wicket.apache.org Subject: Re: page without class No. Although you can create a single page (java class)

Security/login for pages?

2009-11-13 Thread Alex Rass
I need a rather simple authentication added to some of my screens. Is WASP still the way to go? Or are there newer/better things now? http://wicketstuff.org/confluence/display/STUFFWIKI/Wicket-Security I could write my own with a panel, 2 tables and a hammer, but I'd rather use something proper

RE: (Frank) page without class

2009-11-13 Thread Alex Rass
Frank, They/he/she wants to just serve static content w/o being probed by wicket. It's there, it's possible, read rest of the threads on it. Yeah, the poster wasn't clear at all at first as to what was needed. It's better further you read. -Original Message- From: Frank Silbermann

RE:(Igor) page without class

2009-11-13 Thread Alex Rass
You could also create an interface to EVERY class in Wicket (as OO suggests). ;) Is there a point in doing it though? If you are NOT handling something - let Tomcat(or whomever) deal with it! Works GREAT for me, btw. 1/2 of my pages are static + all the image resources and other crap. This

RE: HTML Editing component

2009-11-12 Thread Alex Rass
check out the entire tinymce hierarchy and mvn install from the root -igor On Wed, Nov 11, 2009 at 11:58 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: you need to add wicketstuff repo to your repositories pom tag -igor On Wed, Nov 11, 2009 at 11:48 PM, Alex Rass a...@itbsllc.com wrote

To WASP or not to WASP?

2009-11-12 Thread Alex Rass
I need a rather simple authentication added to some of my screens. Is WASP still the way to go? Or are there newer/better things now? http://wicketstuff.org/confluence/display/STUFFWIKI/Wicket-Security Thanks. - To

HTML Editing component

2009-11-11 Thread Alex Rass
Hi. Hi. Did a bit of googling, but didn't find anything good... Anyone ever had to create an edit screen where you can do html/source editor? Any idea what I can use? In other words: I store html in database. I would like to be able to let my users bring it up inside a wicket screen. Edit

RE: HTML Editing component

2009-11-11 Thread Alex Rass
: HTML Editing component TinyMCE is one of the most popular out there, it has some wicket integration already done http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-contrib-tinymce On Wed, 2009-11-11 at 20:02 -0500, Alex Rass wrote: Hi. Hi. Did a bit of googling, but didn't find

RE: Combination CompoundPropertyModel and ChoiceRenderer on DropDownChoice gives problems

2009-11-09 Thread Alex Rass
I am a newb here, so I may be way off, but this works for me: public final static ChoiceRenderer listRenderer = new ChoiceRenderer(description, id); Expose description and id on your model's object. And just add the listRenderer to the DDChoice (last param). Seems a lot simpler than what you

RE: Migrating wivket app from 1.2.4 to 1.4.3

2009-11-04 Thread Alex Rass
They don't cover some breaks in AjaxFallbackDefaultDataTable interfaces. If you don't use those - it's an easy conversion. Make sure you do a clean recompile and it will show you what's broken. Seems like 1.5 is around the corner... May want to wait a little. Though it seems from the messages

RE: Scala, dependency injection and wicket

2009-10-07 Thread Alex Rass
This is similar problem to one I'm trying to solve. Mine's: having several html files have the same java class controlling them. (sounds simple, right?) So far the only reasonable thing came from Martin and that's to override getAssociatedMarkupStream in your own Page class. Which also implies

how to map 2 html files to 1 class?

2009-10-05 Thread Alex Rass
Hi. Spent hours now trying to figure out how to map 2 html files to 1 class. If someone knows the answer - please help. I need to map 10 similar html pages to same class (for same behavior). Doing this: webApplication.mountBookmarkablePage(/page1.html, pageClass); Gets wicket to associate set

RE: how to map 2 html files to 1 class?

2009-10-05 Thread Alex Rass
CommonPage extends WebPage {  public CommonPage() {     if (A-mode) {       new PageVersionAContantHandler(this);     } else {       new PageVersionAContantHandler(this);     }  } } Maybe you wanted something different? ** Martin 2009/10/6 Alex Rass a...@itbsllc.com: Hi. Spent hours now

RE: how to map 2 html files to 1 class?

2009-10-05 Thread Alex Rass
using variant or style? http://cwiki.apache.org/WICKET/localization-and-skinning-of-applications.htm l Scott On Mon, Oct 5, 2009 at 2:35 PM, Alex Rass a...@itbsllc.com wrote: Yeah, that's what I had before. (Many fake classes that do nothing but extend default one). But I have multiple sites

RE: how to map 2 html files to 1 class?

2009-10-05 Thread Alex Rass
PageA.html PageB.html PageC.html Think about it this way: PageA.html = Privacy Page PageB.html = SiteMap Page. I want to handle them both in same java class file cause hardly anything is going on there. -Original Message- From: Martin Makundi

RE: how to map 2 html files to 1 class?

2009-10-05 Thread Alex Rass
@wicket.apache.org Subject: Re: how to map 2 html files to 1 class? But if all three html files are associated with the same Java class, how does this differ from separate skins? Is the distinction semantic, or am I missing something? Scott On Mon, Oct 5, 2009 at 2:44 PM, Alex Rass a...@itbsllc.com

RE: how to map 2 html files to 1 class?

2009-10-05 Thread Alex Rass
] Sent: Monday, October 05, 2009 6:27 PM To: users@wicket.apache.org Subject: Re: how to map 2 html files to 1 class? What are you handling there ? ** Martin 2009/10/6 Alex Rass a...@itbsllc.com: PageA.html PageB.html PageC.html Think about it this way: PageA.html  = Privacy Page PageB.html

RE: how to map 2 html files to 1 class?

2009-10-05 Thread Alex Rass
, Alex Rass a...@itbsllc.com wrote: Standardizing footers across the site. So I will have a dozen pages which are bare content + footer from a common file/db. I don't want to have THAT many useless classes. If I do - wicket is a failure. -Original Message- From: Martin Makundi