Hello,
In my application all the pages are restricted using the
MetaDataRoleAuthorizationStrategy.
I want to give my user the ability to directly see the data from such a page
using pageParameters:
- http://www.mysite.com/page1.html?login=abcpass=123
-
Hi,
You can always get the PageParameters from the page itself (given you
received them in the constructor). In case you do not want to handle
this on a page-by-page basis, they are also available through the
RequestCycle (in wicket 1.4). You could check if the params contain
login and pass
Thanks for the answer, but I don't know how to get the PageParameters from
the RequestCycle in the LoginPage, therefore some more information:
- my application extends AuthenticatedWebApplication
- the init of my Page1 or Page2 is never called because user is not
authorized to see page (because
Hi Marieke,
you could try to read page parameters before redirecting to
interceptPage and build an instance of this page passing these
parameters. Something like:
//read parameters
...parameters = RequestCycle.get().getResquest().getQueryParameters() ;
//convert parameters to PageParameters
Hi all,
I have a login form in a modal window.
I want that an error message appears when login fail, so my panel extends
FeedBackPanel.
But when I submit the form, an confirmation message appears with this
message :
Voulez-vous vraiment quitter cette page ?
Reloading this page will cause the
Translate the message to English and search in Nabble/Google.
It has been discussed many times.
On Wed, May 25, 2011 at 12:46 PM, Mathilde Pellerin
mathilde.pelle...@gmail.com wrote:
Hi all,
I have a login form in a modal window.
I want that an error message appears when login fail, so my
Hi,
i have AjaxButton which closes ModalWindow, but if i click twice on that
button, exception is thrown:
org.apache.wicket.WicketRuntimeException: Submit Button buttonOK... is
not visible
i've tried IndicatingAjaxButton and implementing IAjaxIndicatorAware and
AjaxIndicatorAppender . but
it seems that https://issues.apache.org/jira/browse/WICKET-3087 pretty much
fixed it. but sometimes, window is displayed more than once, and only button
at the last window works and other throw exception..
but it may be due to my implementation...
V.
fixed. :-)
before opening new window is good to call
ModalWindow.closeCurrent(AjaxRequestTarget.get());
V.
Thanks for answer.
Sorry for the first question : it was not the main problem so I didn't
search the solution. Now it's fine, the confirmation message disappear.
But the main problem was the second : how can I prevent the modal to
disappear when login failed?
I tried to use ajaxButton instead
just use an AjaxButton
François
Le 25 mai 2011 à 13:57, Mathilde Pellerin a écrit :
Thanks for answer.
Sorry for the first question : it was not the main problem so I didn't
search the solution. Now it's fine, the confirmation message disappear.
But the main problem was the second :
@Override
protected void onSubmit(AjaxRequestTarget ajaxRequestTarget,
Form? form) {
form.getDefaultModel().
}
Le 25 mai 2011 à 13:57, Mathilde Pellerin a écrit :
Thanks for answer.
Sorry for the first question : it was not the main
Ok, it's fix with an ajaxButton.
The first time that I tried, I forgot a cast, that's why it didn't work.
2011/5/25 Mathilde Pellerin mathilde.pelle...@gmail.com
Thanks for answer.
Sorry for the first question : it was not the main problem so I didn't
search the solution. Now it's fine,
hi folks,
i get wicket with the wicket...
what do i have is a simple tree in page X. after click a node i do a redirect
to pageY. so far so good. but the tree
collapsed after the redirect. it seems the tree is rebuild after the click. its
a kind of postback behavior.
my question is: what can
Hello,
I am trying to realize localized URLs in my application (using Wicket
1.4.17) as described in the Wicket wiki
(https://cwiki.apache.org/WICKET/wicket-and-localized-urls.html).
However, I have problems accessing the pages then - e.g., calling the
localization application of the wicket
Hello,
I am trying for a ListView inside a Listview which are inter dependent. But,
the error msg I am getting is WicketMessage: Unable to find component with
id 'allocation' in [MarkupContainer [Component id = 0]]. This means that you
declared wicket:id=allocation in your markup, but that you
add(new ListViewAllocation(allocation,
allocationListModel) {
shouldn't this be item.add ?
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail:
For clarity, I would rename the ListItems:
protected void populateItem(final ListItemAsset assetItem) {
assetItem.add(new Label(...));
assetItem.add(new ListViewAllocation(...) {
protected void populateItem(ListItemAllocation allocationItem) {
allocationItem.add(new
Thank you so much!!! It worked Silly mistakes cost a lot!!! Thanks
again!!
On Wed, May 25, 2011 at 1:40 PM, Peter Karich [via Apache Wicket]
ml-node+3550472-1465528180-240...@n4.nabble.com wrote:
add(new ListViewAllocation(allocation, allocationListModel) {
shouldn't this be item.add ?
Will do that now!! Got it worked!!!
Thanks a lot!!!
On Wed, May 25, 2011 at 1:47 PM, scott.swank [via Apache Wicket]
ml-node+3550491-1122803921-240...@n4.nabble.com wrote:
For clarity, I would rename the ListItems:
protected void populateItem(final ListItemAsset assetItem) {
Hi,
you could implements your own ITreeState which stores node expansion in
the session. There have been others who tried it (I don't know whether
they succeeded though):
http://apache-wicket.1842946.n4.nabble.com/setting-TreeState-in-Wicket-session-td1882197.html
Sven
On 05/25/2011
How are you getting back to the original page?
On Wed, May 25, 2011 at 11:09 AM, hubert_hupe hubert_h...@gmx.de wrote:
hi folks,
i get wicket with the wicket...
what do i have is a simple tree in page X. after click a node i do a redirect
to pageY. so far so good. but the tree
collapsed
Hi guys,
yes, I've had a look at the standard Wicket repeaters but I will give a
custom table view a try.
Best regards.
Am 16.05.2011 00:46, schrieb andrea del bene:
Hi Marcus
I guess you have already had a look at standard Wicket repeaters:
http://wicketstuff.org/wicket14/repeater
If no
For examples with Wicket 1.5 see
http://www.wicket-library.com/wicket-examples/mappers/en_US
On Wed, May 25, 2011 at 8:22 PM, Andreas Maza andr.m...@gmail.com wrote:
Hello,
I am trying to realize localized URLs in my application (using Wicket
1.4.17) as described in the Wicket wiki (
Hi,EVERYONE
I am a newer to wicket ,now i want to statistics session,how can i do it?
Can anyone give me some suggestion ?
Thanks!
this is how i achieve adding tool tips to a wicket palette - basically
overrode the method that conctructs the html for each of the options in the
palette panes which is the onComponentTagBody in the AbstractOptions class.
The code is almost identical to that in AbstractOptions onComponentTagBody
Sometimes on slower connections I see issues with the application with
ajax requests. If the request takes longer than 20 or 30 seconds my
page/panels become unresponsive?
Example pseudo code might include;
new TextField(text).add(new AjaxBehavior(onchange));
With this request, the ajax
This bug seems to be related to the issue I am experiencing.
https://issues.apache.org/jira/browse/WICKET-2246
From: Brown, Berlin [GCG-PFS]
Sent: Wednesday, May 25, 2011 11:57 PM
To: 'users@wicket.apache.org'
Subject: Slow ajax request and possible timeout
org.apache.wicket.Session.getSizeInBytes()
2011/5/26 KingFee Dong kingfee.d...@gmail.com
Hi,EVERYONE
I am a newer to wicket ,now i want to statistics session,how can i do it?
Can anyone give me some suggestion ?
Thanks!
--
Martin Grigorov
jWeekend
Training, Consulting, Development
Dear all,
currently my team is working on a project with a Wicket frontend and a
nearby deadline. Since we have not enough manpower to finish the
project, we are looking for an external consultant located near Hamburg
to help us implementing the frontend. Is there anybody out who is
available in
hi,
well could it be that you keep some references to the panels somewhere?
Maybe in the Session?
References to Componentes are garbage collected as every other class as soon
as no reference
to them is available to the GC.
Regards
Martin
--
View this message in context:
31 matches
Mail list logo