function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
RAJNagRAJNag 

Page Requirement ......................

Hi

Create VF page and controller,If I will give MADRAS and INDIA ,need some output in UI,

Output
Display the Table format like   left column  display label and right column display temparatue.How can i achive this please send sample code anyone.

Regards
Raj
RAJNagRAJNag
Hi Modi

This is my page
<apex:page controller="CountryAndState" sidebar="false">
    <apex:form >
        <apex:pageBlock >
            <apex:pageBlockSection columns="2">
                <apex:outputLabel value="Country"/>
                <apex:inputText required="true" id="coun" value="{!Country}" />
                <apex:outputLabel value="State"/>
                <apex:inputText required="true" id="stat" value="{!State}" />
            </apex:pageBlockSection>
            <apex:pageblockButtons >
                <apex:commandButton id="getRecords" value="Fetch" action="{!fetch}" rerender="acctDetails" status="waitStatus" />
            </apex:pageblockButtons>
        </apex:pageBlock>
        
        <apex:pageBlock >
        <apex:pageblockSection id="OtherDetails">
        <apex:pageBlockTable value="{!CountryDetails}" var="coun">
   
            <apex:column >
                <apex:facet name="header">Country Name</apex:facet>
                <apex:outputText value="{!coun.name}"/>
            </apex:column>
   
            <apex:column >
                <apex:facet name="header">Temparature</apex:facet>
                <apex:outputText value="{!coun.Temparature}"/>
            </apex:column>
         </apex:pageBlockTable>
    </apex:pageblockSection>
</apex:pageBlock>   
    </apex:form>
</apex:page>

My xml code : http://www.webservicex.com/globalweather.asmx?wsdl 

Need class whenever click the fetch button dispaly the name and temparature in perticlur state.Based on above xml code.

Regards
Raj