public final C IConverterC getConverter(ClassC clazz)
{
if (Date.class.isAssignableFrom(clazz))
{
return (IConverterC)converter; // cast
}
else
{
return super.getConverter(clazz);
}
}
On Mon, Nov 28, 2011 at 1:24 PM, Martin Grigorov mgrigo...@apache.org wrote:
Hi
I've decided that Panel descendant below autocomplete is redundant.
So I've added an extra o.a.w.a.AbstractDefaultAjaxBehavior to handle
onselect event, so far so good.
--
View this message in context:
:-)
We have different understanding of what is user code ...
I mean that you do that once in the component (e.g. DateTextField) and
then you can do:
Date asDate = dateField.getConverter(Date.class).convertToObject(..., locale)
Calendar asCalendar =
martin,
i actually know what you are referring to user code and library code :)
i am not saying dont do that cast,just saying it can be hidden from a
wicket user,
wicket user will just override the new method which will have
formcomponent generic type,the getconverter(*) method will call the
new
;] hehe yep this is a little misunderstatement ;] from that point this is ok.
well as vineet said it is small gain but it will be less confusing for
coders. (we are just discussing, right?? no hard feelings ;])
what about locator issue I pointed out??
pozdrawiam
Paweł Kamiński
Too bad it's a nice feature
On Nov 28, 2011 2:16 AM, Martin Grigorov mgrigo...@apache.org wrote:
On Mon, Nov 28, 2011 at 4:31 AM, James Carman
ja...@carmanconsulting.com wrote:
Or use a request cycle listener to be more portable.
request cycle listeners are available since Wicket 1.5
Thanks, using only 1 id for my panels worked. I tried this before, but i
wasnt using panels (containers instead).
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Dynamic-component-tp4107323p4115163.html
Sent from the Users forum mailing list archive at Nabble.com.
I had one question about an issue we are having with our wicket
applications and was wondering if anyone else has seen something similar
with other wicket apps.
--
1. Here is the exception/error we are seeing:
--
[11/22/11 8:17:37:683 EST] 0119 SRTServletReq E SRVE0133E:
Tor Iver is correct, in 1.4.x the call to continueToOriginalDestination
didn't throw an exception but rather a boolean result. While in 1.5.x it
still returns a boolean result, but it does so if
replaceAllRequestHandlers() call returns without throwing an exception.
My question is twofold: is
you don't need ajax for this:
https://cwiki.apache.org/confluence/display/WICKET/Modal+Windows Opening a
modal window on page load (no AJAX involved)
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/AjaxRequestTarget-on-page-open-tp4110093p4115584.html
Sent from
Hi All,
Please suggest me
1.how do i use reset in java code.I have just declare a reset button in my
html which is working as expected but wana know is there any other
alternative of doin it.
2.I am unable to use generics in my app,it shows error as this is supported
in 1.5 version.What do i need
Easy question, but I forgot the answer.
I need my DropDown to
1) ONLY list the choices I have in my model (no blank, no 'Choose One'),
2) Automatically default to the 1st choice, so there is no blank visible.
If I do setNullValid(false) I see Choose One which is incorrect. I should
see the 1st
On Mon, Nov 28, 2011 at 6:45 AM, Brown, Berlin [GCG-PFS]
berlin.br...@primerica.com wrote:
I had one question about an issue we are having with our wicket
applications and was wondering if anyone else has seen something similar
with other wicket apps.
--
1. Here is the
Hi,
The javadocs says:
If set to false, then Choose One will be displayed when the value is
null. After a value is
* selected, and that change is propagated to the underlying model,
the user will no longer see
* the Choose One option, and there will be no way to reselect null
as
Hi Philipp,
DropDownChoice is supposed to work exactly as you described it, nothing
wrong there.
If you want to have it the other way around, you have to provide ids in
your choices model and use the ChoiceRenderer to display readable strings.
Hope this helps
Sven
Am 28.11.2011 17:41,
Yes, working. Thanks
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/How-to-set-DropDown-to-only-available-choices-No-Blank-No-Choose-One-tp4115842p4115957.html
Sent from the Users forum mailing list archive at Nabble.com.
I'm using the latest 1.4 release and it seems like there is an issue where
two AjaxFormChoiceComponentUpdatingBehavior will not work correctly. The
first one will function properly but the second one does nothing. We've
looked for a resolution to this, but have thusfar come up empty. Is there
a
Ok. Now im holding a map, using its keys as choices and a choicerenderer
gives the values for rendering.. its working... nice
Thanks!
--
View this message in context:
I have tried this example so it is working perfect :)
Thank you for your support.
-
Wicket-Java
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Dynamically-choosing-component-to-add-tp3955869p4116037.html
Sent from the Users forum mailing list archive at
Hi,
What exactly is the problem ?
On Mon, Nov 28, 2011 at 6:15 PM, Adam Gray adam.j.g...@gmail.com wrote:
I'm using the latest 1.4 release and it seems like there is an issue where
two AjaxFormChoiceComponentUpdatingBehavior will not work correctly. The
first one will function properly but
Hi,
I think I just responded to you in your own thread - where I didn't know
what you were trying to do. I still don't claim to fully understand, but I
think I better understand your question here. If you mean that you have
one panel that *may possibly contain any one of X panels*, then here's
In a nutshell, we have two radio groups in a panel. We are adding an
AjaxFormChoiceComponentUpdatingBehavior to each one in order to provide
different components based on the selection. Whichever one is added in the
component hierarchy first will get its proper callback. The other behavior
does
https://issues.apache.org/jira/browse/WICKET-4269
-igor
On Mon, Nov 28, 2011 at 6:47 AM, peakmop peak...@yahoo.com wrote:
Tor Iver is correct, in 1.4.x the call to continueToOriginalDestination
didn't throw an exception but rather a boolean result. While in 1.5.x it
still returns a boolean
Hi,
Create a quickstart application and attach it to a ticket in Jira
On Mon, Nov 28, 2011 at 6:49 PM, Adam Gray adam.j.g...@gmail.com wrote:
In a nutshell, we have two radio groups in a panel. We are adding an
AjaxFormChoiceComponentUpdatingBehavior to each one in order to provide
different
I'll get one created in the next couple hours. Thanks.
On Mon, Nov 28, 2011 at 1:58 PM, Martin Grigorov mgrigo...@apache.orgwrote:
Hi,
Create a quickstart application and attach it to a ticket in Jira
On Mon, Nov 28, 2011 at 6:49 PM, Adam Gray adam.j.g...@gmail.com wrote:
In a nutshell,
at http://wicket.apache.org/start/download.html
should the artifactId not be
wicket-core
for 1.5.x?
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
I'll fix it.
On Mon, Nov 28, 2011 at 8:10 PM, Cemal Bayramoglu
jweekend_for...@cabouge.com wrote:
at http://wicket.apache.org/start/download.html
should the artifactId not be
wicket-core
for 1.5.x?
-
To unsubscribe,
Fixed with r1207523.
Should be picked up soon.
On Mon, Nov 28, 2011 at 8:13 PM, Martin Grigorov mgrigo...@apache.org wrote:
I'll fix it.
On Mon, Nov 28, 2011 at 8:10 PM, Cemal Bayramoglu
jweekend_for...@cabouge.com wrote:
at http://wicket.apache.org/start/download.html
should the artifactId
Then the page is no longer bookmarkable, since you depend on state.
page.getClass() will work though.
Martijn
On Mon, Nov 28, 2011 at 9:27 PM, eugenebalt eugeneb...@yahoo.com wrote:
When you create a BookmarkablePageLink, you can set as its target the class
of your page.
But what if you
How about a regular link, can it be constructed with an existing page
instance?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/BookmarkablePageLink-to-an-existing-instance-of-a-page-tp4116739p4116770.html
Sent from the Users forum mailing list archive at Nabble.com.
You mean something like:
add(new Link(theLink) {
@Override
public void onClick() {
setResponsePage(yourPageInstance);
}
});
On Mon, Nov 28, 2011 at 3:31 PM, Martijn Dashorst
martijn.dasho...@gmail.com wrote:
Then the page is no longer bookmarkable, since you depend on state.
What about using a filter in front of your Wicket application
On Mon, Nov 28, 2011 at 1:15 PM, Sven Ludwig [via Apache Wicket]
ml-node+s1842946n4115751...@n4.nabble.com wrote:
Hello,
is there a way to set a common HTTP Header on all Responses of a Wicket
1.4.19 Application which returns
I can't find the original message you replied to anywhere in my email.
Perhaps because it is from Nabble? I think posting to the list from Nabble
is blocked. Anyway, how about a custom subclass of WebResponse? Application
creates it for every response.
PS - Sent from a tablet. Please excuse
Should that simple extension be part of the framework? IMHO yes, as
from time to time people ask for such functionality.
Regards,
Ernesto
On Mon, Nov 28, 2011 at 4:28 PM, robert.mcguinness
robert.mcguinness@gmail.com wrote:
you don't need ajax for this:
34 matches
Mail list logo