Last week we fixed an issue with Wicket 6 where mounted pages were being
reconstructed after the session expired. That was due to this (new) setting
which we set to false now:
getPageSettings().setRecreateMountedPagesAfterExpiry(false);
This worked perfectly for clicking on (ajax) links but,
Which 6.x version are you using? We had some Url rendering issues solved
in recent updates.
Sven
On 12/10/2012 04:12 AM, Chris Colman wrote:
When a browser (tested on FF and Chrome) makes a request after session
time out the jessionid is added to all links on the first page returned
- after
Hi Laura,
This has been improved recently with
https://issues.apache.org/jira/browse/WICKET-4865 (Wicket 6.3.0).
If this doesn't work for you then please attach a quickstart application to
a new ticket.
On Sat, Dec 8, 2012 at 9:46 PM, LauraZ zabaleta.la...@gmail.com wrote:
Hi, I'm having
Hi,
everyone can edit the wiki pages. All you need is to create an account.
Additionally I think that everything that is related to Wicket 1.4 and less
should be removed from the Wiki.
On Sat, Dec 8, 2012 at 3:21 PM, Lucio Crusca lu...@sulweb.org wrote:
In data venerdì 7 dicembre 2012
Hi,
You need to use BookmarkablePageLink (BPL) instead of Link to have a nice
looking urls for the links themselves.
With your approach the link url will be
'./req?4-2.ILinkListener-[...]-7-linkanchor'
and when clicked it will make a redirect to /req/post/1
With BPL the link url will be
I'm using the latest from git as of about 12 hours ago. I just did
another git pull and it says it's still up to date so I've got the
latest master source and I'm building the wicket jars from that.
-Original Message-
From: Sven Meier [mailto:s...@meiers.net]
Sent: Monday, 10 December
Hi,
When users use Nabble to write to our mailing lists the markup is removed.
Such mails have something like:
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/table-header-not-rendered-correctly-tp4654596.html
Sent from the Users forum mailing list archive at
Can this be reproduces with wicket-examples? If not, please create a
quickstart and attach it to a jira issue.
Thanks
Sven
On 12/10/2012 10:53 AM, Chris Colman wrote:
I'm using the latest from git as of about 12 hours ago. I just did
another git pull and it says it's still up to date so I've
Can you open an issue with a quickstart project?
I'm using the latest from git as of about 12 hours ago. I just did
another git pull and it says it's still up to date so I've got the
latest master source and I'm building the wicket jars from that.
-Original Message-
From: Sven Meier
Hi Ernesto,
I've just applied your patch.
Thanks!
On Sat, Dec 8, 2012 at 3:58 PM, Ernesto Reinaldo Barreiro
reier...@gmail.com wrote:
This seems to be the problem.
https://issues.apache.org/jira/browse/WICKET-4916
With patch applied to my local wicket branch tree grid works as expected.
Martin,
Many thanks!
On Mon, Dec 10, 2012 at 11:08 AM, Martin Grigorov mgrigo...@apache.orgwrote:
Hi Ernesto,
I've just applied your patch.
Thanks!
On Sat, Dec 8, 2012 at 3:58 PM, Ernesto Reinaldo Barreiro
reier...@gmail.com wrote:
This seems to be the problem.
Hi,
is there a way to have different page expiry error pages? For my app I
would like to redirect browsing users (not logged in) to a real error
page which is plain and simple but logged in users should be redirected
to the login page on session timeout.
Thanks,
Karsten
Hi,
See org.apache.wicket.request.cycle.AbstractRequestCycleListener#onException
With this you can return RenderPageRequestHanlder specific for any type of
exception.
On Mon, Dec 10, 2012 at 11:37 AM, Karsten Gaul karsten.g...@exedio.comwrote:
Hi,
is there a way to have different page
You need to show us some more code if we should help you. As everything is fine
in your quickstart - as you mentioned - the problem presumably seems to be
somewhere in you application, either some css or javascript issue as I suppose.
Try to reproduce and isolate it or show us some more.
I'm trying to create a minimalist quickstart that will reproduce it.
Seems like it only happens when app is installed at root - it has it's
own domain name via a virtual host or similar, in tomcat.
i.e. it's not occurring for http://localhost/doubleslash
which means the quickstart will likely
Ernesto,
With its jQuery backend and recent fixes I think the grid component will
become even more popular. See
http://wicketinaction.com/2012/12/wicketstuff-download-stats-for-nov-2012/
On Mon, Dec 10, 2012 at 11:15 AM, Ernesto Reinaldo Barreiro
reier...@gmail.com wrote:
Martin,
Many
Martin,
Glad to be of some help...
Maybe next round of development should target replacing the use of (the now
deprecated) Tree component, with Sven's new Tree... Thought that might
prove more complicated and might also bring API breaks.
On Mon, Dec 10, 2012 at 12:40 PM, Martin Grigorov
Hey Martin,
It's not about 'nice urls' as such, but with the Link-component, the
page doesn't redirect to /req/post/1. The redirection worked fine in
1.4.x, but in 1.6.x, it didn't work anymore. Dunno exactly why, but
all the links redirected to /post/62, not using/reading the
PageParameters. For
I think that the missing button is a bug while uploaded images are
placed into temp dir. I don't know if there is a way to configure this path.
Hi,
I have a form with a textarea TinyMceBehavior attached. I would like to
provide users to upload and include images in their articles. I did the
On Mon, Dec 10, 2012 at 10:24 AM, Martin Grigorov mgrigo...@apache.org wrote:
everyone can edit the wiki pages. All you need is to create an account.
Additionally I think that everything that is related to Wicket 1.4 and less
should be removed from the Wiki.
Funny, I just gave a presentation
Hi,
and sorry. Forgot to mention that I'm using wicket 1.4.21 so I was
trying to override
AbstractRequestCycleProcessor#respond(RuntimeException e, RequestCycle
requestCycle) and on second thought I guess overriding
RequestCycle#onRuntimeException should do the trick. I'll give it a try.
Martin Grigorov wrote:
Additionally I think that everything that is related to Wicket 1.4 and less
should be removed from the Wiki.
I'd like to add my voice to Martijn's comment that there are still
people out there who have no choice but to use 1.4. Typically guys
who have to support Wicket
Hi All,
I am using the authorization strategy to authorize viewing of pages by
checking if instantiation is allowed. If the session is not
authenticated, and if instantiation is not allowed, I redirect the user
to a login page using an IUnauthorizedComponentInstantiationListener.
I also
On Mon, Dec 10, 2012 at 4:39 PM, Joachim Schrod jsch...@acm.org wrote:
I'd like to add my voice to Martijn's comment that there are still
people out there who have no choice but to use 1.4. Typically guys
who have to support Wicket apps on app servers with no servlet-2.5-api.
I'm not 100%
Hi,
Iam new to Apache Wicket. I need to create a panel which contains submit and
cancel buttons.
So pls help me in doing this. I need a html and corresponding java page for
this.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/buttons-panel-tp4654624.html
Sent from
Consult Wicket's website and its live examples:
http://wicket.apache.org/
From Wicket's website Under the Learn section see the links for Examples:
http://wicket.apache.org/learn/examples/
Then follow the live action link:
http://www.wicket-library.com/wicket-examples/index.html
Take a look at
Do you want to redirect to the Login page for all thrown AccessDenied
exceptions? Or just in some situations?
If you want to do it for all, then create your own WebPage for
AccessDeinedPage such as:
public class AccessDeniedPage extends WebPage {
private static final long serialVersionUID =
My understanding of Form submit behavior with models is that onSubmit,
Wicket loads the model, and then applies all the changed form values to
that model. This works fine for non-collection types (Strings, ints etc)
set from all the input types Ive been using (TextField, RadioChoice, DDC
etc.).
I for one can't follow your example but sounds to me that you are setting
your model on the form and are using collections.
First use-case like that which comes to my mind is a list of selected radio
and check boxes or multiple selections in a select box.
Using Wicket you shouldn't have to work
Thanks, do you still need a quick start app to look into this, sorry i was
occupied in other pressing needs but i can try one if required.
On a different note, the problem seem to be only with Firefox 17 and 18, for
some reason there are no issues in older versions ( i tested with 12 and 14)
for
I have the following entities:
class A {
int someOtherVal;
String foo;
ListB b;
}
class B {
int someVal;
}
Ive created a form to edit an instance of A. I want the form to be able to
add/remove instances of B from the A.b collection. Ive tried using
different repeaters (started with ListView,
Have you used div (dividers) HTML elements for the other form components
that have the correct styling?
I think a div tag break the inherited CSS similar to how table works.
Try to either use a span or apply the same style to div.
On a side note, if you want to support accessibility your label
I take it your class A and B here are your POJO or Domain objects that you
use to set/get via Wicket models.
What model do you set to the component that doesn't update with your user
input?
~ Thank you,
Paul Bors
-Original Message-
From: Nick Pratt [mailto:nbpr...@gmail.com]
Sent:
I have an LDM that I pass in to the Panel containing the Form. I wrap the
passed-in LDM IModel with a CompoundPropertyModel which I supply to the
Form. All my components then use wicketid--propertyExpressions.
I supply the A.b name as the Wicket Id when I construct the LV.
N
On Mon, Dec 10,
Thanks, Paul.
The first div (profileTypeRow) has the correct styling. The only
difference between the profileTypeRow div and the oxeNodeRow div is
that profileTypeRow's visibility was never manipulated in the code, so it
is visible throughout while oxeNodeRow was initially hidden
I have the following code that is generating a ClassCastException that I do not
fully understand,
(WebResponse)RequestCycle.get().getResponse();
The actual type of the value returned is
org.apache.wicket.ajax.AbstractAjaxResponse$AjaxResponse.
I'm trying to understand why this call returns
Might be a Wicket problem too... how do you set the style initially that it
got lost?
Is it in the HTML code or via a Behavior?
As far as I recall, Wicket shouldn't remove any attribute set in the HTML
code but it might override or remove it if you set it in the Java code.
~ Thank you,
Paul
Sounds like it should be working... unless someone else on the list has
another quick idea of what could be wrong given the few details you have
provided I would advise you to create a quick start and try to see if you
can replicate the problem and then upload it somewhere we can get access to
it
Most likely because it is an Ajax response... :)
Do you have the AjaxIndicator somewhere on your page and does it indicate an
Ajax request cycle happening?
What about while in DEVELOPMENT mode, can you monitor the page activity
using the Wicket Ajax Debug Window?
FYI, while in DEVELOPMENT mode
The two divs are similar in the HTML:
div data-role=fieldcontain data-theme=b wicket:id=profileTypeRow
div data-role=fieldcontain data-theme=b wicket:id=oxeNodeRow
the data-theme attribute determines the style.
The wicket java code for the two divs are similar too, except the second div
was
Yeah, it is. The action was triggered via an AjaxLink which I didn't
realize at the time. Is there a way to get access to the WebResponse in
this scenario? I need to delete a cookie, but obviously, you cannot do so
through an AjaxResponse.
J.D.
On 12/10/12 12:56 PM, Paul Bors p...@bors.ws
Conform http://www.w3schools.com/tags/tag_div.asp data-theme is not an HTML
attribute for the DIV element and I'm sure Wicket won't remove it for you.
I'm new to jQuery but I think this is something you should report to them
because it sounds as if once the element is hidden and then shown again
Here is a quickstart:
https://dl.dropbox.com/u/107816727/quickstart.tar.gz
Two problems:
1. Hit add more than once causes an exception
2. On form submit doesnt set the ListB up in the A instance.
Any pointers would be appreciated.
Regards
Nick
On Mon, Dec 10, 2012 at 2:49 PM, Paul Bors
Seems this problem has shown up in one of our applications too :(.
I'll have to investigate where this double slash is coming from.
Sven
--
View this message in context:
I just found this:
http://wicketinaction.com/2008/10/building-a-listeditor-form-component/which
works great.
N
On Mon, Dec 10, 2012 at 3:56 PM, Nick Pratt nbpr...@gmail.com wrote:
Here is a quickstart:
https://dl.dropbox.com/u/107816727/quickstart.tar.gz
Two problems:
1. Hit add more
I am looking into stateless wicket. Do the setStatelessHint() work as
expected? My links are generated correctly, but when the page is rendered a
?#number is rendered - the #number being the normal wicket counter. I
read that the presence of this number indicates my page is not stateless.
And it
setStatelessHint() tells the page to attempt to be stateless, but if any of the
components or the behaviors are not stateless than the page will revert back to
statefulness.
There are several components which have stateless alternatives (StatelessForm
and StatelessLink for example), but the
I'm running into a curious issue and wondered if anyone has any idea what
else I can look into for a solution.
In wicket 1.4.21 (legacy app), I'm attempting to switch to font awesome for
icons in twitter bootstrap.
I've added the following patterns to the resource guard
Yes, Wicket in Action is what got me exposed to Wicket a few years back.
Thanks go out to Martijn Dashorst and Eelco Hillenius for taking the time to
write that book and I'm honestly looking forward to a new edition although
the book's site does save me quite a while :)
~ Thank you,
Paul Bors
For anyone else out there that runs into this thread looking for anything
similar, the final solution was (as usual) pretty dumb. A while ago our
static resources were moved from an external directory into
/src/main/resources. This directory was still being filtered in the
pom.xml. This is a
Hi Paul,
Thanks for the reply. Yes, I only want to redirect to a login page on
UnauthorizedActionException when the component is an instance of Page
and the action as RENDER and when the session is not authenticated, so a
custom access denied page is not exactly what I'm looking for, but I
I guess you can use language files in xml format instead of properties
On Tue, Dec 11, 2012 at 2:33 PM, oliver.stef ova...@gmail.com wrote:
Hi all,
When i'm saving my properties file in 'UTF-8' coding, i can't see the
correct chars (image 1).
but when i'm saving it as displayed if i'm
Give your file the suffix .utf8.properties.
Sven
On 12/11/2012 08:33 AM, oliver.stef wrote:
Hi all,
When i'm saving my properties file in 'UTF-8' coding, i can't see the
correct chars (image 1).
but when i'm saving it as displayed if i'm as 'ISO-8859-1' it looks fine
(image 2).
how can i set
53 matches
Mail list logo