• Ugesh.gali
  • NEWBIE
  • 0 Points
  • Member since 2011

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 7
    Questions
  • 2
    Replies

You do not have the level of access necessary to perform the operation you requested. Please contact the owner of the record or your administrator if access is necessary.

 

 <apex:pageBlock title="Customer Stage" mode="inlineEdit">
<apex:pageBlockTable value="{!CustomerSatgeList}" var="customerSatge">									
	     <apex:column >
		<apex:facet name="header">Color1</apex:facet>
			<apex:detail subject="{!customerSatge.Name}" relatedList="false" inlineEdit="true"/>
		</apex:column>	
	</apex:pageBlockTable>
 </apex:pageBlock>

 

Pass a date to visualforce method to get fiscal year and fiscal month in visualforce page.

How to pass data form one visualforce page to another visualforce page without passing the values through the URL .

I have a  textarea content to be passed from one page to another page.

I have a datetime field which some users are in INDIA and some user are in USA

I have to dispaly dd/mm/yyyy for india and mm/dd/yyyy for us

 

Is there any way to get the time formats based on the user selected locals in apex class

 

how to get dateformat based on user locale

Is there any method to get user timezone in apex class.

 

Apex page code  
<apex:repeat>
<apex:commandButton value="Delete" action="{!DelAlert}" id="delButton" onclick="return confirm('Are you sure {!ActiveAlerts.Id}');">
                            <apex:param name="dParam" value="{!ActiveAlerts.id}" assignTo="{!dParam}" />
                           </apex:commandButton>  
 </apex:repeat>

 

apex class
public string dParam{get;set{
dParam = value;
System.debug('value: '+value);
}}

 

 

I am new bee in SF development. 

I have  apex input fields as

<apex:inputText value="{!Alert_MRR}" >
<apex:inputText style="20%" value="{!Alert_Date}" maxlength="10">

 



In the validation class


The folling code validates if the alert_MRR is null similarily i want to check for number and date also in serverside

if(Alert_MRR== null ){
ApexPages.addMessage(new ApexPages.Message(ApexPages.Severity.FATAL, 'MRR is number.'));
IsValid = false;
}

 

 

Pass a date to visualforce method to get fiscal year and fiscal month in visualforce page.

I have a datetime field which some users are in INDIA and some user are in USA

I have to dispaly dd/mm/yyyy for india and mm/dd/yyyy for us

 

Is there any way to get the time formats based on the user selected locals in apex class

 

how to get dateformat based on user locale