0

placing textbox inside radiogroup template

asked 2016-01-22 16:21:42 +0800

radhika2016 gravatar image radhika2016
1 1

Hi I want to display textbox beside radiobutton.i am able to do it if hardcoded, but not when dynamic. Please suggest. <radiogroup orient="vertical"> <hbox><radio label="Paraffin Block(s) Block#"/> <textbox/></hbox> <hbox><radio label="Unstained Slides Slide#"/> <textbox/></hbox> </radiogroup>

<radiogroup id="sampleList" model="@load(vq1.sampleList)" selecteditem="@bind(vm4.bean.selectedSample)"/> <template name="model" var="tSampleInfo"> <radio label="@load(tSampleInfo.info)" style="padding: 10px;"/> ---how to put textbox here--- </template> </radiogroup>

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-03-04 11:40:17 +0800

gganassin gravatar image gganassin flag of Luxembourg
540 6
http://www.hybris.com/

Hello!

<radiogroup children="@load(vm.arj)" orient="vertical">
    <template name="children">
        <hbox>
            <radio label="@load(each.name)" />
            <textbox />
        </hbox>
    </template>
</radiogroup>

Giovanni

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2016-01-22 16:21:42 +0800

Seen: 27 times

Last updated: Mar 04 '16

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More