Check and make sure that the model for the CheckBoxMultipleChoice is getting
set properly and the model is loading the data.
I do a similar thing, but with CheckGroup and Check:
Form form = new Form("user-form", new
CompoundPropertyModel(userModel));
add(form);
form.add(new RequiredTextField("fir
Very cool! I am an AppleTV hobbyist myself. Do you have a blog post or
something regarding the steps you took to do this? I'd be curious to check
it out!
-Matt.
On Mon, Apr 6, 2009 at 23:55, Igor Vaynberg wrote:
> thats pretty freaking cool :)
>
> -igor
>
> On Mon, Apr 6, 2009 at 8:52 PM, Joh
I've always handled the typing problem with DropDownChoice and my list
models by "just ignoring it" and not applying type parameters to the
DropDownChoice. This is because if I use the same IModel> for a ListView, then I get an error in the ListView's constructor.
Is there a good solution for both
The javadoc on isInfo() says "Gets whether the current level is INFO or up."
So, since the info level is above the error level, isInfo() returns true
for error messages.
So, since info is a less granular level than error, a feedback message using
error("foo") is at the error level and the info le
You can use PackageRequestTargetUrlCodingStrategy to mount an entire
package. E.g., if you have a package com.company.pages with classes Page1,
Page2, etc., you can mount the package
mount(new PackageRequestTargetUrlCodingStrategy("/pages",
PackageName.forClass(Page1.class))).
This will mount you
You can write a behaviour for it so it will be more reusable.
The following is based on
http://cwiki.apache.org/WICKET/request-focus-on-a-specific-form-component.html
and
works for both regular and ajax requests.
private final class MyLink extends AjaxFallbackLink
{
public void onClick
Check out AbstractLink#setBeforeDisabledLink()
and AbstractLink#setAfterDisabledLink(). I believe you can set the markup
you want to appear there. This defaults to . Or just go directly
to AbstractLink#disableLink() and get the behaviour you want there.
I think you can also do it application wid
If I'm correct, the modal window uses js to determine the resizing in px.
If you want it to resize in % of screen, you'd probably have to override
modal.js to determine the appropriate % to set the window width.
However, if you want the window to be some percentage wide, you don't really
want it r
Right, I guess it's not correct to say it's a just a Jetty thing. there's a
way to suppress jsessionid in tomcat as well, but I don't know how.
On Wed, Dec 17, 2008 at 2:42 PM, Adriano dos Santos Fernandes <
adrian...@uol.com.br> wrote:
> Matthew Hanlon wrot
This is a Jetty thing...
One way to fix it is to suppress the jsessionid in the url. Jetty allows
you to suppress the jsessionid in the url as a context parameters in the
web.xml or webdefault.xml. Note, if the user does not have cookies enabled
this will cause problems.
In your web.xml:
do, just commit it. If
> not, you could ask for it or create a patch on the JIRA:
> http://wicketstuff.org/jira/secure/BrowseProject.jspa?id=10020
>
> If you need help, let us know.
>
>
>
> On Tue, Dec 16, 2008 at 3:37 PM, Matthew Hanlon
> wrote:
>
> > I just rea
I just realized that gmail wasn't replying to the list. Sorry. For
posterity...
On Tue, Dec 16, 2008 at 3:34 PM, Matthew Hanlon wrote:
> Below is the updated CaseInsensitiveClassResolver I implemented per your
> suggestions. It uses MatchingResources from wicketstuff annotation.
I am looking for some feedback any may have on this:
Let's say I've mounted a package "com.company.package" using
PackageRequestTargetUrlCodingStrategy
on "/foo." So I have several pages, /foo/Bar, /foo/Baz, etc. Now, I want my
page mounts to be case-insensitive in the case that a user has caps loc
h.
>
> -igor
>
> On Fri, Nov 21, 2008 at 2:26 PM, Matthew Hanlon <[EMAIL PROTECTED]> wrote:
>> Greetings!
>> Is there any reason why FeedbackMessages#add(FeedbackMessage) is package
>> private? I'd like to be able to just stick a FeedbackMessage directly i
Greetings!
Is there any reason why FeedbackMessages#add(FeedbackMessage) is package
private? I'd like to be able to just stick a FeedbackMessage directly in my
Session rather than having to call add(Component, String, int), info(...),
error(...), warn(...), fatal(...) or debug(...).
Alternatively
uld be fixed in trunk.
> > Did the broken revision made it to 1.4m3?
> >
> > -Matej
> >
> > On Mon, Jul 14, 2008 at 7:31 PM, Matthew Hanlon <[EMAIL PROTECTED]>
> wrote:
> >> I just updated my 1.4 SNAPSHOT to revision 676639 and I've starte
I just updated my 1.4 SNAPSHOT to revision 676639 and I've started noticing
an error in ModalWindow when using ModalWindow.PageCreator. It looks like
the setPageCreator method is calling setContent(empty) after setting the
page creator, which in turn sets the page creator to null.
>From ModalWind
ree.
Thanks for the help!
Regards,
Matthew.
On Sat, Jun 28, 2008 at 1:52 AM, Nino Saturnino Martinez Vazquez Wael <
[EMAIL PROTECTED]> wrote:
> true, as you write it's actually the proxy that fuddles it up..
>
> Timo Rantalaiho wrote:
>
>> On Fri, 27 Jun 2008, Matthew
z Wael <
[EMAIL PROTECTED]> wrote:
> Which proxy are it? apache2 httpd?
>
> Matthew Hanlon wrote:
>
>> Hmm. I on further thought, "Referer" is not the proper header to use.
>> Something more like this instead:
>>
>> public String getUrl(MyR
StringBuffer url = new StringBuffer();
url.append("http://
").append(host).append(context).append("/").append(urn);
return url.toString();
}
On Fri, Jun 27, 2008 at 9:58 AM, Matthew Hanlon <[EMAIL PROTECTED]> wrote:
> I was having a problem
I was having a problem getting the full url of a page or resource after
deploying my application behind a proxy. I was previously doing the
following:
public String getUrl(MyResource res) {
PageParameters params = new PageParameters();
params.put(Constants.MY_RESOURCE, res.getId());
WebRequestCyc
Sorry, forgot to mention that I'm using wicket 1.4-SNAPSHOT, rev 667063.
On Thu, Jun 12, 2008 at 4:18 PM, Matthew Hanlon <[EMAIL PROTECTED]> wrote:
> I'm getting a WicketNotSerializableException on a couple of my pages. The
> field that seems to be not serializable appear
I'm getting a WicketNotSerializableException on a couple of my pages. The
field that seems to be not serializable appears to be a Wicket class,
org.apache.wicket.util.value.ValueMap$NullSafeKeyComparator. Any
suggestions? I saw a posting on the list earlier today that I though may
have something
ould see it work the way you want.
>
> ________
>
> From: Matthew Hanlon [mailto:[EMAIL PROTECTED]
> Sent: Tue 6/3/2008 6:18 PM
> To: users@wicket.apache.org
> Subject: Re: Wicket Session and non-Wicket Servlet
>
>
>
> >
> > Check o
>
> Check out the api for WicketSessionFilter, it will tell you how to make the
> session available for non wicket servlets.
>
>
> http://wicket.apache.org/docs/wicket-1.3.2/wicket/apidocs/org/apache/wicket/protocol/http/servlet/WicketSessionFilter.html
>
Yeah, that's how I had my filter and serv
25 matches
Mail list logo