It has to do with this problem -
http://www.nabble.com/a-problem-with-continueToOriginalDestination-tf1427448.html#a3849601
Wicket doesn't remember the actual post url in this case.
I added a bug and rfe. These are the bug/rfe tracking numbers
I have implemented an ajax upload using wicket, but you still have to use
the common trick to submit to an hidden iframe /. For example:
iframe name=uploadtarget style=display:none /iframe
form wicket:id=upload target=uploadtarget
input type=filewicket:id=file /
/form
Submitting to an hidden
Hi
you are calling setResizable too late. When MyModalPage constructor is
called, the window is already shown. You have to call setResizable (as
well as the other methods) _before_ calling modalWindow.show().
-Matej
beboris wrote:
We have the following code that attempts to create a modal
On Thu, 01 Feb 2007, Scott Swank wrote:
And we just got WicketTester up running. Very nice
stuff. Its
I checked yesterday and our .ui package had a line coverage
of 96 % or something such, slightly more than the overall
for the whole software :)
capabilities are already impressing folk.
ahh yes not really ajax but that would work.
johan
On 2/2/07, Paolo Di Tommaso [EMAIL PROTECTED] wrote:
I have implemented an ajax upload using wicket, but you still have to use
the common trick to submit to an hidden iframe /. For example:
iframe name=uploadtarget style=display:none /iframe
We have a small version of login windows which exist within an iframe.
After the user login we need to make the main page occupy the whole
browser windows.
How can I add that javascript to onload event of that main page?
-
Okay that makes it clear. Then I will just ignore this problem and hope it
will be fixed by the time I really need it :)
Perhaps a note could be added to the errata about it?
I tried opening the tracking number, but I get a page with
Artifact: Only Group Members Can View Private ArtifactTypes
For some delete link, I've add a confirm() javascript for
Link.getOnClickScript() . However I found that even I click cancel at
the javascript popup wicket will still execute the link. (delete the
record in my case)
How can I press the cancel message to wicket?
I was able to test some ajax functionality by firing events
with WicketTester, but something related to forms not. The
problematic form thing I just tested with Wicket Bench then.
If anyone is interested I can cook up a quickstart
representing the WicketTester-with-ajaxified-form problem.
yes thats on my todo list
johan
On 2/2/07, karthik Guru [EMAIL PROTECTED] wrote:
It has to do with this problem -
http://www.nabble.com/a-problem-with-continueToOriginalDestination-tf1427448.html#a3849601
Wicket doesn't remember the actual post url in this case.
I added a bug and rfe.
You could write parent.location, and redirect to the page you want to fill the
whole page. But im not sure if it's a dirty hack.
As Web developer tool bar reports it as access denied in FF.
Looking forward to hear about some other ideas..
-Nino
-Original Message-
From: [EMAIL
package wicket.misc;
import wicket.Component;
import wicket.ajax.ClientEvent;
import wicket.behavior.AbstractBehavior;
import wicket.markup.ComponentTag;
import wicket.model.IModel;
public class JavascriptConfirm extends AbstractBehavior {
private final ClientEvent event;
private final
Hi,
Page 96 of the Pro Wicket book describes how discouraging it is that you
lose your initial selection, because Wicket does not update form component
models during Form submission.
A getForm().process() is needed in the DropDownChoice.onSelectionChanged()
However when testing it (with wicket
you could just download the source and take a look yourself
/**
* Called when a selection changes.
*/
public final void onSelectionChanged()
{
convert();
updateModel();
onSelectionChanged(getModelObject());
}
from the above i would say yes, the behavior
I guess I know how to write the javascript. The probably is how can I
trigger the onload event at wicket
On 2/2/07, Nino Wael [EMAIL PROTECTED] wrote:
You could write parent.location, and redirect to the page you want to fill
the whole page. But im not sure if it's a dirty hack.
As Web
Something like this?
http://www.alibaba.com/catalog/11037305/Punched_Hole_Bag_With_Wicket.html
I think you can only order in quantities of 1,000,000 so you'd better
get popular!
If you look for a logo, then get:
http://wicketframework.org/style/logo.png
Martijn
On 2/2/07, nilo.de.roock
I wanted to decorate my site a bit with Wicket gear but I couldn't find any.
Please help.
Thanks,
-nilo
--
View this message in context:
http://www.nabble.com/-Wicket-user-Wicket-gear-like-logo%27s-tf3160302.html#a8765258
Sent from the Wicket - User mailing list archive at Nabble.com.
Hi,
I have encountered a situation where I would like to add more than one
behavior to a component. One example is that of a tooltip where I need a
header contributor to load some javascript and an attibute to contain the
tooltip text.
In wicket you can do this by adding two behaviors to a
Hi Erik
I think the ToolTip behaviour would be a good addition to extentions.
However I can see that there is some legal problems since the javascript you
use is under CC which is still much unclear in ASF land. CC ShareAlike is
questionable[1] so I would like os to not use it for now if
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
More simply, you could do this:
add(new AttributeModifier(onClick, true,
new Model(javascript:return confirm('Are you sure you want to delete
this?');)));
Igor Vaynberg wrote:
package wicket.misc;
import wicket.Component;
import
Hi Frank,
On 2/2/07, Frank Bille [EMAIL PROTECTED] wrote:
Hi Erik
I think the ToolTip behaviour would be a good addition to extentions.
However I can see that there is some legal problems since the javascript you
use is under CC which is still much unclear in ASF land. CC ShareAlike is
Looks like that is what I am going to have to do. Yet another reason
wicket 2.0 is going to be nice. =)
Ryan
On 2/1/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
On 2/1/07, Ryan [EMAIL PROTECTED] wrote:
You don't get off that easy. =)
What if login link parent is not the same parent as the
yes, but that will eat any other javascript in the event.
-igor
On 2/2/07, Justin Lee [EMAIL PROTECTED] wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
More simply, you could do this:
add(new AttributeModifier(onClick, true,
new Model(javascript:return confirm('Are you sure
replace ClientEvent with a string then and pass in onclick or something.
-igor
On 2/2/07, Carfield Yim [EMAIL PROTECTED] wrote:
Thanks a lot! however I don't have wicket.ajax.ClientEvent at wicket
1.2.4 and wicket extension 1.2.4 . May be it locate at other projects?
By the way, I haven't
the approach isnt much different in 2.0
just that you can find the loginpanel in the constructor
-igor
On 2/2/07, Ryan [EMAIL PROTECTED] wrote:
Looks like that is what I am going to have to do. Yet another reason
wicket 2.0 is going to be nice. =)
Ryan
On 2/1/07, Igor Vaynberg [EMAIL
Sorry, look like Link.getOnClickScript() is actually work, just I only
call 'confirm xxx' but not ' return confrm xxx'
On 2/2/07, Justin Lee [EMAIL PROTECTED] wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
More simply, you could do this:
add(new AttributeModifier(onClick, true,
This work very nice, thx
On 2/1/07, Martijn Dashorst [EMAIL PROTECTED] wrote:
Use other Column constructors (one parameter less).
Martijn
On 2/1/07, Carfield Yim [EMAIL PROTECTED] wrote:
There is some table we don't want user to sort, can I make
AjaxFallbackDefaultDataTable not able to
The text field has yy, while the date picker puts into the date --
whether it's MM/dd/ or dd/MM/ (due to i18n). Then we get an
annoying npe rendering the feedback panel -- which I still haven't tracked
down.
popup contains panel
panel contains form
form contains fields with
Give us a stacktrace if you have it.
Eelco
On 2/2/07, Scott Swank [EMAIL PROTECTED] wrote:
The text field has yy, while the date picker puts into the date --
whether it's MM/dd/ or dd/MM/ (due to i18n). Then we get an
annoying npe rendering the feedback panel -- which I still
It's clearly the AjaxFormValidatingBehavior.addToAllFormComponents(this,
onblur, wicket.util.time.Duration.seconds(2)). Without that everything
works as expected. We'll just comment that out for out demo. Here's the
code the stack trace.
public RoomRequestForm(String id, IModel model,
The date converter is being phased out because it is messy in many
ways (and the java.util.Date API is partly to blame for that!). I
think you would do best just copying the whole component to your own
project and then tweaking it in getInitiScript and by depending on
your own date converter for
I just asked on the developer list
http://www.nabble.com/replacement-for-date-picker-tf3162478.html
Eelco
On 2/2/07, Scott Swank [EMAIL PROTECTED] wrote:
Nice, thank you. Where does the process to replace DatePicker stand?
On 2/2/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
The date
My web.xml:
web-app
display-nameArchetype Created Web Application/display-name
filter
filter-nameEDI/filter-name
filter-classwicket.protocol.http.WicketFilter/filter-class
init-param
param-nameapplicationClassName/param-name
param-value
com.edicorp.erp.web.Application
you should probably specify the filterpath param as well, even if it is
empty or a /
-igor
On 2/2/07, Aaron Hiniker [EMAIL PROTECTED] wrote:
My web.xml:
web-app
display-nameArchetype Created Web Application/display-name
filter
filter-nameEDI/filter-name
Thanks for the hints. Between those and what we've already known, we should
be fine...
Bob.
Johan Compagner wrote:
Tomcat can do that:
http://tomcat.apache.org/tomcat-5.5-doc/config/context.html
see anti resource and anti jar locking.
I think the end result will be that tomcat
Thank you, Matej.
It did the trick...
Bob.
Matej Knopp wrote:
Hi
you are calling setResizable too late. When MyModalPage constructor is
called, the window is already shown. You have to call setResizable (as
well as the other methods) _before_ calling modalWindow.show().
-Matej
Hi,
I have these two DropDownChoices (A and B) and I am refreshing the choices
in B through Ajax when the selection in A changes.
AjaxFormComponentUpdatingBehavior works fine, no problems here.
In my case many of the choices in B are common for all the possible
selections in A. Consider the
37 matches
Mail list logo