Tried that :)
and it always seems to be null.
I switched to AjaxButtons, but the problem is that the are fired
*after* the form submits, not before as a normal Button is.
I'm essentially trying to set a value on the form's model depending on
which button was pressed, and then close the ModalW
Ahh.. No problemo, I would'nt be able todo that..
2009/5/25 francisco treacy :
> 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 t
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: Ale
надо с фонечкой также :)
--
С уважением, Иванов Дмитрий Валерьевич.
Ведущий специалист НСУИ,
ЗАО "ПРОГНОЗ",
тел.: (342) 240-36-63, доб. 578
ivan...@prognoz.ru, www.prognoz.ru
-
To unsubscribe, e-mail: users-unsubscr...@wicket.ap
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 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 date icon show
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, David
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
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 succes
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
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 P
Yes, of course. My bad. I didn't understand what you meant. Sorry.
On Mon, May 25, 2009 at 11:38 AM, Igor Vaynberg wrote:
> no, you cannot instantiate , but you can instantiate and
> assign it to as per my example below
>
> -igor
>
> On Mon, May 25, 2009 at 6:05 AM, James Carman
> wrote:
>>
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 en
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
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 Stream
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");
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 :
> Although not an amsterdamme
Okay, at least any pointers why this might happen are appreciated.
On Sat, May 23, 2009 at 10:03 PM, Sergey Podatelev
wrote:
> I'm using tomcat, web.xml has the following configuration:
>
> ...
>
> Wicket Filter
> /*
> REQUEST
> ERROR
>
>
> 404
> /404
>
> ...
>
> /404 is
Just exploring this a bit deeper ... these all end up doing the same thing.
final Link link = new BookmarkablePageLink("a-title",
Home.class);
this.add(link);
final IModel m = link.getModel();
final Object o = m.getObject();
final Link link = new Bookmarkab
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
-
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
**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 them in your markup.
>
> Martijn
>
I'
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
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
wrote:
> That was the idea. But Wicket still can't find the component markup
> when looking for it. The form adds this elsewhere:
>
> add(new HiddenField("csr
That was the idea. But Wicket still can't find the component markup
when looking for it. The form adds this elsewhere:
add(new HiddenField("csrf-protection", new
Model(csrfProtection())).setRequired(true).add(new
IValidator() {
public void validate(IValidatable validatable) {
just like you would use it outside a repeatingview...
-igor
2009/5/25 Dorothée Giernoth :
> 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 ce
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
wrote:
> Hi,
>
> my application uses a form subclass everywhere for CSRF protection.
> Each form needs a hidden field like this: wicket:id="csrf-protecti
no, you cannot instantiate , but you can instantiate and
assign it to as per my example below
-igor
On Mon, May 25, 2009 at 6:05 AM, James Carman
wrote:
> On Sun, May 24, 2009 at 11:16 PM, Igor Vaynberg
> wrote:
>> final Link link = new BookmarkablePageLink("a-contact",
>>
>> if you are not
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
RequestCycle.get().getRequestTarget(
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
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?
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 s
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 formco
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";
priv
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 Papp
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 de
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 validatio
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
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 wor
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 appeal
Hi,
my application uses a form subclass everywhere for CSRF protection.
Each form needs a hidden field like this:
The wicket component for that is added by the form subclass
(SecureForm) which all other forms in the application extend.
Currently each form has to include that markup somewhere, pr
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.
On Mon, May 25, 2009 at 6:54 AM, Frank Tegtmeyer
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 types" of the components
> in
Hi all,
I have a created a simple authorizationstrategy,
SimplePageAuthorizationStrategy authorizationStrategy = new
SimplePageAuthorizationStrategy(
OnlineVacationAvailabilityPage.class,
VacationAlreadyRegisteredPage.class) {
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 you
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 wrote:
> 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
On Sun, May 24, 2009 at 11:16 PM, Igor Vaynberg wrote:
> final Link link = new BookmarkablePageLink("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 use the model better than ?
You can implement your own column and set the cell item's "class"
attribute (or in-line style it if you wish).
On Mon, May 25, 2009 at 8:23 AM, Daniel Ore wrote:
> 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
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 dynam
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 wrote:
> I am using DynamicWebResource to provide links to download files stored in
> a data
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
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 mess
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 w
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
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 pa
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 al
What's the exception message?
2009/5/25 Dorothée Giernoth :
> 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 .
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 post
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 :
> Hello,
>
> I'm in the need of a forum
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 them in your markup.
Martijn
On Sun, May 24, 2009 at 6:17 PM, Lucas Bonansea
wrote:
> Thanks for the responses, I'll try them out
>
>
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 :
>
>
> I am now reading the book "Wicket in Action" to learn about Wicket. The more
> I read and the more I
60 matches
Mail list logo