Hi,
Well, I have overrided AjaxEditableLabel to use the wicketAjaxPost (that's
solved my problem), because I shall not change the URIEncoding (there may be
conflits with others applications running under the Tomcat server and I'm
not allowed to do that :'( ).
Thanks for your reply
Regards
Hello everyone,
How to run validation of form (Form.class) by hand?
Form.class javadoc says:
If you want you can call validate() to execute form validation,
hasError() to find out whether validate() resulted in validation errors,
and updateFormComponentModels() to update the models of nested
I am trying to figure out a way to grab the url of a stateful page instance.
So for example, I want to click a link which creates a new page and before
redirecting to that page I want to grab the ?wicket:interface=:1 part of
the URL. I stumbled across a simple way to do this before, but I've
Why do you need it? Maybe there is a better way around it?
**
Martin
2009/12/11 Zak Johnson zakinte...@gmail.com:
I am trying to figure out a way to grab the url of a stateful page instance.
So for example, I want to click a link which creates a new page and before
redirecting to that page I
So the reason I need this is because I have a requirement to submit a form
which keeps the main page constant but opens the result page in a new
window. Also, it can't be a modal window. I need to be able to popup several
windows without taking control away from the main page, and without re-using
Hi!
It is a bit similar to my problem once:
http://osdir.com/ml/users-wicket.apache.org/2009-07/msg00471.html
The idea is that you do an ajax form submit, then you return an ajax
response that opens the result popup window.
**
Martin
2009/12/11 Zak Johnson zakinte...@gmail.com:
So the reason
But in Wicket 1.4.3 the validate() method is protected so it's not
visible. By the way actually only hasError() method is public.
In your Form class you can just override it with public visibility when you
need it to be.
- Tor Iver
Yes, your example is what I was doing in the past to execute the JS on the
form submit. My problem is getting the actual page url to feed into my JS
call. I know there is a way to get it because I've done it before, I just
can't remember how and I lost the original code.
Zak
On Fri, Dec 11,
urlfor(page)
-igor
On Fri, Dec 11, 2009 at 7:36 AM, Zak Johnson zakinte...@gmail.com wrote:
Yes, your example is what I was doing in the past to execute the JS on the
form submit. My problem is getting the actual page url to feed into my JS
call. I know there is a way to get it because I've
You are right, I was not testing correctly. The pages were just cached and
clicking on any non-bookmarkable link in them caused a page expired.
Thanks
On Thu, Dec 10, 2009 at 6:11 PM, Matej Knopp matej.kn...@gmail.com wrote:
Are you sure you have been testing it correctly? The pagestore is
Thanks to a patch from Andy Goossens, WicketForge 0.6.0 now has support for
IDEA 9. You can visit the Google Code site to download it, or if you wait a
couple days it will be available from the JetBrains plugin repository.
http://code.google.com/p/wicketforge/downloads/list
Thanks for your
maybe wicket 2.0 will come with a TardisPageStore :)
-igor
On Fri, Dec 11, 2009 at 8:56 AM, Neil Curzon neil.cur...@gmail.com wrote:
You are right, I was not testing correctly. The pages were just cached and
clicking on any non-bookmarkable link in them caused a page expired.
Thanks
On
Thanks Igor, that lead me in the right direction. Here is what I did:
page.getRequestCycle().urlFor(page);
That gave me the specific page url I was looking for.
Seems kinda roundabout, so if there is a better way, let me know.
Thanks!
Zak
On Fri, Dec 11, 2009 at 10:49 AM, Igor Vaynberg
urlfor exists on component, so you can simply say
urlfor(page) inside any component method
-gior
On Fri, Dec 11, 2009 at 9:18 AM, Zak Johnson zakinte...@gmail.com wrote:
Thanks Igor, that lead me in the right direction. Here is what I did:
page.getRequestCycle().urlFor(page);
That gave me
The Apache Wicket project is proud to announce the fourth maintenance
release of Apache Wicket 1.4.
Download Apache Wicket 1.4
--
You can download the release here:
http://www.apache.org/dyn/closer.cgi/wicket/1.4.4
Or use this in your Maven pom's to
and now with a working changelog link:
https://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=truepid=12310561fixfor=12314323sorter/field=prioritysorter/order=DESC
-igor
On Fri, Dec 11, 2009 at 10:16 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote:
The Apache Wicket project is proud
Is urlFor(Page page) available in the 1.3.7 release? I tried using the
urlFor method provided in the component, but I didn't see one that took a
page as a parameter. I'm in an enterprise environment that has me restricted
to that older package. :(
Zak
On Fri, Dec 11, 2009 at 11:29 AM, Igor
dont remember, havent used 1.3.x in quiet a while.
-igor
On Fri, Dec 11, 2009 at 10:57 AM, Zak Johnson zakinte...@gmail.com wrote:
Is urlFor(Page page) available in the 1.3.7 release? I tried using the
urlFor method provided in the component, but I didn't see one that took a
page as a
I need to know how I can post a form to a new window using an AjaxSubmitLink.
I have a small page where a user can make a few setting changes and then either
save those settings (using an AjaxButton) or preview those settings (using an
AjaxSubmitLink) in a new window. The problem is, I can't
I have a palette defined with a set of available choices. I can move
those choices to the right into the selected choices. On my page I have
a modal popup that can be launched to add a custom choice. The choice
is added to the available choices in the palette but the selected
choices are reset.
did wicket 2.0 had a tardis??
i am checking svn right now for those lost diamonds!
On 11/12/2009, Igor Vaynberg igor.vaynb...@gmail.com wrote:
maybe wicket 2.0 will come with a TardisPageStore :)
-igor
On Fri, Dec 11, 2009 at 8:56 AM, Neil Curzon neil.cur...@gmail.com wrote:
You are right,
It's in the 2.0 in alternate future. Time travel is a tricky thing.
-Matej
On Fri, Dec 11, 2009 at 9:37 PM, Johan Compagner jcompag...@gmail.com wrote:
did wicket 2.0 had a tardis??
i am checking svn right now for those lost diamonds!
On 11/12/2009, Igor Vaynberg igor.vaynb...@gmail.com
Hi,
the same problem occurs with an UploadProgressBar in a nested form. The nested
form is a div having an onsubmit-tag holding the ajax call to the progress
bar.
Best Regards,
Ilja
Am Freitag, 4. Dezember 2009 08:38:18 schrieb Igor Vaynberg:
sounds like we may have to search up the
you can output some javascript using the ajaxrequesttarget that does window.open
-igor
On Fri, Dec 11, 2009 at 12:31 PM, Jeff Andersen jander...@posportal.com wrote:
I need to know how I can post a form to a new window using an AjaxSubmitLink.
I have a small page where a user can make a few
Hi,
UploadProgressBar in a nested form also does not work (onsubmit added to a div
representing the inner form, but should be added to the onsubmit button of
the outer form element).
a *very hacky* solution is something like
boolean added = false;
protected void onBeforeRender() {
I had a similar need and did as Igor suggested. Here is an example:
add(new AjaxButton(ajax-button){
public void onSubmit(AjaxRequestTarget target, Form form) {
...create result page, get the url path to it...
target.appendJavascript(window.open('http://page_path_goes_here
My application does not authenticate user ,some external application
authenticates and redirects to my application passing a parameter to
identify the user, using this parameter I have to create a session and
userdetails.
I am using SimplePageAuthrizationStrategy
Anybody have any advice on how to do this quick start?
Here's how I create the issue.
1) Open a new window (so that the AutomaticMultiWindowSupport adds the params)
2) Open a page with hidden modal
3) Click on link to show the hidden modal
4) Click on my ajax link in the modal == Blow UP
I'm
Why are you using trunk? Trunk is currently in highly unstable
experimental state.
-Matej
On Fri, Dec 11, 2009 at 11:02 PM, Douglas Ferguson
doug...@douglasferguson.us wrote:
Anybody have any advice on how to do this quick start?
Here's how I create the issue.
1) Open a new window (so that
the auth strategy runs before your class is instantiated, so check
there for the parameter being present and log the user in.
-igor
On Fri, Dec 11, 2009 at 1:58 PM, tubin gen fachh...@gmail.com wrote:
My application does not authenticate user ,some external application
authenticates and
Please tell me where is there in the below text ?
so check
there for the parameter being present
I saw the class SimplePageAuthorizationStrategy but could not figure out
where I can check for parameter ? Please tell me more .
igor.vaynberg wrote:
the auth strategy runs before
in your auth strategy simply call RequestCycle.get()
-igor
On Fri, Dec 11, 2009 at 2:53 PM, fachhoch fachh...@gmail.com wrote:
Please tell me where is there in the below text ?
so check
there for the parameter being present
I saw the class SimplePageAuthorizationStrategy but could
I am sorry to ask you again, I did not understand , I am asking which method
should I override in auth strategy, which method in auth strategy will I
be able to do RequestCycle.get() , get parameter and log in user ?
igor.vaynberg wrote:
in your auth strategy simply call
I am using the trunk to determine if the bug is still there.
It exists on 1.4.1 +
I would just like to make a quick start so this could get fixed.
However, I'm not sure how to mimic the new window thing with wicket tester.
D/
On Dec 11, 2009, at 4:03 PM, Matej Knopp wrote:
Why are you
I have a page with about 10 text fields. The model for the page is a
ValueMap. All of the values in the ValueMap get set to null when a user
gets redirected back to the original page after a
RestartResponseAtInterceptPageException. All of the keys in the ValueMap
are still there.
What do I
you can do it in any method, you have to do it in the one that checks
if the user is logged in.
-igor
On Fri, Dec 11, 2009 at 3:05 PM, fachhoch fachh...@gmail.com wrote:
I am sorry to ask you again, I did not understand , I am asking which method
should I override in auth strategy, which
I have a case where I check some error condition at the beginning of the code.
If there is error I just want to display error message so
basically it is
if (error == true){
display message
} else {
//render regular page
add(component1)
add(compnent2)
}
if there is error I don't have any data to
add empty webmarkupcontainers as your components,if no error,replace the
containers with your components
else
you don't need to replace.
On Sat, Dec 12, 2009 at 8:02 AM, Swarnim Ranjitkar swarn...@hotmail.comwrote:
I have a case where I check some error condition at the beginning of the
it's in wicketstuff.
On Tue, Dec 8, 2009 at 3:38 PM, actarus.xxx actarus@libero.it wrote:
Hi guys, where can I find this fantastic TableColumns?
Thanx
Pedro H. O. dos Santos wrote:
I just commit the new version:
- Refactoring the OrderingImage class
- Using TableColumns and
I'm still trying to sort out my class cast error, does know what might cause a
value of resources?
wicket:pageMapName = [people, resources]
I'm seeing this when I set this:
getPageSettings().setAutomaticMultiWindowSupport(true);
Per-Olof Norén wrote:
I´m currently working on a project where we run JUnit, Wicket-Tester and
canoo web tests on a wicket-spring application.
The application is to a large degree ajax-based and as far we can tell
canoo is silently ignoring to run wicket ajax-javascript for eg onClick
I've narrowed it down and it has something to do with with AjaxButton, or
AjaxSubmitLink, I swapped it out for an AjaxLink and the error goes away (but I
don't get all the behaviors I need).
It also seems that autosuggest is not causing this problem, as I remove it from
the page and the error
42 matches
Mail list logo