JDAPI: How to use visual attributes.

I want to attache an olb-file to my forms by using jdapi (java).
The reason: I want to automatically change the property visual-attribute at all of my buttons in the forms.
How can I attache the visual attribute to the forms?
(It is AttachedLibrary lib1 = new AttachedLibrary(fmd,"esw_std_1");
for .pll librarys)
How it works for visual attributes in .olb-files?)
I want to subclass the visual attribute.
It is a migration issue (6i to 10g).
Best regards,
Wolfgang

Wolfgang,
You would be better posting this question to the Forms. This forum is for database migration issues from 3rd party databases to Oracle.
</p />
Donal

Similar Messages

  • How to use visual attribute property for the tab canvas

    Hi all,
    i wanted to use set_tab_page_property ,and a visual attribute property for that
    respective tab page .
    but is saying to many declarations to match up . how will i able to do that.
    can any one helip me out ...
    example....
    i wanted to set the page name (just name of the tab page) red color when i query the form under some conditions .
    can anyone help me out in this.
    thanks in advance
    vardhi

    Hi all,
    i wanted to use set_tab_page_property ,and a visual attribute property for that
    respective tab page .
    but is saying to many declarations to match up . how will i able to do that.
    can any one helip me out ...
    example....
    i wanted to set the page name (just name of the tab page) red color when i query the form under some conditions .
    can anyone help me out in this.
    thanks in advance
    vardhi

  • How to use Visual Administrator !!!!

    Can some one tell me how to use visual administrator to view console out(System.out.println), I am trying to debug my application so if anyone can suggest some good debugging techniques

    Hi Emmanuel,
    Here some links - hope it will help you:
    http://help.sap.com/saphelp_webas630/helpdata/en/b9/545e902c894a0cadf2ef3f888fcd59/content.htm
    http://help.sap.com/saphelp_webas630/helpdata/en/d8/533251e56b584cbcf4a873c3bc8b39/content.htm
    Could you be more specify and write your WAS version?
    I suggest you use System.err.println instead System.out.println
    Regards,
    Roman.

  • How to use extends attribute in jsp page directive

    Can anybody tell how to extend a existing .jsp file from another .jsp file. I have tried but it gives error.
    I have used Extends attribute of page directive as below:
    <%@ page extends = "MyAnotherJsp.jsp"%>
    I also tried : <%@ page extends = "MyAnotherJsp"%>
    I am using Tomcat as a web server
    Also tell where to put those files.
    Thanks.

    Hi I am using Netbeans 5.5, Sun Java System Application Server 9.
    ABC.java
    package javapackage;
    public class ABC{
    public String show(){
    return "Sandip Gaikwad";
    index.jsp
    <%@ page extends="javapackage.ABC" %>
    <html>
    <head>
    <title>JSP Page</title>
    </head>
    <body>
    <h1>JSP Page </h1>
    </body>
    </html>
    Above code throws following exception at runtime:-
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP
    Generated servlet error:
    [javac] F:\Sun\AppServer\domains\domain1\generated\jsp\j2ee-modules\Page_Extends_Attribute_Example\org\apache\jsp\index_jsp.java:36: getPageContext(javax.servlet.Servlet,javax.servlet.ServletRequest,javax.servlet.ServletResponse,java.lang.String,boolean,int,boolean) in javax.servlet.jsp.JspFactory cannot be applied to (org.apache.jsp.index_jsp,javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,,boolean,int,boolean)
    [javac] pageContext = _jspxFactory.getPageContext(this, request, response,
    [javac] ^
    [javac] 1 error
    Server log
    StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception
    org.apache.jasper.JasperException: Unable to compile class for JSP
    Generated servlet error:
    [javac] F:\Sun\AppServer\domains\domain1\generated\jsp\j2ee-modules\Page_Extends_Attribute_Example\org\apache\jsp\index_jsp.java:36: getPageContext(javax.servlet.Servlet,javax.servlet.ServletRequest,javax.servlet.ServletResponse,java.lang.String,boolean,int,boolean) in javax.servlet.jsp.JspFactory cannot be applied to (org.apache.jsp.index_jsp,javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse,<nulltype>,boolean,int,boolean)
    [javac] pageContext = _jspxFactory.getPageContext(this, request, response,
    [javac] ^
    [javac] 1 error
    at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:94)
    at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:384)
    at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:461)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:528)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:507)
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:495)
    at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:530)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:412)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:318)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:278)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:239)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
    at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
    at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
    at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
    at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
    If I delete the line <%@ extends="javapackage.ABC"%> it works fine. Please tell me what is wrong with this line.

  • How to change visual attribute of particular record

    Hai,
    I HAVE ONE BLOCK WHICH DISPLAY RECORDS OF ALL EMPLOYEES
    MY OBJECT IS WHEN EMPNO=12 THEN RECORD VISUAL ATTRIBUTE MUST BE CHANGE LET'S SAY XXX ELSE VISUAL ATTRIBUTE DEFAULT
    PLS HELP

    You should use the SET_ITEM_INSTANCE_PROPERTY built-in procedure ... There is an example in the on-line help of Forms Builder..
    If you need to change a particular record during query , you have to use the code in the POST-QUERY trigger of the block which displays the employee data.
    Simon

  • How to use Visual Studio IDE in IAR compiler?

    Hi
    I want to use visual studio IDE in IAR like external editor. but I do not know how do that?

    Hi,
    Thank you for posting in MSDN forum.
    As you said the IAR, it seems that it is a third-party tool and we are not support it. So I suggest you can post this issue directly to the IAR official website:
    https://www.iar.com/Support/technical-support/ , maybe you will get better support.
    Thanks for your understanding.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to use 'roles' attribute in action-mapping ?

    Hi,
    Can anybody tell me what are the steps needed to use 'roles' attribute in <action> tag of struts-config.xml file?
    I want to provide Action level security.
    Also pls post an example if u r having.
    Regards
    Veeru

    Hi,
    The RfcAdapter trys to find a Sender Agreement for this RFC call but the lookup failes. The values used for this lookup are:
    Sender Party/Sender Service: The values from Party and Service belonging to the sender channel.
    Sender Interface: The name of the RFC function module.
    Sender Namespace: The fix RFC namespace urn:sap-com:document:sap:rfc:functions
    Receiver Party/Receiver Service: These fields are empty. This will match the wildcard
    Regards,
    Suryanarayana

  • Ask: how to set visual attribute

    Hi guys,
    I have a data block named BLOCK1, in BLOCK1 there is a text item named ITEM1.
    I display it in tabular form, showing 10 records.
    I wanted the record where the cursor's located shown in different color.
    For example if the cursor at record #1, record #1 therefore is shown in RED. If the cursor is moved to record #2 then record #2 will be shown in RED and record #1 color will revert back to normal.
    I tried putting WHEN-NEW-RECORD-INSTANCE trigger at BLOCK1 with the following code:
    set_item_property('BLOCK1.ITEM1', VISUAL_ATTRIBUTE, 'WHITE');
    set_item_instance_property('BLOCK1.ITEM1', current_record, VISUAL_ATTRIBUTE , 'RED');
    I thought set_item_property('BLOCK1.ITEM1', VISUAL_ATTRIBUTE, 'WHITE') will set all records of ITEM1 to 'WHITE', then the set_item_instance_property('BLOCK1.ITEM1', current_record, VISUAL_ATTRIBUTE , 'RED') will set the particular record where the cursor is in to 'RED'...
    It doesn't work. All the records that has been set to 'RED' by set_item_instance_property will stay red, set_item_property does not revert them to white.
    Any ideas?

    In the property palette of your block there is "current record visual attribute".
    Assign a valid visual_attribute and then when you move from one record to another it will be applied to the current record.
    Hope it helps you,
    Fabrizio
    If this answer is helpful or correct, please mark it. Thanks.

  • How To: Use Visual Studio, IIS Express, and Adobe Edge Inspect to view local projects

    You CAN view a Visual Studio project with Adobe Inspect. The work around takes a little bit of time.
    This involves using IIS Express to run your Visual Studio project, which is mainly a setting in Visual Studio, a Firewall change, a few command line and IIS Express config change.  It isn't actually all that bad, but will make your life A LOT easier.
    Here are the steps. (Note these are steps I used for Visual Studio 2012 and your project is part of a solution project.  Windows 7 or Windows 8)
    1. If IIS in not turned on, turn it on.How to: Enable Internet Information Services (IIS) - this should install IIS Express as well.
    2. In Visual Studio, find the port that Visual Studio will be using for your project by Running your web project (Debug), and note/write down/save the port number that shows up in the browser when the project launches. (ex.  http://localhost:12345)
    3. Add a NetShare Reservation (process for this will be different for Windows XP)
    Go to your Command Line (CMD) in Windows and in c:\Windows\system32> type in
    netsh http add urlacl url=http://yourIPaddress:yourPortNumber user=everyone
    (ex. netsh add urlacl url=http://12.34.56.78:12345 user=everyone)
    Hit Enter key. You should be a successful add reservation message
    3. Go to your Windows Explorer (File system) and go to c:/Users/YourName/MyDocuments (or Documents)/IISExpress/config/ and open 'applicationhost.config'
    In the 'applicationhost.config' file find your site in the <sites> section.
    Example:
    <sites>
    <site name="WebSite1" id="1" serverAutoStart="true">
                    <application path="/">
                        <virtualDirectory path="/" physicalPath="C:\MyProjects\TestSite" />
                    </application>
                    <bindings>
                        <binding protocol="http" bindingInformation=":12345:localhost" />
                    </bindings>
                </site>
    </sites>
    In this section ADD 2 new lines to the <bindings> section. Note add your own IP address and your own Computer Name
    <binding protocol="http" bindingInformation="*:12345:12.34.56.78" />
    <binding protocol="http" bindingInformation=":12345:MyComputerName" />
    Save the config file.
    4. Open up your Windows Firewall and go to 'Advanced Settings'. Here you want to create an Inbound Rule.
    Right click on Inbound Rule and select New Rule
    - Rule Type select 'Custom'
    - Program leave this
    - Protocol and Ports > Protocol Type select 'TCP' then Local Port select 'Specific Port' and fill in the port number you got from VS.  Leave Remote Port alone.
    - Scope
    There are a few ways of doing this. Typically you would go the the Remote IP address and select 'These IP addresses: and select ADD > select 'Predefined set of computers' and choose Local Subnet.  IF this does not work leave Remote IP addresses > Any IP address option selected instead.
    - Action leave this
    - Profile select Domain and Private
    - Name put IISExpressWeb for the name
    Select 'Finish'
    5. Go to Visual Studio. (Note if you have multiple projects in your solution, choose your start up project. Right click on your project in Solution Explorer in VS and select 'Set as Start Up Project' )
    Right click on your start up project again and you should see an option to 'Use IISExpress'
    In the DEBUG dropdown (from the main menu bar at the top) select 'YourProjectName Properties'. Mine was the last one in the list with a wrench icon next to it.
    This should open an new tab in your project, You should see a left hand list of option and a right hand column of options.
    In the left column select 'Web' and in this tab select Use Local IIS Web server and select 'Use IIS Express' and type in your IP Address and port number (same as before) in the Project Url text box.
    Save.
    NOW, you should be able to run your project in Visual Studio and use Adobe Edge Inspect on your device and view new results in Chrome. You can develop from there.
    If you still can not see it working, please be sure your device is on the same SubNet or Wireless network as your computer.  If you are in a large network but the domains can still see each other, the Firewall Setting detailed above to allow Any IP Address in your Scope section.

    Hi CMosqueda,
    Thank you for taking time to share this information with other users.
    Thanks,
    Preran

  • How to use VO attribute in a page region in valueset of flex segment

    I have a seeded oracle page - having 2 regiions
    The first region shows basic employee information like job, position etc
    The second region shows a flexfield having 4 segments.
    My requirement is to restrict the value in first segment based on the employee's job.
    e.g If employee is of Job A-, Segment 1 shoows the values as A.B.C in the poplist
    if employee if of Job X, segment 1 has to show only values as AA, BB in the poplist
    how can i use the vo attribute as paramter to my segment 1 valueset?
    Thanks,
    Lal

    One way to achieve this is:
    1.Make sgement 1 to show A.B.C in the poplist.
    2.Create a new segment which shows AA, BB in the poplist. So now total no. of segments are 5.
    3. In the second region in the page display only first 4 segments. For displaying only required segments refer "DEscriptive Flex Fields" in Dev Guide.
    4. Create another region (3rd region) which displays segments 2 to 5. i.e. this does not show segment1
    5. Using PPR display required region based on the value in Job field.
    Note: this approach is suitable when you have very less no. of options in Job field to choose from.
    -Anand

  • How to use Navigational attributes in BEx

    Hi experts,
    I have searched many threads regarding navigational attributes in BEX.
    But unable to find any info.
    How the navigational attributes are used in BEx query designer.
    What is the difference between characteristics and Nav attr in Query designer.
    Every one n saying  Nav attr are used for drill down purpose.
    What exactly is this drill down .
    Please send me any related documents also.
    Please answer me.
    Thanks in advance
    Sundar

    Hi,
    Characteristic attributes can be converted into navigation attributes. They can be selected in the query in exactly the same way as the characteristics for an InfoCube. In this case, a new edge/dimension is added to the InfoCube. During the data selection for the query, the data manager connects the InfoProvider and the master data table (u2018joinu2019) in order to fill the Query.
    Navigational attribute is like any other master data attribute except that we can navigate (filter, drill down and selection) in reports on this characteristic.
    Drilldown means after you executed the query , you want to see further detailed data with particular combination ,
    in that case you navigate further or do restiction that is drilldown.
    If you restict a navigational attribute in Query , then it behaves like a normal characteristic and not as a navigation attribute.
    http://help.sap.com/saphelp_nw04/helpdata/en/80/1a63e7e07211d2acb80000e829fbfe/content.htm
    Also check the link:
    http://help.sap.com/saphelp_nw70/helpdata/en/43/f234619e3c4c5de10000000a155369/frameset.htm
    Regards,
    Amit

  • How to use Entity Attributes in excel Rule File

    Hello,
    I have defined two entities Entity A with two attributes and Entity B child of A with two attributes.
    I needed to have many instances of theses objects thats why i have chosen entities.
    I need to calculate for each entity a result depending on the values of the attributes filled by the user.
    My final goal is to have the sum of these calculated results.
    The issue i am facing is whenever i try to define a rule in Excel, OPM considers the attribute as global (and creates it) and not as entity level. I therefore have duplicate error.
    How can i tell Excel/OPM that the attribute is entity level ?
    Thank you.

    Make sure you are using exactly the same attribute text in Excel and in your properties file. You can also use the legend key to map from the attribute text to a shorter form.
    There isn't any magic here! If the text is the same it will match.
    If you provide the actual text of the attributes and entities you are using, we might notice something else.
    Davin.

  • How to use LanguageMap attribute for Authentication Providers?

    Hi all,
    I couldn't find a BEA MBean-specific forum, so I'll post this here and hope you can point me to the correct people to talk to.
    We're developing an Authentication provider for WebLogic 8.1. We would like to have our Authentication Provider MBean support multiple languages. I've experimented with the LanguageMap attribute but with no success. Has anybody been able to get these to work?
    The spec states that the path should be fully qualified, which I take to mean that it needs to be an absolute path. I found this to be a bit unreasonable but tried it nonetheless. Unfortunately, it did not work.
    I've also tried specifying the path in Java-style resource bundle form (eg// com.mycompany.mypackage.myresources) and relative paths but, again, with no success.
    I pack the resource file with the authentication mbean jar.
    Some examples of what I've done:
    (absolute path case, where I just copied my resources file to somewhere on my comp):
    <MBeanAttribute
    Name = "BDOption"
    LanguageMap = "c:/dev/BDResources.properties"
    DisplayName = "option.bdoption"
    Type = "java.lang.String"
    Writeable = "true"
    Default = ""Default Value""
    />
    (java resource bundle case):
    <MBeanAttribute
    Name = "BDOption"
    LanguageMap = "com.mycompany.mypackage.BDResources"
    DisplayName = "option.bdoption"
    Type = "java.lang.String"
    Writeable = "true"
    Default = ""Default Value""
    />
    My resource file has only the following entry:
    option.bdoption=Brian's Option
    But the option will always appear as "BDOption" rather than "Brian's Option"
    Any help would be appreciated,
    Brian

    refer the following links
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/092dddc6-0701-0010-268e-fd61f2035fdd
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b2a56861-0601-0010-bba1-e37eb5d8d4a9
    please let me know if u dont find relevant information

  • How to use cm_nodeName attribute of search tag in content queries ?

    hello,
    i want to know about cm_nodeName,cm_path attributes of search tag.Actually i want to directly reterieve concerned node,so that content should be directly reterieved from that node and it should not search into all the present nodes in repository,to improve performence.
    Problem is that above mentioned tags are not working.
    Peply as soon as possible

    You could always write your own authenticator (i do not know if you can configure BEA directly)

  • How to use Visual C++

    Hello,
    I am new to Visual C++ can someone help me learn C++ or direct me to a website that teaches C++ for beginners? 

    If anyone's interested you can also practice by
    coding out these C++ programming tests.
    I belive it is somewhat more interesting approach, doing things rather than reading about them ;)

Maybe you are looking for

  • How-To: server-based... application policy management

    Hi all, I am at the end of me rope here. I have a system with an intended client-server architecture - although the server component is not developed/functioning yet. I have partially integrated JAAS into the system as I need authentication and autho

  • How to enter a date stamp using formscentral?

    I've been trying to enter a date stamp using formscentral but have no such luck. Whenever I enter one in using acrobat pro I get the error that I don't have sufficent privleges due to adobe keeping the integrety of the form...Anybody have any ideas?

  • Can I register on more than one computer?

    I installed and registered my ipod on two computers, my Dad's and my sisters, because was not at my house for the holidays. Now that I'm home I've tried to install the software but everytime I connect my ipod it tells me that the ipod software is not

  • Apple Mail syncing while typing, multiple updates on BB for same message.

    First of all, thanks for looking and helping. Second, it's probably my fault as I am a tweaker often to my detriment. So, with disclaimers out of the way, here's what is happening: I have a MacBook Pro and my mail is IMAP from my GMail account. When

  • Arch as a semi-rolling release ? [Solved]

    Hi, I'm considering setting an "old" server  (bi-xeon) for my students in computer science -- mainly to learn programming languages and tools. They only needs to log in via an ssh -Y session from their Windows accounts. Arch rolling release is perfec