Hi
Is it ok to map the same column, parent_id this example, across the subclasses?
It is a key column.
<subclass name="ClientProfileDO" discriminator-value="CP">
<list name="c_contacts" cascade="all">
<key column="parent_id" not-null="true"/>
<index column="idx"/>
<one-to-many class="Contact"/>
</list>
</subclass>
<subclass name="BusinessProfileDO" discriminator-value="BP">
<list name="b_contacts" cascade="all">
<key column="parent_id" not-null="true"/>
<index column="idx"/>
<one-to-many class="Contact"/>
</list>
</subclass>
Thanks
On Monday, December 1, 2014 12:21 AM, Girish Kumar <[email protected]>
wrote:
Hello,
i am new to gwt currently working on a project on gwt in my organisation i have
a question about asynchronous population of a ui widget
the base architecture of my application is this
we have
1.XXXWidget.ui.xml and XXXWidget.java which acts as a view
2.XXXActivity.java which is for ui actions and 3.set of RPC classes which make
the server side calling along with DTOs and Hibernate POJOs
in the backend
they way it works basically is ui is represented by the files mentioned in
point 1
Activity classes will have code for calling RPC classes which will fetch data
from background databases in the form of DTOs
My problem
i am trying to load data in the ui(a Combo box must contain country list which
must be present as soon as the ui loads fully) dynamically in order to make
dynamic calls i have to invoke a RPC call in the activity class however i am
not able to do that before the ui loads i.e
ui loads before the RPC calls is made this results in am empty combo box please
let me know if the problem description is sufficient for a possible
solution.And hignly appreciate if anyone provides me a solutions to this problem
thanks in advance
regards,
Girish
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.