Matej Knopp-2 wrote:
Hi all,
I've committed couple of changes to DiskPageStore to address some
issues. Mind you the commit is rather fresh and needs to be tested
properly before 1.3.1 gets out.
First of all it solves the problem of context reloads (see
Ahh missed that one... thank you! :-)
christian
igor.vaynberg wrote:
see iresponsefilter
-igor
On Jan 9, 2008 4:27 PM, blueneogeo [EMAIL PROTECTED]
wrote:
I'm having an unusual case in which I would like to use javascript to
load
and write pages into divs (somewhat ajax-like,
Followup question, the ireponsefilter seems what I need, but I have to add it
in the IRequestCycleSettings, which is application wide from what I
understand. What I would hope to achieve is that some pages render
themselves directly, while others use the technique described below. Is
there a way
Hi, I want to call a javascript function ( myFunction() ) on a component's
onclick event.
I tried this:
but then i realized that my wicket's onClick() method is overwriting the
above html one.
--
AjaxLink agentLink = new AjaxLink(myLink) {
public void
Hello Guys.
I am trying to validate my RequiredTextFields directly when/after the Page
is loaded so that I can display the required errormessage in my
feedbackpanel.
Currently I try to do this in the Pages constructor:
add(new AjaxEventBehavior(onload)
{
protected void
you need to override getAjaxCallDecorator() on the AjaxLink and return a new
AjaxCallDecorator that either prepends, appends (or both) your custom
javascript to the javascript created by the link.
cheers,
Gerolf
On Jan 10, 2008 11:05 AM, mbelarbi [EMAIL PROTECTED] wrote:
Hi, I want to call
Hi,
I am facing a situation where I need to rollback some state kept in session
when user hits the back button at browser side, and clicks some link which
triggers a server round trip. The usage scenario is as below:
1. User stays on page1, and the current state saved in session in state1
2.
I am considering using Wicket to re-implement an existing (ageing, clunky
etc.) ordering application. My main concern is Wicket's ability to provide a
simple, (ideally configuration file based) mechanism for per-deployment
variation of the app for different countries.
The variation will come in
Yes, I'd like to do it, but as english is not my mother language, I
need somebody to correct it after I write it.
Who wants to do that? ;)
Gwyn Evans a crit:
As Cemel suggested, if you have time to put a summary up on the Wiki,
it would be appreciated!
When user presses back button and clicks a ling to page, it will
affect the previous page version. Wicket takes care of this
automatically. Can you keep the state in page instead of keeping it in
session?
-Matej
On Jan 10, 2008 11:29 AM, Robin Shine [EMAIL PROTECTED] wrote:
Hi,
I am facing a
As Cemel suggested, if you have time to put a summary up on the Wiki,
it would be appreciated!
/Gwyn
On 09/01/2008, Pills [EMAIL PROTECTED] wrote:
Thank you, now everything works fine, and it's clean ;)
Michael Sparer wrote:
You can do that like so: Map map =
Ideally, NodeB ought to catch up when it joins the cluster by
syncing the content in the disk page stores at that time. I think
it's a flaw we should track and fix at some point.
Nice job, Matej!
Well, I'm afraid as Igor said this is not possible to do without
having container
Hi everyone.
I found this on the mailing list:
http://www.nabble.com/Re%3A-AjaxFormValidatingBehavior-and-focus-p9178324.html
And exactly this is my problem now.
I registered an onkeyup event on a textfield to validate it after each
keypress.
In a RequiredTextField following happens:
I want to
something like:
new AjaxLink(link) {
protected onClick(AjaxRequestTarget target) { ...}
protected IAjaxCallDecorator getAjaxCallDecorator() {
return new AjaxCallDecorator() {
public CharSequence decorateScript(CharSequence script) {
return alert('w00t'); + script;
}
How would i do that for what i have?
Gerolf Seitz wrote:
you need to override getAjaxCallDecorator() on the AjaxLink and return a
new
AjaxCallDecorator that either prepends, appends (or both) your custom
javascript to the javascript created by the link.
cheers,
Gerolf
On Jan 10,
We can probably take a look and I am sure others will help once its up on the
wiki.
These may be useful references too:
http://www.nabble.com/integrating-extjs-with-wicket-to14715123.html here
and
http://www.nabble.com/calling-javascript-function-on-wicket-component%27s-onclick-to14730927.html
Edward,
Thanks for the email. I'm currently working on revamping the drag
drop API. if you have any code you'd like to contribute feel free to
drop me an email. maybe we could hash out a great new api to simplify
it's use.
regarding the javascript issues, could you re-open this bug i filed in
Ok, I'll write it maybe tomorrow or this week end (I'm quite busy but I can
take an hour or two to write it).
Michael Sparer wrote:
I'm also no native speaker but I'll certainly read through it and write
some enhancements (if necessary) once it's in the wiki
regards, Michael
--
View
I'm also no native speaker but I'll certainly read through it and write some
enhancements (if necessary) once it's in the wiki
regards, Michael
jweekend wrote:
We can probably take a look and I am sure others will help once its up on
the wiki.
These may be useful references too:
Just make sure that the html elements with a wicket:id in the different
html versions have the same hierarchical structure. If you need to skip
some components for one language but not another it becomes a bit
harder. Then you'll actually need to add an invisible component for the
language in
The code is commited at
https://scm.ops4j.org/repos/ops4j/laboratory/users/efy/wicket-contrib-scriptaculous
I'm sorry that I couldn't sent a patch, when the modification was
done, it was committed to our project svn server.
Hence a diff couldn't be made.
regarding the javascript issues, could
regarding the javascript issues, could you re-open this bug i filed in
wicket?
https://issues.apache.org/jira/browse/WICKET-987
I can't re-open this bug, but I left a comment in the jira issue.
Regards,
Edward Yakop
-
To
i've reopened the issue.
It must only allow whoever filed the issue to reopen it...
On Jan 10, 2008 10:00 AM, Edward Yakop [EMAIL PROTECTED] wrote:
regarding the javascript issues, could you re-open this bug i filed in
wicket?
https://issues.apache.org/jira/browse/WICKET-987
I can't
how about just page.onbeforerender() { fieldlastname.valdiate(); }
-igor
On Jan 10, 2008 2:07 AM, thomas jaeckle [EMAIL PROTECTED] wrote:
Hello Guys.
I am trying to validate my RequiredTextFields directly when/after the Page
is loaded so that I can display the required errormessage in my
hi
in the near future, i´ll have to create a scalability presentation for a
webapp that uses wicket. i think, i´ll have enough ammo for the
non-wicket parts, so i try to gather some wicket related info now.
is there anything compact already i could use to summarize, why/how
wicket can scale
I think i didnt conveyed my message properly...i had this question in
comparison to the conventional approach where you could do a dispatch to
another page by doing forward() or sendRedirect() or in struts
(mapping.findforward()) which use to take control to the target page
rightaway..
Is doing
see RestartResponseException
-igor
On Jan 10, 2008 11:04 AM, mfs [EMAIL PROTECTED] wrote:
I think i didnt conveyed my message properly...i had this question in
comparison to the conventional approach where you could do a dispatch to
another page by doing forward() or sendRedirect() or in
I've worked on a couple applications in the past were they have decided not
to use the HTTP Session and instead create their own structure, basically a
session type of object gets stored in the database per request. Although I
don't really love this direction but I have seen some benefits. My
On Jan 10, 2008 11:13 AM, mnwicket [EMAIL PROTECTED] wrote:
How easy / feasible would it be to have the Wicket session backed by an
applications own structure?
as easy as returning your own implementation of ISessionStore from
Application.newSessionStore()
-igor
--
View this message in
Hello,
I am trying to have a Form inside a VelocityPanel, but get an exception:
WicketMessage: Unable to find the markup for the component. That may be due
to transparent containers or components implementing IComponentResolver
I filed a JIRA issue with sample code and the full stack trace:
Hi All,
Are there any criteria in choosing WicketFilter over WicketServlet? In the api
it says, Please use WicketFilter if you require advanced chaining of
resources. What does this mean? If you have deeply rooted Panel within a Panel
with a Panel?
Thanks,
WT
--
The only constant in life
sometimes you might want to chain preprocessors/postprocessors around
wicket - in that case you have to use filters since you cant chain
servlets.
also wicket filter is much better at handling /* mapping
generally i would recommend wicketfilter. wicketservlet is there as a
backup for situations
Thanks Igor! I understand it now.
Best,
WT
--
The only constant in life is change.
- Original Message
From: Igor Vaynberg [EMAIL PROTECTED]
To: users@wicket.apache.org
Sent: Thursday, January 10, 2008 11:48:04 AM
Subject: Re: WicketServlet vs. WicketFilter
sometimes you might want
Thanks...
So what i would want to know as well is to when would it be recommended to
use this to force page-rendering, like one could just follow this approach
and force rendering in the if-else blocks (as below) so as to skip the rest
of the executable-code (in an event-listener) , which doesnt
You use those exceptions when you want to interrupt the flow/ when you
don't want the code beyond your choice to be executed.
Eelco
On Jan 10, 2008 12:15 PM, mfs [EMAIL PROTECTED] wrote:
Thanks...
So what i would want to know as well is to when would it be recommended to
use this to force
I am pleased to announce that the first beta version of TreeGrid and
DataGrid components is available.
Amongst other things these support column resizing and reordering,
horizontal and vertical scrolling (with fixed header) and multi-column
sorting.
The components are commercial, but with no
this is very cool to start. i'm working on a similar component. my biggest
complaint is that it seems odd to me that commercial component demos are
being hosted on wicket stuff. but that just might be me. Other than that,
they look pretty sharp.
On Jan 10, 2008 3:42 PM, Matej Knopp [EMAIL
Don't worry, the hosting is only temporary :)
Thanks.
-Matej
On Jan 10, 2008 9:56 PM, Evan Chooly [EMAIL PROTECTED] wrote:
this is very cool to start. i'm working on a similar component. my biggest
complaint is that it seems odd to me that commercial component demos are
being hosted on
Very nice components! Does it come with a user guide?
Eelco
On Jan 10, 2008 12:42 PM, Matej Knopp [EMAIL PROTECTED] wrote:
I am pleased to announce that the first beta version of TreeGrid and
DataGrid components is available.
Amongst other things these support column resizing and reordering,
On Jan 10, 2008 10:08 PM, Eelco Hillenius [EMAIL PROTECTED] wrote:
Very nice components! Does it come with a user guide?
Thanks.
The user guide is being worked on. However, the components come with
an example suite and the usage is (intentionally) pretty similiar to
wicket's DataTable and
Hi all,
I'm experimenting with modal windows in Wicket for the first time. But
I've got some strange behavior when I placed a Flash component on the
modal page.
Firefox everything works fine, the modal opens displaying a small
Flash movie. But in IE, when I click the Flash movie a popup comes up
On Jan 10, 2008 12:56 PM, Evan Chooly [EMAIL PROTECTED] wrote:
this is very cool to start. i'm working on a similar component. my biggest
complaint is that it seems odd to me that commercial component demos are
being hosted on wicket stuff. but that just might be me.
dont really see this as
There have been reported some issues with Firefox because of a not
properly removed debugging code, so I've deployed a new version
(Beta2).
-Matej
On Jan 10, 2008 9:42 PM, Matej Knopp [EMAIL PROTECTED] wrote:
I am pleased to announce that the first beta version of TreeGrid and
DataGrid
Hi Everyone
I'm trying to upload a file using AjaxFormSubmitBehavior .
When i submit the form , the defined onSubmit() method is not being called. Can
anyone tell me why this is happening ?
Code given below:
Java code is :
Form f = new Form(f);
f.setOutputMarkupId(true);
file uploads using ajax are not supported
-igor
On Jan 10, 2008 4:59 PM, Haritha Juturu [EMAIL PROTECTED] wrote:
Hi Everyone
I'm trying to upload a file using AjaxFormSubmitBehavior .
When i submit the form , the defined onSubmit() method is not being called.
Can anyone tell me why this is
Hi All,
I am studying wicket from the WicketFilter to the WebApplication, but I don't
understand the concept of RequestCycleProcessor and how does it get invoked. I
read the Wicket In Action and Pro Wicket but the explanation is not that
detailed. Does anybody know of a primer with regards
seconded
-Original Message-
From: Beyonder Unknown [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 10, 2008 5:05 PM
To: WICKET USER
Subject: the flow of wicket
Hi All,
I am studying wicket from the WicketFilter to the WebApplication, but I
don't understand the concept of
I believe its because your submit button is getting hooked up with the
Button(ok) instead and not the AjaxForm-Submit..i wouldnt define the
Button on the page-component and similarly would remove wicket:id = ok
from the tag..
Haritha Juturu wrote:
Hi Everyone
I'm trying to upload a file
On Jan 10, 2008 5:51 PM, Evan Chooly [EMAIL PROTECTED] wrote:
Is that not the official website for the wicket stuff projects?
it is, _amongst other things_
-igor
Just
kinda struck me as odd is all.
On Jan 10, 2008 6:26 PM, Igor Vaynberg [EMAIL PROTECTED] wrote:
dont really see this as
Hi Matej,
Thanks for the response. However storing state in the page might not be
suitable in our case, and this state need to be shared by several pages, and
storing it into session seems to be a better choice.
Regards.
Robin
Matej Knopp [EMAIL PROTECTED] wrote: When user presses back
Each page has it's page id (Page#getNumericId()) iand version number.
These are the properties that change when you press back button. So
these might help you with implementing some kind of versioned session
properties.
-Matej
On Jan 11, 2008 3:00 AM, Robin Shine [EMAIL PROTECTED] wrote:
Hi
Thanks for the info, Igor. I'll definitely attached the code and trace it from
doGet().
Best,
Wen Tong
--
The only constant in life is change.
- Original Message
From: Igor Vaynberg [EMAIL PROTECTED]
To: users@wicket.apache.org
Sent: Thursday, January 10, 2008 5:55:13 PM
Subject:
I would be willing to contribute to this project, but I don't have the
knowledge of Wicket internals (nor ExtJS internals, really) to pull off
the core design. If somebody starts this, he/she can count on a couple
hours per week from me.
Martijn Dashorst wrote:
Sounds like a good
On Jan 10, 2008 9:22 AM, Ryan Sonnek [EMAIL PROTECTED] wrote:
Edward,
Thanks for the email. I'm currently working on revamping the drag
drop API. if you have any code you'd like to contribute feel free to
drop me an email. maybe we could hash out a great new api to simplify
it's use.
Hey
You might be thinking of an onsubmit javascript that returns false.
form onsubmit=return confirm('Are you sure you want to submit this
form?').../form
You could add the onsubmit attribute dynamically, and it could
presumably call wicket with some sort of ajax behavior (still haven't
gone
On Jan 11, 2008 11:51 AM, Ryan Sonnek [EMAIL PROTECTED] wrote:
if there are other improvements to be made, let me know!
How about committing the [DraggableTargetBehavior] and its support for
multiple drag source type.
The committed code has improved
JavascriptBuilder#formatJavascriptValue to
I forgot to mention about the usage of markup id.
I think this is a less optimize way to find the drag source component,
especially if the page object graph is large.
For example,
If we have the following Page component structure.
Page
- Container1
- Table with a lot of rows
- other
igor.vaynberg wrote:
how about just page.onbeforerender() { fieldlastname.valdiate(); }
-igor
Ok, thanks ..
But the RequiredTextField validates because it isn't added to the Page yet
(input is null and not an empty String) and so checkRequired() from
FormComponent returns true:
public
onbeforerender {
textfield.error(RequiredValidator.class.getSimpleName());
}
-igor
On Jan 10, 2008 11:23 PM, thomas jaeckle [EMAIL PROTECTED] wrote:
igor.vaynberg wrote:
how about just page.onbeforerender() { fieldlastname.valdiate(); }
-igor
Ok, thanks ..
But the
59 matches
Mail list logo