+ Start a Discussion
VeniVeni 

Radio Button

I am very new to salesforce.com, can some help me in clarifying my doubts

 

How to create Radio Button?

Can i use layout(Frames) concept in salesforce, if how?

How to create Menu?

Best Answer chosen by Admin (Salesforce Developers) 
prageethprageeth

Hi Veni

You can use VisualForce "<apex:selectRadio>" tag or HTML "<input type="radio"/>" tag to create radio buttons.

 

HTML frames can be put in to an Apex page as usual.

 

<apex:page showHeader="false">

<frameset cols="60%,40%">

<frame src="http://www.salesforce.com">

<frame src="http://www.google.lk">

</frameset>

</apex:page>

 

If you meant iframes you can use Apex "<apex:iframe>" tag or HTML "<iframe>" tag.

 

 

<apex:page showHeader="false">

<apex:iframe src="http://www.google.com" scrolling="true" height="50%"/>

<apex:iframe src="http://www.salesforce.com" scrolling="true"/>

</apex:page> 

 There is no Apex menu Tag. You have to use HTML <menu> tag.

 

 Remember almost all the HTML tags work inside the apex page.

 

<apex:page>

<menu>

<ol> Item 1</ol>

<ol> Item 2</ol>

</menu>

</apex:page>

 

 

 

 

See Visualforce Components Reference for more details about visualforce tags. 

Message Edited by prageeth on 10-27-2009 01:26 AM

All Answers

prageethprageeth

Hi Veni

You can use VisualForce "<apex:selectRadio>" tag or HTML "<input type="radio"/>" tag to create radio buttons.

 

HTML frames can be put in to an Apex page as usual.

 

<apex:page showHeader="false">

<frameset cols="60%,40%">

<frame src="http://www.salesforce.com">

<frame src="http://www.google.lk">

</frameset>

</apex:page>

 

If you meant iframes you can use Apex "<apex:iframe>" tag or HTML "<iframe>" tag.

 

 

<apex:page showHeader="false">

<apex:iframe src="http://www.google.com" scrolling="true" height="50%"/>

<apex:iframe src="http://www.salesforce.com" scrolling="true"/>

</apex:page> 

 There is no Apex menu Tag. You have to use HTML <menu> tag.

 

 Remember almost all the HTML tags work inside the apex page.

 

<apex:page>

<menu>

<ol> Item 1</ol>

<ol> Item 2</ol>

</menu>

</apex:page>

 

 

 

 

See Visualforce Components Reference for more details about visualforce tags. 

Message Edited by prageeth on 10-27-2009 01:26 AM
This was selected as the best answer
VeniVeni
Thanks prageeth