Author Archive > admin

Invoking Apex from a Custom Button using a Visualforce Page

This post is about creating a custom button to be placed in a detail page using Visualforce page instead of an S-control (deprecated). I will be using Opportunity object for this example.
The Controller:

public class VFController
{
private final ApexPages.StandardController theController;
public List<Opportunity> listOpps = new List<Opportunity>();
 
public [...]

Continue reading

It’s gonna make sense – PBB Double Up Eviction Song

This doesn’t really sound like MLTR! LOL!

Lyrics:
Life comes in many shapes
You think you know what you got
Until it changes
And life will take you high and low
You gotta learn how to walk
And then which way to go
Every choice you make
When you’re lost
Every step you take
Has it’s cause

Continue reading

, , ,

How to Dream by Sam Phillips – PBB background music

The first time I heard this song I already liked it. Originally, it’s a Gilmore Girls soundtrack. Check the YouTube video. I hope you guys like this too.

Lyrics:
How to Dream by Sam Phillips
Ah… Ah… Ah Ahhh Ah Ahhh
When we open our eyes and dream
We open our eyes
Ah… Ah… Ah Ahhh Ah Ahhh
When we [...]

Continue reading

, , , ,

Christmas spent in Manila

Xai and I didn’t go home for Christmas, our family went here instead.
Have a look at some of our pics.

Continue reading

How to access element values inside an iframe using Javascript?

Here’s another helpful post for beginners in how to access element values inside an iframe.

var txt = window.frames["iframeName"].document.forms["formName"].elements["elementName"].value;

Tip:  To avoid confusion, your page elements should have the same Id and Name.
I hope this helps!

Continue reading

, ,

prev posts