Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    FilterBuilder doesn't show field for foreign fields

    Hello,

    Using Framework (v8.2p_2012-07-17/PowerEdition Deployment 2012-07-17)

    There seems to be a problem with the FilterBuilder in the above release (and also in older nightlies).

    I have an SQL DataSource with a foreign field :
    Code:
    <field name="locationName" type="text" tableName="Location"/>
    When I create a filterbuilder like so:
    Code:
    final FilterBuilder filterBuilder = new FilterBuilder();
    filterBuilder.setDataSource(dataSource);
    filterBuilder.setShowFieldTitles(true);
    IButton filter = new IButton("Filter");
    filter.addClickHandler(new ClickHandler() {
    	public void onClick(ClickEvent event) {
    		grid.filterData(filterBuilder.getCriteria());
    	}
    });
    I get the rendering glitch as shown on the attached screenshot. The middle field 'bevat' means 'contains', and there should be a text field shown on the right where the user can type the value. Instead, there is no inputfield rendered.

    This happens in both development mode as well as deployed mode, in all major browsers.

    Note that it renders correctly on normal fields (ie. non-foreign fields) but not on foreign fields.

    Is this a bug?
    Attached Files

    #2
    Any ideas on this matter?

    Comment

    Working...
    X