Wicket automatically decides whether redirect is needed for the
current request or not depending on the configured
org.apache.wicket.settings.IRequestCycleSettings.RenderStrategy and by
comparing the current url with the one that the IRequestMapper has
generated for the page that is going to be ren
Martin,
Thanks very much, got the idea!
Regards,
Bernard
On Fri, 2 Sep 2011 09:31:39 +0200, you wrote:
>Wicket automatically decides whether redirect is needed for the
>current request or not depending on the configured
>org.apache.wicket.settings.IRequestCycleSettings.RenderStrategy and by
>c
Hi,
On Fri, Sep 2, 2011 at 2:12 AM, pasto wrote:
> Hi,
>
> while patching the original portlet support in Wicket 1.4 to Wicket 1.5, I
> run into 2 problems:
>
> 1) Url returned by the RequestMapper does not seem to be properly rendered,
> as it does not encode question mark character in the Url p
Hello.
I'm tying to migrate a project from wicket 1.4.18 to 1.5rc7.
I have a problem trying to add css and javascript links to my html code;
css and javascript files are located outside classpath (outside
WEB-INF).
In wicket 1.4.18 I do:
add(CSSPackageResource.getHeaderContribution("css/ma
Quick solution for your case:
Implement a new ResourceReference which returns
org.apache.wicket.request.resource.ContextRelativeResource in its
#getResource().
I think we should add such ResourceReference in wicket-core.
I am not sure at the moment what's the problem with the wrongly
produced Url
Thanks a lot, somehow I did not expect it so be so easy to override :). I
have filed a bug for the UrlEncoder
https://issues.apache.org/jira/browse/WICKET-4019.
Peter.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/UrlEncoder-question-mark-not-encoded-for-parameter-
Now I remembered, why I did not check the 'nextSequenceValue'. It returns an
integer and I don't know about any unique portlet identifier, that is a
number and could be used to make the markup ID unique. Of course, I can
generate a hash or use a part of the portlet name, but that does not look
that
use getMarkupId() to get the generated by Wicket and then
setMarkupId(orig + myUUID)
On Fri, Sep 2, 2011 at 11:05 AM, pasto wrote:
> Now I remembered, why I did not check the 'nextSequenceValue'. It returns an
> integer and I don't know about any unique portlet identifier, that is a
> number and
I might be missing something. But how to do this automatically for
every component that is being rendered?
On Fri, Sep 2, 2011 at 11:08 AM, Martin Grigorov-4 [via Apache Wicket]
wrote:
> use getMarkupId() to get the generated by Wicket and then
> setMarkupId(orig + myUUID)
>
> On Fri, Sep 2, 2011
Hi,
my usecase: Google caches page urls from our old shop. Because we
changed the url layout i have to redirect all page requests to the new page.
I did that this way
wicket-1.4.18
@Override
protected void onBeforeRender() {
super.onBeforeRender();
final String url =
org.apache.wicket.Application.getComponentInitializationListeners().add(new
IComponentInitializationListener() {
onInitialize(Component) {
//do the trick here
}
})
On Fri, Sep 2, 2011 at 11:16 AM, pasto wrote:
> I might be missing something. But how to do this automatically for
> every co
aah, that was really long time ago, when I used this for
SpringComponentInjector, thanks for the tip.
Peter.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/UrlEncoder-question-mark-not-encoded-for-parameter-values-tp3785027p3785702.html
Sent from the Users forum mail
On Fri, Sep 2, 2011 at 11:24 AM, Mike Mander wrote:
> Hi,
>
> my usecase: Google caches page urls from our old shop. Because we changed
> the url layout i have to redirect all page requests to the new page.
>
> I did that this way
> wicket-1.4.18
>
> @Override
> protected void onBeforeRender
Thanks Martin,
that worked. Is this still the way to go in wicket 1.5?
Thanks
Mike
On Fri, Sep 2, 2011 at 11:24 AM, Mike Mander wrote:
Hi,
my usecase: Google caches page urls from our old shop. Because we changed
the url layout i have to redirect all page requests to the new page.
I did tha
Hello guys,
I've got the following issue. I have a main page that declares in its
markup . Once I replace an existing panel with another one, some JQuery
within the file scripts.js cannot detect markup that come with the new
panel and therefore does not call them. It acts just like that marku
In migration guide it says
org.apache.wicket.markup.html.resources.CompressedResourceReference
org.apache.wicket.request.resource.CompressedResourceReference
But i can't import it. Do i have to include another wicket library?
Thanks
Mike
---
Sorry for spaming.
But i can't find CookieValuePersister anymore.
Thanks
Mike
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
I think I remember I saw I commit message telling the feature was
dropped... but I might be wrong.
Best,
Ernesto
On Fri, Sep 2, 2011 at 1:05 PM, Mike Mander wrote:
> In migration guide it says
> org.apache.wicket.markup.html.resources.CompressedResourceReference
> org.apache.wicket.request.reso
Am 02.09.2011 13:15, schrieb Mike Mander:
Sorry for spaming.
But i can't find CookieValuePersister anymore.
Thanks
Mike
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@
Am 02.09.2011 13:15, schrieb Ernesto Reinaldo Barreiro:
I think I remember I saw I commit message telling the feature was
dropped... but I might be wrong.
Best,
Ernesto
On Fri, Sep 2, 2011 at 1:05 PM, Mike Mander wrote:
In migration guide it says
org.apache.wicket.markup.html.resources.Compr
Yes. Most (all?!) of the web servers provide such functionality. No
need Wicket to compress as well.
Actually we have tickets because of double compressing and the browser
wasn't able to read.
On Fri, Sep 2, 2011 at 1:20 PM, Mike Mander wrote:
> Am 02.09.2011 13:15, schrieb Ernesto Reinaldo Barre
Thank you, it worked.
I'll try to create a quickstart...
Matteo Sotil
-Mensaje original-
De: Martin Grigorov [mailto:mgrigo...@apache.org]
Enviado el: viernes, 02 de septiembre de 2011 10:37
Para: users@wicket.apache.org
Asunto: Re: Reference to css outside classpath on wicket 1.5RC7
Q
I guess so... but maybe a commiter can confirm is that's correct.
Best,
Ernesto
On Fri, Sep 2, 2011 at 1:20 PM, Mike Mander wrote:
> Am 02.09.2011 13:15, schrieb Ernesto Reinaldo Barreiro:
>>
>> I think I remember I saw I commit message telling the feature was
>> dropped... but I might be wrong
With the 1.4 release of wicket, is there a way to determine when a
component has changed visibility. Mainly from false to true visibility.
I can use onBeforeRender or onConfigure to determine when the component
is being rendered.
onAfterRender will get called after it is rendered but the comp
Even the migration guide have it:
https://cwiki.apache.org/confluence/display/WICKET/Migration+to+Wicket+1.5#MigrationtoWicket1.5-RemovedCompressedPackageResource
On Fri, Sep 2, 2011 at 1:54 PM, Ernesto Reinaldo Barreiro
wrote:
> I guess so... but maybe a commiter can confirm is that's correct.
>
onBeforeRender() is not called for invisible components
On Fri, Sep 2, 2011 at 2:41 PM, Brown, Berlin [GCG-PFS]
wrote:
> With the 1.4 release of wicket, is there a way to determine when a
> component has changed visibility. Mainly from false to true visibility.
>
> I can use onBeforeRender or on
Martin,
Still sticking to 1.4.x over here;-) Hope soon I can jump to 1.5.x
Cheers,
Ernesto
On Fri, Sep 2, 2011 at 2:43 PM, Martin Grigorov wrote:
> Even the migration guide have it:
> https://cwiki.apache.org/confluence/display/WICKET/Migration+to+Wicket+1.5#MigrationtoWicket1.5-RemovedCompres
I hope too :-)
You make nice additions in our wiki. It would be great if they were for 1.5 ;-)
On Fri, Sep 2, 2011 at 2:47 PM, Ernesto Reinaldo Barreiro
wrote:
> Martin,
>
> Still sticking to 1.4.x over here;-) Hope soon I can jump to 1.5.x
>
> Cheers,
>
> Ernesto
>
> On Fri, Sep 2, 2011 at 2:43
Is there another method to determine when the visibility of a component has
changed.
E.g.
If a window is shown (through ajax possibly): Some listener
Onevent() { this is visible }
...
Onevent2() { this is now being changed to not visible }
-Original Message-
From: Martin Grigorov [
Hi, I have a modal window defined like in the following example:
*public class *Modal *extends *WebPage
{
*public *Modal()
{
*final *ModalWindow modal1;
add(modal1 = *new *ModalWindow("modal1"));
modal1.setPageMapName("modal-1");
modal1.setCookieName("modal-1");
modal1.setPageCreator
Hi, I have a modal window defined like in the following example:
*public class *Modal *extends *WebPage
{
*public *Modal()
{
*final *ModalWindow modal1;
add(modal1 = *new *ModalWindow("modal1"));
modal1.setPageMapName("modal-1");
modal1.setCookieName("modal-1");
modal1.setPageCreato
Why not pull your data from session instead, the hollywood way?
Push is mostly not a good way to do it.
**
Martin
2011/9/2 Anna Simbirtsev :
> Hi, I have a modal window defined like in the following example:
>
>
> *public class *Modal *extends *WebPage
> {
> *public *Modal()
> {
> *final *Mod
google "jquery live"
-igor
On Fri, Sep 2, 2011 at 2:02 AM, wrote:
>
>
>
> Hello guys,
>
>
> I've got the following issue. I have a main page that declares in its
> markup . Once I replace an existing panel with another one, some JQuery
> within the file scripts.js cannot detect markup that come
he is a committer
-igor
On Fri, Sep 2, 2011 at 4:54 AM, Ernesto Reinaldo Barreiro
wrote:
> I guess so... but maybe a commiter can confirm is that's correct.
>
> Best,
>
> Ernesto
>
> On Fri, Sep 2, 2011 at 1:20 PM, Mike Mander wrote:
>> Am 02.09.2011 13:15, schrieb Ernesto Reinaldo Barreiro:
>
whats the usecase?
-igor
On Fri, Sep 2, 2011 at 6:19 AM, Brown, Berlin [GCG-PFS]
wrote:
> Is there another method to determine when the visibility of a component has
> changed.
>
> E.g.
>
> If a window is shown (through ajax possibly): Some listener
>
> Onevent() { this is visible }
>
> ...
>
>
you cannot pass page instances between pages. if you need this kind of
communication make ModalPage1 a panel instead of a page.
-igor
On Fri, Sep 2, 2011 at 8:07 AM, Anna Simbirtsev wrote:
> Hi, I have a modal window defined like in the following example:
>
>
> *public class *Modal *extends *We
You mean Mike or Martin? I know Martin is commiter since the official
announcement... and also because of the many commit messages he
produces every day...
Cheers,
Ernesto
On Fri, Sep 2, 2011 at 5:23 PM, Igor Vaynberg wrote:
> he is a committer
>
> -igor
>
>
> On Fri, Sep 2, 2011 at 4:54 AM, E
Thanks, fixed it.
- Цитат от Igor Vaynberg (igor.vaynb...@gmail.com), на
02.09.2011 в 18:20 - google "jquery live"
-igor
On Fri, Sep 2, 2011 at 2:02 AM, wrote:
Hello guys,
I've got the following issue. I have a main page that declares in its
markup . Once I replace an exist
Hello, guys,
I'm experiencing some very strange problem - an AjaxButton's onSubmit never
gets called.
Here are snippets of what I have:
HTML:
... some fields...
in code:
Form form = new Form("form");
AjaxButton submitButton = new AjaxButton("submit") {
public void onSubmit
Hello, guys,
I'm experiencing some very strange problem - an AjaxButton's onSubmit never
gets called.
Here are snippets of what I have:
HTML:
... some fields...
in code:
Form form = new Form("form");
AjaxButton submitButton = new AjaxButton("submit") {
public void onSubmi
Sorry, HTML is:
... some fields...
- Цитат от martin.ase...@mail.bg, на 02.09.2011 в 18:50 -
Hello, guys,
I'm experiencing some very strange problem - an AjaxButton's onSubmit never
gets called.
Here are snippets of what I have:
HTML:
... some fields...
in code:
maybe you have validation errors and in that case onError will be
called instead.
Regards,
Ernesto
On Fri, Sep 2, 2011 at 5:50 PM, wrote:
>
>
>
> Hello, guys,
>
>
> I'm experiencing some very strange problem - an AjaxButton's onSubmit never
> gets called.
>
>
> Here are snippets of what I have
Thanks, this is the case.
However, I've no idea why the form does validation, since I have no
required fields in it, nor have specified any validator.
Best regards,
Martin
- Цитат от Ernesto Reinaldo Barreiro (reier...@gmail.com), на
02.09.2011 в 18:55 - maybe you have valida
Hi
I've got some issues with the OpenSessionInViewFilter I integrated into a
Wicket application to get rid of the LazyLoadingException problem.
So my problem is. I got a login page with a SignInPanel. When a user tries
to log into the web site his credentials are passed to the authentication()
m
I have profiled.
It seems that the way the page is built. Mostly in listview, I need labels.
These labels are not DetachableModels or whatever because another framework
loads that on the fly.
For 50 labels, I get 50 request of 1 second each. It shouldn't be like this
for two strings..
I'm not sure
Hi,
there are multiple requests going on probably (e.g. because of redirects),
You should put a breakpoint into WicketFilter to debug the requests.
HTH
Sven
On 09/02/2011 08:03 PM, Florian B. wrote:
> Hi
>
> I've got some issues with the OpenSessionInViewFilter I integrated into a
> Wicket app
On Fri, Sep 2, 2011 at 11:39 AM, coincoinfou wrote:
> I have profiled.
> It seems that the way the page is built. Mostly in listview, I need labels.
> These labels are not DetachableModels or whatever because another framework
> loads that on the fly.
> For 50 labels, I get 50 request of 1 second
Hi,
in 1.4, I could get the last page instance with
WebRequestCycle#getResponsePage()
In 1.5, I cannot find org.apache.wicket.Page instances, only
IRequestablePage, and this indirectly via
(RenderPageRequestHandler)getActiveRequestHandler()
Any help is appreciated.
Kind Regards,
Bernard
48 matches
Mail list logo