Components and Hyperlinks in inmethod.DataGrid cells

2009-12-16 Thread Colin Rogers
All, I'm trying implement a complicated inmethod DataGrid table and I would like a sanity check as to the solution I came up with. The table is multiple selectable, but in the case of the name column, I want to have a hyperlink that forwards the user to a new view. In the case of other columns

[newbie] Wicket, Spring, Hibernate and transactions in views.

2010-03-02 Thread Colin Rogers
All, I've got a bit of a newbie Wicket question involving Spring, Hibernate and transactions. The question that I can't seem to find an answer to; Can a view be a created/injected/aop'd like a spring bean so that it honours @Transactional methods for hibernate? An example;

RE: [newbie] Wicket, Spring, Hibernate and transactions in views.

2010-03-02 Thread Colin Rogers
transactional control in your services and call them from your pages instead of trying to control it in your view. Best Regards, On Tue, Mar 2, 2010 at 1:25 PM, Colin Rogers coli...@groundsure.com wrote: All, I've got a bit of a newbie Wicket question involving Spring, Hibernate

RE: [newbie] Wicket, Spring, Hibernate and transactions in views.

2010-03-02 Thread Colin Rogers
INSERT/UPDATE/DELETE statements (writes) -R On Tue, Mar 2, 2010 at 9:46 AM, Colin Rogers coli...@groundsure.com wrote: I'd recommend you to make your transactional control in your services and call them from your pages instead of trying to control it in your view. I'd agree in terms of good

RE: [newbie] Wicket, Spring, Hibernate and transactions in views.

2010-03-02 Thread Colin Rogers
/OpenSessionInViewFilter.html The doc: Intended for the Open Session in View pattern, i.e. to allow for lazy loading in web views despite the original transactions already being completed. On Tue, Mar 2, 2010 at 2:05 PM, Colin Rogers coli...@groundsure.com wrote: I'm not DB expert, but why

RE: [newbie] Wicket, Spring, Hibernate and transactions in views.

2010-03-03 Thread Colin Rogers
. There are limits on what type of methods can be transactional, though. I would also recommend the OpenSessionInView filter (which my example project also uses). On Tue, Mar 2, 2010 at 11:25 AM, Colin Rogers coli...@groundsure.com wrote: All, I've got a bit of a newbie Wicket question

RE: Wicket cannot find id in inner enclosure...but has no problem in outer one!!!

2012-04-17 Thread Colin Rogers
Hey there, This is just a guess!! Why are you creating a new SelectOption?; SelectOption selectedOption = new SelectOption(selectOption[0].getKey(), Selected Value); when you could just use the one that exists (selectOption[0])? The PropertyModel doesn't make sense, ether. I'd remove

Cloneing Wicket Objects

2012-11-25 Thread Colin Rogers
Wicketeers, I was wondering what the best was to duplicate or clone wicket components. I need guidance as to the best way to do this. I have, on my screen two 'navigation panels' that are identical - one at the top of the page, another at the bottom. They contain dropdown choice fields that,

RE: Cloneing Wicket Objects

2012-11-26 Thread Colin Rogers
the db trip in the constructor or your own init() method. ~ Thank you, Paul Bors -Original Message- From: Colin Rogers [mailto:colin.rog...@objectconsulting.com.au] Sent: Sunday, November 25, 2012 6:28 PM To: users@wicket.apache.org Subject: Cloneing Wicket Objects Wicketeers

RE: Model is null after submit, using FormComponentPanel

2012-12-03 Thread Colin Rogers
Raul, There are better qualified people to answer this, but... Are the components actually passing validation? Pre-validation the model would be null - if the validation fails the model would be null. If the component validates then the model would be updated with the valid value. Col.

RE: FormComponentPanel onchange Events

2012-12-12 Thread Colin Rogers
William, Is the AjaxEventBehavior added to the panel or the component? What event is it fired on? I'd thought you'd need it to be added to the component (rather than panel) and say, triggered 'onblur'. And using a AjaxFormComponentUpdatingBehavior rather than AjaxEventBehavior? Can you post

RE: how to remove the file icons from the editable tree table ?

2013-01-24 Thread Colin Rogers
Extend DefaultAbstractTree and override getFolderOpen() and getFolderClosed() - which are called by newNodeIcon() (eventually)? -Original Message- From: grazia [mailto:grazia.russolass...@gmail.com] Sent: 25 January 2013 04:18 To: users@wicket.apache.org Subject: Re: how to remove the

RE: Wicket job market

2013-02-04 Thread Colin Rogers
In Australia it's almost non-existent. Mostly technology is 5 or 6 years behind the rest of the world, generally. Most places I've worked for here use JSP and Struts 1. Obviously there are plenty of places that do cutting edge stuff, but it's few and far between. I work for the only company I

Behaviour.onInitialise()

2013-02-06 Thread Colin Rogers
Martin and other Wicketeers, I have a quick, small question; why is there no 'onInitiailise()' method on Behaviour classes? There is an 'bind' method, but this, unlike 'onInitialise' is call immediately on binding to component, whether the component is in the component tree or not. Obviously

RE: Behaviour.onInitialise()

2013-02-07 Thread Colin Rogers
, 2013, Colin Rogers wrote: Martin and other Wicketeers, I have a quick, small question; why is there no 'onInitiailise()' method on Behaviour classes? There is an 'bind' method, but this, unlike 'onInitialise' is call immediately on binding to component, whether the component

RE: Behaviour.onInitialise()

2013-02-07 Thread Colin Rogers
! :) Cheers, Col. -Original Message- From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] Sent: 08 February 2013 10:59 To: users@wicket.apache.org Subject: Re: Behaviour.onInitialise() On Thu, Feb 7, 2013 at 3:33 PM, Colin Rogers colin.rog...@objectconsulting.com.au wrote: That ambiguous

RE: override the css of the AbstractFormDialog

2013-02-07 Thread Colin Rogers
I honestly could kill for a JQuery based, nested context menu, that could be activated by Ajax and defined dynamically. I get the feeling I might have to make my own, tho. I think it would be easy in terms of activation and definition, but the menu triggering Wicket Ajax commands is the bit

RE: Regarding using jetty 6 in wicket

2013-02-12 Thread Colin Rogers
Can you not use the Wicket/Maven archetype? That has it all set up, has a Start.java - and uses Jetty version 7.6.3.v20120416 Cheers, Col. -Original Message- From: kshitiz [mailto:k.agarw...@gmail.com] Sent: 13 February 2013 06:16 To: users@wicket.apache.org Subject: Regarding using

RE: Why does my HelloWorldPage not work?

2013-02-17 Thread Colin Rogers
Hi Mike, Before people/I can help you; what is the error you are getting? Also, have you tried using the Maven Quickstart/ Wicket project archetype - they are incredibly useful in creating a base for a Wicket project? Cheers, Col. -Original Message- From: mike.hua

RE: AjaxIndicatorAppender on a Panel

2013-04-02 Thread Colin Rogers
(I'm guessing here) but could you add the indicator to the panel (and expose it via a getter method). And then, with each sub-component, implement the IAjaxIndicatorAware and have getAjaxIndicatorMarkupId() reference the panel's indicator mark up ID. I honestly don't know if this will work,

Dancing Debug window

2013-04-16 Thread Colin Rogers
Hi there guys, When I get an issue with Ajax that generates a report, as below (i.e. with tons of errors.) The Ajax Debug Window 'dances' for ages... it also slows the browser down to almost nothing, and while it 'dances' is almost un-clickable. Is there any way to solve this? Cheers, Col.

RE: Dancing Debug window

2013-04-16 Thread Colin Rogers
Subject: Re: Dancing Debug window Call the method component's setOutputMarkupId(true); feedbackPanel.setOutputMarkupId(true); see http://ci.apache.org/projects/wicket/apidocs/6.0.x/org/apache/wicket/Component.html#setOutputMarkupId(boolean) François On Tue, Apr 16, 2013 at 9:20 AM, Colin

Page's Mounted URL

2013-05-01 Thread Colin Rogers
Wicketeers, Where I have; mountPage( path/to/myPage, MyPersonalPage.class ); mountPage( different/path/customPage, AnotherCustomPage.class ); I now have a Page class (i.e. MyPersonalPage) - how can I determine the mountPage String (i.e path/to/myPage) ? I'm sure this should be simple, but I

RE: Page's Mounted URL

2013-05-01 Thread Colin Rogers
] Any shortcut to get full url ? :) On 02/05/2013 1:06 AM, Colin Rogers wrote: Wicketeers, Where I have; mountPage( path/to/myPage, MyPersonalPage.class ); mountPage( different/path/customPage, AnotherCustomPage.class ); I now have a Page class (i.e. MyPersonalPage) - how can I determine

RE: Page's Mounted URL

2013-05-01 Thread Colin Rogers
Have a look at RequestUtils#toAbsolutePath(). Also, look at the email on this mailing list preceding yours titled [wicket 6] Any shortcut to get full url ? :) On 02/05/2013 1:06 AM, Colin Rogers wrote: Wicketeers, Where I have; mountPage( path/to/myPage, MyPersonalPage.class ); mountPage

Panel switching

2013-05-26 Thread Colin Rogers
Wicketeers, I have an odd issue - that isn't really a bug or a coding problem - but something I thought people might have some ideas on. A little background first. I like to have URLs in my application, as per the examples below; player player/messages player/messages/archive

RE: Panel switching

2013-05-27 Thread Colin Rogers
() to return a renderer that always uses #renderFullUrl() when #renderUrl() is called. On Mon, May 27, 2013 at 4:34 AM, Colin Rogers colin.rog...@objectconsulting.com.au wrote: Wicketeers, I have an odd issue - that isn't really a bug or a coding problem - but something I thought people might have

Dynamic Context Menu using wicket-jquery-ui

2013-06-12 Thread Colin Rogers
Wicketeers, I'm attempting to develop a reusable context menu component. I'm nearly there, but having a few issues, and thought I might share in the hope I might get some help. I realise that another person (bronius) is also having a go at this, but his implementation isn't using

RE: Dynamic Context Menu using wicket-jquery-ui

2013-06-16 Thread Colin Rogers
Sebestien, I did get the chance to look at your first suggestion... and it was looking really good. Apologies for not getting the chance to reply. I really liked the change - and the 'issue' didn't seem too much of a problem, but I'm guessing you've solved it, from the looks of, below. Really

RE: Annoying wicket API Docs ... includes exmaples api docs

2013-06-19 Thread Colin Rogers
Using Eclipse, Maven and Maven-plugin, clicking on any source class, downloads the available sources and JavaDocs and displays them in any number of formats. :/ Especially useful when you update Wicket regularly as it keeps your sources up to date, too... 2013/6/19 Ernesto Reinaldo Barreiro

setResponsePage

2013-06-19 Thread Colin Rogers
Wicketeers, Super-minor API thing... I've started using PageProvider class within our frameworks, as it's a really convenient class for detailing pages, etc. and avoid having to use Reflection directly. With this in mind, would it be possible to overload Component#setResponsePage that takes

RE: setResponsePage

2013-06-20 Thread Colin Rogers
find it more convenient than the current #setResponsePage() versions ? It has constructors that accept renderCount and pageId, but those are usually extracted from the request url. In your code you should not deal with them. On Thu, Jun 20, 2013 at 4:55 AM, Colin Rogers colin.rog

RE: A Wicket in Ruby

2013-06-23 Thread Colin Rogers
Mike, I hate to be the old cynic and doomsayer, but generally I find that whenever a two programming technologies are 'crossed' over, with the idea that you'll get the advantages of both - the exact opposite occurs and actually you end up with a technology that only has the disadvantages of

RE: A Wicket in Ruby

2013-06-25 Thread Colin Rogers
for that lack of compile-time checking and type safety over and over again -- especially with regard to performance and endlessly climbing stack traces over typos. On Sun, Jun 23, 2013 at 8:25 PM, Colin Rogers colin.rog...@objectconsulting.com.au wrote: Mike, I hate to be the old cynic

RE: A Wicket in Ruby

2013-06-26 Thread Colin Rogers
community when things get tricky. On Jun 25, 2013, at 11:20 PM, Colin Rogers colin.rog...@objectconsulting.com.au wrote: Mike, Java is still pretty verbose, for all 'recent' improvements - I don't think that will really ever change, but then I don't see that as an issue. My personal style

RE: Multi select transfer widget

2013-08-21 Thread Colin Rogers
Michael, The component I think you mean is the Palette; http://www.mkyong.com/wicket/wicket-palette-example/ http://www.wicket-library.com/wicket-examples/compref/wicket/bookmarkable/org.apache.wicket.examples.compref.PalettePage?1 Cheers, Col. From:

RE: wicket single page application: replacing panels with ajax and back button support

2013-08-25 Thread Colin Rogers
Hi there, I'm doing something in my code similar to what you are suggesting. The way I do it is basically, each page that I'm navigation to, I call a method 'cleverLink' rather than 'setResponsePage'. 'cleverLink' takes in a AjaxRequestTarget. That method then determines whether the page is

p tags!

2013-09-08 Thread Colin Rogers
Wicketeers! I have an odd bug, that has been resolved, but I it doesn't explain what and why the issue existed - and with a view to avoiding the issue in future, I thought I should seek some wisdom! :) Basically - I have a application where the 'main panel' is replaced as a link is clicked

RE: p tags!

2013-09-09 Thread Colin Rogers
, schreef Colin Rogers: Wicketeers! I have an odd bug, that has been resolved, but I it doesn't explain what and why the issue existed - and with a view to avoiding the issue in future, I thought I should seek some wisdom! :) Basically - I have a application where the 'main panel

RE: Add or remove a row in RefreshingView with Ajax

2013-10-24 Thread Colin Rogers
Hi there, Not sure what you mean by 'does not work'... so guessing the issue, and the solution. Are you updating the whole RepeatingView? If so, you need to wrap the repeater in a WebMarkupContainer and refresh that (remembering to setOutputMarkupId to true etc.) I don't know the reason why,

NullAjaxRequestTarget

2013-10-27 Thread Colin Rogers
Wicketeers, I have a minor issue, rather than any bug, and thought I'd throw it out there. We tend to use a lot of AjaxFallbackLinks, for obvious reasons. The biggest problem of AjaxFallbackLink is the line of code; @Override public final void onClick() { onClick(null); } Because null

RE: NullAjaxRequestTarget

2013-10-28 Thread Colin Rogers
/WICKET-3317 You can also check the mail archives for the discussions On Mon, Oct 28, 2013 at 7:41 AM, Colin Rogers colin.rog...@objectconsulting.com.au wrote: Wicketeers, I have a minor issue, rather than any bug, and thought I'd throw it out there. We tend to use a lot of AjaxFallbackLinks

ComponentRenderer

2013-11-26 Thread Colin Rogers
Wicketeers, I have a problem when using ComponentRenderer in an actual live cycle. I assume it's not actually intended for this use, and hence the errors, but if I explain the issue, maybe someone can suggest an alternative or a workaround. So... we have a set of 'pages' in a pageflow that

Components can no longer be added

2013-12-08 Thread Colin Rogers
Wicketeers, I have another hard-to-track down issue. To make matters worse, I've actually taken this code/pattern, put it into a quickstart - and what do you know - it works fine...! This means I have no way to recreate this error in a demonstrable way. Hopefully if I throw this out there,

RE: Components can no longer be added

2013-12-08 Thread Colin Rogers
Yeah, I know exactly what you mean - I'm sure it's something I'm doing! :) I might have to do as you suggest... I was just hoping for a 'you'd only get this error if you'd done something stupid like' and give me something to go on! ;) Cheers, Col. -Original Message- From: Bernard

RE: Components can no longer be added

2013-12-10 Thread Colin Rogers
might want to use a custom set, which inverses its contents. See org.apache.wicket.examples.tree.FooExpansion for inspiration. Regards Sven On 12/09/2013 06:28 AM, Colin Rogers wrote: Wicketeers, I have another hard-to-track down issue. To make matters worse, I've actually taken this code

RE: Progress Bar

2014-05-05 Thread Colin Rogers
There is a pretty nifty, jquery based progress bar, in wicket-jquery-ui library... http://www.7thweb.net/wicket-jquery-ui/progressbar/DefaultProgressBarPage Cheers, Col. -Original Message- From: Richard W. Adams [mailto:rwada...@up.com] Sent: Tuesday, 6 May 2014 3:19 AM To:

RE: Question / Best Practise / (List)Model vs. (List)DataProvider

2014-05-18 Thread Colin Rogers
The way I see (right or wrong!) is, You create/manage Models for individual components on a case-by-case basis. For Repeaters which internal components are dynamically created, you need a DataProvider to create and manage those Models for the components and the Collections that comprise their

DataView, OrderByBorder, CheckGroup

2014-10-12 Thread Colin Rogers
Wicketeers, I don't know if this is a bug, bad coding on my behalf or incompatible components or what not. It's only a minor thing, but I thought it worth raising (as usually, I end up learning something). I've created a quickstart, here; http://tenthart.com/wickettest2.zip The basic thing

RE: DataView, OrderByBorder, CheckGroup

2014-10-15 Thread Colin Rogers
- From: Martin Grigorov [mailto:mgrigo...@apache.org] Sent: Monday, 13 October 2014 6:01 PM To: users@wicket.apache.org Subject: Re: DataView, OrderByBorder, CheckGroup Hi, On Mon, Oct 13, 2014 at 2:59 AM, Colin Rogers colin.rog...@objectconsulting.com.au wrote: Wicketeers, I don't know

TableTree expand node issue

2014-12-17 Thread Colin Rogers
Wicketeers, I don't know if this is a bug or quirk or something I'm doing wrong, but I have an issue with hitting 'expand' nodes on a TableTree when another page has been opened. It seems to occurs when you open a stateful page - our users love multiple windows, and open tons of pages using

RE: TableTree expand node issue

2014-12-18 Thread Colin Rogers
#equals and #hashcode in HomePage.Item. Let us know if you need further help on this. Regards Sven On 18.12.2014 06:35, Colin Rogers wrote: Wicketeers, I don't know if this is a bug or quirk or something I'm doing wrong, but I have an issue with hitting 'expand' nodes on a TableTree when

Handling stale Ajax Requests

2015-01-22 Thread Colin Rogers
Wicketeers, I have an issue to resolve and I hope someone can help. The user opens a link from 'Window 1' to open in new tab ('Window 2') and goes off and does a whole bunch of stuff in Window 2. After following a few links, the user returns to 'Window 1' and triggers an Ajax link. By now this

RE: New committer - Sebastien Briquet

2015-03-12 Thread Colin Rogers
Only just saw this... well done Sebastien - you've always been amazing help with JQuery-UI :) -Original Message- From: Patrick Davids [mailto:patrick.dav...@nubologic.com] Sent: Monday, 16 February 2015 7:05 PM To: users@wicket.apache.org Subject: Re: New committer - Sebastien Briquet

RE: Components/Behaviour execution order

2015-10-05 Thread Colin Rogers
it right away. > > (@Sebastien: I think, we had such problem someday... do you remember > maybe?) > > best regards > Patrick > > > Am 01.10.2015 um 06:27 schrieb Colin Rogers: > >> Wicketeers, >> >> This question is to do with lifecycle execution order

Components/Behaviour execution order

2015-09-30 Thread Colin Rogers
Wicketeers, This question is to do with lifecycle execution order - it's not a bug as such, just a usage question - I hope you can help. I have component X with an AjaxFormComponentUpdatingBehavior, that triggers updates in Components Y and Z by adding to target. Y has a generic Behaviour