Hi Frank,
Just an idea... If you do the filtering "via AJAX" you could use the
same AJAX request to:
1- display a modal window in case you get the timeout error: just
place the ModalWindow on your page do
modalWindow.addOrReplace(new
MyErrorMessagePanel(modalWindow.getContentId())); and use
moda
you an also do it server side... just check your model on submit etc..
2010/9/6 Zeldor
>
> Oh, I hoped that it can be avoided. So anyone has AJAX example at hand?
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/checkGroup-2-out-of-5-tp2527723p2527763.html
> Sent
I'd do it with a component validator. That would avoid the Form's onSubmit
being called and getting the model updated with incorrect user data. Or also
with a FormValidator. If I remember correctly, you can call
getConvertedInput to get the Checkgroup's list of selected values.
Cheers,
Xavi
2010/
Hi
Why not use one of the various methods on the localizer?
getLocalizer().getString(...)
Or if not in a component
Application.get().getResourceSettings().getLocalizer().getString(...)
Matt
On 2010-09-06 19:26, msantos wrote:
Thats solve the problem. I already have a resource bundle on the app
yup validator's more correct
2010/9/7 Xavier López
> I'd do it with a component validator. That would avoid the Form's onSubmit
> being called and getting the model updated with incorrect user data. Or
> also
> with a FormValidator. If I remember correctly, you can call
> getConvertedInput to ge
To switch the last check with the first checked in case there are two of
them checked already, you could also use an
AjaxFormComponentUpdatingBehavior to do it server-side, though that would
only be disadvantages. I remember some nasty issues with the onchange event
on checkboxes with IE, and the s
Hi All,
I have an issue trying to test an ajax event.
I have two different wicket classes which need to talk each other.
Both classes have a TextField plus a ListMultipleChoice. When the user
types a word into the class A textField the items of the class A list
get filtered and, based on
the new
Hi,
I'm looking for some hints for doing the following:
I have an Inmethod datagrid, which has the columns 'amount', 'product',
'detail', 'price'.
I would like to have at the bottom of the table (just above the paging
toolbar) an extra row which shows me the sum (total) of all prices in the
list
Hello I have a position in Chicago, IL for a Java/Wicket Architect. Take a
look at the job description and let me know if you are interested. This is
a 6+ month gig for a client of mine. Interviews can happen within 24 hours
of submission and phone interviews are all that is needed.
Quali
hi
I've some components which require some client side javascript which
require one init call (for all) to be initialized. In fact, this init
call uses selectors to get at the components to work one.
My issues is with Ajax. It happens that, during it, some new components
required this init c
Hi i also tried this.
I ended up by positioning aggregation toolbar right after column
headers. (as custom toolbar which extends AbstractHeaderToolbar).
I think it is not easy to have this toolbar at the bottom (specially
when you have enabled column resizing, because you have to bind somehow
My team solved the problem the same way, by using a custom Header Toolbar
under the header labels. Couldn't find a clean way to create a footer
toolbar that matched the columns.
On Tue, Sep 7, 2010 at 9:49 AM, Branislav Kalas wrote:
> Hi i also tried this.
> I ended up by positioning aggregatio
Maybe you can try IHeaderResponse.renderOnDomReadyJavascript
2010/9/7 Joseph Pachod
> hi
>
> I've some components which require some client side javascript which
> require one init call (for all) to be initialized. In fact, this init call
> uses selectors to get at the components to work one.
>
When using Terracotta WebSessions 3.3.0 with Wicket 1.4.9 on JBoss 4.2 /
Tomcat6 the DiskPageStore grows infinitely.
After a few days our
jboss/server/myserver/work/jboss.web/localhost/[context]/[filtername]-filestore
is filled with gigabytes of data.
The terracotta folks say that they aren't doi
Joseph Pachod thomas-daily.de> writes:
> When trying to reach this goal, I tried to run the init call through an
> header contributor, but the call is then done before my content is put
> on the page, making it useless:
> public abstract class AbstractEditBehavior extends AbstractBehavior
> {
>
Grafas gmail.com> writes:
>
>
>...
> But every time I submit that form model object is NAME and in browser radio
> button "jumps" from whatever I checked to the first one although I never
> relaod the radio button part. Only search result container is added to a
> target to display search resu
Strange... Yes, AJAX work perfectly - we are using AJAX in many places...
Also we use other modal windows with forms and text fields, text areas and
dropdowns in it and they work just fine...
This modal window is the only with radio buttons
Andrea, are you using Wicket 1.3.5 for your tests?
i believe the cleanup happens on session timeout. so if terractotta is
preserving sessions forever then wicket will not cleanup the
filestore. this is without me actually checking the code. you can
force a size of each file, but that file is per session, so if you
have unlimited sessions i dont thi
Hi list
with the following test
public void testFormAndLinkAreSubmitted()
{
WicketTester tester = new WicketTester();
tester.startPage(FormPage.class);
FormPage page = (FormPage)tester.getLastRenderedPage();
Assert.assertFalse(page.isSubmitLinkSubmitted());
Hi Frank ,
Are you sure that your dao is setting max results on the underlying
query? The provider.iterator(...) should only be returning the current
page values and typically the page size would be small like 25 to 100.
Also it depends on your backend database since I know that some (older
It could be returning only 25 rows, but the criteria itself is what
makes the query slow. In that case, I'd recommend looking at your
indexes. Sometimes indexing doesn't help very much, though.
On Tue, Sep 7, 2010 at 2:43 PM, Michael O'Cleirigh
wrote:
> Hi Frank ,
>
> Are you sure that your da
On Fri, Sep 3, 2010 at 12:10 PM, Fernando Wermus
wrote:
> Hi all,
> I have coded the following to render a mail,
>
>
> Application app;
> try{
> app=MyApplication.get();
> }catch(Exception e){
> app=new WicketTester().getApplication();
> }
> final Application app2=app;
> final ExecutorService
wicket tester in trunk and in 1.4.10 have diverged a lot due to
changes in trunk. there may not even be anything to backport, this bug
may have been fixed as part of making wickettester work with changes
in trunk.
-igor
On Tue, Sep 7, 2010 at 11:46 AM, Andrea Selva wrote:
> Hi list
> with the fo
05.09.2010 13:49, Bas Gooren:
Hi Bas,
thanks a lot! This looks like the missing part. As soon as I got this
working, I'll come back to you with the results (it's a weekend project
so I didn't try this right now).
David
David,
You can see an example (plus javascript code required to remove
On 09/07/2010 07:42 PM, Grafas wrote:
Strange... Yes, AJAX work perfectly - we are using AJAX in many places...
Also we use other modal windows with forms and text fields, text areas and
dropdowns in it and they work just fine...
This modal window is the only with radio buttons
Andrea, are y
Hi all,
The wicketstuff repo is down again. Is there any chance the tagged artifacts
from the wicketstuff repo can be synced to a more reliable Maven repo (central
even)? I have the ones I need in my own remote repo but this doesn't work for
others that build my project.
Thanks,
Steve
smime.p
Hi Steve,
Wicketstuff-core artifacts have been released through the
oss.sonatype.org repository and into central since version 1.4.7. (with
the latest being 1.4.10.1)
See: http://repo2.maven.org/maven2/org/wicketstuff/
Snapshots are here:
https://oss.sonatype.org/content/repositories/snap
Hello,
I would like to have an upload form
(org.apache.wicket.markup.html.form.Form) to prompt the user to
confirm their upload decision. I tried attaching a new
AjaxEventBehavior("onsubmit") to the form, but it does not get called.
How can I prompt the user when they initiate the upload?
Thanks
On Tue, Sep 7, 2010 at 11:35 PM, Alec Swan wrote:
> Hello,
>
> I would like to have an upload form
> (org.apache.wicket.markup.html.form.Form) to prompt the user to
> confirm their upload decision. I tried attaching a new
> AjaxEventBehavior("onsubmit") to the form, but it does not get called.
>
I think you could do it as follows. The js function 'bindYourEvent()' is
called after the the components that are added to the AjaxRequestTarget
are 're-painted'.
form.add(new AjaxButton("set") {
@Override
protected void onSubmit(final AjaxRequestTarget target,
fin
Hey!
@Ernesto,
Thx for the idea, but I am afraid that won't be the way to go. The issue
is coming with the initial page having the table, I am not having a set
of search parameters at that moment. The thing is that I was looking for
some way to interact with the table 'after' giving the dataprovi
31 matches
Mail list logo