Hi,
what is the best place to hook into the request cycle
before a page gets processed ? I looked through
http://cwiki.apache.org/WICKET/lifecycle-of-a-wicket-application.html but
the
information there seems to be a bit outdated (the Session returned by the
Application
is asked to create a
ok, so the memento's are not incremental? Then only one memento should be
enough to restore the order back to the state the user created. That sound
good. I'll try that.
thanx
2008/2/11, Scott Swank [EMAIL PROTECTED]:
The order has methods createMemento():Memento and applyMemento(Memento
m).
hi maurice,
thanks for your answers. The reason why I want to avoid to have two
basepages (one implementing ISecurePage) is that if I wanted to change
something, such as markup, in the basepage I'd have to change it at two
places. Even worse if I extend my extended basepages further, there
Hi Igor,
The problem with the back button is that if i dont setResponsePage(), after
updating (or removing) a record from the list and pressing the back button,
the system displays the exact previous data entry form with the old values
of each record(!).
If i had made, lets say 10 updates, the
On Feb 12, 2008 9:24 AM, Michael Sparer [EMAIL PROTECTED] wrote:
hi maurice,
thanks for your answers. The reason why I want to avoid to have two
basepages (one implementing ISecurePage) is that if I wanted to change
something, such as markup, in the basepage I'd have to change it at two
About stackoverflow, cant you do that code in attach() of the session?
(test ofcourse if you want to do it once)
On 2/12/08, Michael Sparer [EMAIL PROTECTED] wrote:
hi maurice,
thanks for your answers. The reason why I want to avoid to have two
basepages (one implementing ISecurePage) is
If i add an extra method isUserAuthenticated to my
WaspAuthorizationStrategy, then yeah i probably could let wasp handle
everything in the WaspSession class.
I need to know if a user is logged in before i force the session to bind.
Thnx Johan.
Maurice
On Feb 12, 2008 10:13 AM, Johan Compagner
Can you attach with debugger to see what is in the Session actually?
Because if you set the User object via Wicket's Session then it prepends
a prefix to the key of all objects in the session. See
o.a.w.protocol.http.WebApplication.getSessionAttributePrefix(WebRequest)
On Tue, 2008-02-12 at
this memory space is shared by all libs in the vm. so maybe your ears
are taking up a ton of space and only a small amount is left to the
wicket app...its just not the right way to look at the problem. this
is not heap space which is allocated for runtime stuff, this is the
space used by VM to
then you are not using the proper model, you should use a detachable
model to feed your repeater. see LoadableDetachableModel. paste your
code if you have more questions.
-igor
On Feb 12, 2008 12:34 AM, Constantin Y [EMAIL PROTECTED] wrote:
Hi Igor,
The problem with the back button is that
Michael Mehrle wrote:
Now, if I want to call a method that returns a String instead, like
so...
add(new Label(greetings, new StringResourceModel(label.allAlbums,
this, new Model(getTotalAlbums(;
^^^
...with my properties file having this entry:
not, this has nothing to do with load. look, your jvm has a preset
permgen limit where bytecode is stored. lets say that permgen is
allocated 60 megs, and all these numbers are arbitrary.
first jboss loads all its jars, which arbitrarily takes 30mb. so after
jboss is loaded you have 30mb permgen
It is meetup time again! Our last Amsterdam Meetup was a big success
and we want to make that a tradition. More than 80 Wicket developers
attended the meetup. If you have missed the previous meetup from Nov
30th, 2007 you can see the pictures online [1], or enjoy the
presentations [2].
Our next
Igor,
Thanks. It was my fault. I have the setter modifier as private.
On Tue, Feb 12, 2008 at 4:46 PM, Igor Vaynberg [EMAIL PROTECTED]
wrote:
please provide a quickstart in a jira issue, or at least show us some code
-igor
On Feb 12, 2008 9:53 AM, Fernando Wermus [EMAIL PROTECTED]
It doesn't work because of the markup I've added. I need two list for my
case.
Any suggestion would help.
On Tue, Feb 12, 2008 at 9:12 PM, Fernando Wermus [EMAIL PROTECTED]
wrote:
Hi all,
I am using SortableListView. I can drag and drop and reorder the
items in the list, but I cannot
Verified fixed in 1.3.1.
--
View this message in context:
http://www.nabble.com/DatePicker-NaN-tp12759906p15446234.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL
Hey guys,
i got this strange issue, what I am doing at the moment is attempting to
pass an objectModel to a child panel thru panel.setModel() but i am getting
a null exception error.
I have run debugger and found that when i retrieve the ModelObject for
imageInfo in Csession, its not null.
hi johan
How to use threadpool in a wicket. Can u explain it a bit..
thanks in advance
-kenix
kenixwong wrote:
sorry for late reply. johan
i never use the threadpool even the thread as well... To start form the
thread.. i tried for the simple thread program as below
package thread;
It's sort of a known issue of Tomcat (or Sun JVM? Which one I can't
remember exactly). It happens when one does repeated hot redeployment.
Tomcat can't clear the permgen space, so the classes get accumulated and
eventually permgen space runs out. Something like that :) There's a lot
of dicussion
Hi all,
I am using SortableListView. I can drag and drop and reorder the
items in the list, but I cannot see any ajax message going around. I think I
am missing something as newbie.
SortableListView sortableFirst=crearSortableList(firstlist,
firstlist_firstlist, listData, imagenDePerfil,
as i said, what i have shown you is an oversimplification. certainly
you can try to load the wicket app first, in reality classes are
loaded lazily. so load the wicket app first, use it for a bit to make
sure it loads whatever classes it needs, then deploy the first and
second ears. that should
Thanks Matej, I'll try that.
On Feb 13, 2008 1:21 AM, Matej Knopp [EMAIL PROTECTED] wrote:
extend wicket's WebSession by your own session class.
and add setUserProfile/getUserProvile methods to id.
Override Application#newSession method and create your session insteance.
Then in your app
extend wicket's WebSession by your own session class.
and add setUserProfile/getUserProvile methods to id.
Override Application#newSession method and create your session insteance.
Then in your app just do ((MySession)Session.get()).settUserProfile(profile).
-Matej
On Feb 12, 2008 11:09 PM,
Hello Wicket people,
I've a bean containing user information, UserProfile. I want this bean to be
accessible for all the pages during user's session, so I guess, I have to
store it in the session somehow.
There's also a UserProfilePage where UserBean is used as data object for
It means that if I want to porove that Wicket is not the problem, we can
try to load Wicket as the first application and then the others. Should the
problem arise always on the last deployed application?
V.
On Feb 12, 2008 10:53 PM, Igor Vaynberg [EMAIL PROTECTED] wrote:
not, this has nothing
Wow, that is cool - excellent, excellent input - that's exactly what I
need. Roland - you're the man :-)
Thanks!
Michael
-Original Message-
From: Roland Huss [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 12, 2008 12:19 PM
To: users@wicket.apache.org
Subject: RE: StringResourceModel
Hi Igor,
thanks for your fast answer (as usual)!!!
So this also means that it's the high load on the bigger applications which
is causing that *only* the smallest (and less used) Wicket app has at the
moment the problem. Do you agree?
We will try to monitor the usage by all the application
Michael Mehrle wrote:
One more question - what do you refer to with 'late binding' - I assume
the value would be computed 'late' in the process? Please elaborate or
send me a pointer.
...
Alternatively, I you need late binding put
new AbstractReadOnlyModel() {
public Object
Well, the reason why was I didn't know that call existed ;-) Of course I
looked at the JavaDoc, but the examples there didn't show this scenario.
Thanks a LOT for your reply - this addresses exactly what I'm looking
for :-)
One more question - what do you refer to with 'late binding' - I assume
How do you set-up a custom access denied page that has a message on it
like Users in group xxx do not have access to yyy? I also want to have
this page return to the previous page the user was on. I am using
wicket-security (wasp and swarm).
Thanks,
Warren Bell
please provide a quickstart in a jira issue, or at least show us some code
-igor
On Feb 12, 2008 9:53 AM, Fernando Wermus [EMAIL PROTECTED] wrote:
I have a wizard which have 2 wizard steps. I have a model where wicket
sets the values. Actually, it is setting well the value in comboBoxs.
see
http://wicketstuff.org/wicket13/pub/
and
http://wicketstuff.org/wicket13/pub2
source is available in wicket-examples project
-igor
On Feb 12, 2008 8:01 AM, Korsten, Peter, VF-MT
[EMAIL PROTECTED] wrote:
Hi,
I've just started with Wicket, and I'm struggling a bit with the
yes, you can subclass a page and put the resource next to it. another
alternative is to put the package into the same package as the
original page. yet another alternative is to add those keys to your
myapplicaiton.properties
-igor
On Feb 12, 2008 7:49 AM, Wang, Yuesong [EMAIL PROTECTED] wrote:
add(new CheckBox(openLocationPanelLink) {
oncomponenttag(tag) {
tag.put(onclick, var panel=document.getElementById(' +
addLocationPanel.getMarkupId() +
');panel.style.display=this.checked?'block':'none';)));
}
that way your code will execute during render time at which markupid
is available.
I have been unable to get the JFreeChart ToolTips to work in Wicket (NetBeans
6.0).
The wiki example sets the tooltips flag to true, but the resulting web page
contains no image map... thus, no tooltips.
Should this work?
Thanks,
Scott
--
View this message in context:
or you can bind the model to a property, and then when a component is
rendered it will use the value in that property, when it is submitted
it will set the value to that property - that way it is all completely
transparent.
see PropertyModel, the wiki has a great page that explains how models
can you set a debug point in arrayiteratoradapter and see why it is
getting null array passed in? the line numbers dont line up for my
source, but it looks like your columns var is actually a null array?
-igor
On Feb 12, 2008 4:52 AM, Araz [EMAIL PROTECTED] wrote:
Hi There,
I'm trying to add
On Mon, 11 Feb 2008 13:01:47 +0100
Johan Compagner [EMAIL PROTECTED] wrote:
i guess we could up the level a bit yes
Because in 1.3 it is pretty serious error if we cant save the page.
Great! Should I open a JIRA issue to track this?
The auth-roles project is basically an example, so the fact that you copied
it, is a good thing (tm). Even though it is sufficient for a lot of
projects, if you need anything beyond the current capabilities, then rolling
your own is the way to go. Or use Swarm/Wasp from Wicket Stuff.
Martijn
On
Martijn Dashorst wrote:
The auth-roles project is basically an example, so the fact that you
copied
it, is a good thing (tm). Even though it is sufficient for a lot of
projects, if you need anything beyond the current capabilities, then
rolling
your own is the way to go. Or use
Didn't see a response - does anyone know how to do this?
-Original Message-
From: Michael Mehrle [mailto:[EMAIL PROTECTED]
Sent: Monday, February 11, 2008 5:53 PM
To: users@wicket.apache.org
Subject: StringResourceModel - how to pass method call instead of bean
I actually have a follow
Hi Martijn,
Martijn Dashorst wrote:
Take a look at wicket-auth-roles. This provides the usual security stuff,
and you can easily also check for a set cookie. Just implement your own
authorisation scheme.
Thanks, this was exactly the pointer I was looking for
(i.e. the hook via
well it's done using DefaultDataTable... I think I should have used that in the
first place...thnX anyway
- Original Message
From: Igor Vaynberg [EMAIL PROTECTED]
To: users@wicket.apache.org
Sent: Tuesday, February 12, 2008 10:03:40 PM
Subject: Re: problem using DataGridView
can you
It is meetup time again! Our last Amsterdam Meetup was a big success
and we want to continue that tradition. Over 80 Wicket developers
attended the previous meetup and we had a blast. If you have missed
the previous meetup from Nov 30th, 2007 you can see the pictures
online [1], or enjoy the
Hi,
Does someone knows a solution for reading the selected radio button in the
validate() of a IFormValidator implementation? The problem I have is that
getOutput() on a form component gives the value out of the HTML because no
conversion to objects is yet done in the validation step. By the way,
Hi,
Thanx for the hints :)
The problem is solved, but I'm not sure whether Ryan has patched the
scriptaculous code in wicket-stuff svn.
Regards,
Edward Yakop
On Feb 13, 2008 2:10 PM, Ernesto Reinaldo Barreiro [EMAIL PROTECTED] wrote:
Don't know if it is the same issue but I have found the
Hello,
I have Panel on which in constructor I put nested Panel:
public class RegisterUserPanel extends Panel {
public RegisterUserPanel(String id) {
...
final Panel addLocationPanel = new AddLocationPanel(addLocationPanel);
addLocationPanel.add(new SimpleAttributeModifier(style, display:none;));
Hi,
I've just started with Wicket, and I'm struggling a bit with the
documentation. Google hasn't helped either to provide an answer.
What I'm after is to have a 'switch locale' link in a different
language. Suppose you have an English (default) and a Dutch version, you
would have 'Nederlandse
Maybe you can extend the page, or duplicate the external package in your
own code base, and put your localized properties file there? WARNING:
I'm a newbie to wicket, so my suggestions might not work at all ;)
Yuesong
-Original Message-
From: Thomas Kappler [mailto:[EMAIL PROTECTED]
ldap project has been put on hold for a more pressing project :(
I plan on getting something in place to address the ldap and mounting strategy
as soon as I complete the current project I am working on :o)
You have done a great job with Wasp/Swarm and I think that it is worth me
spending the
I have moved my objects in Pnale to fields eg.:
public class RegisterUserPanel extends Panel {
final CheckBox openClosePanelCheckBox;
final Panel addLocationPanel;
...
}
and from Page I setup attributes:
RegisterUserPanel registerUserPanel = new
Hi.
I would like to save the result of a DropDownChoice in my custom session.
But, I am stumped about how to extend it. I had thought that I would
@Override the getChoices and onSelectionChanged methods, but Eclipse tells
me that The method onSelectionChanged(Pool) of type PoolSelect must
Hey William,
How is the ldap integration comming along?
Like i said then, i don't have a solution ready for how you would do
such a thing, and frankly it doesn't bother me enough if sometimes i
have to implement ISecurePage myself.
But i welcome a contribution that could do it :)
Maurice
On Feb
Hi There,
I'm trying to add a DataGridView to my page with custom columns, here is what
I've done:
DataGridView table = new DataGridView(rows, columns, new
ReportDataProvider(values));
with this html:
table cellspacing=0 cellpadding=2 border=1
tr wicket:id=rows
td wicket:id=cells
Take a look at wicket-auth-roles. This provides the usual security stuff,
and you can easily also check for a set cookie. Just implement your own
authorisation scheme.
Martijn
On 2/12/08, Roland Huss [EMAIL PROTECTED] wrote:
Hi,
what is the best place to hook into the request cycle
before a
On Tue, 12 Feb 2008, Roland Huss wrote:
what is the best place to hook into the request cycle
before a page gets processed ? I looked through
http://cwiki.apache.org/WICKET/lifecycle-of-a-wicket-application.html but
the
information there seems to be a bit outdated (the Session returned by
Hi Johan,
we proposed the increased memory solution to our IT department but the
answer was:
Why this problem is occurring only with the small application using
Wicket?.
We have three ears deployed on the same Jboss instance. One is using Spring
MVC, one CXF and the admin module is using
I still think that a more elegant and non-obtrusive solution would be
mountSecurePage(MySecureWebPage.class)
discussed previously in:
http://www.mail-archive.com/users@wicket.apache.org/msg09129.html
That way you could have one basepage because they would not have to extend
SecureWebPage
My workaround was this. The idea is to add a submit behavior to the text
field, and it fires that only when user hits enter.
This code is inside the form's constructor.
searchCriteria = new TextField(searchCriteria, new Model());
searchCriteria.add(new AjaxFormSubmitBehavior(this, onkeypress) {
hi everyone,
I would like to ask how I could actually get data from the different
components in the wicket examples...
For example in the YUI selection or in the RatingPanel...
What will my code look like if I have a submit button and I want to know the
rating?
(e.g. how many stars were
Data in wicket components is wrapped in models.
You can ask a component for its model: getModel() and then ask the
model for its data: getObject().
Or you can use the shortcut getModelObject() on a component.
Setting data is done in a similar way.
Maurice
On Feb 12, 2008 3:11 PM, carloc [EMAIL
Hi Adr,
The markupid of any component is only assigned when the containing
component is actually added into the page.
The way around this is that the AttributeModifier (and most other
behaviours I believe) class actually renders the onclick event during
the onComponentTag(..) method of the
Don't know if it is the same issue but I have found the same problem a
while ago (refreshing a component via Ajax) and the problem was
scriptaculous requires to clean up the Droppables if an element was
removed from the DOM tree. So, all I did was add a a clearAll
(JavaScript) method that
63 matches
Mail list logo