Liferay屏幕DDLListScreenlet显示"错误加载列表"

时间:2015-11-22 01:24:33

标签: android liferay liferay-6

我最近开始为Liferay 6.2开发Android移动应用程序。

DDLListScreenlet显示错误加载列表。这是我的代码。我被困在这里显示ddl列表。我已按照此视频DDLListScreenlet Demo中的说明完成了此操作。我已经检查好了,recordSetId和lableField都是正确的。

activity_ddllist.xml

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical"
    xmlns:liferay="http://schemas.android.com/apk/res-auto"
    tools:context="com.mindcraft.myspace.DDLListActivity">

    <include android:id="@+id/app_bar"
        layout="@layout/app_bar" />

    <com.liferay.mobile.screens.ddl.list.DDLListScreenlet
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        liferay:recordSetId="28285"
        liferay:labelFields="Title" />

</LinearLayout>

server_context.xml

<?xml version="1.0" encoding="utf-8"?>
<resources>

    <!-- Change these values for your Liferay Portal installation -->

    <string name="liferay_server">http://192.168.0.8:8090</string>

    <integer name="liferay_company_id">20154</integer>
    <integer name="liferay_group_id">20181</integer>

    <integer name="liferay_recordset_id">28285</integer>
    <integer name="liferay_structure_id">28283</integer>
    <string name="liferay_recordset_fields">Title</string>

</resources>

0 个答案:

没有答案