• dn
  • NEWBIE
  • 0 Points
  • Member since 2012

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

Hello,

 

I'm using an extension controller to display a calcluated field. After I insert my custom Visualforce page into an existing page layout, the page I inserted is centered, hence, the field (Service TIme) I inserted is not aligned with the rest of the fields in the page.

 

Here is my Visualforce page:

 

<apex:page standardController="BMCServiceDesk__Incident__c"  extensions="AT_IncidentExtension" tabStyle="BMCServiceDesk__Incident__c">
	<apex:pageBlock mode="maindetail">
		<apex:pageBlockSection Columns="2" collapsible="true">
			<apex:pageBlockSectionItem >
				<apex:outputLabel value="Service Time" for="ST"/>
				<apex:outputText value="{!serviceTime}" id="ST"/>			
			</apex:pageBlockSectionItem>			
		</apex:pageBlockSection>
	</apex:pageBlock>
	<apex:outputText value="{!BMCServiceDesk__Incident__c.BMCServiceDesk__openDateTime__c}" rendered="false"/>
	<apex:outputText value="{!BMCServiceDesk__Incident__c.BMCServiceDesk__closeDateTime__c}" rendered="false"/>
</apex:page>

 

Even though I specify 100% for the width parameter while inserting the Visualforce page into the page layout, it appears to be shorter in width and centered.  Here is how it renders:

 

<sorry couldn't paste the graphic>

 

Obvously, I'm new to this and I'd truly appreciate any help anyone can provide to fix this so all the fileds in the page (original page layout + new Visualforce page) align up.

 

Thanks,

DN

  • September 25, 2012
  • Like
  • 0

Hello,

 

I'm using an extension controller to display a calcluated field. After I insert my custom Visualforce page into an existing page layout, the page I inserted is centered, hence, the field (Service TIme) I inserted is not aligned with the rest of the fields in the page.

 

Here is my Visualforce page:

 

<apex:page standardController="BMCServiceDesk__Incident__c"  extensions="AT_IncidentExtension" tabStyle="BMCServiceDesk__Incident__c">
	<apex:pageBlock mode="maindetail">
		<apex:pageBlockSection Columns="2" collapsible="true">
			<apex:pageBlockSectionItem >
				<apex:outputLabel value="Service Time" for="ST"/>
				<apex:outputText value="{!serviceTime}" id="ST"/>			
			</apex:pageBlockSectionItem>			
		</apex:pageBlockSection>
	</apex:pageBlock>
	<apex:outputText value="{!BMCServiceDesk__Incident__c.BMCServiceDesk__openDateTime__c}" rendered="false"/>
	<apex:outputText value="{!BMCServiceDesk__Incident__c.BMCServiceDesk__closeDateTime__c}" rendered="false"/>
</apex:page>

 

Even though I specify 100% for the width parameter while inserting the Visualforce page into the page layout, it appears to be shorter in width and centered.  Here is how it renders:

 

<sorry couldn't paste the graphic>

 

Obvously, I'm new to this and I'd truly appreciate any help anyone can provide to fix this so all the fileds in the page (original page layout + new Visualforce page) align up.

 

Thanks,

DN

  • September 25, 2012
  • Like
  • 0

Hi,

 

Unable to fetch and save Force.com Components to Project: com.salesforce.ide.api.metadata.types.Metadata$JaxAccessorF_fullName cannot be cast to com.sun.xm.internal.bind.v2.runtime.reflect.Accessor

 

Abort or Continute Force.com project creation?

==============

while i am creating a new force.com project i got this error: can u please tell me why this error came. i downloaded eclipse and added force.com ide.... when i try to creating a new force.com project i got this error... and i am able to create a force.com project but not getting all existing classes and pages. And not added my new page or class content to the sever when i save. Is it required any other software installations?