In Wicket 1.4 we used our custom RequestCycle and the onRuntimeException
method to add/change the exception handling. How do we change the exception
handling in Wicket 1.5?
The Migration Guide says:
Exception handling
In Wicket 1.4 it was needed to extend
you can create ExceptionListener which implements
IRequestCycleListener ,define its onexception method
and in your webapplication init you can do
getRequestCycleListeners().add(new ExceptionListener())
On Thu, Oct 6, 2011 at 1:02 PM, Dirk Forchel dirk.forc...@exedio.com wrote:
In Wicket 1.4 we
I just updated the migration page.
The page for RequestCycle looks clear to me.
Feel free to improve it, the wiki is editable by everyone, you just
need to create an account.
On Thu, Oct 6, 2011 at 10:43 AM, vineet semwal
vineetsemwal1...@gmail.com wrote:
you can create ExceptionListener which
https://issues.apache.org/jira/browse/WICKET-4112
I will provide a patch this evening.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/WicketTester-startComponentInPage-and-tester-assertModelValue-tp3874269p3877347.html
Sent from the Users forum mailing list archive
Hi,
I have a form with labels that use PropertyModel. They work fine when I test
them locally - when I click on submit button I get proper refreshed values
in labels. But when I deploy my app it does not work, I still get old
values. Where can be the problem? I am using Wicket 1.4.17 and
In wicket 1.4.17 I want to have AjaxFormComponentUpdatingBehavior on a
DateTimeFiled for all its components (text field, hours field, minutes
field).
I can do this only on date text field :
DateTimeField txtTime = new DateTimeField(txtTime, generalModel) {
@Override
protected
On Thu, Oct 6, 2011 at 11:27 AM, dpmihai dpmi...@yahoo.com wrote:
In wicket 1.4.17 I want to have AjaxFormComponentUpdatingBehavior on a
DateTimeFiled for all its components (text field, hours field, minutes
field).
I can do this only on date text field :
DateTimeField txtTime = new
Thank you. But I had to look inside the source to see the index of component
children:
dateTimeField.get(1).add(new AjaxFormComponentUpdatingBehavior() ...)
dateTimeField.get(2).add(new AjaxFormComponentUpdatingBehavior() ...)
Is DateTimeField.HOURS a constant defined in wicket 1.5? (I use
its the id of hours field ;)
i think there should always be getter methods for the fields in
class/component when developer thinks its ok for users
to access them like
getHoursField
getMinutesField in current case
On Thu, Oct 6, 2011 at 2:37 PM, dpmihai dpmi...@yahoo.com wrote:
Thank you. But I
Hi,
you're probably holding on an outdated user object, use this instead:
add(new Label(houses_amount,
new AbstractReadOnlyModelString() {
public String getObject() {
return MySession.get().getUser().getVillage();
}
}));
Sven
On 10/06/2011 10:17 AM,
Why would there be a difference between local and deployed versions?
And won't it negatively affect performance?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/PropertyModel-not-refreshing-tp3877389p3877621.html
Sent from the Users forum mailing list archive at
Might have something to do with when the session is created and/or
serialized.
And won't it negatively affect performance?
I'm not sure what you mean by it, but the AbstractReadOnlyModel is
faster than a PropertyModel (no reflection involved).
HTH
Sven
On 10/06/2011 12:02 PM, Zeldor wrote:
Thanks, I will give it a try :)
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/PropertyModel-not-refreshing-tp3877389p3877636.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To
I want to set a TextField Componet to readonly. I have overriden isEnabled and
onDisabled methods. but it did'nt work
private TextField vehicleTypeField(final String id, final TBPosition
position)
{
final TextField field = new TextField(id, vehicleTypeModel(position))
The interesting part is not visible in your source,
the Method: vehicleTypeModel(position)
You could use some kind of readOnlyModel here - Please check
ReadOnlyPropertyModel for example.
regards
Martin
--
View this message in context:
here vehicleTypeModel(position):
private IModel vehicleTypeModel(final TBPosition position)
{
return new Model()
{
private static final long serialVersionUID = 1L;
@Override
public Object getObject()
{
return
Hi,
ReadOnlyPropertyModel will be problematic, because than the TextFiled always
has to be readonly. But I do have the need that the TextFiled only has to be
readonly in the case of vehicleType = E.
Please find again the code:
private TextField vehicleTypeField(final String id, final
Hello all,
I would like to ask, if there is a built-in functionality to display a
particular page of an AjaxFallbackDefaultDataTable when displaying the
table, i.e. instead of page 1 of 5 I would like to have it display page 3 of
5 initially because an entry of interest is on that page?
Thanks
DataTable.setCurrentPage(int)
-
--
Regards,
Hans
http://cantaa.de
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Jump-to-specific-page-of-AjaxFallbackDefaultDataTable-tp3878357p3878396.html
Sent from the Users forum mailing list archive at Nabble.com.
input type=text readonly=true wicket:id=whatever /
Works in most major browsers ...
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/set-a-TextField-Componet-to-readonly-tp3877659p3879930.html
Sent from the Users forum mailing list archive at Nabble.com.
Thanks guys..I overrided the methots and it worked. When I submit the form,
animated gif appears until ajax request is completed. But I dont know
javascripting so much so I couldnt
remove animated gif and fade out form div block at the same time..I want to
fade out the form area slowly and display
Am 06.10.2011 um 16:08 schrieb Hans Lesmeister 2:
DataTable.setCurrentPage(int)
Thanks. When would be the best moment to call that method if I wanted
to accomplish the following:
I add a new entry to the table and afterwards want to display the page
where the new entry appears in the
I have a SortableDataProvider and have set a sort on it. It sorts fine.
Now, I would like to remove the sort so no sorting occurs.
Is there a way to remove the sort?
Thanks in advance
-
To unsubscribe, e-mail:
First of all, I love wicket. I think it's a very effective framework,
with an active community.
But ...
I regret that some tools reduce its visibility. I think, in particular, the
mode of exchange based on a mailing list is quite outdated. This mailing
list which requires subscription limits the
On Thu, Oct 6, 2011 at 6:27 PM, Gaetan Zoritchak
g.zoritc...@moncoachfinance.com wrote:
First of all, I love wicket. I think it's a very effective framework,
with an active community.
Great, thanks!
But ...
I regret that some tools reduce its visibility. I think, in particular, the
Hi!
2011/10/7 Gaetan Zoritchak g.zoritc...@moncoachfinance.com
Why not drop this mailing list and discuss all questions
onStackOverflow. The business community would be more visible.
It might make sense to join the stackoverflow network with
www.WicketRuntimeException.com or similar as a
Heh. You just said we have a very active community.
While I do like Stack Overflow for many things, it's not a true way of
building a community. It's a way of asking questions. (Yes, this is just
my opinion - not meaning to start a flamewar). We have a vibrant community
here - I don't
Source management and bugs are also outdated. The version on github is
much
better.
I recently had to get up to speed with github. Not sure what all the
fuss is about. The learning curve was about 20x that of Subversion and
I'm still not confident about how to do things or whether what I'm doing
Have you tried:
provider.setSort(null); ?
If you don't provide a sort property to your provider, that's what it
starts with.
On 06/10/2011 6:16 PM, Jensen, Bob wrote:
I have a SortableDataProvider and have set a sort on it. It sorts fine.
Now, I would like to remove the sort so no sorting
I like the mail. Atleast i can get the answers even on my not so smart
phone.
Josh.
On Fri, Oct 7, 2011 at 6:43 AM, Chris Colman
chr...@stepaheadsoftware.comwrote:
Source management and bugs are also outdated. The version on github is
much
better.
I recently had to get up to speed with
30 matches
Mail list logo