What is the easiest way to get following behavior:
1. When I click a link, a hidden DIV pops-up. The content of the DIV is
loaded via AJAX.
2. While the content is being loaded (it takes a couple of seconds), I need
to show the empty DIV with busy-spinner inside it.
3. The busy spinner eventually
see org.apache.wicket.extensions.ajax.markup.html.AjaxLazyLoadPanel in
extensions
-igor
On Sun, Feb 20, 2011 at 4:07 AM, Nishant Neeraj
nishant.has.a.quest...@gmail.com wrote:
What is the easiest way to get following behavior:
1. When I click a link, a hidden DIV pops-up. The content of the
Guys,
I almost got the Ajax Download-with-Form Refresh to work. I followed this
example of how to do an Ajax download:
https://cwiki.apache.org/WICKET/ajax-update-and-file-download-in-one-blow.html
But there is one problem; the form has a FeedbackPanel which shows Validator
messages.
With this
My code is below.
1) In Form Constructor:
public MyForm(String id) {
super(id);
// add BeginDate/EndDate text fields: these require validation
add(new TextField(bdate, new PropertyModel(myBean, bdate))
.add(new ErrorDateValidator1())
.add(new
whatever you are using to submit the form with ajax has an
onError(target) method that you can override and update the feedback
panel with.
-igor
On Sun, Feb 20, 2011 at 10:24 AM, eugenebalt eugeneb...@yahoo.com wrote:
My code is below.
1) In Form Constructor:
public MyForm(String id) {
You're the man, Igor! :)
Thanks a lot. It's working now.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Making-Ajax-Download-Work-With-Validator-Messages-in-FeedbackPanel-tp3315334p3315433.html
Sent from the Users forum mailing list archive at Nabble.com.
I just have one more question.
I need to put a red frame around the fields that have errors, in addition to
displaying the Feedback message. I overrode onError() and did
target.addComponent(feedbackPanel) so I'm getting the message displayed,
that part works great.
Now I just need to update the
Any help with the above question? (update red/normal border around problem
fields, I need to do it manually here, I think)
I was thinking of iterating over all my components and doing a
target.addComponent() on each one. That updates their border, but I can't
make all my components
ok well I was in fact able to override the width by placing this style on the
page:
style type=text/css
div.wicket-tree {
width: 60em !important;
}
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/wicket-tree-tp3313498p3316658.html
Sent from the Users
How can I write something into the HTML page, from Java code.
A similar fast metod like in javascript to write in HTML:
document.write(Hello word);
It is userfull for conditional messagge like:
If (sum==5) { document.write(It is right!) }
or it may be userfull for an simple email antispam
How can I discover the caller page (referer) of my wicket application or
specific page?
http://en.wikipedia.org/wiki/HTTP_referrer
Thank you.
Paolo
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional
Reading in the other thread that a session size of 100K or less
is achievable, I'll admit defeat now: I have not been able to shrink some of
my pages(!) to less than 200K, not to mention the sessions. Despite LDMs,
CompoundPropertyModels, and no, there are no domain objects in there, and no
You can use an Label with escapeModelStrings set to false
On Sun, Feb 20, 2011 at 10:35 PM, Paolo irresistible...@gmail.com wrote:
How can I write something into the HTML page, from Java code.
A similar fast metod like in javascript to write in HTML:
document.write(Hello word);
It is
On Sun, Feb 20, 2011 at 7:35 PM, Paolo irresistible...@gmail.com wrote:
How can I write something into the HTML page, from Java code.
A similar fast metod like in javascript to write in HTML:
document.write(Hello word);
It is userfull for conditional messagge like:
If (sum==5) {
Get the http servlet request from the request, and get the referrer header.
On Sun, Feb 20, 2011 at 8:09 PM, Paolo irresistible...@gmail.com wrote:
How can I discover the caller page (referer) of my wicket application or
specific page?
http://en.wikipedia.org/wiki/HTTP_referrer
Thank you.
15 matches
Mail list logo