Hi Boris,
thank you for doing the job. I have tested jWicket again and everything looks
fine.
Stefan
-Ursprüngliche Nachricht-
Von: Boris Goldowsky [mailto:bgoldow...@cast.org]
Gesendet: Mittwoch, 24. März 2010 22:14
An: users@wicket.apache.org
Betreff: Wicketstuff updated!
As discuss
Use same label localization property name as wicket component id:
Application.properties:
mysecret=My password
:
Ofcourse there are other ways too, but the above is way simplest.
http://cwiki.apache.org/WICKET/localization-and-skinning-of-applications.html
**
Martin
2010/3/25 Sigmar Muuga
Hello,
how to customize error / feedback messages in wicket?
At the moment wicket displays quite stupidly password errors:
"mysecret" is too short and so on.
I would like to use translated field labels in feedback messages instead of
field names, that are not so user friendly.
Sigmar
Igor, thanks for the info. It worked for me. Just a suggestion. Hope to see a
convenience constructor such as:
StringResourceModel(resourceKey, java.lang.Object[] parameters)
In which, model is null. IMHO, Spring has many convenience methods. It would be
good to see Wicket does the same (maybe
No problem Bryan. Glad I can help. Let me know if you hit a problem.
Josh
-Original Message-
From: Bryan Montgomery [mailto:mo...@english.net]
Sent: Wednesday, March 24, 2010 8:22 PM
To: users@wicket.apache.org
Subject: Re: Help with integrating NTLM in wicket application
oops, sorry Jo
Hi Anantha,
Did you get a resolution to this issue? I have the same problem.
Is this expected behavior I wonder, or a bug?
SubmitLink will call the 's onsubmit='???' handler,
AjaxSubmitLink does not.
On 4 January 2010 23:05, Anantha Kumaran wrote:
> hi pieter
>
> my problem is that the AjaxSu
see StringResourceModel
-igor
On Wed, Mar 24, 2010 at 8:42 PM, David Chang wrote:
>
> HTML:
>
> [sample text]
>
> Java:
>
> add(new Label("x", new ResourceModel("x")));
>
> Resource file:
>
> Hello ${label} !
>
> In the above Java, I cannot find a way to provide a value to the argument of
> the
HTML:
[sample text]
Java:
add(new Label("x", new ResourceModel("x")));
Resource file:
Hello ${label} !
In the above Java, I cannot find a way to provide a value to the argument of
the string. I want the program to display
Hello David!
Hello Carmen!
Regards.
---
oops, sorry Josh. I appreciate your hlelp. I _meant_ to say pointed me in
the RIGHT direction. Brain and fingers weren't connecting as I was trying to
finish sending before leaving the office! Though this looks like it will be
cleaner than what I currently have, thanks again.
On Wed, Mar 24, 2010
Bryan,
Sorry for pointing you in the wrong direction. Below is the NTLMPage that we
use. Notice that it redirects the user to the login page if it can't log
them in through NTLM. I hope this helps.
import java.io.IOException;
import javax.servlet.http.*;
import jcifs.ntlmssp.Type3Message;
impor
I've used PD4ML - http://pd4ml.com/ with some success, but you need to
tailor the HTML/CSS to it's renderer for best results.
On 24 March 2010 05:08, Rodolfo Cartas wrote:
> Hi all! Is there a way to export a page rendered in wicket to a pdf
> file within the application?
>
> Best regards,
>
>
hi anna,
feedback-messages will clear after the request processing. build a visitor
that checks the
feedbackmassges of every component. your components have to hold the
messages when error, info and warn will called. clear on successful
validate.
alex
Anna Simbirtsev wrote:
>
> Hi,
>
> I v
Man thanks so much for this! The SAME thing happened to me. I left
cleanupFeedbackMessages()
empty after extending WebSession. I almost went crazy figuringthis out ;).
Chuck Brinkman-2 wrote:
>
> The messages are kept in WebSession and WebSession has
> cleanupFeedbackMessages() but this is ne
artifacts should find their way into the repo once team city builds..
2010/3/24 Boris Goldowsky :
> As discussed, and not hearing any objections, I've updated the
> wicketstuff-core project to depend on Wicket 1.4.7. wicketstuff-core's
> version number is now 1.4.7-SNAPSHOT, and the idea is that
I have a Form with a list of Checks in a CheckGroup. In the same Form, there
is a DropDownChoice with a dynamic choices model. The choices are the
selected checks plus some fixed options.
It has to be considered that some Checks can be preselected at construction
time, and that the choices have to
As discussed, and not hearing any objections, I've updated the
wicketstuff-core project to depend on Wicket 1.4.7. wicketstuff-core's
version number is now 1.4.7-SNAPSHOT, and the idea is that people can
test it, and barring any major problems it can be released as a stable
version 1.4.7 .
N
Sorry, Nabble swallowed the span tag!
FormComponentFeedbackBorder:
FormComponentFeedbackIndicator :
But I understand it doesn't fit your need.
Gabriel.
--
View this message in context:
http://old.nabble.com/Required-Border
No problem, man. Sorry about the 4 hours. That's what paired
programming is for! :) Glad to help.
On Wed, Mar 24, 2010 at 4:44 PM, Josh Chappelle wrote:
> Yes that was it. I wish I had those 4 hours back. Thank you.
>
> -Original Message-
> From: James Carman [mailto:jcar...@carmancons
Yes that was it. I wish I had those 4 hours back. Thank you.
-Original Message-
From: James Carman [mailto:jcar...@carmanconsulting.com]
Sent: Wednesday, March 24, 2010 3:34 PM
To: users@wicket.apache.org
Subject: Re: Palette Problem
Doesn't your "current" have to be a subset of "availab
Doesn't your "current" have to be a subset of "available"?
On Wed, Mar 24, 2010 at 2:58 PM, Josh Chappelle wrote:
> Hi,
>
>
>
> I'm having a problem that is about to drive me nuts. I have a Palette that
> won't display the selected values. I am able to reproduce my problem with a
> simple version
Also, they way I'm adding the required indicator to my fields is by
using a visitor in the onBeforeRender method (again per the forms with
flair example). So, you're not exactly allowed to change the
hierarchy at this point from what I understand, so calling the
form.add() wouldn't work I don't th
Thanks, this pointed me in the wrong direction. I then ended up calling this
from within the onBeforeRender method to get it to handle the redirect
correctly on login. Another issue was that I was calling another part of the
code and should have been calling AuthenticatedWebSession.get().signIn
So
If you want an example that works out-of-the-box, check out:
http://svn.carmanconsulting.com/public/wicket-advanced/trunk
On Wed, Mar 24, 2010 at 3:29 PM, Eric Reagan wrote:
> I am trying to setup a spring application and I can't seam to get past a
> NoWebApplicationContext found.
>
> I have f
So, I don't have to put the indicator into my markup? It somehow
automatically adds itself?
On Wed, Mar 24, 2010 at 2:21 PM, TahitianGabriel wrote:
>
> For FormComponentFeedbackBorder you'll have to change your hierarchy like
> that :
>
> HTML :
>
>
> Java :
> form.add(new FormComponentFeedbac
The SpringWebApplicationFactory is the to create the WebApplicaiton.
You still need to setup spring properly.
contextConfigLocation
classpath:spring-annotation.xml
classpath:spring-hibernate.xml
classpath:spring-resources.xml
c
I am trying to setup a spring application and I can't seam to get past a
NoWebApplicationContext found.
I have followed the online tutorials (and the example code from the 1.4.7
directory) and I am still not having any luck.
In my web.xml file I have
servlet
org.apache.wicket.
> Yes, confluence is great, but a bit of useless since the spam-incident.
> I think the confluence is still full of with spammer users and
> spamcontents. Also the registration doesn't work, but this is an another
> issue. Nino, if I remember correctly, you can access confluence, right?
> Could you
Hi,
I'm having a problem that is about to drive me nuts. I have a Palette that
won't display the selected values. I am able to reproduce my problem with a
simple version so here it is:
List current = new ArrayList();
current.add("ABC");
For FormComponentFeedbackBorder you'll have to change your hierarchy like
that :
HTML :
Java :
form.add(new FormComponentFeedbackBorder("border").add(new
TextField("field")));
Why can't you use FormComponentFeedbackIndicator so you can add it on the
fly :
HTML :
Java :
RequiredTextField
Any another approach that's help me to to use resources key instead of
companent path key
On Wed, Mar 24, 2010 at 3:26 PM, ayman elwany wrote:
> Hi all,
>
> I update my feedback panel messages using "wicketApplication.properties"
> and attach the message to the component path :
>
>
> ---
You can add to your application an Localizer that return the user designated
verbiage for the string key "null"
On Wed, Mar 24, 2010 at 12:51 PM, Matthias Keller
wrote:
> Hi Brad
>
> You'd probably have to subclass DropDownChoice and override the method
> getDefaultChoice() to return whatever val
Hi Brad
You'd probably have to subclass DropDownChoice and override the method
getDefaultChoice() to return whatever value you'd like.
Matt
On 2010-03-24 16:45, Brad Grier wrote:
I'd like to be able to change the "Choose One" text for a DropDownChoice
without using a property file. I have a
I'd like to be able to change the "Choose One" text for a DropDownChoice
without using a property file. I have a dynamic form generator and I need the
user to be able to designate the verbiage. Is this possible?
Thanks,
Brad
On Wed, Mar 24, 2010 at 3:08 PM, Ernesto Reinaldo Barreiro
wrote:
> Haven't had time to check the specification but this behavior (mounting on
> "/") might pose a security risk as you can fetch "invisible" things form the
> class path (e.g. configuration files containing sensitive information like
On Wed, Mar 24, 2010 at 3:26 AM, Martin Sachs wrote:
> hi,
>
> we need caching of components, since the construction of huge
> hierarchies is not cheap. The rendering ist fast. We cache the rendered
> HTML of a hole component via a beheaviour and write them on the next
> requests into a Label (une
Haven't had time to check the specification but this behavior (mounting on
"/") might pose a security risk as you can fetch "invisible" things form the
class path (e.g. configuration files containing sensitive information like
passwords). On the other hand I see HttpService class has a
registerReso
Weird, I have also tried to register the application on "/foo" instead
of on "/" and, as you said, I cannot access to static files.
I haven't seen anything special about root alias on OSGi specification
(only that is the only alias allowed to end with "/")
Jaime.
-
Maybe this will get you started
http://twenty-six-wicket-tricks.googlecode.com/svn/trunk/twenty-six-wicket-tricks/src/main/java/com/locke/library/web/panels/caching/CachingPanel.java
After reading Jeremy's reply I think this code suffers some thread-safeness
issues though.
Antoine
On Wed, Mar
Thanks to have your valuable reply & effort you made to answer my query. But
let me to explain you again my problem statement because this solution won't
help me to fix the issue I have. I need a CSS style at TreeTable markup level
so that the Horizontal Scrollbar would be a part of TreeTable c
Hi all,
I update my feedback panel messages using "wicketApplication.properties"
and attach the message to the component path :
---
Thanks Martin!
If possible can you please give a hint how to use behavior to cache the
rendered HTML for a component?
On 24.03.2010, at 10:26, Martin Sachs wrote:
> hi,
>
> we need caching of components, since the construction of huge
> hierarchies is not cheap. The rendering ist fast. We cach
Well, per the example in the "forms with flair" demo, I'm adding these
borders to my components "on the fly" using a visitor. So, I don't
think the FormComponentFeedbackBorder thing will work, since I would
have to actually change the hierarchy by adding my component *to* the
border component (it
On 24.03.2010, at 09:23, Jeremy Thomerson wrote:
> Components are not thread safe, and not intended to be used in this way -
> there would be a significant undertaking to make them cacheable, and the
> cost of the synchronization would likely far outweigh the current costs of
> component instanti
But it won't work if you mount the Servlet to something different than "/".
E.g. mounting on "/manager" then
http://localhost:8080/manager/hibernate.cfg.xml
will not work. Just curious about what are the implications of mounting on
"/" and what the OSGi specification says about this?
Ernesto
On
Hi,
I have tried this with equinox and it works too. For instance I'm able to
read file
http://localhost:8080/hibernate.cfg.xml
which is on root of the class path. They are just served by
WicketServlet.fallback method.
Ernesto
On Wed, Mar 24, 2010 at 1:24 PM, Ernesto Reinaldo Barreiro <
reier.
Interesting but that is not the same as a document root as in mentioned
link. Isn't it? So, your document root is the root of the class-path?
Best,
Ernesto
On Wed, Mar 24, 2010 at 1:18 PM, Jaime Soriano Pastor <
jsorianopas...@gmail.com> wrote:
> On Wed, Mar 24, 2010 at 1:05 PM, Ernesto Reinal
On Wed, Mar 24, 2010 at 1:05 PM, Ernesto Reinaldo Barreiro
wrote:
> Are you using bridge servlet approach?
>
I don't think so... Is it needed to have several Servlets? I have only one.
What I do is to launch Apache Felix Http Jetty as implementation of
the OSGi HTTP service and register the wicket
Are you using bridge servlet approach?
On Wed, Mar 24, 2010 at 12:59 PM, Jaime Soriano Pastor <
jsorianopas...@gmail.com> wrote:
> On Wed, Mar 24, 2010 at 12:57 PM, Ernesto Reinaldo Barreiro
> wrote:
> > *document root* on an OSGI environment?
> >
> Yes, it's what I was just trying and it worked
On Wed, Mar 24, 2010 at 12:57 PM, Ernesto Reinaldo Barreiro
wrote:
> *document root* on an OSGI environment?
>
Yes, it's what I was just trying and it worked :)
Many thanks!
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apa
*document root* on an OSGI environment?
Ernesto
On Wed, Mar 24, 2010 at 12:46 PM, Pedro Santos wrote:
> Put then in the top-level directory of a web module.
>
> http://java.sun.com/javaee/5/docs/tutorial/doc/bnadx.html#bnadz
>
> "A web module has a specific structure. The top-level directory of
Thx alot Pedro ,ListView.setReuseItems solved the problem
On Wed, Mar 24, 2010 at 12:54 PM, Pedro Santos wrote:
> The ListView itens are rebuild every render. So the original field that you
> made reference from the feedback filter, is longer presented by the
> ListView. Take a look at
> http://
Put then in the top-level directory of a web module.
http://java.sun.com/javaee/5/docs/tutorial/doc/bnadx.html#bnadz
"A web module has a specific structure. The top-level directory of a web
module is the *document root* of the application. The document root is where
JSP pages, *client-side* class
I see two options:
1-Use Wicket default machinery for serving resources (see
IResourceSettings).
2-Mount a dedicated servlet: the same way you register wicket servlet.
Ernesto
On Wed, Mar 24, 2010 at 12:19 PM, Jaime Soriano Pastor <
jsorianopas...@gmail.com> wrote:
> Hi,
>
> I register a wicket
Hi,
I register a wicket application in an OSGi http service using for that
a WicketServlet with applicationClassName set to the name of my main
application class. My problem now is that I don't know how to serve
static files as CSS and so.
Is there any place used by default to contain the static f
see http://issues.apache.org/jira/browse/WICKET-2767
Regards,
Witold
Am Wed, 24 Mar 2010 10:39:49 + (GMT)
schrieb Tokalak Ahmet :
> Hi wicketians,
>
> after updating to wicket 1.4.7 the DatePicker does not use the date format i
> passed to DateTextField any more:
>
> form.add(new D
The ListView itens are rebuild every render. So the original field that you
made reference from the feedback filter, is longer presented by the
ListView. Take a look at
http://wicketinaction.com/2008/10/building-a-listeditor-form-component/
and the ListView.setReuseItems javadoc
On Wed, Mar 24, 20
Hi wicketians,
after updating to wicket 1.4.7 the DatePicker does not use the date format i
passed to DateTextField any more:
form.add(new DateTextField("dateFilter.from", new
PropertyModel(dateFilter, "from"), "dd.MM.").setRequired(true).add(new
DatePicker()));
Instead of "dd.MM.
Hi All,
I had a reusable component which have a textfield with its feedback panel
using ComponentFeedbackMessageFilter
add(new FeedbackPanel("firstFeedback", new
ComponentFeedbackMessageFilter(firstField)));
and it is working fine but when I put this component in a ListView the
feedback pan
It was some javascript conflict. Early I used dynarch’s calendar and page
loaded calendar.js. When I removed old calendar.js the picker starts working
correct (expect problem with date <2000 for mask ‘’)
--
View this message in context:
http://old.nabble.com/Strange-DatePicker-behavior-%28re
I use DatePicker enough easy way:
DateTextField dateTextField = new DateTextField( "birthDate" );
dateTextField.add( new DatePicker() {
@Override
protected boolean enableMonthYearSelection() {
return true;
}
} );
I cli
hi,
we need caching of components, since the construction of huge
hierarchies is not cheap. The rendering ist fast. We cache the rendered
HTML of a hole component via a beheaviour and write them on the next
requests into a Label (unescaped). So instead of creating the complete
hierarchie on every
Search the list, it has been brought up many times before.
Martijn
On Tue, Mar 23, 2010 at 10:56 PM, victorTrapiello wrote:
>
> Hello guys,
>
> I have finished my wicket application, with hibernate spring and postgresql
> for my database, I´m wodering wher I can deploy my appliucation, do you kn
Components are not thread safe, and not intended to be used in this way -
there would be a significant undertaking to make them cacheable, and the
cost of the synchronization would likely far outweigh the current costs of
component instantiation, etc...
Where you can make the biggest difference is
Hi,
since Wicket uses session to store the components hierarchy for a page is it
possible to store parts of the hierarchy in the application context instead of
the user session? If it's not possible do you consider it worth to add as
feature request?
What's the idea: imagine a home page of a w
64 matches
Mail list logo