Programmatically Built selectOneChoice

Hiiii,
I have a selectOneChoice element which is filled up programmatically with values not based on View Objects, I am trying to get the selected value also programmatically, but I am facing a problem. Can anyone help?
Message was edited by:
RJundi
Message was edited by:
RJundi

I think statlist stands for static list, which contains all the values visible in the selectonechoice, defined in a bean.
I made a small example, this really should work:
1. I created a bean which stores:
- the static values
- the selected/submitted item
import java.util.ArrayList;
import java.util.List;
public class MyBean {
private String myAttribute;
private List myList;
public MyBean() {
myList = new ArrayList();
this.myList.add("EJB");
this.myList.add("ADF BC");
this.myList.add("TOPLINK");
public void setMyAttribute(String myAttribute) {
System.out.println("setMyAttribute: " + myAttribute);
this.myAttribute = myAttribute;
public String getMyAttribute() {
System.out.println("getMyAttribute");
return myAttribute;
public void setMyList(List myList) {
this.myList = myList;
public List getMyList() {
return myList;
2. On the jspx page I iterate over the list and set the current string as label and as value:
<af:selectOneChoice value="#{myBean.myAttribute}"
label="Technologies" autoSubmit="true">
<af:forEach items="#{myBean.myList}" var="li">
<af:selectItem label="#{li}" value="#{li}"/>
</af:forEach>
</af:selectOneChoice>
autoSubmit is set to true and the value of the submitted choice is stored in the myAttribute variable from the myBean bean.
I hope you succeed implementing this example, if not, feel free to ask.
Regards,
Koen
ps: what's the ubb code to show colors in my java,sql, .. example code?

Similar Messages

  • Example project for temporal reasoning

    After posting our draft Architectural Standards and Guidelines, we got a lot of good feedback and were pointed at documents to aid us that we were unaware existed. We are incorporating those internally.
    In the same spirit, we just posted a temporal reasoning demo project. It can be found in the exchange. http://ruleexchange.squarespace.com/ It is under the folder "Sample Architecture Documentation" in the zip file "TemporalExampleOPA10.3.zip"
    Temporal reasoning is one of the key benefits our agency wants from OPA. However, we find that potential rule modelers have a mental block on using temporal reasoning. We are not sure why. As architects, we love it. One of our first example projects a year ago tried to show how we might use temporal reasoning to solve the following challenges:
    •     How might we change rules over time?
    •     How might we change data over time? (a.k.a. change in circumstance)
    •     How might we go backwards in time to see the historical impact of rules?
    •     How might we go forwards in time to see if a rule still works in 5 years? (Yes, a rule that works today might break 5 years from now if it includes temporal reasoning. Ouch.)
    •     How might we correct rules that make it all the way to production but should not have?
    •     How can we take incorrect rate rules into account while moving forward and correcting rates? We want to easily rectify the negative impacts of an incorrect rate rule should one occur in the easiest way possible.
    I uploaded the temporal reasoning example project from our library of projects. It provides possible answers to the questions in both Excel and Word.
    Since there is more than one way to solve the problems above, feel free to call out why other methods may work better than the methods shown in the example.
    Don't let all the commentary in the rules documents turn you off. There are only a few rules, but a lot of commentary on the rules. This project was in TFS. Hopefully, I successfully removed all the TFS version control junk prior to uploading.

    Ire,
    The 6009 has an event counter which is not capable of doing PWM via pulse train generation. The DIO lines are also not capable. You can do this using the two counters on the E series device but in order to change the output pulse train generation you will need to stop the counter, change the pulse spec and then re-start the task again. I have done a simple example in which I use two counters for control of the lamp power and a disturbance.
    The missin VI's are purely for schedulling tasks. Just look at the while loop and how I programmatically built the tasks.
    Hope this helps.
    Kind Regards
    Steven Bird
    Applications Engineer
    National Instruments
    Attachments:
    PWMControl.vi ‏207 KB

  • Darren's Weekly Nugget 02/15/2010

    Did you know there is a programmatic interface to Application Builder?  In LabVIEW 2009 and later, you can programmatically build EXEs, DLLs, and Source Distributions with the VIs in the following location:
    [LabVIEW]\vi.lib\AppBuilder\AB_API
    These VIs contain a subset of the functionality provided in the App Builder UI for creating, editing, and building these three build specification types.  Note that there is no shipping documentation for these VIs, nor are there any shipping examples.  The example attached below demonstrates some basic functionality:
    Unzip the contents of the ZIP file below to a single folder.
    Open API_EXE.vi.
    Run the VI.  It will open a LabVIEW Project, create an EXE build specification, build the EXE, and save the project.
    Right-click the newly-created EXE build specification and choose 'Run' to run the EXE you just programmatically built.
    Note that the App Builder API shipped with LabVIEW 8.6 as well, but only with the DLL and Source Dist build types.  EXEs were added to the App Builder API in LabVIEW 2009.
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman
    Attachments:
    App Builder API Example.zip ‏17 KB

    I was actually talking to a collegue about this kind of thing this morning so very good timing Darren!
    One of the things I was interested in doing was retrieving a build's version number programatically (for a number of reasons). One such use case is shown in the snippet below. My question, as shown in the snippet, is "Is there an easy way to do this using the AB API?"
    (I know I have used the EXE for the installer, but I couldn't see any installer VIs in the folder you suggested, and this image is more as an illustration than an actual use-case)
    This would be really great as we could then tie un a whole bunch of things such as SVN manipulations (update X, commit Y), set installer version to match EXEs, before sending build to target destination (e.g. ftp server, etc).

  • Is there a way to use the built-in Datalogging and programmatically log the front panel while the vi is running?

    I would like to use the built-in Data Logging feature. There is the "Log at Completion" option, but is there a way to programmatically make a new log record while running? I looked around in VI server and couldn't find any methods that would do that. Currently, I am grabbing all of the front panel control references using VI Server and if there are any changes, the changed values are written to a log file along with a date/time stamp. I'm mostly dealing with buttons, which simply change from 0 to 1 or 1 to 0, so it's not too hard to visualize what was pressed. It works okay for reconstructing what happened, but it would be much nicer to use the built-in fe
    ature because you can "replay" directly onto the front panel and actually see what the changes were. However, without being able to programmatically make a new log, it won't work for me.

    Jake,
    There are several options here.
    I would suggest using your own code for datalogging. The datalogging you are referring to is primarily for debug, and one shot datalogs of front panel indicators (and controls?), not including graphs, etc.
    If you go to the file functions, you will see a menu for datalogging. These functions will allow you to save your data, as you need it, simply, and in a compact format.
    I recommend opening the datalog file, doing all your file operations, and closing the file before the program is complete. There are several examples of this in the examples database.
    Good luck

  • How to programmatically populate af:selectonechoice

    hi all.
    I have one selectonechoice which need to populate data programmatically by using view object binding.
    should i use list, attributevalues for my binding ?
    how to use them back in my jsp?
    eg. i add new row as in the following.
    viewObject.insertRow(row);
    then how to use it back in my jsp for selectonechice?
    With Regards,
    wp

    Hi frank,
    thanks for ur reply.
    actually i know how to bind with managed bean attribute.
    but i want to use view object instead of it.
    i know how to add view object programmatic way.
    but the problem is that i don't know how to use view object binding inside the jsp eg. actually the following code is not working. bindings.applicantId is list binding in my page definition.
    <af:selectOneChoice>
    <af:forEach items="#{bindings.applicantId.iteratorBinding.allRowsInRange}" var="item" >
    <f:selectItem itemValue="#{item.applicantId}" itemLabel="#{item.applicantId}" ></f:selectItem>
    </af:forEach>
    </af:selectOneChoice>

  • How can I display and change built-in symbols of a tree control programmatically?

    I want to set the built-in symbols of a tree control during runtime.
    I only found an example to assign custom pictures but not how to select one of the 40 built-in symbol.
    Many Thanks 
    Solved!
    Go to Solution.

    The ActiveItem.SymbolIndex will allow you to select the symbol for the active item. You can use the ListBox Symbol Ring Constant (Dialog and User Interface palette) to select a symbol (or you can just enter the number directly if you know what it is).
    Message Edited by smercurio_fc on 07-10-2008 09:36 AM
    Attachments:
    Example_VI_BD6.png ‏2 KB

  • ADF Faces & BC: Programmatic selection of row within a selectonechoice

    OK i did some printouts and it looks like its occuring on this line:
    diseaseDescriptionLOVVo.findByKey(new Key(keyValues), -1);
    Is there a better way to do this selection?

    findByKey only works when you are passing the exact primary Key of the row, you can also try using findByAltKey and try to specify an alternate key at the VO level.
    Juan C.

  • Issue when SelectOneChoice is used with Domain data type in JDev 11.1.2.0.0

    Hi,
    I am facing one issue while working with SelectOneChoice along with Custom Domain data type. Sample app to simulate the issue is available at http://www.filejumbo.com/Download/6FDF6ECF2922BD24
    Issue Details.
    Base view object’s attribute is of type CustomString, for which another static VO’s attribute is attached as LOV. LOV attribute is of type String. Because of this data type mismatch between LOV VO attribute and Base VO attribute, while working in screen, initially we were facing Class cast exception.
    Cannot convert <<LOV Attr. Val.>> of type class java.lang.String to class model.domain.common.CustomString This is not only for this type of SelectOneChoice but also for InputText field whose underlying VO attribute is of type CustomString (i.e. any Custom Domain type)
    On raising this in Jdeveloper forum, I came to know that adding a default oracle converter against the UI Component will take care of converting to respective data type. After added the converter for InputText and SelectOneChoice components, this issue got resolved. This was our lesson while working in Jdeveloper version 11.1.1.3.0. Converter we used,
    <f:converter converterId="oracle.genericDomain"/> When we try the same scenario in Jdev Version 11.1.1.4.0, without having the oracle converter itself, SelectOneChoice started working fine!! (i.e. it is able to set the base attribute with LOV attribute’s value but with proper base attribute’s domain data type). Anyhow, converter is required for InputText.
    When we try the same scenario in Jdeveloper new version 11.1.2.0.0, it started giving class cast exception when we don’t have oracle converter for SelectOneChoice. But by adding it, though it didn’t give such class cast exception message, though a selection is made in SelectOneChoice, VO attribute has not been updated with the new value. Instead it is updated with null value (Checked the setter method of view row impl by having break point) . Because of this, after a selection is made, when we try to read the attribute value from VO on button click, VO attribute always returns null.
    We have also tried our own converters but there is no change in the behavior.
    The above misbehavior can be tested either by having SOP programmatically or by refreshing the SelectOneChoice by giving its id as Partial trigger to itself with autosubmit set to true, so that the selected value will be reset to null irrespective of the selection made.
    For convenience, Issue details with Sample application is shared. Shared link : http://www.filejumbo.com/Download/6FDF6ECF2922BD24
    Shared folder contains
    1. Sample App developed on Jdev 11.1.1.4.0 to ensure it didn’t give this error.
    2. Sample App developed on Jdev 11.1.2.0.0 to simulate this error.
    3. Error details in a document.
    Can anybody have a look at this and tell me why this misbehavior and is it a bug? If so, any workaround available to continue the development?
    Thanks in Advance.
    Raghu
    Edited by: Raguraman on Sep 10, 2011 10:31 AM

    Sorry for the late reply John and Frank. Ya i did. Thank you.
    One more detail:
    I tested the behavior in Jdeveloper 11.1.2.0.0. The recent surprise is Select One Choice is behaving perfectly when it used in Grid layout and fail to work when it is form layout. I am getting surprised why behavior of component varies based on the way it refers the binding.
    for form layout,
    value=#{bindings.
    for grid layout,
    value=#{row.bindings.
    The bug details (#/title) are Bug 12968871 - RUNTIME CONVERSION FAILURE WHEN USING CUSTOM DOMAIN OBJECT VALIDATION IN EO
    Edited by: Raguraman on Sep 12, 2011 8:23 PM
    Edited by: Raguraman on Sep 12, 2011 8:31 PM

  • Need to Programmatically Set IRR Filter on Date Field Due to APEX 4.1 Bug

    There may be another work around but, here is the problem that we are encountering...
    We have a huge table that is partitioned on a DATE field and an IRR that reports on this table. By default, we want to show the most recent 3 days of data. There is a built-in filter for "is in the last 3 Days." Sounds Great! Unfortunately APEX generates the code using TIMESTAMP rather than DATE functions. As a result of this, the query does not perform partition pruning and, as a consequence, it is doing a full table scan which takes forever. Note the use of the "LOCALTIMESTAMP" function in the query that is generated by APEX for this filter:
    SELECT   "BUSINESS_DATE",
             COUNT ( * ) OVER () AS apxws_row_cnt
      FROM   (SELECT   *
                FROM   (SELECT   *
                          FROM   position_delta_his p) r
               WHERE   ("BUSINESS_DATE" BETWEEN *LOCALTIMESTAMP*
                                                - NUMTOYMINTERVAL (:APXWS_EXPR_1,
                                                                   'year')
                                            AND  *LOCALTIMESTAMP*)) r
    WHERE   ROWNUM <= TO_NUMBER (:APXWS_MAX_ROW_CNT)If, instead, APEX used the SYSDATE function, as the underlying column is a DATE, this returns instantly, after partition pruning.
    SELECT   "BUSINESS_DATE",
             COUNT ( * ) OVER () AS apxws_row_cnt
      FROM   (SELECT   *
                FROM   (SELECT   *
                          FROM   position_delta_his p) r
               WHERE   ("BUSINESS_DATE" BETWEEN *SYSDATE*
                                                - NUMTOYMINTERVAL (:APXWS_EXPR_1,
                                                                   'year')
                                            AND  *SYSDATE*)) r
    WHERE   ROWNUM <= TO_NUMBER (:APXWS_MAX_ROW_CNT)
    The bug is that APEX should base the underlying function on the data type of the filtered column.
    As a work around, if we create a filter where BUSINESS_DATE >= '4/13/2012' (three business days ago), again, this returns instantaneously. The issue is that we can only set this filter by using the APEX GUI. We need to be able to:
    1. Determine the date for 3 business days ago
    2. Set this as the default filter.
    I tried creating a BEFORE HEADER PL/SQL page process but, it does not appear to be having any effect. Here is that code:
    DECLARE
        ldt_Filter DATE;
        CURSOR lcsr_GetMaxBusinessDate IS
            SELECT Max(BUSINESS_DATE)
            FROM POSITION_DELTA_HIS;
        DAYS_AGO CONSTANT NUMBER := 3;       
    BEGIN
        APEX_UTIL.IR_CLEAR( :APP_PAGE_ID );
        OPEN lcsr_GetMaxBusinessDate;
        FETCH lcsr_GetMaxBusinessDate INTO ldt_Filter;
        CLOSE lcsr_GetMaxBusinessDate;
        ldt_Filter := ( Trunc( ldt_Filter ) - 3 );
        APEX_UTIL.IR_FILTER( p_page_id       => :APP_PAGE_ID,
                             p_report_column => 'BUSINESS_DATE',
                             p_operator_abbr =>'GTE',
                             p_filter_value  => TO_CHAR( ldt_Filter, 'YYYYMMDDHH24MISS' ) );
    END;Can anyone tell me:
    1. How to set this filter programmatically (also needs to be displayed on the page so the user can see the current filter...as if it were created via the GUI) ***OR***
    2. Some other work around for this issue..
    Thanks,
    -Joe

    Actually, now that I look further, I don't think it is going to work to simply set the filter programmatically. The end user can still click the column heading where they are only given the choice of the LOCALTIMESTAMP based filters. If they pick one, the page is going to be out to lunch for them.
    We really need some other fix. We really need a way to actually address the underlying issue.
    -Joe

  • How do I open and close vis programmatically?

    I want to open and close a vi with a switch control. What is the best way to do this?

    Probably the easiest way is to utilize vi server operations. Vi server will allow you to open a vi and close a vi programmatically. This is a great example that is built into LV. THis should give you some ideas. Hope this helps.
    BJD1613
    Lead Test Tools Development Engineer
    Philips Respironics
    Certified LV Architect / Instructor
    Attachments:
    VI_Server_-_Changing_Another_VI's_Properties.llb ‏625 KB

  • Programmatically calling an FPGA vi to view over the FP vi

    Good morning. I have become stumped on this question for a bit so I thought I would post the question here.
    Q: what is the best way to programmatically call a VI running on the FPGA to the FP main VI running on a touchscreen computer, where when the FPGA VI is called it goes to the top level of the screen without interrupting the VI output of the main VI?
    I have researched using a queued message handler but couldn't get it to function properly. I have also researched dynamically calling a VI and asynchronously calling a VI but am unsure how to implement the correct one for what I are trying to accomplish.
    What I am trying to overcome here has to a lot with tab control on the front panel VI as I have discovered that apparently while a tab is open to the top of the FP the other tabs do not I/O any values to the cRIO. This is good and bad for our application. The good part is that it allows a 'locking out' of other processes while the visible tab is on top. But the bad part is that if I open another tab then what I have running on the previous tab stops. I need to be able to incorporate both of these aspects in our program.
    This example shows how I am using tabs in our program. (ATTACHMENT 1)
    So in the example above, when page 5 is opened the graph indicator starts which is what I need, and when it closes it stops which is correct to.
    But the issue is that when page 5 is open it also stops what’s happening on the other four tabs in the same tab pane which is NOT what I need to happen.
    What I have done so far to correct this is - removing the page I need to open on top and made it into its own VI.
    What this separate VI does is accept input from the FPGA resources including J1939 engine information through an NI9862 card and voltage / analog signals from sensors via an NI9207 card and reads the information on virtual indicators and gauges as seen here. So it makes sense to me to put the VI on the FPGA. (JPEG)
    The information on this VI only needs to be seen periodically via the FP by the operator as it is called via a Boolean control (button) on the FP, but it still needs to run on the FPGA when not seen in order to pass information to the RT control for alarm processing. So in that, in the case of an alarm it causes something else to happen to the unit being controlled (ie. Execute an engine shutdown over the J1939 bus)
    What this VI cannot do is interrupt the operations that are being executed by the main VI on the FP if called (to do a parameter check) but put the main VI into a ‘locked out’ mode if there is an alarm.
    So then the question becomes how to call this VI from the Front Panel VI?
    Well, I have tried to make a Queued Message Handler work which it did partially (I was able to open the VI and run it but I couldn’t work out how to close it) and unfortunately I have sub-sequentially erased that bit of programming code. Though I don’t think it would have worked anyway as I was trying to call it as a sub-vi in the main VI that was located on the computer and not on the FPGA target.
    Then I tried dynamically calling the VI and found it did the same thing as if the VI were still connected to the tab control by stopping the I/O of the main VI while it was called to the front. I erased that bit of code work too.
    So then I started looking at asynchronously calling the VI as I saw that it would allow both VI’s to run at the same time. Here I seem to have found the right answer to my own question, though, I believe that the example program I am looking at has a memory leak or is not closing out the called VI properly because within a few minutes runtime both VI’s slow to a stop. This is not good. I understand what the example code is trying to show but I don’t think it is programmatically correct and I have not been able to fix it. Here is the example code I was looking at. (ZIP FILE)
    So while I believe I am on the right path I am not sure how to impliment it with the FPGA.
    Solved!
    Go to Solution.
    Attachments:
    Ultimate Tab Control.vi ‏32 KB
    ENGINEVI.jpg ‏384 KB
    example.zip ‏26 KB

    You are correct, that is how the program is built. Each page of the tab has it's own set parameters to interact with the FPGA differently. (ie electromechanical controlling a hydraulic pump so each page has a distinct set of limitations on what the pump control does) this effectively creates a set of 'modes' for different parameter pump control to the same individual pump.
    Here is a screen of the main program. The buttons at the bottom determine which mode the pump is in (effectively changes the tab control to a different tab)
    So yes, the engine page has been removed from the tab control and made into it's own vi that I want to put on the FPGA target (as its only input and no interaction) but I want to be able to call the engine vi from the main program and not interrupt the main program if I am controlling the pump but just want to see what the engine and pressures are doing.
    I added a screen of some of the code tied to the picture above.
    Attachments:
    virun.jpg ‏226 KB
    Untitled2.png ‏148 KB

  • How to add event handler for outlook build in control through programmatically

    Hi,<o:p></o:p>
         There is requirement in my plug in where i need to intercept outlook native attach file method.If user attach more than specified
    exchange limit , i need to perform some operatoin. I found  that there is way to add "Onaction" method for built in control  like this " <command idMso="AttachFile" onAction="CatchExchangeWarning"/> ".
    I have to do the same thing via programmatically .I need to attach this event handler through programmatically since my add is not developed by xml file.
    <o:p>Thanks</o:p>

    Hello,
    It looks like you are interested in the
    BeforeAttachmentAdd event of Outlook items. It is fired before an attachment is added to an instance of the parent object. So, you can analyze the attachment object passed as a parameter and set then Cancel argument - set
    it to true to cancel the operation; otherwise, set to false to allow the Attachment to
    be added.
    Also the Outlook object model provides the
    AttachmentAdd event for Outlook items. It is fired when an attachment has been added to an instance of the parent object. You can also analyze the attachment object passed as a parameter to the event handler. You will not be able to
    cancel the action in that case.

  • SelectOneChoice problem with SessionFactory.detach

    Hello,
    I have this problem , i have mapped two table (A, B) with one to one mapping eg.
    The descriptor A maps the fields like
    Table A,
    id_a ----- direct mapping
    name --- direct mapping
    tableB ...one to one mapping
    The descriptor B maps the fields like
    Table B
    id_b -- direct mapping
    name direct mapping
    tableACollection --- one to many mapping
    then I expose the metods in a SessionBean
    FindAllTableA
    FindAllTableB
    In the findAllTableA i use SessionFactory.detach becouse i have to bild a edit form for Table A
    The problem is, i have built a page form with ADF for Table A with input field for id_a and name, and select one choice for tableB mapping, when i run the page the selectonechoice field doesn't display the value (The list is ok .. it ' is based on FindAllTableB). If i dont use SessionFactory.detach the selectonechoice works fine...but i can't update the table.
    Anyone can Help me?
    Thank you.

    Hi,
    try without the leading slash
    skin/images/detach.png
    Frank

  • How to programmatically handle valueChangeEvent.

    Hi ,
    I am using jdeveloper version 11.1.1.6.0.
    I have an select one choice which is loaded with the list of values from the bean as follows:
                      <af:selectOneChoice
                                    value="#{bindings.AfCmnLovMasterListVO.inputValue}"                             
                                    autoSubmit="true"
                                    contentStyle="height: 20px;width:130px;"
                                    required="#{bindings.AfCmnLovMasterListVO.hints.mandatory}"
                                    shortDesc="#{bindings.AfCmnLovMasterListVO.hints.tooltip}"
                                    simple="true" id="socMaterial"
                                    valueChangeListener="#{AfOrdCtrBulkQuoteReqBean.custMaterialMaterialValueChangeListener}"
                                          binding="#{AfOrdCtrBulkQuoteReqBean.socMaterial}">               
                    <f:selectItems value="#{bindings.AfCmnLovMasterListVO.items}"
                                     id="si3"/>
                    </af:selectOneChoice>I want to programatically create value change event and change the value of the select one choice.
    Changing of select one choice is done by following code
                                RichTable objMaterialTable = (RichTable) JSFUtils.findComponentInRoot("socMaterial");
                                objMaterialTable.setValue(new String("CaF2"));   //Not working with this
                                objMaterialTable.setValue(new Integer(5));   //Working with this
    objMaterialTable.setValue(new String("CaF2")); why this doesnt work.
    and also objMaterialTable.setValue(new Integer(5)); this works but does not fire valueChangeListener
    so how i can set the value in before phase method and also fire the valueChangeListener

    Hi Sudipto Desmukh,
    I am not able to programmatically fire the value change Event in the before Phase method.Also there is no any exception in the console also.
    I tried following ways
                                RichSelectOneChoice objMaterialSoc= (RichSelectOneChoice) JSFUtils.findComponentInRoot("socMaterial");                        
                                //ValueChangeEvent vce = new ValueChangeEvent(objMaterialSoc,"Al2Si","BaTiO3");
                                ValueChangeEvent vces = new ValueChangeEvent(objMaterialSoc,new Integer(0),new Integer(5));
                                  vce.queue();
                              //vces.queue();
             RichSelectOneChoice objMaterialSoc= (RichSelectOneChoice) JSFUtils.findComponentInRoot("socMaterial");                         
              //ValueChangeEvent vce = new ValueChangeEvent(objMaterialSoc,"Al2Si","BaTiO3");
              ValueChangeEvent vces = new ValueChangeEvent(objMaterialSoc,new Integer(0),new Integer(5));
               objMaterialSoc.queueEvent(vces);
              But its not calling the valueChangeListener of that component.

  • Standalone 5.6 example of running a report programmatically required

    I'm a newbie to XMLP and my first impressions of it is that it is excellent. I have been working through the user guide and Mark Rittmans blog where he discusses some examples etc. I am quite comfortable with creating the templates and writing the SQL etc for the reports and running them through the XMLP Enterprise interface - so far everything works a treat.
    However what I would really like to explore is how you can run a report programmatically, so far I have searched the forum and documentation and haven't found example code of how you write the software to set the RTF template and then process it against the data and deliver the output file to either the file system or email etc.
    Could someone please pass on an example to get me started, like anything new once I have a basic example to enable me to understand the principles I will be away.

    Thanks Klaus, I have managed to get a few examples built and it is working fine. One suggestion I would like to make though for the next version of the user guide is to list the jar files that are required to be added to your project in order to run XMLP classes - I ended up importing all of them from my Tomcat webapps folder where I had dropped in the xmlpserver.war file. I don't think I needed all of them but it was quicker than adding each one and then working out after the next "make" in what jar file the not found classes where in ;-)
    I am new to all of this and assume that is what I had to do in order for my java to compile?

Maybe you are looking for

  • Screen miniatures appear instead of normal menues.

    I run FF 18 on a laptop with a 2nd screen connected. As of today when I click on a menu button I don't get the normal menu. Instead I get a miniature picture of my webscreen. I can manouver the cursor and whith it in the right position I get the norm

  • Performances with Crystal Reports (based on BW queries)

    Hi, I've created some Crystal reports based on BW queries, and I'm really interested in performances purposes. The BW queries I created are quick (with neither free characteristics nor hierarchies), and when I use them in a Crystal report, I identify

  • I am unable to import my favorites folder from an old harddrive onto the new harddrive

    I recently changed hard drives moving to a larger hard drive. Before doing so, I exported my favorites from Firefox and they were saved on a folder called FAVORITES on a portable hard drive. Now when I try to import these favorites I am unable to imp

  • IWDRoadMap - length of connecting lines

    Hello, I use Web Dynpro for Java and want to change the length of connecting lines between the steps (IWDRoadMapStep) in a RoadMap (IWDRoadMap). Unfortunately I have no idea how to do this?!? I would be very glad if someone could give me a hint. Best

  • My sound or camera are not working on my Cinema Display since upgrade to Yosemite

    My sound or camera are not working on my Cinema display since Yosemite clean upgrade. Running Mac Mini running 1010.1 Yosemite Late 2009 model with Intel 2.53Ghz Core 2 Duo with 4 Gig of memory Apple LED Cinema Display 27 Inch with NVIDIA GeForce 940