This is the produced HTML for selSupplier:
lt;select name=parameterPanel:selSupplier id=selSupplier9gt;
lt;option value=0gt;Supplier 0lt;/optiongt; lt;option
value=1gt;Supplier 1lt;/optiongt; lt;option value=2gt;Supplier
2lt;/optiongt;lt;option value=3gt;Supplier 3lt;/optiongt;
Hi,
Sorry. You said script (and I repeated it) but I actually thought about
select ...
Do you use IHeaderResponseDecorator in YourApplication ? (
http://wicketinaction.com/2012/07/wicket-6-resource-management/)
Is it possible that you filter out all JavaScriptHeaderItems by chance ?
Martin
No I do not use any Decorator. I have another page where I am using an
AjaxSelfUpdatingTimerBehavior which updates the contents of the page
periodically. All components of this page are in the same project. The page
is working and updates its contents every 2 seconds. Also the lt;scriptgt;
tags
Do you override AjaxFormComponentUpdatingBehavior#renderHead() without
calling super.renderHead() ?
You pasted an excerpt of the panel, so I should ask .. :-)
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Wed, Aug 6, 2014 at 9:22 AM, brushmate
I have done a terrible mistake... I have been working on an old file that
actually was not invoked in the current version of the webapp. Everything is
working as expected. I am so sorry for wasting your time :-( Thank you very
much for trying to help me anyways. Once again sorry!
--
View this
Hi All,
I am trying out the Mounting dynamic resources as explained in the
following article.
http://wicketinaction.com/2011/07/wicket-1-5-mounting-resources/
in the App.java , I have the following.
mountResource(/images/${imgName}, new ImageResourceReference());
The image resource class is
Hi,
Check in the browser dev tools console which url exactly fails with error
500.
BookmarkableMapper is used for urls like :
/wicket/bookmarkable/com.example.MyPage
Your image urls should be: /images/someName.jpg
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On
Hi Martin,
The URL I currently get ( by printing in the log) is
*https://localhost:8181/testApp/wicket/images/52p23eepiph3_20140515_015558_1_.jpg
https://localhost:8181/testApp/wicket/images/52p23eepiph3_20140515_015558_1_.jpg*
But When I check in the browser console , I get the
Check the Dev tools Network tab.
Sometimes there is a clue what triggered a request.
You can disable the image resource reference (i.e. comment out the code)
and see whether the problem is still there.
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Wed, Aug 6,
Dear Forum,
I am trying to unit test a FormComponentPanel. I would like to populate its
fields and test some ajax behaviour as well.
Is it possible to test a FormComponentPanel and its behaviour in isolation
and not as part of a form?
How can this be achieved? For testing a form, I call
Is
Hi Martin,
Thank you for the suggestions. I will check that.
I also have a question on securing such mounted resources when there is a
valid session. Is there a way to secure access to resources mounted like
this ?
I want such images to be accessible only for valid users when signed on.
On
See https://issues.apache.org/jira/browse/WICKET-5012
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Wed, Aug 6, 2014 at 2:47 PM, Jayakrishnan R jk.h...@gmail.com wrote:
Hi Martin,
Thank you for the suggestions. I will check that.
I also have a question
Hi,
FormTester#setValue() just sets parameters in the request.
So you can do something similar:
tester.getRequest().add/setParameter(formComponent.getInputName(),
someValue);
// ... more params
tester.executeAjaxEvent(someComponent, eventName)
Martin Grigorov
Wicket Training and Consulting
Hi!
Form.findSubmittingButton
is documented as
Gets the IFormSubmittingComponent which submitted this form.
Returns:
The component which submitted this form, or null if the processing was not
triggered by a registered IFormSubmittingComponent
But if the button is not visible or enabled, an
Thank you so much.
On Wed, Aug 6, 2014 at 2:09 PM, Martin Grigorov mgrigo...@apache.org
wrote:
See https://issues.apache.org/jira/browse/WICKET-5012
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Wed, Aug 6, 2014 at 2:47 PM, Jayakrishnan R
Thanks for pointing me in the right direction, I will look at the links you
sent.
I don't care if I get a post of a get, but it I know it will be a post with
an order confirmation.
- Bruce
-Original Message-
From: Paul Bors [mailto:p...@bors.ws]
Sent: Wednesday, August 06, 2014 12:38 AM
Thank you, Martin.
I am able to successfully call
but when I try to get hold of the object above in order to use it in
tester.executeAjaxEvent I get null value.
These are the calls I have used:
I'm terribly sorry but what would be the function I need to execute to get
hold of the object I
Hi,
I am not sure but I guess it is like this to prevent calling onSubmit() on
it.
Form processing uses findSubmittingButton() to find the button and call its
#onSubmit() before calling form.onSubmit().
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Wed, Aug
Hi ,
I am having an issue with the FileUpload component .
What I am doing is capturing the content of a screen which looks like a xsl
file and trying to upload this content to a file .
I store the screen data in a byte array .
Should this work .Thanks for your help .
here is the main part of
19 matches
Mail list logo