Setting bind references at run-time

Hi,
I am working on a dynamic form,which will instantiate questions based on some instructions specified in XML when the form loads up, much like John Brinkman's example
http://blogs.adobe.com/formfeed/2009/03/a_form_to_design_a_form.html
At design time, it is not know which node in the data dom the field should be bound to, so I would like to be able to simulate a match="dataRef" ref="$.myNode" statement at run-time.
However, my recollection is that the binding reference can't be changed at run time. Does anyone know if it can be done, and how to do it?
John

Hi,
Thanks for the quick response. Your suggestion works almost
perfectly. I can now change the flv to any flv I want, and it plays
the video I want. However, even though I am specifying
autoPlay=false, it still plays automatically when the page loads.
Here is my actionscript:
flvPlayback.playPauseButton = myplayPause;
flvPlayback.seekBar = mySeek;
flvPlayback.muteButton = myMute;
flvPlayback.contentPath = newPath;
flvPlayback.autoPlay = autoStart;
and here is my html:
<object
classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="
http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
width="326" height="266" id="xxx" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="pokflvplayer.swf">
<param name="FlashVars"
value="autoStart=false&newPath=holiday_message_2007.flv" />
<param name="quality" value="high" />
<param name="bgcolor" value="#666666" />
<embed src="pokflvplayer.swf"
FlashVars="newPath=holiday_message_2007.flv&autoStart=false"
quality="high" bgcolor="#666666" width="326" height="266"
name="medical_imaging" align="middle"
allowScriptAccess="sameDomain" type="application/x-shockwave-flash"
pluginspage="
http://www.macromedia.com/go/getflashplayer">
</embed>
</object>
Any idea why it will not recognize the autoStart paramenter?
By the way, I had to change your myFLV.autoStart - autoS to
flvPlayback.autoPlay=autoStart. The actual name of the parmameter
is autoPlay, not autoStart. My guess is that was just a typo on
your part. Thanks again for your help.
Bob

Similar Messages

  • How can i set dynamic properties in HTTP Binding adapter  at run time

    Hi,
    I am trying to put dynamic properties in HTTP Binding adapter at run time. I am able to Set endpointURI, UserName and Password dynamically using below code.
    Is it possible to set Version , Retry Count, timeout, authentication type at run time.
    below is code for setting endpointURI, UserName and Password dynamically.
    <invoke name="HttpInvoke" bpelx:invokeAsDetail="no"
    partnerLink="SACS_Http_Adapter"
    portType="ns1:Request_Response_ptt" operation="Request-Response"
    inputVariable="HttpInvoke_Request-Response_InputVariable"
    outputVariable="HttpInvoke_Request-Response_OutputVariable">
    <bpelx:toProperties>
    <bpelx:toProperty name="endpointURI" variable="inputVariable"
    part="payload" query="@endpoint"/>
    <bpelx:toProperty name="javax.xml.ws.security.auth.username"
    variable="inputVariable" part="payload"
    query="@username"/>
    <bpelx:toProperty name="javax.xml.ws.security.auth.password"
    variable="inputVariable" part="payload"
    query="@password"/>
    </bpelx:toProperties>
    </invoke>
    Thanks,
    Siva
    Edited by: 929920 on Apr 25, 2012 7:45 AM

    Hi Bastain,
    Assuming your using the Batch Process Model, you can programatically insert a new SN into the correct parameter in the postUUT callback sequence.
    This sequence has access to the UUT.SerialNumber parameter so you can use a File Global to pass the SN from the main sequence to the postUUT callback. 
    Here is an example of what I mean. 
    Adam
    Attachments:
    set SN within Main Sequence.seq ‏80 KB

  • How to get the SubVI(the virtual path is under .exe) reference in Run Time System

    Hi everyone
    The problem is about how to get the SubVI reference in Run Time System, when the SubVI is in .exe after building.
    More details:
    The top vi calls the SubVI by dynamic way, so the SubVI is included always, and the source object is the application.exe.
    After the setup above, the SubVI will be in the application.exe. For example, SubVI's path is ...\application.exe\SubVI.vi
    So, how to get SubVI's reference in Run Time System?
     I can not get it when using "open VI reference" with the path ...\application.exe\SubVI.vi in Run Time System.
    Actually, I can create a file to include the SubVI, instead of build the SubVI in application.exe , then I can get the reference convenintly. But it is not my favourate way.
    Thanks
    chenyin
    Solved!
    Go to Solution.

    Here is the problem. Call a dynamic subVI means users could change it but it's also very attractive.
    The dynamic call must be used within a user mastered but some parade can avoid problems.
    It depends of why you use dynamic calls... => 2 main ways:
    - Dynamic call are use to maintain an evolutive  part of the code without acting on the executable => one unique VI distribution maintained by the administrator/developer
    - Dynamic call are use to provide a collection of 'external' feature which could be enriched by the administrator/developer. For example, you provide to your customer a set of custom signal filters selectable in the executable.
    In the 2 cases, you are only able to assess user skills to know if there is a risk of damage if there is modification.
    So, to stay alone master a parade could be to provide dynamic VI without diagram but with the problem of maintenance because no modification in situ and more attention to manage distribution.
    An other way is to hide the real distribution to user => call dynamic VI but unnamed it as *.vi but other (a repulsive name as OS system name ) or simply with no extension in order to not  attract user... but it's questionable...
    Another method more difficult but safer is to create a test of consistency ahead of your routine (version, user, modification date, ...)

  • Bind variables at run time

    We have a view object with LOV, this LOV has a bind variable. How can we set this bind variable at run time through this view object?

    Hi bara,
    1. Wat you ve to do is create a transient attribute in the child entity.
    2. Create an association between master and child.
    3. The value should be a groovy expression such that it refers the field in master table which needs to be passed to the LOV.
    4. Add the transient attribute in ViewObject also.
    4. Use ViewAccessors and map the transient attribute to the bind variable in the List View Object
    Regds,
    Srinidhi

  • Can you set an image at run time?  Does it really work?

    I have read that others have been able to set an image at run time, but I cannot seem to get it to work (the image I set does not load).
    What I do is have a page, call it page2, that has two image components on it. In the constructor for page2 I do this:
    // Additional user provided initialization code
    image1.setValue("bike1.JPG");
    image2.setValue("bike2.JPG");
    The jpg files are in the build directory:
    C:\Documents and Settings\Darrin\My Documents\Creator\Projects\ImageTest\build\images
    The odd thing is that for the first image component(image1), I set a default jpg file (nogo.JPG that is in the same directory as the other two), and that does load.
    In fact, when I I check the value of image1 in afterRenderResponse by calling image1.getValue() it still has the default image (nogo.JPG) instead of the one I set it to (bike1.JPG) in the constructor by calling image1.setValue("bike1.JPG");
    So, either the image1.setValue() has no effect, or something is overwriting it.
    What is the trick to getting an image to load at run time like this?
    THANKS!

    Well after several more hours of banging myh ead against the wall, I still cannot get this to work.<br><br>
    I read in the constructor comments that whatever is in the jsp file will override the backing bean's constructor, so that might be part of the problem, but others I thought got this to work using a similar method.<br><br>
    Here is what I tried last which still does not work, but mimics what others have said did work for them:<br><br>
    //See if the default jpg file can even be copied over
    <br> image3.setHeight(image1.getHeight());
    <br> image3.setUrl(image1.getUrl());
    <br> image3.setValue(image1.getValue());
    <br>
    <br> Integer aiw = new Integer("1");
    <br> float aar = 0;
    <br> float ar = 0;
    <br>
    <br> ImageIcon ii = new ImageIcon("C:/Documents and Settings/Darrin/My Documents/Creator/Projects/ImageTest/build/images/bike1.JPG");
    <br> ar = (float)ii.getIconHeight()/(float)ii.getIconWidth();
    <br> aiw = new Integer(ii.getIconHeight());
    <br> aar = ar*aiw.intValue();
    <br> image1.setHeight(""+(int)aar);
    <br> image1.setUrl("images/bike1.JPG");
    <br> image2.setValue("C:/Documents and Settings/Darrin/My Documents/Creator/Projects/ImageTest/build/images\\bike2.JPG");
    <br> image2.setUrl("C:/Documents and Settings/Darrin/My Documents/Creator/Projects/ImageTest/build/images\\bike2.JPG");
    <br><br>Note that when I run this and look at the log that I write out to in afterRenderRepsponse, it shows that image1 (which shows up as the default image I set at design time) and image3 (which does not show up which I set at run time using image1's value) both show the nogo.JPG image from the <b>resource</b> directory while image2 (that I set at run time to be bike2.JPG) is showing up as <b>empty</b>
    <br><br>
    This is really getting frustrating, and I would greatly appreciate a small tutorial from the JSC staff on just how you need to go about doing this. given that this is so common a need, a tutorial is warranted. Heck, just clue me in on how it is done and I will write one!
    <br><br>
    THANKS!

  • How can i set print mode at run time in smartforms???

    Hi expert,
    In smartforms how can I  set print mode at run time.
    I have one screen.In this screen one check box is there.If user select that check box then print should be come double side otherwise it is coming single side.
    If it is possible then plz give me answer asap.

    Hi,
    Set These settings
    While calling smartform, paas control_parameters and output_options as mentioned below and set
    user_settings = ' '.
    It will send the smartform output to spool.
    DATA: wa_output_options TYPE ssfcompop,
    wa_ctrl TYPE ssfctrlop.
    wa_output_options-tdimmed = 'X'.
    wa_output_options-tddelete = 'X'.
    wa_output_options-tdimmed = ' '.
    wa_output_options-tddest = 'LOCL'.
    wa_ctrl-no_dialog = 'X'.
    CALL FUNCTION lv_fm_name
    EXPORTING
    ARCHIVE_INDEX =
    ARCHIVE_INDEX_TAB =
    ARCHIVE_PARAMETERS =
    control_parameters = wa_ctrl
    MAIL_APPL_OBJ =
    MAIL_RECIPIENT =
    MAIL_SENDER =
    output_options = wa_output_options
    user_settings = ' '
    x_adrp = x_adrp
    IMPORTING
    DOCUMENT_OUTPUT_INFO =
    JOB_OUTPUT_INFO =
    JOB_OUTPUT_OPTIONS =
    EXCEPTIONS
    FORMATTING_ERROR = 1
    INTERNAL_ERROR = 2
    SEND_ERROR = 3
    USER_CANCELED = 4
    OTHERS = 5
    IF sy-subrc 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Regards,
    Kumar(Reward if helpful).

  • "open vi reference" with run time menue

    Hello,
    I met some problems with "open vi reference" in labview.i can't parallel run this vi with the run time menue.i can't load the any vi then the run time menue has activation.(the "open vi reference" can run after the run time menue release.). it's means  labview is serial running for this both function.but now i want to parallel running in the program.so would you give the some idear?

    Now I see what you are talking about.  What you are trying to do is expected behavior.  If you click on the menu while any state is running that doesn't lock the front panel, then the menu will halt the VI execution until you choose a menu item.
    You should check the option in the event to "Lock front panel until event case for this event completes"  Then you will not be able to click on the system menu until tthe VI is launched and running.  If you wire a True like I suggested before, then you will fall out of the case pretty quickly in non-hoghlight mode, and the user most likely will not notice.  If the VI you are trying to open is quite large, it will take a little bit of time for LV to load the VI into memory.
    In highlight-mode, you just have to wait for the event to process before you select the menu.
    Message Edited by Matthew Kelton on 12-03-2007 10:56 PM
    Attachments:
    edit events.png ‏27 KB

  • Setting FLVPlayback parameters at run time

    Hello,
    Is there a way to change the parameters on the FLVPlayback at
    run time? For example, I create a swf file to play the video
    "my_video", and I set the parameter "autoPlay" to false. I then
    embed the following code into a web page:
    <object
    classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="
    http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
    width="326" height="266" id="my_video" align="middle">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="movie" value="my_video.swf" />
    <param name="quality" value="high" />
    <param name="bgcolor" value="#666666" />
    <embed src="my_video.swf" quality="high" bgcolor="#666666"
    width="326" height="266" name="my_video" align="middle"
    allowScriptAccess="sameDomain" type="application/x-shockwave-flash"
    pluginspage="
    http://www.macromedia.com/go/getflashplayer">
    </embed>
    </object>
    The video is embedded in the page, and the user can click the
    controls to play the video.
    What I'm wondering is ... can I change the parameters at run
    time by using the above code somehow? For example, can I change the
    autoStart parameter to true, so now the video would start
    automatically when the page is loaded. Or, could I change the
    contentPath parameter so the code would now play a different flv
    file?
    Thanks for any help.
    Bob

    Hi,
    Thanks for the quick response. Your suggestion works almost
    perfectly. I can now change the flv to any flv I want, and it plays
    the video I want. However, even though I am specifying
    autoPlay=false, it still plays automatically when the page loads.
    Here is my actionscript:
    flvPlayback.playPauseButton = myplayPause;
    flvPlayback.seekBar = mySeek;
    flvPlayback.muteButton = myMute;
    flvPlayback.contentPath = newPath;
    flvPlayback.autoPlay = autoStart;
    and here is my html:
    <object
    classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="
    http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
    width="326" height="266" id="xxx" align="middle">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="movie" value="pokflvplayer.swf">
    <param name="FlashVars"
    value="autoStart=false&newPath=holiday_message_2007.flv" />
    <param name="quality" value="high" />
    <param name="bgcolor" value="#666666" />
    <embed src="pokflvplayer.swf"
    FlashVars="newPath=holiday_message_2007.flv&autoStart=false"
    quality="high" bgcolor="#666666" width="326" height="266"
    name="medical_imaging" align="middle"
    allowScriptAccess="sameDomain" type="application/x-shockwave-flash"
    pluginspage="
    http://www.macromedia.com/go/getflashplayer">
    </embed>
    </object>
    Any idea why it will not recognize the autoStart paramenter?
    By the way, I had to change your myFLV.autoStart - autoS to
    flvPlayback.autoPlay=autoStart. The actual name of the parmameter
    is autoPlay, not autoStart. My guess is that was just a typo on
    your part. Thanks again for your help.
    Bob

  • How to set vo query at run time

    Hi,
    Is it possible to bind the where clause of query at run time.
    N :)

    Hi,
    Yes its possible.
    To add new where clause to your query.
    vo.setWhereClause(null);//If you want to remove any existing programmatically added where clause.
    vo.setWhereClause("Your new query");
    To bind varibales (Say there are 2 bind variables),
    First way to achieve this.
    setWhereClauseParam(null); //Always reset it to remove existing bindings)
    setWhereClauseParam(0, "Your first paramter value"); // Second parameter "Your first paramter value" is of type object.
    setWhereClauseParam(1, "Your first paramter value");
    In case you use "?" styly type binding, this count in above method starts with 1 instead of 0.
    Second way is to put all bind variables in an object array and pass to above method.
    Vector params=new Vector(2);
    params.addElement("FirstParameter");
    params.addElement("SecondParameter");
    Now call vo.executeQuery() to fetch the results as per new query.
    Abdul Wahid

  • Reference to run time on network

    I have a LAN with 2 computers.  1 computer has Labview 2009 environment, the other has 2009 run time engine.
    I start an executable on the run time machine.  How can I get a reference to that running application from the Labview 2009 devlopment machine?
    I would like to start and stop the EXE on the run time machine from the development machine.
    The run time machine is listed under VI Server options, and the app name is listed under VI Server options exported apps.
    When I tried to get a reference to the run time application (it is running) with machine name I get error 63.  When I try to get a reference to the run time application (it is running) with ip address, I get error 63 also.
    I feel there is something fundamental I don't understand, and emails with support have pointed me only to Knowledgebase article which I have already read and tried.
    Thanks for any insight.  My goal is to start and stop the exe remotely using a VI if it is possible.
    Solved!
    Go to Solution.

    sgonzo wrote:
    I have a LAN with 2 computers.  1 computer has Labview 2009 environment, the other has 2009 run time engine.
    I start an executable on the run time machine.  How can I get a reference to that running application from the Labview 2009 devlopment machine?
    I would like to start and stop the EXE on the run time machine from the development machine.
    The run time machine is listed under VI Server options, and the app name is listed under VI Server options exported apps.
    When I tried to get a reference to the run time application (it is running) with machine name I get error 63.  When I try to get a reference to the run time application (it is running) with ip address, I get error 63 also.
    I feel there is something fundamental I don't understand, and emails with support have pointed me only to Knowledgebase article which I have already read and tried.
    Thanks for any insight.  My goal is to start and stop the exe remotely using a VI if it is possible.
    Sounds like you hve tried to get it right.
    I have seen issue with the required tokens that allow access were not copied to the ini file of the target app. You can check this by first making usre you have the VI marked as served etc and then look at the LabVIEW.ini in the LV folder. There are more than one token but they have names and value sthat match-up with the config screens.
    make sure all of those are present in the ini of you exe.
    Double check the Firewall settings.
    Look at the system logs etc for more clues that may help.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Set value Field in run time

    hello guys!!!
    it's called the process where
    on my screen I have two fields
    Field 1: enabled for editing
    Field 2: disabled for editing
    when i fill the value in a field 1 I want to play the same value for the field 2 in run time. that´s possible?What can I study?

    So, you want the user to be allowed to enter a value in field 1, then after tabbing out to the next field, display that same value in a non-editable field underneath?
    You can definitely implement this using Partial Page Rendering (PPR).
    Go to your help section within JDeveloper. Type in "Partial Page Rendering Exercise". A tutorial will pop up showing you how to implement this sort of thing.

  • SET PRINTER TRAY AT RUN TIME

    HELO EVERY BODY
    I HAVE TWO REPORTS I WANT TO PRINT FIRST REPORT FROM UPPER TRAY AND SECOND REPORT FROM LOWER TRAY HO CAN I DO THIS?
    SECOND PROBLUM IS I CREATE A REPORT ON LEGAL PAPER WHEN I RUN THIS REPORT IT WILL TAKE DEFAUT PAPER SIZE OF PRINTER WHICH IS LETTER HOW CAN I SET PAPER LEGAL BY WHICH I NOT CHAND PAPER EVERY TIME
    THANKS IN ADVANCE
    KHUDA HAFIZ

    Faiz,
    Pl see my response, and reply in your other thread:
    set printer tray and page size
    Navneet.

  • CR2008 - Set chart titles during run time

    Hello community!
    Is there a way to change the chart titles during runtime with the fullversion?
    I have the following code to change the text of the "FieldHeadingObject" and "TextObject" and this is working.
    foreach (CrystalDecisions.CrystalReports.Engine.ReportObject repObject in sec.ReportObjects)
       if (repObject.Kind == ReportObjectKind.TextObject ||
           repObject.Kind == ReportObjectKind.FieldHeadingObject)
            ((CrystalDecisions.CrystalReports.Engine.TextObject)repObject).Text = "my new Text";
    How can I change the titles of the chart object?
    I know already that there is the class "ChartTextOptionsClass"
    Does someone know how I could access the TextOptions in the ChartObject so that the new Titles are displayed in the report?
    Thank you
    Alex

    Hello Ludek!
    Thank you for the example code. I modified them to meet my requirements.
    void LoadReportLanguageResources(ReportClass report)
       foreach ( CrystalDecisions.CrystalReports.Engine.Section sec in report.ReportDefinition.Sections)
          foreach (CrystalDecisions.CrystalReports.Engine.ReportObject repObject in sec.ReportObjects)
             if (repObject.Kind == ReportObjectKind.TextObject ||
                  repObject.Kind == ReportObjectKind.FieldHeadingObject)
                ((CrystalDecisions.CrystalReports.Engine.TextObject)repObject).Text = "test";
       CrystalDecisions.CrystalReports.Engine.ReportDocument rptDoc = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
       CrystalDecisions.ReportAppServer.ClientDoc.ISCDReportClientDocument rptClientDoc;
       report.Load();
       rptClientDoc = report.ReportClientDocument;
       CrystalDecisions.ReportAppServer.ReportDefModel.ReportObjects myCharts;
       myCharts = rptClientDoc.ReportDefController.ReportObjectController.GetReportObjectsByKind(CrReportObjectKindEnum.crReportObjectKindChart);
       foreach (CrystalDecisions.ReportAppServer.ReportDefModel.ReportObject oldObject in myCharts)
          if (oldObject.Kind == CrReportObjectKindEnum.crReportObjectKindChart)
             CrystalDecisions.ReportAppServer.ReportDefModel.ChartObject oldChart;
             CrystalDecisions.ReportAppServer.ReportDefModel.ChartObject newChart;
             oldChart = (CrystalDecisions.ReportAppServer.ReportDefModel.ChartObject)oldObject;
             newChart = (CrystalDecisions.ReportAppServer.ReportDefModel.ChartObject)oldChart.Clone(true);
             newChart.ChartStyle.TextOptions.Title = "My new Title";
             newChart.ChartStyle.TextOptions.DataTitle = "My new data Title";
             newChart.ChartStyle.TextOptions.SeriesTitle = "My new series Title";
             rptClientDoc.ReportDefController.ModifyChartObject(oldChart, newChart);
    But I am hvaing problems with the method modifyChartObject(oldChart, newChart). When the method is called i get an COMException with a message like "The data fields of the diagramm are not valid" (German message: "Die Datenfelder des Diagramms sind ungültig"); ErrorCode -2147213287;
    LoadReportLanguageResources is called via the following functions - I left out the outermost functions where the reportingList is loaded and the parameter is built.
    //Checks the list with the report items and call the main load method
    void IReportView.LoadHusReport(IList<HusRepItem> reportingList, BDEA01RangeParameter parameter)
       if ( reportingList.Count > 0)
          reportClass = new repHusReport();
          reportClass.SetDataSource(reportingList);
          LoadReport(reportClass, "Hus Station Report", parameter);
    void LoadReport(CrystalDecisions.CrystalReports.Engine.ReportClass myReport, string title, BDEA01Parameter parameter)
       //check the parameters
       //set the parameters for the report (start and end time of the displayed report range)
       myReport.SummaryInfo.ReportTitle = title;
       if(reportViewer == null)
          crCrystalReportViewer = new CrystalReportViewer();
          reportViewer.Child = crCrystalReportViewer;
       LoadReportLanguageResources(myReport);
       crCrystalReportViewer.ReportSource = myReport;
    Is there something I have forgotten?
    I checked the datafields of the old and the new chart and both have 0 entries before the ModifyChartObject method is called.
    If the method is not called, the report is functioning and all values/diagrams are displayed correctly.
    Thank you Ludek for your help.
    Alex
    Edited by: Alexander Frwirth on Jul 7, 2010 10:13 AM

  • How to set table visibility in run time?

    Dear all,
               Initially i need to make my table invisible. if i click the button, it should be visible. Help me out to do this.
    Thanks,
    Gopi.

    Hi,
    Rather hiding the table, apply the same for the transparant container...
    Create a transparent contianer(TCO) and inside this have the TABLE....
    Create a context attribtue of type wdui_visibility and bind it to the visible property oft the TCO.
    After that, based on the data existence set this attribute value...
    Do you have any input fields and this table in the same view....waht is your design....
    If you have data in the internal table.......
    data lv_visible type wdui_visibility.
    if lt_table is not initial.
    lv_viisble = '02''.
    else.
    lv_visible = '01'.
    endif.
    wd_context->set_attribute
    exporting
    name = 'VISIBLE_TCO'
    value = lv_visible.
    Hope this is clear...
    Regards,
    Lekha.

  • cm:select - want to set query param at run time

    Hi,
    I've just started using the personalization server and have a question
    regarding the content manager tag.
    The JSP that runs generates some value that I want to use in the query
    parameter. In the following example, I would like to replace the 02 with a
    dynamic value:
    <cm:select contentHome="com.beasys.commerce.axiom.document.Document"
    query="parentId = '02'" sortBy="ibioObjType ASC" id="objList" />
    So if the JSP had a String variable myVal, essentially, I want to do this
    <cm:select contentHome="com.beasys.commerce.axiom.document.Document"
    query="parentId = '<theValueOfMyValInHere>'" sortBy="ibioObjType ASC"
    id="objList" />
    Any ideas would be gratefully received - thanks in advance,
    Peter Villiers

    Peter -
    Simply use a JSP Scriptlet to generate the query and put it in the tag. For
    example:
    <% String query = "parentId = '" + myVal + "'"; %>
    <cm:select contentHome="com.beasys.commerce.axiom.document.DocumentManager"
    query="<%=query%>" sortBy="ibioObjType ASC"
    id="objList" />
    Just make sure that myVal doesn't contain any single or double quotes, or use
    com.beasys.commerce.util.ExpressionHelper.toStringLiteral() to quote the
    quotes.
    It is also recommended that you use the DocumentManager as the contentHome,
    rather than the Document (see the WLPS 2.0.1sp1 releaste notes on
    http://e-docs.bea.com).
    Hope that helps,
    Greg
    Peter Villiers wrote:
    Hi,
    I've just started using the personalization server and have a question
    regarding the content manager tag.
    The JSP that runs generates some value that I want to use in the query
    parameter. In the following example, I would like to replace the 02 with a
    dynamic value:
    <cm:select contentHome="com.beasys.commerce.axiom.document.Document"
    query="parentId = '02'" sortBy="ibioObjType ASC" id="objList" />
    So if the JSP had a String variable myVal, essentially, I want to do this
    <cm:select contentHome="com.beasys.commerce.axiom.document.Document"
    query="parentId = '<theValueOfMyValInHere>'" sortBy="ibioObjType ASC"
    id="objList" />
    Any ideas would be gratefully received - thanks in advance,
    Peter Villiers[greg.smith.vcf]

Maybe you are looking for

  • Addon connection to SAP B1 8.81 PL 9 error

    Dear all, I can not  connect my add On from VB6 to SAP B1 8.81 PL9. The error message in SAP B1 is Connection Error -131 connection to license server failed; if license server address is invalid,correct it; if Tao NT Naming Service stopped,active it

  • Mac Mini Web Page Problems!

    I have a mac mini that has been working great for several months. Today it started having trouble with loading web pages! It seems to have letters missing all over the page. I have tried different website and still have the same problem! The website

  • Digital Signatures (.pfx)

    In the past, we have purchased digital ID's from Verisign to digitally sign our pdf forms.  They recently changed their website format and now when you purchase a digital ID, it will read "Persona Not Verified" as the name of the person that signs th

  • I'm on LR3 but all my catalogues show LR2

    I have been using LR3 for some time after using LR2 for a couple of years and keep trying to understand why all my backup files i.e. .lrcat files show "Lightroom 2 Catalog-2.lrcat" instead of .....-3.lrcat.  I have searched all my hard drive for a re

  • Web service discover its own URL?

    Hi, Our web service (JAX-RPC based) needs to be able to discover its own URL, preferably at startup time. What is the best way of doing this? If there is no generic JAX-RPC way, then maybe there is some specific (Axis) way? Many thanks for any hints!