Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » How to access textfields in a DetailsPage (Mater-Details-Pattern)
How to access textfields in a DetailsPage (Mater-Details-Pattern) [message #466184] Sun, 15 April 2007 19:38 Go to next message
Marc Schlegel is currently offline Marc SchlegelFriend
Messages: 92
Registered: July 2009
Member
Hi

I am almost done with my little RCP. At the moment I am doing the saving
and there I get a problme: I don't know how I can access the fields in
my DetailsPage? For excample, I have 3 items in my listviewer within the
MasterPart and I changed the attributes of 2. When the editor is saved I
have to read the values from this pages and set them to my domain-object.

I have no clue....
Re: How to access textfields in a DetailsPage (Mater-Details-Pattern) [message #466421 is a reply to message #466184] Wed, 18 April 2007 17:55 Go to previous message
Steve Blass is currently offline Steve BlassFriend
Messages: 276
Registered: July 2009
Senior Member
Marc Schlegel wrote:
> Hi
>
> I am almost done with my little RCP. At the moment I am doing the saving
> and there I get a problme: I don't know how I can access the fields in
> my DetailsPage? For excample, I have 3 items in my listviewer within the
> MasterPart and I changed the attributes of 2. When the editor is saved I
> have to read the values from this pages and set them to my domain-object.
>
> I have no clue....

Sounds like you will need to collect the values from the widgets on the
page. e.g. for a text field named foo you use foo.getText to retrieve
the value.
Previous Topic:Drop Down Action
Next Topic:modal window
Goto Forum:
  


Current Time: Thu Apr 25 05:26:00 GMT 2024

Powered by FUDForum. Page generated in 0.02568 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top