RE: Forwarding in 1.5 not working like in 1.4

2011-10-08 Thread Chris Colman
the user's browser address field. >-Original Message- >From: Chris Colman [mailto:chr...@stepaheadsoftware.com] >Sent: Saturday, 8 October 2011 10:52 PM >To: users@wicket.apache.org >Subject: RE: Forwarding in 1.5 not working like in 1.4 > >Could it be that Wicket s

RE: Forwarding in 1.5 not working like in 1.4

2011-10-09 Thread Chris Colman
>It looks like either javax.servlet.forward.url is not set as attribute >in the HttpServletRequest or Wicket doesn't use it. >I think it is the latter. > >On Sat, Oct 8, 2011 at 11:56 PM, Chris Colman > wrote: >> Looks like the redirect is due to the PRG strategy implementation so it's >

Settting of PageManagerProvider is overridden in debug mode

2011-10-10 Thread Chris Colman
always sets the PageManagerProvider to the DebugPageManagerProvider, overriding any setting made in the derived class' init() method. I need a custom PageManagerProvider in both debug and production modes. Is there any way around this? Yours sincerely, Chris Colman Pagebloom Team L

RE: Settting of PageManagerProvider is overridden in debug mode

2011-10-10 Thread Chris Colman
vider()); } From: Chris Colman [mailto:chr...@stepaheadsoftware.com] Sent: Tuesday, 11 October 2011 8:24 AM To: users@wicket.apache.org Subject: Settting of PageManagerProvider is overridden in debug mode In debug mode, setting the page manager provider like

RE: Is it possible to turn off page serialization in 1.5?

2011-10-10 Thread Chris Colman
I just turned off serializing using: private class NullPageManagerProvider implements IPageManagerProvider { public IPageManager get(IPageManagerContext context) { return new NullPageManager(context); } } But now the back button goes back one page only. Is

RE: OT: slides from JavaOne 2011 about web frameworks comparison

2011-10-11 Thread Chris Colman
Wicket is clearly the best framework as we all know :) but newcomers might not think that with the "retro style" Wicket website. It could really benefit from an artistic/design update. I'd offer to help but as a software engineer all my design skills exist below the presentation layer :) >-Ori

RE: jqWicket or wiQuery

2011-10-12 Thread Chris Colman
Did I read somewhere recently that Wicket itself was starting to use some of jQuery directly for some of its js? If the use of jQuery directly by Wicket were to become more pervasive would that mean we would not need a separate jqWicket or wiQuery or is the Wicket library only using a small subset

RE: Forwarding in 1.5 not working like in 1.4 [Fixed - was using older 1.5 jars]

2011-10-13 Thread Chris Colman
After creating a QuickStart and not being able to reproduce the problem I discovered that my original app was linking with an earlier 1.5 snapshot. Once I linked with the latest snapshot jars it magically worked - yeehah! >-Original Message- >From: Chris Colman [mail

Efficiency of 1.5 MountMapper weighted/matching algorithm

2011-10-15 Thread Chris Colman
ve usually leads to significant performance improvements. Yours sincerely, Chris Colman Pagebloom Team Leader, Step Ahead Software pagebloom - your business & your website growing together Sydney: (+61 2) 9656 1278 Canberra: (+61 2) 6100 2120 Email: chr...@stepahead.com.au

RE: Efficiency of 1.5 MountMapper weighted/matching algorithm

2011-10-16 Thread Chris Colman
hing algorithm > >On Sat, Oct 15, 2011 at 8:28 PM, Chris Colman >wrote: > >> Obviously this isn't a problem during debug with a single user but when >> 1000s of pages need to be rendered each minute the time spent performing >the >> above operations may becom

RE: Efficiency of 1.5 MountMapper weighted/matching algorithm

2011-10-17 Thread Chris Colman
having, in the above example, 2800 objects allocated and then dereferenced with every page render. > >On Sun, Oct 16, 2011 at 1:27 PM, Chris Colman > wrote: >> I'll try to get some time to build a test to get some timings. >> >>>-Original Message- >>>Fro

RE: Efficiency of 1.5 MountMapper weighted/matching algorithm

2011-10-18 Thread Chris Colman
an easily handle millions per second. > > >In other words: don't add caching unless you are willing to measure the >throughput gains (on the intended target systems). > >Regards, > Erik. > >-- >Erik van Oosten >http://day-to-day-stuff.blogspot.com > >

Occasional "Software caused connection abort: socket write error" with 1.5

2011-10-19 Thread Chris Colman
Occasionally over the last few days/weeks testing our 1.5 migration I've seen the following exception. I'm wondering if anyone has any idea of what's causing it or have seen something similar. We've never seen it before with Wicket 1.4 It only happens when I click a link while it is still process

RE: Occasional "Software caused connection abort: socket write error" with 1.5

2011-10-20 Thread Chris Colman
I have discovered that this only occurs when running our app inside IntelliJ. When we run it in tomcat directly, outside any IDE, I can't get the problem to occur. Hopefully the problem will not appear at all when running on the production server. >-Original Message- >From: C

RE: Occasional "Software caused connection abort: socket write error" with 1.5

2011-10-20 Thread Chris Colman
I haven't tested other browsers but the problem is occurring for me on FireFox 7.0.1. >my application has same problem, but it only throw socket error when IE 6 - >8 >brower, chrome and IE9 has no the problem. > >here is my question: >http://apache-wicket.1842946.n4.nabble.com/Is-there-ModalWindo

RE: Drilling Application.getHomePage()

2011-10-20 Thread Chris Colman
We do something similar but use /content/value Then you can mount the single page at "/content" and then treat what follows as a parameter which determines how that page is rendered. >-Original Message- >From: Arjun Dhar [mailto:dhar...@yahoo.com] >Sent: Friday, 21 October 2011 5:20 PM

RE: Big Problem: BookmarkablePageLinks, AjaxLinks and BackButton

2011-10-20 Thread Chris Colman
1.4.8 is a very old version. Maybe try using the latest 1.4.x version and see if the problem hasn't already been fixed. >-Original Message- >From: MattyDE [mailto:ufer.mar...@gmail.com] >Sent: Friday, 21 October 2011 5:37 PM >To: users@wicket.apache.org >Subject: Big Problem: BookmarkableP

RE: Occasional "Software caused connection abort: socket write error" with 1.5

2011-10-21 Thread Chris Colman
I suspect that will be our problem too. With simple quickstart the pages do not take very long to render and so impossible to click links fast enough such that you can click on one before the last link has completed rendering - maybe we could add a delay in the rendering somewhere or do a big datab

RE: Forwarding in 1.5 not working like in 1.4

2011-10-21 Thread Chris Colman
I've just noticed that some of the .js resources seem to be loading from different addresses. I'm using 1.5.2 with the UrlRenderer patch to fix the forwarding issue. Depending on the page it appears like the same .js is requested at two different URLs. Presumably the browser will perform a downloa

RE: Forwarding in 1.5 not working like in 1.4

2011-10-22 Thread Chris Colman
ing in 1.5 not working like in 1.4 > >this is a general problem with forwarding. instead of forwarding why >dont you just 302? > >-igor > >On Fri, Oct 21, 2011 at 11:33 PM, Chris Colman > wrote: >> I've just noticed that some of the .js resources seem to be loading

inmethod grid - Is is possible to have column with AJAX link to perform some action?

2011-10-23 Thread Chris Colman
Is it possible in inmethod grid to create a column where each row contains a link (nice to have an icon even instead of text) that a user can click on to initiate an AJAX event such as opening a modal dialog? If so is there a dedicated column property class for this already or do we need to create

RE: inmethod grid - Is is possible to have column with AJAX link to perform some action?

2011-10-24 Thread Chris Colman
ethod grid - Is is possible to have column with AJAX link >to perform some action? > >Hi, > >You can create a column that renders a Panel and this panel can >contain anything you need. > >On Mon, Oct 24, 2011 at 6:03 AM, Chris Colman > wrote: >> Is it possible in

RE: Enhancements from Logica Feedback

2011-10-24 Thread Chris Colman
>Chris, > > Did you send this to the wrong email address or did I miss something? > Whoops! Please disregard this email - went to the wrong email address. >-- >Jeremy Thomerson >http://wickettraining.com >*Need a CMS for Wicket? Use Brix! http://brixcms.org* ---

Can an AJAX event navigate to a page using a BookmarkablePageLink

2011-10-28 Thread Chris Colman
Are BookmarkablePageLinks only for use with tags use or is it possible to catch an AJAX event and use the BookmarkablePageLink as the 'destination specifier' for the navigation or does navigation under AJAX always have to be via setReponsePage()? Chris

RE: Can an AJAX event navigate to a page using a BookmarkablePageLink

2011-10-28 Thread Chris Colman
have a bpl available so I was trying to leverage the data I had already built up in that rather than construct a PageParameters with all the required parameters. > >-igor > > >On Fri, Oct 28, 2011 at 2:51 PM, Chris Colman > wrote: >> Are BookmarkablePageLinks only f

RE: Wrong path for resources on redirected login page

2011-10-30 Thread Chris Colman
> ... >As I said I guess this could be an example of this issue, though I'm not >100% sure: >https://issues.apache.org/jira/browse/WICKET-4138 > >If that is the case, do you know when this issue will be fixed? I submitted that JIRA issue and a patch has been provided as an attachment. The patch

Making a column 'Sortable' in inmethod datagrids

2011-11-01 Thread Chris Colman
Does anyone know how to make a column sortable in an inmethod datagrid. I saw a method called 'setReorderable' but calling that will true doesn't seem to produce the up/down arrow in the column header that I would expect. Any suggestions? Yours sincerely, Chris Colman

RE: Making a column 'Sortable' in inmethod datagrids

2011-11-01 Thread Chris Colman
tuff/core/tree/master/jdk-1.5-parent/inmethod - >grid-parent/inmethod-grid- >examples/src/main/java/com/inmethod/grid/examples/pages/datagrid > >Attila > >2011/11/1 Chris Colman > >> ** ** >> >> Does anyone know how to make a column sortable in an

RE: Apache Wicket is a Flawed Framework

2011-11-18 Thread Chris Colman
>Breaks POJOS: A real POJO does not need to implement an interface or >extend a class. A object oriented framework is a foundation on which you extend your application. Back in the C++ world there was MFC, OWL, .Net, etc., In the Java world there was AWT and then Swing etc.,. All event driven, ob

RE: Apache Wicket is a Flawed Framework

2011-11-19 Thread Chris Colman
>Another area I am not keen with at all with wicket which is mentioned is >having to build the object tree code the same way the html page is. With >element Ids, I am a little confused as to why we cant simply insert the >component using the element id and let wicket figure out where to stick it >o

Back button showing a page with stale data

2011-12-25 Thread Chris Colman
alue which is incorrect. Is there a best practice or standard way to deal with this in Wicket so that when the user presses 'Back' they only see fresh data and not stale data? Do we need to intercept the browser's back button mechanics via JavaScript to force a refresh of the d

Can't build wicket from updated trunk

2012-01-01 Thread Chris Colman
issing for javax.inject:javax.inject:jar Have I done something wrong or do I need to upgrade to a later JDK (currently 1.6.0_29-b11)? Yours sincerely, Chris Colman Pagebloom Team Leader, Step Ahead Software pagebloom - your business & your website growing together Sydney: (+61 2) 9656 1278 Canberra: (+6

RE: Can't build wicket from updated trunk

2012-01-01 Thread Chris Colman
;http://git-wip-us.apache.org/repos/asf/wicket > >-igor > >On Sun, Jan 1, 2012 at 6:09 PM, Chris Colman >wrote: > >> ** ** >> >> I have done a recent update on my working copy of the trunk and mvn clean >> install yields: >> >> ** ** >&g

RE: Can't build wicket from updated trunk

2012-01-01 Thread Chris Colman
wicket.apache.org >Subject: Re: Can't build wicket from updated trunk > >already moved. > >-igor > >On Sun, Jan 1, 2012 at 7:31 PM, Chris Colman > wrote: >> Is Wicket moving to git? >> >> Chris >> >>>-Original Message- >>>F

RE: Can't build wicket from updated trunk

2012-01-02 Thread Chris Colman
heap space for maven. >> >> Just run the following line prior building: >> >> snip >> set MAVEN_OPTS=-Xmx1024m -XX:MaxPermSize=128m >> snap #### >> >> That should bring you through. >> >> -matthias >> >> Am 02.01.2

RE: Can't build wicket from updated trunk

2012-01-02 Thread Chris Colman
>> set MAVEN_OPTS=-Xmx1024m -XX:MaxPermSize=128m >> snap >> >> That should bring you through. >> >> -matthias >> >> Am 02.01.2012 um 05:43 schrieb Chris Colman: >> >>> I cloned the wicket git repos and then checked out branch wic

Migrating 1.4->1.5. Need no page version parameters

2012-01-05 Thread Chris Colman
deployed the 1.5 version of the app. Yours sincerely, Chris Colman

RE: stateless, not versioned pages - session problem

2012-01-07 Thread Chris Colman
Not sure if I have an answer to your question but recently I asked how to turn off page versioning and was told to do: getRequestCycleSettings(). setRenderStrategy(IRequestCycleSettings.RenderStrategy.ONE_PASS_RENDER); which worked. The interesting thing was it was not necessary to call: get

RE: stateless, not versioned pages - session problem

2012-01-08 Thread Chris Colman
>> Not sure if I have an answer to your question but recently I asked how to >turn off page versioning and was told to do: >> >> getRequestCycleSettings(). >>  setRenderStrategy(IRequestCycleSettings.RenderStrategy.ONE_PASS_RENDER); > >Actually this just turns off the redirecting. The pages are sti

RE: stateless, not versioned pages - session problem

2012-01-08 Thread Chris Colman
>On Sun, Jan 8, 2012 at 11:31 AM, Chris Colman > wrote: >>>> Not sure if I have an answer to your question but recently I asked how >to >>>turn off page versioning and was told to do: >>>> >>>> getRequestCycleSettings(). >>>> > s

RE: stateless, not versioned pages - session problem

2012-01-09 Thread Chris Colman
v [mailto:mgrigo...@apache.org] >Sent: Monday, 9 January 2012 8:37 PM >To: users@wicket.apache.org >Subject: Re: stateless, not versioned pages - session problem > >On Sun, Jan 8, 2012 at 4:29 PM, Chris Colman > wrote: >>>On Sun, Jan 8, 2012 at 11:31 AM, Chris Colman >&g

Problem with relative URLs

2012-01-09 Thread Chris Colman
I'm having a problem with relative URLs. If the current page is: content/mypage/n1/p1/n2/fred And it contains a link to content/mypage/n1/p1/n2/jane The relative URL rendered to HTML is: ../../../../../../jane Which of course is wrong as the browser tries to jump to: jane instea

RE: Problem with relative URLs

2012-01-09 Thread Chris Colman
>> I looked at the URL renderer and it was returning just 'jane' instead of >> ../jane > >actually jane is correct and ../jane is incorrect. > >if the browser is on content/mypage/n1/p1/n2/fred > >then going to a relative url jane will produce > >content/mypage/n1/p1/n2/jane > >which is what you

RE: Problem with relative URLs

2012-01-09 Thread Chris Colman
>why is RelativePathPrefixHandler invoked on that tag? sounds a little >funky... > >-igor I'm using UrlPathPageParametersEncoder for backwards compatibility with 1.5 links. I'm not sure if that could be causing the funkiness of RelativePathPrefixHandler being invoked. Are BookmarkablePageLinks tr

RE: Problem with relative URLs

2012-01-09 Thread Chris Colman
Maybe the UrlRenderer should be returning ./jane instead of just jane. Hm. > > >On Mon, Jan 9, 2012 at 6:59 PM, Chris Colman > wrote: >>>why is RelativePathPrefixHandler invoked on that tag? sounds a little >>>funky... >>> >>>-igor >>

RE: Problem with relative URLs

2012-01-10 Thread Chris Colman
ve URLs > >wicket by default always generates relative urls. this is the >safest/easiest approach for fronting the app with a proxy, which most >people do... > >-igor > > >On Mon, Jan 9, 2012 at 6:59 PM, Chris Colman > wrote: >>>why is RelativePathPrefixHandler inv

RE: Problem with relative URLs

2012-01-10 Thread Chris Colman
>> Am I right in saying that RelativepathPrefixHandler should never even be >> applied to BookmarkablePageLink tags (and any classes derived from >> BookmarkablePageLink)? > >At least its source doesn't indicate that BPL should be treated specially. I've made some inroads: I got a quickstart to fa

RE: Problem with relative URLs

2012-01-10 Thread Chris Colman
The problem is related to non standard (i.e. "wicket") namespaces. In my quickstart if I change the namespace in all markup from "wicket" to "foobar" then the BPL which has only the last segment differing from the current page ends up producing an incorrect link to another page in the same path.

RE: Problem with relative URLs

2012-01-10 Thread Chris Colman
I've just submitted a JIRA issue with quickstart for this issue: https://issues.apache.org/jira/browse/WICKET-4330 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.a

Javascript resources and jsessionid

2012-01-11 Thread Chris Colman
on suffixed .js and the clean .js as two separate resources and do a second download of the .js. Hmmm, interesting. Again, this is not strictly a Wicket issue but I'd be interested to know what others think about this. Yours sincerely, Chris Colman Pagebloom Team Leader,

RE: Is it possible to set the session?

2012-01-11 Thread Chris Colman
Did you wan to get or set the session? Your subject said 'set' but the body asked about 'get'. >Hi, >It would be enough for me if I could get session by id. Is there a >possibility? > >-- >View this message in context: http://apache- >wicket.1842946.n4.nabble.com/Is-it-possible-to-set-the-session-

RE: Javascript resources and jsessionid

2012-01-11 Thread Chris Colman
ed to it. It would be good if we could stop that somehow. They have version numbers built into their names so the browser will never end up trying to use a 'stale' .js file. Regards Chris ____ From: Chris Colman [mailto:chr...@stepaheadsoftware.com] Sent

RE: Javascript resources and jsessionid - existing JIRA issue fixed in 1.4

2012-01-11 Thread Chris Colman
It would be good if we could stop that somehow. They have version >numbers built into their names so the browser will never end up trying >to use a 'stale' .js file. > >Regards >Chris > > > >From: Chris Colman [mailto

RE: Is it possible to set the session?

2012-01-11 Thread Chris Colman
I had the exact same 'can I SET the session' requirement today. I thought of dealing with search engine crawlers and their stateless view of the site by assigning the same session instance to each request from a given crawler to avoid creating a new session for every request they made. Well I achi

RE: Javascript resources and jsessionid

2012-01-11 Thread Chris Colman
>A use case: >Imagine that the management of the session in a cookie is disabled in >the web server config, so jsessionid is always encoded in the url. >If resources don't have the jsessionid in their url then a new >temporary Wicket and http sessions will be created and discarded for >each request

RE: Javascript resources and jsessionid

2012-01-11 Thread Chris Colman
>This may be light or heavy operation, depends on the actual Session impl. > >And in WicketFilter we do not know whether this is a request to a >package resource or to any other IResource impl which may need the >session. We have this info later. > >On Wed, Jan 11, 2012 at 2:

RE: Javascript resources and jsessionid

2012-01-11 Thread Chris Colman
icketFilter. >This may be light or heavy operation, depends on the actual Session impl. > >And in WicketFilter we do not know whether this is a request to a >package resource or to any other IResource impl which may need the >session. We have this info later. > >On Wed, Jan 1

RE: Javascript resources and jsessionid

2012-01-11 Thread Chris Colman
ion, depends on the actual Session >impl. >> >>And in WicketFilter we do not know whether this is a request to a >>package resource or to any other IResource impl which may need the >>session. We have this info later. >> >>On Wed, Jan 11, 2012 at 2:15 PM

RE: Javascript resources and jsessionid

2012-01-11 Thread Chris Colman
I just checked with 1.5.x and for stateless pages all bookmarkable page links do not incur the jsessionid suffix for a non cookie client. Once an Ajax link is added to the page however the jsessionid suffix appears on all links which makes sense as the page is no longer stateless once Ajax gets inv

RE: Javascript resources and jsessionid

2012-01-12 Thread Chris Colman
; Create a ticket please >> >> On Wed, Jan 11, 2012 at 11:32 PM, Chris Colman >> wrote: >>> I just checked with 1.5.x and for stateless pages all bookmarkable page >>> links do not incur the jsessionid suffix for a non cookie client. Once >>> an Ajax

RE: Javascript resources and jsessionid

2012-01-12 Thread Chris Colman
.@gmail.com] >Sent: Friday, 13 January 2012 8:13 AM >To: users@wicket.apache.org >Subject: Re: Javascript resources and jsessionid > >i remember this being fixed in 1.5 after the resource refactor... > >-igor > >On Thu, Jan 12, 2012 at 12:54 PM, Chris Colman > wrote: &g

RE: Javascript resources and jsessionid

2012-01-16 Thread Chris Colman
JIRI issue 4334 has fixed this now which is great. The next issue is that while Wicket is able to avoid establishing a session for requests for package resources it would be good if their URL made it easy for other filters (eg., Open Persistence Provider in View) to also ignore them to allow them

RE: Javascript resources and jsessionid

2012-01-16 Thread Chris Colman
caching.IResourceCachingStrategy#dec orat >eUrl. >> There you can tag them as you wish. >> >> On Mon, Jan 16, 2012 at 9:09 PM, Chris Colman >> wrote: >>> JIRI issue 4334 has fixed this now which is great. >>> >>> The next issue is that while W

RE: Javascript resources and jsessionid

2012-01-16 Thread Chris Colman
9:18 PM, Martin Grigorov >>>wrote: >>>> See >>>org.apache.wicket.request.mapper.BasicResourceReferenceMapper#mapHand le >> r >>>> >>>> All IStaticCacheableResource are passed to >>>> >>>org.apache.wicket.request.resource.c

Controlling URL of static cacheable resources

2012-01-16 Thread Chris Colman
ate ignore entry in the filter. Yours sincerely, Chris Colman Pagebloom Team Leader, Step Ahead Software pagebloom - your business & your website growing together Sydney: (+61 2) 9656 1278 Canberra: (+61 2) 6100 2120 Email: chr...@stepahead.com.au <mailto://ch

RE: Controlling URL of static cacheable resources

2012-01-16 Thread Chris Colman
Forget that last bit about wicketstuff not using the 'wicket' namespace for its resources. I was confused by some old files in the browser cache from Dec 2011. ____ From: Chris Colman [mailto:chr...@stepaheadsoftware.com] Sent: Tuesday, 17 January 2012

RE: Controlling URL of static cacheable resources

2012-01-16 Thread Chris Colman
exactly in wicketstuff do you mean ? We were still using 1.4 back in December so that makes sense. Sorry for the confusion. > >> >> ____ >> >> From: Chris Colman [mailto:chr...@stepaheadsoftware.com] >> Sent: Tuesday, 17 January 2012 8:4

RE: Controlling URL of static cacheable resources

2012-01-17 Thread Chris Colman
e resources > >Hi Chris, > >With IResourceCachingStrategy you can pre/suf-fix the resource name with >"my.namespace.static", for example. >This way your filter will be able to recognize it. It is the same as adding >the /static/ segment. Just at different place

JavaScript links - correct URL generated?

2012-01-17 Thread Chris Colman
Wicket rendered this page: http://www.myurl.com.au/content/newArticle/o/76429/ar/486 It is mounted at /content/newArticle using a UrlPathPageParametersEncoder And /o/76429/ar/486 are named paramters as per 1.4 style Wicket generates the following tag when it rendered the page: http://web

RE: JavaScript links - correct URL generated?

2012-01-17 Thread Chris Colman
links - correct URL generated? > >Are you still on 1.5-SNAPSHOT ? >This have been fixed with WICKET-4290 few days ago > >On Tue, Jan 17, 2012 at 3:35 PM, Chris Colman > wrote: >> Wicket rendered this page: >> >> http://www.myurl.com.au/content/newArticle/o/76429/a

RE: JavaScript links - correct URL generated?

2012-01-17 Thread Chris Colman
This was also no doubt caused by a naughty build script here which pulled in old versions of the wicket jars! >-Original Message- >From: Chris Colman [mailto:chr...@stepaheadsoftware.com] >Sent: Wednesday, 18 January 2012 6:32 AM >To: users@wicket.apache.org >Subject: RE: J

Auto Create of resource references fails

2012-01-17 Thread Chris Colman
/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/indi cator-ver-1326193494000.gif It is completely repeatable. Yours sincerely, Chris Colman Pagebloom Team Leader, Step Ahead Software pagebloom - your business & your website growing together Sydney: (+61 2) 9656 1278 Canberra: (+61 2) 6100 2120 Email:

RE: Best practice for returning to calling page after submitting a form page

2012-01-19 Thread Chris Colman
ser went to the form or will it use the page URL to perform a re-render and show any model updates that submitting the form may have caused? > > > >On Thu, Jan 19, 2012 at 2:39 AM, Chris Colman >wrote: > >> ** ** >> >> I often use modal forms/dialogs so this i

RE: Listing all the mounted pages

2012-01-28 Thread Chris Colman
That's the way we've done it too as in our app we have found the need to do a 'reverse lookup' of mounted path -> page class. >-Original Message- >From: lucaabbati [mailto:luca.abb...@gmail.com] >Sent: Sunday, 29 January 2012 5:40 AM >To: users@wicket.apache.org >Subject: Re: Listing all t

Strange form in a panel behaviour

2012-01-29 Thread Chris Colman
Chain.doFilter(ApplicationFilt erChain.java:206) at com.sas.av.model.context.UrlRedirectorFilter.doFilter(UrlRedirectorFilte r.java:77) Using latest snapshot as of about 1 hour ago when I pull all changes on wicket-1.5.x branch. Yours sincerely, Chris Colman Pagebloom Team Leader, St

RE: Strange form in a panel behaviour

2012-01-30 Thread Chris Colman
org.apache.catalina.core.ApplicationFilterChain.doFilter >> (ApplicationFilterChain.java:206) >> at com.sas.av.model.context.UrlRedirectorFilter.doFilter >> (UrlRedirectorFilter.java:77) >> >> ** ** >> >> Using latest snapshot as of about 1 hour ago when

RE: Configurable Resource's url (use CDN or not)

2012-01-30 Thread Chris Colman
Wow, that SimpleCDN tool looks pretty cool. >From a cursory glance at the doco it seems like they assume that anything that starts with: /wicket/resource/ is a static resource and that's what I've been doing also with good success. I suppose I just need to remember to avoid mounting any non sta

RE: Strange form in a panel behaviour

2012-01-30 Thread Chris Colman
uary 2012 3:29 PM >To: users@wicket.apache.org >Subject: Re: Strange form in a panel behaviour > >quickstart? > >-igor > >On Sun, Jan 29, 2012 at 8:18 PM, Chris Colman >wrote: > >> ** ** >> >> I have a form in a panel inside the home page and all of

RE: Cannot detect ModalWindow cancel

2012-02-01 Thread Chris Colman
In trying to solve your problem of determining how the user closed the form you might find the ModalX library in Wicketstuff useful. ModalX (Modal eXtensions) for Wicket (part of Wickestuff) provides a generic modal panel, modal form which you can simply extend to build your own modal panels, moda

RE: Cannot detect ModalWindow cancel - ModalX live demo

2012-02-02 Thread Chris Colman
04 AM >To: users@wicket.apache.org >Subject: Re: Cannot detect ModalWindow cancel > >Thanks for your help! I will look into this. > >On 02/01/2012 11:34 AM, Chris Colman wrote: >> In trying to solve your problem of determining how the user closed the >> form you might

RE: Problem DatePicker, ModalWindow and IE8

2012-02-09 Thread Chris Colman
I had a similar problem. After trying many things the only solution was to do as the devs suggested: make sure the ModalWindow that opens the modal with the form in it is ITSELF in a form. Not sure why this is the only way to get modal forms with DatePickers working on IE 8 - it just is. We fixed

Contributing comments to the head section

2012-02-10 Thread Chris Colman
upport different CSS templates that have different requirements for the 'wrapping comment'. Is this possible? Yours sincerely, Chris Colman Pagebloom Team Leader, Step Ahead Software pagebloom - your business & your website growing together Sydney: (+61 2) 9656 127

RE: Contributing comments to the head section

2012-02-10 Thread Chris Colman
place ${urlForCss} with the result of a call to urlFor(...). You can >also store this html as a text template, in your cms, etc. > >Bas > >Op 10-2-2012 21:41, schreef Chris Colman: >> >> We've been doing 'header contribution' for some time now and this &g

RE: Contributing comments to the head section

2012-02-10 Thread Chris Colman
rdcoded bit of html in which you >replace ${urlForCss} with the result of a call to urlFor(...). You can >also store this html as a text template, in your cms, etc. > >Bas > >Op 10-2-2012 21:41, schreef Chris Colman: >> >> We've been doing 'header contribution' fo

Wicket 'hook' point for page render timing

2012-02-10 Thread Chris Colman
r (or something like that) then I can write a simple timer that tracks how long each page takes to render. Yours sincerely, Chris Colman Pagebloom Team Leader, Step Ahead Software pagebloom - your business & your website growing together Sydney: (+61 2) 9656 1278 Canberra: (+61 2)

RE: Wicket 'hook' point for page render timing

2012-02-10 Thread Chris Colman
timing > >I did this with a simple servlet filter, then profiled individual service >calls within the slower pages. > >On Fri, Feb 10, 2012 at 7:03 PM, Chris Colman >wrote: > >> ** ** >> >> I'm interested in measuring the time taken to render each individual p

RE: Architectural question

2012-02-12 Thread Chris Colman
It sounds like you have a lot of layers/scaffolding (=high maintenance) in your design. The "exposed domain model" pattern was created to avoid all those extra layers (especially DAOs and DTOs) in recognition of the fact that for most applications they *feel* redundant and *seem* like code duplica

RE: Link URLs with JSessionID truncated

2012-02-12 Thread Chris Colman
If a user has disabled session cookies your Wicket app will still work fine using URL rewriting. If you stop the URL rewriting and give a message to people who have disabled cookies you will prevent a certain % of visitors from using your web app. I'm not sure what that % of people is but in the

StringResources in forms based on 'variation'

2012-02-12 Thread Chris Colman
I configure StringResources for forms using the FormClass.properties file and this works well. Different strings can be provided for lang, locale etc., Is it possible to provide a different string based on the markup 'variation' Yours sincerely, Chris Colman Pagebloom Team Le

RE: Link URLs with JSessionID truncated

2012-02-12 Thread Chris Colman
"Not found" errors are bad. What version of Wicket are you using? >-Original Message- >From: Ian Marshall [mailto:ianmarshall...@gmail.com] >Sent: Monday, 13 February 2012 8:41 AM >To: users@wicket.apache.org >Subject: RE: Link URLs with JSessionID truncated > >Hi Chris, > >I suppressed J

RE: StringResources in forms based on 'variation'

2012-02-12 Thread Chris Colman
erties file. From: Chris Colman [mailto:chr...@stepaheadsoftware.com] Sent: Monday, 13 February 2012 8:09 AM To: users@wicket.apache.org Subject: StringResources in forms based on 'variation' I configure StringResources for forms using the FormClas

RE: Wicket 'hook' point for page render timing

2012-02-12 Thread Chris Colman
I've added the RenderPerformanceListener but where is the output? Where can we retrieve the performance stats? >-Original Message- >From: robert.mcguinness [mailto:robert.mcguinness@gmail.com] >Sent: Sunday, 12 February 2012 2:22 AM >To: users@wicket.apache.org >Subject: Re: Wicket 'ho

RE: Wicket 'hook' point for page render timing

2012-02-12 Thread Chris Colman
>-Original Message- >From: robmcguinness [mailto:robert.mcguinness@gmail.com] >Sent: Monday, 13 February 2012 11:17 AM >log level must be set to debug for >org.apache.wicket.devutils.inspector.RenderPerformanceListener. > > >ex. output: >19:14:10.563 DEBUG o.a.w.d.i.RenderPerformanceLis

RE: Link URLs with JSessionID truncated

2012-02-13 Thread Chris Colman
I was going to suggest that the relative URL problem might be caused by: https://issues.apache.org/jira/browse/WICKET-4138 but that was fixed in 1.5.3. Maybe it's related to https://issues.apache.org/jira/browse/WICKET-4138 , fixed in 1.5.4. In any case I would build the latest 1.5.x snapshot a

Header contribution from a component resolved via an IComponentResolver

2012-02-13 Thread Chris Colman
atest 1.5.x snapshot. Yours sincerely, Chris Colman Pagebloom Team Leader, Step Ahead Software pagebloom - your business & your website growing together Sydney: (+61 2) 9656 1278 Canberra: (+61 2) 6100 2120 Email: chr...@stepahead.com.au <mailto://chr...@stepa

RE: Header contribution from a component resolved via an IComponentResolver

2012-02-13 Thread Chris Colman
Added a JIRA for this: https://issues.apache.org/jira/browse/WICKET-4408 If I explicitly add the component to the parent it works but I can't do this in our app. From: Chris Colman [mailto:chr...@stepaheadsoftware.com] Sent: Tuesday, 14 February 2012

RE: no input when using a link

2012-02-18 Thread Chris Colman
What Wicket class did you use for the "I forgot my password" button. I think it has to be one of the 'submitting' types for the model to be updated. >-Original Message- >From: lang [mailto:delan...@telfort.nl] >Sent: Sunday, 19 February 2012 8:48 AM >To: users@wicket.apache.org >Subject: n

RE: Performance optimization

2012-02-23 Thread Chris Colman
Native Java serialization is wy over the top in what is spits out to the stream. Each object that gets streamed has it's entire class name and package name dumped to the stream. So an object that might only have a 4 byte integer attribute in it takes up to 100 or more bytes in the stream. You

RE: Performance optimization

2012-02-24 Thread Chris Colman
The advice to try a different serializer is spot on. Serialize any object tree to file using Java's standard serializer and then open that file in a binary editor and then you'll see why the standard Java serialization stream takes a surprisingly large amount of bytes to store each object. I had

CheckBoxColumnProperty in inmethodgrid updates

2012-02-27 Thread Chris Colman
Has anyone used the new editable column classes in inmethod grid provided by Tom Burton? I really like the extra functionality Tom has added to inmethod grid but I can't get the check box to appear as a check box. It appears only as text showing either true or false. Has anyone else tried the

<    1   2   3   4   5   6   7   >