Hi all,
I have a couple of DropDownChoices and I want to test their behaviour
using WicketTester,
is it possible to somehow simulate that user has made selection in ddc?
Regards,
Aleksandr
-
To unsubscribe, e-mail: [EMAIL
if i were you i would read the exception message, it is telling you
exactly what is going wrong...if you showed some code or provided a
quickstart we can help further.
-igor
On Mon, Oct 6, 2008 at 12:04 AM, Yazeed Isaacs
[EMAIL PROTECTED] wrote:
Anybody?
Guys please help me with this one.
Hi Igor
Here is the java code:
add(new AjaxButton(ajaxSubmitButton, this) {
protected void onSubmit(AjaxRequestTarget target, Form form) {
AjaxLazyLoadPanel transactions = new AjaxLazyLoadPanel(
transactions) {
read the message!
remove setRenderBodyOnly(false);
-igor
On Mon, Oct 6, 2008 at 12:41 AM, Yazeed Isaacs
[EMAIL PROTECTED] wrote:
Hi Igor
Here is the java code:
add(new AjaxButton(ajaxSubmitButton, this) {
protected void onSubmit(AjaxRequestTarget target, Form form) {
The problem is, as Igor pointed, you cannot re-render a component via AJAX
if it has set setRenderBodyOnly(true)... Why?
div wicket:id=testAjax
pContent.../p
/div
will be renderend as
pContent.../p
instead of
div id=someid
pContent.../p
/div
So, there is no way wicket AJAX js can replace
Hello
Im working on a Pageable dataview using SortableDataProvider and I have
trouble to find out how It should be done regarding memory use versus
database requests. I've looked on the repeaters live action and read the
model chapter in wicket in action.
1. If I dont use the
That is the intention, the fallback links only work when javascript is
enabled.
According to the book wicket in action the intention of a fallback link
is, that it acts like a usual link, if java script is disabled. Or did I
get this wrong?
I think you should mount your pages like this:
ajax fallback links are callback links, you cannot override their
generated url in markup without rolling your own urlcodingstrategy.
only bookmarkable page links generate bookmarkable (mounted) urls.
-igor
On Thu, Sep 25, 2008 at 4:48 AM, Liz Huber [EMAIL PROTECTED] wrote:
I'm trying to
what exactly loads twice? dataview only makes two queries: one for the
size of the dataset and one for the window of data it is going to
render.
-igor
On Mon, Oct 6, 2008 at 1:07 AM, jensiator [EMAIL PROTECTED] wrote:
Hello
Im working on a Pageable dataview using SortableDataProvider and I
use form tester...
Aleksandr Nikiforov wrote:
Hi all,
I have a couple of DropDownChoices and I want to test their behaviour
using WicketTester,
is it possible to somehow simulate that user has made selection in ddc?
Regards,
Aleksandr
Could you add it to the wiki?
http://cwiki.apache.org/WICKET/
kan wrote:
I've made custom url coding strategy which finds key named # in
PageParameters and encodes it as anchor part (opaque part).
2008/10/2 Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED]:
I would probably just do a
I've made custom url coding strategy which finds key named # in
PageParameters and encodes it as anchor part (opaque part).
2008/10/2 Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED]:
I would probably just do a simple javascript and make a
headercontribution... But I guess it's not really
hi
i think i hit a bug within wicket (or maybe it is a bug within the
appserver?).
i have a FileUpload on a wicket form and everything is smooth, _until_
it is taken to https.
it looks like in https, the request does not (at least in caucho resin)
tell the size of the request. This means
On Mon, Oct 6, 2008 at 3:11 PM, Aleksandr Nikiforov
[EMAIL PROTECTED] wrote:
Hi all,
I have a couple of DropDownChoices and I want to test their behaviour using
WicketTester,
is it possible to somehow simulate that user has made selection in ddc?
WicketTester tester = ...;
// If ajax drop
After using property models, it's nice to have automatic binding to variables
in objects... However, I can't seem to get the same thing to work with local
variables... as an example...
new CheckBox(toggleSomething, new PropertyModel(someObject,
toggleableProperty));
works beautifully...
Model assigns a new object as the model object, and I think
java.lang.Boolean is immutable so it can't change after it's constructed
anyway. So instead of checking the value of toggleableObject I think you
can check myCheckbox.getModelObject() == Boolean.TRUE etc..
Ryan Gravener wrote:
If
If you would like the property model to work with local variables do
new propertymodel(this,property)
On 10/6/08, walnutmon [EMAIL PROTECTED] wrote:
After using property models, it's nice to have automatic binding to
variables
in objects... However, I can't seem to get the same thing to work
Hi I need to build a pop-up modal window on my application.
I wanted to see if I could get some recomendations or comments.
Obviously I need not to re-enter username and password and work on the same
session.
It could be a div element like the Wicket Dialog, or a real new window.
Thoughts?
see the models page on the wiki and read the javadoc for CompoundPropertyModel
Martijn
On Mon, Oct 6, 2008 at 3:26 PM, walnutmon [EMAIL PROTECTED] wrote:
After using property models, it's nice to have automatic binding to variables
in objects... However, I can't seem to get the same thing to
http://cwiki.apache.org/confluence/display/WICKET/FAQs#FAQs-Howtoadd%23anchor(opaque)topageurl%3F
2008/10/6 Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED]:
Could you add it to the wiki?
http://cwiki.apache.org/WICKET/
kan wrote:
I've made custom url coding strategy which finds key
Hi Igor
If the sortabledataprovider calls the db to get the window of data, and the
detached model (set in the dataproviders model method) calls the db in the
load method to get the data from a private transient id. Will not the
database be called twice for every record/row in the dataset? The
Hi,
I'd like to integrate security in my wicket application. I've seen a
tutorial regarding jaas, ldap etc.
(http://blog.xebia.com/2008/05/08/wicket-jboss-jaas-ldap/) and I've
found swarm. In the repositories I had found wicket-security. While
reading the tutorial I've found that the
I have a form whose submission can possibly generate exceptions. I would
like to expose the exception text in the FeedbackPanel. How can I do this?
I've tried getting the FeedbackMessagesModel and doing a setObject() on that
but it's not accepting a String, a FeedbackMessages List, or a new
In your catch clause in onsubmit, call error(e.getMessage())
Ryan Gravener
http://twitter.com/ryangravener
On Mon, Oct 6, 2008 at 2:32 PM, Seven Corners [EMAIL PROTECTED]wrote:
I have a form whose submission can possibly generate exceptions. I would
like to expose the exception text in
you can use the info, warn, error or fatal methods of component to
generate feedback messages.. usually you can just write:
catch (Exception e) {
error(e.getMessage());
}
Seven Corners wrote:
I have a form whose submission can possibly generate exceptions. I would
like to expose the
hi,
i'm integrating a wicket application with an online payment system
provided by a bank.
i have a wicket stateful page (ie shows visa / mastercard icons) which
links to the bank app's payment page. depending on the transaction,
the bank sends us back a result code in an encrypted http url
Is there an equivalent of the ModalWindow but non-modal, ie without a
mask that prevent user from interacting the rest of page ?
Thanks!
Cedric
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Thank you. I can't believe you got back to me so fast!
This is a slick solution. I appreciate it.
From: Serkan Camurcuoglu [EMAIL PROTECTED]
Sent: Monday, October 06, 2008 2:36 PM
To: users@wicket.apache.org
Subject: Re: How to expose regular exception
Yes, it's called a DIV.
Regards,
Daan
On 6 okt 2008, at 21:08, Cédric Thiébault wrote:
Is there an equivalent of the ModalWindow but non-modal, ie without a
mask that prevent user from interacting the rest of page ?
Thanks!
Cedric
I made my component a subclass of FormComponentPanel and overrode
convertInput(). However when form containing this formComponentPanel is
submitted, panel's convertInput method is never called.
As result panel displays correctly, but changes are lost on submission. Any
ideas?
-
the loadabledetachablemodel is initialized with the object itself
eg new contactdetachablemodel(contact)
so during that initial request the model has the object already loaded
by the dataprovider
i suggest instead of making assumptions you try to write some code and
see how it works
-igor
On
I'm new to Wicket and i found that Wicket doesn't auto reload if i changed my
java code, i must relaunch jetty after some changes. Is there some way to
make Wicket auto-reloadable? I also use Spring in my project.
--
View this message in context:
I have a form where one of my text fields intermittently doesn't update when
I change the model, even though I add the component to the AJAX target.
Most of the time it works. When you add a few fields to the ListChoice,
this is where things get dicey.
Here's the scenario: you have a
If you use Eclipse, and built your application with the quick start
Maven archetype, all you have to do is right-click on the Start class,
and select debug asJava application, to start your app in auto
reloading mode.
cnoleherzer wrote:
I'm new to Wicket and i found that Wicket doesn't auto
If I understood you correctly, I've done something like this to show a
different page depending on a url parameter. You should override the
newRequestCycleProcessor() method of your application class, and return a
different request target from the resolve method. Here I return a
A ModalWindows is not just a DIV with a mask...
I need all the ModalWindow logic (show/hide, drag, resize, etc.) but
not the mask.
Cedric
On Mon, Oct 6, 2008 at 3:30 PM, Daan van Etten [EMAIL PROTECTED] wrote:
Yes, it's called a DIV.
Regards,
Daan
On 6 okt 2008, at 21:08, Cédric
You could check the ModalWindow in wicket-extensions.
It contains a file called modal.js. In that file you can find the
following function:
/**
* Creates the mask accordingly to the settings.
*/
createMask: function() {
if (this.settings.mask
paste some code
-igor
On Mon, Oct 6, 2008 at 12:35 PM, dukehoops [EMAIL PROTECTED] wrote:
I made my component a subclass of FormComponentPanel and overrode
convertInput(). However when form containing this formComponentPanel is
submitted, panel's convertInput method is never called.
As
As an update to my question, I have been able to add a Form to a Page
based ModalWindow that was opened from another Page based ModalWindow.
The top ModalWindow can now be moved beyond the confines of the parent
ModalWindow. The problem still exists when trying to add a Form to a
Panel based
Have the same problem. Can any one help
--
View this message in context:
http://www.nabble.com/Need-help-regarding-Base-Page-refresh.-tp19602473p19846169.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
Sure, here it is below. Test selects a non-default value from
'publicLocationChoices' drop down. Problems are:
-on form submit, LocationSelectionPanel.convertInput() is not called (have
breakpoint there)
-in debugger, I can see dropDown's rawInput changing on form submit, but
model's object
is it really so hard to google refresh parent window from child window
wow
-igor
On Mon, Oct 6, 2008 at 1:50 PM, ravichand [EMAIL PROTECTED] wrote:
Have the same problem. Can any one help
--
View this message in context:
does this work without wickettester?
-igor
On Mon, Oct 6, 2008 at 2:24 PM, dukehoops [EMAIL PROTECTED] wrote:
Sure, here it is below. Test selects a non-default value from
'publicLocationChoices' drop down. Problems are:
-on form submit, LocationSelectionPanel.convertInput() is not called
I just dip into Wicket. I notice that Wicket setup exclusively with Jetty, for
example, the quick start page http://wicket.apache.org/quickstart.html. Can I
create an Eclipse project for TC instead of Jetty?
Yes - it's a regular web app, and you build it into a regular war just like
normal. Most of my production applications are deployed with Tomcat. But
the development with Jetty in Eclipse is very simple and convenient since
you can run the start class in debug mode, and it will start an embedded
It is not easy for me to check whether this component functions outside of
test harness at the moment (dependency issues) but I will do so tomorrow.
In the mean time, debugging the unit test further I can tell that:
radioGroup and DropDownChoices are the only components that get called by
Thanks for your quick response.
How I shall take actions then?
Sorry for this dumb question.
- Original Message
From: Jeremy Thomerson [EMAIL PROTECTED]
To: users@wicket.apache.org
Sent: Monday, October 6, 2008 4:42:22 PM
Subject: Re: Wicket on Tomcat?
Yes - it's a regular web
wicket 1.3.4
I have a small addition to ModalWindow that I think would be useful as a
patch. Please tell me what you think.
The idea is hook in an IAjaxCallDecorator on the WindowClosedCallback
request (before WindowClosedCallback.onClose() finished and repaints the
page containing the
On Mon, Oct 06, 2008 at 07:36:03PM -0200, francisco treacy wrote:
thanks for your help, serkan.
cool, this works. as a workaround nevertheless:
-i wouldn't want my app to check every single request the existence of
a parameter which i am going to use in only *one* page anyway
-what if i
hmm, create a jira issue. mabe if you override getmaxsize on the form
and return -1 or null -indicating you dont care, we should not error
out
-igor
On Mon, Oct 6, 2008 at 4:10 AM, Uwe Schäfer [EMAIL PROTECTED] wrote:
hi
i think i hit a bug within wicket (or maybe it is a bug within the
use maven archetype to create a quickstart
mvn package
take the generated war and drop it into tomcat
-igor
On Mon, Oct 6, 2008 at 5:59 PM, Vernon [EMAIL PROTECTED] wrote:
Thanks for your quick response.
How I shall take actions then?
Sorry for this dumb question.
- Original Message
I'd wholeheartedly agree with the panel solution. Either one would work,
but I think the panel is really good.
--
Jeremy Thomerson
http://www.wickettraining.com
On Mon, Oct 6, 2008 at 9:53 PM, John Krasnay [EMAIL PROTECTED] wrote:
On Mon, Oct 06, 2008 at 07:36:03PM -0200, francisco treacy
fallback links do this:
generate normal HREF for non-ajax (or JS disabled) requests
add an onclick handler that handles the request via AJAX if possible, and
then returns false if JS was enabled. this causes the normal HREF url to
never be visited.
hope this helps.
--
Jeremy Thomerson
On Mon, 06 Oct 2008, Nino Saturnino Martinez Vazquez Wael wrote:
Yes since the browsers support their own subset of commands.
And have differences in the DOM tree and javascript event
propagation.
-
To unsubscribe, e-mail:
:)
kan wrote:
http://cwiki.apache.org/confluence/display/WICKET/FAQs#FAQs-Howtoadd%23anchor(opaque)topageurl%3F
2008/10/6 Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED]:
Could you add it to the wiki?
http://cwiki.apache.org/WICKET/
kan wrote:
I've made custom url coding
Why not use wicket modal window, and just override css?
Francisco Diaz Trepat - gmail wrote:
Hi I need to build a pop-up modal window on my application.
I wanted to see if I could get some recomendations or comments.
Obviously I need not to re-enter username and password and work on the same
56 matches
Mail list logo