Af:poll on the template

hey,
I'm using an af:poll component to update a field on the template. Even though I can update the field a problem arises when I try to navigate through the pages. Once I navigate from one page to another the browser displays a information dialog stating that the browser needs to resend the information previously submitted.
So how can I avoid this problem?

hey,
the poll interval is set to 1000ms.
public void sStatusPoll(PollEvent pollEvent) {
setSState(getSState);
SState is the attribute to which the text field value is bound to
the text field's partial trigger is set to the poll
public String getSState() {
FacesContext fc = FacesContext.getCurrentInstance();
ValueBinding vb = fc.getApplication().createValueBinding("#{data}");
BindingContext bc = (BindingContext)vb.getValue(fc);
DCDataControl dc = bc.findDataControl("AdminAMDataControl");
ApplicationModule am = (ApplicationModule)dc.getDataProvider();
service = (AdminAMImpl)am;
String sState = service.getEvent();
return sState;
the getEvent() method returns a string, based on a value of a database table field (this method executes a VO query: this.getP_NumbersVO1().executeQuery();)
Note: the sState text field is on the template
Thanx

Similar Messages

  • Af:poll in ADF template

    Hello All,
    I am using JDeveloper 11.1.2.3.0
    In my application I have a poll that under some conditions shows a popup. I created a new page for testing purposes and the poll worked perfectly.
    when I created the poll in the ADFTemplate things changed. the poll listener has 2 things to do: 1- show the popup and 2- change an attribute in the database and commit the work.
    now the poll only change the attribute but does not show the popup.
    this my polllistener code:
          public static void showPopup(PollEvent pollEvent )
            String id = "pt_p1";
            FacesContext context = FacesContext.getCurrentInstance();
            BindingContainer bindings = getBindings();
            DCIteratorBinding iter =(DCIteratorBinding)bindings.get("CalendarView2Iterator");
            OperationBinding save = bindings.getOperationBinding("Commit");
            iter.executeQuery();
            Row[] rows = iter.getAllRowsInRange();
            if (rows.length > 0)
                   ExtendedRenderKitService extRenderKitSrvc = Service.getRenderKitService(context, ExtendedRenderKitService.class);
                   extRenderKitSrvc.addScript(context, "context.getViewRoot().findComponent('" + id + "').show();");
                   for (int i=0; i<rows.length;i++) {
                       rows.setAttribute("Reminder", "OFF");
    save.execute();
    private static BindingContainer getBindings()
    return BindingContext.getCurrent().getCurrentBindingsEntry();
    anyone knows why ?
    ps: the code worked perfectly when testing it in a new page but things went wrong when testing it in the template page of the application.
    Regards,
    FARAJ
    I edited the code , but still things is not working correctly!
    Edited by: Faraj on Feb 19, 2013 1:09 AM
    Edited by: Faraj on Feb 19, 2013 2:37 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    hello Mohammad , I correct the code and no more nullpointer exception. Now I am stuck in another problem. I am using richpopup so I need ActionEvent parameter and the bean is for the polllistener so I need a poll event parameter and If I write the 2 I got a problem.. how should I write my method :
    public class PollListener {
        public PollListener() {
            super();
       private RichPopup popup;
        public  void showPopup(PollEvent pollEvent, ActionEvent actionEvent)
            FacesContext context = FacesContext.getCurrentInstance();
            BindingContainer bindings = getBindings();
            DCIteratorBinding iter =(DCIteratorBinding)bindings.get("CalendarView2Iterator");
            OperationBinding save = bindings.getOperationBinding("Commit");
            iter.executeQuery();
            Row[] rows = iter.getAllRowsInRange();
            if (rows.length > 0)
                 RichPopup.PopupHints ph = new RichPopup.PopupHints();
                 popup.show(ph);         
                   for (int i=0; i<rows.length;i++) {
                       rows.setAttribute("Reminder", "OFF");
    save.execute();
    private static BindingContainer getBindings()
    return BindingContext.getCurrent().getCurrentBindingsEntry();
    public void setPopup(RichPopup popup) {
    this.popup = popup;
    public RichPopup getPopup() {
    return popup;
    thanks for your help                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • I'm using Word for Mac. Though there are various instructions on the Internet for modifying the templates, none make sense to me. They instruct to do something I can't follow. I change a template but can't save it to the template folder.

    What the ****.
    OK, I try to change a template using Word for Mac version 14.3.4 2011 edition.
    I make a change to the template but am unable to save the darned thing to the template folder; it asks for a file name like it's a new document. I want to change the blasted template but if I can't save it as a modified template, I've accomplished nothing.
    Does anyone have a solution?
    Thanks

    Support for Microsoft Office for Mac

  • I have a problem with my Template as I keep receiving this message in DW CS6; Template is nested inside itself? All my other pages linked to the Template is also not working fine. I tried to us the answer in this forum, but its not working

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/index.dwt" codeOutsideHTMLIsLocked="false" -->
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>Home | Greatman Group of Company</title>
    <!-- InstanceEndEditable -->
    <!-- Start WOWSlider.com HEAD section -->
    <link rel="stylesheet" type="text/css" href="../engine1/style.css" />
    <script type="text/javascript" src="../engine1/jquery.js"></script>
    <!-- End WOWSlider.com HEAD section -->
    <style type="text/css">
    .shadowblockmenu-v{
        font: bold 14px Palatino Linotype, Book Antiqua, Palatino, serif;
        width: 180px; /* width of menu */
    .shadowblockmenu-v ul{
    border: 2px solid #03F;
    padding: 0;
    margin: 0;
    list-style: none;
    .shadowblockmenu-v ul li{
    margin:0;
    padding:0;
    .shadowblockmenu-v ul li a{
    display:block;
    color: #03F;
    padding: 10px 15px;
    text-decoration: none;
    border-bottom: 1px solid #03F;
    border-right: 1px solid #03F; /*right border between menu items*/
    -moz-box-shadow: inset 7px 0 10px rgba(114,114,114, 0.6); /* Add inset shadow to each menu item. First 3 values in (114,114,114, 0.5) specifies rgb values, last specifies opacity */
    -webkit-box-shadow: inset 7px 0 10px rgba(114,114,114, 0.6);
    box-shadow: inset 7px 0 10px rgba(114,114,114, 0.6);
    text-shadow: 0 -1px 1px #03F; /* CSS text shadow to give text some depth */
    -moz-transition: all 0.2s ease-in-out; /* Enable CSS transition between property changes */
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    .shadowblockmenu-v ul li a:hover, .shadowblockmenu-v ul li a.selected{
    color: black;
    -moz-box-shadow: inset 7px 0 10px rgba(216,89,39, 0.5), inset 0 0 15px rgba(216,89,39, 0.6), inset 0 0 20px rgba(216,89,39, 0.8); /* Add 3 inset shadows to each menu item  */
    -webkit-box-shadow: inset 7px 0 10px rgba(216,89,39, 0.5), inset 0 0 15px rgba(216,89,39, 0.6), inset 0 0 20px rgba(216,89,39, 0.8);
    box-shadow: inset 7px 0 10px rgba(216,89,39, 0.5), inset 0 0 15px rgba(216,89,39, 0.6), inset 0 0 20px rgba(216,89,39, 0.8);
    #wholepage {
        height: 1300px;
        width: 1000px;
        float: none;
        margin: auto;
    .companylogo {
        height: 150px;
        width: 250px;
    .navigationmenu {
        height: 150px;
        width: 750px;
        margin: 0px;
        float: right;
    .bannerimg {
        margin: auto;
        height: 350px;
        width: 950px;
    .marqueetext {
        height: 60px;
        width: 980px;
        margin: auto;
        background-color: #03F;
        color: #FFF;
        padding-top: 1px;
        padding-bottom: 10px;
        font-size: 22px;
        font-weight: bolder;
        border-radius: 20px;
        border: medium solid #F00;
    .footer {
        height: 58px;
        width: 1000px;
        color: #FFF;
        background-color: #03F;
    #bodycontent {
        display: block;
        margin: auto;
        height: 680px;
        width: 980px;
    #body3 {
        display: block;
        float: right;
        height: 225px;
        width: 780px;
        margin-top: 10px;
    #body4 {
        display: block;
        float: right;
        height: 220px;
        width: 780px;
        margin-top: 5px;
    #body1 {
        display: block;
        height: 450px;
        width: 200px;
        float: left;
    #body2 {
        display: block;
        height: 220px;
        width: 780px;
        float: right;
    </style>
    <link href="../SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    <script src="../SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <script type="text/javascript">
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    </script>
    <!-- InstanceBeginEditable name="head" -->
    <!-- TemplateBeginEditable name="head" -->
    <!-- TemplateEndEditable -->
    <!-- InstanceEndEditable -->
    <!-- InstanceParam name="editablebody" type="boolean" value="true" -->
    </head>
    <body onload="MM_preloadImages('../Images/CJ4Sale.jpg','../Images/Cars4Sale.jpg','../Images/CP4 Sale.jpg')">
    <div id="wholepage">
      <div class="navigationmenu">
        <ul id="MenuBar1" class="MenuBarHorizontal">
          <li><a href="../index.html">Home</a>      </li>
          <li><a href="../aboutus.html" class="MenuBarItemSubmenu">About Us</a>
            <ul>
              <li><a href="../aboutus.html">Director / CEO</a></li>
            </ul>
          </li>
          <li><a href="../webdesign.html" class="MenuBarItemSubmenu">Products</a>
            <ul>
              <li><a href="../webdesign.html">Web Design</a></li>
              <li><a href="../jerseys.html">Jerseys</a></li>
              <li><a href="#">Cars</a></li>
              <li><a href="#">Laptops / Phones &amp; Accessories</a></li>
            </ul>
          </li>
          <li><a href="#">Site Map</a>      </li>
          <li><a href="#">Contact Us</a></li>
          <img src="../Images/bannerlogo.jpg" width="745" height="115" alt="My Company Logo" />
        </ul>
      </div>
      <div class="companylogo"><a href="../index.html"><img src="../Images/Logo.jpg" width="250" height="150" alt="My Company Logo" /></a></div><hr/ color="red" />
      <div class="bannerimg">
      <!-- Start WOWSlider.com BODY section -->
    <div id="wowslider-container1">
    <div class="ws_images"><ul>
            <li><img src="../data1/images/customized_barcelona_jerseys.jpg" alt="Customized Barcelona Jerseys" title="Customized Barcelona Jerseys" id="wows1_0"/>Contact Us :- </br>
    Email: [email protected] </br>
    Mobile: +2349092974966 or +234817493851</li>
            <li><img src="../data1/images/customized_chelsea_jerseys.jpg" alt="Customized Chelsea Jerseys" title="Customized Chelsea Jerseys" id="wows1_1"/>Contact Us :- </br>
    Email: [email protected] </br>
    Mobile: +2349092974966 or +234817493851</li>
            <li><img src="../data1/images/cars__jeeps_and_space_buses.jpg" alt="Cars, Jeeps and Space Buses" title="Cars, Jeeps and Space Buses" id="wows1_2"/>Contact Us :- </br>
    Email: [email protected] </br>
    Mobile: +2349092974966 or +234817493851</li>
            <li><img src="../data1/images/cars.jpg" alt="Cars" title="Cars" id="wows1_3"/>Contact Us :- </br>
    Email: [email protected] </br>
    Mobile: +2349092974966 or +234817493851</li>
            <li><img src="../data1/images/cell_phones.jpg" alt="Cell Phones & Accessories" title="Cell Phones & Accessories" id="wows1_4"/>Contact Us :- </br>
    Email: [email protected] </br>
    Mobile: +2349092974966 or +234817493851</li>
            <li><img src="../data1/images/laptops.jpg" alt="Laptops & Accessories" title="Laptops & Accessories" id="wows1_5"/>Contact Us :- </br>
    Email: [email protected] </br>
    Mobile: +2349092974966 or +234817493851</li>
            <li><a href="http://wowslider.com/vi"><img src="../data1/images/customized_arsenal_jerseys.jpg" alt="slider html" title="Customized Arsenal Jerseys" id="wows1_6"/></a>Contact Us :- </br>
    Email: [email protected] </br>
    Mobile: +2349092974966 or +234817493851</li>
            <li><img src="../data1/images/customized_man_utd__chelsea_and_barceloa_jerseys.jpg" alt="Customized Man Utd, Chelsea and Barcelona Jerseys" title="Customized Man Utd, Chelsea and Barcelona Jerseys" id="wows1_7"/>Contact Us :- </br>
    Email: [email protected] </br>
    Mobile: +2349092974966 or +234817493851</li>
        </ul></div>
        <div class="ws_bullets"><div>
            <a href="#" title="Customized Barcelona Jerseys"><span><img src="../data1/tooltips/customized_barcelona_jerseys.jpg" alt="Customized Barcelona Jerseys"/>1</span></a>
            <a href="#" title="Customized Chelsea Jerseys"><span><img src="../data1/tooltips/customized_chelsea_jerseys.jpg" alt="Customized Chelsea Jerseys"/>2</span></a>
            <a href="#" title="Cars, Jeeps and Space Buses"><span><img src="../data1/tooltips/cars__jeeps_and_space_buses.jpg" alt="Cars, Jeeps and Space Buses"/>3</span></a>
            <a href="#" title="Cars"><span><img src="../data1/tooltips/cars.jpg" alt="Cars"/>4</span></a>
            <a href="#" title="Cell Phones & Accessories"><span><img src="../data1/tooltips/cell_phones.jpg" alt="Cell Phones & Accessories"/>5</span></a>
            <a href="#" title="Laptops & Accessories"><span><img src="../data1/tooltips/laptops.jpg" alt="Laptops & Accessories"/>6</span></a>
            <a href="#" title="Customized Arsenal Jerseys"><span><img src="../data1/tooltips/customized_arsenal_jerseys.jpg" alt="Customized Arsenal Jerseys"/>7</span></a>
            <a href="#" title="Customized Man Utd, Chelsea and Barcelona Jerseys"><span><img src="../data1/tooltips/customized_man_utd__chelsea_and_barceloa_jerseys.jpg" alt="Customized Man Utd, Chelsea and Barcelona Jerseys"/>8</span></a>
        </div></div><div class="ws_script" style="position:absolute;left:-99%"><a href="http://wowslider.com">carousel jquery</a> by WOWSlider.com v7.8</div>
    <div class="ws_shadow"></div>
    </div>   
    <script type="text/javascript" src="../engine1/wowslider.js"></script>
    <script type="text/javascript" src="../engine1/script.js"></script>
    <!-- End WOWSlider.com BODY section -->
    </div>
      <!-- InstanceBeginEditable name="EditRegion5" --><br/>
      <div class="marqueetext">
        <p>
          <marquee>
            For your Static and Dynamic Websites Design at an affordable price. Contact Us :- Email: <em style="color:#FF0"> [email protected] </em> Mobile: <em style="color:#FF0"> +2349092974966 or +234817493851 </em>
          </marquee>
        </p>
      </div>
      <!-- InstanceEndEditable -->
      <hr/ color="red" />
    <div id="bodycontent">
        <div id="body1">
          <div class="shadowblockmenu-v">
            <ul>
              <li><a href="../index.html" style="color:#03F">&deg; Home</a></li>
              <li><a href="../aboutus.html" style="color:#03F">&deg; About Us</a></li>
              <li><a href="../aboutus.html" style="color:#F00">   &deg; Director / CEO</a></li>
              <li><a href="../webdesign.html" style="color:#03F">&deg; Products</a></li>
              <li><a href="../webdesign.html" style="color:#F00">   &deg; Web Design</a></li>
              <li><a href="../jerseys.html" style="color:#F00">   &deg; Jerseys</a></li>
              <li><a href="../index.html" style="color:#F00">   &deg; Cars</a></li>
              <li><a href="../index.html" style="color:#F00">   &deg; Laptops / Phones & Accessories</a></li>
              <li><a href="../index.html" style="color:#03F">&deg; Site Map</a></li>
              <li><a href="../index.html" style="color:#03F">&deg; Contact Us</a></li>
            </ul>
          </div>
        </div>
        <div id="body2"><!-- InstanceBeginEditable name="EditRegion1" -->
          <h4 align="center" style="color:#F00">ALL CLUBS &amp; COUNTRIES SALES &amp; CUSTOMIZE JERSEYS FOR SALE!!! </h4>
          <a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image4','','../Images/CJ4Sale.jpg',1)"><img src="../Images/BJ4Sale.jpg" alt="Jerseys For Sale" width="200" height="150" id="Image4" align="left" hspace="10" /></a>
          <p style="color: #000; font-size: 18px;">We recently ventured into customising T-shirts for occassions &amp; Jerseys for all your favorite clubs. We do welcome negative criticism as to help us improve on our production quality as we are full of optimism &amp; we would appreciate ideas that would help this business improve. Just kindly feel free to fill our Feedback form and make a comment. We would work on getting improved based on your comments for us to satisfy all (you) our numerous customers.</p>
        <!-- InstanceEndEditable --></div>
        <div id="body3"><!-- InstanceBeginEditable name="EditRegion2" -->
          <h4 align="center" style="color:#F00">CARS, JEEPS &amp; SPACE BUSES FOR SALE!!! </h4>
          <a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image5','','../Images/Cars4Sale.jpg',1)"><img src="../Images/Car4Sale.jpg" alt="Cars, Jeeps and Space Buses for sale" width="200" height="150" id="Image5" hspace="10" align="left" /></a>
          <p style="color: #000; font-size: 18px;">We've been in the business of selling all types of vehicles for 6 years. We supply qualities and well conditioned vehicles to our customers which made us one of the best Car Dealers in town. We satisfy our customers to their satisfaction. We address some sellers nowadays as an Old Timer. They think they know everything, they don't want to learn new things, they are average (or below average) salespeople and they take great fun out of bringing new salespeople down to their weak level.</p>
        <!-- InstanceEndEditable --></div>
        <div id="body4"><!-- InstanceBeginEditable name="EditRegion3" -->
          <h4 align="center" style="color:#F00">LAPTOPS / PHONES &amp; ACCESSORIES FOR SALE!!! </h4>
          <a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image6','','../Images/CP4Sale.jpg',1)"><img src="../Images/Laptops4Sale.jpg" alt="Laptops/Phones and Accessories for sale" width="200" height="150" id="Image6" hspace="10" align="left" /></a>
          <p style="color: #000; font-size: 18px;">We have been in the business of selling all types of Laptops, Phones and Accessories (Branded new, UK Used and Nigeria Used)for 8 years. We supply qualities Laptops, Phones and Accessories to our customers which made us one of the best Sellers in this business. We satisfy our customers to their satisfaction by offering very good greeting to all our customers in a very respectful manners both on call,  e-mails as well as in our office.</p>
        <!-- InstanceEndEditable --></div>
      </div>
      <div><!-- InstanceBeginEditable name="EditRegion4" --><!-- InstanceEndEditable --></div>
      <hr/ color="red" />
      <div class="footer">
        <div align="center">Copyright &copy; 2015 Greatman Group of Company<br />
          Design By: Musty Greatman<br/>
        All Rights Reserved.</div>
      </div>
    </div>
    <script type="text/javascript">
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    </script>
    </body>
    <!-- InstanceEnd --></html>

    The following line tells me that this is not a template file, but a document created from a template called index.dwt
    <html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/index.dwt" codeOutsideHTMLIsLocked="false" -->
    This means that you saved a child document as a template file at some stage.
    If you go to Modify->Templates->Detach from Template, you can remove the template structure from your document. All you then need to do is to re-save the document as a template.

  • When I open Pages, Numbers the template chooser doesn't open, some other finder type window opens.

    Any way to turn it back on after ML install? In preferences the template chosser is selected and can't be unselected.

    I assume you've applied the iWork 9.2 updater as well as upgrading to Mountain Lion. By default, ML & iWork assume you want to open a file on iCloud. If you don't have an iCloud account you can turn this off by unchecking Documents & Data in System Preferences > iCloud. Otherwise, the easiest way would be to type ⌘ ⇧ N to bring up the template chooser.
    Or it could just be that the preference files are corrupt, but it does seem odd that they would both do it at the same time.

  • When I open Pages the template chooser doesn't open even though i have chosen that in preferences

    In Pages preferences, I have chosen to open the template chooser window, but for some reason when I open Pages, it continually opens in a finder type window and I have to choose "new document" and then I will get the template chooser window...is this correct?

    Thank you so much, Picas!  I was going crazy thinking I had corrupted some preference...I am new to Macs!

  • Photosmart Premium C309a. I want to print on CD/DVD without using the templates provided

    In the templates included in the drivers/software, there are only a few variations to use. I want to design the print-layout myself, (a blank CD/DVD), but have so far not found any way to do that. Does anyone know how to do it

    Hi excolprof,
    We only support disc printing with the supplied Easy Photo Print and My Image Garden software.  You are welcome to try using third party programs, but as they are not supported, the only steps I can recommend would be to make sure that hte paper size is set to CD Disc within the software.
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • Name of the predefined style in the template removed in the output-RTF

    When using predefined named styles in an RTF-input-template, these get removed from the resulting output-document.
    * Create a BI-Publisher -project and use an rtf-file with a predefined style (you can define one on the fly by changing the default style and call it eg. "MyStyle")
    * Type in some text in the template-rtf marking it with "MyStyle"-style
    * Save your template, add a dummy dataset and then view it as rtf-output
    * The Name of the predefined style is not in the style-list of the output-rtf anymore.
    Basically, BI-Publisher seems to remove the names of the styles in the list of the rtf and thus making it impossible to work consistently with styles afterwards for people wanting to modify the resulting rtf using a in-house-style .
    Does anyone know a workaround for this ?
    Thanks,
    Peter

    Hi,
    According to your requirement there is no such standard SAP report.
    Develop a custom Z-report using LDB PNP in Tcode SE38.
    Hope this helps.
    Thanks,
    Sarika.

  • Photoshop CC: Have a template that I moved image into.  Image is too small.  How do I resize the image while in the template?  Or must I go to original image file and resize there again and again until I get the right fit?

    I have a template that I am able to plug different pictures into at different times.  The problem is that when I plug an image into that template, I find that the image is either too big or too small.  Is there a way to plug the image into the template and resize the image (and not the template itself) OR will I have to go to the file with the original image and resize it there and then try to plug it in to the template to see if it fits------and if it does not fit, go back to the original file with the image and resize it again and see if that fits---and so on and so on...........?  I have tried the" image size" option but it's hit or miss------mostly miss!
    Thanks!

    Read up on Smart Objects. It looks like you have no idea as to how to create and use them.
    Jut create a Smart Object from the layer containing whatever it image it is that you are "plugging into your template".  But you do need to learn the application at its most basic levels.
    Photoshop is a professional level application that makes no apologies for its very long and steep learning curve.  You cannot learn Photoshop in a forum, one question at a time.
    Or is it possible that you don't even have Photoshop proper but the stripped-down Photoshop Elements?"
    If the latter is the case, you're in the wrong forum.  This is not the Elements forum.
    Here's the link to the forum you would want if you're working in Elements.:
    https://forums.adobe.com/community/photoshop_elements/content
    If you do have Photoshop proper, please provide the exact version number of that application and of your OS.
    (edited for clarification)

  • I want to download an invoice template. How can I then fill in the template and place in a file?

    I want to download a template of an invoice. How can I then fill in the template and create a separate file?

    template in Word format? Excel? PDF? a little more information please.

  • About the template FSCM9.1 FP2 Peopletools 8.52.03 (v4 - July 2012)

    Hello,
    Just tested quickly this new template delivered 2 months ago (July 2012).
    As far as I undestand, it is just a recut of the one delivered in April 2012. At least it solves the main issue I reported in that other About the template FSCM9.1 FP2 Peopletools 8.52.03 (v3) about the network prompt missing.
    But I still have remarks/issues on the template FSCM9.1 FP2 Peopletools 8.52.03 (v4) released earlier in July 2012.
    _1. First of all, there a lot of errors reported in /var/log/messages_
    Sep 13 05:02:55 localhost kernel: type=1400 audit(1347526918.883:3): avc:  denied  { read } for  pid=92 comm="restorecon" name="libc.so.6" dev=xvda2 ino=21 scontext=system_u:sys
    tem_r:restorecon_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=lnk_file
    Sep 13 05:02:55 localhost kernel: type=1400 audit(1347526918.910:4): avc:  denied  { execute } for  pid=92 comm="restorecon" path="/lib64/libc-2.5.so" dev=xvda2 ino=20 scontext=
    system_u:system_r:restorecon_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file
    Sep 13 05:02:55 localhost kernel: type=1400 audit(1347526921.489:5): avc:  denied  { read } for  pid=296 comm="pam_console_app" name="ld.so.cache" dev=xvda2 ino=94143 scontext=s
    ystem_u:system_r:pam_console_t:s0-s0:c0.c1023 tcontext=system_u:object_r:file_t:s0 tclass=file
    Sep 13 05:02:55 localhost kernel: type=1400 audit(1347526921.489:6): avc:  denied  { getattr } for  pid=290 comm="pam_console_app" path="/etc/ld.so.cache" dev=xvda2 ino=94143 sc
    ontext=system_u:system_r:pam_console_t:s0-s0:c0.c1023 tcontext=system_u:object_r:file_t:s0 tclass=file
    Sep 13 05:02:55 localhost kernel: type=1400 audit(1347526921.530:7): avc:  denied  { read } for  pid=293 comm="pam_console_app" name="libc.so.6" dev=xvda2 ino=21 scontext=system
    _u:system_r:pam_console_t:s0-s0:c0.c1023 tcontext=system_u:object_r:file_t:s0 tclass=lnk_file
    Sep 13 05:02:55 localhost kernel: type=1400 audit(1347526921.530:8): avc:  denied  { execute } for  pid=293 comm="pam_console_app" path="/lib64/libc-2.5.so" dev=xvda2 ino=20 sco
    ntext=system_u:system_r:pam_console_t:s0-s0:c0.c1023 tcontext=system_u:object_r:file_t:s0 tclass=file
    Sep 13 05:02:55 localhost kernel: input: PC Speaker as /class/input/input3
    Sep 13 05:02:55 localhost kernel: Initialising Xen virtual ethernet driver.
    Sep 13 05:02:55 localhost kernel: Error: Driver 'pcspkr' is already registered, aborting...
    Sep 13 05:02:55 localhost kernel: Floppy drive(s): fd0 is unknown type 15 (usb?), fd1 is unknown type 15 (usb?)
    Sep 13 05:02:55 localhost kernel: floppy0: Unable to grab IRQ6 for the floppy driver
    Sep 13 05:02:55 localhost kernel: lp: driver loaded but no devices found
    Sep 13 05:02:55 localhost kernel: md: Autodetecting RAID arrays.
    Sep 13 05:02:55 localhost kernel: md: Scanned 0 and added 0 devices.
    Sep 13 05:02:55 localhost kernel: md: autorun ...
    Sep 13 05:02:55 localhost kernel: md: ... autorun DONE.
    Sep 13 05:02:55 localhost kernel: EXT3 FS on xvda2, internal journal
    Sep 13 05:02:55 localhost kernel: type=1400 audit(1347526929.896:9): avc:  denied  { execute } for  pid=965 comm="restorecon" path="/lib64/libc-2.5.so" dev=xvda2 ino=20 scontext
    =system_u:system_r:restorecon_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file
    Sep 13 05:02:55 localhost kernel: kjournald starting.  Commit interval 5 seconds
    Sep 13 05:02:55 localhost kernel: EXT3 FS on xvda1, internal journal
    Sep 13 05:02:55 localhost kernel: EXT3-fs: mounted filesystem with ordered data mode.
    Sep 13 05:02:55 localhost kernel: kjournald starting.  Commit interval 5 seconds
    Sep 13 05:02:55 localhost kernel: EXT3 FS on xvdb1, internal journal
    Sep 13 05:02:55 localhost kernel: EXT3-fs: mounted filesystem with ordered data mode.
    Sep 13 05:02:55 localhost kernel: type=1400 audit(1347526930.647:10): avc:  denied  { execute } for  pid=989 comm="setfiles" path="/lib64/libc-2.5.so" dev=xvda2 ino=20 scontext=
    system_u:system_r:setfiles_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=file
    Sep 13 05:02:55 localhost kernel: type=1400 audit(1347526942.398:11): avc:  denied  { net_admin } for  pid=990 comm="setfiles" capability=12  scontext=system_u:system_r:setfiles
    _t:s0 tcontext=system_u:system_r:setfiles_t:s0 tclass=capability
    Sep 13 05:02:55 localhost kernel: hrtimer: interrupt took 35229469 ns
    Sep 13 05:02:55 localhost kernel: Adding 2104504k swap on /dev/xvda3.  Priority:-1 extents:1 across:2104504k SS
    Sep 13 05:02:55 localhost kernel: warning: process `kudzu' used the deprecated sysctl system call with 1.23.
    Sep 13 05:02:55 localhost kernel: Loading iSCSI transport class v2.0-870.
    Sep 13 05:02:55 localhost kernel: libcxgbi:libcxgbi_init_module: tag itt 0x1fff, 13 bits, age 0xf, 4 bits.
    Sep 13 05:02:55 localhost kernel: libcxgbi:ddp_setup_host_page_size: system PAGE 4096, ddp idx 0.
    Sep 13 05:02:55 localhost kernel: Chelsio T3 iSCSI Driver cxgb3i v2.0.0 (Jun. 2010)
    Sep 13 05:02:55 localhost kernel: iscsi: registered transport (cxgb3i)
    Sep 13 05:02:55 localhost kernel: NET: Registered protocol family 10
    Sep 13 05:02:55 localhost kernel: cnic: Broadcom NetXtreme II CNIC Driver cnic v2.2.14 (Mar 30, 2011)
    Sep 13 05:02:55 localhost kernel: Broadcom NetXtreme II iSCSI Driver bnx2i v2.6.2.3 (Jan 06, 2010)
    Sep 13 05:02:55 localhost kernel: iscsi: registered transport (bnx2i)
    Sep 13 05:02:55 localhost kernel: iscsi: registered transport (tcp)
    Sep 13 05:02:55 localhost kernel: iscsi: registered transport (iser)
    Sep 13 05:02:55 localhost kernel: iscsi: registered transport (be2iscsi)
    Sep 13 05:02:55 localhost kernel: ip6_tables: (C) 2000-2006 Netfilter Core Team
    Sep 13 05:02:55 localhost kernel: warning: `mcstransd' uses 32-bit capabilities (legacy support in use)
    Sep 13 05:02:55 localhost kernel: type=1400 audit(1347526970.336:12): avc:  denied  { sys_tty_config } for  pid=1374 comm="consoletype" capability=26  scontext=system_u:system_r
    :consoletype_t:s0 tcontext=system_u:system_r:consoletype_t:s0 tclass=capability
    Sep 13 05:02:55 localhost kernel: RPC: Registered udp transport module.
    Sep 13 05:02:55 localhost kernel: RPC: Registered tcp transport module.
    Sep 13 05:02:55 localhost kernel: RPC: Registered tcp NFSv4.1 backchannel transport module.
    Sep 13 05:03:00 localhost automount[1769]: lookup_read_master: lookup(nisplus): couldn't locate nis+ table auto.master
    Sep 13 05:03:59 localhost kernel: type=1400 audit(1347527039.771:13): avc:  denied  { sys_tty_config } for  pid=2029 comm="consoletype" capability=26  scontext=system_u:system_r
    :consoletype_t:s0 tcontext=system_u:system_r:consoletype_t:s0 tclass=capability
    Sep 13 05:04:00 localhost NET[2061]: /sbin/dhclient-script : updated /etc/resolv.conf
    Sep 13 05:04:01 localhost kernel: IPv6 over IPv4 tunneling driver
    Sep 13 05:04:01 localhost NET[2219]: /opt/oracle/psft/vm/oraclevm-template.sh : updated /etc/resolv.conf
    Sep 13 05:04:08 localhost NET[2472]: /etc/sysconfig/network-scripts/ifup-post : updated /etc/resolv.conf
    Sep 13 05:06:08 localhost restorecond: Reset file context /etc/resolv.conf: system_u:object_r:etc_runtime_t:s0->system_u:object_r:net_conf_t:s0
    Sep 13 05:08:19 localhost kernel: Slow work thread pool: Starting up
    Sep 13 05:08:19 localhost kernel: Slow work thread pool: Ready
    Sep 13 05:08:19 localhost kernel: FS-Cache: Loaded
    Sep 13 05:08:19 localhost kernel: FS-Cache: Netfs 'nfs' registered for caching
    Sep 13 05:08:19 localhost kernel: svc: failed to register lockdv1 RPC service (errno 97).
    ...Well, I don't know if it triggers others problems yet, but the last line could reveale an error within the /etc/hosts file which has not been properly modified during deployment (especially IPV6, it probably should be removed) :
    [root@psovmfscmfp2 /]# more /etc/hosts
    127.0.0.1       localhost.localdomain   localhost
    ::1     localhost6.localdomain6 localhost6
    192.168.1.150   psovmfscmfp2.phoenix.nga psovmfscmfp2
    [root@psovmfscmfp2 /]#_2. Now about the COBOL_
    Despite I choosed to install Microfocus, COBOL does not work. Sample COBOL processes such as PTPDBTST and PTPDTTST finished in error.
    The log is empty, here below the output from the file $PS_CFG_HOME/psft/pt/8.52/appserv/prcs/PRCSDOM/LOGS/stdout (psadm2) :
    =================================Error===============================
    Message:     Process 10899 is marked 'Initiated' or 'Processing' but can not detect status of PID
            Process Name: PTPDBTST
            Process Type: COBOL SQL
            Session Id:   9313
    =====================================================================
    OprId = VP1Note that I successfully tested AEs and SQRs.
    Here is the command line fired that I can see from the process monitor > parameter (nga is being my run control id) :
    PSRUN PTPDBTST ORACLE/F91TMPLT/VP1/OPRPSWD/nga/10899//0 I used the following trace setting on the PTPDBTST's process parameter (override) to see what happens :
    %%DBTYPE%%/%%DBNAME%%/%%OPRID%%/%%OPRPSWD%%/%%RUNCNTLID%%/%%INSTANCE%%//%%DBFLAG%%But it does not generate more logs...
    I also use "RCCBL Redirect =1" in psappsrv.cfg (reconfigure and restart appdom), then start the COBOL through menu PeopleTools > Utilities > Debug > PeopleTools Test Utilities, and run a "Remote Call Test".
    I received "COBOL Program PTPNTEST aborted (2,-1) FUNCLIB_UTIL.RC_TEST_PB.FieldChange PCPC:2143 Statement:26", but it generated two empty files (PTPNTEST_VP1_0913064910.out and PTPNTEST_VP1_0913064910.err).
    Next step, checking the folder $PS_HOME/cblbin, it is...er... empty... does this mean COBOL have not been compiled ? Hmmm, I'm pretty sure I replied 'yes' when it was prompted though (still have the screenshots)...
    And we can see several folders dated from today and license seems ok from Microfocus directories :
    [psadm1@psovmfscmfp2 tools]$ cd /opt/oracle/psft/pt/cobol/svrexp-51_wp4-64bit
    [psadm1@psovmfscmfp2 svrexp-51_wp4-64bit]$ ls -lrt
    total 264
    -r--r--r--  1 root root 10455 Nov 19  2009 ADISCTRL
    dr-xr-xr-x 10 root root  4096 Nov 19  2009 terminfo
    dr-xr-xr-x  2 root root  4096 Nov 19  2009 xdb
    -r--r--r--  1 root root 11949 Nov 19  2009 eslmf-mess
    dr-xr-xr-x  2 root root  4096 Nov 19  2009 include
    dr-xr-xr-x 17 root root  4096 Nov 19  2009 lang
    dr-xr-xr-x  4 root root  4096 Nov 19  2009 es
    dr-xr-xr-x  2 root root  4096 Nov 19  2009 dynload
    drwxrwxrwx  2 root root  4096 Nov 19  2009 deploy
    dr-xr-xr-x  2 root root  4096 Nov 19  2009 dynload64
    dr-xr-xr-x  2 root root  4096 Nov 19  2009 dialog
    dr-xr-xr-x  2 root root  4096 Nov 19  2009 cpylib
    dr-xr-xr-x  8 root root 28672 Nov 19  2009 lib
    dr-xr-xr-x  3 root root  4096 Nov 19  2009 snmp
    dr-xr-xr-x  8 root root  4096 Nov 19  2009 src
    dr-xr-xr-x 28 root root  4096 Nov 19  2009 demo
    dr-xr-xr-x  6 root root  4096 Nov 19  2009 docs
    -rw-r--r--  1 root root    49 Sep 13 05:13 license.txt
    -r-xr-xr-x  1 root root 12719 Sep 13 05:13 install.orig
    -r-xr-xr-x  1 root root 13006 Sep 13 05:13 install
    dr-xr-xr-x  6 root root  4096 Sep 13 05:13 lmf
    dr-xr-xr-x  2 root root  4096 Sep 13 05:13 aslmf
    dr-xr-xr-x  6 root root  4096 Sep 13 05:15 etc
    dr-xr-xr-x  4 root root 12288 Sep 13 05:15 bin
    [psadm1@psovmfscmfp2 svrexp-51_wp4-64bit]$ more license.txt
    I
    ORACLE-30DAYDEV64
    01030 A0780 014A6 7980B A17CSo let's assume it has been properly installed and let's compile the COBOLs. Here we go :
    [psadm1@psovmfscmfp2 svrexp-51_wp4-64bit]$ cd $PS_HOME/setup
    [psadm1@psovmfscmfp2 setup]$ ./pscbl.mak
    /opt/oracle/psft/pt/tools/setup/pscbl_mf.mak : Convert all files for Unicode ....
    Conversion Summary for Source Codes in  :
         Source: /opt/oracle/psft/pt/tools/src/cbl/
         Target: /opt/oracle/psft/pt/tools/src/cblunicode/
          Number of Copy Libraries Read: 71
                         Modified:       71
                     Not Modified:       0
          Number of Programs Read:       44
                         Modified:       44
                     Not Modified:       0
    /opt/oracle/psft/pt/tools/setup/pscbl_mf.mak : All COBOL files were converted for Unicode successfully
    /opt/oracle/psft/pt/tools/setup/pscbl_mf.mak : Compiling PTPCBLAE.cbl ...
    /opt/oracle/psft/pt/tools/setup/pscbl_mf.mak: line 249: cob: command not found
    cp: cannot stat `PTPCBLAE.gnt': No such file or directory
    cp: cannot stat `PTPCBLAE.int': No such file or directory
    cp: cannot stat `PTPCBLAE.lst': No such file or directory
    ...What about env. variables ? COBDIR, COBPATH and COBOL do not appears anywhere in PATH...
    [psadm1@psovmfscmfp2 setup]$ env|grep -i cobol
    [psadm1@psovmfscmfp2 setup]$Let's set the env variables as we could expect to be (page 27, step 17 of the given doc), and retry to compile the COBOL :
    [psadm1@psovmfscmfp2 setup]$ export COBDIR=/opt/oracle/psft/pt/cobol/svrexp-51_wp4-64bit
    [psadm1@psovmfscmfp2 setup]$ export LD_LIBRARY_PATH=/opt/oracle/psft/pt/cobol/svrexp-51_wp4-64bit/lib:$LD_LIBRARY_PATH
    [psadm1@psovmfscmfp2 setup]$ export PATH=/opt/oracle/psft/pt/cobol/svrexp-51_wp4-64bit/bin:$PATH
    [psadm1@psovmfscmfp2 setup]$ ./pscbl.mak
    /opt/oracle/psft/pt/tools/setup/pscbl_mf.mak : Convert all files for Unicode ....
    Conversion Summary for Source Codes in  :
         Source: /opt/oracle/psft/pt/tools/src/cbl/
         Target: /opt/oracle/psft/pt/tools/src/cblunicode/
          Number of Copy Libraries Read: 71
                         Modified:       71
                     Not Modified:       0
          Number of Programs Read:       44
                         Modified:       44
                     Not Modified:       0
    /opt/oracle/psft/pt/tools/setup/pscbl_mf.mak : All COBOL files were converted for Unicode successfully
    /opt/oracle/psft/pt/tools/setup/pscbl_mf.mak : Compiling PTPCBLAE.cbl ...
    Micro Focus LMF - 010: Unable to contact license manager.                                                                                                                              This product has been unable to contact the                                     License Manager.                                                                                                                                                Execution of this product has been terminated.                                                                                                                  This product cannot execute without the License                                 Manager. Contact your license administrator                                     or refer to the 'Information Messages' chapter                                  of the License Management Facility                                              Administrator's Guide.
    cob64: error(s) in compilation: PTPCBLAE.cbl
    cp: cannot stat `PTPCBLAE.gnt': No such file or directory
    cp: cannot stat `PTPCBLAE.int': No such file or directory
    cp: cannot stat `PTPCBLAE.lst': No such file or directory
    ...Ok, maybe a bit better, at least it is trying to contact LMF. Probably the LMF is not started. Let's try to start it :
    [root@psovmfscmfp2 microfocus]# ./mflmman
    MF-LMF:Thu Sep 13 07:19:37 2012: LMF Starting
    [root@psovmfscmfp2 microfocus]#Good, it is starting, it means it wasn't (sic). Now retry to compile :
    [psadm1@psovmfscmfp2 setup]$ export COBDIR=/opt/oracle/psft/pt/cobol/svrexp-51_wp4-64bit
    [psadm1@psovmfscmfp2 setup]$ export LD_LIBRARY_PATH=/opt/oracle/psft/pt/cobol/svrexp-51_wp4-64bit/lib:$LD_LIBRARY_PATH
    [psadm1@psovmfscmfp2 setup]$ export PATH=/opt/oracle/psft/pt/cobol/svrexp-51_wp4-64bit/bin:$PATH
    [psadm1@psovmfscmfp2 setup]$ ./pscbl.mak
    /opt/oracle/psft/pt/tools/setup/pscbl_mf.mak : Convert all files for Unicode ....
    Conversion Summary for Source Codes in  :
         Source: /opt/oracle/psft/pt/tools/src/cbl/
         Target: /opt/oracle/psft/pt/tools/src/cblunicode/
          Number of Copy Libraries Read: 71
                         Modified:       71
                     Not Modified:       0
          Number of Programs Read:       44
                         Modified:       44
                     Not Modified:       0
    /opt/oracle/psft/pt/tools/setup/pscbl_mf.mak : All COBOL files were converted for Unicode successfully
    /opt/oracle/psft/pt/tools/setup/pscbl_mf.mak : Compiling PTPCBLAE.cbl ...
    /opt/oracle/psft/pt/tools/setup/pscbl_mf.mak : Compiling PTPCURND.cbl ...
    /opt/oracle/psft/pt/tools/setup/pscbl_mf.mak : Compiling PTPDBTST.cbl ...
    <snipped>
    /opt/oracle/psft/pt/tools/setup/pscbl_mf.mak : Compiling PTPWLGEN.cbl ...
    /opt/oracle/psft/pt/tools/setup/pscbl_mf.mak : All COBOL programs have been successfully compiled.
    /opt/oracle/psft/pt/tools/setup/pscbl_mf.mak : The COBOL executables were copied to /opt/oracle/psft/pt/tools/cblbin
    rm: cannot remove `/opt/oracle/psft/pt/apptools/src/cblunicode/CECCRLP1.cbl': Permission denied
    rm: cannot remove `/opt/oracle/psft/pt/apptools/src/cblunicode/CECCRLUP.cbl': Permission deniedIt looks better, I think the last lines marked with "Permission denied" can be safely be ignored.
    Those files are owned by psadm3 with a read only for other users (sic). But more concern, I'm wondering why it looks into apptools (???) whereas I'm using psadm1 (tools only, COBPATH=/opt/oracle/psft/pt/tools/cblbin).
    Anyway, seems the *.gnt files required to run the COBOLs programs are now in bin :
    [psadm1@psovmfscmfp2 setup]$ ls /opt/oracle/psft/pt/tools/cblbin
    PTPCBLAE.gnt  PTPDTTST.gnt  PTPECOBL.gnt  PTPLOGMS.gnt  PTPRATES.gnt  PTPSQLGS.gnt  PTPTESTU.gnt  PTPTSCNT.gnt  PTPTSLOG.gnt  PTPTSTBL.gnt  PTPTSWHR.gnt
    PTPCURND.gnt  PTPDTWRK.gnt  PTPEFCNV.gnt  PTPMETAS.gnt  PTPRUNID.gnt  PTPSQLRT.gnt  PTPTESTV.gnt  PTPTSEDS.gnt  PTPTSREQ.gnt  PTPTSUPD.gnt  PTPUPPER.gnt
    PTPDBTST.gnt  PTPDYSQL.gnt  PTPERCUR.gnt  PTPNETRT.gnt  PTPSETAD.gnt  PTPSTRFN.gnt  PTPTFLDW.gnt  PTPTSEDT.gnt  PTPTSSET.gnt  PTPTSUSE.gnt  PTPUSTAT.gnt
    PTPDEC31.gnt  PTPECACH.gnt  PTPESLCT.gnt  PTPNTEST.gnt  PTPSHARE.gnt  PTPTEDIT.gnt  PTPTLREC.gnt  PTPTSFLD.gnt  PTPTSTAE.gnt  PTPTSWHE.gnt  PTPWLGEN.gnt
    [psadm1@psovmfscmfp2 setup]$Have a try to link COBOLs :
    [psadm1@psovmfscmfp2 setup]$ ./psrun.mak
    ./psrun.mak - linking PSRUN for oel-5-x86_64, Version 2.6.32-200.13.1.el5uek ...
    ./psrun.mak - Successfully created PSRUN in directory: /opt/oracle/psft/pt/tools/bin
    ./psrun.mak - linking PSRUNRMT for oel-5-x86_64, Version 2.6.32-200.13.1.el5uek ...
    ./psrun.mak - Successfully created PSRUNRMT in directory: /opt/oracle/psft/pt/tools/bin
    [psadm1@psovmfscmfp2 setup]$The err files are empty :
    -rw-r--r-- 1 psadm1 oracle     0 Sep 13 07:26 psrun.err
    -rw-r--r-- 1 psadm1 oracle     0 Sep 13 07:26 psrunrmt.errSo far, so good now. We are able to test again the sample COBOL... until next failure.
    Yes, unfortunately, it fails again. But good thing, the log is not empty now :
    PSRUN: error while loading shared libraries: libcobrts64.so: cannot open shared object file: No such file or directoryThat's probably coming from some missing libraries during the psprcs.cfg configuration. Let's use the same env. variables settings as for psadm1 when compiling COBOLs.
    [psadm2@psovmfscmfp2 appserv]$ export COBDIR=/opt/oracle/psft/pt/cobol/svrexp-51_wp4-64bit
    [psadm2@psovmfscmfp2 appserv]$ export LD_LIBRARY_PATH=$COBDIR/lib:$LD_LIBRARY_PATH
    [psadm2@psovmfscmfp2 appserv]$ export PATH=$COBDIR/bin:$PATH
    [psadm2@psovmfscmfp2 appserv]$ ./psadminReconfigure, restart prcs and re-test... SUCCESSFULLY !!!!!!!!!!!!!!!!!!!!!!!!!
    Log from PTPDBTST process shows :
    SUCCESSFUL DATABASE CONNECTION
    SUCCESSFUL DATABASE DISCONNECTWhat a pain !
    I did not go further, but we could expect the same issue within the Application COBOLs, since the cblbin directory is also empty out there.
    According to psprcs.env, there're two values for COBDIR and the one for the applications cobol is empty :
    [psadm2@psovmfscmfp2 PRCSDOM]$ more psprcsrv.env
    INFORMIXSERVER=192.168.1.149
    COBPATH=/opt/oracle/psft/pt/apptools/cblbin:/opt/oracle/psft/pt/tools/cblbin
    PATH=/opt/oracle/psft/pt/apptools/bin:/opt/oracle/psft/pt/apptools/bin/interfacedrivers::/opt/oracle/psft/pt/cobol/svrexp-51_wp4-64bit/bin:/opt/oracle/psft/pt/tools/appserv:/opt
    /oracle/psft/pt/tools/setup:/opt/oracle/psft/pt/tools/jre/bin:/opt/oracle/psft/pt/bea/tuxedo/bin:.:/opt/oracle/psft/pt/oracle-client/11.2.0.x/bin:/opt/oracle/psft/pt/oracle-clie
    nt/11.2.0.x/perl/bin:/usr/local/bin:/bin:/usr/bin:/opt/oracle/psft/pt/tools/bin:/opt/oracle/psft/pt/tools/bin/sqr/ORA/bin:/opt/oracle/psft/pt/tools/verity/linux/_ilnx21/bin:/hom
    e/psadm2/bin:.
    [psadm2@psovmfscmfp2 PRCSDOM]$ ls /opt/oracle/psft/pt/apptools/cblbin
    [psadm2@psovmfscmfp2 PRCSDOM]$ ls /opt/oracle/psft/pt/tools/cblbin
    PTPCBLAE.gnt  PTPDTTST.gnt  PTPECOBL.gnt  PTPLOGMS.gnt  PTPRATES.gnt  PTPSQLGS.gnt  PTPTESTU.gnt  PTPTSCNT.gnt  PTPTSLOG.gnt  PTPTSTBL.gnt  PTPTSWHR.gnt
    PTPCURND.gnt  PTPDTWRK.gnt  PTPEFCNV.gnt  PTPMETAS.gnt  PTPRUNID.gnt  PTPSQLRT.gnt  PTPTESTV.gnt  PTPTSEDS.gnt  PTPTSREQ.gnt  PTPTSUPD.gnt  PTPUPPER.gnt
    PTPDBTST.gnt  PTPDYSQL.gnt  PTPERCUR.gnt  PTPNETRT.gnt  PTPSETAD.gnt  PTPSTRFN.gnt  PTPTFLDW.gnt  PTPTSEDT.gnt  PTPTSSET.gnt  PTPTSUSE.gnt  PTPUSTAT.gnt
    PTPDEC31.gnt  PTPECACH.gnt  PTPESLCT.gnt  PTPNTEST.gnt  PTPSHARE.gnt  PTPTEDIT.gnt  PTPTLREC.gnt  PTPTSFLD.gnt  PTPTSTAE.gnt  PTPTSWHE.gnt  PTPWLGEN.gnt
    [psadm2@psovmfscmfp2 PRCSDOM]$The directory "/opt/oracle/psft/pt/apptools/cblbin" is owned by psadm3 and hosted on the database server (nfs mounted), so I assume we also need to set proper values for env variables, and compile the COBOLs before being able to use them.
    To resume what I did to make the COBOLs working on this PSOVM :
    1. As root, start LMF (this has to be done only once)
    cd /opt/oracle/psft/pt/cobol/microfocus
    ./mflmman
    2. As psadm1, set proper env. variable and compile (setting env variable has to be done each time you want to compile COBOLs)
    export COBDIR=/opt/oracle/psft/pt/cobol/svrexp-51_wp4-64bit
    export LD_LIBRARY_PATH=$COBDIR/lib:$LD_LIBRARY_PATH
    export PATH=$COBDIR/bin:$PATH
    cd $PS_HOME/setup
    ./pscbl.mak
    ./psrun.mak
    3. As psadm2, set proper env. variable and reconfigure psprcs.cfg, restart, restart (setting env variable has to be done each time you want to start the process scheduler, so probably better to append these in the .bash_profile)
    export COBDIR=/opt/oracle/psft/pt/cobol/svrexp-51_wp4-64bit
    export LD_LIBRARY_PATH=$COBDIR/lib:$LD_LIBRARY_PATH
    export PATH=$COBDIR/bin:$PATH
    cd $PS_HOME/appserv
    ./psadmin
    4. Same as step 2, but with user psadm3.
    HTH,
    Nicolas.
    PS: will it be the same issue on the HCM template delivered at the same time ? To be tested as well.
    PS2: and yes, I tested it twice before posting, result is same.
    Edited by: N Gasparotto on Sep 13, 2012 5:17 PM

    Fortunately, the COBOL issue does not exist on PSOVM HCM9.1 FP2 PT8.52.06 delivered in July 2012 (v3). COBOL are properly compiled (tools and app COBOLs), cblbin is not empty and they run successfully on the first shot.
    Nicolas.

  • How do I remove the template from my template based pages?

    Here is the deal... I'm using Dreamweaver 8 and every page in
    my site is based off a Dreamweaver template. My site has gotten so
    big that I am going to ditch the template now and use PHP includes
    for the header and footer sections of the site. In order to do this
    I need to delete the locked template code in all of my pages and
    replace it with the PHP includes. The problem is that it won't let
    me do this in Dreamweaver even when I'm in code view. I try to copy
    all of the light gray code (which is the locked template code) and
    delete it but it just won't let me. I know there must be a way to
    do this, but how?

    EXPORT the site without template markup using MODIFY |
    Templates > Export
    without markup.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Chris Jumonville" <[email protected]> wrote
    in message
    news:fpksbi$d7u$[email protected]..
    > Here is the deal... I'm using Dreamweaver 8 and every
    page in my site is
    > based
    > off a Dreamweaver template. My site has gotten so big
    that I am going to
    > ditch
    > the template now and use PHP includes for the header and
    footer sections
    > of the
    > site. In order to do this I need to delete the locked
    template code in
    > all of
    > my pages and replace it with the PHP includes. The
    problem is that it
    > won't
    > let me do this in Dreamweaver even when I'm in code
    view. I try to copy
    > all of
    > the light gray code (which is the locked template code)
    and delete it but
    > it
    > just won't let me. I know there must be a way to do
    this, but how?
    >

  • Question on the Template Designer

    Hi Experts.
    I am trying to create a document template using a web service.
    My need is to display a table with different lines of information but currently it does work.
    I created the web service with a component Business Transaction and for single data (like the object id), i am able to display it correctly. But when it cames to several lines, it doesn't work.
    My example is based on the partners where i try  to display all partners associated to the document.
    Here is the the xml integrated into word.
    Do you see something wrong with that ?
    [http://img34.imageshack.us/img34/4527/examplesdn.png]
    When i generate the template, it's empty for the partners but if i debug the web service i see the data for partners.
    [http://img130.imageshack.us/img130/3290/examplesdn2.png]
    Any idea on i can handle table in the template designer ? Anyone has some documentation to share ?
    Thanks for you help.
    Regards,
    Helder.

    Sorry, I forgot to close the thread but i've found it on the SAP Help
    [http://help.sap.com/saphelp_crm70/helpdata/EN/c3/769dd7c3ef4e7ea1467c05566c5385/frameset.htm]
    Anyways, i'm crediting you the points !
    By any chance do you know if it's possible to put conditions in the processing of the table ?
    For example something like do not display the partner function sold-to-party.
    Do i have to code it in the XML or is it possible to do that with the Web service tool or with the template designer ?
    Regards,
    Helder

  • How can I print an envelope from the template Cards and Invitations on my HP Laserjet P2015?

    I have been trying to print an envelope in Pages 09 on my mac from the template called Cards and Invitations. I select a template that is 5.75 x 8.75 inches. When I go to print this envelope with my HP Laserjet P2015 and correctly load it as the manual says, using tray 1, etc., the envelope does not print correctly. The preview shows the correct orientation, but it doesn't print correctly. I have seen that many others have requested information about printing in Pages. Has this situation been corrected yet? The #10 envelope template under Business forms in the template section, works fine. My printer supports envelopes of various sizes, so it must be something in the software for Pages that is the problem. Perhaps you can enlighten me on this problem. Thanks,
    judithfromaz

    Judith
    Perhaps you can enlighten us as to what "does not print correctly" actually means.
    Miss-spells your name? or what?
    How have you set up your Page set-up?
    It has to agree with how you are feeding the envelope in and what printer driver you are using.
    Peter

  • How can I use the templates in iPhoto to email my photos if I don't have a mobileMe account?

    I have upgraded to iLife11 and want to use the cool templates to email photos. I don't have a mobileme account. It doesn't appear that I can Use the templates. Am I doing something wrong?

    What do you mean by the AOL screen?  Is AOL your ISP?  If it is popping up to connect you to the internet that might be what is preventing you from composing an email. It also could be that AOL was set up as your default email client.  Do you use AOL as an ISP/Email client?
    In Mac OS X Lion (I can't vouch for any other version of Mac OS) to change your default mail viewer/client open up apple's mail app. Go to file->settings Under the general tab it's the top choice if it is set to AOL, you might want to switch it so you can get it to come up with the email you actually use.  Also if you do use AOL, they should have a section in their help about setting up "pop3" email, or how to use AOL mail in outlook.  Now the steps might not be the same as far as what menu choices you have to make, but what you're gonna get out of that section is incomming/out going server's and anything else like ports and etc.  Apple's mail app needs all that same information.

Maybe you are looking for