Results 1 to 2 of 2
  1. #1
    MunnaBhai is offline Member
    Join Date
    Dec 2010
    Posts
    1
    Rep Power
    0

    Default Link Objects Together

    We are creating a form in which we have many labels, textfields, lists, comboboxes, and etc..

    Our objective is that when the user clicks on a label it should navigate them to a screen where they can further configure the label and its associated textfield. For example, suppose we have a label captioned 'First Name' and a text field that follows it for user input and in addition another label with a asterik(*) symbol marking it a required field. When I click the label and am navigated to the configuration screen how can I have the system at runtime identify which other objects are associate with that label firstname? I want to only show the properties for the associated object.

    I had thought about creating a db table establishing relationships with all objects but then I would have to manually update that table if I delete a object or change the object type.

    Any clues?

    Thanks in advance for your help.

    -- Bhai

  2. #2
    fex
    fex is offline Member
    Join Date
    Dec 2010
    Posts
    20
    Rep Power
    0

    Default

    Put them in a HashMap and use the same key values for objects that belong together?
    Use different containers for each set of objects and simply ask for the container's components in the further setup screen?

Similar Threads

  1. jsf command link
    By Srikala in forum JavaServer Faces (JSF)
    Replies: 2
    Last Post: 06-29-2010, 03:38 PM
  2. link for Jcreator
    By rajivjoshi in forum New To Java
    Replies: 3
    Last Post: 05-31-2010, 11:10 AM
  3. link to another servlet
    By BigBear in forum Java Servlet
    Replies: 3
    Last Post: 03-05-2010, 08:57 AM
  4. Replies: 1
    Last Post: 01-22-2009, 05:25 PM
  5. Link for 64 bit JDK.
    By aparna in forum New To Java
    Replies: 0
    Last Post: 03-19-2008, 03:15 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •