Re: My Wicket Flickr Demo a la Ruby On Rails

2008-03-20 Thread Matthew Young
if you are willing to work with us on it i think we might
be able to host it on wicket-stuff...

I'll glad to.  Just let me know what to do.

On Wed, Mar 19, 2008 at 10:53 PM, Igor Vaynberg [EMAIL PROTECTED]
wrote:

 ah, i see. if you are willing to work with us on it i think we might
 be able to host it on wicket-stuff...

 -igor


 On Wed, Mar 19, 2008 at 7:00 PM, Matthew Young [EMAIL PROTECTED] wrote:
  My original is big and hi res.  But once I upload to any one of these
 sites,
   they all down res file to tiny size.
 
   On Wed, Mar 19, 2008 at 6:24 PM, Igor Vaynberg [EMAIL PROTECTED]
 
   wrote:
 
 
 
why not use one of those desktop recording things like wink? ive seen
people put together 1024x768 screencasts with those, or even higher..
   
-igor
   
   
On Wed, Mar 19, 2008 at 6:04 PM, Matthew Young [EMAIL PROTECTED]
 wrote:
 I've not found any site that support high res video.
 Photobucket.com,
  vimeo.com are just like Youtube: take high res file and down size
 to
tiny
  flash file.  If they can convert to big screen flash, they will
 stand
out
  better from Youtube.

  Let me see if I can find a good avi to flash converter.  If I do,
 I'll
  re-record the screencast with sound.

  On Wed, Mar 19, 2008 at 5:51 PM, Jonathan Locke 
[EMAIL PROTECTED]


 wrote:

  
  
   shucks.  even on vimeo the resolution is still almost
 unreadable.
 and
   with
   no audio, i feel like i'm missing out still.  a nice screencast
 of
this
   with
   sound would be like a wicket infomercial... aren't there sites
 that
do
   video-efficient, high resolution screencasts?
  
  
   MYoung wrote:
   
is there supposed to be sound?
   
No, it's a silent film :).
   
On Wed, Mar 19, 2008 at 5:22 PM, Jonathan Locke 
   [EMAIL PROTECTED]
wrote:
   
   
   
is there supposed to be sound?
   
   
MYoung wrote:

 Ok, it there: http://vimeo.com/802144

 scroll down to the bottom to download the original.

 On Wed, Mar 19, 2008 at 8:30 AM, Frank Bille 
[EMAIL PROTECTED]
 wrote:

 I would suggest uploading it to vimeo.com. It supports HD
videos as
 well as support for downloading the original file.

 Frank

 On Wed, Mar 19, 2008 at 3:29 AM, Jonathan Locke
 [EMAIL PROTECTED] wrote:
 
 
   this looks like it's probably cool, but there's no
 audio and
the
video
 size
   is such that i can't read anything.
 
 
 
   MYoung wrote:
   
Hi, I am new to Wicket and to help me learn, I
 created a
Wicket
 version of
the Flickr demo like the one on the Ruby on Rails
 site
seen
   here
http://www.rubyonrails.org/screencasts. I put my
 version
in my
blog
 here:
   
 http://limboville.blogspot.com/2008_03_01_archive.html.
 Please
take
 a
look
and give me some feedback.
   
Thanks!
   
   
 
   --
   View this message in context:

   
  
   
 http://www.nabble.com/My-Wicket-Flickr-Demo-a-la-Ruby-On-Rails-tp16106896p16135954.html
   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]




   
--
View this message in context:
   
  
   
 http://www.nabble.com/My-Wicket-Flickr-Demo-a-la-Ruby-On-Rails-tp16106896p16168460.html
Sent from the Wicket - User mailing list archive at
 Nabble.com.
   
   
   
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
   
   
   
   
  
   --
   View this message in context:
  
   
 http://www.nabble.com/My-Wicket-Flickr-Demo-a-la-Ruby-On-Rails-tp16106896p16168924.html
   Sent from the Wicket - User mailing list archive at Nabble.com.
  
  
  
 -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED

Re: My Wicket Flickr Demo a la Ruby On Rails

2008-03-19 Thread Matej Knopp
You can't do that. But you can map your home page to different url
(e.g. /home) and wicket will redirect automatically.

-Matej

On Wed, Mar 19, 2008 at 12:57 AM, Matthew Young [EMAIL PROTECTED] wrote:
 Hi,

  How to make HybridUrlCodingStrategy work on home page if my
  contextpath=/?  HybridUrlCodingStrategy doesn't allow mapping /.



  On Tue, Mar 18, 2008 at 11:52 AM, Matej Knopp [EMAIL PROTECTED] wrote:

   Hi,
  
   you can mount your page using HybridUrlCodingStrategy. Then it should
   automatically redirect to URL that has page instance information in
   it.
  
   -Matej
  
   On Tue, Mar 18, 2008 at 7:48 PM, Matthew Young [EMAIL PROTECTED] wrote:
Thank you Matej and Igor.  I learned several new things.
IAjaxCallDecorator
 is very cool and I did not realize wicket:link works on stylesheet
   ref,
 too. The wiki here:
   
   
 http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html#Wicket%2527sXHTMLtags-WicketTags
 make it seem like it only work with a href and img src.
   
 Igor: I'm not very on this one (src wmc):
   
   
  you can just create an anon subclass of src wmc and subclass
 oncomponenttag() directly and save some space.
   
 Do you mean this:
   
WebMarkupContainer img = new WebMarkupContainer(thumbnail) {
private static final long serialVersionUID = 1L;
@Override protected void onComponentTag(final ComponentTag
   tag){
super.onComponentTag(tag);
tag.put(src, thumbnailUrl);
}
};
   
   
 == I have a couple of questions: ==
   
 In Ajax mode, the browser address always show:
   
http://localhost:8080
   
 so if I refresh, I get a new page, not the same existing page.  How can
   I
 have the address like this:
   
http://localhost:8080/?wicket:interface=:0:1:::
   
 so on refresh I get the same page (like in non-Ajax mode)?
   
 2) When something goes wrong in Flickr, I throw a RuntimeException
   which
 blows up in ListView's model.getObject().  I want to Ajax update the
 feedbackPanel to show some error message. How can this be done?
   
 Thank you very much.
   
   
 On Mon, Mar 17, 2008 at 3:15 PM, Igor Vaynberg [EMAIL PROTECTED]
   
 wrote:
   
   
   
 there are a couple of things i would change
 
  1) add(new StyleSheetReference(pageCss, getClass(), flickr.css));
 
  do you really need that? can you not simply put link tag inside
  wicket:link tags?
 
  2) // Initially there is no photo to display so add a temporary place
  holder component to make Wicket happy
 
  you dont need to do that, make loadable detachable model that is
  pulling image links return an empty list if tags string is empty,
   that
  way you add the listview right away and dont need that replace mambo
  jumbo
 
  3) Photo photo = (Photo) item.getModelObject(); item.add(new
  Thumbnail(t, photo));
 
  im not a big fan of that, why not simply item.add(new Thumbnail(t,
  item.getModel()));
 
  it makes code simpler, you dont load the model object needlessly, and
  it makes thumbnail more flexible by taking an imodel.
 
  4) img.add(new SimpleAttributeModifier(src, photo.getSmallSquareUrl
   ()));
 
  you can just create an anon subclass of src wmc and subclass
  oncomponenttag() directly and save some space.
 
  pretty sweet tutorial though, thanks
 
  -igor
 
 
  On Mon, Mar 17, 2008 at 1:04 PM, Matthew Young [EMAIL PROTECTED]
   wrote:
   Hi, I am new to Wicket and to help me learn, I created a Wicket
   version
  of
the Flickr demo like the one on the Ruby on Rails site seen here
http://www.rubyonrails.org/screencasts. I put my version in my
   blog
  here:
http://limboville.blogspot.com/2008_03_01_archive.html.  Please
   take a
  look
and give me some feedback.
  
Thanks!
  
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
   
  
  
  
   --
   Resizable and reorderable grid components.
   http://www.inmethod.com
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  




-- 
Resizable and reorderable grid components.
http://www.inmethod.com

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



Re: My Wicket Flickr Demo a la Ruby On Rails

2008-03-19 Thread Frank Bille
I would suggest uploading it to vimeo.com. It supports HD videos as
well as support for downloading the original file.

Frank

On Wed, Mar 19, 2008 at 3:29 AM, Jonathan Locke
[EMAIL PROTECTED] wrote:


  this looks like it's probably cool, but there's no audio and the video size
  is such that i can't read anything.



  MYoung wrote:
  
   Hi, I am new to Wicket and to help me learn, I created a Wicket version of
   the Flickr demo like the one on the Ruby on Rails site seen here
   http://www.rubyonrails.org/screencasts. I put my version in my blog here:
   http://limboville.blogspot.com/2008_03_01_archive.html.  Please take a
   look
   and give me some feedback.
  
   Thanks!
  
  

  --
  View this message in context: 
 http://www.nabble.com/My-Wicket-Flickr-Demo-a-la-Ruby-On-Rails-tp16106896p16135954.html
  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: My Wicket Flickr Demo a la Ruby On Rails

2008-03-19 Thread Matthew Young
Ok, it there: http://vimeo.com/802144

scroll down to the bottom to download the original.

On Wed, Mar 19, 2008 at 8:30 AM, Frank Bille [EMAIL PROTECTED] wrote:

 I would suggest uploading it to vimeo.com. It supports HD videos as
 well as support for downloading the original file.

 Frank

 On Wed, Mar 19, 2008 at 3:29 AM, Jonathan Locke
 [EMAIL PROTECTED] wrote:
 
 
   this looks like it's probably cool, but there's no audio and the video
 size
   is such that i can't read anything.
 
 
 
   MYoung wrote:
   
Hi, I am new to Wicket and to help me learn, I created a Wicket
 version of
the Flickr demo like the one on the Ruby on Rails site seen here
http://www.rubyonrails.org/screencasts. I put my version in my blog
 here:
http://limboville.blogspot.com/2008_03_01_archive.html.  Please take
 a
look
and give me some feedback.
   
Thanks!
   
   
 
   --
   View this message in context:
 http://www.nabble.com/My-Wicket-Flickr-Demo-a-la-Ruby-On-Rails-tp16106896p16135954.html
   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: My Wicket Flickr Demo a la Ruby On Rails

2008-03-19 Thread Jonathan Locke


is there supposed to be sound?


MYoung wrote:
 
 Ok, it there: http://vimeo.com/802144
 
 scroll down to the bottom to download the original.
 
 On Wed, Mar 19, 2008 at 8:30 AM, Frank Bille [EMAIL PROTECTED]
 wrote:
 
 I would suggest uploading it to vimeo.com. It supports HD videos as
 well as support for downloading the original file.

 Frank

 On Wed, Mar 19, 2008 at 3:29 AM, Jonathan Locke
 [EMAIL PROTECTED] wrote:
 
 
   this looks like it's probably cool, but there's no audio and the video
 size
   is such that i can't read anything.
 
 
 
   MYoung wrote:
   
Hi, I am new to Wicket and to help me learn, I created a Wicket
 version of
the Flickr demo like the one on the Ruby on Rails site seen here
http://www.rubyonrails.org/screencasts. I put my version in my blog
 here:
http://limboville.blogspot.com/2008_03_01_archive.html.  Please take
 a
look
and give me some feedback.
   
Thanks!
   
   
 
   --
   View this message in context:
 http://www.nabble.com/My-Wicket-Flickr-Demo-a-la-Ruby-On-Rails-tp16106896p16135954.html
   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]


 
 

-- 
View this message in context: 
http://www.nabble.com/My-Wicket-Flickr-Demo-a-la-Ruby-On-Rails-tp16106896p16168460.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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



Re: My Wicket Flickr Demo a la Ruby On Rails

2008-03-19 Thread Matthew Young
 is there supposed to be sound?

No, it's a silent film :).

On Wed, Mar 19, 2008 at 5:22 PM, Jonathan Locke [EMAIL PROTECTED]
wrote:



 is there supposed to be sound?


 MYoung wrote:
 
  Ok, it there: http://vimeo.com/802144
 
  scroll down to the bottom to download the original.
 
  On Wed, Mar 19, 2008 at 8:30 AM, Frank Bille [EMAIL PROTECTED]
  wrote:
 
  I would suggest uploading it to vimeo.com. It supports HD videos as
  well as support for downloading the original file.
 
  Frank
 
  On Wed, Mar 19, 2008 at 3:29 AM, Jonathan Locke
  [EMAIL PROTECTED] wrote:
  
  
this looks like it's probably cool, but there's no audio and the
 video
  size
is such that i can't read anything.
  
  
  
MYoung wrote:

 Hi, I am new to Wicket and to help me learn, I created a Wicket
  version of
 the Flickr demo like the one on the Ruby on Rails site seen here
 http://www.rubyonrails.org/screencasts. I put my version in my
 blog
  here:
 http://limboville.blogspot.com/2008_03_01_archive.html.  Please
 take
  a
 look
 and give me some feedback.

 Thanks!


  
--
View this message in context:
 
 http://www.nabble.com/My-Wicket-Flickr-Demo-a-la-Ruby-On-Rails-tp16106896p16135954.html
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]
 
 
 
 

 --
 View this message in context:
 http://www.nabble.com/My-Wicket-Flickr-Demo-a-la-Ruby-On-Rails-tp16106896p16168460.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


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




Re: My Wicket Flickr Demo a la Ruby On Rails

2008-03-19 Thread Jonathan Locke


shucks.  even on vimeo the resolution is still almost unreadable.  and with
no audio, i feel like i'm missing out still.  a nice screencast of this with
sound would be like a wicket infomercial... aren't there sites that do
video-efficient, high resolution screencasts?


MYoung wrote:
 
 is there supposed to be sound?
 
 No, it's a silent film :).
 
 On Wed, Mar 19, 2008 at 5:22 PM, Jonathan Locke [EMAIL PROTECTED]
 wrote:
 


 is there supposed to be sound?


 MYoung wrote:
 
  Ok, it there: http://vimeo.com/802144
 
  scroll down to the bottom to download the original.
 
  On Wed, Mar 19, 2008 at 8:30 AM, Frank Bille [EMAIL PROTECTED]
  wrote:
 
  I would suggest uploading it to vimeo.com. It supports HD videos as
  well as support for downloading the original file.
 
  Frank
 
  On Wed, Mar 19, 2008 at 3:29 AM, Jonathan Locke
  [EMAIL PROTECTED] wrote:
  
  
this looks like it's probably cool, but there's no audio and the
 video
  size
is such that i can't read anything.
  
  
  
MYoung wrote:

 Hi, I am new to Wicket and to help me learn, I created a Wicket
  version of
 the Flickr demo like the one on the Ruby on Rails site seen here
 http://www.rubyonrails.org/screencasts. I put my version in my
 blog
  here:
 http://limboville.blogspot.com/2008_03_01_archive.html.  Please
 take
  a
 look
 and give me some feedback.

 Thanks!


  
--
View this message in context:
 
 http://www.nabble.com/My-Wicket-Flickr-Demo-a-la-Ruby-On-Rails-tp16106896p16135954.html
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]
 
 
 
 

 --
 View this message in context:
 http://www.nabble.com/My-Wicket-Flickr-Demo-a-la-Ruby-On-Rails-tp16106896p16168460.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


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


 
 

-- 
View this message in context: 
http://www.nabble.com/My-Wicket-Flickr-Demo-a-la-Ruby-On-Rails-tp16106896p16168924.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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



Re: My Wicket Flickr Demo a la Ruby On Rails

2008-03-19 Thread Igor Vaynberg
why not use one of those desktop recording things like wink? ive seen
people put together 1024x768 screencasts with those, or even higher..

-igor


On Wed, Mar 19, 2008 at 6:04 PM, Matthew Young [EMAIL PROTECTED] wrote:
 I've not found any site that support high res video.  Photobucket.com,
  vimeo.com are just like Youtube: take high res file and down size to tiny
  flash file.  If they can convert to big screen flash, they will stand out
  better from Youtube.

  Let me see if I can find a good avi to flash converter.  If I do, I'll
  re-record the screencast with sound.

  On Wed, Mar 19, 2008 at 5:51 PM, Jonathan Locke [EMAIL PROTECTED]


 wrote:

  
  
   shucks.  even on vimeo the resolution is still almost unreadable.  and
   with
   no audio, i feel like i'm missing out still.  a nice screencast of this
   with
   sound would be like a wicket infomercial... aren't there sites that do
   video-efficient, high resolution screencasts?
  
  
   MYoung wrote:
   
is there supposed to be sound?
   
No, it's a silent film :).
   
On Wed, Mar 19, 2008 at 5:22 PM, Jonathan Locke 
   [EMAIL PROTECTED]
wrote:
   
   
   
is there supposed to be sound?
   
   
MYoung wrote:

 Ok, it there: http://vimeo.com/802144

 scroll down to the bottom to download the original.

 On Wed, Mar 19, 2008 at 8:30 AM, Frank Bille [EMAIL PROTECTED]
 wrote:

 I would suggest uploading it to vimeo.com. It supports HD videos as
 well as support for downloading the original file.

 Frank

 On Wed, Mar 19, 2008 at 3:29 AM, Jonathan Locke
 [EMAIL PROTECTED] wrote:
 
 
   this looks like it's probably cool, but there's no audio and the
video
 size
   is such that i can't read anything.
 
 
 
   MYoung wrote:
   
Hi, I am new to Wicket and to help me learn, I created a Wicket
 version of
the Flickr demo like the one on the Ruby on Rails site seen
   here
http://www.rubyonrails.org/screencasts. I put my version in my
blog
 here:
http://limboville.blogspot.com/2008_03_01_archive.html.  Please
take
 a
look
and give me some feedback.
   
Thanks!
   
   
 
   --
   View this message in context:

   
   
 http://www.nabble.com/My-Wicket-Flickr-Demo-a-la-Ruby-On-Rails-tp16106896p16135954.html
   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]




   
--
View this message in context:
   
   
 http://www.nabble.com/My-Wicket-Flickr-Demo-a-la-Ruby-On-Rails-tp16106896p16168460.html
Sent from the Wicket - User mailing list archive at Nabble.com.
   
   
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
   
   
   
   
  
   --
   View this message in context:
   
 http://www.nabble.com/My-Wicket-Flickr-Demo-a-la-Ruby-On-Rails-tp16106896p16168924.html
   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: My Wicket Flickr Demo a la Ruby On Rails

2008-03-19 Thread Matthew Young
My original is big and hi res.  But once I upload to any one of these sites,
they all down res file to tiny size.

On Wed, Mar 19, 2008 at 6:24 PM, Igor Vaynberg [EMAIL PROTECTED]
wrote:

 why not use one of those desktop recording things like wink? ive seen
 people put together 1024x768 screencasts with those, or even higher..

 -igor


 On Wed, Mar 19, 2008 at 6:04 PM, Matthew Young [EMAIL PROTECTED] wrote:
  I've not found any site that support high res video.  Photobucket.com,
   vimeo.com are just like Youtube: take high res file and down size to
 tiny
   flash file.  If they can convert to big screen flash, they will stand
 out
   better from Youtube.
 
   Let me see if I can find a good avi to flash converter.  If I do, I'll
   re-record the screencast with sound.
 
   On Wed, Mar 19, 2008 at 5:51 PM, Jonathan Locke 
 [EMAIL PROTECTED]
 
 
  wrote:
 
   
   
shucks.  even on vimeo the resolution is still almost unreadable.
  and
with
no audio, i feel like i'm missing out still.  a nice screencast of
 this
with
sound would be like a wicket infomercial... aren't there sites that
 do
video-efficient, high resolution screencasts?
   
   
MYoung wrote:

 is there supposed to be sound?

 No, it's a silent film :).

 On Wed, Mar 19, 2008 at 5:22 PM, Jonathan Locke 
[EMAIL PROTECTED]
 wrote:



 is there supposed to be sound?


 MYoung wrote:
 
  Ok, it there: http://vimeo.com/802144
 
  scroll down to the bottom to download the original.
 
  On Wed, Mar 19, 2008 at 8:30 AM, Frank Bille 
 [EMAIL PROTECTED]
  wrote:
 
  I would suggest uploading it to vimeo.com. It supports HD
 videos as
  well as support for downloading the original file.
 
  Frank
 
  On Wed, Mar 19, 2008 at 3:29 AM, Jonathan Locke
  [EMAIL PROTECTED] wrote:
  
  
this looks like it's probably cool, but there's no audio and
 the
 video
  size
is such that i can't read anything.
  
  
  
MYoung wrote:

 Hi, I am new to Wicket and to help me learn, I created a
 Wicket
  version of
 the Flickr demo like the one on the Ruby on Rails site
 seen
here
 http://www.rubyonrails.org/screencasts. I put my version
 in my
 blog
  here:
 http://limboville.blogspot.com/2008_03_01_archive.html.
  Please
 take
  a
 look
 and give me some feedback.

 Thanks!


  
--
View this message in context:
 

   
 http://www.nabble.com/My-Wicket-Flickr-Demo-a-la-Ruby-On-Rails-tp16106896p16135954.html
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]
 
 
 
 

 --
 View this message in context:

   
 http://www.nabble.com/My-Wicket-Flickr-Demo-a-la-Ruby-On-Rails-tp16106896p16168460.html
 Sent from the Wicket - User mailing list archive at Nabble.com.



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




   
--
View this message in context:
   
 http://www.nabble.com/My-Wicket-Flickr-Demo-a-la-Ruby-On-Rails-tp16106896p16168924.html
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: My Wicket Flickr Demo a la Ruby On Rails

2008-03-19 Thread Igor Vaynberg
ah, i see. if you are willing to work with us on it i think we might
be able to host it on wicket-stuff...

-igor


On Wed, Mar 19, 2008 at 7:00 PM, Matthew Young [EMAIL PROTECTED] wrote:
 My original is big and hi res.  But once I upload to any one of these sites,
  they all down res file to tiny size.

  On Wed, Mar 19, 2008 at 6:24 PM, Igor Vaynberg [EMAIL PROTECTED]
  wrote:



   why not use one of those desktop recording things like wink? ive seen
   people put together 1024x768 screencasts with those, or even higher..
  
   -igor
  
  
   On Wed, Mar 19, 2008 at 6:04 PM, Matthew Young [EMAIL PROTECTED] wrote:
I've not found any site that support high res video.  Photobucket.com,
 vimeo.com are just like Youtube: take high res file and down size to
   tiny
 flash file.  If they can convert to big screen flash, they will stand
   out
 better from Youtube.
   
 Let me see if I can find a good avi to flash converter.  If I do, I'll
 re-record the screencast with sound.
   
 On Wed, Mar 19, 2008 at 5:51 PM, Jonathan Locke 
   [EMAIL PROTECTED]
   
   
wrote:
   
 
 
  shucks.  even on vimeo the resolution is still almost unreadable.
and
  with
  no audio, i feel like i'm missing out still.  a nice screencast of
   this
  with
  sound would be like a wicket infomercial... aren't there sites that
   do
  video-efficient, high resolution screencasts?
 
 
  MYoung wrote:
  
   is there supposed to be sound?
  
   No, it's a silent film :).
  
   On Wed, Mar 19, 2008 at 5:22 PM, Jonathan Locke 
  [EMAIL PROTECTED]
   wrote:
  
  
  
   is there supposed to be sound?
  
  
   MYoung wrote:
   
Ok, it there: http://vimeo.com/802144
   
scroll down to the bottom to download the original.
   
On Wed, Mar 19, 2008 at 8:30 AM, Frank Bille 
   [EMAIL PROTECTED]
wrote:
   
I would suggest uploading it to vimeo.com. It supports HD
   videos as
well as support for downloading the original file.
   
Frank
   
On Wed, Mar 19, 2008 at 3:29 AM, Jonathan Locke
[EMAIL PROTECTED] wrote:


  this looks like it's probably cool, but there's no audio and
   the
   video
size
  is such that i can't read anything.



  MYoung wrote:
  
   Hi, I am new to Wicket and to help me learn, I created a
   Wicket
version of
   the Flickr demo like the one on the Ruby on Rails site
   seen
  here
   http://www.rubyonrails.org/screencasts. I put my version
   in my
   blog
here:
   http://limboville.blogspot.com/2008_03_01_archive.html.
Please
   take
a
   look
   and give me some feedback.
  
   Thanks!
  
  

  --
  View this message in context:
   
  
 
   
 http://www.nabble.com/My-Wicket-Flickr-Demo-a-la-Ruby-On-Rails-tp16106896p16135954.html
  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]
   
   
   
   
  
   --
   View this message in context:
  
 
   
 http://www.nabble.com/My-Wicket-Flickr-Demo-a-la-Ruby-On-Rails-tp16106896p16168460.html
   Sent from the Wicket - User mailing list archive at Nabble.com.
  
  
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
  
  
 
  --
  View this message in context:
 
   
 http://www.nabble.com/My-Wicket-Flickr-Demo-a-la-Ruby-On-Rails-tp16106896p16168924.html
  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]
  
  


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



Re: My Wicket Flickr Demo a la Ruby On Rails

2008-03-18 Thread Matthew Young
Thank you Matej and Igor.  I learned several new things.  IAjaxCallDecorator
is very cool and I did not realize wicket:link works on stylesheet ref,
too. The wiki here:
http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html#Wicket%2527sXHTMLtags-WicketTags
make it seem like it only work with a href and img src.

Igor: I'm not very on this one (src wmc):

 you can just create an anon subclass of src wmc and subclass
oncomponenttag() directly and save some space.

Do you mean this:

WebMarkupContainer img = new WebMarkupContainer(thumbnail) {
private static final long serialVersionUID = 1L;
@Override protected void onComponentTag(final ComponentTag tag){
super.onComponentTag(tag);
tag.put(src, thumbnailUrl);
}
};


== I have a couple of questions: ==

In Ajax mode, the browser address always show:

http://localhost:8080

so if I refresh, I get a new page, not the same existing page.  How can I
have the address like this:

http://localhost:8080/?wicket:interface=:0:1:::

so on refresh I get the same page (like in non-Ajax mode)?

2) When something goes wrong in Flickr, I throw a RuntimeException which
blows up in ListView's model.getObject().  I want to Ajax update the
feedbackPanel to show some error message. How can this be done?

Thank you very much.

On Mon, Mar 17, 2008 at 3:15 PM, Igor Vaynberg [EMAIL PROTECTED]
wrote:

 there are a couple of things i would change

 1) add(new StyleSheetReference(pageCss, getClass(), flickr.css));

 do you really need that? can you not simply put link tag inside
 wicket:link tags?

 2) // Initially there is no photo to display so add a temporary place
 holder component to make Wicket happy

 you dont need to do that, make loadable detachable model that is
 pulling image links return an empty list if tags string is empty, that
 way you add the listview right away and dont need that replace mambo
 jumbo

 3) Photo photo = (Photo) item.getModelObject(); item.add(new
 Thumbnail(t, photo));

 im not a big fan of that, why not simply item.add(new Thumbnail(t,
 item.getModel()));

 it makes code simpler, you dont load the model object needlessly, and
 it makes thumbnail more flexible by taking an imodel.

 4) img.add(new SimpleAttributeModifier(src, photo.getSmallSquareUrl()));

 you can just create an anon subclass of src wmc and subclass
 oncomponenttag() directly and save some space.

 pretty sweet tutorial though, thanks

 -igor


 On Mon, Mar 17, 2008 at 1:04 PM, Matthew Young [EMAIL PROTECTED] wrote:
  Hi, I am new to Wicket and to help me learn, I created a Wicket version
 of
   the Flickr demo like the one on the Ruby on Rails site seen here
   http://www.rubyonrails.org/screencasts. I put my version in my blog
 here:
   http://limboville.blogspot.com/2008_03_01_archive.html.  Please take a
 look
   and give me some feedback.
 
   Thanks!
 

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




Re: My Wicket Flickr Demo a la Ruby On Rails

2008-03-18 Thread Matej Knopp
Hi,

you can mount your page using HybridUrlCodingStrategy. Then it should
automatically redirect to URL that has page instance information in
it.

-Matej

On Tue, Mar 18, 2008 at 7:48 PM, Matthew Young [EMAIL PROTECTED] wrote:
 Thank you Matej and Igor.  I learned several new things.  IAjaxCallDecorator
  is very cool and I did not realize wicket:link works on stylesheet ref,
  too. The wiki here:
  
 http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html#Wicket%2527sXHTMLtags-WicketTags
  make it seem like it only work with a href and img src.

  Igor: I'm not very on this one (src wmc):


   you can just create an anon subclass of src wmc and subclass
  oncomponenttag() directly and save some space.

  Do you mean this:

 WebMarkupContainer img = new WebMarkupContainer(thumbnail) {
 private static final long serialVersionUID = 1L;
 @Override protected void onComponentTag(final ComponentTag tag){
 super.onComponentTag(tag);
 tag.put(src, thumbnailUrl);
 }
 };


  == I have a couple of questions: ==

  In Ajax mode, the browser address always show:

 http://localhost:8080

  so if I refresh, I get a new page, not the same existing page.  How can I
  have the address like this:

 http://localhost:8080/?wicket:interface=:0:1:::

  so on refresh I get the same page (like in non-Ajax mode)?

  2) When something goes wrong in Flickr, I throw a RuntimeException which
  blows up in ListView's model.getObject().  I want to Ajax update the
  feedbackPanel to show some error message. How can this be done?

  Thank you very much.


  On Mon, Mar 17, 2008 at 3:15 PM, Igor Vaynberg [EMAIL PROTECTED]
  wrote:



  there are a couple of things i would change
  
   1) add(new StyleSheetReference(pageCss, getClass(), flickr.css));
  
   do you really need that? can you not simply put link tag inside
   wicket:link tags?
  
   2) // Initially there is no photo to display so add a temporary place
   holder component to make Wicket happy
  
   you dont need to do that, make loadable detachable model that is
   pulling image links return an empty list if tags string is empty, that
   way you add the listview right away and dont need that replace mambo
   jumbo
  
   3) Photo photo = (Photo) item.getModelObject(); item.add(new
   Thumbnail(t, photo));
  
   im not a big fan of that, why not simply item.add(new Thumbnail(t,
   item.getModel()));
  
   it makes code simpler, you dont load the model object needlessly, and
   it makes thumbnail more flexible by taking an imodel.
  
   4) img.add(new SimpleAttributeModifier(src, photo.getSmallSquareUrl()));
  
   you can just create an anon subclass of src wmc and subclass
   oncomponenttag() directly and save some space.
  
   pretty sweet tutorial though, thanks
  
   -igor
  
  
   On Mon, Mar 17, 2008 at 1:04 PM, Matthew Young [EMAIL PROTECTED] wrote:
Hi, I am new to Wicket and to help me learn, I created a Wicket version
   of
 the Flickr demo like the one on the Ruby on Rails site seen here
 http://www.rubyonrails.org/screencasts. I put my version in my blog
   here:
 http://limboville.blogspot.com/2008_03_01_archive.html.  Please take a
   look
 and give me some feedback.
   
 Thanks!
   
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  




-- 
Resizable and reorderable grid components.
http://www.inmethod.com

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



Re: My Wicket Flickr Demo a la Ruby On Rails

2008-03-18 Thread Matthew Young
It's Amateras:
http://amateras.sourceforge.jp/cgi-bin/fswiki_en/wiki.cgi?page=EclipseHTMLEditor


On Mon, Mar 17, 2008 at 7:57 PM, Fernando Wermus [EMAIL PROTECTED]
wrote:

 Which is the name of the embebed Eclipse browser you are using?

 On Mon, Mar 17, 2008 at 7:15 PM, Igor Vaynberg [EMAIL PROTECTED]
 wrote:

  there are a couple of things i would change
 
  1) add(new StyleSheetReference(pageCss, getClass(), flickr.css));
 
  do you really need that? can you not simply put link tag inside
  wicket:link tags?
 
  2) // Initially there is no photo to display so add a temporary place
  holder component to make Wicket happy
 
  you dont need to do that, make loadable detachable model that is
  pulling image links return an empty list if tags string is empty, that
  way you add the listview right away and dont need that replace mambo
  jumbo
 
  3) Photo photo = (Photo) item.getModelObject(); item.add(new
  Thumbnail(t, photo));
 
  im not a big fan of that, why not simply item.add(new Thumbnail(t,
  item.getModel()));
 
  it makes code simpler, you dont load the model object needlessly, and
  it makes thumbnail more flexible by taking an imodel.
 
  4) img.add(new SimpleAttributeModifier(src, photo.getSmallSquareUrl
 ()));
 
  you can just create an anon subclass of src wmc and subclass
  oncomponenttag() directly and save some space.
 
  pretty sweet tutorial though, thanks
 
  -igor
 
 
  On Mon, Mar 17, 2008 at 1:04 PM, Matthew Young [EMAIL PROTECTED]
 wrote:
   Hi, I am new to Wicket and to help me learn, I created a Wicket
 version
  of
the Flickr demo like the one on the Ruby on Rails site seen here
http://www.rubyonrails.org/screencasts. I put my version in my blog
  here:
http://limboville.blogspot.com/2008_03_01_archive.html.  Please take
 a
  look
and give me some feedback.
  
Thanks!
  
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 


 --
 Fernando Wermus.



Re: My Wicket Flickr Demo a la Ruby On Rails

2008-03-18 Thread Matthew Young
Hi, Igor:

nstead of throwing the exception call error(message) on the page and
return an empty list from the model

So I register a error to the page in the model but the feedback message
doesn't show.  Here is a small sample to demonstrate:

HomePage.html:

html
head/head
span wicket:id=messagemessage will be here/span
form wicket:id=form
input type=text wicket:id=word/
input type=submit value=Enter wicket:id=submitButton/
/form
span wicket:id=feedbackFEEDBACK/span
/html


HomePage.java

import org.apache.wicket.PageParameters;
import org.apache.wicket.ajax.AjaxRequestTarget;
import org.apache.wicket.ajax.markup.html.form.AjaxFallbackButton;
import org.apache.wicket.markup.html.WebPage;
import org.apache.wicket.markup.html.basic.Label;
import org.apache.wicket.markup.html.form.Form;
import org.apache.wicket.markup.html.form.TextField;
import org.apache.wicket.markup.html.panel.FeedbackPanel;
import org.apache.wicket.model.CompoundPropertyModel;
import org.apache.wicket.model.IModel;
import org.apache.wicket.model.Model;

public class HomePage extends WebPage {

private static final long serialVersionUID = 1L;

private String word;

public HomePage(final PageParameters parameters) {

add(new
FeedbackPanel(feedback).setOutputMarkupPlaceholderTag(true));
// if the word 'blowup' is entered, this register a error message to
the page
IModel model = new Model() {
private static final long serialVersionUID = 1L;
@Override public Object getObject() {
if (word != null  word.equals(blowup)) {
word = -b-l-o-w-u-p-;
HomePage.this.fatal(This message is from model.);
return BAD THING HAPPENED IN MODEL;
} else {
return The word is: \ + (word == null ?  n u l l  :
word) + \;
}
}
};
add(new Label(message, model).setOutputMarkupId(true));
Form form = new Form(form, new CompoundPropertyModel(this));
add(form);
form.add(new TextField(word).setRequired(true));
AjaxFallbackButton submitButton = new
AjaxFallbackButton(submitButton, form) {
private static final long serialVersionUID = 1L;
@Override protected void onSubmit(AjaxRequestTarget target, Form
f) {
if (word != null  word.equals(blowup)) {
HomePage.this.error(This message is from onSubmit.
There should also be a message from model);
}
if (target != null) {
target.addComponent(HomePage.this.get(feedback));
// clear error feedback if any
target.addComponent(HomePage.this.get(message));
}
}

@Override protected void onError(AjaxRequestTarget target, Form
f) {
target.addComponent(HomePage.this.get(feedback));
// show updated error feedback
}
};
form.add(submitButton);
}
}



Enter the word 'blowup' and the Model registers a error message to the page,
this message doesn't show.


On Tue, Mar 18, 2008 at 12:19 PM, Igor Vaynberg [EMAIL PROTECTED]
wrote:

 On Tue, Mar 18, 2008 at 11:48 AM, Matthew Young [EMAIL PROTECTED] wrote:
   Do you mean this:
 
  WebMarkupContainer img = new WebMarkupContainer(thumbnail) {
  private static final long serialVersionUID = 1L;
  @Override protected void onComponentTag(final ComponentTag
 tag){
  super.onComponentTag(tag);
  tag.put(src, thumbnailUrl);
  }
  };

 yep

   2) When something goes wrong in Flickr, I throw a RuntimeException
 which
   blows up in ListView's model.getObject().  I want to Ajax update the
   feedbackPanel to show some error message. How can this be done?

 instead of throwing the exception call error(message) on the page and
 return an empty list from the model

 -igor

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




Re: My Wicket Flickr Demo a la Ruby On Rails

2008-03-18 Thread Matthew Young
Hi,

How to make HybridUrlCodingStrategy work on home page if my
contextpath=/?  HybridUrlCodingStrategy doesn't allow mapping /.

On Tue, Mar 18, 2008 at 11:52 AM, Matej Knopp [EMAIL PROTECTED] wrote:

 Hi,

 you can mount your page using HybridUrlCodingStrategy. Then it should
 automatically redirect to URL that has page instance information in
 it.

 -Matej

 On Tue, Mar 18, 2008 at 7:48 PM, Matthew Young [EMAIL PROTECTED] wrote:
  Thank you Matej and Igor.  I learned several new things.
  IAjaxCallDecorator
   is very cool and I did not realize wicket:link works on stylesheet
 ref,
   too. The wiki here:
 
 http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html#Wicket%2527sXHTMLtags-WicketTags
   make it seem like it only work with a href and img src.
 
   Igor: I'm not very on this one (src wmc):
 
 
you can just create an anon subclass of src wmc and subclass
   oncomponenttag() directly and save some space.
 
   Do you mean this:
 
  WebMarkupContainer img = new WebMarkupContainer(thumbnail) {
  private static final long serialVersionUID = 1L;
  @Override protected void onComponentTag(final ComponentTag
 tag){
  super.onComponentTag(tag);
  tag.put(src, thumbnailUrl);
  }
  };
 
 
   == I have a couple of questions: ==
 
   In Ajax mode, the browser address always show:
 
  http://localhost:8080
 
   so if I refresh, I get a new page, not the same existing page.  How can
 I
   have the address like this:
 
  http://localhost:8080/?wicket:interface=:0:1:::
 
   so on refresh I get the same page (like in non-Ajax mode)?
 
   2) When something goes wrong in Flickr, I throw a RuntimeException
 which
   blows up in ListView's model.getObject().  I want to Ajax update the
   feedbackPanel to show some error message. How can this be done?
 
   Thank you very much.
 
 
   On Mon, Mar 17, 2008 at 3:15 PM, Igor Vaynberg [EMAIL PROTECTED]
 
   wrote:
 
 
 
   there are a couple of things i would change
   
1) add(new StyleSheetReference(pageCss, getClass(), flickr.css));
   
do you really need that? can you not simply put link tag inside
wicket:link tags?
   
2) // Initially there is no photo to display so add a temporary place
holder component to make Wicket happy
   
you dont need to do that, make loadable detachable model that is
pulling image links return an empty list if tags string is empty,
 that
way you add the listview right away and dont need that replace mambo
jumbo
   
3) Photo photo = (Photo) item.getModelObject(); item.add(new
Thumbnail(t, photo));
   
im not a big fan of that, why not simply item.add(new Thumbnail(t,
item.getModel()));
   
it makes code simpler, you dont load the model object needlessly, and
it makes thumbnail more flexible by taking an imodel.
   
4) img.add(new SimpleAttributeModifier(src, photo.getSmallSquareUrl
 ()));
   
you can just create an anon subclass of src wmc and subclass
oncomponenttag() directly and save some space.
   
pretty sweet tutorial though, thanks
   
-igor
   
   
On Mon, Mar 17, 2008 at 1:04 PM, Matthew Young [EMAIL PROTECTED]
 wrote:
 Hi, I am new to Wicket and to help me learn, I created a Wicket
 version
of
  the Flickr demo like the one on the Ruby on Rails site seen here
  http://www.rubyonrails.org/screencasts. I put my version in my
 blog
here:
  http://limboville.blogspot.com/2008_03_01_archive.html.  Please
 take a
look
  and give me some feedback.

  Thanks!

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



 --
 Resizable and reorderable grid components.
 http://www.inmethod.com

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




Re: My Wicket Flickr Demo a la Ruby On Rails

2008-03-18 Thread Jonathan Locke


this looks like it's probably cool, but there's no audio and the video size
is such that i can't read anything.


MYoung wrote:
 
 Hi, I am new to Wicket and to help me learn, I created a Wicket version of
 the Flickr demo like the one on the Ruby on Rails site seen here
 http://www.rubyonrails.org/screencasts. I put my version in my blog here:
 http://limboville.blogspot.com/2008_03_01_archive.html.  Please take a
 look
 and give me some feedback.
 
 Thanks!
 
 

-- 
View this message in context: 
http://www.nabble.com/My-Wicket-Flickr-Demo-a-la-Ruby-On-Rails-tp16106896p16135954.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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



My Wicket Flickr Demo a la Ruby On Rails

2008-03-17 Thread Matthew Young
Hi, I am new to Wicket and to help me learn, I created a Wicket version of
the Flickr demo like the one on the Ruby on Rails site seen here
http://www.rubyonrails.org/screencasts. I put my version in my blog here:
http://limboville.blogspot.com/2008_03_01_archive.html.  Please take a look
and give me some feedback.

Thanks!


Re: My Wicket Flickr Demo a la Ruby On Rails

2008-03-17 Thread Matej Knopp
Hi,

that's certainly a very nice tutorial! You could consider
IAjaxCallDecorator instead of directly modyfing the onclick attribute.
See AjaxButton#getAjaxCallDecorator();

-Matej

On Mon, Mar 17, 2008 at 9:04 PM, Matthew Young [EMAIL PROTECTED] wrote:
 Hi, I am new to Wicket and to help me learn, I created a Wicket version of
  the Flickr demo like the one on the Ruby on Rails site seen here
  http://www.rubyonrails.org/screencasts. I put my version in my blog here:
  http://limboville.blogspot.com/2008_03_01_archive.html.  Please take a look
  and give me some feedback.

  Thanks!




-- 
Resizable and reorderable grid components.
http://www.inmethod.com

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



Re: My Wicket Flickr Demo a la Ruby On Rails

2008-03-17 Thread Igor Vaynberg
there are a couple of things i would change

1) add(new StyleSheetReference(pageCss, getClass(), flickr.css));

do you really need that? can you not simply put link tag inside
wicket:link tags?

2) // Initially there is no photo to display so add a temporary place
holder component to make Wicket happy

you dont need to do that, make loadable detachable model that is
pulling image links return an empty list if tags string is empty, that
way you add the listview right away and dont need that replace mambo
jumbo

3) Photo photo = (Photo) item.getModelObject(); item.add(new
Thumbnail(t, photo));

im not a big fan of that, why not simply item.add(new Thumbnail(t,
item.getModel()));

it makes code simpler, you dont load the model object needlessly, and
it makes thumbnail more flexible by taking an imodel.

4) img.add(new SimpleAttributeModifier(src, photo.getSmallSquareUrl()));

you can just create an anon subclass of src wmc and subclass
oncomponenttag() directly and save some space.

pretty sweet tutorial though, thanks

-igor


On Mon, Mar 17, 2008 at 1:04 PM, Matthew Young [EMAIL PROTECTED] wrote:
 Hi, I am new to Wicket and to help me learn, I created a Wicket version of
  the Flickr demo like the one on the Ruby on Rails site seen here
  http://www.rubyonrails.org/screencasts. I put my version in my blog here:
  http://limboville.blogspot.com/2008_03_01_archive.html.  Please take a look
  and give me some feedback.

  Thanks!


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



Re: My Wicket Flickr Demo a la Ruby On Rails

2008-03-17 Thread Fernando Wermus
Which is the name of the embebed Eclipse browser you are using?

On Mon, Mar 17, 2008 at 7:15 PM, Igor Vaynberg [EMAIL PROTECTED]
wrote:

 there are a couple of things i would change

 1) add(new StyleSheetReference(pageCss, getClass(), flickr.css));

 do you really need that? can you not simply put link tag inside
 wicket:link tags?

 2) // Initially there is no photo to display so add a temporary place
 holder component to make Wicket happy

 you dont need to do that, make loadable detachable model that is
 pulling image links return an empty list if tags string is empty, that
 way you add the listview right away and dont need that replace mambo
 jumbo

 3) Photo photo = (Photo) item.getModelObject(); item.add(new
 Thumbnail(t, photo));

 im not a big fan of that, why not simply item.add(new Thumbnail(t,
 item.getModel()));

 it makes code simpler, you dont load the model object needlessly, and
 it makes thumbnail more flexible by taking an imodel.

 4) img.add(new SimpleAttributeModifier(src, photo.getSmallSquareUrl()));

 you can just create an anon subclass of src wmc and subclass
 oncomponenttag() directly and save some space.

 pretty sweet tutorial though, thanks

 -igor


 On Mon, Mar 17, 2008 at 1:04 PM, Matthew Young [EMAIL PROTECTED] wrote:
  Hi, I am new to Wicket and to help me learn, I created a Wicket version
 of
   the Flickr demo like the one on the Ruby on Rails site seen here
   http://www.rubyonrails.org/screencasts. I put my version in my blog
 here:
   http://limboville.blogspot.com/2008_03_01_archive.html.  Please take a
 look
   and give me some feedback.
 
   Thanks!
 

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




-- 
Fernando Wermus.