How can I publish the data to the hash table using regulator netui?

Could someone help me on how to display the data of the hash to netui in the controller.

There are altogether 18 survey questions (each question will have a list of surveyquestionanwer)
but I see only 14 issues of the investigation during the validation in the controller and also I see all the answers of the survey instead of the one that is selected on the jsp.

Here is my sample code.
setQuestionSurveyAnswers(Set<Entry<String, Collection<SurveyQuestionAnswer>>> surveyAnswers)

Map<String, Collection<SurveyAnswer>> surveyQuestionAnswerList = new HashMap<String, Collection<SurveyAnswer>>();

surveyQuestionAnswerList contains <questionId, List<SurveyQuestionAnswer>>

---------------------------------------------------------------------------------------------------------------
<netui-data:repeater dataSource="pageFlow.surveyForm.surveyAnswers">
<netui-data:repeaterItem>
   <netui:span value="${container.item.key}" />
     <netui:radioButtonGroup dataSource="container.item.key" orientation="horizontal"> // is anything wrong here?
          <netui-data:repeater dataSource="container.item.value">
               <netui-data:repeaterItem>
                    <netui:radioButtonOption value="${container.item.answerText}">
                         <netui:label value="${container.item.answerText}" />
                    </netui:radioButtonOption>
               </netui-data:repeaterItem>
          </netui-data:repeater>
     </netui:radioButtonGroup>
</netui-data:repeaterItem>
</netui-data:repeater>
---------------------------------------------------------------------------------------------------------------
data structure:
---------------------------------------------------------------------------------------------------------------
questionId  answerId    answerText      surveyQuestionLabel
---------------------------------------------------------------------------------------------------------------
1              1           Yes          Do you want to take the survey?  <SurveyQuestionAnswer>
1              2           No           Do you want to take the survey?     <SurveyQuestionAnswer>
2              1           Beginner     Your expertese Level?    <SurveyQuestionAnswer>
2              2           Expert       Your expertese Level?    <SurveyQuestionAnswer>
Appreciate your help.
Thank you

Hello
It won't work, you bind the data of the hashmaps key, which does not work (you have a vo as the key)
I believe that your structure should be something like

[QuestionAnswer] where QuestionAnswer has the label of the Question as well as a map of string, the string (AnswerId v/s AnswerText) (this may be an implicit method that traverses all objects and creates a map of AnswerId, AnswerText) and a single field of selectedAnswer.

Your outer loop will make a loop on QuestionAnswer and print the label of the Question and the inner loop will be the RadioButtonGroup, the data source must be the field of selectedAnswer (because you want to fill only) and the optionsDataSource is the AnswerId card, AnswerText

concerning
Deepak

Tags: Fusion Middleware

Similar Questions

  • How can I disable the newtab most used feature display sites. I want the new tab to open the page displayed in the newtab:url in the topic: function config

    How can I disable the newtab most used feature display sites. I want the new tab to open the page displayed in the newtab:url in the topic: function config

    41 of Firefox is no longer uses the browser.newtab.url setting in about: config because he was constantly attacked by malware. From 41 of Firefox, you need an add-on to change the new tab page.

    Here are a few options (I'm learning more all the time):

    • If you are already using the extension classic restaurateur theme: There is an option somewhere (!) in his dialogues of the parameters to select another page in the new tab.

    Setting up substitute again tab

    After installing this extension, you must use the Options page to set the new desired tab page (instead of use subject: config).

    Open the page modules using either:

    • CTRL + SHIFT + a (Mac: Cmd + shift + a)
    • "3-bar" menu button (or tools) > Add-ons

    In the left column, click Extensions. Then on the side right, find the new tab override and click the Options button. (See first screenshot attached).

    Depending on the size of your screen, you may need to scroll down to enter the address in the form. (See second screenshot attached). For example:

    • (Default) page thumbnails = > subject: newtab
    • Blank tab = > subject: empty
    • Built-in Firefox homepage = > topic: welcome
    • Any other page = > full URL of the page

    Then tab or click this form field and you can test using Ctrl + t.

    Success?

    Once you have set it as you wish, you can close the Add-ons page (or use the back button to return to the list of Extensions of this Options page).

  • How can I get the keyboard to use only English punctuation

    Laptop HP 2000-300 CA... How can I prevent the keyboard from using the punctuation french when I try to use the English apostrophe, or question marks is what I get when I try to type an exclamation mark E

    I have a Canadian keyboard that gives me some English and french of the characters. I went to the U.S. English keyboard, rebooted and it seems to work. I saw the site you provided however, and if my current solution does not last long... you can be sure to find me on your Web site. Thank you for taking the time to answer.

  • I replaced my hard drive and format my computer before turning off the software PS.  It need my code series now, but I had lost.  How can I solve the problem and use the software again?

    I replaced my hard drive and format my computer before turning off the software PS.  It need my code series now, but I had lost.

    How can I solve the problem and use the software again?

    If you use a perpetual Photoshop and formatted your disc version of starting without disabling your activation of Photoshop, you also Adobe supports help you activate Photoshop once you retrieve your serial number.  The startup disk formatting would destroy that credential of Activation Photoshop machine which is registered in the database of the Adobe activation server. Which reduces the activation numbers you have to use.  If you have Photoshop installed on a second computer that means that you have no free activation available as well, even with your key you can't activated the machine.

  • How can I make the past events using {module_booking}?

    How can I make the past events using {module_booking}? Filter = 'All' Render = 'All' seems to show only upcoming events. Any advice? Thank you!

    By the new engine rendering and the module_data.

  • How can I disable the menu items using manu, Photoshop cs6?

    How can I disable the menu items using manu, Photoshop cs6?

    I packed Photoshop cs6 using AAMEE CS6.

    I need some menu items to disable.

    can someone please process to do, or what records or files need to edit.

    Enjoy the immediate response.

    Thanks in advance.

    There is another discussion on the same topic: http://forums.adobe.com/thread/1234967?tstart=0

    Perhaps the same company has contracted two of your companies

  • How can I prevent the user to use a USB card to copy office files?

    How can I disable the use of USB drives on the computer

    Hello

    We have a very good document to http://support.microsoft.com/kb/823732

    I hope this helps.

  • How can I change the settings to use wds Explorer format NO libraries - man of my file were not placed there by vista

    I have over 300 photos, 150 + documents, large files of Family TreeMaker large and reports for five separate families. Of course, there are some thecomputer file uses. And a number of files of daily use.
    LIBRARIES do not contain all these files - the only way I get to the file are not not in the library is to use Windows Explorer, and who does not always show the genealogy reports.
    Only about a quarter of my photos were listed in the picture library.
    The Stands of Question - how can I change the settings to get rid of the LIBRARY format and return to a format similar to or is Winows Explorer?
    AND the second Question, use the list of records, no libraries, wen I move to Windows 7 and Family Tree Maker 2012 once the computer is repaired?

    Hello

    1. Please let us know which Antivirus are you using?

    You can disable the libraries in Windows 7. Please visit the following link:

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-files/turning-off-libraries-in-Windows-7/18d001dc-5319-440b-B29C-d348f81c929c

    It is not possible to delete libraries. Libraries are part of both Windows Vista and Windows 7 operating system.  You can still navigate through your files on the computer--> C :\-> users-> .

    Please visit the following link:

    http://TechNet.Microsoft.com/en-us/library/ee449413 (WS.10) .aspx

  • How can I fix the redirects when using Firefox 30? Windows 8.1.

    I've redirected and/or pop ups using Firefox 30 with Windows 8.1. He started immediately with the download of the said Windows 8.1, so I think it came with this download, and although I have run deep scans and even a pre-start with Avast scan, as well as a scan with IObit Anti Malware, I always get the redirects or pop ups.

    A smart redirection (context sensitive) it's trying to get the money from you. For example, I had tried to stop the pop ups [redirects, maybe] with the pop-up blocker probably integrated into Firefox, but Firefox Help leads me to an # 800 who offered to connect remotely and fix my PC with certified technicians as you will see in the chat below. He appeared as a function of Firefox, not a redirect.

    Just after the chat with the 800 suit, I opened FireFox and he went to the (default) url: start.mysearchdial.com/ and a hash string more, which is perhaps how popups spreads?
    I'm from mozilla via a url and soon encouraged me to download the new version, saying a current obsolete. But he was not going to download it from: http://downloadsoftware.pw/download/firefox2/

    He isn't very smart, it is also resistant to many software removal tools.

    What could suggest you? I tried not many of these tools yet.

    MySearchDial must have an entry in the Control Panel, but may also have fangs in your browsers.

    Control and cleanup that will take a few precautions. I suggest starting here:

    Open the Control Panel, uninstall a program. Click on the column heading "installed on" to group infections, I mean additions by date. This can help the undisclosed items bundle smoker who snuck out with some software, you have agreed to install. Out as much garbage as possible here.

    Then, in Firefox, open the page modules using either:

    • CTRL + SHIFT + a
    • "3-bar" menu button (or tools) > Add-ons

    In the left column, click Extensions. Then, in case of doubt, disable (or delete, if possible) not recognized and unwanted extensions.

    Often, a link will appear above at least an extension disabled to restart Firefox. You can complete your work on the tab and click one of the links in the last step.

    Finally, you can "absorb" remain problems with the scanning/cleaning tools listed in our support article: Troubleshooting Firefox problems caused by malware.

    Are you able to get rid of him?

  • How can I check the immutable flag using VCM?

    So the VCM is patching our Oracle Linux big servers now (thanks 5.7.2) However there is a problem.

    On some of our servers, the immutable flag is set on grub.conf.  It's simple to fix.  Just do a 'chattr /boot/grub.conf-i"and we're on our way.

    I am looking for a way to automate this...

    How can I create a compliance model to run a lsattr command to verify if the immutable flag is set on/boot/grub.conf, and can deal with a remote control?

    Appreciate the help.

    Steve

    Hi Steve,.

    First of all, it not there no easy way in VCM (using the default file structure data class) to get the little extended as immutable properties file. VCM now collects information may be collected using the command ls only.

    But, something known as a Type of custom information that can be exploited to run system commands and parse the output of the command to use the compliance data facilitate the VCM. However, please note that these data would *NOT* be available for automated remediation. If you're ok, read more:

    I guess that's for file /boot/grub/grub.conf only. I also assume you're on VCM 5.7.2.

    This would require steps below:

    (1) create a kind of personalized information (CIT)

    (2) collection of data using information on file /boot/grub/grub.conf personalized data class

    (3) check the data collection in the VCM console | UNIX | Custom information node

    (4) write the compliance rule and run the model

    (5) verify the results

    These steps are described in the attachment. Please let me know if you need further information.

    Thank you and best regards,

    Pravin Goyal

  • How can I configure the columns without using code

    So, is it how, simply type in the information tab and everything that is necessary to get a peek, or it can be done only use code?

    So here is what I get, but I don't see how. When I try to create spaces / columns - it does not work. If I'm just trying to hit the SPACEBAR to create spacing, then only a single space. I am

    guess I could insert the jpeg and edit the files together when and if there are changes to the pricing, but that seems to be the wrong way to do it.

    pricelist.jpg

    Suitable tables involves using some code. Here's a way to do it: tables adapted in Pure CSS - Blog on technology of LivingSocial.

  • How can I start the database without using crsctl? ~ Xev

    Hey guys, it's Xev.

    I'm trying to recover cancellation based, and when I try to put the database to mount with sqlplus, it won't let me.

    How to use srvctl to put the database in a mode of editing?

    I stopped the entire stack of crs on both nodes, but I'm not clear on how to assemble the database now to the CCR?

    Thank you

    Xev.

    Xev Bellringer wrote:

    Ho Toby, when I try this command, srvctl start db d db_unique_name o mount

    It gives me the following two errors:

    PRCD-1027 unable to recover the RAC database

    RPRC-1070 has been unable to verify

    I have the GRID_HOME of source and I use root of course srvctl start because it is in srvctl.

    I have crs stack while I do this? If yes how do I start the CRS battery without the database?

    Hi Xev

    On this step, I'm assuming that you have defined cluster_database = false and have stop the CRS.

    Remember: -.

    1 take a full backup still running (assume that you already have).

    2. make cluster_database = false, before starting the recovery.

    3 went parallelmediarestore the RMAN parameter, because it can slow down the recovery process.

    4 restore the db.

    5. you start db.

    6. set cluster_database = true.

    7. stop your db in normal mode, immediate.

    8. start your database by srvctl

    Good luck...

    Concerning

    Jihane Narain Sylca

  • How can I make the text highlight using the i-beam in a browser using CS4?

    Whenever I have test a movie or view in browser html, the text is selectable/unlightable. How can I do so that I can highlight text and copy/past. You know the options when you right click after you select the text. Thanks to a bouquet. I use cs4.

    Select the text box, and in the property Panel, you can set the text to be "selectable" box

  • How can we do the invisible table cells (but not content) in DW CS5?

    How can you efficiently convert the table cells in invisible ones so that the content within these cells gets stand alone, visibility-wise, please?  I looked at so many different orders of Dreamweaver CS-5, but none seem to do the trick, at least do not apparently potentially compromising the existing content somehow.  Any thoughts, please?

    Change

    BORDER CELLPADDING = "0".

    TO

    BORDER = "0".

    See what for you.

    Gary

  • How can I change the dictionary I use?

    I already had to add words to the dictionary by using the spell checker but would go the dictionary and previously to add a lot of words, I know I will use.
    I use the Australian Dictionary. Can I change it?

    You cannot change the dictionary. aus, but you can change the personal dictionary, to which you have already done some additions:

    http://KB.mozillazine.org/dictionaries#Personal_dictionary

Maybe you are looking for