[Wicket-user] Any hint for dynamic html data?

2005-12-06 Thread Ingram Chen
Dear all,    We have a requirement which needs to load plain html data from database (CLOB)and then a user can directly view loaded html page via click a hyperlink on the page. I think the concept is similar to DynamicImageResource, but have no idea how to do it with plain text.Any help is appreci

Re: [Wicket-user] Anonymous subclasses of Model: bad or not? Page versioning?

2005-12-06 Thread Christian Essl
I think they are wicket-specific, because where outside of wicket would you need a wicket interface? And if you implement it yourself you will have to think of versioning, otherwise you will have to think of versioning everytime you just use it. For now I'd say have for POJO IFilterLocator a r

RE: [Wicket-user] Basic CSS and tags

2005-12-06 Thread David Leangen
> I'll add this to the wiki to try to make it a bit clearer > for others, too. Updated the wiki. http://www.wicket-wiki.org.uk/wiki/index.php/JavaScript Would be great if others could verify the accuracy of the contents. Cheers, Dave --

RE: [Wicket-user] Basic CSS and tags

2005-12-06 Thread David Leangen
I LOVE this community! Always get great replies, even for simple things. Thanks! Comments inline. > > My goal is to have a different css page depending on the l10n, > > client type, or perhaps other requirements. This is my border: > The wicket:head tag exists for a different reason. You ca

Re: [Wicket-user] Anonymous subclasses of Model: bad or not? Page versioning?

2005-12-06 Thread Johan Compagner
I still think we need just an interface:IVersionablewith 2 methods:Serializeable getVersionObjectsetVersionObject(Serializeable)Then we must make a choice.. Models that don't implement this are cloned like we currently do or don't we do anything? Most models in a detached state just (or should) sto

Re: [Wicket-user] Anonymous subclasses of Model: bad or not? Page versioning?

2005-12-06 Thread Igor Vaynberg
I guess the question is do we want to infact make it something wicket-specific. right now its just an ordinary pojo you can use anywhere you like. but if we roll the versioning logic into it, it really does become locked to wicket. that is why i struggled to find a way to keep versioning out of it

Re: [Wicket-user] To SSL And Back

2005-12-06 Thread Christian Essl
I'd take a look at Page.urlFor()->urlPrefix(). However I do not know how this plays together with the new refactorings. Christian On Tue, 6 Dec 2005 15:37:24 -0600, Nick Heudecker <[EMAIL PROTECTED]> wrote: Okay. I'm guessing this would impact WebPage and possibly the Link class. Anything

Re: [Wicket-user] Anonymous subclasses of Model: bad or not? Page versioning?

2005-12-06 Thread Christian Essl
On Tue, 6 Dec 2005 12:25:23 -0800, Igor Vaynberg <[EMAIL PROTECTED]> wrote: So to summarize your idea it would be like this class SingleSortState IChangeRecorder recorder; SortState(IChangeRecorder) {...} setPropertyState(...) { recorder.addChange( new Change() {...} ) } Order

Re: [Wicket-user] To SSL And Back

2005-12-06 Thread Nick Heudecker
Okay.  I'm guessing this would impact WebPage and possibly the Link class.  Anything else you think I should look at?On 12/6/05, Eelco Hillenius < [EMAIL PROTECTED]> wrote:I'm a bit tied up at the moment, but patches would be welcome :) EelcoOn 12/6/05, Nick Heudecker <[EMAIL PROTECTED]> wrote:> I'

Re: [Wicket-user] To SSL And Back

2005-12-06 Thread Michael Jouravlev
On 12/6/05, Nick Heudecker <[EMAIL PROTECTED]> wrote: > I don't think redirecting to > an HTTPS page would work in checkAccess() because I believe form properties > from a POST would be lost. Unless you redirect with 307 which is supported by modern browsers (umm, differently). But in this case th

Re: [Wicket-user] Anonymous subclasses of Model: bad or not? Page versioning?

2005-12-06 Thread Igor Vaynberg
So to summarize your idea it would be like thisclass SingleSortState   IChangeRecorder recorder;  SortState(IChangeRecorder) {...}  setPropertyState(...) {  recorder.addChange( new Change() {...} )    }OrderByLink { onclick () { getState().setProperty(...); } }this has the same net affect as Or

Re: [Wicket-user] Anonymous subclasses of Model: bad or not? Page versioning?

2005-12-06 Thread Igor Vaynberg
As far as I know all Change(s) get recorded through the component in thePage's versionManager which on the automatic version rewinde just executes all the Change.undo(). Where the Change comes from, what it does and howit get's there is not important. IMO it would work for Models as forComponents (

Re: [Wicket-user] To SSL And Back

2005-12-06 Thread Eelco Hillenius
I'm a bit tied up at the moment, but patches would be welcome :) Eelco On 12/6/05, Nick Heudecker <[EMAIL PROTECTED]> wrote: > I'd like to either see something like WebPage.isSecure() or > WebPage.getScheme(), like Christian suggested. I don't think redirecting to > an HTTPS page would work in

Re: [Wicket-user] Basic CSS and tags

2005-12-06 Thread Eelco Hillenius
I just finished more advanced browser/ client capabilities detection. If anyone wants to take a look at it, I added an example in wicket-examples called HelloBrowser. It uses Javascript to detect browser properties, but it has a fallback in case javascript is not supported (e.g. because of security

Re: [Wicket-user] To SSL And Back

2005-12-06 Thread Nick Heudecker
I'd like to either see something like WebPage.isSecure() or WebPage.getScheme(), like Christian suggested.  I don't think redirecting to an HTTPS page would work in checkAccess() because I believe form properties from a POST would be lost.  On 12/6/05, Christian Essl <[EMAIL PROTECTED]> wrote: The

Re: [Wicket-user] To SSL And Back

2005-12-06 Thread Christian Essl
There was some discussion on the lists where Phil recommended a method WebPage.isSecure() which than indicates to make redirect to a https URL. I don't see this method, because I think you can implement it yourself with overrideing checkAcess() and than redirect yourself if no https (see http:/

Re: [Wicket-user] Anonymous subclasses of Model: bad or not? Page versioning?

2005-12-06 Thread Christian Essl
On Tue, 6 Dec 2005 08:47:23 -0800, Igor Vaynberg <[EMAIL PROTECTED]> wrote: On 12/5/05, Christian Essl <[EMAIL PROTECTED]> wrote: Hi, I've just checked out the new version. Thanks for the work. Here is my feedback: I think the 'FeatureModels' like ISortState should record the StateChanges

Re: [Wicket-user] To SSL And Back

2005-12-06 Thread Eelco Hillenius
I don't know. What is the main problem you are having (hard coding url's probably), and do you have an idea of how support should look like? For instance, would it (ssl/ normal) be something you could configure your page maps with? Any other people been doing this? How do competing frameworks (non

Re: [Wicket-user] Is "back button" supported in wicket-contrib-dojo-examples

2005-12-06 Thread Andrew Lombardi
Martijn, grab the G4 optimized version of Firefox ... I've been a staunch supporter of safari on my powerbook for over a year and a half .. and this optimized version, called DeerPark i think ... rocks On Dec 5, 2005, at 10:56 PM, Martijn Dashorst wrote: Just for the record, Google's back

[Wicket-user] To SSL And Back

2005-12-06 Thread Nick Heudecker
Is there a recommended way, within Wicket, to move a user from HTTP to HTTPS for one or several pages, then move them back to HTTP?  This is handled within Struts by the SSLEXT package.  Thanks for your time.

Re: [Wicket-user] Is "back button" supported in wicket-contrib-dojo-examples

2005-12-06 Thread Ruud Booltink
Hi all [quote] It is probably possible, but they didn't think about it. So... Marco and Ruud, did you look at support for the backbutton/ bookmarkability? [\qoute] We have looked at the backbuttonsupport. But due to our tight school scedule we haven't implemented that yet. If we can find any