Hello
Has someone got any good tips about performing lots of render tests? We
are using TestNG and maven/surefire test runner which results in
OutOfMemoryError for our about 500 tests, where each test tries to
render a page or panel. After a bit of redesigning our test classes and
call
Try this as args:
-Xms356m
-Xmx1024m
-XX:MaxPermSize=356m
-XX:HeapDumpPath=c:/temp
-Xss1024k
Also you can reuse Application instance etc.
**
Martin
2010/6/28 Swanthe Lindgren swanthe.lindg...@megasol.se:
Hello
Has someone got any good tips about performing lots of render tests? We are
Hi,
Try something like this:
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-surefire-plugin/artifactId
inheritedtrue/inherited
configuration
skipTestsfalse/skipTests
forkModeonce/forkMode
argLine-Xmx512m -XX:MaxPermSize=256m/argLine
Look to DefaultDataTable addBottomToolbar(new NoRecordsToolbar(this));
You can append custom Bottom Toolbar to your table instead NoRecordsToolbar:
public class MyBottomToolbar extends AbstractToolbar
{
public MyBottomToolbar(DataTable? table)
{
super(table);
RepeatingView headers =
any progress w.r.t. to this question?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Asynchronous-construction-of-page-tp1892224p2270690.html
Sent from the Wicket - User mailing list archive at Nabble.com.
TagTester works on the content of the last response which, in case of an Ajax
response, is not the whole page but only a small snippet. Even worse, this
snippet doesn't contain the wicket:ids anymore I use for testing.
Is there a way to Ajax-enable TagTester such that...
...you can use TagTester
Hi all,
I'd like to announce a new open source (ASLv2) project to help develop
Wicket applications - Wicket Objects. This is an integration between
Wicket and the Naked Objects framework. The idea is that you can
develop full webapps just by writing domain objects pojos, and Wicket
Objects
Hi all,
I want to implement Remember me functionality by storing the encrypted
and base64 encoded username in a cookie.
Then I'd like to check for the cookie on the very first request (or every
request) to the application.
Any tips whats the best way to access httpRequest object on each request
Hi team;
Whats the difference between jwicket and wiquery? I have already read
wiquery tutorials and seen some examples, but i dont need to find any for
jwicket. any help from jwicket team will do
Kind regards.
josh
Quoting Bilgin Ibryam bibr...@gmail.com:
I want to implement Remember me functionality by storing the encrypted
and base64 encoded username in a cookie.
Then I'd like to check for the cookie on the very first request (or every
request) to the application.
Hi,
I do this in the newSession()
There is no tutorial for jWicket yet. Take a look at the javadocs or look into
the source code of the demo application.
And: If you are convinced that wiquery fulfills your requierements then take
wiquery.
Stefan
-Ursprüngliche Nachricht-
Von: Josh Kamau [mailto:joshnet2...@gmail.com]
Thanks Stefan.
Actually i have an idea that jWicket is what i want. I have read that it
allows me to do the UI the jquery way but send events via ajax to the
server. The only thing stopping me here is lack of documentation.
Let me check out the demo .
Thanks again.
On Mon, Jun 28, 2010 at
Hi Josh,
yes, jWicket does it the Wicket way.
Generally you have a Behavior (e.g. DraggabeBehavior) extending wicket's
AjaxBehavior.
The you have some own component (a Panel e.g.)
Now you simply do
myPanel.add(new DraggableBehavior(...));
And DraggableBehavior let's you override some
Hi,
Last weekend I felt a bit bored and I decided to take a look at one of
the cool wicketstuff projects that I had on my list for quite some time
- wicketstuff-core/push-parent. Few minutes later I decided to upgrade
it to Cometd version 2.0.0.RC1 because this is how I understand how the
things
I'll try to give some quick help. Ask again if you have more detailed
questions.
On Mon, Jun 28, 2010 at 8:04 AM, Marzia Forli marzia.fo...@yahoo.comwrote:
I have a problem with IModel's... Right now I am doing my homework with
'Wicket In Action' and I know that models are connections to a
Ed,
Thank you so much for the reply. Could you please send me the link to the
working example. I would like to compare with the one I have.
Btw, thanks for pointing out the improper usage of table fragment as
panel. I have modified to div
Appreciate your help in this regard.
J.
--
View this
perTest is deprecated I think, you should use always - although it adds
additional time for each test run.
Žilvinas Vilutis
Mobile: (+370) 652 38353
E-mail: cika...@gmail.com
2010/6/28 Major Péter majorpe...@sch.bme.hu
Hi,
Try something like this:
plugin
Hi all,
I know the many posts have been written on the same problem, but I have been
looking at the answers for 5 hours without having a simple example to work
with..
I basically need to include a single component (a menu) into my jsp pages,
because we are migrating the application from
Have you checked that the wicket filter is called?
I found that the struts filter does not call filterChain.doFilter().
That may or may not be your problem depending whether anything else is
in its path after it. I suspect however that this is what you need
otherwise how can Wicket get the
Hi all,
I need to pass a map into PageParameters. But I failed.
MapString, Object swfParameters=new HashMapString, Object();
...
swfParameters.put(token, abc);
p.put(PanelIframe.SWF_PARAMETERS, swfParameters);
...
RequestCycle.get().urlFor(clazz, p);
The map is converted to
Why is getCallbackScript(boolean onlyTargetActivePage) is not called in the
below code. I realized that it is not a @Override method. Not sure what is
wrong here
Instead of using typeOption.add(new AbstractDefaultAjaxBehavior(), I also
tried using typeOption.add(new
PageParameters parameters = new PageParameters(swfParameters);
This is how the hashmap is constructed in PageParameters..
Thanks,
J
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/passing-a-map-into-PageParameters-tp2271341p2271351.html
Sent from the Wicket - User
This is not what I want to achieve.
I need to pass a map of parameters as just an entry into PageParameters and
other entries too.
For instance,
Map swfParameters=new HashMap();
swfParameteres.put(a, 1);
swfParameteres.put(b, 2);
PageParameters p=new PageParameters();
p.put(swfParameters,
Hi,
thanks for the reply. Yes i checked, and the wicket filter is called but
debugging wicket code i found that is not calling the onrender method. I
will investigate to find out way..
If anyone has a working example it would be great..
thanks
riccardo
On 28 June 2010 19:40, bht [via Apache
Hi,
I am new to Wicket. I would like to use Wicket to generate static html pages
from a Java application. I have created a MyPage.html and corresponding
MyPage.java files. MyPage extends WebPage.
I would to know if it is possible to generate the 'final' html page that
would be sent and
Hi Josh,
it would be nice to her from you. Regardless of your decision. And while
jwicket is a work in progres I am always glad to receive any feedback from
users.
Stefan
-Ursprüngliche Nachricht-
Von: Josh Kamau [mailto:joshnet2...@gmail.com]
Gesendet: Montag, 28. Juni 2010 16:20
I am trying to create a table based on DataTable, in which one of the
columns has links on it.
I tried to use the strategy described here (LinkPanel):
https://cwiki.apache.org/WICKET/adding-links-in-a-defaultdatatable.html
But this has a problem: clicking in the links in succession soon causes
please show some code
On Mon, Jun 28, 2010 at 6:39 PM, Nelson Segura nsegu...@gmail.com wrote:
I am trying to create a table based on DataTable, in which one of the
columns has links on it.
I tried to use the strategy described here (LinkPanel):
Hi,
I figured out the issue for panel being rendered twice :)
The addresspanel.html was not started with table tag... It directly has a
tr tag..
It worked fine, when I constructed the tags with proper
tabletrtd../td/tr/table.
Thanks a lot...
J
--
View this message in context:
Jeremy, the code is below.
I did notice something while researching/testing more.
The LinkPanel solution DOES work for a DataTable. The problem starts when
changed to a AjaxFallbackDefaultDataTable.
I did testing based in the datatable example in the wicket examples.
Maybe using an AjaxLink
On Mon, 28 Jun 2010 16:29:51 +0200, Stefan Lindner wrote:
Hi Josh,
yes, jWicket does it the Wicket way.
Generally you have a Behavior (e.g. DraggabeBehavior) extending wicket's
AjaxBehavior.
So does Wiquery:
label = new Label(item-name, model)
draggableBehavior = new DraggableBehavior
Since AjaxLink is AJAX and not a proper link, then it does behave as a
normal link, i.e. middle click (open link in new tab or new window) does not
trigger the AJAX click even, which means you cannot chose to open the link
in a new page.
back to square one, except that know I know is a problem
Hi all,
The application that I'm current writing already has its own validation
logic, but I would like to integrate its results into the existing Wicket
form validation so as to unify the feedback. To this end, I'm trying to
extend AbstractFormValidator to wrap my system's logic.
The way my
use ajaxsubmitlink in your paging navigator
-igor
2010/6/22 Fernando Wermus fernando.wer...@gmail.com:
Hola,
Quería saber si existe alguna manera de no perder los items
seleccionados de un checkgroup - check en una lista que esta paginada con
AjaxPagingNavigation.
saludos!
--
the exception will be thrown as many times as there are tables. but
this exception does not fill in the stack trace so it should be fast.
profile the code and see where the time is.
-igor
On Wed, Jun 23, 2010 at 1:56 AM, Decebal Suiu decebal.s...@asf.ro wrote:
The problem with
I haven't had any success storing anything other than Strings in
PageParameters objects. It makes sense, since these are supposed to
represent bookmarkable (i.e. GET) parameters. If you're hoping to throw
arbitrary Maps into a PageParameters, you're going to be disappointed. But
if you have an
On Wed, Jun 23, 2010 at 7:45 AM, danisevsky danisev...@gmail.com wrote:
I would like to implement guest book panel and I have two security question.
1) Need I captcha when there will be only ajax submit link? I think that
robots can't submit form thru javascript.
should be ok
2) New
use the navigator
-igor
On Wed, Jun 23, 2010 at 8:10 AM, Matthias Klass
matthias.kl...@fh-augsburg.de wrote:
Hi,
I've added a AjaxPagingNavigation to a Panel. Yet, when clicking on the
created link nothing happens - no redirection to the new page. When I copy
the link directly from the
this is not your typical usecase for a web application :) web
applications are limited by the round trip to the server - which is
limited by how fast your server is and what the user's connection
speed is.
i would try to profile your application and see if you can make it
faster, but i dont think
it is very hard to test this with jmeter because urls generated will
be different every time since a new random key is generated for every
session. you will be better served by turning off the crypted url
coding strategy for your junit tests.
-igor
On Thu, Jun 24, 2010 at 1:22 PM,
there is the wicket-examples module which contains...examples. if you
have more specific questions im sure someone will answer them.
-igor
On Fri, Jun 25, 2010 at 2:23 AM, Alessandro Bottoni
alexbott...@yahoo.it wrote:
Hi All,
I'm new to Wicket and I'm studying it with Wicket in Action. As you
On Mon, Jun 28, 2010 at 6:36 AM, nmetzger nmetz...@odu.edu wrote:
Hi all,
I'm running into problems with my CryptedUrlWebRequestCodingStrategy. First
a question:
I understand that the CryptedUrlWebRequestCodingStrategy creates a http
session for all pages, even stateless ones. If I mount
alternatively requestcycle#onbeginrequest() is also a good place
-igor
On Mon, Jun 28, 2010 at 7:05 AM, M. Hammer nab...@hammer-tour.com wrote:
Quoting Bilgin Ibryam bibr...@gmail.com:
I want to implement Remember me functionality by storing the encrypted
and base64 encoded username in a
see our unit tests, this is how wickettester works and you can use
that to render the page outside a webrequest
-igor
On Mon, Jun 28, 2010 at 2:59 PM, jverstry jvers...@gmail.com wrote:
Hi,
I am new to Wicket. I would like to use Wicket to generate static html pages
from a Java application.
On Mon, Jun 28, 2010 at 9:27 PM, Ray Weidner
ray.weidner.develo...@gmail.com wrote:
Hi all,
The application that I'm current writing already has its own validation
logic, but I would like to integrate its results into the existing Wicket
form validation so as to unify the feedback. To this
45 matches
Mail list logo