You need to sign in to do that
Don't have an account?
basha sk
Hi Everyone,
I'm trying to read the fields from extension method called " getPTs() " into visualforce page
but i'm confusing here.I know by using the datatable to access the fields but in that fields are in columns.
i don't want like that.I need to display the fields as input fields for enterig the input.
Note : read the fields like input fields because for entering the input value.
vf page :
----------
<apex:page standardController="Webinar__c" tabstyle="Adobe_Webinars__tab" extensions="AdobeLatestRegistrationForm" sidebar="false">
<apex:form>
<apex:pageBlock Title="Adobe Registration Form">
<apex:pageBlockSection>
</apex:pageBlockSection>
</apex:pageBlock>
</apex:form>
</apex:page>
apex class
-------------
global class AdobeLatestRegistrationForm{
private LightiningEd__Webinar__c MI;
private List<LightiningEd__Webinar_Attendees_Status__c> PTs;
public List<LightiningEd__Webinar__c> we{get;set;}
public AdobeLatestRegistrationForm(ApexPages.StandardController controller){
this.MI= (LightiningEd__Webinar__c)controller.getRecord();
}
public List<LightiningEd__Webinar_Attendees_Status__c> getPTs(){
PTs = [SELECT id,Name, LightiningEd__First_Name__c,LightiningEd__Last_Name__c,LightiningEd__Login__c,
LightiningEd__Register_Password__c,LightiningEd__Conform_Password__c,LightiningEd__Company_Name__c,LightiningEd__City__c,
LightiningEd__State__c,LightiningEd__Country__c,LightiningEd__Mobile_Phone__c
FROM LightiningEd__Webinar_Attendees_Status__c where LightiningEd__Webinar__c = :ApexPages.currentPage().getParameters().get('id')];
return PTs;
}
}
How to read the fields from extension into visualforce page like input fields ?
Hi Everyone,
I'm trying to read the fields from extension method called " getPTs() " into visualforce page
but i'm confusing here.I know by using the datatable to access the fields but in that fields are in columns.
i don't want like that.I need to display the fields as input fields for enterig the input.
Note : read the fields like input fields because for entering the input value.
vf page :
----------
<apex:page standardController="Webinar__c" tabstyle="Adobe_Webinars__tab" extensions="AdobeLatestRegistrationForm" sidebar="false">
<apex:form>
<apex:pageBlock Title="Adobe Registration Form">
<apex:pageBlockSection>
</apex:pageBlockSection>
</apex:pageBlock>
</apex:form>
</apex:page>
apex class
-------------
global class AdobeLatestRegistrationForm{
private LightiningEd__Webinar__c MI;
private List<LightiningEd__Webinar_Attendees_Status__c> PTs;
public List<LightiningEd__Webinar__c> we{get;set;}
public AdobeLatestRegistrationForm(ApexPages.StandardController controller){
this.MI= (LightiningEd__Webinar__c)controller.getRecord();
}
public List<LightiningEd__Webinar_Attendees_Status__c> getPTs(){
PTs = [SELECT id,Name, LightiningEd__First_Name__c,LightiningEd__Last_Name__c,LightiningEd__Login__c,
LightiningEd__Register_Password__c,LightiningEd__Conform_Password__c,LightiningEd__Company_Name__c,LightiningEd__City__c,
LightiningEd__State__c,LightiningEd__Country__c,LightiningEd__Mobile_Phone__c
FROM LightiningEd__Webinar_Attendees_Status__c where LightiningEd__Webinar__c = :ApexPages.currentPage().getParameters().get('id')];
return PTs;
}
}