Wicket 1.5 and ExceptionHandling

2011-10-06 Thread Dirk Forchel
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
org.apache.wicket.RequestCycle.onRuntimeException(Page, RuntimeException).
Wicket 1.5 gives even better control, by overriding
org.apache.wicket.Application.newExceptionMapper() it is possible to change
even the default processing of error pages.
For information on how the request cycle handles exceptions see RequestCycle
in Wicket 1.5 for more information

But with Wicket 1.5.1 it is not possible to override the
newExceptionMapper() method. What is the preffered way now?

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-and-ExceptionHandling-tp3877300p3877300.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket 1.5 and ExceptionHandling

2011-10-06 Thread vineet semwal
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 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
 org.apache.wicket.RequestCycle.onRuntimeException(Page, RuntimeException).
 Wicket 1.5 gives even better control, by overriding
 org.apache.wicket.Application.newExceptionMapper() it is possible to change
 even the default processing of error pages.
 For information on how the request cycle handles exceptions see RequestCycle
 in Wicket 1.5 for more information

 But with Wicket 1.5.1 it is not possible to override the
 newExceptionMapper() method. What is the preffered way now?

 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-and-ExceptionHandling-tp3877300p3877300.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





-- 
thank you,

regards,
Vineet Semwal

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket 1.5 and ExceptionHandling

2011-10-06 Thread Martin Grigorov
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 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 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
 org.apache.wicket.RequestCycle.onRuntimeException(Page, RuntimeException).
 Wicket 1.5 gives even better control, by overriding
 org.apache.wicket.Application.newExceptionMapper() it is possible to change
 even the default processing of error pages.
 For information on how the request cycle handles exceptions see RequestCycle
 in Wicket 1.5 for more information

 But with Wicket 1.5.1 it is not possible to override the
 newExceptionMapper() method. What is the preffered way now?

 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-and-ExceptionHandling-tp3877300p3877300.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





 --
 thank you,

 regards,
 Vineet Semwal

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: WicketTester#startComponentInPage and tester#assertModelValue

2011-10-06 Thread splitshade
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 at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



PropertyModel not refreshing

2011-10-06 Thread Zeldor
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 deploying on
Google AppEngine. 

My code:

FormString buildHousesForm = new FormString(buildHousesForm, new
ModelString())
...
...
add(new Label(houses_amount,  new PropertyModel(MySession.get().getUser(),
village)));
...
...

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/PropertyModel-not-refreshing-tp3877389p3877389.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



DateTimeField and AjaxFormComponentUpdatingBehavior

2011-10-06 Thread dpmihai
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 DateTextField newDateTextField(String id, PropertyModel
dateFieldModel) {
DateTextField f = super.newDateTextField(id, 
dateFieldModel);   
f.add( new 
AjaxFormComponentUpdatingBehavior(onchange) {
@Override
   protected void onUpdate(AjaxRequestTarget
target) {...}
}); 
return f;
}
};

But TextField's for hours and minutes are private and do not have similar
methods to overwrite.
Does anyone use another approach instead of rewriting the hole class again?


--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/DateTimeField-and-AjaxFormComponentUpdatingBehavior-tp3877416p3877416.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: DateTimeField and AjaxFormComponentUpdatingBehavior

2011-10-06 Thread Martin Grigorov
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 DateTimeField(txtTime, generalModel) {

         @Override
         protected DateTextField newDateTextField(String id, PropertyModel
 dateFieldModel) {
                        DateTextField f = super.newDateTextField(id, 
 dateFieldModel);
                        f.add( new 
 AjaxFormComponentUpdatingBehavior(onchange) {
                                    @Override
                                   protected void onUpdate(AjaxRequestTarget
 target) {...}
                        });
                        return f;
        }
 };

 But TextField's for hours and minutes are private and do not have similar
 methods to overwrite.
 Does anyone use another approach instead of rewriting the hole class again?
No need to rewrite.
You can get the field with:
dateTimeField.get(DateTimeField.HOURS).add(new
AjaxFormComponentUpdatingBehavior() ...)


 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/DateTimeField-and-AjaxFormComponentUpdatingBehavior-tp3877416p3877416.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: DateTimeField and AjaxFormComponentUpdatingBehavior

2011-10-06 Thread dpmihai
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 1.4.17)

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/DateTimeField-and-AjaxFormComponentUpdatingBehavior-tp3877416p3877501.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: DateTimeField and AjaxFormComponentUpdatingBehavior

2011-10-06 Thread vineet semwal
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 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 1.4.17)

 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/DateTimeField-and-AjaxFormComponentUpdatingBehavior-tp3877416p3877501.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





-- 
thank you,

regards,
Vineet Semwal

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: PropertyModel not refreshing

2011-10-06 Thread Sven Meier
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, Zeldor wrote:
 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 deploying on
 Google AppEngine. 
 
 My code:
 
 FormString buildHousesForm = new FormString(buildHousesForm, new
 ModelString())
 ...
 ...
 add(new Label(houses_amount,  new PropertyModel(MySession.get().getUser(),
 village)));
 ...
 ...
 
 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/PropertyModel-not-refreshing-tp3877389p3877389.html
 Sent from the Users forum mailing list archive at Nabble.com.
 
 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org
 


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: PropertyModel not refreshing

2011-10-06 Thread Zeldor
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 Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: PropertyModel not refreshing

2011-10-06 Thread Sven Meier
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:
 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 Nabble.com.
 
 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org
 


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: PropertyModel not refreshing

2011-10-06 Thread Zeldor
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 unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



set a TextField Componet to readonly

2011-10-06 Thread Mehmet . Kaplankiran
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))
{
  private static final long serialVersionUID = -7101271673345103957L;

  @Override
  public boolean isVisible()
  {
return isVehicleTypeVisible();
  }

  @Override
  protected void onDisabled(final ComponentTag tag)
  {
String vehicleType = E;  //only for Test
if (vehicleType.equalsIgnoreCase(E))
  tag.put(readonly, readonly);
  }

  @Override
  public boolean isEnabled()
  {
// return position.getVehicleType().equalsIgnoreCase(E);
// only for test
String vehicleType = E;
return !vehicleType.equalsIgnoreCase(E);
  }

};
field.add(new ValueHelperOnDoubleClickBehavior(popupPanelVehicleType, 
HelperValues.VEHICLE_TYPES));
return field;
  }


could you please help me.

best regards


Mehmet




Re: set a TextField Componet to readonly

2011-10-06 Thread splitshade
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: 
http://apache-wicket.1842946.n4.nabble.com/set-a-TextField-Componet-to-readonly-tp3877659p3877723.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



AW: set a TextField Componet to readonly

2011-10-06 Thread Mehmet . Kaplankiran
here vehicleTypeModel(position):

  private IModel vehicleTypeModel(final TBPosition position)
  {
return new Model()
{
  private static final long serialVersionUID = 1L;

  @Override
  public Object getObject()
  {
return position.getVehicleType();
  }

  @Override
  public void setObject(final Object object)
  {
position.setVehicleType((String) object);
  }
};
  } 

-Ursprüngliche Nachricht-
Von: splitshade [mailto:martin.dil...@googlemail.com] 
Gesendet: Donnerstag, 6. Oktober 2011 12:54
An: users@wicket.apache.org
Betreff: Re: set a TextField Componet to readonly

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: 
http://apache-wicket.1842946.n4.nabble.com/set-a-TextField-Componet-to-readonly-tp3877659p3877723.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: set a TextField Componet to readonly

2011-10-06 Thread Mehmet . Kaplankiran
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 TBPosition position)
  {
final TextField field = new TextField(id, vehicleTypeModel(position))
{
  private static final long serialVersionUID = -7101271673345103957L;

  @Override
  public boolean isVisible()
  {
return isVehicleTypeVisible();
  }

  @Override
  protected void onDisabled(final ComponentTag tag)
  {
String vehicleType = E;  //only for Test
if (vehicleType.equalsIgnoreCase(E))
  tag.put(readonly, readonly);
  }

  @Override
  public boolean isEnabled()
  {
// return position.getVehicleType().equalsIgnoreCase(E);
// only for test
String vehicleType = E;
return !vehicleType.equalsIgnoreCase(E);
  }

};
field.add(new ValueHelperOnDoubleClickBehavior(popupPanelVehicleType, 
HelperValues.VEHICLE_TYPES));
return field;
  }


  private IModel vehicleTypeModel(final TBPosition position)
  {
return new Model()
{
  private static final long serialVersionUID = 1L;

  @Override
  public Object getObject()
  {
return position.getVehicleType();
  }

  @Override
  public void setObject(final Object object)
  {
position.setVehicleType((String) object);
  }
};
  }

-Ursprüngliche Nachricht-
Von: splitshade [mailto:martin.dil...@googlemail.com] 
Gesendet: Donnerstag, 6. Oktober 2011 12:54
An: users@wicket.apache.org
Betreff: Re: set a TextField Componet to readonly

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: 
http://apache-wicket.1842946.n4.nabble.com/set-a-TextField-Componet-to-readonly-tp3877659p3877723.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Jump to specific page of AjaxFallbackDefaultDataTable

2011-10-06 Thread heapifyman
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 in advance,
Philip


Re: Jump to specific page of AjaxFallbackDefaultDataTable

2011-10-06 Thread Hans Lesmeister 2
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.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: set a TextField Componet to readonly

2011-10-06 Thread Pranav kacholia
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.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: ajax form submit, loading gif and swap panels

2011-10-06 Thread wholalotta
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 a new message at the same place.
Any tip?


@Override
protected IAjaxCallDecorator getAjaxCallDecorator()
{
return new AjaxCallDecorator()
{   
@Override
public CharSequence decorateScript(Component c,
CharSequence script)
{
return
document.getElementById('loading').style.display='inline'; + script; 
}

@Override
public CharSequence decorateOnSuccessScript(Component c,
CharSequence script)
{
return
document.getElementById('loading').style.display='none';
*document.getElementById('container').fadeOut();* + script; 
}  

@Override
public CharSequence decorateOnFailureScript(Component c,
CharSequence script)
{
return alert('Failed');;
}

};
};

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/ajax-form-submit-loading-gif-and-swap-panels-tp3876326p3879973.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Jump to specific page of AjaxFallbackDefaultDataTable

2011-10-06 Thread heapifyman


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 table taking into account the sort  
state of the table.


Someone got an example for that by chance?

Thanks in advance.




-
--
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.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org





PGP.sig
Description: Signierter Teil der Nachricht


Remove Sort on SortableDataProvider

2011-10-06 Thread Jensen, Bob

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: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Community tools

2011-10-06 Thread Gaetan Zoritchak
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 number
of participants. Moreover, research on old messages are poorly referenced. I
have recently experienced it one more time  during the migration of my
project on Wicket 1.5. The solution to my problem has already been discussed
and resolved but it took me a long time to find it. Why not drop this
mailing list and discuss all questions
onStackOverflow. The business community would be more visible.

Source management and bugs are also outdated. The version on github is much
better.

My 2 cents,

Gaetan


Re: Community tools

2011-10-06 Thread Jeremy Thomerson
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
 mode of exchange based on a mailing list is quite outdated. This mailing
 list which requires subscription limits the number
 of participants.


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 think the mailing list is limiting the community.

Plus, mailing lists are still THE way to communicate in open source.
 Especially is this true with Apache projects.


 Moreover, research on old messages are poorly referenced. I
 have recently experienced it one more time  during the migration of my
 project on Wicket 1.5. The solution to my problem has already been
 discussed
 and resolved but it took me a long time to find it. Why not drop this
 mailing list and discuss all questions
 onStackOverflow. The business community would be more visible.


How can we quantify such a statement?  If you can provide some kind of proof
that it's easier to find an answer by searching SO rather than mailing list
archives, we could look into alternatives.  But such a statement just isn't
easily (if at all) quantifiable.


 Source management and bugs are also outdated. The version on github is much
 better.


Github is awesome.  I don't care about the issue management on it.  JIRA has
a ton more features and support.  It works for us.  I think that we would
like to move to git at some point - but it's not (yet) supported for all
projects at the ASF.  There is a public beta running of git for one project
at the ASF right now.  If it succeeds, I think we'll be one of the first
projects to switch as soon as they make it available to all projects.


 My 2 cents,

 Gaetan


Thanks!  Hope to see you around this antiquated mailing list :)



-- 
Jeremy Thomerson
http://wickettraining.com
*Need a CMS for Wicket?  Use Brix! http://brixcms.org*


Re: Community tools

2011-10-06 Thread Martin Makundi
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 better subsitute for
users@wicket ;)

  he business community would be more visible.
 How can we quantify such a statement?

+1 true hard to quantify, but apparently SO-style has better usability
and readability simply because of possibility to have styled posts. I
guess search engines will find your solutions just the same regardless
of their style.

**
Martin


 Gaetan

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Community tools

2011-10-06 Thread Gaetan Zoritchak

 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 think the mailing list is limiting the community.


I think but it's just an opinion, that the need of subscribe to a mailing
list is a little barrier. Some people won't do the effort which means less
interactions.


 Plus, mailing lists are still THE way to communicate in open source.
  Especially is this true with Apache projects.


  Moreover, research on old messages are poorly referenced. I
  have recently experienced it one more time  during the migration of my
  project on Wicket 1.5. The solution to my problem has already been
  discussed
  and resolved but it took me a long time to find it. Why not drop this
  mailing list and discuss all questions
  onStackOverflow. The business community would be more visible.
 

 How can we quantify such a statement?  If you can provide some kind of
 proof
 that it's easier to find an answer by searching SO rather than mailing list
 archives, we could look into alternatives.  But such a statement just isn't
 easily (if at all) quantifiable.


Difficult to quantify but the nable mailing list is flat. There no way for
google to know which question is more important. For the reader it's not
very obvious neither. In a system like StackOverflow, the votes on
questions, on answers, the use of comments rather than answer allow the
filtering of the noise. I think the links beetween questions take the votes
in count and as a result google
shows you rapidly the best question/answer. Moreover when you are reading a
question, you see the other questions in relation.
I don't exactly how SO works but I find it very very efficient for me (not
for wicket questions ;) )

 Source management and bugs are also outdated. The version on github is
 much
  better.
 

 Github is awesome.  I don't care about the issue management on it.  JIRA
 has
 a ton more features and support.  It works for us.  I think that we would
 like to move to git at some point - but it's not (yet) supported for all
 projects at the ASF.  There is a public beta running of git for one project
 at the ASF right now.  If it succeeds, I think we'll be one of the first
 projects to switch as soon as they make it available to all projects.


Good news.



 Thanks!  Hope to see you around this antiquated mailing list :)


:)

Of course!!!


RE: Community tools

2011-10-06 Thread Chris Colman
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
is the 'right' thing to be doing. Subversion on the other hand is really
easy to understand (and most developers already know it) and even though
it has 'theoretical' shortcomings compared to a distributed VCS like git
in practice I never saw any difference in performance or usage apart
from git being a lot 'weirder' ;)


My 2 cents,

Gaetan

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Remove Sort on SortableDataProvider

2011-10-06 Thread Bertrand Guay-Paquet

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 occurs.

Is there a way to remove the sort?

Thanks in advance







-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Community tools

2011-10-06 Thread Josh Kamau
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 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
 is the 'right' thing to be doing. Subversion on the other hand is really
 easy to understand (and most developers already know it) and even though
 it has 'theoretical' shortcomings compared to a distributed VCS like git
 in practice I never saw any difference in performance or usage apart
 from git being a lot 'weirder' ;)

 
 My 2 cents,
 
 Gaetan

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org