It appears that nothing much happens with a ModalWindow until a user
clicks on a button to bring up a ModalWindow.
That should mean that the only performance consequences for embedding
ModalWindow capability in an application's base page class (and
therefore every page in the app) is that every
Searching Nable shows this question has been asked before but there none
of the solutions proposed there work for me.
I have a link in PanelA that, when clicked, should cause PanelB to
display in the same ModalWindow (PanelB replaced PanelA).
The onClick event handler does something like the
Hello guys!
I was trying to trigger a modal window from another modal window, but on top
modal window closing seems like the bottom page gets refreshed, or something
like this, because when I click on something on the middle frame (first modal)
that is active after the closing of the top
1) So, if I didn't access the session in my ajax callback then the page
would eventually expire. Another way to say this is if I simply had the
original Clock implementation on this page then the session would expire?
2) Is there an easy way of implement this countdown to expire?
On Mon, Jan
On Mon, 2010-01-25 at 11:26 +0200, Martin Asenov wrote:
Hello guys!
I was trying to trigger a modal window from another modal window, but on top
modal window closing seems like the bottom page gets refreshed, or something
like this, because when I click on something on the middle frame
Thanks, namesake, this is useful!
-Original Message-
From: Martin Grigorov [mailto:mcgreg...@e-card.bg]
Sent: Monday, January 25, 2010 12:06 PM
To: users@wicket.apache.org
Subject: Re: modal window contained and displayed by another modal window
On Mon, 2010-01-25 at 11:26 +0200, Martin
No one has a feeling about making a super/parent security framework for
wicket and then let providers implement their solution.. Like JPA ? It would
mean that it would be the same using Shiro or Swarm / Wasp etc.. You just
switch provider?
2010/1/22 nino martinez wael nino.martinez.w...@gmail.com
Yeah you should be able to cache / compress resources with Apache http. If
your resources are dynamic (session dependant) then offcourse it's not
possible.
2010/1/25 Douglas Ferguson doug...@douglasferguson.us
Hmm... Actually, I'm wanting to gzip them are they gziped?
Another thought was to
Hi,
Thanks for your help, that works.
But there's always an issue:
I'd like to display component that is common in all classes
So in my parent html :
body
span wicket:id=myDiv/span
div wicket:id=myNewPanel/div
div wicket:id=myNewPanel2/div
/body
And add a label with id
So in my parent html :
body
span wicket:id=myDiv/span
div wicket:id=myNewPanel/div
div wicket:id=myNewPanel2/div
/body
And add a label with id myDiv in related parent java. This part is
common to all classes.
But when I render the TestFormOne, that doesn't work
public abstract class MyPage extends WebPage {
public MyPage() {
add(createMyDiv(myDiv));
}
public abstract Component createMyDiv(String markuId);
}
public MyConcretePage extends MyPage {
public createMyDiv(String markupId) {
Hej,
2010/1/21 Lionel Port lio...@portconnection.com:
Not strictly a wicket question, I know.
For me tools are an important part of a framework's ecosystem.
Does anyone have wicket bench
working in Galileo or recent version of eclipse or know of a good
plugin I should be using?. My project
I do think this is a good idea, however it will be difficult to implement.
WASP/SWARM already provides this setup. WASP defines the interface, where
SWARM is the implementation of that interface. I do not know about Shiro, but
I don't think it is implemented on top of WASP. So should SWARM be
Aren't you missing a :
modalContentWindow.show(target)
in the onClick callback ?
2010/1/25 Chris Colman chr...@stepaheadsoftware.com
Searching Nable shows this question has been asked before but there none
of the solutions proposed there work for me.
I have a link in PanelA that, when
On Mon, Jan 25, 2010 at 6:11 AM, Emond Papegaaij
emond.papega...@topicus.nl wrote:
I do think this is a good idea, however it will be difficult to implement.
WASP/SWARM already provides this setup. WASP defines the interface, where
SWARM is the implementation of that interface. I do not know
On Mon, Jan 25, 2010 at 4:37 AM, Chuck Brinkman chasb1...@gmail.com wrote:
1) So, if I didn't access the session in my ajax callback then the page
would eventually expire. Another way to say this is if I simply had the
original Clock implementation on this page then the session would expire?
James,
Thanks for the information. I wonder if those using
AjaxSelfUpdatingTimerBehavior realize that this prevents session timeout?
Chuck
On Mon, Jan 25, 2010 at 7:09 AM, James Carman
jcar...@carmanconsulting.comwrote:
On Mon, Jan 25, 2010 at 4:37 AM, Chuck Brinkman chasb1...@gmail.com
On Monday 25 January 2010 13:02:05 James Carman wrote:
On Mon, Jan 25, 2010 at 6:11 AM, Emond Papegaaij
emond.papega...@topicus.nl wrote:
I do think this is a good idea, however it will be difficult to
implement. WASP/SWARM already provides this setup. WASP defines the
interface, where
I have updated the wicket libraries from 1.4.0 to 1.4.5 and now all pages
with form don't submit. On the feedback panel appear an empty li, the form
raise the onError but all components inside validate without errors. I've
iterated over components in the form but all FeedBackMessage property is
1.4.5
In window with list, I call modal window
(org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow)
with my edit window (extends org.apache.wicket.markup.html.WebPage with
WebSession.get().createAutoPageMap()).
This edit window contains some link, wich also create modal window for
Hi!
But it looks like this Eclipse plugin is not actively developed? Is it
time to buy an IDEA license where there seems to be a quite nice
toolset for Wicket?
I downloaded the open source version of IntelliJ and the wicket plugin
seems to work.
There is also a wicket plugin for NetBeans,
On Mon, Jan 25, 2010 at 8:07 AM, Emond Papegaaij
emond.papega...@topicus.nl wrote:
That sounds a bit overkill to me. I don't think anyone will ever want to use
SWARM in a non-Wicket application. Naturally, this is a bit different for
Shiro and spring-security, because these are existing
That's what I did when the component has to be overriden in subclasses.
But how does it work when the component is common to every concrete page? I
would not want to redefine common component in every concrete page.
Let's see my example, In my parent page :
public abstract class TestForm
Ok,
There was a problem when copy/paste html, sorry about that:
TestForm.html (parent html):
body
div wicket:id=myNewPanel/div
div wicket:id=myNewPanel2/div
/body
and TestFormOne.html(subclass html):
body
wicket:fragment wicket:id=myNewPanel
/wicket:fragment
Hej,
2010/1/25 Peter Karich peat...@yahoo.de:
Is it
time to buy an IDEA license where there seems to be a quite nice
toolset for Wicket?
I downloaded the open source version of IntelliJ and the wicket plugin seems
to work.
Yes, but the free version of IDEA is lacking too much in other
Hi,
I think you should provide component classes that are responsible for sub
elements
class TestFormPanel extends Panel {
public TestFormPanel(String markupId) {
super(markupId);
add(new Label(label,My very good label 1));
}
}
On Monday 25 January 2010 14:31:47 James Carman wrote:
On Mon, Jan 25, 2010 at 8:07 AM, Emond Papegaaij
emond.papega...@topicus.nl wrote:
That sounds a bit overkill to me. I don't think anyone will ever want to
use SWARM in a non-Wicket application. Naturally, this is a bit different
for
On Mon, Jan 25, 2010 at 9:11 AM, Emond Papegaaij
emond.papega...@topicus.nl wrote:
I didn't mean that providing a general framework for security providers is
overkill, just that modifying SWARM to be usable outside a Wicket-environment
is overkill. There is no need to split SWARM into a general
I've noticed in some places where generics wildcards may be useful that
they are not used. For example, in IColumn.
If I have a Type and a SubType that extends Type, I can't use
IColumnType in a DataTableSubType. Is there any reason for this or
was it just not implemented? Not the most necessary
Hi all,
I have a question regarding property binding when using localized
property files, consider following:
UserHomePage page has one property for localization and that is
title=User's Home which is then used in markup as:
head
titlewicket:message key=title //title
/head
...
This page
Hello,
I am using wicket together with spring. Getting it going with @SpringBean
was pretty straight forward but now I am wondering if it is possible to get
it going with JSR 330 annotations as the spring side of my app is already
using it.
Thanks,
Jochen
On Monday 25 January 2010 15:22:42 James Carman wrote:
On Mon, Jan 25, 2010 at 9:11 AM, Emond Papegaaij
The current wicket-security code is somewhat limited in what you can do
with it. WASP provides a much richer (probably too rich) interface for
security. I see WASP as a viable basis for
Hi Erik,
I understand this - I use it eg. HomePage has title=Home, UserHomePage
has title=User's Home etc... and it works top-down as expected.
But why does this topmost property title, that should bind itself to
key=title of wicket:messages attached to page component itself, got
bounded to
On Mon, Jan 25, 2010 at 9:50 AM, Emond Papegaaij
emond.papega...@topicus.nl wrote:
I think a good security framework needs to provide an API that allows, but not
require, fine-grained control.
Exactly! That's what I'm looking for. For the folks who want to get
down-and-dirty and really
Basically the list view depend from List interface due some calls to his
get(index) method. It means that the order of the components on the
collections, are meaninful to the component. If it is not your case (order,
item indexes doesn't matters), you can use an wrapper model in an list view,
The search for any given property key is top-down, the first result is
found.
Why? As I said, to allow an override of the component (which may be
third party).
Regards,
Erik.
Marek Šabo wrote:
Hi Erik,
I understand this - I use it eg. HomePage has title=Home, UserHomePage
has
That's exactly what I do now (wrapped model). Just wondering if there was a
technical reason behind it.
Sent via BlackBerry from T-Mobile
-Original Message-
From: Pedro Santos pedros...@gmail.com
Date: Mon, 25 Jan 2010 13:03:16
To: users@wicket.apache.org
Subject: Re: Generics
Just make sure that the items on the collection have an index (List
interface ensure it). It is important to the implementation of
ListItemModel.setObject for instance and turn possible the component
pagination.
On Mon, Jan 25, 2010 at 1:05 PM, s...@sambarrow.com wrote:
That's exactly what I do
On Monday 25 January 2010 15:59:53 James Carman wrote:
On Mon, Jan 25, 2010 at 9:50 AM, Emond Papegaaij
Most of the complicated stuff is from SWARM, which indeed requires a lot
of configuration. The difference between WASP and SWARM is not quite
clear from the documentation, nor is the
Hi,
well I see where was the misunderstanding. The FIRST result found. What
I'm used to when going from top to down is the LAST definition takes
effect. Well maybe I will see to it when I will do some modules but for
now I'll just rename it and won't use single name properties anymore to
On Mon, 2010-01-25 at 15:34 +0100, Jochen Mader wrote:
Hello,
I am using wicket together with spring. Getting it going with @SpringBean
was pretty straight forward but now I am wondering if it is possible to get
it going with JSR 330 annotations as the spring side of my app is already
using
On Mon, 2010-01-25 at 07:09 -0500, James Carman wrote:
On Mon, Jan 25, 2010 at 4:37 AM, Chuck Brinkman chasb1...@gmail.com wrote:
1) So, if I didn't access the session in my ajax callback then the page
would eventually expire. Another way to say this is if I simply had the
original Clock
I tried that initially but calling modalContentWindow.show when there
already is a ModalWindow being displayed creates a new ModalWindow that
sits over the top of the original one meaning I now have 2 windows that
the user has to close.
My aim is to have only one ModalWindow but just switch its
My use case might explain the situation better:
User visits a page that needs authentication. A ModalWindow appears with
a username/password field pair and a 'sign in' button. In case they are
a new user it also contains a 'create account' button. If they click
this then the contents of the
Thanks for the quick answer.
I never came across a scenario where somebody did or I would use two IoC
containers in the same application.
Why would you do that?
Cheers,
Jochen
For this to work can I use Panels for the Modal content or do I need to
use Pages for the content and set up a PageCreator?
-Original Message-
From: Chris Colman [mailto:chr...@stepaheadsoftware.com]
Sent: Tuesday, 26 January 2010 4:03 AM
To: users@wicket.apache.org
Subject: RE: How
Well I managed to get the panels to replace without adding a new
ModalWindow to the stack each time:
replacePanel(Panel existingPanel, Panel newPanel, String title,
AjaxRequestTarget target)
{
existingPanel.replaceWith(newPanel);
newPanel.setOutputMarkupId(true);
Also, it seems like ModalWindow.setTitle will not update the title after
the initial ModalWindow.show has been called.
Is there any way to trigger a title update after show has been called?
-Original Message-
From: Chris Colman [mailto:chr...@stepaheadsoftware.com]
Sent: Tuesday, 26
Hi all,
Our Wicket 1.4 project (currently 1.4.3) uses tabs on some pages to display
linked information. For example, an Account may have a User. On the Account
page, there would be a User tab in this case. The User is a PropertyModel
on a LoadableDetachableModel for the Account (which grabs from
Wicket needs to detach the replaced panel because it is no longer
attached to the component hierarchy. If we didn't detach at that time,
hell [c/w]ould break loose.
We assume with loadable detachable models that people use proper
caching such that the database won't be hit hard. E.G. if you use
I do understand and appreciate the need to detatch the models. It's just
that if the detached happened a few lines earlier, before the new tab is
instantiated, it would be a lot less error prone with respect to
accidentally causing more db load.
Current mechanism:
1. Instantiate new tab (causes
How are you frontending Tomcat with Apache? If it's by proxying, you may
just be able to configure it to do the gzip for you on anything in the
resources directory.
--
Jeremy Thomerson
http://www.wickettraining.com
On Sun, Jan 24, 2010 at 10:30 PM, Douglas Ferguson
doug...@douglasferguson.us
public abstract class TestForm extends WebPage {
public TestForm() {
add(new Label(myDiv, my div from test form)); = common to
every
concrete page
add(createDivWithComponent(myNewPanel)); = has to be
redefine by
each concrete page
Would your issue be better solved by the ability to override more than one
section of markup in a base page (the arbitrary figure of 'one', it was agreed,
was not mandated by java class hierarchy or any OO design principles of or for
any other reason - the page class still only derives from a
I have a panel with a form on it. I've attached an ajaxButton to submit
the form. Afterward, I want the inputs to be reset with the backing model
reset. I've done a lot of refreshing with an ajax submit, but I can't seem
to get the form's values to reset in the webpage. The backing model
I'm using modjk.
On Jan 25, 2010, at 4:05 PM, Jeremy Thomerson wrote:
How are you frontending Tomcat with Apache? If it's by proxying, you may
just be able to configure it to do the gzip for you on anything in the
resources directory.
--
Jeremy Thomerson
http://www.wickettraining.com
call form.modelchanged() after setting the new model
-igor
On Mon, Jan 25, 2010 at 9:23 PM, Flavius flav...@silverlion.com wrote:
I have a panel with a form on it. I've attached an ajaxButton to submit
the form. Afterward, I want the inputs to be reset with the backing model
reset. I've
I tried that. It didn't work.
Actually Component#setDefaultModelObject() already calls
modelChanging();
model.setObject(object);
modelChanged();
I also looked at the ajax guestbook example.
igor.vaynberg wrote:
call form.modelchanged() after setting the new model
-igor
On Mon, Jan
I've just checked in a major commit on wicket-security-1.4, adding generics,
cleaning up the API where needed and introducing a project wide source code
formatting. This commit has changed the API of wicket-security in some places.
If it breaks for you, please let me know, so I can fix it or
59 matches
Mail list logo