improvements :)
Hello,
have missed this useful component somehow
Is there any way to get wsdl? and wadl?
On Tue, Feb 24, 2015 at 4:20 PM, Hans Lesmeister
hans.lesmeis...@lessy-software.de wrote:
Hi Andrea,
thank you for your quick response. Great to hear that the change
Hi Andrea,
thank you for your quick response. Great to hear that the change will be
committed :-)
Regards,
Hans
-Ursprüngliche Nachricht-
Von: andrea del bene [mailto:an.delb...@gmail.com]
Gesendet: Dienstag, 24. Februar 2015 11:02
An: users@wicket.apache.org
Betreff: Re: Wicketstuff
Hi everybody,
We are using the Wicketstuff REST-Annotations and we are very happy with it.
Thank you very much :-)
We have a small thingy however for which I would like to propose a minor
change in the code. It is about the fact that it is very hard, if not
impossible, to customize error
Hi,
We use the great rest-annotation from wicketstuff.
One thing that bothers is if the AbortWithHttpErrorCodeException with a
specific code (404, 402, etc) is thrown by the mapped method, those error
codes do not make it to the calling client. The client always seems to get a
500.
I debugged
AbortWithHttpErrorCodeException is part of Wicket core, not
something meant to be used in rest-annotations.
Hope this helps,
Warren Bell
On Jan 28, 2015, at 7:58 AM, Hans Lesmeister
hans.lesmeis...@lessy-software.de wrote:
Hi,
We use the great rest-annotation from wicketstuff.
One thing that bothers
Hi,
You can pass the parameters to the panel via the panel's constructor. You can
also access the pageparameters in the panel with panel.getPage
().getPageParameters ()
Regards Hans
Ursprüngliche Nachricht
Von: K kondetiudayki...@gmail.com
Datum:08.01.2015 14:38
Hi Everybody,
To enable animation with JQuery on replacing a component with Ajax, we have
followed the construct with the |-Symbol (pipe) in the Javascript that is
added with target.prependJavaScript (see
http://wicketinaction.com/2013/02/replace-components-with-animation = Thank
you, Martin)
Hi Martin,
Martin Grigorov-4 wrote
AFAIK it is not known.
The code looks pretty simple for IE8 to break.
Which version of jQuery do you use ?
It is 1.8.3., the one that is shipped with Wicket 6.8.
I will try with Wicket 6.11 which is shipped with jQuery 1.10.1
-
--
Regards,
Hans
Hans Lesmeister 2 wrote
Same behavior with jQuery 1.10.1. Okay, then I will create a ticket with a
quick start then.
Thanks for helping so far.
https://issues.apache.org/jira/browse/WICKET-5397
-
--
Regards,
Hans
http://cantaa.de
--
View this message in context:
http://apache
Martin Grigorov-4 wrote
AFAIK it is not known.
The code looks pretty simple for IE8 to break.
Which version of jQuery do you use ?
Hans Lesmeister 2 wrote
It is 1.8.3., the one that is shipped with Wicket 6.8.
I will try with Wicket 6.11 which is shipped with jQuery 1.10.1
Same behavior
Hi all,
To deliver resources (mainly images) dynamically, we have created a custom
ResourceReference and mounted that to a path:
As long as the image is there and an inputstream can be retrieved from our
service, everything works fine. However if a stream is not available, we
throw an
Seems the code didn't make it:
Hi all,
To deliver resources (mainly images) dynamically, we have created a custom
ResourceReference and mounted that to a path:
// in our Application.init():
mountResource(assets/${path}/${name}, new CustomResourceReference());
// in
Hi Martin,
Martin Grigorov-4 wrote
Please create a ticket with a quickstart and we will take a look.
Thanks!
Quickstart attached
https://issues.apache.org/jira/browse/WICKET-5318
Thanks a lot
-
--
Regards,
Hans
http://cantaa.de
--
View this message in context:
Sorry, I had attached the WAR-file to the ticket.
Now the ZIP-file is attached to the ticket.
-Ursprüngliche Nachricht-
Von: Hans Lesmeister 2 [mailto:hans.lesmeis...@lessy-software.de]
Gesendet: Freitag, 16. August 2013 14:07
An: users@wicket.apache.org
Betreff: Re: Mounted Dynamic
Hi everybody,
with HTML5 we now have this nice browser built in validation showing a
bubble and a colored outline if a validation on a field does not pass.
However if I add an AjaxSubmitLink to the form, then the html5-validation is
no longer working. I have tried all kind of tricky things with
at:
https://github.com/code-troopers/wicket-jsr303-parsley
On Thu, Jul 25, 2013 at 10:22 AM, Hans Lesmeister 2
hans.lesmeister@
wrote:
Hi everybody,
with HTML5 we now have this nice browser built in validation showing a
bubble and a colored outline if a validation on a field does not pass
/mycompany/HomePage.java#L71
Maybe you need to do something similar.
On Thu, Jul 25, 2013 at 4:04 PM, Hans Lesmeister 2
hans.lesmeis...@lessy-software.de wrote:
Hi Martin,
thank you for the feedback.
What I really mean is the nativ html5-validation. If an input-field
has the required
Hi Andrea,
great job. Thank you very much!
-
--
Regards,
Hans
http://cantaa.de
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Wicket-free-guide-updated-tp4659158p4659179.html
Sent from the Users forum mailing list archive at Nabble.com.
Hi,
dhongyt wrote
I'm wondering if its because of hibernate? Its trying to get the query of
the page to display but the query has been closed?
You have serialized an object which contains properties proxied by
Hibernate. On deserializing, the proxy tries to resolve with the now closed
Hi,
you can pass a IModelCustomer to the constructor as well. This model will
receive the currently selected Customer.
-
--
Regards,
Hans
http://cantaa.de
--
View this message in context:
Hi,
you can put the checkbox in a panel and add the panel to the Column.
-
--
Regards,
Hans
http://cantaa.de
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/anything-like-AjaxEditableCheck-tp4657730p4657732.html
Sent from the Users forum mailing list
you might be looking for Session.replaceSession()
-
--
Regards,
Hans
http://cantaa.de
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/how-to-create-a-new-Session-tp4657553p4657574.html
Sent from the Users forum mailing list archive at Nabble.com.
Hi Andrea,
fantastic work! Thank you very much for sharing this.
-
--
Regards,
Hans
http://cantaa.de
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Free-Wicket-guide-now-available-tp4657407p4657435.html
Sent from the Users forum mailing list archive at
https://cwiki.apache.org/WICKET/calling-wicket-from-javascript.html
-
--
Regards,
Hans
http://cantaa.de
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Sending-Data-via-Javascript-and-AJAX-tp4657008p4657065.html
Sent from the Users forum mailing list
Hi Michael,
Michael Chandler wrote
To conclude, my issues stemmed from not properly linking from page to
page. I did a lot of this:
BookmarkablePageLink
String
(link, MyClass.class);
Instead of this:
Link
String
(link) {
public void onClick() {
Hans, like Martin said, this doesn't work, and I already tried it. When
you
use those options, it just renders the element tag with no contents.
Yes, I realised that too. I am sorry if my answer caused you effort.
Thank you very much, guys! When you come to Brazil, the beer is on me :)
Martin Grigorov-4 wrote
I.e. at the server side add style='display:none' to the Panel. Wicket JS
will replace
the old with the new one and then your fadeIn effect will show it.
And with:
panel.setVisible(false);
panel.setOutputMarkupPlaceholderTag(true);
the style-attribute is added for you by
Hi,
panel.getPage() gives you the current page which you can reload i.e. with
setResponsePage()
Cheers
Hans
-Ursprüngliche Nachricht-
Von: vaibhav2012 [mailto:vaibhav.bit2...@gmail.com]
Gesendet: Mittwoch, 20. Juni 2012 07:54
An: users@wicket.apache.org
Betreff: How to reload a
Please post your code
-Ursprüngliche Nachricht-
Von: vaibhav2012 [mailto:vaibhav.bit2...@gmail.com]
Gesendet: Mittwoch, 20. Juni 2012 08:20
An: users@wicket.apache.org
Betreff: Re: AW: How to reload a Wicket-page from Wicket-panel.
Hi Hans,
I have already tried this, but it doesn't
I used this.getPage() in SignInPanel's constructor
In the constructor, the page is not yet set (See onInitialize and
onConfigure)
-Ursprüngliche Nachricht-
Von: vaibhav2012 [mailto:vaibhav.bit2...@gmail.com]
Gesendet: Mittwoch, 20. Juni 2012 08:20
An: users@wicket.apache.org
Betreff:
Hi,
Enable debug messages for org.apache.wicket.util.resource to get a list
of all filenames tried
As Wicket suggests: Please enable debug messages and check the console
output. You will see a list of files Wicket is looking up which *might* lead
you to the cause of your problem
Cheers
Hi,
- do you have an HTML file with the same name as Panel-Class? (like
MyPanel.java and MyPanel.html - case sensitiv).
- Is the HTML-file in the same package?
- Is it copied to the class-path after compiling?
- there is a markup-setting which you can set to get more info on your
console about
Hi,
if you are inside an Ajax-Request you can simply do AjaxRequestTarget.get()
cheers
Hans
-Ursprüngliche Nachricht-
Von: Brian Mulholland [mailto:blmulholl...@gmail.com]
Gesendet: Mittwoch, 18. April 2012 18:34
An: users@wicket.apache.org
Betreff: AbstractAjaxBehavior and
Hi,
if I run your test, the result is just a space.
If I change the Date-Pattern to HH:mm, the test goes green
May be you are in the wrong time-zone... :-)
-
--
Regards,
Hans
http://cantaa.de
--
View this message in context:
Hi,
showCalculatorModel.setTxtIntrinsicValueCE(txtLtpPriceCE.getInput());
txtIntrinsicValueCE.modelChanged(); //
target.addComponent(txtIntrinsicValueCE);
-
--
Regards,
Hans
http://cantaa.de
--
View this message in context:
Hi,
seems to me that some of the classes moved to
org.apache.wicket.request.resource
-
--
Regards,
Hans
http://cantaa.de
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Package-Not-Found-tp4466108p4466328.html
Sent from the Users forum mailing list archive
Hi,
panelid instead of :panelid?
You can dump the Component-Tree to the console with tester.dumpXXX
Am 09.02.12 21:59 schrieb Bjørn Grønbæk unter
bjorn.gronb...@endomondo.com:
Hi,
I'm just starting out with Wicket and WicketTester...
I have a page that adds one of several panels,
Hi,
1) I start the background task in a lazy load panel, but haven't figured out
yet how to display a progress bar while the lazy load is executing.
Take a look at wicket-progressbar from Wicketstuff for background processing
and showing a progressbar.
Cheers
Hans
Hi Daniel,
Daniel Watrous-2 wrote
I tried putting in this:
getResourceSettings().setResourcePollFrequency(Duration.ONE_SECOND);
GAE does not allow you to start additional threads and that's what
setResourcePollFrequency(...) does I think
-
--
Regards,
Hans
http://cantaa.de
--
Hi,
hfriederichs wrote
I'm trying to do this, to send an Event in the DataView's
onBeforeRender(), but now I encounter another issue. On the receiving
side of the Event, in the onEvent(Component component, IEvent? event), I
need a
AjaxRequestTarget. Can I create an AjaxRequestTarget
Hi,
Thomas Götz wrote
final TextField textField = new TextField(textField, new Model());
textField.setVisible(false);
add(textField);
...
Because textField is initially invisible, Don't forget to
textField.setOutputMarkupPlaceholderTag(true);
-
--
Regards,
Hans
Hi,
you can add Javascript to the current AjaxRequestTarget in the
onClose-Method of your Modal Window, i.e. like:
AjaxRequestTarget.get().appendJavaScript(...)
-
--
Regards,
Hans
http://cantaa.de
--
View this message in context:
Hi,
You should setOutputMaarkupPlaceholder to true (sorry probably not exactly
the correct methode name but very similar...)
Tip: do not override isVisible but override onConfigure and then call
setvisible(...) in there
Cheers
Hans
Am 30.10.11 21:14 schrieb Josh Kamau unter
Hi,
did you already try a call to form.modelChanged() in onUpdate?
-
--
Regards,
Hans
http://cantaa.de
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/AjaxFormComponentUpdatingBehavior-broken-after-invalid-submit-tp3945964p3946955.html
Sent from the Users
DataTable.setCurrentPage(int)
-
--
Regards,
Hans
http://cantaa.de
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Jump-to-specific-page-of-AjaxFallbackDefaultDataTable-tp3878357p3878396.html
Sent from the Users forum mailing list archive at Nabble.com.
Hi,
maybe you can override WebRequestCycleProcessor.respond:
but I did not try if that's too late as well
-
--
Regards,
Hans
http://cantaa.de
--
View this message in context:
Congratulations! Thank you for this great Framework.
Martijn Dashorst dasho...@apache.org schrieb:
The Apache Wicket team is proud to announce the immediate availability of the
newest release of their component oriented open source Java web framework.
Apache Wicket 1.5 has been in development
Hi,
Maybe this http://code.google.com/p/jquery-images-ondemand/
and this http://api.jquery.com/scroll/ help
-
--
Regards,
Hans
http://cantaa.de
--
View this message in context:
The link's action is to setResponsePage(MyPage.class), but that creates a
new object. Suppose we were keeping all our Page objects in a Session. Is
there a way to setResponsePage() to an existing Page instance?
You can replace or extend the DefaultPageFactory (IPageFactory)
Regards
Hans
Did you already take a look at wicketstuff-progressbar?
Regards
Hans
Am 23.07.11 17:02 schrieb Bertrand Guay-Paquet unter
ber...@step.polymtl.ca:
I haven't actually done it yet, but the 3 steps you list are what I have
in mind.
After these, I plan to use a javascript timer that polls the
You can setResponePage or throw one of the RestartResponse*-Exceptions
Regards
Hans
Am 21.07.11 11:19 schrieb Lurtz Nazgul unter lu...@ymail.com:
I also tried
WebRequestCycle cycle = (WebRequestCycle) RequestCycle.get();
ServletRequest httpRequest =
Hi,
FeanorsCurse wrote:
Instead of using the getName()-method it's using toString, despite of what
is set in the property model. As far as I understand, this is because
getName() returns a String and not a UserAccountEntity itself.
...
Any advice?
You can use a IChoiceRenderer and
FeanorsCurse wrote:
However, I still feel like that is an unnecessary step; I don't see any
reason why the PropertyModel should not be enough on its own.
Please correct me if I am wrong: The model passed in tells the dropdown
which object from the list should be the active one shown. If
You can take a look at DataTable.onPageChanged()
-
--
Regards,
Hans
http://cantaa.de
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/fter-1-minute-the-Pagemap-null-is-still-locked-by-Thread-ACTIVE-tp3423610p3428429.html
Sent from the Users forum mailing list
Take a look at IAuthorizationStrategy and ist implementations. It is
extremely easy to create your own implementation and make it more dynamic.
The existing implementations can be used as starting point.
Cheers
Hans
Am 29.03.11 17:51 schrieb hrbaer unter herber.m...@gmail.com:
it's not about
Hi, shouldn't the provider implement a method count() which gives the
total number of records?
Regards Hans
Am 22.03.2011 um 19:50 schrieb sonoerin humblec...@yahoo.com:
Hello everyone,
So I feel there is something I am overlooking in all my work on
this. I
have a Wicket
Ernesto Reinaldo Barreiro-4 wrote:
final Label vorname = new Label( Vorname, new
PropertyModel(selectedEintrag, vorname));
This option will not work because:
selectedEintrag = item.getModelObject();
The reference selectedEintrag is overwritten.
-
--
Regards,
Hans
Ernesto Reinaldo Barreiro-4 wrote:
Yes you are right... but I think new PropertyModel(this,
selectedEintrag.vorname) will work I guess.
I guess you are right. That will work, but it is not very elegant to put a
reference to the page or panel into the model. He probably should not
overwrite
+1 for making Page.onInitialize() non-final. Since 1.4.12 we have migrated a
lot of code moving construction of the component hierarchies to
onInitialize. We are really very happy with the way it is now in 1.4.
+1 for clear documentation/Javadoc explaining proper use of onInitialize.
(Developers
I've to access the ComponentTag of my Panel but dont know how, except
iam in onComponentTag.
Yes, in onComponentTag of the surrounding WebmarkupContainer, you can get
and preserve the desired attributes and then remove them.
In onComponentTag of the TextArea you add the previously
Maybe you can find something here:
http://www.google.de/#q=wicket+jquery+integrationfp=1
-
--
Regards,
Hans
http://cantaa.de
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Integrating-jquery-scripts-with-wicket-tp3332998p234.html
Sent from the Users
MattyDE wrote:
But we now realize that its not the umlauts which create problems. its
the
We was using but wicket interprets the first inside the key-Attribute
as closing tag. This is a bug right?
Hi,
I think it is generally good practice to not use special characters like
Umlauts
Poko Booth wrote:
Can't you just use !important at page CSS definition to override what
the component defines as default?
!important is not recognized by all browsers (IE6 for instance)
-
--
Regards,
Hans
http://cantaa.de
--
View this message in context:
Ernesto Reinaldo Barreiro-4 wrote:
Is that really a stopper?
Well, that depends on the demands of the OP. IE6 is still used in many big
companies (and because IE6 is buggy concerning !important, it can be
(mis)used for nice CSS-hacks)
But what if the !important-directive is already used
Not tested, but this is the way it should work (more or less...)
public class MyBean {
String question;
String answer;
// plus Getters and Setters...
}
public class Test extends WebPage {
public Test() {
add( new TestForm( TestForm ) );
}
@SuppressWarnings(serial)
public
As already mentioned before: you don't have to care about it. Wicket
does.
The only thing you do is setting up the property models.
In onSubmit you read the model resp the original list. The data
entered by the user will be there. Try it!
Am 21.02.2011 um 09:00 schrieb hrbaer
hrbaer wrote:
In a fit of despair I tried to replace my ListView component with a
RepeatingView component to access either my ListFragen or
Frage/Input - unfortunatelly without success :(
If you use a RepeatingView you can add any Component to it (I think) so
erzeugeEingabeFeld(..) could
String htmlCodeInputfield = erzeugeEingabefeld( q );
Label label = new Label( Input, htmlCodeInputfield );
label.setEscapeModelStrings( false );
item.add( label );
Use a textfield instead of plain html. Bind it to a dynamic
hrbaer wrote:
...
protected void populateItem( ListItemEntity item ) {
final Entity e = item.getModelObject();
item.add( new Label( text, e.getName() ) ); e not null?
item.add( new Link( Details_Link ) {
hrbaer wrote:
I'm trying to get the entity of the choosen row.
Can someone provide me how do achieve that? Thanks in advance!
protected void populateItem( ListItemEntity item ) {
final Entity entity = item.getModelObject(); // cast
not needed
Hi,
James Carman wrote:
For safety, you probably want to get the entity from the item again,
right?
Why would that be safer? You mean in case the item's ModelObject has been
replaced somewhere?
Cheers
Hans
--
View this message in context:
James Carman wrote:
No, I mean in case the model is a LDM and they would be getting a
fresh copy of the entity from the database, as opposed to a detached
one.
Thanks James, that's a good hint
-
--
Regards,
Hans
http://cantaa.de
Voetbal is heel erg simpel. Het moeilijkste aan
Hi,
hrbaer wrote:
...
try {
pm.makePersistent( ent );
modal.show( target );
target.add(feedback); === I guess this was missing
}
-
You need to add the feedback to the target on success as well
Cheers
Hans
--
View
syg6 wrote:
...
setResponsePage(SecondPage.class) in FirstPage's constructor is called the
url remains:
http://localhost:8080/myapp/first
when I am actually now on SecondPage? But when I call
setResponsePage(ThirdPage.class) from SecondPageForm's onSubmit()
(SecondPage contains
The only relevant technical point here is Inheritance. If
Component A
inherits Component B, then the properties would have to be repeated
in the
property file corresponding to the inherited Component as i don't
think
properties follow inheritance rules (imo).
Component B inherits the
Hi,
After some trying we found a good practice is:
- Self contained independant components have their own resource file
- a page has its own file which also contains the keys for the panels
on that page (as long as those panels are not being reused on other
pages and are in the same package,
I think Form.replace() is your friend
Cheers
Hans
Am 13.01.2011 um 20:17 schrieb Arjun Dhar dhar...@yahoo.com:
Hi,
I have a very very Dynamic Form. In the public void onSubmit()
{...}, due
to some Change in a Drop Down the entire Form changes.
To keep it simple I just decided to
Hi, you van pass a list with alternates to the mount-annotation. Same
can be done on mounting programmatically.
Regards Hans
Am 23.12.2010 um 12:29 schrieb Thomas Götz t...@richmountain.de:
Hi,
is it possible to have localized mount points for BookmarkablePages?
Example:
I have a
Hi,
I want to that:
the ArticleFeedListPage must be served when url is /article/list
the ArticleViewPage must be served when url is /article/view
for the tagcloud, the url must be /article/tag/java
You have 3 Pages and mount each one to a different URL:
@MountPath(path = /article/tag/java)
Hi,
Maybe consider something like this:
interface ClickController {
void click();
}
class YourPage extends WebPage {
protected void onInitialize() {
ClickController clickController =
new ClickController() {
void click() {
doSomething();
}
}
}
Hi,
I have some components and I'm wiring them together directly within a
300 lines init method in the HomePage class **
Now this method is 'a bit' lengthy and unreadable. How would you make it
more maintainable?
I always try to identify logical groups and delegate creation of those to
Hi,
I have a page processed by the wicket-tester. On the page, there is an
AjaxLink. Now I do a clickLink on that AjaxLink. If I do a pagedump after
the clickLink, I can see the Ajax-Response which looks good. The Response
contains markup to replace an exisiting Container. Unfortunately, the
Create and add the DropDownChoice in onInitialize(). If the component is not
rendered then that method will not be called (untested)
@Override
protected void onInitialize() {
super.onInitialize();
final DropDownChoiceCustomUser usersChoice = new
DropDownChoiceCustomUser(usersList,
83 matches
Mail list logo