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
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;
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
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
/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
. 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
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
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,
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
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.
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
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
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
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
, 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
! :)
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
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
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
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
(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,
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.
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
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
]
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
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
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
() 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
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
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
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
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
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
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
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
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
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:
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
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
, 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
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,
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
/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
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
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,
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
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
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:
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
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
-
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
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
#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
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
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
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
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
56 matches
Mail list logo