English 中文(简体)
我应如何把新观点组成部分与《维也纳条约法公约》模式的发言者联系起来?
原标题:How should I bind new view components to the presenter in GWT s MVP pattern?

I been reading through Large scale application development and MVP and I was wondering how you guys deals with dynamically added components within this suggested way of implementing the pattern.

请允许我说,你有一张桌子,每张桌上有三顿子,桌上可以有活力地增加。 你们怎么会提出对发言者具有约束力的建议?

如果采用谷歌拟议结构,新行将产生于这种观点,而这种观点与提出者没有直接联系,不能回头(没有打上<条码>宾德·纽布顿(Button, Button, Button)-ish类型方法)。

因此,这方面的良好做法是什么? 我是想到的,因为介绍人将处理在意见中增加植被新增长的活动(手套,在这种观点中焚烧产生这一新增长的方法),因此,我认为,我可以采用<代码>:getRowButtons(int index)方法,然后利用这一方法在添加后检索这些成分并约束它们。

我确信,这样做的方法更为模糊,因此我在此寻求一点意见。

最佳回答
问题回答

暂无回答




相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签