Hi,
> I was under the assumption that wicket calls detach on LoadableDeatchable
> automatically on each request.
>
> Is this not true?
One of your components must have your model as default model. Either
setModel(myModel);
Otherwise you have to do the detach on your own:
public void onDetach
Good day,
I'm a bit confused, can't understand what i really need to do after
getting this warning:
Please consider to change your java code to something like:
c.add(getBodyContainer()); for the component hierarchy to better
reflect the markup hierarchy. For example, say that you have a border
cl
Hi,
I've also noticed this behavior, but with null values (a RadioGroup with
null modelObject, two RadioChoices with null modelObject).
Under IE, all of them appeared selected :) (wicket 1.3.5)
Cheers,
Xavier
2010/1/6 Kogel, Jonck-van-der
> Hi,
> I have a radiogroup that is built up dynamicall
Hi Emond,
Very nice. Could you think of a way to support your scenario and a way to
support anonymous classes in a way that you don't have to specify a
MyPageClass$1$2 and we don't have to impose a change in the hive file ?
Kind Regards,
Olger
On 6 jan 2010, at 14:03, Emond Papegaaij wrote:
I am using Spring + Wicket.
When the Wicket application starts, if some important configuration is missing,
I want to close all the application context, destroying all the Spring beans,
including also the Wicket application, which is configured as a Spring bean by
SpringWebApplicationFactory.
On Thu, 2010-01-07 at 02:15 -0800, Giovanni wrote:
> I am using Spring + Wicket.
>
> When the Wicket application starts, if some important configuration is
> missing, I want to close all the application context, destroying all the
> Spring beans, including also the Wicket application, which is c
There is no hook in Wicket to stop. Wicket normally starts and ends with
the web context it is running in. So ending the application is done by
undeploying the web-app. You'll need to find hooks in your serlvet
container. Spring will automatically shutdown with the web context as well.
Regards
Call System.exit(1) ... that will do the trick.
Always nice to see all applications deployed to a container disappear.
Martijn
On Thu, Jan 7, 2010 at 12:03 PM, Erik van Oosten wrote:
> There is no hook in Wicket to stop. Wicket normally starts and ends with the
> web context it is running in. S
Hi, all:
I am wicket fans, I always make my applications to work with
wicket+guice+ibatis. Now we have a new project, we need to make wicket
work with ejb3. I think maybe seam is a good idea, but i am not familiar
with this. Can anyone share experience?
Thanks very much.
--
Thanks!
VVThumb Micr
Hi,
- the scenario is this:
jmeter stress-testing (10 simultaneous users with no ramp-up and an
infinite-loop cycle) a wicket application (extends SpringWebApplication) by
only refreshing the HomePage.
- the result is:
observing the disk, the pagemap file for each session (10 items), there is
a
Just because it's the same page class it doesn't mean it's the same
page instance. How does the URL that you invoke look like?
-Matej
On Thu, Jan 7, 2010 at 12:32 PM, manuelbarzi wrote:
> Hi,
>
> - the scenario is this:
>
> jmeter stress-testing (10 simultaneous users with no ramp-up and an
> in
Hi Ilja,
Ok, that's good, I'm not using PageCreator. But how do I then make the
ModalWindow autosize? Perhaps I'm missing something in the JavaDocs but I can't
find it anywhere.
Thanks, Jonck
-Original Message-
From: Ilja Pavkovic [mailto:ilja.pavko...@binaere-bauten.de]
Sent: woensda
Hi,
I'm trying to use the InspectorBug in wicket 1.3.5. I extracted it from the
wicket-examples source code.
The problem is, every page is treated as stateless, soI can get no
information on component's models. I get info on Application and Session,
but about the Pages, debugging through the code
Well, provided you've implemented the ComponentSubclassPermission, you could
overwrite the alias for ComponentPermission by subclassing the
SwarmPolicyFileHiveFactory like this:
public class MyFileHiveFactory extends SwarmPolicyFileHiveFactory {
public MyFileHiveFactory(ActionFactory act
the url is this: http://localhost:9090/test/
if you constantly target exactly that url
then that will be a new page everytime because thats just a bookmarkable
url.
not an instance url.
On Thu, Jan 7, 2010 at 12:52, manuelbarzi wrote:
> the url is this: http://localhost:9090/test/
>
Hi Martjin,
I tried with System.exit(1) on Weblogic, but it is also stopping the whole
Weblogic server. It seems that this solution is too strong. :)
Maybe the solution ofMartin Grigorov is softer.
At the end, we are using the ApplicationContext.close() method, which seems to
stop the Spring b
Hi,
I forgot the following line: modalWindow.setUseInitialHeight(false);
Best Regards,
Ilja Pavkovic
Am Donnerstag, 7. Januar 2010 12:40:25 schrieb Kogel, Jonck-van-der:
> Hi Ilja,
> Ok, that's good, I'm not using PageCreator. But how do I then make the
> ModalWindow autosize? Perhaps I
if this is the behaviour by default, then, how do you avoid a DoS attack? i
mean, to put an example, if a simple app like this receives thousand of
users just refreshing the home page, then the pagestore will be
overloaded... may this become a disk I/O overhead and its other possible
consequences.
You have the exact same problem with every stateful application. If
you want to avoid a DoS attack (which isn't really always possible)
you need a good firewall.
-Matej
On Thu, Jan 7, 2010 at 2:29 PM, manuelbarzi wrote:
> if this is the behaviour by default, then, how do you avoid a DoS attack?
Mind wicketstuff-core/javaee as well.
It is used by more people and it works for sure.
There are two Seam integrations, one in wicketstuff and one in Seam
itself. I can tell nothing about their status.
On Thu, 2010-01-07 at 19:18 +0800, Haulyn Jason wrote:
> Hi, all:
> I am wicket fans, I always
hmmm... but we are talking about something very basic: the home page!
there's no way to avoid repetition of this page in pagestore? i guess
pagestore does not repeat other internal pages (with extended url - not home
page - if their are correctly independent, no new object references inside
on each
> hmmm... but we are talking about something very basic: the home page!
Have you set it unversioned? How about trying to make it stateless?
- Tor Iver
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional
You can make your home page stateless. Of course that limits what
components you can put on it.
-Matej
On Thu, Jan 7, 2010 at 2:42 PM, manuelbarzi wrote:
> hmmm... but we are talking about something very basic: the home page!
> there's no way to avoid repetition of this page in pagestore? i gues
Yes, it can be resized.
Do something like this:
public void show(AjaxRequestTarget target, ...) {
// ...
super.show(target);
// ...
int height = YOUR_COMPUTED_HEIGHT;
int width = YOUR_COMPUTED_WIDTH;
Forgot:
public MyModalWindow extends ModalWindow {
public MyModalWindow(String id) {
super(id);
setResizable(false);
setWidthUnit("em");
setHeightUnit("em");
setContent(new MyWindowPanel(this.getContentId()));
// ...
}
}
Stefan
Ok, great, the height is indeed autosizing nicely now. Is there any way to have
the width autosize as well?
Thanks, Jonck
-Original Message-
From: Ilja Pavkovic [mailto:ilja.pavko...@binaere-bauten.de]
Sent: donderdag 7 januari 2010 13:51
To: users@wicket.apache.org
Cc: Kogel, Jonck-va
Hi,
Yes, that solved the issue.
Thank you,
Igor
2010/1/6 Matej Knopp
> Caused by: java.util.MissingResourceException: Unable to find property:
> 'id1' for component: grid1:header:header:id1
>
> You are missing property id1 for column header in your property file.
>
> -Matej
>
> On Wed, Jan 6,
Hello all..First of all, I know that this has been discussed here, I searched the archives but could not find an answer, or at least understand one, so please If someone can help me I would greatly appreciate it...I have a small problem with Drop Down Choices and the selected value when editing an
Hi,
> Ok, great, the height is indeed autosizing nicely now. Is there any way to
> have the width autosize as well?
no, as you need either a height or a width to calculate on out of the other
automatically with respect to the window content (content dimension and aspect
ratio would be sufficie
Hi,
I also had this problem once. It turned out to have to do with my list
of choices becoming stale. I solved this by putting the choices in a
LoadableDetachableModel.
ie:
IModel> yourObjectsModel = new
LoadableDetachableModel>() {
@Override
protected List load() {
return yourObjectService
what is the definition of an overloaded pagestore?
if the page store can be overloaded (so more then it should load) then it is
a bug of wicket.
But even if you get a dos attack then max 10MB per user will be allocated
yes, but thats not overloading in my point of view.
you could always decrease it
Hello,
I have a text field and added the class type as Date, to validate the date
entered.
TextField txtDate = new TextField("txtDate", new Model(), Date.class);
I have two button in the same screen one for the Save for another for Reset.
When i enter invalid date and press the save button, val
Would it be a good idea to be able to specify the pagestore limits on a
per-wicket-session base?
So you could for example increase the page store limits once a user has
successfully authenticated.
DoS web clients usually don't go through the mess to authenticate first. Also
multiple authentica
button.setDefaultFormProcessing(boolean b)
http://wicket.sourceforge.net/apidocs/wicket/markup/html/form/Button.html#setDefaultFormProcessing%28boolean%29
- Original Message -
From: "sakthi vel"
To:
Sent: Thursday, January 07, 2010 4:30 PM
Subject: TextField & Class Type Validation
that good be great!
dos attack is very rude scenario? ok, a more realistic scenario would be -
as happens here - an app that has a very huge amount of users during only
one week per year (about 40k users connecting to this app for subscriptions
and checking some personal information). let's say 1k
about "unversioned", i have just done a quick test on wicket-examples >
helloworld, adding serialVersionUID (not informed in the examples) and the
result is the same: pagestore file increasing to the "infinite" (max size of
course :)
stateless page is next, but limitations in this scenario should
any help? i cant be the only person to have tried this.
Original Message:
-
From: wic...@geofflancaster.com wic...@geofflancaster.com
Date: Wed, 6 Jan 2010 14:13:50 -0500
To: users@wicket.apache.org
Subject: OnChangeAjaxBehavior with palette
i'm trying using a text field to searc
You could add an AjaxFormComponentUpdatingBehavior to your palette so
that your selections are pushed back to the underlying model.
On Thu, Jan 7, 2010 at 9:40 AM, wic...@geofflancaster.com
wrote:
> any help? i cant be the only person to have tried this.
>
> Original Message:
> -
But how can you inject previously selected items back into the selected
menu? The only thing i can see is inserting items into the list as a whole
which puts them into the available menu.
can you give me a code snippet and better explanation of what you mean?
Original Message:
-
F
Hi all,
I am using Lightwindow (http://www.stickmanlabs.com/lightwindow/) to
show some swf. But if there are some ayax call before showing the swf, it
fails to show in a modal window. Instead, it shows as a webpage in itself. I
can see that js libraries are still in the header. I cant find out
http://www.mail-archive.com/users@wicket.apache.org/msg16517.html
http://old.nabble.com/Palette-and-recorderComponent-initialization-%28Wicket-1.3.1%29-td15871741.html
2010/1/7 wic...@geofflancaster.com :
> But how can you inject previously selected items back into the selected
> menu? The only t
Hmm. I dug around a bit and Palette is a Panel rather than a form
component. It however allows access to an internal FormComponent
named recorder. So you can:
palette.getRecorderComponent().add(
new OnChangeAjaxBehavior(){
public void onUpdate(AjaxRequestTarget req){}
}
);
But that's p
@Giovanni,
Maybe you should re-think that requirement.
Even thought your intentions are good, if you review carefully your
statement "if some important configuration is missing", what could be
missing if you deploy your application as a self contained war? You mean
like DataSources or Container
After letting a session expire on a Search page using
QueryStringUrlCodingStrategy, hovering on a Link with an onmouseover
AjaxEventBehavior event throws a PageExpiredException, as expected.
However, after allowing the session to expire in the same
circumstance, and then clicking another l
OFF TOPIC!
Hi,
totally off topic - I know But I need someone outside from Poland
boarders to click on this link here:
http://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/rt/eclipselink/maven.repo
it redirects me to a non-complete maven repo in Poland (
http://ftp.man.poznan.pl/
http://eclipse.a3-system.be/rt/eclipselink/maven.repo/
2010/1/7 Paul Szulc :
> OFF TOPIC!
>
> Hi,
>
> totally off topic - I know But I need someone outside from Poland
> boarders to click on this link here:
>
> http://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/rt/eclipselink/mav
thank you so much!!
polish mirror
http://ftp.man.poznan.pl/eclipse/rt/eclipselink/maven.repo/
lacks half of the jars
thx again!!
On Thu, Jan 7, 2010 at 7:44 PM, Martin Makundi <
martin.maku...@koodaripalvelut.com> wrote:
> http://eclipse.a3-system.be/rt/eclipselink/maven.repo/
>
> 2010/1/7
We have some configurations (e.g. URL for webservices), which are coming from
properties defined in the launch command of the application server (e.g
-Dws.url=...).
We do in this way, instead of using properties file, because the client (bank)
environment for deploying is very rigid and unconve
> about "unversioned", i have just done a quick test on wicket-examples >
> helloworld, adding serialVersionUID (not informed in the examples) and
> the
> result is the same: pagestore file increasing to the "infinite" (max
> size of
> course :)
I meant Wicket's
setVersioned(false);
the serialVe
SetVersioned(false) does not help with new page instances being created.
-Matej
On Thu, Jan 7, 2010 at 9:46 PM, Wilhelmsen Tor Iver wrote:
>> about "unversioned", i have just done a quick test on wicket-examples >
>> helloworld, adding serialVersionUID (not informed in the examples) and
>> the
>
I'm trying to test onChange even on one dropdown so that the value is changed
in the other dropdown.When I submit the form I'm not able to get the values for
any of the fields.
I have seen people getting the same error but there is no solution so far.
Thanks for helping in advance.
@Test
> I'm trying to test onChange even on one dropdown so that the value is
> changed in the other dropdown.When I submit the form I'm not able to
> get the values for any of the fields.
> I have seen people getting the same error but there is no solution so
> far.
> Thanks for helping in advance.
>
> I'm trying to test onChange even on one dropdown so that the value is
> changed in the other dropdown.When I submit the form I'm not able to
> get the values for any of the fields.
> I have seen people getting the same error but there is no solution so
> far.
> Thanks for helping in advance.
>
I'm having a Panel which has some fields. I'm trying to write a test
case to test the Panel. I have a form inside the Panel.
But When I call
formTester.form("submit")
It calls the HomePage.
It doesn't fail but when I try to get the values of the fields I get
null.
What is the difference between
Hi all,
This is probably more of a Spring question than a Wicket question, but I'm
asking here in the hopes that someone else has done this before. Basically,
we have a page that uses the @SpringBean annotation to inject a credit card
validation service. At the moment, when we're developing, it's
Hi,
use a different applicationContext.xml that is used for integration testing.
(use maven profiles for using different resource path pointing to different
applicationContext.xml files).
You cannot use WebApplication.getConfigurationType() as you need a preloaded
spring configuration before y
Hi,
I'm sorry to put such an old topic up.
But I'm searching for a way to secure tabs with wicket-auth-roles and I
don't want to display the tabs when the user has no authorization for its
content panel.
I can't find the source code which is related to. Maybe somone can just add
a little code sn
Can't you just not add the tab if the user doesn't have the
role/permission required?
On Thu, Jan 7, 2010 at 5:25 PM, toberger wrote:
>
> Hi,
> I'm sorry to put such an old topic up.
> But I'm searching for a way to secure tabs with wicket-auth-roles and I
> don't want to display the tabs when th
I'm trying to write a test case in which I'm having onChange event for
the drop down. I also have textfield as well.
When I submit the form I don't get the value of the textfield.
But if I comment the onChange event call then I'm able to get the value
of the Text Field.
Any help...
@Test
p
Just dealt with this issue:
http://old.nabble.com/WicketTesterNo-Form-onSubmit-when-using-Ajax-DropDownChoice-Component-td27006022.html
http://old.nabble.com/WicketTesterNo-Form-onSubmit-when-using-Ajax-DropDownChoice-Component-td27006022.html
--
View this message in context:
http://o
Hi,
I am facing a hurdle that need crossing in my final attempt to push
Wicket for use in an organization.
I have:
1) Prototyped a small size module
2) Did 2-3 presentations on the key features and advantages of wicket
No one is disputing my claims about productivity and good OO code that
wa
The wiki has a list of some web sites that use Wicket.
http://cwiki.apache.org/WICKET/websites-based-on-wicket.html
A quick search of IBM shows approx 1,080 articles on Wicket:
http://www.google.com/search?q=site:ibm.com+wicket
Scott
On Thu, Jan 7, 2010 at 4:43 PM, Lester Chua wrote:
> Hi,
>
>
On the wiki there are some pages to help your cause:
http://cwiki.apache.org/WICKET/websites-based-on-wicket.html
http://cwiki.apache.org/WICKET/products-based-on-wicket.html
as well as blogs talking about Wicket, and lots more useful PR info:
http://cwiki.apache.org/WICKET/index.html
All the bes
Thanks for the links.
I have already submitted them as part of the evaluation process.
I'll take a look at the IBM links from scott.
Regards,
Lester
Steve Swinsburg wrote:
On the wiki there are some pages to help your cause:
http://cwiki.apache.org/WICKET/websites-based-on-wicket.html
http://
here is an interesting tidbit
wicket is on the front page of nabble
http://old.nabble.com/
sorted by activity. we are there along maven, jquery, cxf, tomcat,
etc. how is the adoption on those?
-igor
On Thu, Jan 7, 2010 at 6:19 PM, Lester Chua wrote:
> Thanks for the links.
> I have already su
Hi Lester,
I don't know if this helps but I work for a large staffing company called
Spherion Corporation.
Our most recent large applications have been created using Wicket. These
projects have been
delivered on-time, require low maintenance and have literally saved the
company millions of
dollar
Also the "Apache Wicket" LinkedIn group could be used to get a feel of
companies using Wicket, at the moment there are 524 members and counting:
http://www.linkedin.com/groups?viewMembers=&gid=80181
On Fri, Jan 8, 2010 at 8:30 AM, shetc wrote:
>
> Hi Lester,
>
> I don't know if this helps but I
You guys are AWESOME.
I'm composing an email to the evaluator-in-charge from the tech
committee. Hope all this is persuasive enough.
Regards,
Lester
Peter Thomas wrote:
Also the "Apache Wicket" LinkedIn group could be used to get a feel of
companies using Wicket, at the moment there are 524
ask them for their sources for adoption rates of struts 2, im curious.
-igor
On Thu, Jan 7, 2010 at 7:47 PM, Lester Chua wrote:
> You guys are AWESOME.
> I'm composing an email to the evaluator-in-charge from the tech committee.
> Hope all this is persuasive enough.
>
> Regards,
>
> Lester
>
>
>
Just a thought, in my experience a lot of project teams end up choosing
Struts2 thinking that it is a simple upgrade from Struts 1 and that existing
"in-house expertise" in Struts 1 can be preserved. This line of thinking
obviously appeals to "management".
Just in case, make it clear that Struts
yup. ibm is into it.
i also think it's telling that wicket is a global phenomenon at this
point... there are books on wicket in english (3), german (2), japanese (1)
and chinese (1). and these are independent books, not localizations of one
book.
jon
p.s. if your group needs advice, i oc
72 matches
Mail list logo