wicket-mousetrap behavior

2012-11-26 Thread Andrew Lombardi
Would love to get any feedback on a new component I just built.  I came across 
an awesome JS library (http://craig.is/killing/mice) for adding key bindings to 
a webpage. 

I immediately thought it would be fun to add it to Mystic Paste 
(http://mysticpaste.com).  And it's now live after doing some work on how to 
make a behavior to cover most of my use cases.

Code available here: https://github.com/kinabalu/wicket-mousetrap

Suggestions on additions are welcome, and if you have ideas for other key 
bindings for the paste bin, I'd be open to those as well.  I've listed all the 
key commands I've added on a recent blog post: 
http://www.mysticcoders.com/blog/integrating-mousetrap-js-with-wicket/

Cheers and Thanks!


To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
ofc: 714-352-0298
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: @kinabalu
facebook: http://www.facebook.com/lombardi
fan mystic: http://www.facebook.com/mysticcoders
flickr: http://www.flickr.com/photos/kinabalu

Eco-Tip: Printing e-mails is usually a waste.



Apache Wicket developers needed

2011-07-18 Thread Andrew Lombardi
If you've been using Apache Wicket for a while, and know you're way around.  
We'd like to hear from you.

We have some contracting opportunities, please contact us by email (off list) 
for further details.



To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
ofc: 714-352-0298
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: @kinabalu
facebook: http://www.facebook.com/lombardi
fan mystic: http://www.facebook.com/mysticcoders
flickr: http://www.flickr.com/photos/kinabalu

Eco-Tip: Printing e-mails is usually a waste.



Review: Apache Wicket Cookbook

2011-07-09 Thread Andrew Lombardi
First off, hats off to Igor for a really awesome book.  Enjoyed reading the 
book immensely and if you're reading this right now, and you haven't bought it 
yet, go get it already!

You can check Mystic's site for our review, but support this awesome book for 
the community and get it today 
http://www.packtpub.com/apache-wicket-cookbook/book

Happy Saturday folks! :)


To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
ofc: 714-352-0298
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: @kinabalu
facebook: http://www.facebook.com/lombardi
fan mystic: http://www.facebook.com/mysticcoders
flickr: http://www.flickr.com/photos/kinabalu

Eco-Tip: Printing e-mails is usually a waste.



Problem with links on page if multiple mounts

2011-01-22 Thread Andrew Lombardi
Okay I mount the following patterns with wicket 1.5

1)mountPage("/view/${0}", ViewPublicPage.class);
2)mountPage("/view/${0}/${1}", ViewPublicPage.class);

{0} is for the paste ID
{1} is an (optional) parameter giving line numbers to highlight in the paste

With Wicket 1.4 this was mounted fine with both the {0} and {1} parameter using 
an IndexedParamUrlCodingStrategy.

With 1.5, if I only use the first mount, the "Report Abuse" link on the page 
works fine.  But if I use the second mount, I believe it thinks that the Page 
should be handling the request which looks like this:

/view/52/?0-1.ILinkListener-markAbuseLink

Which makes sense, as it does match ${0}/${1}

So, is there any way I can make this work?  Can I get Wicket to use a different 
path for these links?  Is there a better way to mount these pages that I'm not 
thinking about?

Thanks!


To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
ofc: 714-352-0298
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: @kinabalu
facebook: http://www.facebook.com/lombardi
fan mystic: http://www.facebook.com/mysticcoders
flickr: http://www.flickr.com/photos/kinabalu

Eco-Tip: Printing e-mails is usually a waste.

--
If this message wasn't addressed to you, don't use, disclose, distribute, print 
or copy any part of this message



Re: Added parameters on the end of requests with wicket 1.5

2011-01-22 Thread Andrew Lombardi
So my fun with getting /view/{paste-id}/text to be served by a Resource instead 
of intercepted and using the page as a switchboard is almost 100% happy now.  
In the WicketApplication I've done the following to ensure that the Resource is 
given a compatibilityScore which will rank it higher than the page if it has 
more segments (custom PriorityResourceMapper http://mysticpaste.com/view/4125)

So in the WicketApplication I have:

getRootRequestMapperAsCompound().add(new 
PriorityResourceMapper("/view/${0}/text", new PasteAsTextResource()));

And now /view/{paste-id} goes to the Page, and /view/{paste-id}/text goes to 
the Resource.  Happy day.

I have a link on the View Paste page which is supposed to link to the resource

I've tried multiple ways of doing this, but none of them look like the mounted 
URL - which is the point

My last attempt at using the ResourceReference was the following:

ResourceReference ref = 
Application.get().getResourceReferenceRegistry().getResourceReference(PasteAsTextResource.class,
 "pasteAsTextResource", Locale.ENGLISH, null, null, false, false);
return new ResourceLink(id, ref, params) {
@Override
protected boolean getStatelessHint() {
return true;
}
};

in WicketApplication NOTE: I've also registered the ResourceReference with the 
ResourceReferenceRegistry just like mountResource does.  But alas, the URL is 
still not like the mounted URL.

I've settled on for now the following:

return new ExternalLink(id, "/view/"+params.get("0")+"/text");


The other problem, is any links on the page, for instance, the Report Abuse 
link, don't respond to click events, like they're disabled?  the resulting HTML 
looks like this for a StatelessLink

Report Abuse


Code is all here: https://github.com/kinabalu/mysticpaste/



Thanks again to marting and ivaynberg for getting me this far :)

On Jan 20, 2011, at 2:13 PM, Igor Vaynberg wrote:

> you should use replacehandler() instead of scheduleaftercurrent, since
> current will render the page.
> 
> but to do it in 1.5 way you would mount a handler on
> /view/${pasteid}/download and one on /view/${pasteid}/text and
> implement streaming there instead of using the page as a switchboard.
> 
> -igor
> 
> On Thu, Jan 20, 2011 at 1:55 PM, Andrew Lombardi
>  wrote:
>> Url's look great now /view/[paste-id]
>> 
>> Next issue.  We have 2 links, one for Raw and the other for Download which 
>> suffix the URL with /text and /download respectively like so:
>> 
>> /view/[paste-id]/text
>> /view/[paste-id]/download
>> 
>> in 1.4 I redirected to the SharedResourceReference and all worked dandy.  
>> martin-g helped convert this to the 1.5 way, and the links don't seem to do 
>> anything anymore, and if you go to the URL directly, it tries to render the 
>> page instead of redirect to the resource straight away.  Here's the code at 
>> the top of the ctor:
>> 
>>if (params.get("1").toString().equals("text")) {
>>getRequestCycle().scheduleRequestHandlerAfterCurrent(new 
>> ResourceReferenceRequestHandler(new 
>> SharedResourceReference("textPasteResource")));
>>return;
>>} else if (params.get("1").toString().equals("download")) {
>>getRequestCycle().scheduleRequestHandlerAfterCurrent(new 
>> ResourceReferenceRequestHandler(new 
>> SharedResourceReference("downloadAsTextPasteResource")));
>>    return;
>>}
>> 
>> I understand why Wicket is trying to render the page since I'm effectively 
>> redirecting there, even if in 1.4 it worked.
>> 
>> Is there a way to register a handler for URL's that suffix /text and 
>> /download to be served by the resources directly?
>> 
>> On Jan 20, 2011, at 1:19 PM, Andrew Lombardi wrote:
>> 
>>> Okay, got it.  I'll dump the ajax on that page, and convert it over.  
>>> Thanks!
>>> 
>>> On Jan 20, 2011, at 1:00 PM, Igor Vaynberg wrote:
>>> 
>>>> the onclick of the stateless link can redirect back to the
>>>> bookmarkable version, which will clean up the url
>>>> 
>>>> -igor
>>>> 
>>>> On Thu, Jan 20, 2011 at 12:22 PM, Martin Grigorov  
>>>> wrote:
>>>>> On Thu, Jan 20, 2011 at 6:32 PM, Andrew Lombardi 
>>>>> wrote:
>>>>> 
>>>>>> I've been converting mysticpaste.com to using Wicket 1.5 with the help of
>>>>>> Martin Gri

Re: Added parameters on the end of requests with wicket 1.5

2011-01-20 Thread Andrew Lombardi
Url's look great now /view/[paste-id]

Next issue.  We have 2 links, one for Raw and the other for Download which 
suffix the URL with /text and /download respectively like so:

/view/[paste-id]/text
/view/[paste-id]/download

in 1.4 I redirected to the SharedResourceReference and all worked dandy.  
martin-g helped convert this to the 1.5 way, and the links don't seem to do 
anything anymore, and if you go to the URL directly, it tries to render the 
page instead of redirect to the resource straight away.  Here's the code at the 
top of the ctor:

if (params.get("1").toString().equals("text")) {
getRequestCycle().scheduleRequestHandlerAfterCurrent(new 
ResourceReferenceRequestHandler(new 
SharedResourceReference("textPasteResource")));
return;
} else if (params.get("1").toString().equals("download")) {
getRequestCycle().scheduleRequestHandlerAfterCurrent(new 
ResourceReferenceRequestHandler(new 
SharedResourceReference("downloadAsTextPasteResource")));
return;
}

I understand why Wicket is trying to render the page since I'm effectively 
redirecting there, even if in 1.4 it worked.

Is there a way to register a handler for URL's that suffix /text and /download 
to be served by the resources directly?  

On Jan 20, 2011, at 1:19 PM, Andrew Lombardi wrote:

> Okay, got it.  I'll dump the ajax on that page, and convert it over.  Thanks!
> 
> On Jan 20, 2011, at 1:00 PM, Igor Vaynberg wrote:
> 
>> the onclick of the stateless link can redirect back to the
>> bookmarkable version, which will clean up the url
>> 
>> -igor
>> 
>> On Thu, Jan 20, 2011 at 12:22 PM, Martin Grigorov  
>> wrote:
>>> On Thu, Jan 20, 2011 at 6:32 PM, Andrew Lombardi 
>>> wrote:
>>> 
>>>> I've been converting mysticpaste.com to using Wicket 1.5 with the help of
>>>> Martin Grigorov :) - the source is available here -
>>>> https://github.com/kinabalu/mysticpaste
>>>> 
>>>> 99% of the way there, and the only remaining issue is that when you paste a
>>>> URL with previous versions of Wicket, I properly get  /view/[paste-id] and
>>>> that's it
>>>> 
>>>> With Wicket 1.5 however, it's appending the pagemap number?  So I get
>>>> instead /view/[paste-id]?1  -- the page is not stateless, has some ajax
>>>> components on it.  But it is important that the URL the users get is just
>>>> /view/[paste-id]
>>>> 
>>>> Here's how I move the user to the view page right now:
>>>> 
>>>>params.add("0", Long.toString(pasteItem.getId()));
>>>>setResponsePage(ViewPublicPage.class, params);
>>>> 
>>>> And here's the mount in Application:
>>>> 
>>>>mountPage("/view/${0}/${1}", ViewPublicPage.class);
>>>> 
>>>> 
>>>> the ${1} here is for highlighting specific lines
>>>> 
>>>> Thanks!
>>>> 
>>>> A brief conversation in IRC:
>>> 
>>> (09:05:43 PM) ivaynberg: no way to get rid of ?1 for now
>>> (09:05:49 PM) ivaynberg: thats the page id i think
>>> (09:06:04 PM) martin-g: it is
>>> (09:06:07 PM) ivaynberg: urls work like hybrid ones in 1.4
>>> (09:06:19 PM) ivaynberg: its not pretty, but its safe to paste around
>>> (09:06:46 PM) ivaynberg: we do that so ajax works properly
>>> (09:06:53 PM) ivaynberg: (doesnt lose state when user presses refresh)
>>> 
>>> To have the "clean" URL your page has to be stateless.
>>> In ViewPastePage you have two stateful components: Form and AjaxLink
>>> Replacing them with their stateless versions: StatessForm and StatelessLink
>>> leads to the following link when the user clicks "Mark as Spam" link:
>>> http://localhost:18081/view/4/?0-1.ILinkListener-markAbuseLink
>>> 
>>> Choose which one you like better ;-)
>>> 
>>> 
>>>> To our success!
>>>> 
>>>> Mystic Coders, LLC | Code Magic | www.mysticcoders.com
>>>> 
>>>> ANDREW LOMBARDI | and...@mysticcoders.com
>>>> ofc: 714-352-0298
>>>> fax: 714-782-6024
>>>> cell: 714-697-8046
>>>> linked-in: http://www.linkedin.com/in/andrewlombardi
>>>> twitter: @kinabalu
>>>> facebook: http://www.facebook.com/lombardi
>>>> fan mystic: http://www.facebook.com/mysticcoders
>>>> 

Re: Added parameters on the end of requests with wicket 1.5

2011-01-20 Thread Andrew Lombardi
Okay, got it.  I'll dump the ajax on that page, and convert it over.  Thanks!

On Jan 20, 2011, at 1:00 PM, Igor Vaynberg wrote:

> the onclick of the stateless link can redirect back to the
> bookmarkable version, which will clean up the url
> 
> -igor
> 
> On Thu, Jan 20, 2011 at 12:22 PM, Martin Grigorov  
> wrote:
>> On Thu, Jan 20, 2011 at 6:32 PM, Andrew Lombardi 
>> wrote:
>> 
>>> I've been converting mysticpaste.com to using Wicket 1.5 with the help of
>>> Martin Grigorov :) - the source is available here -
>>> https://github.com/kinabalu/mysticpaste
>>> 
>>> 99% of the way there, and the only remaining issue is that when you paste a
>>> URL with previous versions of Wicket, I properly get  /view/[paste-id] and
>>> that's it
>>> 
>>> With Wicket 1.5 however, it's appending the pagemap number?  So I get
>>> instead /view/[paste-id]?1  -- the page is not stateless, has some ajax
>>> components on it.  But it is important that the URL the users get is just
>>> /view/[paste-id]
>>> 
>>> Here's how I move the user to the view page right now:
>>> 
>>>params.add("0", Long.toString(pasteItem.getId()));
>>>setResponsePage(ViewPublicPage.class, params);
>>> 
>>> And here's the mount in Application:
>>> 
>>>mountPage("/view/${0}/${1}", ViewPublicPage.class);
>>> 
>>> 
>>> the ${1} here is for highlighting specific lines
>>> 
>>> Thanks!
>>> 
>>> A brief conversation in IRC:
>> 
>> (09:05:43 PM) ivaynberg: no way to get rid of ?1 for now
>> (09:05:49 PM) ivaynberg: thats the page id i think
>> (09:06:04 PM) martin-g: it is
>> (09:06:07 PM) ivaynberg: urls work like hybrid ones in 1.4
>> (09:06:19 PM) ivaynberg: its not pretty, but its safe to paste around
>> (09:06:46 PM) ivaynberg: we do that so ajax works properly
>> (09:06:53 PM) ivaynberg: (doesnt lose state when user presses refresh)
>> 
>> To have the "clean" URL your page has to be stateless.
>> In ViewPastePage you have two stateful components: Form and AjaxLink
>> Replacing them with their stateless versions: StatessForm and StatelessLink
>> leads to the following link when the user clicks "Mark as Spam" link:
>> http://localhost:18081/view/4/?0-1.ILinkListener-markAbuseLink
>> 
>> Choose which one you like better ;-)
>> 
>> 
>>> To our success!
>>> 
>>> Mystic Coders, LLC | Code Magic | www.mysticcoders.com
>>> 
>>> ANDREW LOMBARDI | and...@mysticcoders.com
>>> ofc: 714-352-0298
>>> fax: 714-782-6024
>>> cell: 714-697-8046
>>> linked-in: http://www.linkedin.com/in/andrewlombardi
>>> twitter: @kinabalu
>>> facebook: http://www.facebook.com/lombardi
>>> fan mystic: http://www.facebook.com/mysticcoders
>>> flickr: http://www.flickr.com/photos/kinabalu
>>> 
>>> Eco-Tip: Printing e-mails is usually a waste.
>>> 
>>> --
>>> If this message wasn't addressed to you, don't use, disclose, distribute,
>>> print or copy any part of this message
>>> 
>>> 
>> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 


To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
ofc: 714-352-0298
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: @kinabalu
facebook: http://www.facebook.com/lombardi
fan mystic: http://www.facebook.com/mysticcoders
flickr: http://www.flickr.com/photos/kinabalu

Eco-Tip: Printing e-mails is usually a waste.

--
If this message wasn't addressed to you, don't use, disclose, distribute, print 
or copy any part of this message



Added parameters on the end of requests with wicket 1.5

2011-01-20 Thread Andrew Lombardi
I've been converting mysticpaste.com to using Wicket 1.5 with the help of 
Martin Grigorov :) - the source is available here - 
https://github.com/kinabalu/mysticpaste

99% of the way there, and the only remaining issue is that when you paste a URL 
with previous versions of Wicket, I properly get  /view/[paste-id] and that's it

With Wicket 1.5 however, it's appending the pagemap number?  So I get instead 
/view/[paste-id]?1  -- the page is not stateless, has some ajax components on 
it.  But it is important that the URL the users get is just /view/[paste-id]

Here's how I move the user to the view page right now:

params.add("0", Long.toString(pasteItem.getId()));
setResponsePage(ViewPublicPage.class, params);

And here's the mount in Application:

mountPage("/view/${0}/${1}", ViewPublicPage.class);


the ${1} here is for highlighting specific lines

Thanks!


To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
ofc: 714-352-0298
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: @kinabalu
facebook: http://www.facebook.com/lombardi
fan mystic: http://www.facebook.com/mysticcoders
flickr: http://www.flickr.com/photos/kinabalu

Eco-Tip: Printing e-mails is usually a waste.

--
If this message wasn't addressed to you, don't use, disclose, distribute, print 
or copy any part of this message



Re: how can i add my site developed in wicket + GAE to "Websites based on Wicket"?

2010-05-15 Thread Andrew Lombardi
It's a wiki...

P.S. there's a login, and an edit button after you login

On May 15, 2010, at 1:42 AM, nicolas melendez wrote:

> How can i add my site developed in wicket + GAE to "Websites based on
> Wicket" in the wiki?
> NM



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Warning on the spammer sewage sludge

2010-03-16 Thread Andrew Lombardi
Apparently some spammers have taken some messages from the Wicket mailing list, 
and using it as seed data in their efforts to trick spam filters into passing 
the message through.

Since I have a phone number in my email signature, i've gotten a few 
not-so-nice texts / voicemails until I explain to them what has happened.

So, beware what you send to this list that has any contact info on it.
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket 1.4.7 released

2010-03-04 Thread Andrew Lombardi
Congratulations!

On Mar 4, 2010, at 6:35 PM, Igor Vaynberg wrote:

> Wicket 1.4.7 is released!
> 
> This is the seventh maintenance release of 1.4.x series and brings over
> 30 bug fixes and improvements.
> 
> tag: https://svn.apache.org/repos/asf/wicket/releases/wicket-1.4.7/
> 
> maven:
> 
> 
> org.apache.wicket
> wicket
> 1.4.7
> 
> 
> download: http://www.apache.org/dyn/closer.cgi/wicket/1.4.7
> 
> changelog:https://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=true&pid=12310561&fixfor=12314560
> 
> cheers,
> 
> -igor
> 
> PS. the website has been updated with the release announcement but is
> still waiting to be replicated.


To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 714-816-4488
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: http://www.twitter.com/kinabalu

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not, directly or 
indirectly, use,
 disclose, distribute, print, or copy any part of this message if you are not 
the intended recipient.




Re: Make Wicket component ID HTML element ID?

2010-02-28 Thread Andrew Lombardi
you would have to explicitly call .setMarkupId on each component.

If you wanted to automate, you could probably do something like  
c.setMarkupId(c.getId()) in your visitor.

On Feb 28, 2010, at 7:52 PM, David Chang wrote:

> Thanks for the tip. I added this approach to the top page. Here is my 
> implemenetation:
> 
> visitChildren(new IVisitor() {
>   @Override
>   public Object component(Component c) {
>   c.setOutputMarkupId(true);
>   return Component.IVisitor.CONTINUE_TRAVERSAL;
>   }
> });
> 
> Is this the right way to implement?
> 
> I notice one thing that is not what I want: instead of generating wanted HTML 
> element ID such as "signInOut" or "feedback", Wicket added one number or 
> letter to wicket ID as HTML element ID (for example: signInOut4, feedbackb).
> 
> How can I overcome this?
> 
> Regards.
> 
> 
> 
> --- On Sun, 2/28/10, Andrew Lombardi  wrote:
> 
>> From: Andrew Lombardi 
>> Subject: Re: Make Wicket component ID HTML element ID?
>> To: users@wicket.apache.org
>> Date: Sunday, February 28, 2010, 6:41 PM
>> Use a Component.IVisitor and you can
>> setOutputMarkupId on every child component
>> 
>> On Feb 28, 2010, at 2:47 PM, David Chang wrote:
>> 
>>> Thanks for the info. But this method is only
>> component-level. How can I make all Wicket components do
>> this without repeating setOutputMarkupId(true) for each
>> component?
>>> 
>>> Regards.
>>> 
>>> --- On Sun, 2/28/10, Jeremy Thomerson 
>> wrote:
>>> 
>>>> From: Jeremy Thomerson 
>>>> Subject: RE: Make Wicket component ID HTML element
>> ID?
>>>> To: users@wicket.apache.org
>>>> Date: Sunday, February 28, 2010, 5:15 PM
>>>> setOutputMarkupId(true)
>>>> 
>>>> 
>>>> Jeremy Thomerson
>>>> http://www.wickettraining.com
>>>> -- sent from a wireless device
>>>> 
>>>> 
>>>> -Original Message-
>>>> From: David Chang 
>>>> Sent: Sunday, February 28, 2010 4:02 PM
>>>> To: users@wicket.apache.org
>>>> Subject: Make Wicket component ID HTML element
>> ID?
>>>> 
>>>> I have many Wicket components that are unique on
>> pages. I
>>>> would like to make their wicket ID HTML element ID
>> instead
>>>> of typing HTML id attribute. How can I do this?
>>>> 
>>>> Thanks!
>>>> 
>>>> 
>>>>
>>>> 
>>>> 
>> -
>>>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>>> 
>>>> 
>>>> 
>>>> 
>> -
>>>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>>> 
>>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>> -
>>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>> 
>> 
>> 
>> To our success!
>> 
>> Mystic Coders, LLC | Code Magic | www.mysticcoders.com
>> 
>> ANDREW LOMBARDI | and...@mysticcoders.com
>> 2321 E 4th St. Ste C-128, Santa Ana CA 92705
>> ofc: 714-816-4488
>> fax: 714-782-6024
>> cell: 714-697-8046
>> linked-in: http://www.linkedin.com/in/andrewlombardi
>> twitter: http://www.twitter.com/kinabalu
>> 
>> Eco-Tip: Printing e-mails is usually a waste.
>> 
>> 
>> This message is for the named person's use only. You must
>> not, directly or indirectly, use,
>> disclose, distribute, print, or copy any part of this
>> message if you are not the intended recipient.
>> 
>> 
>> 
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 


To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 714-816-4488
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: http://www.twitter.com/kinabalu

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not, directly or 
indirectly, use,
 disclose, distribute, print, or copy any part of this message if you are not 
the intended recipient.




Re: Make Wicket component ID HTML element ID?

2010-02-28 Thread Andrew Lombardi
Use a Component.IVisitor and you can setOutputMarkupId on every child component

On Feb 28, 2010, at 2:47 PM, David Chang wrote:

> Thanks for the info. But this method is only component-level. How can I make 
> all Wicket components do this without repeating setOutputMarkupId(true) for 
> each component?
> 
> Regards.
> 
> --- On Sun, 2/28/10, Jeremy Thomerson  wrote:
> 
>> From: Jeremy Thomerson 
>> Subject: RE: Make Wicket component ID HTML element ID?
>> To: users@wicket.apache.org
>> Date: Sunday, February 28, 2010, 5:15 PM
>> setOutputMarkupId(true)
>> 
>> 
>> Jeremy Thomerson
>> http://www.wickettraining.com
>> -- sent from a wireless device
>> 
>> 
>> -Original Message-
>> From: David Chang 
>> Sent: Sunday, February 28, 2010 4:02 PM
>> To: users@wicket.apache.org
>> Subject: Make Wicket component ID HTML element ID?
>> 
>> I have many Wicket components that are unique on pages. I
>> would like to make their wicket ID HTML element ID instead
>> of typing HTML id attribute. How can I do this?
>> 
>> Thanks!
>> 
>> 
>>   
>> 
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>> 
>> 
>> 
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>> 
>> 
> 
> 
> 
> 
> ---------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 


To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 714-816-4488
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: http://www.twitter.com/kinabalu

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not, directly or 
indirectly, use,
 disclose, distribute, print, or copy any part of this message if you are not 
the intended recipient.




Re: autolink not work ?

2010-02-26 Thread Andrew Lombardi
Index1 and Index2 are generated as italics because you are on the same page.  
If you use autolink and you're on the same page, they show up as italics

Index3 doesn't work because you've got a slash preceding the package name.  And 
linkownia isn't one of the packages defined in your root, so Wicket can't find 
it, thus it passes through and just gives you the exact items inside the href 
rather than converting to the Wicket equivalent.

On Feb 26, 2010, at 12:42 AM, marioosh.net wrote:

> I have packages:
> 
> net.marioosh.wicket.learn1.lesson4
> net.marioosh.wicket.learn1.linkownia
> 
> and webpage: Index.html in linkownia package:
> 
>>Lesson4
>   Index1
>   Index2
>   Index3
> 
> Lesson4 link works, but Index1, Index2, Index3 links doesn't.
> Index1 and Index2 is generated as italics, and Index3 is generated as
> link but get Error404 (http://localhost:8080/linkownia/Index.html)
> 
> How to correct this ?
> 
> -- 
> Greetings,
> marioosh
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 


To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 714-816-4488
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: http://www.twitter.com/kinabalu

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not, directly or 
indirectly, use,
 disclose, distribute, print, or copy any part of this message if you are not 
the intended recipient.




Re: WicketStuff Core examples on GAE?

2010-02-24 Thread Andrew Lombardi
or this

http://wicketbyexample.com/examples

*sorry couldn't resist :P

On Feb 24, 2010, at 8:07 AM, Igor Vaynberg wrote:

> whats wrong with this?
> 
> http://wicketstuff.org/wicket14
> 
> -igor
> 
> On Wed, Feb 24, 2010 at 6:53 AM, nino martinez wael
>  wrote:
>> Hi Guys
>> 
>> All this GAE talk has made me wonder if we should put wicket stuff core
>> examples on GAE?
>> 
>> wdyt? Would be nice to see live demos of it..
>> 
>> regards Nino
>> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 


To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 714-816-4488
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: http://www.twitter.com/kinabalu

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not, directly or 
indirectly, use,
 disclose, distribute, print, or copy any part of this message if you are not 
the intended recipient.




Re: (Form) Use two TextFields for one object property?

2010-02-18 Thread Andrew Lombardi
class MyForm extends Form {
  private int hour;
  private int second;

  public Form {
add(new TextField("hour", new PropertyModel(MyForm.class, "hour")));
add(new TextField("second", new PropertyModel(MyForm.class, "second")));
  }

  public void onSubmit() {
if(!validTime(hour, second)) error("uhh ... hello?");

// do more stuff
  }

On Feb 18, 2010, at 2:02 PM, srm wrote:

> 
> Am 18.02.2010 um 22:56 schrieb Andrew Lombardi:
> 
>> It depends what your domain object looks like, if it's just a simple string 
>> you'll have to save the results of those two textfield's in their own model, 
>> and then merge them in the onSubmit method.
>> 
> 
> It's a int property. I was thinking about using the onSubmit method but
> how will this interfere with the PropertyModel setting the value according to
> TextField's value? Does this happen before onSubmit or after onSubmit?
> 
> If that happens before, I surely can overwrite the DO's property (set via the
> PropertyModel) in the onSubmit().
> 
> Regards,
> Stephan
> 
>> On Feb 18, 2010, at 1:41 PM, srm wrote:
>> 
>>> Hi List,
>>> 
>>> the following may looked flawed, so I'm happy to hear your suggestions: I 
>>> have a RegisterNewItem Form where a user can add new Items to a 
>>> shop/database. I have items of type CD (audiocd) with an attribute 
>>> PlayTime. I store this value as seconds and calculate the minutes to 
>>> display at runtime. For adding a new CD, I thought that it would be 
>>> inconvenient to have the user entering either seconds only, or how to agree 
>>> on a format like Min:Sec OR Min.Sec etc. My idea now is to provide two 
>>> textFields, one for the minutes and one for the additional seconds. Now I 
>>> have no idea how to properly use the model of the textfields and the 
>>> item-object, to calculate the seconds from both fields at submit time. Any 
>>> help appreciated.
>>> 
>>> Please see the code from the Panel below (currently without a textfield for 
>>> the playtime).
>>> 
>>> Regards,
>>> Stephan
>>> 
>>> 
>>> public class AddCDPanel extends AddItemPanel {
>>> 
>>> 
>>> /**
>>>  * auto-generated UID
>>>  */
>>> private static final long serialVersionUID = 5390579612171776545L;
>>> 
>>> public AddCDPanel(String id) {
>>> super(id, new CD());
>>> 
>>> TextField labelTextField = new TextField("label", new 
>>> PropertyModel(itemToInsert,"label"));
>>> FeedbackLabel labelFeedback = new 
>>> FeedbackLabel("label.feedback", labelTextField);
>>> addItemForm.add(labelTextField.setRequired(true));
>>> addItemForm.add(labelFeedback);
>>> 
>>> TextField artistTextField = new TextField("artist", new 
>>> PropertyModel(itemToInsert,"artist"));
>>> FeedbackLabel artistFeedback = new 
>>> FeedbackLabel("artist.feedback", artistTextField);
>>> addItemForm.add(artistTextField.setRequired(true));
>>> addItemForm.add(artistFeedback);
>>> 
>>> }
>>> }
>>> 
>>> 
>>> -
>>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>> 
>> 
>> 
>> To our success!
>> 
>> Mystic Coders, LLC | Code Magic | www.mysticcoders.com
>> 
>> ANDREW LOMBARDI | and...@mysticcoders.com
>> 2321 E 4th St. Ste C-128, Santa Ana CA 92705
>> ofc: 714-816-4488
>> fax: 714-782-6024
>> cell: 714-697-8046
>> linked-in: http://www.linkedin.com/in/andrewlombardi
>> twitter: http://www.twitter.com/kinabalu
>> 
>> Eco-Tip: Printing e-mails is usually a waste.
>> 
>> 
>> This message is for the named person's use only. You must not, directly or 
>> indirectly, use,
>> disclose, distribute, print, or copy any part of this message if you are not 
>> the intended recipient.
>> 
>> 
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 


To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 714-816-4488
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: http://www.twitter.com/kinabalu

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not, directly or 
indirectly, use,
 disclose, distribute, print, or copy any part of this message if you are not 
the intended recipient.




Re: (Form) Use two TextFields for one object property?

2010-02-18 Thread Andrew Lombardi
It depends what your domain object looks like, if it's just a simple string 
you'll have to save the results of those two textfield's in their own model, 
and then merge them in the onSubmit method.

On Feb 18, 2010, at 1:41 PM, srm wrote:

> Hi List,
> 
> the following may looked flawed, so I'm happy to hear your suggestions: I 
> have a RegisterNewItem Form where a user can add new Items to a 
> shop/database. I have items of type CD (audiocd) with an attribute PlayTime. 
> I store this value as seconds and calculate the minutes to display at 
> runtime. For adding a new CD, I thought that it would be inconvenient to have 
> the user entering either seconds only, or how to agree on a format like 
> Min:Sec OR Min.Sec etc. My idea now is to provide two textFields, one for the 
> minutes and one for the additional seconds. Now I have no idea how to 
> properly use the model of the textfields and the item-object, to calculate 
> the seconds from both fields at submit time. Any help appreciated.
> 
> Please see the code from the Panel below (currently without a textfield for 
> the playtime).
> 
> Regards,
> Stephan
> 
> 
> public class AddCDPanel extends AddItemPanel {
>   
>   
>   /**
>* auto-generated UID
>*/
>   private static final long serialVersionUID = 5390579612171776545L;
> 
>   public AddCDPanel(String id) {
>   super(id, new CD());
> 
>   TextField labelTextField = new TextField("label", new 
> PropertyModel(itemToInsert,"label"));
>   FeedbackLabel labelFeedback = new 
> FeedbackLabel("label.feedback", labelTextField);
>   addItemForm.add(labelTextField.setRequired(true));
>   addItemForm.add(labelFeedback);
>   
>   TextField artistTextField = new TextField("artist", new 
> PropertyModel(itemToInsert,"artist"));
>   FeedbackLabel artistFeedback = new 
> FeedbackLabel("artist.feedback", artistTextField);
>   addItemForm.add(artistTextField.setRequired(true));
>   addItemForm.add(artistFeedback);
>   
>   }
> }
> 
> 
> -----
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 


To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 714-816-4488
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: http://www.twitter.com/kinabalu

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not, directly or 
indirectly, use,
 disclose, distribute, print, or copy any part of this message if you are not 
the intended recipient.




Re: wicket app over https but renders some images as http

2010-02-10 Thread Andrew Lombardi
what's the code you're using to render the link for the iframe in wicket?  have 
you pasted that yet?

On Feb 10, 2010, at 8:32 PM, Steve Swinsburg wrote:

> Ok I did that, the Wicket app comes up as as HTTP, however if I do the same 
> thing to any that renders in the same style of iframe, it's HTTPS. these 
> tools are other display technologies, like JSF, Velocity, etc.
> 
> Here's the first Wicket app:
> http://server.edu.au/portal/tool/138a11eb-bcee-4b13-b6c5-d7bf206980ea/?panel=Main
> 
> Here's a Velocity app in in the same page:
> https://server.edu.au/portal/tool/f85ba967-614f-4d5d-81cc-1d931f660b93?panel=Main
> 
> The URL of the entire site is:
> https://server.edu.au/portal/site/test123/page/3881df23-3931-4928-9d36-702629927ba0
> 
> I have another Wicket app that another developer wrote, same thing, HTTP 
> only. So it's only Wicket tools that are doing this.
> 
> thanks,
> Steve
> 
> 
> 
> On 11/02/2010, at 3:22 PM, Jeremy Thomerson wrote:
> 
>> What I've suspected all along is that your main page MAY be loaded https,
>> but that your iframe src is actually ending up http.
>> 
>> do this (in firefox): pull up the app in https, right click in the iframe,
>> click "this frame", click "show only this frame".  is the url that appears
>> with the iframe content https?
>> 
>> --
>> Jeremy Thomerson
>> http://www.wickettraining.com
>> 
>> 
>> 
>> On Wed, Feb 10, 2010 at 9:57 PM, Steve Swinsburg
>> wrote:
>> 
>>> Exactly. So why are they coming up as HTTP when both the URL and iframe src
>>> are both HTTPS. All resources that Wicket sends from this application are
>>> coming up as HTTP. So I am thinking it still thinks its on HTTP, not HTTPS.
>>> 
>>> I'll add some logging to the Application init() to figure out if Wicket
>>> thinks its on HTTP or HTTPS.
>>> 
>>> Could be the iframe?
>>> 
>>> thanks,
>>> Steve
>>> 
>>> 
>>> On 11/02/2010, at 2:48 PM, Igor Vaynberg wrote:
>>> 
>>>> your paste does not contain any absolute urls, only relative ones...
>>>> 
>>>> -igor
>>>> 
>>>> On Wed, Feb 10, 2010 at 7:15 PM, Steve Swinsburg
>>>>  wrote:
>>>>> Yes, the app is rendered in an iframe as my app is deployed into a
>>> portal
>>>>> container. I pasted that HTML from the iframe source, but here is the
>>> whole
>>>>> lot:
>>>>> http://pastie.org/819416
>>>>> Line 21 has the import for the css.
>>>>> Line 55 is a ContextImage
>>>>> The iframe source
>>>>> is: src="
>>> https://myserver.edu.au/portal/tool/138a11eb-bcee-4b13-b6c5-d7bf206980ea?panel=Main
>>> "
>>>>> and that renders the tool.
>>>>> Using the padlock in the bottom right of Firefox, and analysing the
>>> Media,
>>>>> gives all images that are loaded on the page, and all of those that come
>>>>> from this app are http only, the rest that come from the portal
>>> container
>>>>> are https as normal. Changing the address to http and refreshing makes
>>> the
>>>>> portal container urls change to http as expected.
>>>>> 
>>>>> thanks,
>>>>> Steve
>>>>> 
>>>>> On 11/02/2010, at 1:45 PM, Jeremy Thomerson wrote:
>>>>> 
>>>>> Well, can you paste the actual html that is generated that links to your
>>>>> stylesheet on the https page?  Because what you pasted earlier was a
>>>>> relative URL, which would mean that the browser would make it https as
>>>>> well.  So, they're some piece of the puzzle we haven't received yet.
>>>>> Perhaps you could browse to the https page, view source, copy the whole
>>>>> source into pastebin and send it?
>>>>> 
>>>>> Are you using iframes or anything?
>>>>> 
>>>>> --
>>>>> Jeremy Thomerson
>>>>> http://www.wickettraining.com
>>>>> 
>>>>> 
>>>>> 
>>>>> On Wed, Feb 10, 2010 at 8:29 PM, Steve Swinsburg
>>>>> wrote:
>>>>> 
>>>>> Edit: ... thats how I can confirm it was broken, because when I change
>>> it
>>>>> 
>>>>> to http it works.
>>>>> 
>>>>> 
>>>>> 

Re: wicket app over https but renders some images as http

2010-02-10 Thread Andrew Lombardi
and the URL for your page in the Location bar *is* https?

On Feb 10, 2010, at 5:55 PM, Steve Swinsburg wrote:

> What I meant to say was that the ContextImage and CSS looks fine, however the 
> actual URLs it renders are all HTTP, not HTTPS when they should be. The first 
> resource link is clearly broken.
> 
> cheers,
> Steve
> 
> 
> 
> On 11/02/2010, at 12:13 PM, Steve Swinsburg wrote:
> 
>> Hi Jeremy,
>> 
>> For resources its rendered as
>> http://myserver/webapp/context/resources/org.apache.wicket.ajax.AbstractDefaultBehaviour/indicator.gif
>> 
>> For a ContextImage its:
>> 
>> 
>> For the CSS include its:
>> 
>> 
>> It all looks fine except the styles.css that has the classes are sending the 
>> images over HTTP, and they declare like:
>> 
>> 
>> 
>>>> .someClass {
>>>> 
>>>> background-image: url(/library/image/silk/icon.png);
>>>> 
>>>> }
>> 
>> 
>> 
>> 
>> cheers,
>> Steve
>> 
>> 
>> 
>> 
>> 
>> On 11/02/2010, at 11:53 AM, Jeremy Thomerson wrote:
>> 
>>> What URL does Wicket generate in your HTML?
>>> 
>>> --
>>> Jeremy Thomerson
>>> http://www.wickettraining.com
>>> 
>>> 
>>> 
>>> On Wed, Feb 10, 2010 at 6:46 PM, Steve Swinsburg
>>> wrote:
>>> 
>>>> Note that this also happens for resources that Wicket serves, eg:
>>>> 
>>>> resources/org.apache.wicket.ajax.AbstractDefaultBehaviour/indicator.gif
>>>> 
>>>> and ContextImages.
>>>> 
>>>> Can I detect HTTPS and force Wicket to serve content over HTTPS?
>>>> 
>>>> thanks,
>>>> Steve
>>>> 
>>>> 
>>>> On 11/02/2010, at 11:14 AM, Steve Swinsburg wrote:
>>>> 
>>>> The request for the CSS is a renderCssReference call:
>>>> 
>>>> response.renderCSSReference("css/styles.css");
>>>> 
>>>> So it should be relative to what ever protocol is being used?
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> On 11/02/2010, at 10:58 AM, jason lea wrote:
>>>> 
>>>> The background image url is relative to the css file.  Is the request for
>>>> the css file https?
>>>> 
>>>> On Thu, Feb 11, 2010 at 12:35 PM, Steve Swinsburg <
>>>> steve.swinsb...@gmail.com
>>>> 
>>>> wrote:
>>>> 
>>>> 
>>>> Hi all,
>>>> 
>>>> 
>>>> I have a Wicket application that is running over HTTPS but is rendering
>>>> 
>>>> some images (like background images from css) over HTTP only. This causes
>>>> 
>>>> the 'This page contains unsecure items' type warning and inspecting the
>>>> Page
>>>> 
>>>> Info from Firefox shows they are indeed being served over HTTP only.
>>>> 
>>>> 
>>>> Luckily I can switch this particular site to be just HTTP and as soon as I
>>>> 
>>>> do that, the issues go away (obviously since its all just HTTP now).
>>>> However
>>>> 
>>>> I cannot just run the entire app over HTTPS only, as this application is
>>>> 
>>>> deployed in many different contexts by many different institutions and they
>>>> 
>>>> may be running it over HTTP only.
>>>> 
>>>> 
>>>> So can I force Wicket to render everything via HTTPS if its running over
>>>> 
>>>> HTTPS and just normal HTTP if its running as such?
>>>> 
>>>> 
>>>> Note that I have things like:
>>>> 
>>>> 
>>>> .someClass {
>>>> 
>>>> background-image: url(/library/image/silk/icon.png);
>>>> 
>>>> }
>>>> 
>>>> 
>>>> so I can't just prefix all URL links since most of them come from the CSS.
>>>> 
>>>> 
>>>> thanks,
>>>> 
>>>> Steve
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> --
>>>> Jason Lea
>>>> 
>>>> 
>>>> 
>>>> 
>> 
> 


To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 714-816-4488
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: http://www.twitter.com/kinabalu

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not, directly or 
indirectly, use,
 disclose, distribute, print, or copy any part of this message if you are not 
the intended recipient.




Re: FileUploadField selection event

2010-02-10 Thread Andrew Lombardi
I do believe in the latest versions of wicket 1.4 Ajax and  
fileuploadfield works via a hidden iframe


Sent from my iPhone

On Feb 10, 2010, at 12:01 AM, dpmihai  wrote:



Thanks for this tip.

I wonder if there is a possibility to create a behavior and add this  
to it.

I know that FileUploadField does not work with Ajax , so writing  an
AjaxFormComponentUpdatingBehavior does not work.
Does anyone know a solution to this?


ananthakumaran wrote:







On Tue, Feb 9, 2010 at 3:22 AM, dpmihai  wrote:



What I really want is that after file selection automatically set  
the

text
of
another TextField (inside my form) with a string derived from  
selected

file
name.





--- 
--

To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




--
View this message in context:
http://old.nabble.com/FileUploadField-selection-event-tp27512780p27513776.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...@wicket.apache.org





--

Anantha Kumaran




--
View this message in context: 
http://old.nabble.com/FileUploadField-selection-event-tp27512780p27527078.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...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Loading properties file while using Spring @L

2010-02-08 Thread Andrew Lombardi
the annotation-based approach is the most often used on that page.

On Feb 8, 2010, at 5:28 PM, Alec Swan wrote:

> Igor, how do you inject the configuration bean in the Wicket
> application? Do you use
> http://cwiki.apache.org/WICKET/spring.html#Spring-ApplicationObjectApproach
> approach?
> 
> Thanks,
> 
> Alec
> 
> On Mon, Feb 8, 2010 at 10:33 AM, Igor Vaynberg  
> wrote:
>> i usually create a seperate bean that represents the properties and
>> let spring fill those in via the property configurer. then inject the
>> bean and you are done.
>> 
>> -igor
>> 
>> On Mon, Feb 8, 2010 at 8:18 AM, Alec Swan  wrote:
>>> Igor, were you suggesting the same approach as James did?
>>> 
>>> If so, I am already using @SpringBean annotations and I am wondering
>>> if they will continue to work with the
>>> http://cwiki.apache.org/WICKET/spring.html#Spring-ApplicationObjectApproach
>>> approach?
>>> 
>>> Thanks.
>>> 
>>> On Mon, Feb 8, 2010 at 4:41 AM, James Carman
>>>  wrote:
>>>> You can use the Spring integration to actually create your application
>>>> object for you:
>>>> 
>>>> http://cwiki.apache.org/WICKET/spring.html#Spring-ApplicationObjectApproach
>>>> 
>>>> Then, you can wire in anything into it that you want, just like any
>>>> other Spring bean (because it *is* just another Spring bean)
>>>> 
>>>> On Sun, Feb 7, 2010 at 11:29 PM, Alec Swan  wrote:
>>>>> I use Wicket, Spring and wicket-spring extensions. Spring
>>>>> configuration loads properties from config/env.properties file using
>>>>> PropertyPlaceholderConfigurer. I would like to add more properties to
>>>>> this file and read them from my Wicket application class. I tried to
>>>>> inject a Spring Resource using @SpringBean annotation, but it doesn't
>>>>> work in the my Wicket application class.
>>>>> 
>>>>> I am looking for recommendations on how to read properties files from
>>>>> wicket application class. Ideally I would like to use a single
>>>>> properties file read by Wicket and Spring.
>>>>> 
>>>>> Thanks,
>>>>> 
>>>>> Alec
>>>>> 
>>>>> -
>>>>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>>>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>>>> 
>>>>> 
>>>> 
>>>> -
>>>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>>> 
>>>> 
>>> 
>>> -----
>>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>> 
>>> 
>> 
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>> 
>> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 


To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 714-816-4488
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: http://www.twitter.com/kinabalu

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not, directly or 
indirectly, use,
 disclose, distribute, print, or copy any part of this message if you are not 
the intended recipient.




Re: [announce] better look & modern css for wicket examples contest

2010-02-07 Thread Andrew Lombardi
Design as in programming?  or design as in graphical?

I think the intent I gathered from mbrictson was to put a semi-nicer look on a 
plain page, and provide useful links for new folks.  Things like the examples 
which should be perused a lot while first learning Wicket.

It's a quickstart, it should take on a tone of simplicity.  Just like the 
Django quickstart, which doesn't aim to do anything other than shove you in the 
right direction

On Feb 7, 2010, at 11:23 PM, nino martinez wael wrote:

> Yeah I know. But some would probably use it as a starting point in design as
> well.
> 
> 2010/2/7 Andrew Lombardi 
> 
>> This isn't a modification for all the wicket examples, this is just for the
>> maven archetype, the examples are a much larger undertaking.
>> 
>> Focus here was to make it simple, and provide some references that people
>> could find useful.  There's no reason to extrapolate out and design a crazy
>> quickstart page because it will be deleted pretty quickly (we hope)
>> 
>> On Feb 7, 2010, at 1:25 AM, nino martinez wael wrote:
>> 
>>> Great. We need more people though to make it a real contest! :) And more
>>> focus on looks.
>>> 
>>> 2010/2/6 Andrew Lombardi 
>>> 
>>>> I agree.  I had a few moments tonight and put this together.  It
>> includes
>>>> the standard wicket label "message" showing that Wicket is parsing
>> properly.
>>>> 
>>>> It also includes links to: examples, javadoc, books about wicket, and
>>>> blogs.  and will show the version you used to install from archetype.
>>>> 
>>>> Thoughts?  You can click through on the bug and see an attached
>> screenshot
>>>> 
>>>> https://issues.apache.org/jira/browse/WICKET-2724
>>>> 
>>>> On Feb 2, 2010, at 11:26 AM, mbrictson wrote:
>>>> 
>>>>> 
>>>>> In addition to the examples, I think it would be nice to apply a
>> pleasant
>>>> CSS
>>>>> skin to the Wicket quickstart archetype. Instead of an un-styled
>>>>> "QuickStart" message, how about a nicely formatted short intro with
>> links
>>>> to
>>>>> tutorials, reference documentation, etc.?
>>>>> 
>>>>> As an example, I like the "it worked!" welcome page that Django
>> provides:
>>>>> 
>>>>> http://i46.tinypic.com/2q025g9.jpg
>>>>> 
>>>>> 
>>>>> nino martinez wael wrote:
>>>>>> 
>>>>>> Hi
>>>>>> 
>>>>>> Someone mentioned that we could have a better look & feel for wicket,
>>>>>> since
>>>>>> there are no designers in the core team. I proposed a contest, to make
>>>> the
>>>>>> coolest slickest css for wicket. So please feel free to apply.
>>>>>> 
>>>>>> 
>>>>>> Requirements:
>>>>>> 
>>>>>> your css should be compatible with the basic browsers, Firefox , IE ,
>>>>>> Safari
>>>>>> etc. And retain heavy use of embedded js. And it should be a drop on,
>>>>>> using
>>>>>> existing id's & hierachy for design.
>>>>>> 
>>>>>> Practical info:
>>>>>> 
>>>>>> The contest ends in 2 months April 2nd.
>>>>>> 
>>>>>> Get the wicket examples here:
>>>>>> http://svn.apache.org/repos/asf/wicket/trunk/wicket-examples/
>>>>>> 
>>>>>> If you need it you can put your css in svn at wicketstuff, write to
>> this
>>>>>> list for details on howto get commit rights, you should add your css
>> to
>>>>>> sandbox and sf user name (
>>>>>> 
>> https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/sandbox/).
>>>>>> 
>>>>>> Yes as with all contest there is a prize, you can win the wicket
>> t-shir
>>>>>> along with the honor if your css are the winner. This
>>>>>> http://www.cafepress.com/apachewicket.317298148 or this
>>>>>> http://www.cafepress.com/apachewicket.317298083 depending on your age
>>>> :)
>>>>>> 
>>>>>> Just reply to this thread to enter the contest.
>>>>>> 
>>>>>> Regards Nino on behalf of the Wicket People
>>>>>> 
>

Re: Wicket Layout

2010-02-07 Thread Andrew Lombardi
not sure about accordion or split panel, you can definitely split panels in 
various ways but to make them resizable would be more of a challenge.

might look at some of the integrations with jquery or yui.  I believe both of 
those frameworks have something similar, and I'd guess the respective wicket 
projects working on integration have them, or could be added.

i don't know enough about dojo though, sorry

On Feb 7, 2010, at 10:09 PM, Josh Kamau wrote:

> Andrew ;
> 
> How about the splitPanel ?  and the accordion?
> 
> On Mon, Feb 8, 2010 at 9:01 AM, Andrew Lombardi 
> wrote:
> 
>> it's definitely an involved layout ... but nothing here looks out of the
>> question.
>> 
>> tabbedpanel's for Inbox | Contacts
>> the tree from wicket-extensions for the folder viewer
>> the datatable from wicket-extensions for the lsit of messages
>> there are modal windows, all available
>> 
>> so yes, wicket should be able to support this.  not sure about the dojo
>> integration
>> 
>> On Feb 7, 2010, at 9:42 PM, Josh Kamau wrote:
>> 
>>> Hi guys;
>>> 
>>> I think wicket is the best java web framework out there. However , i
>> really
>>> would like be to able to create a layout like this :
>>> http://demos.dojotoolkit.org/demos/mail/
>>> 
>>> Does the current dojo integration support this. Is it possible to create
>>> such a layout with vanilla  wicket?
>>> 
>>> regards.
>>> 
>>> Josh
>> 
>> 
>> To our success!
>> 
>> Mystic Coders, LLC | Code Magic | www.mysticcoders.com
>> 
>> ANDREW LOMBARDI | and...@mysticcoders.com
>> 2321 E 4th St. Ste C-128, Santa Ana CA 92705
>> ofc: 714-816-4488
>> fax: 714-782-6024
>> cell: 714-697-8046
>> linked-in: http://www.linkedin.com/in/andrewlombardi
>> twitter: http://www.twitter.com/kinabalu
>> 
>> Eco-Tip: Printing e-mails is usually a waste.
>> 
>> 
>> This message is for the named person's use only. You must not, directly or
>> indirectly, use,
>> disclose, distribute, print, or copy any part of this message if you are
>> not the intended recipient.
>> 
>> 
>> 


To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 714-816-4488
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: http://www.twitter.com/kinabalu

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not, directly or 
indirectly, use,
 disclose, distribute, print, or copy any part of this message if you are not 
the intended recipient.




Re: Wicket Layout

2010-02-07 Thread Andrew Lombardi
it's definitely an involved layout ... but nothing here looks out of the 
question.

tabbedpanel's for Inbox | Contacts
the tree from wicket-extensions for the folder viewer
the datatable from wicket-extensions for the lsit of messages
there are modal windows, all available

so yes, wicket should be able to support this.  not sure about the dojo 
integration 

On Feb 7, 2010, at 9:42 PM, Josh Kamau wrote:

> Hi guys;
> 
> I think wicket is the best java web framework out there. However , i really
> would like be to able to create a layout like this :
> http://demos.dojotoolkit.org/demos/mail/
> 
> Does the current dojo integration support this. Is it possible to create
> such a layout with vanilla  wicket?
> 
> regards.
> 
> Josh


To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 714-816-4488
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: http://www.twitter.com/kinabalu

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not, directly or 
indirectly, use,
 disclose, distribute, print, or copy any part of this message if you are not 
the intended recipient.




Re: [announce] better look & modern css for wicket examples contest

2010-02-07 Thread Andrew Lombardi
This isn't a modification for all the wicket examples, this is just for the 
maven archetype, the examples are a much larger undertaking.

Focus here was to make it simple, and provide some references that people could 
find useful.  There's no reason to extrapolate out and design a crazy 
quickstart page because it will be deleted pretty quickly (we hope)

On Feb 7, 2010, at 1:25 AM, nino martinez wael wrote:

> Great. We need more people though to make it a real contest! :) And more
> focus on looks.
> 
> 2010/2/6 Andrew Lombardi 
> 
>> I agree.  I had a few moments tonight and put this together.  It includes
>> the standard wicket label "message" showing that Wicket is parsing properly.
>> 
>> It also includes links to: examples, javadoc, books about wicket, and
>> blogs.  and will show the version you used to install from archetype.
>> 
>> Thoughts?  You can click through on the bug and see an attached screenshot
>> 
>> https://issues.apache.org/jira/browse/WICKET-2724
>> 
>> On Feb 2, 2010, at 11:26 AM, mbrictson wrote:
>> 
>>> 
>>> In addition to the examples, I think it would be nice to apply a pleasant
>> CSS
>>> skin to the Wicket quickstart archetype. Instead of an un-styled
>>> "QuickStart" message, how about a nicely formatted short intro with links
>> to
>>> tutorials, reference documentation, etc.?
>>> 
>>> As an example, I like the "it worked!" welcome page that Django provides:
>>> 
>>> http://i46.tinypic.com/2q025g9.jpg
>>> 
>>> 
>>> nino martinez wael wrote:
>>>> 
>>>> Hi
>>>> 
>>>> Someone mentioned that we could have a better look & feel for wicket,
>>>> since
>>>> there are no designers in the core team. I proposed a contest, to make
>> the
>>>> coolest slickest css for wicket. So please feel free to apply.
>>>> 
>>>> 
>>>> Requirements:
>>>> 
>>>> your css should be compatible with the basic browsers, Firefox , IE ,
>>>> Safari
>>>> etc. And retain heavy use of embedded js. And it should be a drop on,
>>>> using
>>>> existing id's & hierachy for design.
>>>> 
>>>> Practical info:
>>>> 
>>>> The contest ends in 2 months April 2nd.
>>>> 
>>>> Get the wicket examples here:
>>>> http://svn.apache.org/repos/asf/wicket/trunk/wicket-examples/
>>>> 
>>>> If you need it you can put your css in svn at wicketstuff, write to this
>>>> list for details on howto get commit rights, you should add your css to
>>>> sandbox and sf user name (
>>>> https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/sandbox/).
>>>> 
>>>> Yes as with all contest there is a prize, you can win the wicket t-shir
>>>> along with the honor if your css are the winner. This
>>>> http://www.cafepress.com/apachewicket.317298148 or this
>>>> http://www.cafepress.com/apachewicket.317298083 depending on your age
>> :)
>>>> 
>>>> Just reply to this thread to enter the contest.
>>>> 
>>>> Regards Nino on behalf of the Wicket People
>>>> 
>>>> 
>>> 
>>> --
>>> View this message in context:
>> http://old.nabble.com/-announce--better-look---modern-css-for-wicket-examples-contest-tp27425107p27426016.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...@wicket.apache.org
>>> 
>> 
>> 
>> To our success!
>> 
>> Mystic Coders, LLC | Code Magic | www.mysticcoders.com
>> 
>> ANDREW LOMBARDI | and...@mysticcoders.com
>> 2321 E 4th St. Ste C-128, Santa Ana CA 92705
>> ofc: 714-816-4488
>> fax: 714-782-6024
>> cell: 714-697-8046
>> linked-in: http://www.linkedin.com/in/andrewlombardi
>> twitter: http://www.twitter.com/kinabalu
>> 
>> Eco-Tip: Printing e-mails is usually a waste.
>> 
>> 
>> This message is for the named person's use only. You must not, directly or
>> indirectly, use,
>> disclose, distribute, print, or copy any part of this message if you are
>> not the intended recipient.
>> 
>> 
>> 


To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 714-816-4488
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: http://www.twitter.com/kinabalu

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not, directly or 
indirectly, use,
 disclose, distribute, print, or copy any part of this message if you are not 
the intended recipient.




Re: Wicket best practice

2010-02-06 Thread Andrew Lombardi
There are 2 main ways to create a link with Wicket:

1. Use autolinking.  wrap your link in  tags in the HTML and take 
note of package structure, so if in same package HomePage.html would go in 
href, and if its in a package called admin, you'd have 
admin/AdminHomePage.html, etc.

2. Use one of the Link objects, which requires a wicket:id attached to "usually 
an anchor tag" in the HTML.  So you'll have to have Java code and HTML code 
that match id's

-andrew

On Feb 6, 2010, at 1:27 PM, Vineet Manohar wrote:

> Thanks. I will look at the maven archetype.
> 
> More than just pages, I am looking at links, forms, inputs etc. For example,
> to create a link I am either use  in the HTML, or I can use
> Wicket link component model, what's the difference and which one should I
> use?
> 
> Btw, my goal is to automatically generate a working Wicket app with full
> database integration using JPA and security integration as well. The Seam
> code generation project that I did was a success, you can write a spec like
> this one:
> http://code.google.com/p/clickframes-seam-issuetracker-demo/source/browse/trunk/src/main/clickframes/appspec.xml
> 
> and instantly get a working app like this:
> live demo link:
> http://demo.clickframes.org/tracker
> 
> Of course you can add/remove pages from the app by changing the appspec xml.
> 
> I am trying to replicate the same thing for Wicket, hoping to get some help
> from user community!
> 
> On Sat, Feb 6, 2010 at 4:09 PM, Riyad Kalla  wrote:
> 
>> Vineet, very cool stuff you are wooing on. As for best practices with
>> regard
>> to layout, there is actually a Maven Wicket archetype that would probably
>> answer those questions well. From what I remember its pretty straight
>> forward maven web layout. And yes, HTML and Java source are in same main
>> packages together.
>> 
>> On Feb 6, 2010 1:33 PM, "Vineet Manohar"  wrote:
>> 
>> Hi,
>> 
>> I am trying to write a code generator (using Clickframes code generation
>> framework) which would generate a fully working Wicket project directly
>> from
>> the Spec. Is there a document which describes the best practice for
>> folder/package structure in a wicket project.
>> 
>> To write the code generator, the only thing I need to know is the Wicket
>> project structure that I should be created. For example:
>> 1) should html files be colocated in src/main/java/com/mypackage/ along
>> with
>> Java files (as in the helloworld example) or in src/main/webapp.
>> 2) should there be one html file per page (I am assuming yes)
>> ... and other such questions related to folder structure
>> 
>> I am the lead developer of open source code generation framework
>> Clickframes
>> (http://www.clickframes.org) and have written a similar code generator for
>> JSF/Seam which instantly gives you a working app directly from the spec
>> which the developer can then customize. I think a similar approach for
>> Wicket would be very helpful to Wicket users who are trying to start a
>> brand
>> new project.
>> 
>> Here's what I have so far.
>> http://code.google.com/p/clickframes-wicket-plugin/
>> 
>> I am a Wicket novice, so any help or direction is appreciated.
>> 
>> Thanks,
>> 
>> Vineet Manohar
>> http://www.vineetmanohar.com
>> 


To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 714-816-4488
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: http://www.twitter.com/kinabalu

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not, directly or 
indirectly, use,
 disclose, distribute, print, or copy any part of this message if you are not 
the intended recipient.




Re: [announce] better look & modern css for wicket examples contest

2010-02-05 Thread Andrew Lombardi
I agree.  I had a few moments tonight and put this together.  It includes the 
standard wicket label "message" showing that Wicket is parsing properly.

It also includes links to: examples, javadoc, books about wicket, and blogs.  
and will show the version you used to install from archetype.

Thoughts?  You can click through on the bug and see an attached screenshot

https://issues.apache.org/jira/browse/WICKET-2724

On Feb 2, 2010, at 11:26 AM, mbrictson wrote:

> 
> In addition to the examples, I think it would be nice to apply a pleasant CSS
> skin to the Wicket quickstart archetype. Instead of an un-styled
> "QuickStart" message, how about a nicely formatted short intro with links to
> tutorials, reference documentation, etc.?
> 
> As an example, I like the "it worked!" welcome page that Django provides:
> 
> http://i46.tinypic.com/2q025g9.jpg
> 
> 
> nino martinez wael wrote:
>> 
>> Hi
>> 
>> Someone mentioned that we could have a better look & feel for wicket,
>> since
>> there are no designers in the core team. I proposed a contest, to make the
>> coolest slickest css for wicket. So please feel free to apply.
>> 
>> 
>> Requirements:
>> 
>> your css should be compatible with the basic browsers, Firefox , IE ,
>> Safari
>> etc. And retain heavy use of embedded js. And it should be a drop on,
>> using
>> existing id's & hierachy for design.
>> 
>> Practical info:
>> 
>> The contest ends in 2 months April 2nd.
>> 
>> Get the wicket examples here:
>> http://svn.apache.org/repos/asf/wicket/trunk/wicket-examples/
>> 
>> If you need it you can put your css in svn at wicketstuff, write to this
>> list for details on howto get commit rights, you should add your css to
>> sandbox and sf user name (
>> https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/sandbox/ ).
>> 
>> Yes as with all contest there is a prize, you can win the wicket t-shir
>> along with the honor if your css are the winner. This
>> http://www.cafepress.com/apachewicket.317298148 or this
>> http://www.cafepress.com/apachewicket.317298083 depending on your age :)
>> 
>> Just reply to this thread to enter the contest.
>> 
>> Regards Nino on behalf of the Wicket People
>> 
>> 
> 
> -- 
> View this message in context: 
> http://old.nabble.com/-announce--better-look---modern-css-for-wicket-examples-contest-tp27425107p27426016.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...@wicket.apache.org
> 


To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 714-816-4488
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: http://www.twitter.com/kinabalu

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not, directly or 
indirectly, use,
 disclose, distribute, print, or copy any part of this message if you are not 
the intended recipient.




Re: Fix super(new CompoundPropertyModel(this)) error in the WIA book

2010-02-04 Thread Andrew Lombardi
WiA covers 1.3, there's a wiki page that covers the differences here: 
http://cwiki.apache.org/WICKET/migrating-to-wicket-14.html

95% of WiA is going to work just fine though, aside from the changes mentioned 
in the migration link above

On Feb 4, 2010, at 7:51 PM, David Chang wrote:

> Hello, I am learning Wicket by reading <>. I am using 
> Wicket 1.4.5 and Java 6. 
> 
> On page 244, the sample code is as follows:
> 
> private int counter = 0;
> public MyPage() {
>  super(new CompoundPropertyModel(this));
>  final Label counterLabel = new Label("counter");
>  add(counterLabel);
>  counterLabel.setOutputMarkupId(true);
>  add(new AjaxLink("counterLabelLink")
>@Override
>public void onClick(AjaxRequestTarget target) {
>counter++;
> target.addComponent(counterLabel);
> }
> });
> }
> 
> The line has super(new CompoundPropertyModel(this)); gives a compiler error. 
> I replaced it with the following:
> 
> super();
> setDefaultModel(new CompoundPropertyModel(this));
> 
> and it works. 
> 
> My question is: 
> 
> 1. Am I doing the right thing?
> 2. Any better or more elegant way?
> 3. How much of WIA remains true as far as Wicket 1.4.5 concerned?
> 
> Thanks!
> 
> 
> 
> 
> 
> 
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 


To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 714-816-4488
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: http://www.twitter.com/kinabalu

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not, directly or 
indirectly, use,
 disclose, distribute, print, or copy any part of this message if you are not 
the intended recipient.




Re: Where is the full client filename during FileUpload?

2010-02-03 Thread Andrew Lombardi
FileUploadField takes a "FileUpload" model object which has a method called: 
getClientFileName

and as far as the path is concerned, it is saved to a temp file in a temp 
directory

On Feb 3, 2010, at 9:04 AM, Nicola Tucci wrote:

> Hi all,
> I'm using a FIleUpload form component in order to save the full client
> filename (path + filename, i.e.
> /home/jdoe/myfiles/MyUploadableDocument.pdf), but for what I can see, I can
> retrieve only the filename using FileItem.getName().
> I've tried to deeply debug wicket code to find the full path, but I only
> find client filename, server temp name, content-type, size.
> 
> Someone on this forum states that browsers often send only the filename, not
> the full path (security reason??), but how can servers bind the source file
> without the full name? It must be somewhere, maybe in the servlet request...
> 
> Besides, there is a smarter way to retrieve the full name (the one that
> appears in the input component!) without perform the upload? My use case
> oblige me to use FileUpload form component because the user use browser's
> popup search dialog.
> 
> Thanks to all,
> BYE!


To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 714-816-4488
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: http://www.twitter.com/kinabalu

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not, directly or 
indirectly, use,
 disclose, distribute, print, or copy any part of this message if you are not 
the intended recipient.




Re: SwfObject integration with wicket

2010-02-02 Thread Andrew Lombardi
Check the wiki, I've seen some code for supporting that, I might have written 
it come to think of it.

On Feb 2, 2010, at 6:17 PM, Mathias Nilsson wrote:

> Hi,
> 
> I was wondering if anyone has  built swfobject ( javascript ) integration to
> wicket? What I want to do is to be able to add a flash swf file and if the
> flash isn't detected by the browser have an ajax callback and be able to
> hide the component, other resources or add other data to the output.


To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 714-816-4488
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: http://www.twitter.com/kinabalu

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not, directly or 
indirectly, use,
 disclose, distribute, print, or copy any part of this message if you are not 
the intended recipient.




Re: wicket-stuff wiki access

2010-02-01 Thread Andrew Lombardi
rm -rf /var? :P

On Feb 1, 2010, at 2:21 PM, Martijn Dashorst wrote:

> The system is unable to send email because /var is full :S
> 
> Martijn
> 
> On Mon, Feb 1, 2010 at 7:36 PM, nino martinez wael
>  wrote:
>> argh I forgot my password and it does not seem as confluence can send mails
>> any more?
>> 
>> 2010/2/1 nino martinez wael 
>> 
>>> Yeah I asked about a tool, cant remember if I found one. I'll login again
>>> and see what happened.
>>> 
>>> 
>>> 
>>> 2010/2/1 Andrew Lombardi 
>>> 
>>>> Was there any thoughts on dumping confluence's known good users and rm -rf
>>>> the rest?
>>>> 
>>>> Sent from my iPhone
>>>> 
>>>> 
>>>> On Feb 1, 2010, at 10:15 AM, nino martinez wael <
>>>> nino.martinez.w...@gmail.com> wrote:
>>>> 
>>>>  Thats attack, not attach. I tried deleting them but there are soo many :/
>>>>> 
>>>>> 2010/2/1 nino martinez wael 
>>>>> 
>>>>>  HAH! this is probably related to the horrible spam attach wicketstuff
>>>>>> have
>>>>>> had, it's filled with fake users :/
>>>>>> 
>>>>>> 2010/2/1 Andrew Lombardi 
>>>>>> 
>>>>>> I'd like to add some documentation and handy links for folks on the
>>>>>> 
>>>>>>> wicketstuff project I just added: wicket-html5.  I'm getting the
>>>>>>> following
>>>>>>> error attempting to signup:
>>>>>>> 
>>>>>>> The following error(s) occurred:
>>>>>>> This installation of Confluence is not licensed to add any more users.
>>>>>>> Please contact the site administrators for more information.
>>>>>>> 
>>>>>>> 
>>>>>>> I have a JIRA account on wicketstuff, but that doesn't work with
>>>>>>> confluence apparently.
>>>>>>> 
>>>>>>> Let me know, thanks!
>>>>>>> 
>>>>>>> 
>>>>>>> To our success!
>>>>>>> 
>>>>>>> Mystic Coders, LLC | Code Magic | www.mysticcoders.com
>>>>>>> 
>>>>>>> ANDREW LOMBARDI | and...@mysticcoders.com
>>>>>>> 2321 E 4th St. Ste C-128, Santa Ana CA 92705
>>>>>>> ofc: 714-816-4488
>>>>>>> fax: 714-782-6024
>>>>>>> cell: 714-697-8046
>>>>>>> linked-in: http://www.linkedin.com/in/andrewlombardi
>>>>>>> twitter: http://www.twitter.com/kinabalu
>>>>>>> 
>>>>>>> Eco-Tip: Printing e-mails is usually a waste.
>>>>>>> 
>>>>>>> ====
>>>>>>> This message is for the named person's use only. You must not, directly
>>>>>>> or
>>>>>>> indirectly, use,
>>>>>>> disclose, distribute, print, or copy any part of this message if you
>>>>>>> are
>>>>>>> not the intended recipient.
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>> 
>>>> -
>>>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>>> 
>>>> 
>>> 
>> 
> 
> 
> 
> -- 
> Become a Wicket expert, learn from the best: http://wicketinaction.com
> Apache Wicket 1.4 increases type safety for web applications
> Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.4.4
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 


To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 714-816-4488
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: http://www.twitter.com/kinabalu

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not, directly or 
indirectly, use,
 disclose, distribute, print, or copy any part of this message if you are not 
the intended recipient.




Re: wicket-stuff wiki access

2010-02-01 Thread Andrew Lombardi
Was there any thoughts on dumping confluence's known good users and rm  
-rf the rest?


Sent from my iPhone

On Feb 1, 2010, at 10:15 AM, nino martinez wael > wrote:


Thats attack, not attach. I tried deleting them but there are soo  
many :/


2010/2/1 nino martinez wael 

HAH! this is probably related to the horrible spam attach  
wicketstuff have

had, it's filled with fake users :/

2010/2/1 Andrew Lombardi 

I'd like to add some documentation and handy links for folks on the
wicketstuff project I just added: wicket-html5.  I'm getting the  
following

error attempting to signup:

The following error(s) occurred:
This installation of Confluence is not licensed to add any more  
users.

Please contact the site administrators for more information.


I have a JIRA account on wicketstuff, but that doesn't work with
confluence apparently.

Let me know, thanks!


To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 714-816-4488
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: http://www.twitter.com/kinabalu

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not,  
directly or

indirectly, use,
disclose, distribute, print, or copy any part of this message if  
you are

not the intended recipient.







-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



wicket-stuff wiki access

2010-02-01 Thread Andrew Lombardi
I'd like to add some documentation and handy links for folks on the wicketstuff 
project I just added: wicket-html5.  I'm getting the following error attempting 
to signup:

The following error(s) occurred:
This installation of Confluence is not licensed to add any more users. Please 
contact the site administrators for more information.


I have a JIRA account on wicketstuff, but that doesn't work with confluence 
apparently.

Let me know, thanks!


To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 714-816-4488
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: http://www.twitter.com/kinabalu

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not, directly or 
indirectly, use,
 disclose, distribute, print, or copy any part of this message if you are not 
the intended recipient.




Re: Wicket UI Components Examples

2010-02-01 Thread Andrew Lombardi
 Awesome.

Can someone who has access to the wicket.apache.org main nav change the link to 
the Examples to the /wicket14/ link instead?  It's currently pointing to 1.3

On Feb 1, 2010, at 1:03 AM, Witold Czaplewski wrote:

> Or
> http://wicketstuff.org/wicket14/
> 
> cheers,
> Witold
> 
> Am Mon, 1 Feb 2010 00:49:28 -0800
> schrieb Andrew Lombardi :
> 
>> The latest examples using wicket 1.4.6 are also available here:
>> 
>> http://wicketbyexample.com/examples/
>> 
>> On Feb 1, 2010, at 12:10 AM, Expirience wrote:
>> 
>>> Hi there,
>>> 
>>> is there something similar to "http://demo.vaadin.com/sampler/"; for Wicket?
>>> On "http://wicketstuff.org/wicket13/compref/"; are just a few components but
>>> it would be nice to have a complete examples page.
>>> 
>>> Thanks
>> 
>> 
>> To our success!
>> 
>> Mystic Coders, LLC | Code Magic | www.mysticcoders.com
>> 
>> ANDREW LOMBARDI | and...@mysticcoders.com
>> 2321 E 4th St. Ste C-128, Santa Ana CA 92705
>> ofc: 714-816-4488
>> fax: 714-782-6024
>> cell: 714-697-8046
>> linked-in: http://www.linkedin.com/in/andrewlombardi
>> twitter: http://www.twitter.com/kinabalu
>> 
>> Eco-Tip: Printing e-mails is usually a waste.
>> 
>> 
>> This message is for the named person's use only. You must not, directly or
>> indirectly, use, disclose, distribute, print, or copy any part of this
>> message if you are not the intended recipient.
>> 
>> 
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 


To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 714-816-4488
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: http://www.twitter.com/kinabalu

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not, directly or 
indirectly, use,
 disclose, distribute, print, or copy any part of this message if you are not 
the intended recipient.




Re: Wicket UI Components Examples

2010-02-01 Thread Andrew Lombardi
The latest examples using wicket 1.4.6 are also available here:

http://wicketbyexample.com/examples/

On Feb 1, 2010, at 12:10 AM, Expirience wrote:

> Hi there,
> 
> is there something similar to "http://demo.vaadin.com/sampler/"; for Wicket?
> On "http://wicketstuff.org/wicket13/compref/"; are just a few components but
> it would be nice to have a complete examples page.
> 
> Thanks


To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 714-816-4488
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: http://www.twitter.com/kinabalu

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not, directly or 
indirectly, use,
 disclose, distribute, print, or copy any part of this message if you are not 
the intended recipient.




Re: appending to the componentTagBody

2010-01-31 Thread Andrew Lombardi
awww, I see.  would doing something like  getResponse().write(myNewText) be 
incorrect?  it seems to append how i'd like and a call to super puts in the 
users contribution

On Jan 31, 2010, at 10:03 PM, Igor Vaynberg wrote:

> in oncomponenttagbody you have access to the markup stream. you can
> use the stream to retreive the RawMarkup element that represents the
> current body, tostring() it, append to it, and
> replaceComponentTagBody(mystring)
> 
> -igor
> 
> On Sun, Jan 31, 2010 at 5:44 PM, Andrew Lombardi
>  wrote:
>> Is there any method while inside onComponentTagBody to append values to the 
>> contents of the body rather than replacing?  I'd like to ensure that if 
>> we're committing to the body on this custom tag, we don't remove what the 
>> user has put inside.
>> 
>> thanks!
>> 
>> 
>> To our success!
>> 
>> Mystic Coders, LLC | Code Magic | www.mysticcoders.com
>> 
>> ANDREW LOMBARDI | and...@mysticcoders.com
>> 2321 E 4th St. Ste C-128, Santa Ana CA 92705
>> ofc: 714-816-4488
>> fax: 714-782-6024
>> cell: 714-697-8046
>> linked-in: http://www.linkedin.com/in/andrewlombardi
>> twitter: http://www.twitter.com/kinabalu
>> 
>> Eco-Tip: Printing e-mails is usually a waste.
>> 
>> 
>> This message is for the named person's use only. You must not, directly or 
>> indirectly, use,
>>  disclose, distribute, print, or copy any part of this message if you are 
>> not the intended recipient.
>> 
>> 
>> 
> 
> -----
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 


To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 714-816-4488
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: http://www.twitter.com/kinabalu

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not, directly or 
indirectly, use,
 disclose, distribute, print, or copy any part of this message if you are not 
the intended recipient.




appending to the componentTagBody

2010-01-31 Thread Andrew Lombardi
Is there any method while inside onComponentTagBody to append values to the 
contents of the body rather than replacing?  I'd like to ensure that if we're 
committing to the body on this custom tag, we don't remove what the user has 
put inside.

thanks!


To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 714-816-4488
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: http://www.twitter.com/kinabalu

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not, directly or 
indirectly, use,
 disclose, distribute, print, or copy any part of this message if you are not 
the intended recipient.




Re: FeedbackMessage Localization

2010-01-31 Thread Andrew Lombardi
No problem.  Igor's is probably a helluva lot easier :)

If this helped, consider writing an example in the Wiki and/or adding an 
Example to WicketByExample.com! :P

Cheers!

On Jan 31, 2010, at 4:35 PM, Marek Å abo wrote:

> @Igor - works like a charm
> @Andrew - took me a while to play with hierarchy but got it working
> 
> Thank you both, regards
> 
> --
> Marek Å abo
> 
> On 01/31/2010 07:16 PM, Igor Vaynberg wrote:
>> info(getstring(key))
>> 
>> -igor
>> 
>> On Sun, Jan 31, 2010 at 6:12 AM, Marek Å abo  wrote:
>> 
>>> Hi all,
>>> 
>>> I was wondering, is there a way to localize messages comming from info()
>>> and error() form methods via property files?
>>> I could do it via session logic but I'm interested in other ways.
>>> 
>>> Regards,
>>> 
>>> --
>>> Marek Å abo
>>> 
>>> 
>>> -
>>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>> 
>>> 
>>> 
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>> 
>> 
>> 
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 


To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 714-816-4488
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: http://www.twitter.com/kinabalu

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not, directly or 
indirectly, use,
 disclose, distribute, print, or copy any part of this message if you are not 
the intended recipient.




Re: FeedbackMessage Localization

2010-01-31 Thread Andrew Lombardi
You could use a StringResourceModel or ResourceModel and just grab the object 
that results

On Jan 31, 2010, at 6:12 AM, Marek Å abo wrote:

> Hi all,
> 
> I was wondering, is there a way to localize messages comming from info()
> and error() form methods via property files?
> I could do it via session logic but I'm interested in other ways.
> 
> Regards,
> 
> --
> Marek Å abo
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 


To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 714-816-4488
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: http://www.twitter.com/kinabalu

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not, directly or 
indirectly, use,
 disclose, distribute, print, or copy any part of this message if you are not 
the intended recipient.




Re: Image auto-resize in browser

2010-01-30 Thread Andrew Lombardi
try it with the filter, it could be that because it's passing through the 
servlet Wicket is modifying something on the other end.  The filter should 
leave it alone

On Jan 30, 2010, at 7:08 PM, Matt Zemeck wrote:

> Wicket Servlet.  Its a big image but in the end thats what the use case calls 
> for.
> 
> 
> 
> ________
> From: Andrew Lombardi 
> To: "users@wicket.apache.org" 
> Cc: "users@wicket.apache.org" 
> Sent: Sat, January 30, 2010 9:45:19 PM
> Subject: Re: Image auto-resize in browser
> 
> Is wicket somehow inhibiting this functionality?  I would think it's not the 
> best user experience to force a user to download something larger than the 
> viewing image.  Is this being served through wicket filter inside the webapp?
> 
> Sent from my iPhone
> 
> On Jan 30, 2010, at 6:15 PM, Matt Zemeck  wrote:
> 
>> There is a feature of IE that resizes large images automatically. When you 
>> hover over the image you can click to expand it to actual size.  This 
>> feature is not working for my images.
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> From: Andrew Lombardi 
>> To: users@wicket.apache.org
>> Sent: Sat, January 30, 2010 9:04:26 PM
>> Subject: Re: Image auto-resize in browser
>> 
>> Can you be a little more specific?  Are you resizing using a resource?  What 
>> does your img tag look like in HTML?
>> 
>> On Jan 30, 2010, at 4:27 PM, Matt Zemeck wrote:
>> 
>>> The images rendered by my page don't auto-resize (very large image) in the 
>>> browser.  I have the setting enabled in IE and if I manually go to the 
>>> generated src value url they do auto-resize.  The generated  tags 
>>> looks fine.  Any ideas?
>>> 
>>> 
>> 
>> 
>> To our success!
>> 
>> Mystic Coders, LLC | Code Magic | www.mysticcoders.com
>> 
>> "Apache Wicket Training to get your team off on the right start!"
>> 
>> ANDREW LOMBARDI | and...@mysticcoders.com
>> 2321 E 4th St. Ste C-128, Santa Ana CA 92705
>> ofc: 714-816-4488
>> fax: 714-782-6024
>> cell: 714-697-8046
>> linked-in: http://www.linkedin.com/in/andrewlombardi
>> twitter: http://www.twitter.com/kinabalu
>> 
>> Eco-Tip: Printing e-mails is usually a waste.
>> 
>> 
>> This message is for the named person's use only. You must not, directly or 
>> indirectly, use,
>> disclose, distribute, print, or copy any part of this message if you are not 
>> the intended recipient.
>> 
>> 
>> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 
> 


To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 714-816-4488
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: http://www.twitter.com/kinabalu

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not, directly or 
indirectly, use,
 disclose, distribute, print, or copy any part of this message if you are not 
the intended recipient.




Re: Image auto-resize in browser

2010-01-30 Thread Andrew Lombardi
Is wicket somehow inhibiting this functionality?  I would think it's  
not the best user experience to force a user to download something  
larger than the viewing image.  Is this being served through wicket  
filter inside the webapp?


Sent from my iPhone

On Jan 30, 2010, at 6:15 PM, Matt Zemeck  wrote:

There is a feature of IE that resizes large images automatically.  
When you hover over the image you can click to expand it to actual  
size.  This feature is not working for my images.









From: Andrew Lombardi 
To: users@wicket.apache.org
Sent: Sat, January 30, 2010 9:04:26 PM
Subject: Re: Image auto-resize in browser

Can you be a little more specific?  Are you resizing using a  
resource?  What does your img tag look like in HTML?


On Jan 30, 2010, at 4:27 PM, Matt Zemeck wrote:

The images rendered by my page don't auto-resize (very large image)  
in the browser.  I have the setting enabled in IE and if I manually  
go to the generated src value url they do auto-resize.  The  
generated  tags looks fine.  Any ideas?






To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

"Apache Wicket Training to get your team off on the right start!"

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 714-816-4488
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: http://www.twitter.com/kinabalu

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not,  
directly or indirectly, use,
disclose, distribute, print, or copy any part of this message if you  
are not the intended recipient.






-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Image auto-resize in browser

2010-01-30 Thread Andrew Lombardi
Can you be a little more specific?  Are you resizing using a resource?  What 
does your img tag look like in HTML?

On Jan 30, 2010, at 4:27 PM, Matt Zemeck wrote:

> The images rendered by my page don't auto-resize (very large image) in the 
> browser.  I have the setting enabled in IE and if I manually go to the 
> generated src value url they do auto-resize.  The generated  tags looks 
> fine.  Any ideas?
> 
> 


To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

"Apache Wicket Training to get your team off on the right start!"

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 714-816-4488
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: http://www.twitter.com/kinabalu

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not, directly or 
indirectly, use,
 disclose, distribute, print, or copy any part of this message if you are not 
the intended recipient.




Re: Confirmation dialog

2010-01-28 Thread Andrew Lombardi
use an IAjaxCallDecorator

dataContainer.add(new AjaxButton("removeSelectedValues") {

@Override
protected IAjaxCallDecorator getAjaxCallDecorator() {
return new 
AjaxPreprocessingCallDecorator(super.getAjaxCallDecorator()) {
private static final long serialVersionUID = 1L;

@Override
public CharSequence preDecorateScript(CharSequence script) {
return "if(!confirm('Are you sure you want to delete 
the selected values? \\n\\nNOTE: This localized identifier will be deleted in 
ALL application bundles and there is NO UNDO')) return false;" + script;
}
};
}


On Jan 28, 2010, at 11:00 AM, Josh Kamau wrote:

> Hi Team
> 
> lnkDelete.add(new SimpleAttributeModifier("onClick","return confirm('Are you
> sure you want to Delete?')" ));
> 
>  The above code produces a confirmation message if its a Link and
> doesnt work if its an AjaxFallbackLink. How do i make it work on ajax link
> 
> regards.
> 
> Josh


To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 714-816-4488
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: http://www.twitter.com/kinabalu

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not, directly or 
indirectly, use,
 disclose, distribute, print, or copy any part of this message if you are not 
the intended recipient.




Re: know the last page user comes from

2010-01-28 Thread Andrew Lombardi
Pass the previous Page in the constructor.

On Jan 28, 2010, at 12:36 AM, Martin Asenov wrote:

> Hello, everyone, I was just wondering how could I know what's the page the 
> user comes from, when he comes into a new page. In need that in order to 
> redirect to previous page in my access denied page.
> 
> Thank you !
> 
> Best regards,
> Martin
> 


To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 714-816-4488
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: http://www.twitter.com/kinabalu

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not, directly or 
indirectly, use,
 disclose, distribute, print, or copy any part of this message if you are not 
the intended recipient.




Re: WicketByExample.com Contest

2010-01-27 Thread Andrew Lombardi
> Hey guys!  Hope everyone is having a wonderful time this week, and that 
> you're able to do some Wicket coding (I always find that puts me in a good 
> mood)!
> 
> I'm committed to seeing content on the WicketByExample.com website grow, and 
> in an effort to see that happen, we're going to hold a little contest:
> 
> 
> 
> For any blog articles posted between now and January 31st, 2010, the article 
> that receives the most comments will win a $100 iTunes Gift Card.
> 
> =
> 
> Assumptions
>   1. Those coming from the same IP addresses / same email address / 
> general spammy nature will not be counted toward the total
>   2. The effort should be to create a discussion, so first post, and 
> "great post" will not be counted toward the total
>   
> =
> 
> We have plans for some neat expansions to WicketByExample, if you have 
> development cycles you can donate toward helping in the development effort, 
> please contact me.
> 
> As always, if you have any thoughts on where you'd like to see the blog 
> going, let me know.


To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 714-816-4488
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: http://www.twitter.com/kinabalu

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not, directly or 
indirectly, use,
 disclose, distribute, print, or copy any part of this message if you are not 
the intended recipient.




Re: Resetting a form after ajax submit

2010-01-26 Thread Andrew Lombardi
You should only need access to the Model on the Form, which you would set to 
empty, and then you have two options 

1. Get access to the TextField so you can repaint it with AjaxRequestTarget
2. Use FormComponent's IVisitor pattern to visit everything in that form to 
repaint

On Jan 26, 2010, at 8:36 PM, Flavius wrote:

> 
> 
> For anybody who's interested, I got this to work by just
> calling form.textField.setModelValue(new String[]{""});
> I had to make the fields member vars of the form, though.
> 
> If there's another cleaner way of doing it, I'd appreciate seeing it.
> 
> 
> Flavius wrote:
>> 
>> 
>> I have a panel with a form on it.  I've attached an ajaxButton to submit
>> the form.  Afterward, I want the inputs to be reset with the backing model
>> reset.  I've done a lot of refreshing with an ajax submit, but I can't
>> seem
>> to get the form's values to reset in the webpage.  The backing model seems
>> to be reset, but when I add the form (or it's individual children) to the
>> target,
>> they don't refresh.
>> 
>> I've done a variation of this where I have a repeating view up top and
>> when 
>> that row is selected, it would populate the form, but I had to put the
>> form
>> in a fragment and add the fragment to the target to get that to work.  Can
>> somebody tell me what I'm doing wrong here?
>> 
>> Thanks
>> 
>> public class MyPanel extends Panel
>> {
>>  public MyPanel(String id, Widget myWidget)
>>  {
>>  MyForm myForm = new MyForm("myForm", new MyWidget());
>>  add(myForm);
>>  add(new AjaxButton("saveLink", myForm)
>>  {
>>  @Override
>>  protected void onSubmit(AjaxRequestTarget target,
>> Form form)
>>  {
>>  //save stuff
>>  //refresh repeating view
>>  //now reset the form so the input fields are
>> cleared and there's
>>  //a new backing model
>>  form.clearInput();  //this isn't working
>>  form.setDefaultModelObject(new MyWidget());
>> //this seems to reset the backing model, but the inputs are still popuated
>> on the page
>>  target.addComponent(form);
>>  }
>>  }
>>  }
>> 
>>  private MyForm myForm extends Form
>>  {
>>  public MyForm(String id, Widget myWidget)
>>  {   
>>  TextField textField = new
>> TextField("myField", new PropertyModel(myWidget,
>> "myField"));
>>  add(textField);
>>  ...
>>  }
>>  }
>> }
>> 
>> 
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>> 
>> 
>> 
> 
> -- 
> View this message in context: 
> http://old.nabble.com/Resetting-a-form-after-ajax-submit-tp27318108p27334057.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...@wicket.apache.org
> 


To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 714-816-4488
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: http://www.twitter.com/kinabalu

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not, directly or 
indirectly, use,
 disclose, distribute, print, or copy any part of this message if you are not 
the intended recipient.




Re: Image Bundler For Apache Wicket

2010-01-26 Thread Andrew Lombardi
This is very very cool.

Congrats Anantha!  

On Jan 26, 2010, at 9:07 AM, Anantha Kumaran wrote:

> i will try to put it in the google appspot later. Here is the source code of
> a sample http://github.com/ananthakumaran/imagebundler-wicket
> 
> On Tue, Jan 26, 2010 at 7:20 AM, Riyad Kalla  wrote:
> 
>> Very cool Anantha, do you have a site online that uses the bundler that we
>> could take a peek at as a running example?
>> 
>> On Tue, Jan 26, 2010 at 7:42 AM, Anantha Kumaran
>> wrote:
>> 
>>> http://ananthakumaran.github.com/imagebundler-wicket
>>> 
>> 


To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 714-816-4488
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: http://www.twitter.com/kinabalu

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not, directly or 
indirectly, use,
 disclose, distribute, print, or copy any part of this message if you are not 
the intended recipient.




Re: dynamically adding components to a ListView

2010-01-23 Thread Andrew Lombardi
t;>
>>>>add(new Link("addPanel") {
>>>>    @Override
>>>>public void onClick() {
>>>>addPanel();
>>>>}
>>>>
>>>>});
>>>> .
>>>> 
>>>> ..
>>>> public void addPanel() {
>>>>
>>>>ListView< MyPanel > panels = (ListView< MyPanel >) 
>>>> get("panels");
>>>>
>>>>MyPanel panel = new MyPanel("panel");
>>>>...
>>>>panels.add(panel);
>>>>}
>>>> 
>>>> Basically addPanel() does the same thing as in page constructor to add
>>>> panels to the list but nothing shows up.
>>>> 
>>>> Thanks in advance for your help
>>>> 
>>>> Ozkan
>>>> 
>>> 
>> 
>> 
>> 
> 
> -- 
> View this message in context: 
> http://old.nabble.com/dynamically-adding-components-to-a-ListView-tp26626657p27289986.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...@wicket.apache.org
> 


To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 714-816-4488
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: http://www.twitter.com/kinabalu

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not, directly or 
indirectly, use,
 disclose, distribute, print, or copy any part of this message if you are not 
the intended recipient.




Re: Page refresh increases size of pagemap disk storage

2010-01-23 Thread Andrew Lombardi
Hrmmm, okay  12K for every page refresh though sounds like a bit much ... 
obviously its a super small page, but pages with lots of these components on 
them can get up there in sizes

It seems that the diskpagestore is endless ... I thought only a certain number 
of page versions were kept ... something like 5?

On Jan 23, 2010, at 2:00 AM, Ilja Pavkovic wrote:

> Hi,
> 
> I think at least you increase the version number of the page with every 
> refresh (as your page seems to have state). Therefore the PageMap keeps the 
> old revisions of your page.
> 
> Best Regards,
>   Ilja Pavkovic
> 
> 
> Am Samstag, 23. Januar 2010 08:42:49 schrieb Andrew Lombardi:
>> I've got a really simple page, which has components of Label, ListView,
>> etc.
>> 
>> The only component (and correctly so) that stores anything in the Pagemap
>> that gets saved to disk is a Link.  But subsequent refreshes of that same
>> page, without doing anything in the UI, keeps increasing the storage for
>> that pagemap store?  Is this the intended behavior?  The link is really
>> fairly simple, it's only adding 12K or so on every refresh ... but if
>> nothing has changed, I don't know why it needs to increase at all
>> 
>> Any thoughts?
>> 
>> Thanks!
>> 
>> 
>> To our success!
>> 
>> Mystic Coders, LLC | Code Magic | www.mysticcoders.com
>> 
>> ANDREW LOMBARDI | and...@mysticcoders.com
>> 2321 E 4th St. Ste C-128, Santa Ana CA 92705
>> ofc: 714-816-4488
>> fax: 714-782-6024
>> cell: 714-697-8046
>> linked-in: http://www.linkedin.com/in/andrewlombardi
>> twitter: http://www.twitter.com/kinabalu
>> 
>> Eco-Tip: Printing e-mails is usually a waste.
>> 
>> 
>> This message is for the named person's use only. You must not, directly or
>> indirectly, use, disclose, distribute, print, or copy any part of this
>> message if you are not the intended recipient.
>> 
>> 
> 
> -- 
> binaere bauten gmbh · tempelhofer ufer 1a · 10961 berlin
> 
>   +49 · 171 · 9342 465
> 
> Handelsregister: HRB 115854 - Amtsgericht Charlottenburg
> Geschäftsführer: Dipl.-Inform. Ilja Pavkovic, Dipl.-Inform. Jost Becker


To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 714-816-4488
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: http://www.twitter.com/kinabalu

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not, directly or 
indirectly, use,
 disclose, distribute, print, or copy any part of this message if you are not 
the intended recipient.




Page refresh increases size of pagemap disk storage

2010-01-22 Thread Andrew Lombardi
I've got a really simple page, which has components of Label, ListView, etc.

The only component (and correctly so) that stores anything in the Pagemap that 
gets saved to disk is a Link.  But subsequent refreshes of that same page, 
without doing anything in the UI, keeps increasing the storage for that pagemap 
store?  Is this the intended behavior?  The link is really fairly simple, it's 
only adding 12K or so on every refresh ... but if nothing has changed, I don't 
know why it needs to increase at all

Any thoughts?

Thanks!


To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 714-816-4488
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: http://www.twitter.com/kinabalu

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not, directly or 
indirectly, use,
 disclose, distribute, print, or copy any part of this message if you are not 
the intended recipient.




Re: How to get Log Level: DEBUG?

2010-01-21 Thread Andrew Lombardi
you should modify it in your log4j.properties file.  If you're using the 
default maven generated project it would be in src/main/resources

On Jan 21, 2010, at 9:59 PM, Tony Wu wrote:

> Can someone point me in the right direction for setting the default console
> log output to include DEBUG level messages? It's currently showing INFO and
> WARN only. I'm using the default maven generated project. Can I do something
> like System.setProperty("org.apache.wicket.level", "DEBUG"); in
> WicketApplication's init() - I tried that but it didn't seem to work?
> 
> Thanks,
> Tony


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Getting control of Wicket Session.

2010-01-18 Thread Andrew Lombardi
((WebRequest)getRequest()).getHttpServletRequest().getSession()

On Jan 18, 2010, at 10:12 PM, Apple Grew wrote:

> @Pedro
> 
> Thanks for the response. Now I have two questions.
> 
>   1. How do I get reference of HttpSession? In Wicket I seem to get
>   reference of WebSession.
>   2. How do I notify the servlet container (I guess Wicket is not in-charge
>   of maintaining the HttpSession), that the user is active? If I make any Http
>   request from client's end (AJAX), even if that request is simply ignored by
>   my application, will that help to keep the session alive?
> 
> 
> @Steve
> Yup this will be AJAX. When my solution is ready, will share it, definitely.
> :)
> 
> Regards,
> Apple Grew
> my blog @ http://blog.applegrew.com/
> 
> 
> On Tue, Jan 19, 2010 at 8:57 AM, Steve Swinsburg
> wrote:
> 
>> Presumably, if the user is typing a long document and hasn't clicked on
>> anything for a while, you'll need to indicate to Wicket/HttpSession
>> (probably via AJAX), that the session is to be kept alive. I believe this is
>> how the autosave functions of things like rich text editors work, keeping
>> the session from timing out.
>> 
>> Interested to see your solution.
>> 
>> cheers,
>> Steve
>> 
>> 
>> 
>> On 19/01/2010, at 10:19 AM, Pedro Santos wrote:
>> 
>>> Use attributes from HttpSession like getLastAccessedTime() and
>>> getMaxInactiveInterval(). You can get access through WebRequest that
>> holds
>>> an HttpServletRequest object. When HttpSession ends, the wicket session
>> ends
>>> too.
>>> 
>>> 
>>> On Mon, Jan 18, 2010 at 5:33 PM, Apple Grew  wrote:
>>> 
 Hi,
 
 I am a Wicket fresher. I am still getting the hang of this.
 
 I want to develop a web application where I would like to show the user
>> a
 message informing him that his session is about to expire in x minutes.
>> If
 he wants to save his session then can click on a button which appears
>> along
 with this message.
 
 Also, using javascript I would like to 'sense' that the user is
>> typing-in
 or
 moving his mouse over the webpage, which is evident enough that he is
>> using
 the session.
 
 I will somehow figure out the js code needed but *how will I tell Wicket
>> to
 keep the session alive? Also how can I be notified x minutes before
>> Wicket
 expires the session?*
 
 Regards,
 Apple Grew
 my blog @ http://blog.applegrew.com/
 
>>> 
>>> 
>>> 
>>> --
>>> Pedro Henrique Oliveira dos Santos
>> 
>> 
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>> 
>> 


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: basic problem of using wicket

2009-12-06 Thread Andrew Lombardi
On Dec 6, 2009, at 12:40 AM, maven apache wrote:

> For example in a user login page, after the submit button are clicked I want
> user jump to success page or error page.
> So how to ?

setResponsePage(MyNewPage.class)

> In my login page:
> public class LoginPage extends WebPage{
>  ...
>  add(new LoginForm("loginForm"))
> }
> 
> public class LoginForm .{
> TextField nameText=new TextField("name");
> TextField passText=new TextField("pass");  //how to make a password
> textfield to hind the char user entering?
>public void onSubmit() {
>   /// here how to add listener to the submitButton to jump?
>}
> //   Button submitButton=new Button("submit");   / do I need to specify
> a submit button?(make the wicket know that "this is a submit button,when
> clicked,you should do something?)

if there's only one submit button, specifying a button isn't necessarily 
required.

> add(nameText);
> add(ageText);
> }
> 
> 
> 2) when to use wicket tag
> That to say if I want to show some message, I can write it in the html or
> create a label in java source.
> Take the above page for example, the textfield can be also defined in the
> html element like:
> , and the submit button can be  type="submit" />
> What I mean is when to use the wicket and when to use the html element ?

when it's appropriate.  wicket:id tags are for mapping to components where 
you'd like to pull or push data to.  it's not an either/or situation.



To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 714-816-4488
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: http://www.twitter.com/kinabalu

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not, directly or 
indirectly, use,
 disclose, distribute, print, or copy any part of this message if you are not 
the intended recipient.




Re: Wicket based open source projects

2009-11-27 Thread Andrew Lombardi
We wrote a simple pastebin (http://mysticpaste.com) that showed putting a lot 
of the "Wicket" pieces together along with several blog articles ... and we 
even showed an upgrade from 1.3 -> 1.4 (admittedly small code base so very easy 
to do) ...

here's the article start: 
http://www.mysticcoders.com/blog/2009/03/09/5-days-of-wicket/

the articles are brief, and the code should be fairly easy to read.  it's a 
*smallish* app for sure.

On Nov 27, 2009, at 7:23 AM, Gatos wrote:

> My problem is that I haven't found a good example of a wicket based project.
> Hippo CMS is too large project to learn Wicket.
> 
> I thought that If there will be an "Open Source Projects" page, then it will
> be easier to start a project.
> 
> On Fri, Nov 27, 2009 at 5:10 PM, Pierre Goupil wrote:
> 
>> Which difference with the page Martijn gave?
>> 
>> 
>> On Fri, Nov 27, 2009 at 4:08 PM, Peter Ertl  wrote:
>> 
>>> +1
>>> 
>>> Am 27.11.2009 um 16:03 schrieb Gatos:
>>> 
>>>> It might be a good idea to create a page in with open source projects,
>>> like
>>>> Hippo CMS.
>>>> 
>>>> What do you think?
>>>> 
>>>> 
>>>> On Fri, Nov 27, 2009 at 4:36 PM, Peter Ertl  wrote:
>>>> 
>>>>> artifactory
>>>>> 
>>>>> Am 27.11.2009 um 15:15 schrieb Andrea Aime:
>>>>> 
>>>>>> Gatos ha scritto:
>>>>>>> Hello,
>>>>>>> Is there any wicket based Open Source projects?
>>>>>> 
>>>>>> See GeoServer 2.0 at http://geoserver.org
>>>>>> 
>>>>>> Cheers
>>>>>> Andrea
>>>>>> 
>>>>>> 
>>>>>> --
>>>>>> Andrea Aime
>>>>>> OpenGeo - http://opengeo.org
>>>>>> Expert service straight from the developers.
>>>>>> 
>>>>>> -
>>>>>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>>>>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>>>> 
>>>>> 
>>>>> -
>>>>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>>>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>>>> 
>>>>> 
>>> 
>>> 
>>> -
>>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>> 
>>> 
>> 
>> 
>> --
>> Rien de grand ne s'est accompli dans le monde sans passion.
>> 
>> (G.W.F. Hegel, philosophe allemand)
>> 


To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 714-816-4488
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: http://www.twitter.com/kinabalu

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not, directly or 
indirectly, use,
 disclose, distribute, print, or copy any part of this message if you are not 
the intended recipient.




Re: 508 accessibility support

2009-10-29 Thread Andrew Lombardi
Wicket uses HTML as its template markup.  So as long as you code your  
HTML properly, and it is 508 compliant, you're in the clear.  Wicket  
doesn't present any roadblocks to 508 compliance.


On Oct 29, 2009, at 9:04 PM, tubin gen wrote:

Will wicket ever provide support for 508 accessibility  in  current  
or  any

of the future releases  ?
here is 508  accessibility   (http://www.section508.gov/)



To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 714-816-4488
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: http://www.twitter.com/kinabalu

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not,  
directly or indirectly, use,
 disclose, distribute, print, or copy any part of this message if you  
are not the intended recipient.





[offtopic] - Visit to Amsterdam

2009-10-21 Thread Andrew Lombardi
Wicket folk!  I'm currently in Paris making my way over to the  
Netherlands for a short 2 or 3 day visit.  If anyone has suggestions  
on best places to stay?  best things to see?  that would be much  
appreciated!


And if you're in the area, grab a coffee or something.  My Europe #  
+39 345 8329779 ... or just email / twitter / etc


I'm also going to be in Brussels for a few days, Munich and Berlin,  
and then in Prague for TSSJS/E.  If you have time and are in any of  
these cities, I'd love to meet up with some locals.


Cheers!


To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 714-816-4488
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: http://www.twitter.com/kinabalu

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not,  
directly or indirectly, use,
 disclose, distribute, print, or copy any part of this message if you  
are not the intended recipient.





Re: WicketByExample.com - Soft launch and we need editors

2009-08-07 Thread Andrew Lombardi
Would be more than happy to start a wish-list page!  You want to start  
with your list and we can check 'em off?


On Aug 7, 2009, at 6:23 AM, David Brown wrote:

I have been back to the site with the target in mind to look for the  
wicketbyexample wish-list. But, the cupboard was bare. Any plans?




- Original Message -
From: "Andrew Lombardi" 
To: users@wicket.apache.org
Sent: Friday, August 7, 2009 1:08:50 AM GMT -06:00 US/Canada Central
Subject: Re: WicketByExample.com - Soft launch and we need editors

Quick note, those of you that have submitted an example via the form,
or requested to become an editor via the form, there was some error
with the plugin doing the contacting ... which has been fixed.

feel free to re-submit at your leisure.

cheers!

On Aug 4, 2009, at 8:02 PM, Andrew Lombardi wrote:


/me goes out to the store to buy some Wicket dog food.

On Aug 4, 2009, at 7:36 PM, Igor Vaynberg wrote:


i look forward to a version powered by wicket. traitors! :)

-igor

On Tue, Aug 4, 2009 at 7:14 PM, Jeremy
Thomerson wrote:

Nice site.  I look forward to looking at it some more.

--
Jeremy Thomerson
http://www.wickettraining.com




On Tue, Aug 4, 2009 at 2:51 PM, Andrew Lombardi
wrote:
I don't know about you guys, but I learn best by examples, a lot
of them.
So the team at Mystic decided to put together a really simple,
easy to
navigate, no nonsense examples site ... and start filling it with
relevant
Wicket code examples for doing common things like:

 * How to use a FeedbackPanel with AJAX
 * Getting Started Guide
 * How to use AutoCompleteTextField
 * Putting Javascript or CSS into the header using a Resource
 * Using a Visitor to add multiple form components to an
AjaxTarget
 * Working with Wicket and Spring
 * and on and on...

In all we have about 15 examples so far, and it's growing daily.
We would
love you to at least drop by, and contribute with your tips and
tricks and
examples of usage that might not have been covered, or was very
hard to find
when you were looking for it.

happy monday!  and develop happy!


To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 949-528-6480
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: http://www.twitter.com/kinabalu

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not,
directly or
indirectly, use,
disclose, distribute, print, or copy any part of this message if
you are
not the intended recipient.





-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 949-528-6480
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: http://www.twitter.com/kinabalu

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not,
directly or indirectly, use,
disclose, distribute, print, or copy any part of this message if you
are not the intended recipient.





To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 949-528-6480
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: http://www.twitter.com/kinabalu

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not,
directly or indirectly, use,
 disclose, distribute, print, or copy any part of this message if you
are not the intended recipient.



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 949-528-6480
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrew

Re: Creating a blog engine with templates using Wicket

2009-08-07 Thread Andrew Lombardi
Take a look at the Brix CMS.  All built in Wicket, might be just what  
the doctor ordered.


On Aug 7, 2009, at 5:47 AM, Kent Larsson wrote:


Hi,

I've used Wordpress for some blogging, but I've never really felt
comfortable with it.

I'd like to create something myself, for my own personal use to begin
with (but there is no reason for me not to make it free (as in
speech). Some thoughts:

- Plugins could be created using Wicket
- I need some way for users to create templates. Now that I think
about it maybe the "template system" could simply be normal HTML-pages
with Wicket markup?

I'm simply looking for some feedback. Does it sound like Wicket is the
tool to go with? (For me it does.) Do you have any suggestions on
things to think about from the beginning when creating something like
this? Is there something like this already?

To start with I'll create something for me. But it's always good to
get some input and maybe it'll help me turn the project in the right
direction from the beginning.

Best regards, Kent

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 949-528-6480
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: http://www.twitter.com/kinabalu

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not,  
directly or indirectly, use,
 disclose, distribute, print, or copy any part of this message if you  
are not the intended recipient.





Re: WicketByExample.com - Soft launch and we need editors

2009-08-06 Thread Andrew Lombardi
Quick note, those of you that have submitted an example via the form,  
or requested to become an editor via the form, there was some error  
with the plugin doing the contacting ... which has been fixed.


feel free to re-submit at your leisure.

cheers!

On Aug 4, 2009, at 8:02 PM, Andrew Lombardi wrote:


/me goes out to the store to buy some Wicket dog food.

On Aug 4, 2009, at 7:36 PM, Igor Vaynberg wrote:


i look forward to a version powered by wicket. traitors! :)

-igor

On Tue, Aug 4, 2009 at 7:14 PM, Jeremy
Thomerson wrote:

Nice site.  I look forward to looking at it some more.

--
Jeremy Thomerson
http://www.wickettraining.com




On Tue, Aug 4, 2009 at 2:51 PM, Andrew Lombardi> wrote:
I don't know about you guys, but I learn best by examples, a lot  
of them.
So the team at Mystic decided to put together a really simple,  
easy to
navigate, no nonsense examples site ... and start filling it with  
relevant

Wicket code examples for doing common things like:

  * How to use a FeedbackPanel with AJAX
  * Getting Started Guide
  * How to use AutoCompleteTextField
  * Putting Javascript or CSS into the header using a Resource
  * Using a Visitor to add multiple form components to an  
AjaxTarget

  * Working with Wicket and Spring
  * and on and on...

In all we have about 15 examples so far, and it's growing daily.   
We would
love you to at least drop by, and contribute with your tips and  
tricks and
examples of usage that might not have been covered, or was very  
hard to find

when you were looking for it.

happy monday!  and develop happy!


To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 949-528-6480
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: http://www.twitter.com/kinabalu

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not,  
directly or

indirectly, use,
disclose, distribute, print, or copy any part of this message if  
you are

not the intended recipient.





-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 949-528-6480
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: http://www.twitter.com/kinabalu

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not,  
directly or indirectly, use,
disclose, distribute, print, or copy any part of this message if you  
are not the intended recipient.






To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 949-528-6480
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: http://www.twitter.com/kinabalu

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not,  
directly or indirectly, use,
 disclose, distribute, print, or copy any part of this message if you  
are not the intended recipient.





Re: WicketByExample.com - Soft launch and we need editors

2009-08-04 Thread Andrew Lombardi

/me goes out to the store to buy some Wicket dog food.

On Aug 4, 2009, at 7:36 PM, Igor Vaynberg wrote:


i look forward to a version powered by wicket. traitors! :)

-igor

On Tue, Aug 4, 2009 at 7:14 PM, Jeremy
Thomerson wrote:

Nice site.  I look forward to looking at it some more.

--
Jeremy Thomerson
http://www.wickettraining.com




On Tue, Aug 4, 2009 at 2:51 PM, Andrew Lombardi> wrote:
I don't know about you guys, but I learn best by examples, a lot  
of them.
 So the team at Mystic decided to put together a really simple,  
easy to
navigate, no nonsense examples site ... and start filling it with  
relevant

Wicket code examples for doing common things like:

   * How to use a FeedbackPanel with AJAX
   * Getting Started Guide
   * How to use AutoCompleteTextField
   * Putting Javascript or CSS into the header using a Resource
   * Using a Visitor to add multiple form components to an  
AjaxTarget

   * Working with Wicket and Spring
   * and on and on...

In all we have about 15 examples so far, and it's growing daily.   
We would
love you to at least drop by, and contribute with your tips and  
tricks and
examples of usage that might not have been covered, or was very  
hard to find

when you were looking for it.

happy monday!  and develop happy!


To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 949-528-6480
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: http://www.twitter.com/kinabalu

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not,  
directly or

indirectly, use,
 disclose, distribute, print, or copy any part of this message if  
you are

not the intended recipient.





-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 949-528-6480
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: http://www.twitter.com/kinabalu

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not,  
directly or indirectly, use,
 disclose, distribute, print, or copy any part of this message if you  
are not the intended recipient.





Re: WicketByExample.com - Soft launch and we need editors

2009-08-04 Thread Andrew Lombardi

Jeremy, we'd certainly love to add you as an editor to the site.  :)

On Aug 4, 2009, at 7:14 PM, Jeremy Thomerson wrote:


Nice site.  I look forward to looking at it some more.

--
Jeremy Thomerson
http://www.wickettraining.com




On Tue, Aug 4, 2009 at 2:51 PM, Andrew Lombardi> wrote:
I don't know about you guys, but I learn best by examples, a lot of  
them.
 So the team at Mystic decided to put together a really simple,  
easy to
navigate, no nonsense examples site ... and start filling it with  
relevant

Wicket code examples for doing common things like:

   * How to use a FeedbackPanel with AJAX
   * Getting Started Guide
   * How to use AutoCompleteTextField
   * Putting Javascript or CSS into the header using a Resource
   * Using a Visitor to add multiple form components to an  
AjaxTarget

   * Working with Wicket and Spring
   * and on and on...

In all we have about 15 examples so far, and it's growing daily.   
We would
love you to at least drop by, and contribute with your tips and  
tricks and
examples of usage that might not have been covered, or was very  
hard to find

when you were looking for it.

happy monday!  and develop happy!


To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 949-528-6480
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: http://www.twitter.com/kinabalu

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not,  
directly or

indirectly, use,
 disclose, distribute, print, or copy any part of this message if  
you are

not the intended recipient.





-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 949-528-6480
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: http://www.twitter.com/kinabalu

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not,  
directly or indirectly, use,
 disclose, distribute, print, or copy any part of this message if you  
are not the intended recipient.





WicketByExample.com - Soft launch and we need editors

2009-08-04 Thread Andrew Lombardi
I don't know about you guys, but I learn best by examples, a lot of  
them.  So the team at Mystic decided to put together a really simple,  
easy to navigate, no nonsense examples site ... and start filling it  
with relevant Wicket code examples for doing common things like:


* How to use a FeedbackPanel with AJAX
* Getting Started Guide
* How to use AutoCompleteTextField
* Putting Javascript or CSS into the header using a Resource
* Using a Visitor to add multiple form components to an AjaxTarget
* Working with Wicket and Spring
* and on and on...

In all we have about 15 examples so far, and it's growing daily.  We  
would love you to at least drop by, and contribute with your tips and  
tricks and examples of usage that might not have been covered, or was  
very hard to find when you were looking for it.


happy monday!  and develop happy!


To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 949-528-6480
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: http://www.twitter.com/kinabalu

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not,  
directly or indirectly, use,
 disclose, distribute, print, or copy any part of this message if you  
are not the intended recipient.





DZone Refcard - "Getting Started with Apache Wicket"

2009-07-27 Thread Andrew Lombardi

DZone launched a Refcard about Apache Wicket here - http://dzone.it/yml

A quick description from the website:

Among the dizzying number of Web frameworks available today, Wicket’s  
simple and intuitive approach to Web development has led it to become  
a favorite among many Java developers.  This Refcard brings you  
quickly up to speed on some of the key features of Apache Wicket 1.3,  
showing you how to configure the framework, define your domain model,  
create standard Wicket components and add internationalization options.


Enjoy!


To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 949-528-6480
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: http://www.twitter.com/kinabalu

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not,  
directly or indirectly, use,
 disclose, distribute, print, or copy any part of this message if you  
are not the intended recipient.





Re: dzone refcard

2009-07-06 Thread Andrew Lombardi
Luther, I gave a presentation on Wicket in March for TSSJS.  The  
presentation should still be available at:


javasymposium.techtarget.com

On Jul 6, 2009, at 6:45 PM, Luther Baker wrote:


Sounds good. I'm giving a Wicket presentation
here<http://java.ociweb.com/javasig/>in September and it would be nice
to hand something like that out.

Also, I've seen decks here before ... is there a central place where  
such
presentations are collected. I'll look back through the forum but if  
you've
got a link handy and wouldn't mind me extracting some slides ...  
feel free

to ping me outside the forum as well.

Also, any words of advice on topic progression - roughly 1.5 hours  
to about

35 people most of whom won't have used Wicket directly. I think we can
assume they will have a good understanding of Java.

Thanks,

-Luther



On Mon, Jul 6, 2009 at 4:22 PM, Andrew Lombardi >wrote:


Thanks!  I'll see if they can add you to the list of reviewers at  
some

point soon.

Cheers!


On Jul 6, 2009, at 2:02 PM, jWeekend wrote:


That'll be a nice resource for developers using Wicket, and, save  
jWeekend
plenty of time preparing one  ourselves for dZone, thanks! I'll  
let them

know to avoid unnecessary confusion about our proposal to create it
earlier
today.
Let me know if you need any extra pairs of eyes to review it.

Regards - Cemal
jWeekend
OO & Java Technology
http://jWeekend.com


kinabalu wrote:



I've got one being pushed through the editorial process at DZone  
right

now, should be out very soon.

On Jul 6, 2009, at 12:48 PM, Nick Heudecker wrote:

Andrew Lombardi created one some time ago.  Should still be  
available.


On Mon, Jul 6, 2009 at 12:44 PM, Paolo Di Tommaso

wrote:



It would be nice


-- paolo

On Mon, Jul 6, 2009 at 6:07 PM, Luther Baker >

wrote:

Is anyone aware of a wicket

refcard<http://refcardz.dzone.com/refcardz/core-java-concurrency


initiative?


Thoughts?

-Luther







--
Nick Heudecker
Professional Wicket Training & Consulting
http://www.systemmobile.com




To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 949-528-6480
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: http://www.twitter.com/kinabalu

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not,
directly or indirectly, use,
disclose, distribute, print, or copy any part of this message if  
you

are not the intended recipient.






--
View this message in context:
http://www.nabble.com/dzone-refcard-tp24358337p24362753.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...@wicket.apache.org




To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 949-528-6480
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: http://www.twitter.com/kinabalu

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not,  
directly or

indirectly, use,
disclose, distribute, print, or copy any part of this message if  
you are

not the intended recipient.






To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 949-528-6480
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: http://www.twitter.com/kinabalu

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not,  
directly or indirectly, use,
 disclose, distribute, print, or copy any part of this message if you  
are not the intended recipient.





Re: dzone refcard

2009-07-06 Thread Andrew Lombardi
Thanks!  I'll see if they can add you to the list of reviewers at some  
point soon.


Cheers!

On Jul 6, 2009, at 2:02 PM, jWeekend wrote:



That'll be a nice resource for developers using Wicket, and, save  
jWeekend
plenty of time preparing one  ourselves for dZone, thanks! I'll let  
them
know to avoid unnecessary confusion about our proposal to create it  
earlier

today.
Let me know if you need any extra pairs of eyes to review it.

Regards - Cemal
jWeekend
OO & Java Technology
http://jWeekend.com


kinabalu wrote:


I've got one being pushed through the editorial process at DZone  
right

now, should be out very soon.

On Jul 6, 2009, at 12:48 PM, Nick Heudecker wrote:

Andrew Lombardi created one some time ago.  Should still be  
available.


On Mon, Jul 6, 2009 at 12:44 PM, Paolo Di Tommaso

wrote:



It would be nice

-- paolo

On Mon, Jul 6, 2009 at 6:07 PM, Luther Baker  


wrote:


Is anyone aware of a wicket
refcard<http://refcardz.dzone.com/refcardz/core-java-concurrency

initiative?

Thoughts?

-Luther







--
Nick Heudecker
Professional Wicket Training & Consulting
http://www.systemmobile.com



To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 949-528-6480
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: http://www.twitter.com/kinabalu

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not,
directly or indirectly, use,
 disclose, distribute, print, or copy any part of this message if you
are not the intended recipient.






--
View this message in context: 
http://www.nabble.com/dzone-refcard-tp24358337p24362753.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...@wicket.apache.org




To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 949-528-6480
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: http://www.twitter.com/kinabalu

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not,  
directly or indirectly, use,
 disclose, distribute, print, or copy any part of this message if you  
are not the intended recipient.





Re: dzone refcard

2009-07-06 Thread Andrew Lombardi
I've got one being pushed through the editorial process at DZone right  
now, should be out very soon.


On Jul 6, 2009, at 12:48 PM, Nick Heudecker wrote:


Andrew Lombardi created one some time ago.  Should still be available.

On Mon, Jul 6, 2009 at 12:44 PM, Paolo Di Tommaso 
wrote:



It would be nice

-- paolo

On Mon, Jul 6, 2009 at 6:07 PM, Luther Baker 
wrote:


Is anyone aware of a wicket
refcard<http://refcardz.dzone.com/refcardz/core-java-concurrency

initiative?

Thoughts?

-Luther







--
Nick Heudecker
Professional Wicket Training & Consulting
http://www.systemmobile.com



To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 949-528-6480
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: http://www.twitter.com/kinabalu

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not,  
directly or indirectly, use,
 disclose, distribute, print, or copy any part of this message if you  
are not the intended recipient.





Re: Tools for Managing a Wicket Project

2009-04-30 Thread Andrew Lombardi

Martijn,

a local version of artifactory?  doesn't that get ... large?

or are you just talking about ~/.m2/repository?

On Apr 29, 2009, at 4:02 PM, Martijn Dashorst wrote:


Our current stack:
- maven
- Java 6
- hibernate
- spring
- Wicket
- svn
- hudson
- artifactory (though we might switch to another one)
[ - sonar (icing on the cake) ]

Wendy Smoak taught me an valuable lesson: use a company repository
manager for maven, and a local one on your machine. This way you can
run maven offline as well (after downloading the internet first).

Martijn

On Wed, Apr 29, 2009 at 5:13 PM, Dane Laverty  
 wrote:
My boss has asked me to manage development for a Java project. I'm  
going to

be working with two other programmers and one designer.

This is the first time that our organization has tried to formally
coordinate several programmers on a project together, and it is  
also the
first Java project we've done here (I'm the only programmer with  
extensive
Java experience). I chose to use Wicket for this project because it  
seemed
to be the most intuitive framework, and because I hope it will make  
it easy
for the designer and programmers to work together without stepping  
on each

others toes.

At my previous job, we used CVS for managing code contribution and  
Ant for
deployment. Is that still a good solution, or should I be looking  
at other
tools? Also, how do you coordinate the designer's work with the  
programmers'

work?

My goal is to find a few tools that
- work well with Wicket
- make it easy for programmers to check code in and out
- manage project dependencies
- are easy to set up
- are easy to use
- are free

I appreciate any and all suggestions. Thanks for your help!





--
Become a Wicket expert, learn from the best: http://wicketinaction.com
Apache Wicket 1.3.5 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 949-528-6480
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
twitter: http://www.mysticcoders.com/kinabalu

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not,  
directly or indirectly, use,
 disclose, distribute, print, or copy any part of this message if you  
are not the intended recipient.





Re: 5 Days of Wicket

2009-03-10 Thread Andrew Lombardi
Thanks for the kind words!  We don't plan to cover databinder in these  
tutorials, but would definitely be willing to do some follow-on's at a  
later date.  And yeah, the image is different than the pastebin that  
follows it in the writing, but we didn't have a UI yet :)


If you like that, day 2 is a writing tests portion which I think sets  
up the idea quite nicely, later on, probably on day 4 we'll do some  
talking about WicketTester as well:


http://www.mysticcoders.com/blog/2009/03/10/5-days-of-wicket-writing-the-tests/

Cheers!

On Mar 10, 2009, at 2:19 AM, Korbinian Bachl - privat wrote:


Hi Andrew,

first I was a bit curious about "another wicket intro"(TM) but after  
reading it I was amazed. It is one of the best blog entries for  
wicket starting I've read as it elegantly uses helps like the  
quickstart and then shows how to config it for real world usage.


Only things I miss is:

-> as you use Hibernate directly you really should mention  
databinder (databinder.net) somehow, as this spares you much work in  
that way


-> some more words to the image thing, as its IMHO not clear why  
youre doing this for a pastebin-like app


*Thumbs up*,

Korbinian


Andrew Lombardi schrieb:

Hey guys,
Just wanted to let you guys know, that here at Mystic we're doing a  
series of blog posts about Wicket, the basics on setting everything  
up, tests, backend, components, etc.  If you're interested, would  
definitely love your comments (on the blog and mailing list of  
course).  We're definitely in love with how Wicket performs for us  
in our development and strive to use it in our projects when it  
makes sense.  I'll also be giving a talk about Wicket at TSSJS/LV  
in a week (gah!), so stop by and say hello: http://javasymposium.techtarget.com/html/frameworks.html#ALombardiWicket

Here's the intro article, showing what each day will cover:
http://www.mysticcoders.com/blog/2009/03/09/5-days-of-wicket/
and here's day 1 of 5 (duh!):
http://www.mysticcoders.com/blog/2009/03/09/5-days-of-wicket-day-1/
and if you have digg / reddit, and wouldn't mind upvoting it:
reddit info:
http://bit.ly/3DS2F
http://bit.ly/CFzVI
digg info:
http://bit.ly/PpLD
http://bit.ly/HM0kl
Cheers!
To our success!
Mystic Coders, LLC | Code Magic | www.mysticcoders.com
ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 949-528-6480
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi
Eco-Tip: Printing e-mails is usually a waste.

This message is for the named person's use only. You must not,  
directly or indirectly, use,
disclose, distribute, print, or copy any part of this message if  
you are not the intended recipient.




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 949-528-6480
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not,  
directly or indirectly, use,
 disclose, distribute, print, or copy any part of this message if you  
are not the intended recipient.





5 Days of Wicket

2009-03-09 Thread Andrew Lombardi

Hey guys,

Just wanted to let you guys know, that here at Mystic we're doing a  
series of blog posts about Wicket, the basics on setting everything  
up, tests, backend, components, etc.  If you're interested, would  
definitely love your comments (on the blog and mailing list of  
course).  We're definitely in love with how Wicket performs for us in  
our development and strive to use it in our projects when it makes  
sense.  I'll also be giving a talk about Wicket at TSSJS/LV in a week  
(gah!), so stop by and say hello: http://javasymposium.techtarget.com/html/frameworks.html#ALombardiWicket


Here's the intro article, showing what each day will cover:

http://www.mysticcoders.com/blog/2009/03/09/5-days-of-wicket/

and here's day 1 of 5 (duh!):

http://www.mysticcoders.com/blog/2009/03/09/5-days-of-wicket-day-1/


and if you have digg / reddit, and wouldn't mind upvoting it:

reddit info:

http://bit.ly/3DS2F
http://bit.ly/CFzVI

digg info:

http://bit.ly/PpLD
http://bit.ly/HM0kl


Cheers!



To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 949-528-6480
fax: 714-782-6024
cell: 714-697-8046
linked-in: http://www.linkedin.com/in/andrewlombardi

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not,  
directly or indirectly, use,
 disclose, distribute, print, or copy any part of this message if you  
are not the intended recipient.





Re: Handling 404 in wicket?

2009-02-06 Thread Andrew Lombardi

Marc,

this has been covered before, and its not too specific to wicket, you  
can add the needed items in your web.xml, here's an example:


http://herebebeasties.com/2006-12-20/using-a-servlet-filter-for-404-error-page/

On Feb 6, 2009, at 2:52 PM, Marc Ende wrote:


Hi,

within a Project there is the need for a "customized" 404-Page.
Users with a misspelled url should get a standard 404-Page and
some "hints" which pages they possible wanted to show. The other
point is that I would like to reuse the templates, inheritance and  
so on

and not to create some "special" jsps for this.

I've some messages on this list in mind which are related to this
topic but I haven't found them anymore.
Ist there anything easy (like an "setErrorPage") to get all requests
which are directed to non existing Pages?


Thanks for your help

Marc




To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 949-528-6480
fax: 714-782-6024
cell: 714-697-8046

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not,  
directly or indirectly, use,
 disclose, distribute, print, or copy any part of this message if you  
are not the intended recipient.





Re: [OT] Java hosting & USB stick deployment

2009-02-05 Thread Andrew Lombardi

slicehost.com.  easy.

and at Mystic we've had several web applications written in Wicket  
deployed on external media, with a running system behind it of course :)


On Feb 5, 2009, at 1:29 PM, Kaspar Fischer wrote:

I am in the midst of deciding on the technology to use for an  
application that must be (i) cheap to host and (ii) must be  
deployable on USB sticks (Windows/Mac), for use in ad hoc networks.  
Options include Wicket/Hibernate/Spring or a PHP framework like  
Drupal, in some web container like e.g. Resin, XAMPP/MAMP, etc.


Does anybody on the list know of very cheap Java hosting  
possibilities? I image most of us on the list are working in the  
enterprise sector but maybe somebody knows of a good deal?


(There was once a rumor that Google would offer something, http://www.oreillynet.com/onjava/blog/2008/05/podraziks_prediction_java_next.html 
, any guesses on this?)


I am also interested in whether people from the list have made  
experiences with running Wicket on USB sticks?


Thanks,
Kaspar

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 949-528-6480
fax: 714-782-6024
cell: 714-697-8046

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not,  
directly or indirectly, use,
 disclose, distribute, print, or copy any part of this message if you  
are not the intended recipient.





Re: static pages & dynamic pages. How to have the same layout

2009-02-04 Thread Andrew Lombardi
You would use page inheritance so that each page inherited its look  
and feel from all the others.  There are many different ways to show  
different content without creating a ton of pages.  Can you elaborate  
on your current architecture so we can let you know how Wicket can  
achieve this?


On Feb 4, 2009, at 1:34 PM, Vika wrote:



Hi,

I am completely new to Wicket and  trying to decide if this is  
something I

would want to use for my project. My website has some static and some
dynamic pages that have to share the same look. Currently I am using
SiteMesh to achieve this.  Can I accomplish this with Wicket without  
having

to write a dummy java class for every static html page ?

thank you in advance

Vicky
--
View this message in context: 
http://www.nabble.com/static-pages---dynamic--pages.-How-to-have-the-same-layout-tp21840098p21840098.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...@wicket.apache.org




To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 949-528-6480
fax: 714-782-6024
cell: 714-697-8046

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not,  
directly or indirectly, use,
 disclose, distribute, print, or copy any part of this message if you  
are not the intended recipient.





Re: FeedBackPanel not rendering Messages

2009-02-04 Thread Andrew Lombardi

Grab the quickstart project here:

http://svn.apache.org/repos/asf/wicket/trunk/wicket-quickstart

and put your code into it, then you can file a JIRA with the  
quickstart, or send to list


On Feb 4, 2009, at 10:31 AM, wicketworker wrote:



Thanks Igor. Could you please elaborate a bit more, i am new here.


igor.vaynberg wrote:


create a quickstart

-igor

On Tue, Feb 3, 2009 at 1:34 PM, wicketworker 
wrote:


I am using 1.3.4

Something Strang is going on. The messages are getting rendered for
Non-Ajax
Requests. Problem seems to happen only for AjaxRequests.

Here is the Feedback panel content for Ajax request:




Here is the Non Ajax request:


  
UnExpected error occured while processing your request .
Please Contact the Administrator
  
Error Cause : java.lang.ArithmeticException: / by zero
  





igor.vaynberg wrote:


what wicket version are you using?

-igor

On Tue, Feb 3, 2009 at 1:09 PM, wicketworker  


wrote:


I have an ExceptionPage, in which i have a feedback panel, upon  
runtime
exception MyExceptionPage is getting invoked but the feedback  
messages

are
not getting rendered. Below is what i have coded, could some one  
please

take
a look at it whats wrong?

public class MyExceptionPage extends WebPage{

  public MyExceptionPage(RuntimeException e){
  Throwable cause = e;
  FeedbackPanel feedback = new FeedbackPanel("msgs");
  feedback.setOutputMarkupId(true);
  add(feedback);
  error("UnExpected error occured while processing  
your

request ");
  error("Error Cause : " + cause);
  System.out.println(feedback.anyErrorMessage());

  }
}

Here is my Html Content.







--
View this message in context:
http://www.nabble.com/FeedBackPanel-not-rendering-Messages-tp21819008p21819008.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...@wicket.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org





--
View this message in context:
http://www.nabble.com/FeedBackPanel-not-rendering-Messages-tp21819008p21819435.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...@wicket.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org





--
View this message in context: 
http://www.nabble.com/FeedBackPanel-not-rendering-Messages-tp21819008p21836545.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...@wicket.apache.org




To our success!

Mystic Coders, LLC | Code Magic | www.mysticcoders.com

ANDREW LOMBARDI | and...@mysticcoders.com
2321 E 4th St. Ste C-128, Santa Ana CA 92705
ofc: 949-528-6480
fax: 714-782-6024
cell: 714-697-8046

Eco-Tip: Printing e-mails is usually a waste.


This message is for the named person's use only. You must not,  
directly or indirectly, use,
 disclose, distribute, print, or copy any part of this message if you  
are not the intended recipient.





Re: Retrieving Post Parameters with PageParameters

2007-10-26 Thread Andrew Lombardi

Johan, is there any code examples out there for using stateless forms?

On Oct 26, 2007, at 1:01 PM, Johan Compagner wrote:

what kind of form do you use? Cant you use a stateless form on a  
stateless

page?
then you dont have to worry about anything like conversion.

then everything is just as a normal statefull form.

johan



On 10/26/07, Chris Fierer <[EMAIL PROTECTED]> wrote:



I am using an IFrame to call into a webpage with a form.  When,  
that form

is
submitted, it posts back to my site.  It sends the data via a POST
Request.
I was using the PageParameters object in my Page Constructor, but  
it never

gets hit (I was using breakpoints).

I have dug around the forum and tried various mount options, but  
still

haven't had much luck.

All GET Parameters work fine, it's just the POST Parameters.

Could anyone help me out on sharing how to pull POST Parameters  
from the

PageParameters object?

Thanks,

Chris
--
View this message in context:
http://www.nabble.com/Retrieving-Post-Parameters-with- 
PageParameters-tf4697756.html#a13428705

Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Getting at the HttpServletResponse?

2007-09-24 Thread Andrew Lombardi
I do not have my own RequestCycle, no.  Just using whatever is standard 
with Wicket.

On Mon, 24 Sep 2007 23:36:00 +0200, Martijn Dashorst wrote:
> Do you have your own RequestCycle? If so, is it a subclass of 
> WebRequestCycle?
> 
> Martijn
> 
> On 9/24/07, Andrew Lombardi <[EMAIL PROTECTED]> wrote:
>> The following gives me a ClassCastException:
>> 
>> ((WebRequestCycle)
>> RequestCycle.get()).getWebResponse().getHttpServletResponse()
>> 
>> On Mon, 24 Sep 2007 13:12:39 -0700, Eelco Hillenius wrote:
>>> Just cast it. If you're building a regular web app, you'll always use
>>> WebRequestCycle, which returns WebResponse for getResponse. E.g.
>>> ((WebRequestCycle)RequestCycle.get()).getWebRequest(). I know it looks
>>> ugly, but then again, the idea is that you typically shouldn't the
>>> httpservletresponse directly in the first place.
>>> 
>>> Eelco
>>> 
>>> On 9/24/07, Andrew Lombardi <[EMAIL PROTECTED]> wrote:
>>>> yes, I know.  but how do I get a WebResponse?
>>>> RequestCycle.get().getResponse() doesn't give me a class that extends
>>>> from WebResponse.
>>>> 
>>>> On Mon, 24 Sep 2007 12:52:52 -0700, Sean Sullivan wrote:
>>>>> If you are using Wicket 1.3:
>>>>> 
>>>>> class:  WebResponse
>>>>> 
>>>>> 
>>>> 
>> 
http://www.wicketstuff.org/wicket13doc/org/apache/wicket/protocol/http/WebResponse.html
>>>>> 
>>>>> 
>>>>> method:  getHttpServletResponse
>>>>> 
>>>>> 
>>>>> 
>>>>> On 9/24/07, Andrew Lombardi <[EMAIL PROTECTED]> wrote:
>>>>>> How would I get an instance of the HttpServletResponse?  I'm doing some
>>>>>> integration with an SSO provider that requires it.  I've tried:
>>>>>> 
>>>>>> ((WebResponse)
>>>>>> RequestCycle.get().getResponse()).getHttpServletResponse()
>>>>>> 
>>>>>> but RequestCycle.get().getResponse() returns StringResponse, which
>>>>>> obviously will fail miserably for what I need it for.
>>>>>> 
>>>>>> thanks.
>>>>>> 
>>>>>> --
>>>>>> To our success!
>>>>>> 
>>>>>> Andrew Lombardi: Mystic Coders, LLC - Coding Magic
>>>>>> contact | [EMAIL PROTECTED] | mobile: 714-697-8046
>>>>>> office/fax: 714-948-2382 | aim: nlpjunke
>>>>>> 
>>>>>> =======
>>>>>> This message is for the named person's use only. You must not, directly
>>>>>> or indirectly, use, disclose, distribute, print, or copy any part of
>>>>>> this message if you are not the intended recipient.
>>>>>> ===
>>>>>> 
>>>>>> -
>>>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>>>> 
>>>>>> 
>>>>> 
>>>>> -
>>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>>> 
>>>> 
>>>> --
>>>> To our success!
>>>> 
>>>> Andrew Lombardi: Mystic Coders, LLC - Coding Magic
>>>> contact | [EMAIL PROTECTED] | mobile: 714-697-8046
>>>> office/fax: 714-948-2382 | aim: nlpjunke
>>>> 
>>>> ===
>>>> This message is for the named person's use only. You must not, directly
>>>> or indirectly, use, disclose, distribute, print, or copy any part of
>>>> this message if you are not the intended recipient.
>>>> ===
>>>> 
>>>> -
>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>> 
>>>> 
>>> 
>>> ---

Re: Getting at the HttpServletResponse?

2007-09-24 Thread Andrew Lombardi
The following gives me a ClassCastException:

((WebRequestCycle) 
RequestCycle.get()).getWebResponse().getHttpServletResponse()

On Mon, 24 Sep 2007 13:12:39 -0700, Eelco Hillenius wrote:
> Just cast it. If you're building a regular web app, you'll always use
> WebRequestCycle, which returns WebResponse for getResponse. E.g.
> ((WebRequestCycle)RequestCycle.get()).getWebRequest(). I know it looks
> ugly, but then again, the idea is that you typically shouldn't the
> httpservletresponse directly in the first place.
> 
> Eelco
> 
> On 9/24/07, Andrew Lombardi <[EMAIL PROTECTED]> wrote:
>> yes, I know.  but how do I get a WebResponse?
>> RequestCycle.get().getResponse() doesn't give me a class that extends
>> from WebResponse.
>> 
>> On Mon, 24 Sep 2007 12:52:52 -0700, Sean Sullivan wrote:
>>> If you are using Wicket 1.3:
>>> 
>>> class:  WebResponse
>>> 
>>> 
>> 
http://www.wicketstuff.org/wicket13doc/org/apache/wicket/protocol/http/WebResponse.html
>>> 
>>> 
>>> method:  getHttpServletResponse
>>> 
>>> 
>>> 
>>> On 9/24/07, Andrew Lombardi <[EMAIL PROTECTED]> wrote:
>>>> How would I get an instance of the HttpServletResponse?  I'm doing some
>>>> integration with an SSO provider that requires it.  I've tried:
>>>> 
>>>> ((WebResponse)
>>>> RequestCycle.get().getResponse()).getHttpServletResponse()
>>>> 
>>>> but RequestCycle.get().getResponse() returns StringResponse, which
>>>> obviously will fail miserably for what I need it for.
>>>> 
>>>> thanks.
>>>> 
>>>> --
>>>> To our success!
>>>> 
>>>> Andrew Lombardi: Mystic Coders, LLC - Coding Magic
>>>> contact | [EMAIL PROTECTED] | mobile: 714-697-8046
>>>> office/fax: 714-948-2382 | aim: nlpjunke
>>>> 
>>>> ===
>>>> This message is for the named person's use only. You must not, directly
>>>> or indirectly, use, disclose, distribute, print, or copy any part of
>>>> this message if you are not the intended recipient.
>>>> ===
>>>> 
>>>> -
>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>> 
>>>> 
>>> 
>>> -
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>> 
>> 
>> --
>> To our success!
>> 
>> Andrew Lombardi: Mystic Coders, LLC - Coding Magic
>> contact | [EMAIL PROTECTED] | mobile: 714-697-8046
>> office/fax: 714-948-2382 | aim: nlpjunke
>> 
>> ===
>> This message is for the named person's use only. You must not, directly
>> or indirectly, use, disclose, distribute, print, or copy any part of
>> this message if you are not the intended recipient.
>> ===
>> 
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> 
>> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

--
To our success!

Andrew Lombardi: Mystic Coders, LLC - Coding Magic
contact | [EMAIL PROTECTED] | mobile: 714-697-8046
office/fax: 714-948-2382 | aim: nlpjunke

===
This message is for the named person's use only. You must not, directly 
or indirectly, use, disclose, distribute, print, or copy any part of 
this message if you are not the intended recipient.
===

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Getting at the HttpServletResponse?

2007-09-24 Thread Andrew Lombardi
ahh casting to WebRequestCycle was the magical incantation :)  thanks.

On Mon, 24 Sep 2007 13:12:39 -0700, Eelco Hillenius wrote:
> Just cast it. If you're building a regular web app, you'll always use
> WebRequestCycle, which returns WebResponse for getResponse. E.g.
> ((WebRequestCycle)RequestCycle.get()).getWebRequest(). I know it looks
> ugly, but then again, the idea is that you typically shouldn't the
> httpservletresponse directly in the first place.
> 
> Eelco
> 
> On 9/24/07, Andrew Lombardi <[EMAIL PROTECTED]> wrote:
>> yes, I know.  but how do I get a WebResponse?
>> RequestCycle.get().getResponse() doesn't give me a class that extends
>> from WebResponse.
>> 
>> On Mon, 24 Sep 2007 12:52:52 -0700, Sean Sullivan wrote:
>>> If you are using Wicket 1.3:
>>> 
>>> class:  WebResponse
>>> 
>>> 
>> 
http://www.wicketstuff.org/wicket13doc/org/apache/wicket/protocol/http/WebResponse.html
>>> 
>>> 
>>> method:  getHttpServletResponse
>>> 
>>> 
>>> 
>>> On 9/24/07, Andrew Lombardi <[EMAIL PROTECTED]> wrote:
>>>> How would I get an instance of the HttpServletResponse?  I'm doing some
>>>> integration with an SSO provider that requires it.  I've tried:
>>>> 
>>>> ((WebResponse)
>>>> RequestCycle.get().getResponse()).getHttpServletResponse()
>>>> 
>>>> but RequestCycle.get().getResponse() returns StringResponse, which
>>>> obviously will fail miserably for what I need it for.
>>>> 
>>>> thanks.
>>>> 
>>>> --
>>>> To our success!
>>>> 
>>>> Andrew Lombardi: Mystic Coders, LLC - Coding Magic
>>>> contact | [EMAIL PROTECTED] | mobile: 714-697-8046
>>>> office/fax: 714-948-2382 | aim: nlpjunke
>>>> 
>>>> ===
>>>> This message is for the named person's use only. You must not, directly
>>>> or indirectly, use, disclose, distribute, print, or copy any part of
>>>> this message if you are not the intended recipient.
>>>> ===
>>>> 
>>>> -
>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>> 
>>>> 
>>> 
>>> -
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>> 
>> 
>> --
>> To our success!
>> 
>> Andrew Lombardi: Mystic Coders, LLC - Coding Magic
>> contact | [EMAIL PROTECTED] | mobile: 714-697-8046
>> office/fax: 714-948-2382 | aim: nlpjunke
>> 
>> ===
>> This message is for the named person's use only. You must not, directly
>> or indirectly, use, disclose, distribute, print, or copy any part of
>> this message if you are not the intended recipient.
>> ===
>> 
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> 
>> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

--
To our success!

Andrew Lombardi: Mystic Coders, LLC - Coding Magic
contact | [EMAIL PROTECTED] | mobile: 714-697-8046
office/fax: 714-948-2382 | aim: nlpjunke

===
This message is for the named person's use only. You must not, directly 
or indirectly, use, disclose, distribute, print, or copy any part of 
this message if you are not the intended recipient.
===

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Getting at the HttpServletResponse?

2007-09-24 Thread Andrew Lombardi
yes, I know.  but how do I get a WebResponse?  
RequestCycle.get().getResponse() doesn't give me a class that extends 
from WebResponse.

On Mon, 24 Sep 2007 12:52:52 -0700, Sean Sullivan wrote:
> If you are using Wicket 1.3:
> 
> class:  WebResponse
> 
> 
http://www.wicketstuff.org/wicket13doc/org/apache/wicket/protocol/http/WebResponse.html
> 
> 
> method:  getHttpServletResponse
> 
> 
> 
> On 9/24/07, Andrew Lombardi <[EMAIL PROTECTED]> wrote:
>> How would I get an instance of the HttpServletResponse?  I'm doing some
>> integration with an SSO provider that requires it.  I've tried:
>> 
>> ((WebResponse)
>> RequestCycle.get().getResponse()).getHttpServletResponse()
>> 
>> but RequestCycle.get().getResponse() returns StringResponse, which
>> obviously will fail miserably for what I need it for.
>> 
>> thanks.
>> 
>> --
>> To our success!
>> 
>> Andrew Lombardi: Mystic Coders, LLC - Coding Magic
>> contact | [EMAIL PROTECTED] | mobile: 714-697-8046
>> office/fax: 714-948-2382 | aim: nlpjunke
>> 
>> ===
>> This message is for the named person's use only. You must not, directly
>> or indirectly, use, disclose, distribute, print, or copy any part of
>> this message if you are not the intended recipient.
>> ===
>> 
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> 
>> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

--
To our success!

Andrew Lombardi: Mystic Coders, LLC - Coding Magic
contact | [EMAIL PROTECTED] | mobile: 714-697-8046
office/fax: 714-948-2382 | aim: nlpjunke

===
This message is for the named person's use only. You must not, directly 
or indirectly, use, disclose, distribute, print, or copy any part of 
this message if you are not the intended recipient.
===

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Getting at the HttpServletResponse?

2007-09-24 Thread Andrew Lombardi
How would I get an instance of the HttpServletResponse?  I'm doing some 
integration with an SSO provider that requires it.  I've tried:

((WebResponse) 
RequestCycle.get().getResponse()).getHttpServletResponse()

but RequestCycle.get().getResponse() returns StringResponse, which 
obviously will fail miserably for what I need it for.

thanks.

--
To our success!

Andrew Lombardi: Mystic Coders, LLC - Coding Magic
contact | [EMAIL PROTECTED] | mobile: 714-697-8046
office/fax: 714-948-2382 | aim: nlpjunke

===
This message is for the named person's use only. You must not, directly 
or indirectly, use, disclose, distribute, print, or copy any part of 
this message if you are not the intended recipient.
===

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: How to use ImageButton??

2007-08-28 Thread Andrew Lombardi
Maybe, just maybe .. you can try and ask a question that makes some 
kind of sense?

Did you look at the javadoc which clearly explains what its for?

On Tue, 28 Aug 2007 20:51:23 -0700 (PDT), J2EEKevinLIu Liu wrote:
> I am confused with the usage of ImageButton. Expect your help~~
> 
>
> -
> Sick sense of humor? Visit Yahoo! TV's Comedy with an Edge to see 
> what's on, when. 

--
To our success!

Andrew Lombardi: Mystic Coders, LLC - Coding Magic
contact | [EMAIL PROTECTED] | mobile: 714-697-8046
office/fax: 714-948-2382 | aim: nlpjunke

===
This message is for the named person's use only. You must not, directly 
or indirectly, use, disclose, distribute, print, or copy any part of 
this message if you are not the intended recipient.
===

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]