having my code refactored to use ResourceStreamFactory (from using
ResourceStreamLocator before), my program no longer works and I now receive
a MarkupNotFoundException. Could someone clarify to me how is the proper use
of ResourceStreamFactory and what new things to understand regarding custom
Please see CustomResourceStreamFactory in the custom resource loading
examples for how it works, or OsgiResourceStreamFactory as another
example. You simply extend ResourceStreamFactory, subclass the
appropriate locate() method (you usually must not forget to call
super.locate()) and register your
On 1/14/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
* Method WebApplication#newSession is made final and will be removed
in the near future. Instead, use WebApplication#newSession.
So don't use WebApplication#newSession, but use WebApplication#newSession?
Martijn
--
Vote for Wicket at the
On 1/14/07, Martijn Dashorst [EMAIL PROTECTED] wrote:
On 1/14/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
* Method WebApplication#newSession is made final and will be removed
in the near future. Instead, use WebApplication#newSession.
So don't use WebApplication#newSession, but use
I'm trying to create a filter that allows the user to enter a date on
which to filter. It works fine when a valid date string is input.
However, invalid dates generate a conversion exception.
Do I need to create a brand new class that overrides
FilteredPropertyColumn to get this to work?
Yeah that doesn't look to difficult ;)
On 1/14/07, Martijn Dashorst [EMAIL PROTECTED] wrote:
On 1/14/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
* Method WebApplication#newSession is made final and will be removed
in the near future. Instead, use WebApplication#newSession.
So don't use
Sorry, I dont understand either.
We are told not to use a but use a instead???
I dont get this
_
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Frank
Bille
Gesendet: Sonntag, 14. Januar 2007 13:06
An: wicket-user@lists.sourceforge.net
Betreff: Re: [Wicket-user]
On 1/14/07, Frank Bille [EMAIL PROTECTED] wrote:
Yeah, whats so difficult to understand? It makes sense. And it's easy to
migrate.
Yeah stupid me... I just feel sympathy for the compiler. Has to
generate a warning and then discard it immediately. This is what
creates serial killer compilers.
Hi all
I'm new to wicket and I'm looking for creating a table where each cell
would have a specific background image and, as a content, a specific
image with a link upon it.
What's the best way to do it in Wicket ? I've started looking at
SimpleViewList but I'm not so sure it's the right thing
juergen, if it's a factory, shouldn't it be newResourceStream?
Juergen Donnerstag wrote:
Please see CustomResourceStreamFactory in the custom resource loading
examples for how it works, or OsgiResourceStreamFactory as another
example. You simply extend ResourceStreamFactory, subclass the
juergen, if it's a factory, shouldn't it be newResourceStream?
Juergen Donnerstag wrote:
Please see CustomResourceStreamFactory in the custom resource loading
examples for how it works, or OsgiResourceStreamFactory as another
example. You simply extend ResourceStreamFactory, subclass the
May be. The reason why I didnt change it is because we are still
searching for the resource by iterating over (component hierarchy),
class hierarchy, style, variation, locale and sometime extensions and
only if the find the resource we create a resource stream for it. Not
sure which I like better
juergen, if it's a factory, shouldn't it be newResourceStream?
Juergen Donnerstag wrote:
Please see CustomResourceStreamFactory in the custom resource loading
examples for how it works, or OsgiResourceStreamFactory as another
example. You simply extend ResourceStreamFactory, subclass the
Hello,
I don't seem to be able to get wicket spring examples in 2.0 to run with the
latest from svn.
In addition the example does not use the WicketFilter.
Just wonder if no one has gotten around to it as yet or am I doing something
wrong.
I receive the following on startup:
2007-01-14
yeah, my feeling is that it should be newX if it's a factory method.
the purpose of a factory is to create something...
Juergen Donnerstag wrote:
May be. The reason why I didnt change it is because we are still
searching for the resource by iterating over (component hierarchy),
class
add(new Label(foo, new ResourceModel(header))) ?
-igor
On 1/14/07, Filippo Diotalevi [EMAIL PROTECTED] wrote:
Hi,
maybe the question is a bit dumb, but I haven't found a definitive
answer.
I have a custom panel MyPanel which is added to a MyPage.
The component must use internally same
Heh, sorry. I meant #newSession(Request) instead of #newSession()
Eelco
On 1/14/07, Frank Bille [EMAIL PROTECTED] wrote:
On 1/14/07, Martijn Dashorst [EMAIL PROTECTED] wrote:
On 1/14/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
* Method WebApplication#newSession is made final and will be
you need to specify the type in the textfield so the the conversion
exception is caught there.
new textfield(id, model, Date.class);
-igor
On 1/13/07, kurt heston [EMAIL PROTECTED] wrote:
I'm trying to create a filter that allows the user to enter a date on
which to filter. It works fine
take a look at repeater examples in wicket-examples
-igor
On 1/13/07, ZedroS Schwart [EMAIL PROTECTED] wrote:
Hi all
I'm new to wicket and I'm looking for creating a table where each cell
would have a specific background image and, as a content, a specific
image with a link upon it.
What's
On 1/14/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
add(new Label(foo, new ResourceModel(header))) ?
Yeah, it was really that simple!
Thanks
--
filippo
-
Take Surveys. Earn Cash. Influence the Future of IT
Join
Hello Mailinglist again,
I tried to implement a simple input field where you can e.g. enter your
username. Now I want to let the background of the textfield be red while it
is not valid. And if it's finally valid it should change to green (during
the input). My problem is, that I always loose
Hi Igor,
I found some strange behavior extending my code. The RadioChoice works
perfect now. It changes the label beneath it depending on the selection. But
now if I additionally add a RequiredTextField it won't change until
something is written into the textfield. Is that the intention of a
You make it very complicated :-)
final TextField uname = new TextField(username, ...).add(new
AttributeModifier(class, true, new Model() { public void
getObject(Component c) { return uname.isValid() ? valid : invalid;
} });
uname.add(new AjaxFormComponentUpdateBehavior(onblur) {
public void
Hey all, I just updated my Wicket 2 HEAD copy and now get the following
errors:
Exception in thread main java.lang.NoSuchMethodError: wicket.MetaDataKey
.init(Ljava/lang/Class;)V
at wicket.spring.injection.SpringComponentInjector$1.init(
SpringComponentInjector.java:67)
at
I don't think it's something specific to your end because I get
something similar:
/Users/caleb/svn/wicket/wicket-spring/src/main/java/wicket/spring/injection/SpringComponentInjector.java:[65,75]
cannot find symbol
symbol : constructor
that happens because if you dont put anything into requiredtextfield the
validation of the form fails.
like i said before, what you want is formcomponentupdatingbehavior, but
radiochoice doesnt support that because it is a quasi component (single
component representing a bunch of html
its because an api change was made to wicket and not synced into
wicket-spring. fixed.
-igor
On 1/14/07, Caleb Land [EMAIL PROTECTED] wrote:
I don't think it's something specific to your end because I get
something similar:
Cheers, thought it might be something like that.
On 1/15/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
its because an api change was made to wicket and not synced into
wicket-spring. fixed.
-
Take Surveys. Earn Cash.
On 14/01/07, Juergen Donnerstag [EMAIL PROTECTED] wrote:
Just out of curiosity, what are you using it for? How and why did you
change/extend the default behavior?
Sometimes, I put markups in the folder like:
/WEB-INF/wicket.html/com.mycompany.packedge/
or
Hi everone,
I am trying to develop a structure and I want this; already opened and already
closed the connection when my form is submitted and my forms logic finished. I
have a BaseForm class, which overriding OnSubmit function and my other forms
extends this BaseForm class. On Struts, when
Hi,
I was thinking that more option can be added to the official wicket-spring
integration documentation. Something like this:
1) normal wicket servlet config in web.xml, with applicationClassName
init-param
2) Application class uses Spring API to get hold of dependency like this:
class
Hi Cliff,
If I read your requirements correctly you should use onkeypress
instead of onblur. But I guess you already guessed that.
Regards,
Erik.
Martijn Dashorst wrote:
You make it very complicated :-)
final TextField uname = new TextField(username, ...).add(new
Hi everyone
Is there any uml diagram for wicket framework, or is there any flowchart?
Don't get soaked. Take a quick peak at the forecast
with the Yahoo! Search weather shortcut.
33 matches
Mail list logo