Am 07.09.2013 22:19, schrieb Sven Meier:
if you don't specify the type, a TextField will try to resolve the
type from its model, see AbstractTextComponent#resolveType() and
IObjectClassAwareModel.
Thanks for this hint.
During further tests after my mail, I found a situtation where the
Hello!
I've got a problem with a TextField and the depending CustomConverter.
The converter of the component is not been called. So the default
converter takes the task and fails.
In my case this problem occurs when my IModel.getObject returns null.
The problem arises in the
Hi,
if you don't specify the type, a TextField will try to resolve the type
from its model, see AbstractTextComponent#resolveType() and
IObjectClassAwareModel.
Shouldn't there be a pre-examination wheter a component converter is
available?
Without type there can't be a converter.
Sven
Hi, i'm trying to nest a formcomponent into a custom component of my own:
What I want is to have additional markup around my various form components.
Thus I created a ControlGroup panel as in the following:
*ControlGroup.java
public class ControlGroup extends Panel {
public
Hi,
check class org.apache.wicket.markup.html.border.Border. It should be
more appropriate than a simple panel for what you are trying to do.
Hi, i'm trying to nest a formcomponent into a custom component of my own:
What I want is to have additional markup around my various form components
is started it should
load some data via an input stream and display this data.
My idea was that the user has to overwrite a method in my custom component
which delivers this stream.
But how can I access now this stream from the applet, e.g. how can I create
an URL which points to
my component so
of that
fact. This component should display some data using JFreeChart. After the
applet is started it should
load some data via an input stream and display this data.
My idea was that the user has to overwrite a method in my custom component
which delivers this stream.
But how can I access now
Hi Dieter,
i think you might want to have a look at the following:
https://cwiki.apache.org/WICKET/jfreechart-and-wicket-example.html
So long,
Benedikt
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For
PM
To: users@wicket.apache.org
Subject: Help with custom component that implements IOnChangeListener
Hi everyone,
i'm trying to implement a custom TextField that fires onchange event
without using Ajax (it is a requirement of my project - i have good
reasons
not to use Ajax).
Looking
easiest way to help you is if you create a quickstart and attach it to
a jira issue
-igor
On Thu, Oct 7, 2010 at 7:08 AM, Rut Bastoni rut.bast...@poste.it wrote:
Hi everyone,
i'm trying to implement a custom TextField that fires onchange event
without using Ajax (it is a requirement of my
Hi everyone,
i'm trying to implement a custom TextField that fires onchange event
without using Ajax (it is a requirement of my project - i have good reasons
not to use Ajax).
Looking at the source files of DropDownChoice, CheckBox etc. (they all
implement the
Hi, I'm new to wicket and i'm trying to create a custom component with
a panel and inside the panel a form.
I've a problem in rendering it.
The framework tells me the following RuntimeException.
...WicketMessage: The component(s) below failed to render. A common
problem is that you have added
:).
Gabriel Bucher пишет:
write wicket with a 't' instead of a 'd' in the markup.
for example:
input type=text wicket:id=db/input br/
^
cheers gab
Giampiero Granatella wrote:
Hi, I'm new to wicket and i'm trying to create a custom component with
a panel and inside the panel a form
Maybe hierarchy doesn't match? Means you added the panel to to other
panel at java, but at html panel is added to the page directly.
If not please provide more data - your java code.
Giampiero Granatella пишет:
Hi, I'm new to wicket and i'm trying to create a custom component with
a panel
write wicket with a 't' instead of a 'd' in the markup.
for example:
input type=text wicket:id=db/input br/
^
cheers gab
Giampiero Granatella wrote:
Hi, I'm new to wicket and i'm trying to create a custom component with
a panel and inside the panel a form.
I've
/
^
cheers gab
Giampiero Granatella wrote:
Hi, I'm new to wicket and i'm trying to create a custom component with
a panel and inside the panel a form.
I've a problem in rendering it.
The framework tells me the following RuntimeException.
...WicketMessage: The component(s) below failed
I've got a custom component based on the TabPanel where instead of
updating the panel content it actually calls a setResponsePage(Page).
However after setting the first tab, a click on any other tab renders
the new page just fine except that the page for tab 0 is also
rendered, and I mean
Of course, no sooner do I post this, i find the problem.
Since I dumped code on you folks, here is the working replacement in
case anyone has a need for this.
- Brill
On 26-Feb-09, at 11:38 AM, Brill Pappin wrote:
I've got a custom component based on the TabPanel where instead
://www.nabble.com/Validation-From-A-Custom-Component-tp22060300p22060300.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h
, or
something
similar? Or do I need to extend IValidator, and pass it the component's
domain object in order to do the check and use wicket's validation form
processing procedure.
Thanks!
Justin
--
View this message in context:
http://www.nabble.com/Validation-From-A-Custom-Component
://www.nabble.com/Validation-From-A-Custom-Component-tp22060300p22060300.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e
need to extend IValidator, and pass it the component's
domain object in order to do the check and use wicket's validation form
processing procedure.
Thanks!
Justin
--
View this message in context:
http://www.nabble.com/Validation-From-A-Custom-Component-tp22060300p22060300.html
Sent from
to extend IValidator, and pass it the
component's
domain object in order to do the check and use wicket's validation form
processing procedure.
Thanks!
Justin
--
View this message in context:
http://www.nabble.com/Validation-From-A-Custom-Component-tp22060300p22060300.html
Sent from
Jeremy Thomerson wrote:
I, too, agree that this may not be the best way of doing things. But,
anyway, there is a solution that will work:
Use ValidationError rather than just a string
public void updateModel() {
try {
super.updateModel();
Because there's a compile error if you don't The method
error(IValidationError) is ambiguous for the type new
TextFieldString(){}.
I thought the same, and didn't care to look further since this was just a
quick example. Take a look for yourself:
new TextFieldString(, new ModelString())
with the UI is still a very interesting, and potentially useful example...
All of the logic in reporting an error is done within the custom component.
public class DomainTextField extends TextField
{
public DomainTextField(String id)
{
super(id);
add(new AbstractValidator
Hehe, I knew there were some reason.. Just looked a bit odd.
2009/2/17 Jeremy Thomerson jer...@wickettraining.com
Because there's a compile error if you don't The method
error(IValidationError) is ambiguous for the type new
TextFieldString(){}.
I thought the same, and didn't care to look
Hi,
I am still a newbie in Wicket. After having read a lot of examples and
blogs, I still did not achieve to create a custom component. I want to
create a wrapper for the GoogleVisualization API. The diagrams shall be
redrawn when someone clicks on a button.
I wrote a class, that creates
did not achieve to create a custom component. I want to
create a wrapper for the GoogleVisualization API. The diagrams shall be
redrawn when someone clicks on a button.
I wrote a class, that creates the JavaScript for the Google Visualization
Diagram by a header contribution. After that I
Hi everyone!
I am trying to create a custom component which should be a
composite consisting of 3 text fields. It will be basically a date
picker with day, month and year fields. I have created a panel and
dropped instances of the DropDownChoice class on it. I have also
created a subclass
self-explanatory
Maurice
On Tue, Feb 26, 2008 at 9:43 AM, Vitaly Tsaplin
[EMAIL PROTECTED] wrote:
Hi everyone!
I am trying to create a custom component which should be a
composite consisting of 3 text fields. It will be basically a date
picker with day, month and year fields
a custom component which should be a
composite consisting of 3 text fields. It will be basically a date
picker with day, month and year fields. I have created a panel and
dropped instances of the DropDownChoice class on it. I have also
created a subclass of the Model with a listener
Dear all,
Is there any tutorial on creating custom component in Wicket? The ones
I found only shows creating custom component by extending from the
existing component but not creating from scratch. If anyone has
created those tutorial, can anyone here please point me to there.
Thanks in advance
On Nov 21, 2007 7:50 PM, Joshua Jackson [EMAIL PROTECTED] wrote:
Yes that's what I mean, I couldn't find document on creating custom
component that extend from Component.
It doesn't make sense to have such a tutorial. You need to decide what
you'll be building and what base class comes closest
34 matches
Mail list logo