English 中文(简体)
SmartGWT 两个模块 1数据源
原标题:SmartGWT two modules one datasource

我花了很多时间分享两个GWT模块的数据源。

我已经尝试了一切。我会张贴一些东西,但不确定它会有什么帮助,因为我已经对它做了这么多修改。 关于如何在两个GWT模块之间共享数据源的指导/研究?

我有一个问题。 一个模块会将数据添加到源头, 源代码会进入 HSQLDB 中以保持持久性。 这很好。 但是第二个模块不会接收添加的数据。 如果我试图显示第一个模块的数据, 我就不会遇到问题 。

我在两个模块中使用“ 数据源. get (“ DS_ Name ”) ” 。

在每个 HTML 中,我都添加了这一行:“[Scrcs="FirstModuleName/sc/Data source Loader?数据源=DS_Name" [/prity]”。

有什么想法吗?

最佳回答

由于这是SmartGWT, 您第二个模块的 html 中, 请确保无形态的 Dir =" FirstModuleName/ sc" 。 这应该为它提供数据源 Loader 的正确路径 。

问题回答

暂无回答




相关问题
HSQLDB how to manually insert records

My question is how can I manually add records to hsqldb database. I mean using command line or some client. I know I can use hsqldb manager but I cannot execute any query with it. It says that there ...

Hibernate/JPA/HSQLDB Enum issues

I am using Hibernate annotations and entity manager (JPA) with HSQLDB. So I have an entity with an enum field: @Enumerated(EnumType.STRING) @Column(name = "access_level") public AccessLevel ...

Converting Oracle date arithmetic to work in HSQLDB

I m trying to spot-test an Oracle backed database with hsqldb and dbunit, but I ve run into a snag. The problem is with the following EJB-QL (simplified a bit): SELECT o FROM Offer o WHERE :...

Storing UUID in HSQLDB database

I wish to store UUIDs created using java.util.UUID in a HSQLDB database. The obvious option is to simply store them as strings (in the code they will probably just be treated as such), i.e. varchar(...

Migrate Grail s HSQLDB embedded database

how to migrate Grail s HSQLDB embedded database(That contains my App s Data that I don t want to lose) into external one, such as MySQL or ApacheDerby?

Script stops working on HSQLDB 1.9.0-rc6

DROP VIEW V1 IF EXISTS; DROP TABLE T1 IF EXISTS; CREATE TABLE T1 (id INT, name VARCHAR(32), age int); CREATE VIEW V1 AS (SELECT * FROM T1 WHERE age < 21); I have no problem to execute the SQL ...

热门标签