Results 1 to 2 of 2

Thread: Best way to send String value in PageConfig object of a grid with remote paging

  1. #1

    Exclamation Best way to send String value in PageConfig object of a grid with remote paging

    I need to send a string value inside PageConfig object to the server side . I tried overriding


    public interface ExtPagingLoadConfig extends PagingLoadConfig, IsSerializable{

    /*public void setSearchString(String searchString);

    public String getSearchString();*/

    public void setValue(String value);

    public String getValue();


    public class ExtBasePagingLoadConfig extends BasePagingLoadConfig implements
    ExtPagingLoadConfig, Serializable {

    private static final long serialVersionUID = 1L;
    protected String value = null;

    public ExtBasePagingLoadConfig() {

    public ExtBasePagingLoadConfig(int offset, int limit, String value) {

    public String getValue() {
    return value;

    public void setValue(String value) {
    this.value = value;


    It works but the PagingToolBar throws class cast exceptions. Possibly because of there subclassing.

    In server side
    public BasePagingLoadResult<Article> getArticles(ExtPagingLoadConfig pageConfig) {


    i need the pageconfig object to have the string attribute.

    Is there any easy way to send values in pageconfig object without breaking the oaging toolbar.


  2. #2


    the exception is

    java.lang.ClassCastException: cannot be cast to

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts