Hi,
This is not directly supported by the auth strategies.
A callback method (like onClick) cannot be executed for invisible or
disabled components/behaviors. So if the auth strategy forbid the
component then the component itself and all its behaviors wont be
reachable in the next request.
On Thu
On Fri, Mar 2, 2012 at 2:51 AM, Douglas Ferguson wrote:
> Wow.. that is much easier
>
> :)
>
> Is there a way to set a default for the entire app?
> I assume if I have a base class for a bunch of pages I only need to define it
> in the parent class?
Yes. On an interface as well.
>
> Douglas
>
>
On Thu, Mar 1, 2012 at 8:49 PM, Michael Laccetti wrote:
> #1 is a wonderful suggestion - was that added in 1.5?
No, it is old.
>
> #2 I'm not too sure about - doesn't calling getClientInfo() cause a redirect
> to a temporary page to collect that information?
No, this info will be extracted fro
Hi,
Here is the roadmap for 6.0:
https://cwiki.apache.org/WICKET/wicket-60-roadmap.html
Wicket 2.0 has been already used for an experimental branch (in the
time 1.2 was the production version) so it cannot be reused.
Wicket 6.0 will require JDK 6 so we decided to follow SUN : JDK 1.5 ->
JDK 6.0 :
Hi Dirk,
starting with Wicket 6 we'll adhere to semantic versioning (see
http://semver.org) , thus the big leap in the version number.
>Is not the API closer to wicket 1.5 than the version number 6 will
suggest?
I'd say that version 6.0.0 will be closer to 1.5.x than 1.5.0 was to 1.4.x.
Dep
Just a non-technical question. We're using Wicket 1.4.x and 1.5.x in
different projects and we're feeling quite confident (at least me) using
this framework. By the way, it might be not quite easy migrating an existing
wicket 1.4 project to wicket 1.5. But that's not the point.
I've noticed, that
Just a non-technical question. We're using Wicket 1.4.x and 1.5.x in
different projects and we're feeling quite confident (at least me) using
this framework. By the way, it might be not quite easy migrating an existing
wicket 1.4 project to wicket 1.5. But that's not the point.
I've noticed, that
I'm trying to add an IE compatibility meta tag and it needs to be the first
item in the tag otherwise it will not work. I have a BasePage that I
can just put it in the html and that works fine for the most part but I
would like a way to set it in the Application class that way any page will
get th
Me again, I figured it all out and it work beautifully ... when deployed in
weblogic.
For my production environment I unfortunately have to use oc4j, and somehow
I'm unable to load the resource in this environment:
2012-03-01 20:51:03,471 WARN (PackageResource.java:594) - Unable to find
package r
> Michael, I have an app on wicket 1.4.x, spring 2.5.x and *non-JPA* hibernate
> 3.5.x. Without taking wicket or other API changes into account, can you
> suggest whether or even how this archetype could be helpful in migrating to
> 1.5/3.1/4.1 and perhaps JPA later on? I wouldn't want to migrate
Wow.. that is much easier
:)
Is there a way to set a default for the entire app?
I assume if I have a base class for a bunch of pages I only need to define it
in the parent class?
Douglas
On Mar 1, 2012, at 10:04 AM, Fergal Keating wrote:
>You can mark specific pages as HTTPS specific usi
Hi Dan,
I made an output of the PageIDs and got the following result:
When I reload Page1 in Tab2, the page id is different from the
page id of Page2 in Tab1. Additionally, this reload of Tab1 while
making a reload of Tab2 occurs in any browser. Tested it with
Opera, Firefox and IE.
Andre
On W
Hi,
I started my project with Jetty from within IDEA to use breakpoints and
additional informations from the debugger. The Jetty server
started without any problems, but when I call localhost:8080, I get
he following error:
Unexpected Runtime Exception
Last cause: Can not determine Markup. Compo
yes, for radio choice you should use
AjaxFormChoiceComponentUpdatingBehavior. Anyway, have you tried setting
default form processing to false on AjaxFormSubmitBehavior
(setDefaultProcessing(false))? In this way you could save fields' value
inside onSubmit() calling updateFormComponentModels()
Hi,
As far as I know it cannot be user with Radio components.
Also if I change the radio values one part of the form will be hidden.
If I turn it back I'll need to show the values entered already.
Cheers,
Tamas
--
Cserveny, Tamas
On Thu, Mar 1, 2012 at 9:56 PM, Andrea Del Bene wrote:
> Hi,
>
Hi,
isn't AjaxFormComponentUpdatingBehavior more suited for your need?
Hi,
I''ve upgraded my wicket application from 1.4.6 to 1.4.19. I was using
AjaxFormSubmitBehaviour
mainly because I need to respond to a change in a radiobox. One main
difference was between the versions was the following:
I
On 03/01/2012 02:07 AM, Michael Laccetti wrote:
Just a quick note to folks that may be interested that I've created a Maven
archetype that ties together Wicket 1.5 and Spring 3.1, along with Hibernate
4.1/JPA 2 and logback. It is purely annotation driven, and has no XML
configuration files.
#1 is a wonderful suggestion - was that added in 1.5?
#2 I'm not too sure about - doesn't calling getClientInfo() cause a redirect to
a temporary page to collect that information?
#3 I originally tried it that way, but for some reason, no matter what I did, I
couldn't get the filter to recogniz
Daniel, did you ever get things to work to where the HTML files are updated
without restarting? Everything is working for me but this part.
Thanks.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Wicket-on-Google-App-Engine-tp4259205p4435831.html
Sent from the Users
Hi,
I''ve upgraded my wicket application from 1.4.6 to 1.4.19. I was using
AjaxFormSubmitBehaviour
mainly because I need to respond to a change in a radiobox. One main
difference was between the versions was the following:
In case the form validationg yield errors a screenrefresh is issued,
so th
Thanks for help.
I try it and I create annotations for classes, that can reject access for
user without permissions and user is redirected to LoginPage.
But I do not know if it is possible create annotation for methods. If I
click on ajax link, same ajax method is called. It is possible to create
Martin,
I definitely did a bunch of googling before pinging the mailing list, and
also attempted to pinpoint the List throwing the CME. Unfortunately, it
was not very easy, as a lot of Lists were being serialized with our pages.
Anyway, I think I've finally tracked down the bug. Its cause is re
You can mark specific pages as HTTPS specific using @requiresHttps.
Then just set the ports in your application class.
setRootRequestMapper(new HttpsMapper(getRootRequestMapper(), new
HttpsConfig(80, 443)));
On 1 March 2012 14:10, Douglas Ferguson wrote:
> In 1.4 I had ao
oops, I did not read carefully :-P
it's 'resource' not 'response' so just erase my last post ...
Am 01.03.2012 um 15:31 schrieb Peter Ertl:
> just one little addition...
>
> instead of
>
> response.setCacheDuration
>
> use
>
> response.enableCaching(Duration., WebResponse.CacheScope
just one little addition...
instead of
response.setCacheDuration
use
response.enableCaching(Duration., WebResponse.CacheScope.)
Am 01.03.2012 um 09:08 schrieb Martin Grigorov:
> Hi,
>
> I see this is problematic indeed...
> Here is how you can achieve this:
>
> class MyPackag
In 1.4 I had ao code up some interesting work arounds to get my app to redirect
between http and https based on which page you are requesting.
I remember at the time Igor told me that it would be much easer in 1.5. Can
anybody point me in the redirection?
I'm considering 2 schemes.
1) Running
> Is there any way to skip a page using back button. i.e.
> Forward sequence: HomePage->Page1->Page2
If the link from Page1 to Page2 is a Javascript link that does a
location.replace('url for Page2') the browser should not remember Page1 in the
history, if memory serves. Removing from the P
Hi All,
Is there any way to skip a page using back button. i.e.
Forward sequence: HomePage->Page1->Page2
*using browser back button*
Current Reverse sequence: Page2->Page1->HomePage
Desired Reverse sequence: *Page2->HomePage*
I've tried "this.getPageMap().remove(this);" in Page1 construct
Just a quick hint about the code-snipet above.
You don't really need to replace the protocol. Change it to this and the
browser will automatically use the protocol, that is used by the site
embedding the javascript.
String jqueryURl =
"//ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js";
See org.apache.wicket.request.mapper.parameter.UrlPathPageParametersEncoder
With the default encoder these are available as indexed parameters:
pp.get(1) will return 'bar'
On Thu, Mar 1, 2012 at 10:22 AM, Douglas Ferguson wrote:
> If I mount a page to the url "page1"
>
> Then hit page1/foo/bar/
If I mount a page to the url "page1"
Then hit page1/foo/bar/abc/xyz
Then in my code i say pageParameters.get("foo") it returns null.
In 1.4 it would return "bar"
Douglas
On Mar 1, 2012, at 2:09 AM, Martin Grigorov wrote:
> On Thu, Mar 1, 2012 at 10:05 AM, Douglas Ferguson wrote:
>> Thanks!
>
Use mvnDebug instead of mvn at the command line. This will start it in
debug mode and you can attach to it from IDEA.
Otherwise Wicket quickstart comes with src/test/java/**/Start.java.
Run this class as normal Java application with main(String[]). From
the context menu in the .java file choose "De
Hi,
I will check, which page ID is in the request and test your quickstart, when I
am back home this evening. Thanks for the advice.
I will share my results after the tests.
Andre
Original-Nachricht
> Datum: Wed, 29 Feb 2012 20:46:22 -0800
> Von: Dan Retzlaff
> An: users@wick
On Thu, Mar 1, 2012 at 10:06 AM, Douglas Ferguson wrote:
>>
>>
>> Feel free to update the migration page where you see it misses some info.
>
> What's the process for updating?
Create an account for the Wiki and update the page(s).
>
>>
>>>
>>>
>>>
>>>
Dan
On Wed, Feb 29, 201
On Thu, Mar 1, 2012 at 10:05 AM, Douglas Ferguson wrote:
> Thanks!
>
> I also noticed that hybridurlcodingstrategy is missing.
>
> I did some reading but haven't found a solution that is 100%
The default mounting works as HybridUCS - WebApplication#mountPage(),
this uses MountedMapper behind the
Hi Martin,
I compile the wicket project via Maven from the command line. I do not use the
IDE to start the project and trace it? Do you have a hint how I can do that? As
IDE, Ia m using IntelliJ IDEA.
Andre
Original-Nachricht
> Datum: Thu, 1 Mar 2012 09:40:30 +0200
> Von: Ma
Hi,
I see this is problematic indeed...
Here is how you can achieve this:
class MyPackageTTRR extends TextTemplateResourceReference {
@Override
public IResource getResource() {
ResourceStreamResource resource = (ResourceStreamResource) resource;
resource.setCacheDuration(Duration.xyz
>
>
> Feel free to update the migration page where you see it misses some info.
What's the process for updating?
>
>>
>>
>>
>>
>>>
>>> Dan
>>>
>>> On Wed, Feb 29, 2012 at 9:01 PM, Douglas Ferguson wrote:
>>>
Just found another one:
What did AbortException get replaced w
Thanks!
I also noticed that hybridurlcodingstrategy is missing.
I did some reading but haven't found a solution that is 100%
Douglas
On Mar 1, 2012, at 2:01 AM, Martin Grigorov wrote:
> On Thu, Mar 1, 2012 at 8:52 AM, Douglas Ferguson wrote:
>> See below...
>>
>> On Feb 29, 2012, at 11:49 PM
On Thu, Mar 1, 2012 at 8:52 AM, Douglas Ferguson wrote:
> See below...
>
> On Feb 29, 2012, at 11:49 PM, Dan Retzlaff wrote:
>
>> Douglas,
>>
>> Regarding javascript references: instead of adding a header contributor,
>> have your component override renderHead(IHeaderResponse response) and use
>>
40 matches
Mail list logo