Hi All,
Basic question but have not got an answer to it. I want to validate a field
to accept only numbers and provide a validation message.
Is there a NumericValidator I checked NumberValidator but don't see how I
can use it..it says its deprecated.
TextFieldLong yearOfExpiry = new
See org.apache.wicket.validation.validator.NumberValidator.MinimumValidator
for example.
In your custom validator's onValidate() you need to check
that validatable.getValue() is an instance of Number.
On Wed, Feb 23, 2011 at 10:34 AM, Nivedan Nadaraj shravann...@gmail.comwrote:
Hi All,
Basic
Thanks Martin,
So I do have to build a CustomValidator that is established. I would have
thought this was a basic one that would be off the shelf.No worries thank
you for the time, will look at the NumberValidator.MinimumValidator
implementation.
Cheers
Niv
--
View this message in context:
You can use:
TextFieldLong yearOfExpiry = new TextFieldLong(yearExpired,
Long.class);
2011/2/23 nivs shravann...@gmail.com
Thanks Martin,
So I do have to build a CustomValidator that is established. I would have
thought this was a basic one that would be off the shelf.No worries thank
you
I have class which generates pdf report. The report is generated as stream as
I donot want to save the file in server. I need to show the pdf in the
browser. But the link provided to this dynamically generated pdf opens a new
window and asks for saving the file. How to open the pdf in new window?
Hi;
The browser must have the capability to render PDF, mostly via a plugin. I
noticed google chrome browser renders pdf without any plugin installed. So i
suggest you test with chrome first. There is an adobe plugin, that enables
internet explorer to be able to render pdf once the plugin has
Thanks for the reply... I was able to render the pdf in browser with the
following piece of code:
ResourceStreamRequestTarget target = new ResourceStreamRequestTarget(null){
@Override
public void detach(RequestCycle requestCycle) {
Hi!
Is there a way to swap sessions onto disk with jetty if they are idle
for n.n. minutes?
It is under investigation, but we suspect that we have many idle users
logged in with large session size. So, while they are doing nothing,
their session could be pushed onto disk.
Is there a setting or
Is it possible to add a Title or an AltText attribute to a
CheckBoxMultipleChoice? (for the tip window)
Thanks
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Adding-Title-or-AltText-to-CheckBoxMultipleChoice-tp3321054p3321054.html
Sent from the Users forum mailing
Hi.
We have a use case where we have one Wicket application that has
multiple styles (passed in through a page-parameter). These styles are
put on the session and we have different css, html and properties based
on those styles.
This works as long as the user doesn't try to open 2 different
this out of memory I did not see in Catalina.out and in Jconsole JVM is fine
at that time. It did not create any dump because JVM not crashes. I saw the
error in PegaRule.log that application log while they importing the rule at
time they got below mentioned error.
Thanks
Max
--
View this
Am 23.02.2011 15:16, schrieb eugenebalt:
Is it possible to add a Title or an AltText attribute to a
CheckBoxMultipleChoice? (for the tip window)
Thanks
Did you try an AttributeModifier?
-
To unsubscribe, e-mail:
Yes, we tried AttributeModifier and it's not working.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Adding-Title-or-AltText-to-CheckBoxMultipleChoice-tp3321054p3321193.html
Sent from the Users forum mailing list archive at Nabble.com.
OK, I managed to fix the problem. And here`s how:
I used to have Form class injected in page, then Dao class injected in
form, then hibernate session injected in dao class and that session was
the one causing WicketNotSerializableException. But, when I create the
form with new, it all goes
Hi Kikiya, thanks a lot for the reply. Can you provide details on what you
did?
For everyone else reading this. Maybe the original post wasn't worded very
well, but here's the issue: When I'm doing Form onSubmit(),
CheckBoxMultipleChoice.getInput() returns correct results. However, in any
Ajax
Just a thought - have you looked at the difference between
AjaxFormChoiceComponentUpdatingBehavior and
AjaxFormComponentUpdatingBehavior? (I know you mentioned upload, but
perhaps there is a clue in there...)
-- Jim Pinkham
On Wed, Feb 23, 2011 at 10:57 AM, eugenebalt eugeneb...@yahoo.com
Our code is as follows. It's not working for us. Thanks a lot
CheckBoxMultipleChoice appsCheckBox = new CheckBoxMultipleChoice(apps,
appList).setPrefix(li).setSuffix(/li);
appsCheckBox.add(new AttributeModifier(title,true, new Model() {
@Override
What are the current plans for deploying the code as discussed by Igor in
https://issues.apache.org/jira/browse/WICKET-271 first pass on a very basic
but working ajax history
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Ajax-Back-Button-tp1880255p3321344.html
Hi,
I am using Wicket 1.5 RC1.
I want to set a default timezone for client sessions so I added the
following line at the end of my CustomSession constructor:
getClientInfo().getProperties().setTimeZone(TimeZone.getTimeZone(GMT));
Doing this coupled with getGatherExtendedBrowserInfo() == true
Yes, I've tried both the first one and the second one with
onclick/onchange. The problem is still happening.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/CheckBoxMultipleChoice-getInput-NULL-after-switch-to-AjaxSubmit-tp3317829p3321391.html
Sent from the Users
Hello Martin,
thanks for your reply! You mean override newLink method in
DefaultAbstractTree?
See DownloadLink.
On Fri, Dec 31, 2010 at 3:19 AM, Anton Bessonovexe...@googlemail.comwrote:
Hello list,
I'm trying to implement small file browser and I use TreeTable.
PropertyTreeColumn shows
Hi,
I don't think you may customize the tags as the input generation is
hard-coded:
// Add checkbox element
buffer.append(input name=\).append(getInputName()).append(\).append(
type=\checkbox\).append(
(isSelected(choice, index, selected) ? checked=\checked\ :
)).append(
what about:
class MyPage extends WebPage {
public String getVariation() {
return getPageParameters().get(style);
}
}
?
On Wed, Feb 23, 2011 at 4:25 PM, Thijs vonk.th...@gmail.com wrote:
Hi.
We have a use case where we have one Wicket application that has multiple
styles (passed in
This is planned for Wicket 1.5+
On Wed, Feb 23, 2011 at 6:44 PM, shetc sh...@bellsouth.net wrote:
What are the current plans for deploying the code as discussed by Igor in
https://issues.apache.org/jira/browse/WICKET-271 first pass on a very
basic
but working ajax history
--
View this
Please create a quickstart and attach it to a ticket.
On Wed, Feb 23, 2011 at 6:47 PM, Bertrand Guay-Paquet
ber...@step.polymtl.ca wrote:
Hi,
I am using Wicket 1.5 RC1.
I want to set a default timezone for client sessions so I added the
following line at the end of my CustomSession
On Wed, Feb 23, 2011 at 8:01 PM, Anton Bessonov exe...@googlemail.comwrote:
Hello Martin,
thanks for your reply! You mean override newLink method in
DefaultAbstractTree?
No, Probably you'll have to create custom TreeColumn that uses DownloadLink
instead of Label (as PropertyTreeColumn
Thx Martin!
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Ajax-Back-Button-tp1880255p3321584.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To unsubscribe, e-mail:
I don't understand this answer. Can you expand?
When creating the CheckBoxMultipleChoice for the very first time, I override
isDisabled(...). But this is different, I have the Select All button on
which I am defining Ajax Updating Behavior. How do I get access to
I created issue WICKET-3477.
I first wanted to confirm that my approach was the right one.
On 23/02/2011 2:20 PM, Martin Grigorov wrote:
Please create a quickstart and attach it to a ticket.
On Wed, Feb 23, 2011 at 6:47 PM, Bertrand Guay-Paquet
ber...@step.polymtl.ca wrote:
Hi,
I am using
Maybe it is possible to be more verbose on suffix and prefix. Maybe add
the alt and title to the li element.
Cheers
Mike
Hi,
I don't think you may customize the tags as the input generation is
hard-coded:
// Add checkbox element
buffer.append(input
30 matches
Mail list logo