Re: Transparent FB auth from cookie?

2010-07-29 Thread Anh
Works lovely, thanks Igor On Wed, Jul 28, 2010 at 8:25 AM, Igor Vaynberg wrote: > RequestCycle#onBeginRequest() > > -igor > > On Tue, Jul 27, 2010 at 9:02 PM, Anh <7za...@gmail.com> wrote: >> Hi, >> >> Having trouble with how this would best be done in Wick

Re: Transparent FB auth from cookie?

2010-07-28 Thread Anh
Yes, though this didn't see "right" to me. I can certainly try this though. Thanks On Wed, Jul 28, 2010 at 7:02 AM, Don Ferguson wrote: > Do you have a base page that the others inherit from?  That would be the > place to do it... > > On Jul 27, 2010, at

Transparent FB auth from cookie?

2010-07-27 Thread Anh
Hi, Having trouble with how this would best be done in Wicket: I have a Facebook OAuth token, which I use to request data from FB API and then assemble a User object. What I'd like to do is store this token in a Cookie, and whenever the user requests any page in my Wicket app, I'd like to reasse

Re: Internationalization on panels

2010-07-23 Thread Anh
Yes On Fri, Jul 23, 2010 at 12:12 AM, Josh Kamau wrote: > Hi team > > Can i put internationalization properties files per panel or i have to do it > per page. > > eg. i have MyPanel.html, MyPanel.java, can i have MyPanel.properties to have > messages for the panel? > > regards. > Josh >

Re: Animated page switch possible?

2010-07-22 Thread Anh
itely > need some client-side JS.  The back button would probably cause some > troubles, though. > > On Thu, Jul 22, 2010 at 3:49 PM, Anh <7za...@gmail.com> wrote: >> I personally don't have an example, but yes I think this would have to >> involve Ajax in some way.

Re: Animated page switch possible?

2010-07-22 Thread Anh
I personally don't have an example, but yes I think this would have to involve Ajax in some way. I have done similar in an app, but only for switching out the main panel. E.g. I created a "setResponsePanel (...)" method in my page hierarchy. Perhaps this could be used to mimic a full page transi

Re: Multiple columns using with last one on each row different

2010-07-13 Thread Anh
Not familiar with the blueprint framework, but is there some reason you could not use whatever:last-child { } CSS pseudo-selector? On Tue, Jul 13, 2010 at 7:16 PM, Chris Colman wrote: > I'm using wicket to generate HTML and Compass/Blueprint to manage the > CSS. > > I have a multi column layou

Re: Animating the opening of a modal window

2010-07-05 Thread Anh
Please disregard my last question - I looked at WiQuery and looks perfect for my needs. I had wrongly assumed it was a fork of Wicket that used jQuery as its ajax implementation. Thanks On Mon, Jul 5, 2010 at 5:21 PM, Anh <7za...@gmail.com> wrote: > Hi Pedro, > > Do you or anyo

Re: Animating the opening of a modal window

2010-07-05 Thread Anh
Hi Pedro, Do you or anyone else have an example of this? I have the same need as Chris, and would like to avoid a Wicket integration project in order to use jQuery animations. I would like to be able to use simple jQuery animations when adding/remove components, or a modal lightbox. I'm a littl

Re: Model for simple UI state? (Apart from 'regular' Model)

2010-07-05 Thread Anh
elative urls the problem remains > > On Mon, Jul 5, 2010 at 4:10 PM, Anh <7za...@gmail.com> wrote: > >> Hi, >> >> I'm having trouble on how to best implement something simple: >> >> I'm frequently finding the need to have 2 Models for a component

Model for simple UI state? (Apart from 'regular' Model)

2010-07-05 Thread Anh
Hi, I'm having trouble on how to best implement something simple: I'm frequently finding the need to have 2 Models for a component: One Model is the bound data object (persisted), The other is lightweight UI state, such as whether a section is expanded, etc. The UI state is not needed outside of

Re: GMap2 and adding LocalSearch

2010-06-26 Thread Anh
b/examples/gmap/search/HomePage.java > > Sven > > > On 06/26/2010 08:58 PM, Anh wrote: >> >> Either is fine - I basically need a search box in a Gmap component to help >> people find the location they are looking for. >> >> Is either approach easy

Re: GMap2 and adding LocalSearch

2010-06-26 Thread Anh
Either is fine - I basically need a search box in a Gmap component to help people find the location they are looking for. Is either approach easy to integrate with the existing Gmap2 component? Thanks On Jun 26, 2010, at 11:37 AM, Sven Meier wrote: > Hi, > > LocalSearch is deprecated: >