I am now reading the book Wicket in Action to learn about Wicket. The more I
read and the more I like it!
I did a few projects with Spring MVC in the past. In these projects, I defined
form field validation rules in an XML file and Spring adds both client side and
server-side, which I think
I assume you have read the parts about validation in Wicket.
There are several examples of integrating Wicket with various
JavaScript libraries, such as Dojo.
/Per
2009/5/25 David Chang david_q_zh...@yahoo.com:
I am now reading the book Wicket in Action to learn about Wicket. The more
I
or, if these images and css are for your application, and application
wide (i.e. all pages include them), you could put them in
src/main/webapp/..
and just link src=style.css ... / them in your markup.
Martijn
On Sun, May 24, 2009 at 6:17 PM, Lucas Bonansea
lucas.bonan...@gmail.com wrote:
Hi
I did the BBcode integration, it's very basic. But a starting point..
If you need something more, you could use Jforum it's since it's
possible todo a single sign on from your application to theirs..
http://www.jforum.net/
2009/5/24 Cristi Manole cristiman...@gmail.com:
Hello,
I'm in
Hey all,
I am quite new to Wicket, but I am trying some stuff to see how it works. Right
now I am trying my best to build a little database-designer, but I get a
MarkupException, but I dunno why. I am using MarkupInheritance ...
My Code doesn't look very tidy, but I am still brave enough to
Oh yeah, that might be helpful:
Here is the exception message:
WicketMessage: Unable to find component with id 'heading' in [MarkupContainer
[Component id = _extend3]]. This means that you declared wicket:id=heading in
your markup, but that you either did not add the component to your page at
Hi,
I got a Wicket project set up with Maven and work with it in Eclipse.
I like to deliver static content through a webserver directly (lighttpd
in this case). I do this also for the CSS framework that I use (YAML).
Now there ist the problem to include the static content during the
tests.
I
Hi,
I am still very very new to Java and Wicket of course too,
so excuse me if this is a dumb question.
I swiched my project to Wicket 1.4-rc4 now and got all these
wonderful warnings about the Raw types of the components
in my sources.
Are there any examples that highlight the handling of
the
I am using DynamicWebResource to provide links to download files stored in a
database. The only thing I do is to override the getData() and getContentType()
method of a ResourceState I return in the getResourceState() method of the
Dynamic WebResource.
How can I configure the name of the file
I solved the problem myself.
- dg
-Ursprüngliche Nachricht-
Von: Dorothée Giernoth [mailto:dorothee.giern...@kds-kg.de]
Gesendet: Montag, 25. Mai 2009 11:41
An: users@wicket.apache.org
Betreff: AW: MarkupException, BUT WHY???
Oh yeah, that might be helpful:
Here is the exception
HiIs there a way to set the color of a cell in a DataTable (Actually I'm
using the AjaxFallbackDefaultDataTable but I guess that if there's a way it
must apply to all).
Thanks
___
Daniel Ore
protected void setHeaders(WebResponse response)
{
super.setHeaders(response);
response.setAttachmentHeader('your_name_here.txt);
}
On Mon, May 25, 2009 at 7:10 AM, Pi Trash ptr...@web.de wrote:
I am using DynamicWebResource to provide links to download files stored
You can define a css class with the color, and override
DataTabla.newCellItem() to either add a DataTable.CssAttributeBehavior with
the css class name or to return an Item subclass that overrides
onComponentTag() to add the css class name. The latter is better if the
cells are changing color
On Sun, May 24, 2009 at 11:16 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote:
final Link? link = new BookmarkablePageLinkVoid(a-contact,
if you are not intending on using the model use ? which will help enforce
that
Care to elaborate on that? How does ? assure that folks aren't
going to
Two of the constructors for DynamicWebResource take filename
parameters. Have you tried using them?
On Mon, May 25, 2009 at 8:10 AM, Pi Trash ptr...@web.de wrote:
I am using DynamicWebResource to provide links to download files stored in a
database. The only thing I do is to override the
If you just click the link, both IE Firefox use the file name configured in
response.setAttachmentHeader().
However, if you right-click the link Save Link As..., I found IE uses the
file name configured in response.setAttachmentHeader(), but Firefox uses the
file name part of the href. So
Hi all,
I have a created a simple authorizationstrategy,
SimplePageAuthorizationStrategy authorizationStrategy = new
SimplePageAuthorizationStrategy(
OnlineVacationAvailabilityPage.class,
VacationAlreadyRegisteredPage.class) {
On Mon, May 25, 2009 at 6:54 AM, Frank Tegtmeyer
frank.tegtme...@online-systemhaus.com wrote:
Hi,
I am still very very new to Java and Wicket of course too,
so excuse me if this is a dumb question.
I swiched my project to Wicket 1.4-rc4 now and got all these
wonderful warnings about the Raw
There has got to be a solution for this.
The problem with using an AjaxButton is that the onSubmit is called
*after* the form is submitted, but since there are multiple submit
buttons that change the model object just before submit, I need to
adjust the model before the form is submitted.
Hi,
my application uses a form subclass everywhere for CSRF protection.
Each form needs a hidden field like this: input type=hidden
wicket:id=csrf-protection /
The wicket component for that is added by the form subclass
(SecureForm) which all other forms in the application extend.
Currently each
Thanks for your input, but I am looking for something different.
In Spring MVC, I can use Spring Modules' Valang Validator to define validation
rules in applicationContext.xml for a form bean. Then Spring generates both
client- and server-side valudation. This write-once approach is very
We made an layer on top of the Wicket validation, where we also add some
client-side validation. We use an jQuery library for it
(http://bassistance.de/jquery-plugins/jquery-plugin-validation/). Very easy to
integrate. And most of the times it's only adding extra style class to field
and it
Hey everyone,
how can I use AjaxEditableLabel within a RepeatingView?
Meaning: I have data from a database written into a RepeatingView. Now I wanna
make it possible, that the user can edit the cells.
But how?
Any hint would be appreciated.
Thnx,
dg
Frank, thanks so much for your input. It seems your jQuery validation plugin is
a cool tool.
We made an layer on top of the Wicket
validation, where we also add some client-side validation.
Does it mean that by using Wicket AND your jQuery validation plugin I only have
to write validation
In wicketstuff-core there is a library that I started as a proof of concept
that allows you to add one behavior to your component which adds client and
server side validation. You could start with it and add on as needed.
Jeremy Thomerson
http://www.wickettraining.com
-- sent from a wireless
If all you're saying is that you need to do it from your form's onsubmit, do
this:
AjaxRequestTarget art = AjaxRequestTarget.get();
if (art != null) {
modal.close(art);
}
Jeremy Thomerson
http://www.wickettraining.com
-- sent from a wireless device
-Original Message-
From: Brill
Hi folks,
I want to exchange panels when special nodes of my main navigation tree object
are clicked
8
public class Index extends AbstractPage {
// constants
private static String ID_MAIN_PANEL = main_panel;
Yes in our case it's only needed once :). And with Hibernate Validator we also
generate the right validators on the fields.
But you have to make some kind of framework:
1. Extension on default form to add jquery functionality.
2. Extension (via Behaviours) of validators to add validator to
Jeremy, thanks so much for the input. I will look at it later.
I feel that, in addition to server-side validationi, the client-side validation
is much needed since it reduces lot of network traffic and server workload for
a busy website.
I have been doing consulting for many years and I do
I'm running 1.4rc4 and have a DatePicker that works fine under IE6 and Chrome,
but doesn't work under FireFox (3). The date icon shows OK, just nothing
happens when you click on it. The usage is on a pretty simple page within a
form.
Any special tricks to get this working under FireFox?
Hi,
Thanks to both of you. I've checked JForum in the past, and while I like it
a lot (I think we have it implemented on one of the sites we did for a
client), I thought back then it would be hard to really integrate it with
Wicket.
I decided to write what I need from scratch, since I don't need
Hi,
in one of my Wicket unit tests I'd like to assert that after a
successful submit, a RedirectRequestTarget was set. Its not even
necessary to check the exact URL of that redirect, just that it
happens.
I can't find any support for that via WicketTester, and
no, you cannot instantiate ?, but you can instantiate Void and
assign it to ? as per my example below
-igor
On Mon, May 25, 2009 at 6:05 AM, James Carman
jcar...@carmanconsulting.com wrote:
On Sun, May 24, 2009 at 11:16 PM, Igor Vaynberg igor.vaynb...@gmail.com
wrote:
final Link? link = new
if you write it out in oncomponenttagbody then you dont need it in the
markupo anymore.
-igor
On Mon, May 25, 2009 at 6:32 AM, Jörn Zaefferer
joern.zaeffe...@googlemail.com wrote:
Hi,
my application uses a form subclass everywhere for CSRF protection.
Each form needs a hidden field like
just like you would use it outside a repeatingview...
-igor
2009/5/25 Dorothée Giernoth dorothee.giern...@kds-kg.de:
Hey everyone,
how can I use AjaxEditableLabel within a RepeatingView?
Meaning: I have data from a database written into a RepeatingView. Now I
wanna make it possible, that
That was the idea. But Wicket still can't find the component markup
when looking for it. The form adds this elsewhere:
add(new HiddenFieldString(csrf-protection, new
ModelString(csrfProtection())).setRequired(true).add(new
IValidatorString() {
public void validate(IValidatableString
right, so remove that code since you have replaced that component with
pure markup.
-igor
On Mon, May 25, 2009 at 8:48 AM, Jörn Zaefferer
joern.zaeffe...@googlemail.com wrote:
That was the idea. But Wicket still can't find the component markup
when looking for it. The form adds this elsewhere:
Hi,
Did you ever solve this?
Many thanks for your time.
Jeremy
noppy-flex wrote:
Hello,
My application consists of an panel holding an IFrame and another
subpanel. The IFrame has a tree as nested component which has a
#onTerminalCodeSelection(AjaxRequestTarget target) method which is
**On Mon, May 25, 2009 at 2:34 AM, Martijn Dashorst
martijn.dasho...@gmail.com wrote:
or, if these images and css are for your application, and application
wide (i.e. all pages include them), you could put them in
src/main/webapp/..
and just link src=style.css ... / them in your markup.
Where's the edit button :)
Near the beginning,
theoratical should be theoretical.
Near the end,
I'm just surprised ... that dropping files into webapp/* is
*ill*-advised
should read
I'm just surprised ... that dropping files into webapp/* isn't *ill
*-advised
I'm
I was just reading the javadoc for DownloadLink and it says that it
locks the PageMap, does this mean that the page becomes unresponsive
during the download?
It mentions using a shared resource as an alternative. Is there
example of this online somewhere?
Douglas
Okay, at least any pointers why this might happen are appreciated.
On Sat, May 23, 2009 at 10:03 PM, Sergey Podatelev
brightnesslev...@gmail.com wrote:
I'm using tomcat, web.xml has the following configuration:
...
filter-mapping
filter-nameWicket Filter/filter-name
Well, would be great Nino if you came over :) But I was talking about
a regular meetup...
If not, there's Kings of Code in Amsterdam soon, seems interesting -
not very Java-ish though.
Anyone here going to that conference?
Francisco
2009/5/20 nino martinez wael nino.martinez.w...@gmail.com:
A shared resource can be added like this:
Application.get().getSharedResources().add(urlOfTheResource, new
WebResource() {
@Override
public IResourceStream getResourceStream() {
return new PackageResourceStream(FlowPlayerPanel.class,
ref/flowplayer-3.1.0.swf);
}
Thanks, Matej, for the pointer. I have not read a lot about MP4 Pseudo
Streaming but as far as I currently understand it, the server needs to
analyse the MP4 file (its meta data, actually) in order to know which
part of the file to return -- the latter task can then be done using
you
Sorry: the link I gave is already outdated; a new version is available:
http://h264.code-shop.com/trac/wiki
P.S. Unfortunately I need a solution for Tomcat as I am hosting at a
Tomcat provider.
On 25.05.2009, at 22:57, Kaspar Fischer wrote:
Thanks, Matej, for the pointer. I have not read
I'm not sure why there should be any logic regarding mp4 on the
server. I don't know how exactly flash mp4 players work but the player
should be able to request the exact byte offset and length from the
server. Content-Range header basically provides random access to
remote files which should be
Yes, of course. My bad. I didn't understand what you meant. Sorry.
On Mon, May 25, 2009 at 11:38 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote:
no, you cannot instantiate ?, but you can instantiate Void and
assign it to ? as per my example below
-igor
On Mon, May 25, 2009 at 6:05 AM,
Your really just have to digg a bit into the container what it exactly does
But you want that the conatainer redirects to a /404 url and that is
again served by wicket? As a page that is mounted under /404?
Is the url becoming /404? What happens if you just ask for that?
On 25/05/2009, Sergey
Hello, it just so happens I have been looking for Wicket Javadoc. the Wicket
jar I have contains no javadoc. Please reply with the source of the Wicket
javadoc you are referencing. Please advise, David.
There are 10 kinds of people in this world: those who understand binary and
those who don’t
Hello Wicket dev, gurus, users and mortals, I am on page 123 of the wia.pdf.
The 5.8 listing displays an exercise to migrate the: new Link() to: new
AjaxFallbackLink() for both the Add and Delete links. I was successful on both
points mentioned in the previous sentence. However, I was not
If there is no Wicket-centric answer to this, it's a Javascript question.
I have an AjaxEventBehavior(onclick) behaviored attached to a
wicket-rendered table/tr.
I am trying to render html links within each rendered item, and not
have the wicket-onclick behavior executed if the user clicks on a
Hi David,
You can get the Javadoc either by building it yourself from source via
'mvn javadoc:javadoc' or by issuing 'mvn eclipse:eclipse -
DdownloadJavadocs=true' which will get the Javadoc and adjust your
Eclipse classpath to link it up.
cheers,
Steve
On 25/05/2009, at 10:54 PM,
Make sure adblock isn't messing things up. I've seen that before
(maybe not with DatePicker, but
On Mon, May 25, 2009 at 11:23 AM, Tom Tamulewicz tom...@hotmail.com wrote:
I'm running 1.4rc4 and have a DatePicker that works fine under IE6 and
Chrome, but doesn't work under FireFox (3). The
надо с фонечкой также :)
--
С уважением, Иванов Дмитрий Валерьевич.
Ведущий специалист НСУИ,
ЗАО ПРОГНОЗ,
тел.: (342) 240-36-63, доб. 578
ivan...@prognoz.ru, www.prognoz.ru
-
To unsubscribe, e-mail:
But how would this prevent the PageMap from getting blocked?
Would it be possible to somehow span a request that isn't tied to the same
session i.e get the same behavior of a non-wicket servlet but still have it
live inside the wicket application?
Douglas
-Original Message-
From: Alex
56 matches
Mail list logo