Hi Iain,
I would do it like this, with a FormValidator. I moved the minimum length
validation also to the formValidator, because doing it with a
MinimumLenghtValidator would trigger it before the formValidator executes,
and may raise errors when the input is not valid (i.e. not mandatory) :
Yes, that's exactly what I did.
My problem is that I want that div veil shows up only if an ajax call
takes more than 2 seconds to process. If the ajax processing is short (less
than 2 seconds), I don't want this div shows up.
I don't know how to do it.
Thanks
--
View this message in context:
On Wednesday 02 June 2010 15:54:50 david_ wrote:
Maybe someone knows who I can contact about this?
I wicket-security developer maybe?
Unfortunately we don't use multiple applications in the same servlet
container. So, I can't really help you with this. Maurice probably would have
known how to
I've posted a similar message the other week, because I was having strange
behavior when passing objects that have been injected into my page to child
threads.
So, we recently upgrade from 1.4.5 - 1.4.7
Prior to the upgrade we had some runnables that would do some asynchronous work
for us and
Martijn,
You are making a *lot* of assumptions.
Not everybody uses Eclipse.
Nobody in this thread would consider restarts acceptable, still we are
using this subject.
HTML files location has to do with performance in the developing
process depending on how the IDE handles the files.
Please
Hi,
I'm currently looking into a problem concerning formatted text fields.
Users need to enter a code in the format x-x-x-x. I have
provided 4 textfields and I'd like the user to jump from one textfield
to the other when he or she has entered 5 characters. How do I do this
in
Med vennlig hilsen
TOR IVER WILHELMSEN
Senior systemutvikler
Arrive AS
T (+47) 48 16 06 18
E-post: toriv...@arrive.no
http://www.arrive.no
http://servicedesk.arrive.no
-Opprinnelig melding-
Fra: Lieven Doclo [mailto:lieven.do...@jintec.be]
Sendt: 3. juni 2010 11:27
Til: users
Emne:
Hi,
I tried out the DateTextField together with the Datepicker component, but it
doesn't work as expected. I want it to use the format/pattern -MM-dd,
and when the page is rendered it does show the date in that format, but the
moment I use the datepicker (even only clicking in the button do
Hi,
I'm using DefaultDataTable with sortable columns.
When a column header is clicked to be sorted by the header gets a special
class : th.wiccket_orderDown/Up/None.
I'd like this whole column to have some css class so it can be highlighted.
Is there any simple way to achieve this without
Sweet.
I looked at the changes made and now I understand what you meant by
virtual repeater.
Anyway I've decided to use a custom implementation of wicket's DataTable for
now and if
a demand for more fancy grids will be made I'l probably come back to
wijqgrid or try out inmethod grid.
Thanks
-Sam
Hello
if you redirect from a ModalWindow to an external URL that uses SSL
connection, the browser doesn't recognizes this and the security lock-icon
is not shown.
Is their a workaround for this?
David
Ok, I managed to find the problem using the javascript debug function of
Firebug, but I have no idea on how to solve it.
The problematic code lies in the file wicket-date.js:
125 /**
126 * Return the result of interpolating the value (date) argument with the
date pattern.
127 * The dateValue
I've recently been wondering about the following use case: an instance
of Foo class, used as a detached value object, is edited in a
FooEditPage. For some reasons, let's say this page then needs to launch
dialogs spanning over different pages. Each of these pages could then
change some fields
Hi Team
I have got a LinkTree, I am overriding newContentComponent of LinkTree with
Panel, what i need is When user
clicks on Link a TextBox underneath Link should get Visible using Ajax.
Please find below code for the above.
treeModel = createTreeModel();
Hrm, perhaps you should have qualified your advice: If you're using
NetBeans, then for best performance...
Also, the packaging of markup on the classpath allows you to create
re-usable JARs of components and IMHO is one of the best features of
Wicket. So perhaps the qualification should really
Is it possible to replace the currently open Modal window with a
different modal window from within the OK click handler of the currently
open modal window?
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For
Thanks for the response - after further digging I discovered the error was one
of my own creation.
From: igor.vaynb...@gmail.com
Date: Wed, 2 Jun 2010 20:07:51 -0700
Subject: Re: how to implement multiple forms on a single page
To: users@wicket.apache.org
you should be able to have as
The problem with this approach is that you throw away all the nice,
re-usable pre-canned validators that wicket has, and that it seems very
wrong.
I'd actually push the behaviour I would like to see even further - in
the example I gave, I don't even want the optional field to update it's
I'm with you on this one, this code feels like doing something that it
shouldn't, looks kind of bloated for such a simple and common requirement.
Maybe we need some stuffing of nice, pre-canned FormValidators ? :)
The problem with wicket's validators, as I see it, is that they are at a
Component
Hi,
On Wed, Jun 2, 2010 at 7:43 PM, Joseph Pachod
josephpac...@thomas-daily.de wrote:
I've recently been wondering about the following use case: an instance of Foo
class,
used as a detached value object, is edited in a FooEditPage. For some
reasons, let's
say this page then needs to launch
Hello,
I am new to Wicket, and I am writing a listing component based on the
phonebook app that uses AjaxFallbackDefaultDataTable and is able to retain
checkbox status across pages.
I searched the forums, and reading around, I was able to get the status
being retained on submits.
What I am
this is not a regression in the sense that it is a bug. we have always
maintained that the objects that get injected should only be used
within wicket components.
you need to make sure the Application object is bound to the thread
that is executing the runnable, so you will have to pass the
Yes, by opening the second window *when* the first is closed.
Try something like this:
abstract class Modal1 extends ModalWindow {
public Modal1(id) {
// ...
setWindowClosedCallback(new ModalWindow.CloseButtonCallback() {
@Override
public void
I have a form , this has a listview , listview contains a chekbox.Upon
form submit I want atleast one check box to be checked,
In a formvalidator I use form.get(id ) this returns formComponent and
formcomponent has a method getValue()but in case of listView how can I
retrieve the
On Thu, Jun 3, 2010 at 1:57 AM, b...@actrix.gen.nz wrote:
Martijn,
You are making a *lot* of assumptions.
Not everybody uses Eclipse.
Nobody in this thread would consider restarts acceptable, still we are
using this subject.
HTML files location has to do with performance in the
Hi,
Does anybody know how to check the values of individual cells of an
InMethod DataGrid/Treedrid. in a unit test?
Looking at the output of WicketTester.debugComponentTrees() I can see
that the grid row is the deepest level with a wicket id:
NFO - BaseWicketTester - path
usually i simply allow pages to take models of whatever it is they
need, just like any other component. in case of a dto being passed
around you can simply use the default model: new ModelDto(new
Dto()); and pass that to any page. that way the page does not need to
worry about where the objects
what about grabbing the model behind and checking that instead?
2010/6/3 Ronan O'Connell ronanoconnell1...@gmail.com:
Hi,
Does anybody know how to check the values of individual cells of an InMethod
DataGrid/Treedrid. in a unit test?
Looking at the output of
see how AjaxFallbackDefaultDataTable replaces the navigator links
with AjaxFallbackLinks...
-igor
On Thu, Jun 3, 2010 at 8:18 AM, Nelson Segura nsegu...@gmail.com wrote:
Hello,
I am new to Wicket, and I am writing a listing component based on the
phonebook app that uses
i think this is fixed in 1.4.7+, you should upgrade
-igor
On Thu, Jun 3, 2010 at 5:11 AM, Jimi jimi.hulleg...@mogul.com wrote:
Ok, I managed to find the problem using the javascript debug function of
Firebug, but I have no idea on how to solve it.
The problematic code lies in the file
Hello, guys
I managed to have Tomcat cluster working with memcached-session-manager
(http://groups.google.com/group/memcached-session-manager) from Martin.
Everything works perfectly fine unless tomcats start getting shut down.
I have 2 tomcats running with the session replicated (see above).
maybe because tomcat2 needs to retrieve the session from memcached,
are subsequent requests also slow? or just the first request after the
failover?
-igor
On Thu, Jun 3, 2010 at 11:06 AM, DmitryM nsk...@aol.com wrote:
Hello, guys
I managed to have Tomcat cluster working with
OK, so this means replacing all the
AjaxFallBackDefaultDataTable/AjaxNavigationToolbar/AjaxPaginNavigator/etc
and the AjaxFallbackHeadersToolbar/etc classes with my own classes that
mimic them? Correct?
-Nelson
On Thu, Jun 3, 2010 at 11:02 AM, Igor Vaynberg igor.vaynb...@gmail.comwrote:
see
yep
-igor
On Thu, Jun 3, 2010 at 11:14 AM, Nelson Segura nsegu...@gmail.com wrote:
OK, so this means replacing all the
AjaxFallBackDefaultDataTable/AjaxNavigationToolbar/AjaxPaginNavigator/etc
and the AjaxFallbackHeadersToolbar/etc classes with my own classes that
mimic them? Correct?
Only the very first one.
I'm not 100% sure but the session seems to be always retrieved from
memcached...
That's what I don't quite understand. When all nodes/tomcats in the cluster
are up then request are fast.
And the thing is, if that's not an Ajax action, then the request is
responded at
I tried this code please tell me if this is right code to retrieve to
formcomponent from a list view
ListFormComponent? formComponents= new
ArrayListFormComponent?();
for(Iterator? extends ListItem? listItemIterator=
are you sure its ajax only? that seems rather strange to me. if its
true then i dont have a clue, you will have to use a profiler to see
where the time goes.
-igor
On Thu, Jun 3, 2010 at 11:26 AM, DmitryM nsk...@aol.com wrote:
Only the very first one.
I'm not 100% sure but the session seems
you can just add formcomponent to your arraylist in populateitem that will
give you list of formcomponents.
you can then validate them in your custom formvalidator..
On Thu, Jun 3, 2010 at 11:58 PM, fachhoch fachh...@gmail.com wrote:
I tried this code please tell me if this is right code to
Hi,
I have a generic FileUploadModal class that allows the user to upload files
as long as it is not being used inside of another form. The FileUploadPanel
that is the content of the FileUploadModal contains a Form. So when the
modal is used inside a panel that already contains a form I get a
Igor,
I was wrong.
When it's a first request hitting a page (after shutting down one of 2
tomcats) then regardless of the type of request (ajax or bookmarkable page
link) there is a delay of 2+ seconds.
-Dmitry
--
View this message in context:
i would guess that is the time it takes to pull the session from
memcached to the tomcat node.
-igor
On Thu, Jun 3, 2010 at 12:12 PM, DmitryM nsk...@aol.com wrote:
Igor,
I was wrong.
When it's a first request hitting a page (after shutting down one of 2
tomcats) then regardless of the type
yes, i think so:
?xml version=1.0 encoding=ISO-8859-1?
web-app xmlns=http://java.sun.com/xml/ns/j2ee;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd;
version=2.4
Is anyone out there maintaining/using this library?
I am using it and I have a handful of modifications that I'd like to push
back into the source tree. Should I prepare a patch and JIRA issue or shall
I pursue commit access for this library?
I would also like to get it hooked into the build
Thanks for the response, I am trying to implement your recommended solution,
however, It goes into the respond method and I did the following
public void respond(RequestCycle requestCycle) {
PageParameters param = new PageParameters();
Argh, how stupid.. Thanks a lot igor, how can I buy you a beer or Coke?
I spend a tremendous time trying to figure out what was wrong. I even
considered going back to spring..
regards Nino
2010/6/3 Igor Vaynberg igor.vaynb...@gmail.com:
noep, the filters are processed in the order they are
go for commit rights. And for requirements it would be good to have an
example project other than that it should just be working :)
2010/6/3 Charles Deal chuckdea...@gmail.com:
Is anyone out there maintaining/using this library?
I am using it and I have a handful of modifications that I'd
I thought the filters were executed in the order of their
filter-mappings, not their filter definitions.
On Thu, Jun 3, 2010 at 5:23 PM, nino martinez wael
nino.martinez.w...@gmail.com wrote:
Argh, how stupid.. Thanks a lot igor, how can I buy you a beer or Coke?
I spend a tremendous time
yeah me too, what Igor said worked so must be true or a bug.. I don't
think it's a bug..
2010/6/3 James Carman ja...@carmanconsulting.com:
I thought the filters were executed in the order of their
filter-mappings, not their filter definitions.
On Thu, Jun 3, 2010 at 5:23 PM, nino martinez
Hi,
I'm trying to use wicketstuff-push in my project. I'm always getting a
ClassCastException in the wicketstuff-push sources, which I can't explain:
java.lang.ClassCastException:
org.mortbay.cometd.continuation.ContinuationBayeux cannot be cast to
org.cometd.Bayeux
at
Hi Ronan,
Looking at the output of WicketTester.debugComponentTrees() I can see
that the grid row is the deepest level with a wicket id:
...
panel:storyGrid:form:bodyContainer:body:row:2:item
com.inmethod.grid.common.AbstractGridRow
If you use http://wicketpagetest.sourceforge.net, then
Hi Kent,
Thanks for the answer, but that looks like it requires Spring, I'm not using
Spring. I was hoping to use the test framework that is included in Wicket,
not go outside it.
Well, it doesn't require you to use Spring in your code. However, it is
indeed assumed that you're using a IoC
51 matches
Mail list logo