Is it possible to access elements of a view in implementation class?

Hi,
        In the BSP component workbench, is it possible to manipulate elements of a view (listbox, inputfields etc., hardcoded using htmlb tags) in the methods of view implementation class. For example, I have a inputfield which is initially invisible. I want to make it visible when a particular event is triggered. I wish to code this directly in the event handler method. Can anybody provide some pointers?

Arun,
As the UI elements (tags) do only exist during rendering phase a direct access from the view controller is not possible - especially not in the forward-oriented way from within an event handler as  indicated from you in the posting.
However, it is of course possible to hard-code view layouts; for this approach you can use the BSP view corresponding to the view and code there whatever you like. BSP views can also contain code snippets to achieve dynamic effects. In your example it doesn't look like that you need code at all - you need to preserve the status (visible/ invisible) in a value attribute of a context node and use this value to bind visibility of the input field on the layout.
In CRM 2007, there are two main tag libraries (aka BSP extensions) being used:
- THTMLB (single tags, like input field, button, table, ...)
- CHTMLB (configuration tags; these are available for forms, tables and trees)
You should always use these tag libraries in the first place to assure common look and feel and avoid rendering issues.
Best regards
Peter

Similar Messages

  • Evaluating FXG files - possible to access elements and add event handlers?

    I would like to read an existing FXG file into flash builder and then datamine the file for elements, and add event handlers to those elements.
    For instance, if I have two rectangles in an FXG file (not in the flash builder mxml) and then read it in, I'd like to search for every rectangle and add an event handler that detects a mouse click. If the FXG code changes to three rectangles, I don't want to change my mxml for flash builder.
    Is this possible?

    I'm seeing a pretty tragic death using the following, where theDiagram.fxg is in the assets directory. Does <Graphic> map to a SpriteVisualElement, or is the <Graphic> composed of SpriteVisualElements?
    import assets.theDiagram;
    private var fxgCls:Class = theDiagram as Class;
    private var fxgElement:SpriteVisualElement = new fxgCls() as SpriteVisualElement;
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::updateCallbacks()[E:\dev\4.x\frameworks\projec ts\framework\src\mx\core\UIComponent.as:7093]
    at mx.core::UIComponent/set nestLevel()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\UIComponent.as:3986]
    at spark.core::SpriteVisualElement/http://www.adobe.com/2006/flex/mx/internal::addingChild()[E:\dev\4.x\frameworks\projects\s park\src\spark\core\SpriteVisualElement.as:2106]
    at spark.core::SpriteVisualElement/addChild()[E:\dev\4.x\frameworks\projects\spark\src\spark \core\SpriteVisualElement.as:2070]
    at assets::theDiagram_Text_16710627/createText()
    at assets::theDiagram_Text_16710627()
    at flash.display::Sprite/constructChildren()
    at flash.display::Sprite()
    at flash.display::MovieClip()
    at flash.display::Sprite/constructChildren()
    at flash.display::Sprite()
    at flash.display::MovieClip()
    at flash.display::Sprite/constructChildren()
    at flash.display::Sprite()
    at flash.display::MovieClip()
    at flash.display::Sprite/constructChildren()
    at flash.display::Sprite()
    at flash.display::MovieClip()
    at flash.display::Sprite/constructChildren()
    at flash.display::Sprite()
    at flash.display::MovieClip()
    at flash.display::Sprite/constructChildren()
    at flash.display::Sprite()
    at mx.core::FlexSprite()[E:\dev\4.x\frameworks\projects\framework\src\mx\core\FlexSprite.as: 61]
    at spark.core::SpriteVisualElement()[E:\dev\4.x\frameworks\projects\spark\src\spark\core\Spr iteVisualElement.as:87]
    at assets::theDiagram()[assets/theDiagram-generated.as:10]
    at SpecViewer()[SpecViewer.mxml:22]
    at _SpecViewer_mx_managers_SystemManager/create()
    at mx.managers.systemClasses::ChildManager/initializeTopLevelWindow()[E:\dev\4.x\frameworks\ projects\framework\src\mx\managers\systemClasses\ChildManager.as:304]
    at mx.managers::SystemManager/initializeTopLevelWindow()[E:\dev\4.x\frameworks\projects\fram ework\src\mx\managers\SystemManager.as:2810]
    at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::kickOff()[E:\dev\4.x\frameworks\projects\frame work\src\mx\managers\SystemManager.as:2637]
    at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::preloader_completeHandler()[E:\dev\4.x\framewo rks\projects\framework\src\mx\managers\SystemManager.as:2539]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.preloaders::Preloader/timerHandler()[E:\dev\4.x\frameworks\projects\framework\src\mx\p reloaders\Preloader.as:515]
    at flash.utils::Timer/_timerDispatch()
    at flash.utils::Timer/tick()

  • Is there somewhere I can access Elements 9 Editor from Mac App Store?

    I need a copy of Elements 9 Editor from the Mac App Store to do some product testing. I know it is discontinued old version however it must be possible to access it somewhere/somehow? I am happy to purchase if I can find it!!
    Thanks

    I am not aware of anywhere that you can still purchase Elements 9. It's too old.
    You can download a trial version from
    http://prodesigntools.com/photoshop-elements-9-premiere-elements-9-direct-download-links.h tml
    However you'll only be able to use it for 30 days since you do not have a serial number and there's no way of buying one that I know of.

  • Is it possible to access Pages from an web application running in Safari in i-Pad?

    Is it possible to access Pages application from an web application running on safari browser in iPad ?

    Since you control the application AND the plugin - you can define ANY method of communication you want.  Shared files, shared memory, IPC, named pipes, etc.

  • Is is possible to access channels from a CAN database in labview with NI USB 8473s

    Hello,
    I would like to know whether is possible to access a CAN database, which is uploaded through MAX, in labview.
    More specifically, I have uploaded my CAN database in MAX and I want to have access to each specific channel in labview.
    i.e according to picture, I would like to have access  to n_Motor_InsRpm channel of E1_L0_1 (motor speed) in Labview, so I can set and transmit a speed value through CAN. Could that be possible with NI USB 8473 s? If yes, is there any simple example in Labview ?
    Thanks for your Help
    Charis
    Solved!
    Go to Solution.
    Attachments:
    CANdb.jpg ‏11 KB

    There are several ways to get database information without needing hardware. Here is one I did a while ago.
    https://decibel.ni.com/content/docs/DOC-39793
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • No Longer Possible to Access iCloud Mail on Third Party Mac

    Something has changed recently. It is no longer possible to access iCloud mail on a third party mac via web browser
    This afternoon, I tried to do so on my daughter's iMac - and the system wanted me to set up iCloud rather than letting me access Mail (or any other iCloud services for that matter) instead. Tried different browsers, change of login account on the computer. All to no avail. Have to set up iCloud on the computer. Which means either logging my daughter out, or creating a whole new identity for the purpose. This entirely defeats the notion of the simple webmail interface - and indeed makes Pages, Calendar, etc inaccessible unless on your own computer, or one that you have used to set up an iCloud account. Not something that you want to do in an internet cafe or an airport lounge.
    Two sets of Chat Support sessions later, with the problem being hinted to be probably due to "my daughter's computer (!!???)", no satisfaction
    I am now in the airport, trying to still access my iCloud mail through a web browser. Same nonsense about setting up iCloud before I can access my iCloud mail via the web through a browser.
    Apple, this was one of the advantages of iCloud that I, as a regular traveller, have found useful in the past. Today I have wasted well over an hour on something that is clearly an error in the logic of how people will be using iCloud - possibly a "feature" of Mavericks?
    Please bring back simple and straightforward access to iCloud mail via web browser, so that I can once again access my mail from any third party computer.
    Thanks
    Nic

    Excellent, well done. I have to say that talktalk were useless, they repeatedly sent me instructions for setting up an emil account and did not seem able to understand that it was the login that would not work. Thank you.

  • I'd like to know if it's possible to access an older version of a web page in Firefox.

    I'm wondering if it's possible to access an older version of a webpage I've since made changes to -- the site is through Livejournal.com -- in order to see the information that was on the older page. I'd like to keep it consistent with the new page, but am not sure how to do this. I very stupidly didn't save a copy of the old page!

    If you know where the page is at, I myself don't see any reason why you can't access it.
    The only thing I could think was if Livejournal.com had a lock on the page or if you had to sign-in and your u/n and p/w had expired.
    I'd say go ahead and at least try.
    davewdan

  • Is it possible to access a single Lightroom catalogue mounted on a shared drive from multiple computers, each with an individual Lightroom install?

    Is it possible to access a single Lightroom catalogue mounted on a shared drive from multiple computers, each with an individual Lightroom install?
    Thanks.
    Steve Greenberg

    No, Lightroom catalogs cannot be on a networked (shared) drive, and they do not support simultaneous multi-user access

  • Is it possible to access inbuilt hard disk drive in Apple Airbook

    is it possible to access inbuilt hard disk drive in Apple Airbook

    Kamal666 wrote:
    Yes i would like to access contents, files or etc... on hard drive or inbuild flash drive, Same like Windows my computer hard drives access
    Finder Preferences > General > check "Hard Disks"

  • Is it possible to access a group of (sequentia​l) registers with a single URL?

    I'm testing out datasockets to an A-B RSLinx OPC server. At the moment, it appears as though each register in the PLC has to be accessed with an individual URL. Is it possible to access a group of (sequential) registers with a single URL? I suspect i may have to cluster a bunch of individuals together

    goog,
    For each data member, you will need a unique URL. There is not a way to bundle them into one URL.
    Randy Hoskin
    Applications Engineer
    National Instruments
    http://www.ni.com/ask

  • Is It possible to access checksum field of LIN frame?

    Hi All,
               I am using LabVIEW 8.2 and PCI 3072 LIN card (GÖPEL electronic GmbH) .
    Is it possible to access checksum field of LIN frame? I have to test one LIN driver - LIN conformance test. So I need to access timing of each byte, value of checksum, sync field etc. Anybody please reply
    Regards
    Preejesh M R

    Hi,
    You should have found some examples along with the Drivers provided in the CD which comes along with the card. If not, you can contact Goepel and they can provide them. Which driver APIs are you using for this device? Is there a function for checksum in the API, if not you can create a logic to read the string and convert it to a number and add all the bits together. My first suggestion,  however is to contact Goepel.
    Thanks, 
    National Instruments
    Applications Engineer

  • Re: Is it possible to accessing regular Thumbdrive...

    Hi All,
    Is it possible to access regular thumbdrive from Nokia HP just as it is acccessing a memory card?
    What happens when a regular USB thumbdrive is attached to a N96 using a convertor cable? Have anyone tried this before?
    Thanks a lot in advance.
    Best Regards,

    It has nothing to do with power supply and everything to do with protocol.
    The phone is designed to behave as an external USB drive when connected in "mass storage" mode. It is what's known as a usb-storage device in this configuration. It is not a computer designed to use a usb-storage device.
    The "converter from memory card to USB port" that you mentioned is more than just an adapter. There's a whole load of electronics in there that convert usb-storage protocol messages received over the USB port into requests sent to the memory card. The phone knows how to process those protocol messages received on its USB connector and use them to retrieve/store data on the card inserted into its card reader. It does not know how to issue those messages on its USB connector in order to access a pen drive.
    Was this post helpful? If so, please click on the white "Kudos!" star below. Thank you!

  • WEB reports can it possible to access from out side domein

    Hi, i want  information whether WEB reports can be access from

    Hi all,
    WEB reports can it possible to access from out side domein. If yes please tell me how..

  • Is it possible to access text messages via iCloud?

    Is it possible to access text messages via iCloud?

    No, except to restore an iCloud backup to recover text messages and other data.

  • Is it possible to access the http web interface over the fa1 management interface?

    Hello All,
        I am remotely connected into a Cat 4500 + Supervisor V module via console cable and point to point connection from laptop to fa1 management interface on SupV.  SupV module is running IOS 15.0(2)SG8.
        I am not able to physically change the patch cable from fa1 management interface to gi2/3 or any other switch port for a couple days and would like to see if it is possible to access the http server through this fa1 port since I am working remotely.  I can ping the laptop from fa1 and tftp ok but cannot access the http/https server.  Is this even possible without connecting the laptop into a regular switch port like gi 2/3 gi 2/4 etc..?  The reason I ask is I would like to use Cisco Networking Assistant gui for some things but need access to https server first over the fa1 link.
    Any suggestions would be much appreciated.
    Thanks!
    -S

    Here is the ACL list.  I have not made any entries into this list and all of these are default at this time.  Do I need to make an explicit allow ACL for http?
    Thanks!
    -S
    #show access-list
    Extended IP access list system-cpp-all-routers-on-subnet
        10 permit ip any host 224.0.0.2
    Extended IP access list system-cpp-all-systems-on-subnet
        10 permit ip any host 224.0.0.1
    Extended IP access list system-cpp-dhcp-cs
        10 permit udp any eq bootpc any eq bootps
    Extended IP access list system-cpp-dhcp-sc
        10 permit udp any eq bootps any eq bootpc
    Extended IP access list system-cpp-dhcp-ss
        10 permit udp any eq bootps any eq bootps
    Extended IP access list system-cpp-energywise-disc
        10 permit udp any eq any eq 0
    Extended IP access list system-cpp-hsrpv2
        10 permit udp any host 224.0.0.102
    Extended IP access list system-cpp-igmp
        10 permit igmp any 224.0.0.0 31.255.255.255
    Extended IP access list system-cpp-ip-mcast-linklocal
        10 permit ip any 224.0.0.0 0.0.0.255
    Extended IP access list system-cpp-ospf
        10 permit ospf any 224.0.0.0 0.0.0.255
    Extended IP access list system-cpp-pim
        10 permit pim any 224.0.0.0 0.0.0.255
    Extended IP access list system-cpp-ripv2
        10 permit ip any host 224.0.0.9
    Extended MAC access list system-cpp-bpdu-range
        permit any 0180.c200.0000 0000.0000.000c
    Extended MAC access list system-cpp-cdp
        permit any host 0100.0ccc.cccc
    Extended MAC access list system-cpp-cgmp
        permit any host 0100.0cdd.dddd
    Extended MAC access list system-cpp-dot1x
        permit any host 0180.c200.0003
    Extended MAC access list system-cpp-lldp
        permit any host 0180.c200.000e
    Extended MAC access list system-cpp-mcast-cfm
        permit any 0180.c200.0030 0000.0000.000f
    Extended MAC access list system-cpp-pppoe-disc
        permit any any protocol-family pppoe-disc
    Extended MAC access list system-cpp-sstp
        permit any host 0100.0ccc.cccd
    Extended MAC access list system-cpp-ucast-cfm
        permit any host 000d.6558.d5fd

Maybe you are looking for