Hi all,
I have a form of inputs (ListView).
I firstly tried the removeLink, it was working. Because it is a normal link,
it simply don't keep the other rows inputs. Obviously, it does not meet the
requirement. I thought SubmitLink was good, but it always removed the last
row. I clearly see the
It works. Thank you very much
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/user-interface-design-if-any-error-textbox-channge-to-red-tp4659495p4659797.html
Sent from the Users forum mailing list archive at Nabble.com.
You'll have to show us some code.
Sven
On 06/26/2013 08:33 AM, always_rick wrote:
Hi all,
I have a form of inputs (ListView).
I firstly tried the removeLink, it was working. Because it is a normal link,
it simply don't keep the other rows inputs. Obviously, it does not meet the
requirement.
Hi,
On Wed, Jun 26, 2013 at 4:14 AM, William Speirs wspe...@apache.org wrote:
I think I know the answer before I ask, but is there any way to do
constructor injection with Wicket? Say I have a web page and an email
Don't be sceptic ;-)
Here is some code that has been used with Wicket 1.4 -
Hi,
I think you can use custom root request mapper for this too.
See
https://github.com/apache/wicket/blob/master/wicket-examples/src/main/java/org/apache/wicket/examples/requestmapper/LocaleFirstMapper.java?source=cc
-
it extracts the locale from the first url segment.
On Tue, Jun 25, 2013 at
Hi,
Additionally the validatable's model brings the form component model - this
is the current value. The validatable's value is the next value. You can
use them like in a state machine - you can move to a new state/value only
from some of the other states/values, but not from all.
On Wed, Jun
I worked out this process:
http://software.danielwatrous.com/wicket-guice-including-unittests/
It enables unittests and may help you toward your goal.
Daniel
On Tue, Jun 25, 2013 at 7:14 PM, William Speirs wspe...@apache.org wrote:
I think I know the answer before I ask, but is there any way
Martin,
Thanks, that's another possible solution indeed.
Met vriendelijke groet,
Kind regards,
Bas Gooren
Op 26-6-2013 9:29, schreef Martin Grigorov:
Hi,
I think you can use custom root request mapper for this too.
See
We have a customer requirement that disabled form buttons be grayed out
rather than Wicket's default behavior of making them invisible. Google has
a lot of discussion on the topic, but I didn't see a best practice
solution. Does Wicket provide a way to gray out buttons (or any form
control,
On Wed 26.06.2013 07:30, Richard W. Adams wrote:
We have a customer requirement that disabled form buttons be grayed out
rather than Wicket's default behavior of making them invisible.
In my experience, disabled form elements are rendered with the disabled
attribute. They are not invisible.
On Wed, Jun 26, 2013 at 2:30 PM, Richard W. Adams rwada...@up.com wrote:
We have a customer requirement that disabled form buttons be grayed out
rather than Wicket's default behavior of making them invisible. Google has
a lot of discussion on the topic, but I didn't see a best practice
Let me guess, you used IE9 or IE10 in what web app server?
GlassFish by any chance?
On Tue, Jun 25, 2013 at 7:36 AM, heikki tropic...@gmail.com wrote:
hi,
the stacktrace is here: http://pastebin.com/Kgba3zxF.
I noticed I did not supply the code of getStringFromInputStream() -- I took
it
We tried that (code below), but the button does not appear in the
generated HTML. We're using Wicket 1.4.17. Do later versions of Wicket
render a grayed out (vice invisible) button?
private Button createDisabledButton() {
final Button button = new Button(disabled-button);
The wiki says (https://cwiki.apache.org/WICKET/working-with-wicket-models.html):
Compound models allow containers to share models with their children.
This saves memory, but more importantly, it makes replication of
models much cheaper in a clustered environment.
I think what we're saying in
I'm not sure I understand your question.
All that method does is to set the dirty flag on the Page so a new instance
of the page would end up in your page store if any component on the page
changed.
What are you trying to do?
On Tue, Jun 25, 2013 at 12:36 AM, Rakesh A
You need to make sure all of your component parents are also visible.
Remeber that wicket uses a component tree (you can see it in your
DebugToolbar if you add it to your pages).
The inspector looks something like this:
I believe the parent component (the page itself) is visible. My test page
is very simple, with only two buttons, one enabled the other disabled;
both buttons are children of the page itself. However, only the enabled
button appears in the generated HTML. I've tried changing the order of the
Button - FormComponent - WebMarkupContainer - WebMarkupContainer -
MarkupContainer - Component
Inside Component:
/**
* Gets whether this component and any children are visible.
* p
* WARNING: this method can be called multiple times during a
request. If you
Is there a way in Wicket to maintain different open pages that may be open in
different windows? For example, make updates from one page that affect
components on a different page.
(Note: we are using Wicket 1.4.7)
Thanks
--
View this message in context:
I would store such data in the user's session or persist it and read it from
the other page.
~ Thank you,
Paul Bors
-Original Message-
From: eugenebalt [mailto:eugeneb...@yahoo.com]
Sent: Wednesday, June 26, 2013 10:48 AM
To: users@wicket.apache.org
Subject: Inter-Page Communication
Sorry the session won't work as you most likely would log in twice.
You can store global settings within your Application class but there might
be better approaches too...
I know for our product licensing I used the Application class so that it
would update for all users across all sessions.
~
Wow. Now it gets even stranger. I modified the code as follows:
public DisabledButtonPage() {
final Form? form = new FormObject(myForm);
add(form);
final Button enabledButton = new Button(enabled-button);
boolean visible = enabledButton.isVisibleInHierarchy();
Create a quick-start attach it to your e-mail and we'll look it over.
Feel free to use drop box or some other file sharing server.
You're doing something wrong...
~ Thank you,
Paul Bors
-Original Message-
From: Richard W. Adams [mailto:rwada...@up.com]
Sent: Wednesday, June 26, 2013
Scala is even more expressive and powerful than Ruby, so Scala + Wicket is
definitely my dream stack. I am just nervous about not having a big peer
support community when things get tricky.
On Jun 25, 2013, at 11:20 PM, Colin Rogers
colin.rog...@objectconsulting.com.au wrote:
Mike,
Java
I have a ListView which contains AjaxCheckboxes. (Each AjaxCheckbox is added
as a ListItem inside the ListView.)
I have the requirement that if a particular 'special' AjaxCheckbox is
selected, that should instantly select another particular AjaxCheckbox.
There is the overrideable method
No,
I used Firefox 21.0, with the app running in Tomcat 6.
Any ideas, anyone ?
thanks
Heikki Doeleman
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Is-it-possible-to-change-MarkupStream-tp4659757p4659832.html
Sent from the Users forum mailing list archive at
Timo Schmidt wrote:
On Wed 26.06.2013 07:30, Richard W. Adams wrote:
We have a customer requirement that disabled form buttons be grayed out
rather than Wicket's default behavior of making them invisible.
In my experience, disabled form elements are rendered with the disabled
attribute.
Heads up, men! :-)
I'm gonna file in a bug, then. Hopefully, Emond will be able to do
something for me.
Regards,
Pierre
On Tue, Jun 25, 2013 at 8:19 PM, Pierre Goupil goupilpie...@gmail.comwrote:
Good evening all,
I use ResourceRegistrationListener in my HomePage with wicket-atmosphere
Hi Michael,
You may find a quickstart for Wicket+Scala at
https://github.com/jWeekend/LegUp/tree/master/wicket-scala
It is a bit out of date but I'll update it tomorrow.
Pull requests are also welcome.
On Wed, Jun 26, 2013 at 7:28 PM, Michael Pence mike.pe...@gmail.com wrote:
Scala is even
Lately I have noticed weird things with Chrome and my local Eclipse
environment.
I have noticed that once I log into my WicketApplication, it would call the
SessionService twice and also call my Homepage twice when it loads.
When change a drop down choice, it calls it set method where I set the
I've just started using Wicket (I'm half way through Wicket in Action).
I've run into the following problem with a user registration form: In
order to make sure that the provided e-mail is not already registered
I've written a UniqueEmailValidator which I attach to the email
field. This validator
I've seen browsers re-request a page if you have, for example, an img tag
on the page that has an empty src attribute.
On Wed, Jun 26, 2013 at 4:27 PM, dhongyt davidhtr...@gmail.com wrote:
Lately I have noticed weird things with Chrome and my local Eclipse
environment.
I have noticed that
Mike,
I've never used Scala + Wicket - but the idea doesn't worry me.
For specific Scala issues, I'm sure that there is plenty of help, and for the
Wicket stuff, the API is identical, and everything here is totally
applicable... (or at least I assume)! :)
Cheers,
Col.
-Original
33 matches
Mail list logo