Hi,

I think you need to do this in a higher level.
Instead of making FeedpackPanel aware of GAE, I suggest you to make a
custom ISessionStore that relies (e.g. is being stored) on GAE.
Wicket's Session is stored as an attribute in the HttpSession. This is done
in the default impl of ISessionStore - HttpSessionStore.




On Mon, Feb 4, 2013 at 12:58 PM, Ian Marshall <ianmarshall...@gmail.com>wrote:

> I am having trouble with intermittently missing Wicket session flash
> messages. I refer to my post on StackOverflow at:
>
>
>
> http://stackoverflow.com/questions/14344740/intermittently-missing-wicket-session-flash-messages
>
> I would like to try to fix my problem by overriding FeedbackPanel to use
> GAE/J's memory cache in addition to the session, in order to "fill in"
> flash
> messages missing from the session with those in the GAE/J memory cache.
>
> I failed in my attempt since, in my inexperienced view, the required
> methods
> in FeedbackPanel were declared final.
>
> Is there a way for me to override FeedbackPanel (or otherwise) to use a
> complementary store in addition to the session, and for me to "fill in" any
> flash messages that I deem to be missing?
>
>
> Java code
> ---------
>
>
> HTML mark-up
> ------------
>
>
> My software environment
> -----------------------
>   Web framework: Apache Wicket 6.5.0
>   Web server: Google App Engine for Java version 1.7.4
>   Java version: 1.6.0_37; Java HotSpot(TM) Client VM 20.12-b01
>   Operating system: Microsoft Windows XP version 5.1 running on x86
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Want-to-override-FeedbackPanel-to-use-GAE-J-memcache-in-addition-to-the-session-tp4656047.html
> Sent from the Users forum 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
>
>


-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com <http://jweekend.com/>

Reply via email to