Hi all.
I've been dealing with this and I don't have a working solution yet. The
problem that my previously posted solution had is that when the form
validation fails, it falls into an infinite redirect loop.
Playing with my custom HttpsRequestCycleProcessor all I have achieved is to
make it redi
By the way this JS file does the same job :
***
window.onload = initPage;
function initPage() {
/* on start up; assign checkUsername function to onblur */
document.getElementById("username").onblur = checkUsername;
/* disable register
Thanks Martin;
AjaxTimerBehavior doesn't tackle this issue
I solved the issue by using IAjaxCallDecorator.
Here is the code :
final TextField username = new TextField("username", new
Model());
username.setMarkupId("username");
username.setOutputMarkupId(true);
form.add(u
Hi, folks:
We're scrappy startup looking for a generalist dev; familiarity with Wicket
a definite plus. Here's the req:
http://bit.ly/dogOl0
Feel free to reply to me directly if interested.
thanks,
-nikita
I accidently sent it incomplete ... here is full code
RepeatingView rp = new RepeatingView();
for(int i =0; i< n; i++){
WebMarkupContainer parent = new WebMarkupContainer(rp.newChildID());
rp.add(parent);
MyPanelData data =new MyPanelData();
this.getModelObject.getList().add(data);
Thanks a lot, it worked great.
I have one more question. I have to create same panel multiple times , based
on user output into the form and i have list of panel data model object
inside my form data object. Is it better to generate panels in page class
and then passed list of panels into form con
you can see the example in action here
http://wiquery-plugins-demo.appspot.com/demo/?wicket:bookmarkablePage=:com.wiquery.plugins.demo.DialogPage
Just added it a moment ago;-)
Ernesto
On Sun, Oct 24, 2010 at 10:40 PM, Ernesto Reinaldo Barreiro
wrote:
> The code below does what you ask: a link
The code below does what you ask: a link and any time the link is
clicked a modal dialog is opened and the contents of the dialog are
update via AJAX.
import org.apache.wicket.ajax.AjaxRequestTarget;
import org.apache.wicket.ajax.markup.html.AjaxLink;
import org.apache.wicket.markup.html.basic.Lab
I'd like to make the question a little more specific: the dialog box has to
the truly modal - nothing else in the browser can be accessed, ideally the
rest of the window will be slightly grayed to indicate that only the modal
window is enabled. Trying some of the examples on the web brings up a di
The WiQuery home page gives a simple example of opening a jQuery dialog,
where the content already resides in the page.
I wonder if anyone can provide code which shows how to use WiQuery to open a
JQuery dialog with dynamic content, presumably using Ajax. For instance, you
want to show an error m
10 matches
Mail list logo