PageContext.getOrgId() NOT working - please help!

Hi,
I've been struggling with what should be very simple.
I am trying to get the signon OrgId value in my controller using the following syntax but keep getting incompatible types error. What am I missing?
int orgId = pageContext.getOrgId();
I am importing java.io.Serializable and Oracle.jbo.domain.Number classes.
Thank you.

Are you sure that this is the line the error is pointing to? It should compile fine and am able to compile it.
--Shiv                                                                                                                                                                                                                                               

Similar Messages

Maybe you are looking for

  • How do you convert a PDF to Word or Excel in Acrobat 9 Pro?

    How do you convert a PDF to Word or Excel in Acrobat 9 Pro?

  • Switch HD from one macbook pro to another?

    I have a new macbook pro (i7) arriving this week, and I would like to simply take the HD out of my existing macbook pro (i5) and put it in the new one ... (instead of bothering with the migration tool). Would there be any problem with this? Or should

  • Help on SPAM: xpra execution, tp buffer inconsistency 008

    I'm trying to ask to this forum, I've never received any kind of suggestion. On a Win2k3/mssql 2000/sap 4.7x200 installation, using SPAM 6.20/19 I've encountered an error in XPRA execution (is a tp buffer inconsistency with return code 0008) while I

  • DB to use stand alone Softwares ? Need Help

    Hi friends, My Housing Society has asked me to develop a software for their accounting purpose. As I am well versed with JAVA I would using it for GUI thing. But I could not decide on DB software. I would like to open source softwares and it should b

  • There and error in this code

    import java.applet.Applet; import java.awt.*; import java.awt.event.*; public class ClickMe extends Applet implements MouseListener { private Spot spot = null; private static final int RADIUS = 7; public void init() {      addMouseListener(this); pub