Hi,
you might want to have a look at wicketstuff-objectautocomplete which
exactly adresses this scenario. It's not released though (and there are some
changes in the pipeline so that it plays a smarter role when used within a
form), but should work. The code is available via
http://wicket-stuff.s
Hi,
greeklinux wrote:
>
> your solution works. But the problem is that I am already registering the
> resource in
> an Initializer. But ok...
>
When you bind a resource reference to an application, it's not about
registering the resource itself
but looking it up. My fault.
greeklinux wrote:
>
greeklinux wrote:
>
> the line where the NullPointerException is thrown is:
>
> resourceStream = new ResourceReference(MyApplication.PROFILE_STANDARD)
>
> .getResource().getResourceStream();
>
> If I am using only this ResourceReference then it w
greeklinux wrote:
>
>
>
>
> But now I get a NullPointerException:
> at .PhotoUploadPage$1.getResourceStream(PhotoUploadPage.java:66)
> at org.apache.wicket.Resource.init(Resource.java:199)
> at
> org.apache.wicket.Resource.onResourceRequested(Resource.java:105)
>
svenmeier wrote:
>
> Just because you're using a CompoundPropertyModel on your Forms doesn't
> mean you need it generified.
>
> Sven
>
> Roland Huss schrieb:
>>
>> igor.vaynberg wrote:
>>
>>> On Tue, Jul 1, 2008 at 11:28 PM, Eelco H
igor.vaynberg wrote:
>
> On Tue, Jul 1, 2008 at 11:28 PM, Eelco Hillenius
> <[EMAIL PROTECTED]> wrote:
> thats my point. you work on fields of one object, true, but it does
> not necessarily have to be the form's modelobject unless you use a
> compound property model.
>
The usage of a Compou
Brill Pappin wrote:
>
> I don't know if you have every done true TDD (most people can't or think
> they can), but it actually changes your code and the way you write it.
> Starting with 2 users of your code makes a significant impact on what it
> looks like in the end.
>
Just out of curiosity
Hi Daniel,
Daniel Stoch-2 wrote:
>
> The main
> problem is that the AutoCompleteTextField and related classes
> (behavior, renderer) are not easily to extend (eg. it is necessary to
> make a few modifications in wicket-autocomplete.js but in
> AbstractAutoCompleteBehavior the standard js is add
Hi Ruediger,
Rüdiger_Schulz wrote:
>
> I'm sure some of you heard about picnik.com, this awesome online image
> editor. As I'm in the process of integrating this in my website via their
> API, I wanted to implement this as a collection of reusable Wicket
> components. Has anyone already started
Except for rather small scoped projects, I prefer the usage of DTOs (or
formerly
known as 'View Objects') over direct usage of domain objects. DTOs can be
modelled
much closer to the use case (i.e. view) at hand (by combining domain objects
or
leaving out non-required attributes to have objects
Michael Mehrle wrote:
>
> One more question - what do you refer to with 'late binding' - I assume
> the value would be computed 'late' in the process? Please elaborate or
> send me a pointer.
> ...
>
>> Alternatively, I you need late binding put
>>
>> new AbstractReadOnlyModel() {
>>publi
Michael Mehrle wrote:
>
> Now, if I want to call a method that returns a String instead, like
> so...
>
> add(new Label("greetings", new StringResourceModel("label.allAlbums",
> this, new Model(getTotalAlbums(;
> ^^^
>
> ...with my properties file having this entry:
>
> la
Martijn Dashorst wrote:
>
> The auth-roles project is basically an example, so the fact that you
> copied
> it, is a good thing (tm). Even though it is sufficient for a lot of
> projects, if you need anything beyond the current capabilities, then
> rolling
> your own is the way to go. Or use Sw
Hi Martijn,
Martijn Dashorst wrote:
>
> Take a look at wicket-auth-roles. This provides the usual security stuff,
> and you can easily also check for a set cookie. Just implement your own
> authorisation scheme.
>
Thanks, this was exactly the pointer I was looking for
(i.e. the hook via IUna
Hi,
what is the best place to hook into the request cycle
before a page gets processed ? I looked through
http://cwiki.apache.org/WICKET/lifecycle-of-a-wicket-application.html but
the
information there seems to be a bit outdated ("the Session returned by the
Application
is asked to create a
Hi,
>
> ¡¡ Welcome
Could it be, that is not supported as markup for a Label component
and that you should use something like instead ?
... roland
--
View this message in context:
http://www.nabble.com/How-to-handle-these-nested-%3Ctable%3E-tags-tf4412208.html#a12
16 matches
Mail list logo