Skip to content

loading data via 'url' not working #316

@NatalieErdmann

Description

@NatalieErdmann

Hi,

our table remains empty when we try to load data via 'url' attribute. We tried absolute and relative urls.

Version:

<dependency>
    <groupId>com.github.dandelion</groupId>
    <artifactId>datatables-jsp</artifactId>
    <version>1.1.0</version>
</dependency>

Table:

<datatables:table id="krankenkassenList" url="krankenkassen/list">
   
    <datatables:column property="name" title="Name"/>

</datatables:table>

Everything is fine when we are using 'data' attribute. Also it's working when we use 'url' attribute and add some question marks to the end of the url (in this case: "krankenkassen/list????"). I see that the method behind the rest interface is called twice then. Without question marks it's called once, but the table remains empty.

I think it's a bug, or does anyone have a hint how we could fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions