• deshaw
  • NEWBIE
  • 0 Points
  • Member since 2008

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 4
    Questions
  • 4
    Replies
I have a visualforce page..
I want to reference the page in the read-only mode or normal mode without the dev part associated with it?

Could anyone help on this?

Thanks,
Manickkam.
Hello,
 
I am having difficulties getting this to work. I just want the name of the person that created a record in my custom object Project_info__c. I have tried using a standard and a custom controller, since I am not doing much spectacular stuff I would rather stick to the standardcontroller for now.
 
<apex:outputtext value="{!Project_info__c.CreatedById.Lastname}"/>
 
Error: The class 'java.lang.String' does not have the property 'LastName'.
 
Other methode:
<apex:dataList value="{!Project_info__c.CreatedById}" var="r">
        {!r.FirstName}
</apex:dataList>
 
Same error...:smileysad:
 
Any ideas, Thanks
Jeroen:smileyvery-happy:
Hi

I have created two Record type say A, B for a custom object and assigned the record type to repective page layout say A, B.
When a user clicks on the continue button after choosing the record type I want to check if a record already exists for the selected record type. If a record type exists then one more record cannot be added to the same record type.
In this case i need to show a error message and redirect the user back to original screen.

I am wondering how this funtctionality can be achieved ?
Anyinputs and sample code would do wonders for me..

Thanking in advance..

Regards



There is a pop-up window page developed in visualforce.

I want to update a field in the opener window on submitting. I am doing it through javascript using window.opener.document
It throws up an error saying window.opener doesn't exist.

How to use visualforce page as a pop-up window and access the window.opener elements?

P.S: The need is actually to update one of the element in the parent window by the value in the pop up window. (Similar to inline edit of look-up/ multi-picklist window).