How to set the View instance and view  attribute to lov field ?

Hi
I created lov and textfield programatically.
I want to set the viewattribute and view instance to that items(lovbean, texfieldbean).
How to set programatically?
Thanks in Advance
Awadesh

Hi
Thanks. Its working fine. But now i got some another issue.
after setting, i put simple system.out.println(Pagecontext.getparameter("idoflov"));
But it returns null value.
why. Actully i want to pass this value (according to my requirement).
The view instance and view attribute are setting correctly. But after that i checked means it returns null value .
plz let me know.
Thanks

Similar Messages

  • How to set the view privilege of a portlet?

    Dear all,
    I would like to ask how to set the view privilege of a portlet (which is located on the Intranet homepage) to only a group of users?
    As far as I know, I can create a tab with view privilege to address the about scenario. But is it possible to directly set the view privilege to the portlet ?
    thanks
    George (HK)
    Welcome to my photo albums at http://community.webshots.com/user/GeorgeLee80
    Message was edited by:
    georgelkh

    OK, you got me there George. I don't know where you can set view rights to an out of box portlet. So how about a different approach?
    1) Create a blank page with no nav bar or anything else
    2) Assign the group you want to see the notifications portlet view rights on the page
    3) Make sure the show as portlet check box is checked on the Optional tab in the page properties
    4) Add the notifications portlet to the page
    5) Ensure the portlet settings are how you desire in terms of what notifications to show and the region settings are how they should be in terms of border, headers, etc
    6) Edit the page where you want the notifications portlet to be shown and add the page portlet you just created instead of the notification portlet
    This should achieve what you seek without having to dig into out-of-box portlets.
    Rgds/Mark M.

  • How to set the view, which has to be shown at runtime?

    Hi,
    in my application i have more than one view, but at runtime only one of these views has to be shown. I want to decide this via a parameter that I get from the url.
    How can i set the right view to be showing at runtime?
    I tried it with a StartView which fires the right Outbound Plug in his wdDoInit-Method. This is working fine, but the problem is, that the method OnPlugDefault() of ComponentInterfaceViewController isn't called already at this time. So in the Init-Method of the StartView I don't have the given URL Parameter, so I can't decide which Plug I want to fire. The method OnPlugDefault() is called only after the init-method of the StartView.
    Is there any other possibilty to set the view, which has to be shown, at runtime?
    Thanks and Best Regards
    Katharina

    Hi,
    One way is you can pass the parameter in the URL , read the parameter and then fire the outbound plug depending upon that.
    You can read the parameters as follows
    HttpServletRequest request =Task.getCurrentTask()
         .getWebContextAdapter()
         .getHttpServletRequest();
    String[] param1 = request.getParameterValues("<<PARAMETRNAME");
    if(param1.equals("VALUE"))
      fire outbound plug1;
    Regards, Anilkumar

  • How to set the JNDI resources and params

    I am trying to connect my Crystal reports to my JSP page.
    I am using MySql DB and TomCat 4.1
    My web.xml is in the right place and contains the JNDI name (jdbc/MyDB)
    I was able to accomplish the following:
    1) Setting the connection pool and
    2) Able to specify the JDBC database option and was also able to generate the report in the designer using this JDBC option connectivity.
    However, when I try to run the report from the JSP page, it gives me the following error:
    javax.servlet.jsp.JspException: Report location is not specified in the configuration file     at
    com.crystaldecisions.report.web.viewer.taglib.ReportServerControlTag.doEndTag(Unknown Source)
         at org.apache.jsp.testing_jsp._jspx_meth_crviewer_viewer_0(testing_jsp.java:159)My CrystalReportEngine-config.xml resides in
    C:\Program Files\Apache Group\Tomcat 4.1\webapps\WebModule1\WEB-INF\classes
    and it contains the following
    <CrystalReportEngine-configuration>
      <reportlocation>../..</reportlocation>
      <timeout>10</timeout>
      <keycode>Azzzzzzzzzzzzzzzzzzzzzz</keycode> </CrystalReportEngine-configuration>
    My report that I am trying to execute resides in the root of my application (where it supposed to be).
    This lead me to believe that I probably need to specify a JNDI datasource.!! Do you agree? If so, how can I specify the
    JNDI Provider URL
    JNDI Username (is this the tomcat admin user name)?
    JNDI PWD
    Initial CONTEXTReally appreciate any help you can offer

    Can anyone tell me where to post the previouse message to get a solution, or may be a hint?
    If i am doing anything wrong to not get a response, please let me know so i can reward it or correct it.
    thanks

  • How to set the BARCODE width and length for label printing..

    Hi All,
    How to set the Code 39 barcode label format in the sizxe of 0.20" * 1.4". By default while printing barcode size exceeds my current requirement. Please let me know to customize the size of barcode labels.
    Thanks.

    I don't know what you mean by "Code 39" because my Output Designer software doesn't offer that barcode (or do you mean "code 3 of 9?). In any case, are you trying to control the size of the text (which is what I think of when you refer to "label")? If you are, then just change the font & size. If you are wanting to modify the physical characteristics of the barcode itself (height & length for a certain number of characters) then you are probably out of luck. Or at least in for some trial & error.
    There are a series of "barcode.xxx" files in the 'config' folder where Output Designer was installed to. These are text files that contain the physical characteristics of the various barcodes for various printers. The parameters that you would be interested in is the height and width of the bars (black & white). For example, a barcode might be defined as .400 high with narrow bars 3 "dots" wide, wide bars 9 "dots" wide and white space the same or different. Presumably changing these values would affect the generated barcode. For example, in this example the wide bars are 3 times the width of the narrow bars so I would assume that relationship would have to remain. To make the resulting barcode shorter you would then use 2 for the narrow and 6 for the wide.
    You would have to make the change in the file(s) that would be used for your printer(s).
    There are four width values for each of the parameters. Most of the barcodes only use 2 but some have 4. I'm assuming that when there are 4, like in "4 8 12 16", that the barcode definition has 4 different widths of bars and/or spaces.
    There is no guarantee that the scanning hardware & software will "see" and interpret the resulting barcode correctly.

  • 2 Question How to set the page size and  full screen

    I am looking to find out how to set the page to be 1024 by
    768 static and also how to force a browser window to go to full
    screen. Thanks

    Hi Ludek,
    i could solve the issue by using the follwing code.
    report = new ReportDocument();
    PageMargins customPageMargin = report.PrintOptions.PageMargins;
    report.PrintOptions.PaperOrientation = PaperOrientation.Portrait;
    report.PrintOptions.PaperSize = PaperSize.Paper10x14;
    customPageMargin.rightMargin = 1;
    customPageMargin.topMargin = 0;
    customPageMargin.bottomMargin = 0;
    report.PrintOptions.ApplyPageMargins(customPageMargin);
    Thanks for you help.
    Regards,
    smitha.

  • How to set the Selected row and Column in JTable

    Hi,
    i have a problem like the JTable having one Method getSelectedRow() and getSelectedColumn to know the Selected row and Column but if i want to explicitly set the Selected Row and Column,then there is no such type of Methods.If anybody has any solution then i will be thankful to him/her.
    Praveen K Saxena

    Is that what you're looking for? :myTable.getSelectionModel().setSelectionInterval(row, row);
    myTable.getColumnModel().getSelectionModel().setSelectionInterval(column, column);

  • How to set the page size and the margins programatically

    Hello,
      I am working with crystal report XI Release2 and asp.net.
    One of my report is having 4 graphs in a single report.In order to display all the graphs in one page i have set  the paper size as A3.(Via Crysta report ->File->Page set up)
    But the page size A3 is not provided by all printers.So problem comes when the application is diployed on a machine which does not support A3 Printer.All the graphs will not be shown on a single page.
    Also Each and Every time ,when the application is diployed on a machine,user has to open the crystal report and adjust the page size accordingly to get all the reports on a single page.
    This is a kind of usability issue also.
    Is it possible to set the page size and the margins programatically say for eg 11 X 17.so that with out doing anything all the 4 graphs will get displayed on a single page ?
    Please let me know if you require more information regarding this issue.
    Thanks in advance.
    smitha.

    Hi Ludek,
    i could solve the issue by using the follwing code.
    report = new ReportDocument();
    PageMargins customPageMargin = report.PrintOptions.PageMargins;
    report.PrintOptions.PaperOrientation = PaperOrientation.Portrait;
    report.PrintOptions.PaperSize = PaperSize.Paper10x14;
    customPageMargin.rightMargin = 1;
    customPageMargin.topMargin = 0;
    customPageMargin.bottomMargin = 0;
    report.PrintOptions.ApplyPageMargins(customPageMargin);
    Thanks for you help.
    Regards,
    smitha.

  • How to set the X-position and Y-position

    I started an application but was struck due to a problem.
    The problem was : I was unable to set the X-position and Y-position in the desired place... Any one who can help please help me to continue my application......
    I wanted to set my choice group elements in the center of the screen.. help me plz....

    You want to change to x/y position of what? The main frame?
    If it is the Frame class take a look into the CDC/PP specification:
    "An implementation may prohibit resizing of Frames by a user. In such a case, attempts to make any Frame resizable will fail silently"

  • How to set the view of a table to the last column?

    Hi all,
    I have a table that allows user to add rows to it. When the number of columns exceed the number of row the viewport can display, the freshest columns are not in the view.
    My question is, how do I force the viewport to view the last rows of the table as the table grows? Instead of just showing the starting rows?

    You're mixing columns and rows in your problem description, but
    something like the following should be close
    Rectangle rect = new Rectangle( table.getWidth()-1, table.getHeight()-1, 1, 1);
    table.scrollRectToVisible( rect );: jay

  • How to set the view HTML source in IE using Notepad to open?

    When I want to view the HTML source in IE, Java Web Start is launched instead of Notepad after I install the Java Web Start. How can I change the view source back to using Notepad?

    Sorry, a late reply: simply remove (or rename) the JWS Notepad shortcut from your desktop.
    It seems that this "lovely" little example application
    has taken over IE's "view source" feature by trying to
    launch itself in the place of notepad. It would be quite disappointing from the sandbox point-of-view if a JWS application would be able to make such changes without any warning...
    It's more like Windows cannot handle two applications with the same name. Just hold down the Windows key, hit R and type "notepad" in the Run dialog and you'll also get the JWS demo -- while typing "notepad.exe" still fires Windows Notepad.
    Even more strange: typing "notepad" in a MS-Dos box does not fire the JWS demo, even when you change the current directory to be your desktop, like c:\windows\desktop. However, typing "start notepad" in that specific directory does fire the demo...
    Even although in the Windows registry one finds HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Default HTML Editor shows the full path to the Windows notepad.exe, it is simply not using that information. You can't blame that on JWS.
    So: simply removing or renaming the shortcut helps you out. Or, even better: put a shortcut named Notepad on your desktop and make it refer to your favorite editor -- c:\program files\accessories\worpad.exe if you don't have anything better -- this will make searching the source code in IE much easier...
    Arjan.

  • How to set the view format of the numbers in the tooltip.

    By default a graph will automatically format the axis view to be a scaled value.
    Example: 180321005 will show as 180 M on the axis label for the graph
    There is a way to set the scaling on the y-axis of a graph so that it will not be displayed as a scaled number.
    m_graph.getY1Axis().getViewFormat().setScaleFactor(BaseViewFormat.SCALEFACTOR_NONE);
    Now: Example: 180321005 will show as 180321005 on the axis label for the graph
    But is there a way to set the scaling factor for the pop up tooltip that appears when the user mouses over a point on the graph?
    Right now the tooltip view shows the y value as a scaled value; therefore, much of the number's percision is lost.
    Thanks,
    michelle

    Hello
    Did you find any soloution?

  • How to set the keepalive timeout and nativepoll in application server 8.2

    Hi,
    I would like to know how to set "keepalive timeout" and "nativepoll" on application server 8.2.
    Thanks,

    These parameters were set in Application server 7 as per the following documentation:
    http://docs.sun.com/source/817-2180-10/pt_chap4.html
    However I am not able to find any documentation with regards to application server 8.2
    Please advice..
    Thanks

  • How to set the system date and time in LabVIEW 6i?

    Hi,
    How can I set the time of the computer from Labview 6i? Is there any function to do this?
    Thanks.

    Arnau wrote in message news:<[email protected]>...
    > Hi,
    >
    > How can I set the time of the computer from Labview 6i? Is there any
    > function to do this?
    >
    > Thanks.
    Not natively that I know of. You could use a LabVIEW DLL call to link
    to a Win32 API call which sets the date and time. You would need to
    have privileges to do it.
    Doug D.
    [email protected]

  • How to set the PSSigGetSigValueParams.sigMode and subfilter for a PubSec plugin

    Hi,
    My PubSec plugin, based on DocSign sample, has its  PSSigGetSigValueParams.sigMode value to kPSSigMethodPKCS1 by default. I am creating PKCS7 signatures, but due to this default value i cannot.
    My questions:
    1 - My understanding is that to create PKCS7 signatures my subfilter should be adbe.PKCS7.detached or sha1. And i assume that PSSigGetSigValueParams.sigMode value in sigGetSigValue() is also related, but its constant and cannot be set. how can i set the subfilter and sigMode values so that my plugin starts creating pkcs7 signatures?
    2 - I cannot find a documentation which would describe the detailed process of creating and validating signatures using PubSec, in the same way it is described for DigSig. Can you point out such a document so i dont have to ask these basic questions?
    3 - Is there any sample available which creates PKCS7 signatures?
    thanks in advance.

    OK... i am answering myself again.
    1 - Ans: How can i set the subfilter value for a PKCS7 signature in my plugin
    2 - Ans: I still cannot find any detailed documentation. I just debugged the plugin and found out answers for myself.
    3 - Ans: And i still dont know if there is any PKCS7 signature creating sample. but if u use the DocSign sample and follow the steps described in 1-Ans above, then you can easily create PKCS7 signatures.
    So, i am considering my question answered. hope it helps others aswell.

Maybe you are looking for

  • Problems with Import of Business Partner Marketing Attributes

    Hello everyone, I've a little problem. We are on CRM 5.0 now and I want to migrate the business partners with marketing attributes in the new system via LSMW. I've therefore wanted to implement the SAP message 609236. But I've problems with creating

  • Missing pages in PDF export

    In Indesign CS4, when I export a 48 page document to PDF the last few pages are always missing. I've trying anything but I can't make it print the whole document.

  • Windows 7 computer, and my macbook pro on snow leopard don't see each other?

    My windows 7 computer, and my macbook pro on snow leopard don't see each other. I have configured the windows section under the network prefrences with the required information, and still no luck. Does anyone have any sugestions for me?

  • Digital camera dslr to Ipad air

    Ive just bought an Ipad Air and would like to connect my digital camera to it. I see there used to be a connection kit for the previous models but is there a way that I can connect to the Ipad? Is a usb connection a possibility? I use a Nikon D3s and

  • Screen display went crazy- help

    I have been using this MacBook Pro for over a year. It has worked fine. I printed a piece from an Adobe site. I walked away from the computer while I was printing. When I returned, the piece had printed, but the screen size had doubled.  It is diffic