As suggested, you need .setEnabled(false) to disable your link.
This will add em tags around the link though, so if you don't want
this, or want a different tag, do this in your Application.class
/* a component that is disabled by Wicket will normally have em
surrounding it. This makes it
If you have an img tag, you can use a ContextImage to load an image
relative to your webapp context.
ie
HTML
img wicket:id=myimage /
Java
add(new ContextImage(myimage, path/to/your/image);
The path will be relative to your webapp, so if your images are
deployed in the root of your webapp
Have you tried putting your js block in its own .js and including it
after the other wicket includes? It doesn't look like it's dynamic so
could be easily included this way
cheers,
Steve
On 27/03/2009, at 11:03 PM, fachhoch wrote:
and my header section already has some java script
I made my own IconWithToolTip component that renders an icon with a
jQuery cluetip on hover. Takes advantage of all the neat jQuery
extensions like hoverIntent (did they really meant to hover or did
they just wave the mouse around).
Welcome to the source if you'd like it.
cheers,
Steve
You read text from bottom to top?
I thought this was dead and buried, people can post however they like
and we are not going to conform to someone's 'standard'. Think of it
this way, it's a mailing list where people write and read emails. How
do you read and write your email? Pretty sure
Wouldn't it be best to change the ID that the YUI is looking for to be
the dynamic ID of your textarea?
Or set it in HTML and don't set outputMarkupId(true) so that the HTML
one is used instead.
ie textarea wicket:id=somefield id=mytextarea rows=10
cols=10default content/textarea
That
Maven1 had this
functionality.
Linda
Stephen Swinsburg wrote:
Thanks Adriano. I don't seem to need that for my Maven2 build
though, is there a reason for that? I'll try that though.
cheers,
Steve
On 12/03/2009, at 8:02 PM, Adriano dos Santos Fernandes wrote:
Steve Swinsburg escreveu:
Hi
Ok I'll post when I get back into the office.
I was mainly wondering if anyone knew of some major issue with Maven1
and Wicket/SLF4J - ie the versions in the Maven repositories etc. I
note that the Maven1 repo now uses the Maven2 artifacts.
I guess, in order to rule out Maven, I could just
Thanks Adriano. I don't seem to need that for my Maven2 build though,
is there a reason for that? I'll try that though.
cheers,
Steve
On 12/03/2009, at 8:02 PM, Adriano dos Santos Fernandes wrote:
Steve Swinsburg escreveu:
Hi all,
I have a need to backport my wicket app that builds
You can also just use ResourceModel(some.string.property) if you
don't have any thing that needs to be substituted into the strings
when they are rendered.
ie
some.string.property=this is some text
or StringResourceModel( various constructors ) if you need some
dynamic value in there:
ie
Show us YOUR code and we'll point out the issue. I use Ajax forms
everywhere.
cheers,
Steve
On 04/03/2009, at 8:35 PM, newbieabc wrote:
I had some errors with the example, that's why I was hoping to get
code to
submit data from two fields using the ajax form. Basically I just
want the
You'll need to generate, test if its still broken, then attach the
quickstart as Jeremy says.
But what perplexes me more is how come you can't type your messages
into an email? These messages are archived online so someone else with
the same issue could find the issues easier if it was in
Well you can run Tomcat just fine in that setup, but if it's going to
need to handle lots of concurrent users and sessions then you might
hit the limits quickly. Just run some profiling on it and see how you
go. Profile locally and you can see how much your app server/JVM that
Wicket is
Hi all,
I have a HashMap I need to localise like so:
LinkedHashMapString, String options = new LinkedHashMapString,
String();
options.put(1, new StringResourceModel(option.1,
this,null).getString());
options.put(2, new StringResourceModel(option.2,
this,null).getString());
options.put(3,
Hi all,
I'm after your thoughts on the following method.
Suppose there is a wicket form with some fields that can map directly
to a simple Hibernate object, and hence a db table. Is it safe to
simply wrap this object in a CompoundPropertyModel and use it as the
backing model for the form?
You say they are in src/main/resources
but you have src\main\resources
Could this be it? / vs \
I bundle a different way but that might work for you.
cheers,
Steve
On 21/02/2009, at 9:02 PM, svfarmer wrote:
Alright so since we're talking about static resources that could
easily be
served
yeah its added and it renders and everything seems to work except its
not setting any data.
cheers,
steve
On 16/02/2009, at 5:21 PM, Igor Vaynberg wrote:
did you add emailRequests to the form or somewhere under?
-igor
On Mon, Feb 16, 2009 at 8:12 AM, Steve Swinsburg
will do in the next few days. thanks igor.
cheers,
Steve
On 16/02/2009, at 6:10 PM, Igor Vaynberg wrote:
ive used that exact usecase dozens of times, quickstart please
-igor
On Mon, Feb 16, 2009 at 10:01 AM, Stephen Swinsburg
s.swinsb...@lancaster.ac.uk wrote:
yeah its added and it renders
to know my code was right though ;)
cheers,
Steve
On 16/02/2009, at 6:18 PM, Stephen Swinsburg wrote:
will do in the next few days. thanks igor.
cheers,
Steve
On 16/02/2009, at 6:10 PM, Igor Vaynberg wrote:
ive used that exact usecase dozens of times, quickstart please
-igor
On Mon, Feb
Yeah I meant 'timeout' as in waiting for a process to run and the web
server timing out. I will still set a timeout on the thread though.
On 07/02/2009, at 1:58 AM, Marcelo Morales wrote:
It can connect and stall forever. People restart firewalls you know. I
must insist on using at least
Swapna,
Start with a clean Tomcat and don't manually put jars anywhere in
Tomcat (except maybe a db driver jar).
In your pom.xml have something like this:
!-- WICKET DEPENDENCIES --
dependency
groupIdorg.apache.wicket/groupId
Does RepeatingView or RefreshingView allow me to skip an item once
inside populateItem() ?
thanks.
On 15/01/2009, at 8:46 PM, Erik van Oosten wrote:
Perhaps it would be more natural to use RepeatingView (or
RefreshingView) in such cases.
Regards,
Erik.
Steve Swinsburg wrote:
Hi
I haven't tried that (yet) but once I do the checks I need it to stop
rendering that item. So the rest of the stuff tahts meant to be
rendered never gets processed.
Nevermind I will do the checks before the data even reaches the
LoadableDetachableModel feeding it.
cheers.
On
In addition, the iframe method that Ed mentioned was a hack to get
around the fact that AJAX can't handle fileuploads yet. That might
have been what he was talking about.
cheers.
On 10/01/2009, at 5:06 AM, Jeremy Thomerson wrote:
Yes - a FileUpload can be in any component (though it will
One problem you are also going to run into when limiting the number of
characters is what happens when someone enters a large number of new
lines. Ie one person could enter some text that appears ok within the
boundaries you define, but another could enter the same text littered
with line
If you want the source code for Wicket, check it out from SVN into
your own local working copy. You can then build Wicket via maven after
you have made any local changes to the source code to see if the bug
has been fixed.
You can then generate a patch and attach it to a Jira issue so the
26 matches
Mail list logo