Hi,As my first wicket exercise I thought I'd create a little utility like wicket application. My application needs to log in to a server on a few occations. I'd like to create a generic login panel and reuse that on my other pages when credentials are required.
So I started of creating a panel wit
On Tue, 2006-06-20 at 08:42 -0700, Igor Vaynberg wrote:
> i wonder how big the created state machine is for this beast :)
It's quite big. I just tried to profile it and compare it to the regex,
which Michael Korthuis provided. If I can calculate correctly it is over
100 times larger than Michaels
I see there is some disagreement on
http://sourceforge.net/tracker/index.php?func=detail&aid=1485695&group_id=119783&atid=684977
but that Johan basically wants to adopt the change in a slightly
different manner. I think he is currently in Germany watching soccer
matches, but hopefully he'll look in
Looks to me like you have some classpath problems. Try cleaning up
your projects and make sure you don't have duplicate entries etc.
Eelco
On 6/20/06, Ittay Dror <[EMAIL PROTECTED]> wrote:
> i get this stack trace the first time i try to access a page. the page is a
> simple form (no ajax/uplo
I changed PackageResource so that the constructor is protected instead
of private now. Having a private constructor in a non final class
doesn't make sense anyway.
Could you try if extending that class and overriding setHeaders does
the job for you?
Eelco
On 6/20/06, jan_bar <[EMAIL PROTECTED]>
Without having tested it. IHeaderContributor is the major interface
and it has one method void renderHead(final Response response); The
Page calls visitChildren to iterate over all components and the
components iterate over all there behaviors. Hence, if an ajax
response should include the header c
or since we do use a factory for creating application/session objects you can write a factory that pulls the session out of spring context where it is declared as a prototype bean.-Igor
On 6/20/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
so far we only targetted the components being injected becau
so far we only targetted the components being injected because that is what users asked for. its trivial to inject any object you wantclass MySession extends WebSession() {@SpringBean Foo bar; MySession() {
InjectorHolder.getInjector().inject(this); ... }}-IgorOn 6/20/06, Martijn Dashors
juergen is there an easy way to capture the wicket:head output from an ajax render into the ajax target? i think we can just dump it as part of ajax response via document.write or something like that.-Igor
On 6/20/06, samyem <[EMAIL PROTECTED]> wrote:
Has this problem been fixed yet? This is becomi
I haven't seen Karthik's content, so I can't speak for him. As for the
book Martijn and me are writing: we have a bunch of Manning editors
and proofreaders making sure we don't make a mess of the book. Wicket
In Action will not only explain you how to do things, but also why and
tries to give you a
It's not out yet, and it will take some more months to write. It will
be published by Manning as part of the ... In Action series (Wicket In
Action).
Eelco
On 6/20/06, Michael Welter <[EMAIL PROTECTED]> wrote:
> Is Eelco's book in English, and where can I find it?
>
> Thanks,
>
> karthik Guru wr
i get this stack trace the first time i try to access a page. the page is a
simple form (no ajax/upload)
javax.servlet.ServletException: Servlet.init() for servlet wicket threw
exception
Stack Trace:
* Message: javax.servlet.ServletException: Servlet.init() for servlet
wicket threw except
Has this problem been fixed yet? This is becoming a major problem in my
project.
--
View this message in context:
http://www.nabble.com/Ajax-Panel-Include-t1606490.html#a4957969
Sent from the Wicket - User forum at Nabble.com.
___
Wicket-user mailing
i wonder how big the created state machine is for this beast :)-IgorOn 6/20/06, Frank Bille Jensen <
[EMAIL PROTECTED]> wrote:Thats right.. In our company we use the (crazy) regex pattern taken from
http://www.ex-parrot.com/~pdw/Mail-RFC822-Address.htmlString emailPattern = "(?:(?:\\r\\n)?[ \\t])*(
Yeah...I could use some bookmarkable pages but just didn't. Since
we're doing paid advertising and not worry so much about indexing on
google it wasn't a huge concern to get one or two pages in the entire
cart indexed - the snakeriverfarms.com site is more of a brochure site
and they'd probably ta
Thanks to both karthik & eelco !
But despite the excitement, I'm always worried that the wicket books
turn out to be some sort of reference manual which wicket is missing.
What I like about books like 'Hibernate in Action', etc. is that they
show you how to build real world apps, various design
Is Eelco's book in English, and where can I find it?
Thanks,
karthik Guru wrote:
> Thank you all! .
>
> Eelco > Hey, competition :)
>
> Eelco No! I dont think it exists :) and even if it does am definitely
> not a part of it :) Wicket probably has competition from Tapestry, Echo,
> Facelets a
Thank you all! .Eelco > Hey, competition :)Eelco No! I dont think it exists :) and even if it does am definitely not a part of it :) Wicket probably has competition from Tapestry, Echo, Facelets and the like :). It is turning out to be great fun (and quite a challenge) writing the book as Nick ment
My resource is static file, so naturaly I want to use PackageResource. But I
cannot override the configureResponse() or setHeaders() because
PackageResource has private contructor. I cannot resue this class.
Thanks Jan
"Eelco Hillenius" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Nili Adoram wrote:
> Hi all,
>
> I have a problem resolving a stylesheet link as follows:
>
> This is the markup:
> rel="stylesheet" type="text/css">
why is globalCss needed? the servlet gets a request for a url, which is
mounted, so it can just request the resource locator of the mount to
Hi all,
I have a problem resolving a stylesheet link as follows:
This is the markup:
This is the component:
add(new StyleSheetReference("globalCss",new
PackageResourceReference(Application.get(),
RssSettings.class, "include/global_en.css")));
The PackageResourceReference indeed e
Thanks Eelco,
> Additionally, you could consider using Resource.setCacheable(false),
> and then the IResourceStream's (or actually IModifiable's)
> lastModifiedTime result is used.
Actually (in wicket 1.2), the Resource.setCacheable(false) will call
response.setLastModifiedTime(Time.valueOf(-1))
The application issue is known
(http://sourceforge.net/tracker/index.php?func=detail&aid=1458736&group_id=119783&atid=684975)
and won't be fixed in 1.2 as it will break backwards compatibility.
Could you file a RFE for the Session injector?
Martijn
On 6/20/06, Stefan Arentz <[EMAIL PROTECTED]> w
On 6/16/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> no, there are no problems with wicket-spring poject other then some people
> dont think its a "true" way to integrate with spring. sigh.
I have some more concrete issues with the current spring integration code.
First, it is intrusive. Instea
Link link = new Link("link") { public void onClick() {} };
link.add(new Label("content", "Hello, World!"));
Martijn
On 6/20/06, Alex Objelean <[EMAIL PROTECTED]> wrote:
>
> I just started to learn the Wicket Framework, so sorry for a trivial
> question... (I couldn't find the solution on the fo
I just started to learn the Wicket Framework, so sorry for a trivial
question... (I couldn't find the solution on the forum):
How can I change the innerHTML of the Link component dynamically?
For instance in the following code:
Page1
new Link("navLink") {
You can override Resource.configureResponse or WebResource.setHeaders.
Additionally, you could consider using Resource.setCacheable(false),
and then the IResourceStream's (or actually IModifiable's)
lastModifiedTime result is used.
Eelco
On 6/19/06, jan_bar <[EMAIL PROTECTED]> wrote:
> Hi,
>
>
Yeah I know. The regex is really frightening to most people (my self
included), but AFAIK it should actually be the only one which truly
validates the full RFC; for what it's worth.
Regards
Frank Bille
Avaleo
On Tue, 2006-06-20 at 10:37 +0200, Michiel Korthuis wrote:
> I am currently working on m
I am currently working on my graduation(project) @ Topicus with another student (Ronald Hemmink). We are new to Wicket and before we saw the wicket-build-in validator we came up with our own _expression_:^[_A-Za-z0-9-]+(\\.[_A-Za-z0-9-]+)[EMAIL PROTECTED](\\.[A-Za-z0-9-]+)*((\\.[A-Za-z]{2,}){1}$)
t
Thats right.. In our company we use the (crazy) regex pattern taken from
http://www.ex-parrot.com/~pdw/Mail-RFC822-Address.html
String emailPattern = "(?:(?:\\r\\n)?[ \\t])*(?:(?:(?:[^()<>@,;:\\\".\\[\\]
\\000-\\031]+(?:(?:(?:\\r\\n)?[ \\t]"
+
")+|\\Z|(?=[\\[\"()<>@,;:\
hi,In wicket.markup.html.form.validation.EmailAddressPatternValidator.java the validation-_expression_ is incorrect.the regular _expression_ reads:^[_a-z0-9-]+(\\.[_a-z0-9-]+)[EMAIL PROTECTED](\\.[a-z0-9-]+)*(\\.[a-z]{2,3})$
According to this _expression_ the TLD is 2 or 3 characters, but that's in
I'll look into it tomorrow (going to bed now).
Cheers,
Eelco
On 6/20/06, Jean-Baptiste Quenot <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I'm new to the mailing-list, and very interested in Wicket. I
> designed recently an application that generates user interface
> based on a RDF schema.
Hello,
I'm new to the mailing-list, and very interested in Wicket. I
designed recently an application that generates user interface
based on a RDF schema. To make it work, the VelocityPanel needs
to not allow nested Wicket components, ie request Wicket to
process the merged temp
As far as I understand it, all root mapping problems are solved when
we use the servlet filter we have in 2.0 instead of the wicket servlet
of pre-2.0. It's probably easy to back port, but the only problem is
that it breaks the API in some places (like
WebApplication.getWicketServlet will be replac
Found it!
The problem is:
wicket
/*
vs
wicket
/foo/*
That took a while to figure out :-/
Eelco told me that this will be solved when the Listener is backported
to 1.2. I might take a stab at that today if I can find some time.
S.
On 6/19/06, Stefan Arentz
No idea. Most of us (people that I know around here) run their Wicket
apps straight from the IDE. And there's nothing magical going on in
wicket-auth-roles-examples either...
Eelco
On 6/19/06, Stefan Arentz <[EMAIL PROTECTED]> wrote:
> I have a really odd problem here. I'm working on a simple ap
36 matches
Mail list logo