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
, but you can always do
>> like this:
>>
>> CommonPage.html:
>> blabla ...
>>
>> CommonPage.java:
>> public class CommonPage extends WebPage {
>> public CommonPage() {
>> if (A-mode) {
>> new PageVersionAContantHandler(thi
you considered 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 wrote:
> Yeah, that's what I had before. (Many fake classes that do nothing but
> extend default one).
> But I have
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 [mailto:martin.maku...@koodaripalv
To: users@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
t.com]
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 :
> PageA.html <> PageB.html <> PageC.html
>
> Think about it this way:
> PageA.html
, Alex Rass 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--
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 re
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 that
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
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 html
Re: 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 googlin
e you check out the entire tinymce hierarchy and mvn
install from the root
-igor
On Wed, Nov 11, 2009 at 11:58 PM, Igor Vaynberg
wrote:
> you need to add wicketstuff repo to your pom tag
>
> -igor
>
> On Wed, Nov 11, 2009 at 11:48 PM, Alex Rass wrote:
>> Went to the page
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 unsubscribe,
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
o
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 co
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
... 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) th
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
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 [mailt
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 behav
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) Mak
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
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,
to
t using Wicket more often or it doesn't meet my
> needs, I'm not really inclined to spend my limited free time on it.
>
> On Sat, Nov 14, 2009 at 3:12 PM, Alex Rass wrote:
>
>> You have a point, but I've been using Idea for... 6+ years now.
>> These gu
'm getting ready to release 0.5.7 this week.
On Sun, Nov 15, 2009 at 11:49 AM, Alex Rass wrote:
> Would be good if it told you about "unmentioned" wicket:ids from the html
> so
> you didn't have to wait till you run.
> Or if you are declaring a component that it
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 y
27;m posting the form. Please let me 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 co
Hi.
Anyone has any recommendations for a Wicket based e-commerce solution?
(Paid or OpenSource.)
Thanks
- Alex.
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.ap
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 WebMarku
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 t
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
H
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) wil
> 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
everythi
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 el
7;m after a recommendation
>> as to what is the best way to do this in wicket.
>>
>> The way that allows the html markup to be opened by the web designer
>> showing the same page view that appears at runtime.
>>
>> Thanks
>>
>> Dale
>>
>
hanks,
- Alex Rass
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
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 sup
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
pri
our page is a "Print" link
>> that invokes the Print dialog, no other popups ontop of popups.
>>
>> 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-f
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 n
Re: Wicket 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"
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 fo
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!
Hi.
Was writing some code and encountered that
org.apache.wicket.model.Model
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 sour
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 righ
]
Sent: Tuesday, June 15, 2010 6:11 AM
To: users@wicket.apache.org
Subject: Re: is this a bug in Model?
I did something similar and it works.
**
Martin
2010/6/15 Alex Rass :
> Hi.
>
> Was writing some code and encountered that
> org.apache.wicket.model.Model
>
> Always
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 end
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 th
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
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 tri
Hi.
Here's a "cooky-wacky" problem:
Added this to my markup:
Back
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 differently to create a back button? :)
I know this i
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 )
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 Message
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 you
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 r
e place 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-
n 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
t requires 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", pageCla
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.
-
r 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 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 versioni
t 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-
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?
I
[mailto:jer...@wickettraining.com]
Sent: Wednesday, October 06, 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 wrote:
> Hi.
>
> After an on-page (wicket) form is submitted, the followed url doesn't
>
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 wicke
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
No
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 woul
67 matches
Mail list logo