Link string indicater to subVI

Hi,
Basically I need to display the text stream from subVI to the string indicator in main VI.
Is there any way I can some sort of link method so that the string indicator in main VI
can be referenced in subVI, and than I can display in the string indicator in main VI.
How do I do this?
Thanks,
Do

Please do not start a new thread on the discussion you've already started. Please be patient, as this forum is not Twitter.

Similar Messages

  • Query a stored procedure that exec's a dynamic query. Error Linked server indicates object has no columns

    I have a stored procedure that dynamically creates a pivot query.  The procedure works and returns the correct data.  Now I have a requirement to show this data in reporting system that can only pull from a table or view.  Since you can not
    create a dynamic query in a view I tried to do a select from using openquery. 
    Example 'Select * from OpenQuery([MyServername], 'Exec Instance.Schema.StoredProcedure')
    I get the error back "the linked server indicates the object has no columns".  I assume this is because of the first select statement that is stuffing the variable with column names. 
    CODE FROM PROCEDURE
    Alter PROCEDURE [dbo].[Procedure1]
    AS
    BEGIN
    SET NOCOUNT ON
    Declare @cols nvarchar(2000),
      @Tcols nvarchar(2000),
      @Sql nvarchar (max)
    select @cols = stuff ((
          Select distinct '], ['+ModelName + '  ' + CombustorName
           from CombustorFuel cf
           join Model m on cf.modelid = m.modelid
           join Combustors cb on cf.CombustorID = cb.CombustorID
           where cf.CombustorID > 0
           for XML Path('')
          ),1,2,'')+']'
    Set @Tcols = replace(@Cols, ']', '] int')
    --Print @Tcols   
    --Print @Cols
    Set @Sql = 'Select GasLiquid, FuelType, '+ @Cols +'
    from
     Select GasLiquid, FuelType, ModelName+ ''  '' +CombustorName ModelCombustor, CombFuelStatus+''- ''+CombFuelNote CombFuelStatusNote
      from Frames f
      join Family fa on f.Frameid = fa.frameid
      join Model m on fa.FamilyID = m.FamilyID
      join CombustorFuel cf on m.Modelid = cf.modelid
      Join Combustors c on cf.CombustorId = c.CombustorID
      join FuelTypes ft on cf.FuelTypeID = ft.FuelTypeID
      where cf.CombustorFuelID > 0
        and CombustorName <> ''''
     ) up
    Pivot
     (max(CombFuelStatusNote) for ModelCombustor in ('+ @Cols +')) as pvt
    order by FuelType'
    exec (@Sql)

    Then again, a good reporting tool should be able to do dynamic pivot on its own, because dynamic pivoting is a presentation feature.
    SSRS Supports dynamic columns: Displaying Dynamic Columns in SSRS Report
    SQL Reporting Services with Dynamic Column Reports
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Database Design
    New Book / Kindle: Beginner Database Design & SQL Programming Using Microsoft SQL Server 2014
    Displaying and reading are two very different things.
    #1) SSRS Needs a fixed field list on the input side to know what what to make available in the designer.
    #2) SSRS cant read "exec (@Sql)" out of a proc, even if there is a fixed number of columns (at
    least it can't use it to auto build the field list from the proc)
    I use dynamic SQL in my report procs on a fairly regular basis and I've found it easiest to simply dump
    the results of my dynamic sql into a temp table at the end of the procs and then select from the temp table.
    Basically, Erland is correct. Stop trying to pivot in the query and let SSRS (or whatever reporting software you're using) handle it with a Martix.
    Jason Long

  • Text output using string indicator from subVI to mainVI

    Hi,
    I think I asked similar question before, but since then my program got more complicated.
    Here is my issue.
    I have a program with nested loops to print out the stream of strings in subVI
    and it needs to be updated in a string indicator in mainVI.
    When I say "update", it needs to be updated as it comes out line by line, not by
    the block when the loop is finished.
    I was not successful doing this by both shift register or RefNum.
    Maybe I do not know the advance usage these two.
    So can someone show me how?
    I have attached simplified version of my labview program.
    Thank you in advance!!!
    Solved!
    Go to Solution.
    Attachments:
    MainSubStrIndicator.zip ‏12 KB

    Hi horanyee,
    use some standard shift registers to achieve your goal... They will keep the previous valu so you can ad the new line!
    Message Edited by GerdW on 09-11-2009 08:43 PM
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome
    Attachments:
    subVI.vi ‏8 KB

  • How to change link strings on multiple page PDFs - urgent please

    I have several muly page PDF pages, and on each PDF page there are 20-50 different web links.
    Each of the links are done as Open a Weblink, but on each one I did them like below.
    javascript:void(window.open('http://www.website.com/link1'))
    javascript:void(window.open('http://www.website.com/link2'))
    javascript:void(window.open('http://www.xyz.com/link3'))
    etc.
    I would like to be able to remove the beginning and ending on each link, for either one or multiple PDFs using some type of automated process, instead of clicking on each one, one at a time.
    I NEED TO REMOVE THIS FROM THE BEGINNING javascript:void(window.open('
    ADOBE shows it as javascript:void\(window.open\('
    REMOVE THIS FROM THE ENDING '))
    ADOBE shows it as '\)\)
    I tried this using notepad and an editor, but doing so resulted in an error when reopening the PDF
    an unrecognized token was found '0.35w' was found
    Does Acrobat Pro 9 do this? or??
    Thank you

    Hi,
    Try to change the Text Property of that Link through personalization.
    Through Personalize page link which is on top of the page Left Side-
    Click on Pencil icon which is in front of that item and change the property to whatever text so want to see like=> "click here to go back"
    Thanks
    --Anil                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • SubVI Waiting to Run

    I have written a data acquisition program with LV 6. I have written it so that one part of the program gets data from our NI PCI-MIO-16 type card, and outputs the data to a global array at a frequency of 100 Hz. Other parts of the program then read the data from the global array, apply scale factors, graph, output to disk, etc, as required. All of this seems to work perfectly.
    My problem arises as I try to stop my program. I go into either my continuous logging or manual logging sub VI parts of the program, and when I try to come out again the sub VI appears to stop, but it won't go away. The stop button is greyed out. The run arrow is white with a small black arrow inside. When I move the cursor over it the pop up message "SubVI Waiting to Run" a
    ppears. The only way to stop the Sub VI is to close the window. I have followed the VI's through using highlighting, and I can't see any problems, any sub VIs still running. If I run the VI independently without coming into it from the calling VI, but still having the other data acquisition VI going as well, it works perfectly and exits fine.
    What is the obvious problem that I am overlooking???? Is it a global VI problem? I am only using one Global VI, and it is also passing data between other VIs. Could this be the problem? Should I have a global VI which is the only link between the two VIs, and other globals for links between other VIs?
    Please help if you can as I will not have much hair left soon!
    Thanks in anticipation
    Stu

    Hi Stu,
    If I Understand Correctly is that you have a Few Vi's Running and when you try to Stop the Program, you want to be able to come out of the Sub Vi Panel. Also you have Described a Complex Situation very briefly so some details are unclear. However, Check these things.
    You Wrote "The stop button is greyed out. The run arrow is white with a small black arrow inside. When I move the cursor over it the pop up message "SubVI Waiting to Run" appears."
    The Run Button when White With a Black arrow indicates your SubVi is in "Running" State. This means that there is a top Level VI Which is running and has Some Code which will Call this Sub Vi. As soon as a top level Vi is Run, all subvi's called by the top Level Vi go into Running State. You are right, th
    e Vi Can Be closed By Close Button. But If you were to Open this VI again You will see the same White and Black Arrow.
    What You can do is Use Vi Server Property "Execution State" in A New Vi and run this VI supplying the Path Name of the Problem Vi while you are Having this Problem. I have attached a small Vi Where you can enter the Path Name of Vi you want to Check and run it. It will Give you the state of the VI, Running, Bad, Idle or Top Level. Mind you if your Vi is Not even Open it may give you "Bad"
    Now if you get status as running it means it is currently reserved by a top Level Vi for Running.
    So to Stop your Program and close the Window you may want to use Vi Server Property nodes to End Execution and Close Fornt Panel.
    One Another thing to do to identify the problem is go to "Browse" Button and Look at Vi Hierarchy. Also there is a button "This Vi's Callers". If the Caller Vi Is Open It will show up here. Most Probably Because of Global Variable VI Which is at th
    e Top you have a problem.
    I Hope this Helps. If you can Post More Details - I am Sure you will get Contextual Help to sort your Problem.
    Good Luck!! Baldness can be good Sometimes!!
    Good Luck!
    Mache
    Attachments:
    Find_VI_State.vi ‏26 KB

  • Movement Types and value string in account determination.

    Hi Team,
    In the account determination how and where the movement types and value string are assigned to each other.
    Thanks,
    Sanjay

    hi
    Value Strings
    Posting records are assigned to each relevant movement type in Inventory Management and to each transaction in Invoice Verification.
    Value Strings indicates the posting rule that always contains the same account assignment characteristics for a certain transaction or event (for example a goods movement or an invoice receipt).
    Each goods movement is assigned to a Value String and each Value String in turn is assigned to Transaction/ Event keys. These settings are pre-defined and can not be changed.
    You can see the linking of Value Strings in the following tables:
    T156S- Movement Type: Quantity/ Value Posting (For movement type--> Value String)
    T156W- Posting String Values (For Value String--> Transaction/ Event key)
    I had found the following Value Strings in the system: WA01, WA03, WA04, WA06, WE01, WE06 and WF01.

  • When a link is rolled over by the mouse pointer a very annoying pop up with the link address shows up. There seems to be no way to prevent this from happening. How can this pop up be made to go away?

    no matter what website, every time I move the mouse pointer over something to click on a line of black printing in a thin white box pops up at the bottom of the screen and shows me the http address of the item I'm about to click on. I want to shut this function off or remove it if possible. I find that the previous version did not do this, it seems to be unique to 6.0. It's VERY distracting and ANNOYING. How can I make it go away????

    When you hover the mouse cursor over any link, it will display the link details at the bottom left of the screen; black font on white background.
    This display can be very important as it shows the full address of the hyperlink. This can be particulary useful for checking on whether the link is bona-fida. For example; if you receive an email that looks like it is from a bank , hovering over the link will indicate instantly that the link is pretending to be something it isn't.
    Another example that can be useful; a website link may say 'contact me' rather than give the actual email address. However, when you hover over the link, the actual email address will be displayed at the bottom of the screen. If you click on the link then Outlook usually opens, however I do not use Outlook, so displaying the email address is useful.
    This display is something that has always been present and it is also displayed if you use IE.
    However, I can see that this annoys you, so you could try the following:
    [[https://addons.mozilla.org/en-US/firefox/addon/link-location-bar/?src=api]]
    After installing the addon, you will need to restart Firefox, then go to History and Restore previous session to get all your tabs and webpages back.
    You will now find that when you hover over any link, it will now display in your address bar on the right hand side.
    If this helps, please say this question has been solved.

  • Getting links and its names from a html file

    Hi everyone
    My problem about the a getting links with name from a html file. For example
    &#304;n a web page in this site ?SUN? when use click SUN the browser open http://java.sun.com
    &#304; want both of them, so the links and name. I can succeeded the get link but i don t know how to get the link name.
    For example :
    <B>setRightComponent(Component)</B>
    &#304;n this code segment i want to get B tag. But how i don t know. To get A tag i used this code
    List result = new ArrayList();
    try {
    // Create a reader on the HTML content
    URL url = new URI(uriStr).toURL();
    URLConnection conn = url.openConnection();
    Reader rd = new InputStreamReader(conn.getInputStream());
    // Parse the HTML
    EditorKit kit = new HTMLEditorKit();
    HTMLDocument doc = (HTMLDocument)kit.createDefaultDocument();
    kit.read(rd, doc, 0);
    // Find all the A elements in the HTML document
    HTMLDocument.Iterator it = doc.getIterator(HTML.Tag.A);
    while (it.isValid()) {
    SimpleAttributeSet s = (SimpleAttributeSet)it.getAttributes();
    String link = (String)s.getAttribute(HTML.Attribute.HREF);
    if (link != null) {
    result.add(link);
    it.next();
    &#304; can use B tag but i don t know hot to get its value because it has no prefix such as HREF....
    i am sorry if i use a bad explanation style or incorrect word.

    import java.io.*;
    import java.net.*;
    import javax.swing.text.*;
    import javax.swing.text.html.*;
    class GetLinks
        public static void main(String[] args)
            throws Exception
            // Create a reader on the HTML content
            Reader reader = getReader( args[0] );
            // Parse the HTML
            EditorKit kit = new HTMLEditorKit();
            HTMLDocument doc = (HTMLDocument)kit.createDefaultDocument();
            doc.putProperty("IgnoreCharsetDirective", Boolean.TRUE);
            kit.read(reader, doc, 0);
            // Find all the A elements in the HTML document
            HTMLDocument.Iterator it = doc.getIterator(HTML.Tag.A);
            while (it.isValid())
                SimpleAttributeSet s = (SimpleAttributeSet)it.getAttributes();
                String href = (String)s.getAttribute(HTML.Attribute.HREF);
                int start = it.getStartOffset();
                int end = it.getEndOffset();
                String text = doc.getText(start, end - start);
                System.out.println( href + " : " + text );
                it.next();
        // If 'uri' begins with "http:" treat as a URL,
        // otherwise, treat as a local file.
        static Reader getReader(String uri)
            throws IOException
            // Retrieve from Internet.
            if (uri.startsWith("http:"))
                URLConnection conn = new URL(uri).openConnection();
                return new InputStreamReader(conn.getInputStream());
            // Retrieve from file.
            else
                return new FileReader(uri);
    }

  • How can i get the correct text from a string like it show in the original source with the quotation marks in the right place ?

    The text is in hebrew so the problem is that sometimes the quotation marks not in the right place.
    For example i have this text: תווית
    על בגד: ''תן לאישה לכבס. זה תפקידה''
    This is the source original text you can see the quotations marks and they are not in the right place and all i did is copy paste.
    And this is a screenshot of how this text looks like in the website in the original:
    You can see now where the quotations marks should be.
    Now this is how i'm using the text in my program:
    First of all i'm using a webclient to download the page from the website and i'm also encoding it to windows-1255 since it's in hebrew.
    using (var webClient = new WebClient())
    webClient.Headers.Add("user-agent", "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; .NET CLR 1.0.3705;)");
    byte[] myDataBuffer = webClient.DownloadData("http://rotter.net/scoopscache.html");
    page = Encoding.GetEncoding("windows-1255").GetString(myDataBuffer);
    Then i'm extracting the places i need by reading the html file lines and parsing the right text and it's link.
    string loc;
    List<string> metas = new List<string>();
    List<string> metas1 = new List<string>();
    List<string> lockedLinks1 = new List<string>();
    string text = "";
    string mys = "";
    public List<string> LockedThreads(string filename)
    lockedThreads = new List<string>();
    lockedLinks = new List<string>();
    Regex textRegex = new Regex("ToolTip.*?(?=','<)");
    string[] fall = File.ReadAllLines(filename);
    for (int i = 0; i < fall.Length; i++)
    if (fall[i].Contains("http://rotter.net") && fall[i].Contains("locked")||
    fall[i].Contains("locked_icon_general") ||
    fall[i].Contains("locked_icon_anchor") ||
    fall[i].Contains("icon_anchor") ||
    fall[i].Contains("locked_icon_fire") ||
    fall[i].Contains("locked_icon_sport") ||
    fall[i].Contains("locked_icon_camera") ||
    fall[i].Contains("locked_icon_movie"))
    Regex linkParser = new Regex(@"\b(?:https?://|www\.)\S+\b", RegexOptions.Compiled | RegexOptions.IgnoreCase);
    foreach (Match m in linkParser.Matches(fall[i + 2]))
    if (m.Value.Contains("><b"))
    loc = m.Value.Replace("\"><b", string.Empty);
    lockedLinks.Add(loc);
    string txt = fall[i - 1];
    string text = textRegex.Match(txt).Value.Replace("ToolTip','", String.Empty);
    if (text.Contains("&rsquo;"))
    text = text.Replace("&rsquo;", string.Empty);
    lockedThreads.Add(text);
    Already here on the List lockedThreads you can see the quotation marks not in the right place as in the original:
    After i'm parsing the text and links and adding them to the Lists in another class i'm doing a comparison using this Lists:
    foreach (List<string> l_branch in ListsExtractions.responsers)
    TreeNode l_node = treeView1.Nodes.Add(l_branch[l_branch.Count - 1]);
    if (ListsExtractions.lockedThreads.Contains(l_node.Text))
    l_node.ImageIndex = 0;
    l_node.SelectedImageIndex = 0;
    for (int l_count = 0; l_count < l_branch.Count - 1; l_count++)
    TreeNode l_subnode = l_node.Nodes.Add(l_branch[l_count]);
    if (ListsExtractions.lockedThreads.Contains(l_subnode.Text))
    l_subnode.ImageIndex = 0;
    l_subnode.SelectedImageIndex = 0;
    The problem is in the line:
    if (ListsExtractions.lockedThreads.Contains(l_node.Text))
    When it's getting to the line with the quotation marks it's never equal.
    Now there are more quotation marks.
    In general the problem when comparing both text if it's having quotation marks it's not the same.
    So i have two options:
    1. To fix it somehow so the quotation marks will be the same in both variables when comparing and also the same like in the original as they show in the html page.
    2. To remove the quotation marks from both variables.
    What should i do ? And how ? I was prefer to use the original quotation marks like in the original since they have a meaning in the place they should be. The question is how can i do it ?
    This is example of the block from the html file where the text with the quotation marks is:
    <TD ALIGN="RIGHT" VALIGN="TOP">&nbsp;<font size=-1 color=#ff9933><b>9418</b></font>&nbsp;</TD></TR><TR BGCOLOR="#eeeeee">
    <TD ALIGN="RIGHT" VALIGN="TOP">
    <body onmousemove="overhere()">
    <a onmouseover="EnterContent('ToolTip','תווית על בגד: &rsquo;&rsquo;תן לאישה לכבס. זה תפקידה&rsquo;&rsquo;','<u><span style=color:#000099;>כתב: Spook בתאריך: 08.03.15 שעה: 22:11</span></u><br>מחאת טוויטר קמה בעקבות תוויות שוביניסטיות שהדפיסה חברת אופנה באינדונזיה לפיהן תפקיד הכביסה מוטל על האישה. החברה התנצלה אך כנראה רק עשתה רק יותר נזק לע...'); Activate();" onmouseout="deActivate()" href="javascript:void(0)">
    <img src="http://rotter.net/forum/Images/new_locked_icon_general.gif" border="0"></a></TD><TD ALIGN="right" VALIGN="TOP" WIDTH="55%">
    <FONT CLASS='text15bn'><FONT FACE="Arial">
    <a href="http://rotter.net/cgi-bin/forum/dcboard.cgi?az=read_count&om=189696&forum=scoops1"><b>
    <font color="898A8E">תווית על בגד: ''תן לאישה לכבס. זה תפקידה''</b>
    </a></font></TD>

    Ok, it is unclear on what is happening here.
    Are you saying that when the webclient gets the data that it is not honoring the quote characters? Or the processing of the data buffer is causing issues?
    This is what I see the of your example text which is trying to be parse out:
    <a onmouseover="EnterContent('ToolTip','תווית על בגד: &rsquo;&rsquo;תן לאישה לכבס. זה תפקידה&rsquo;&rsquo;','<u><span style=color:#000099;>כתב: Spook בתאריך: 08.03.15 שעה: 22:11</span></u><br>מחאת טוויטר קמה בעקבות תוויות שוביניסטיות שהדפיסה חברת אופנה באינדונזיה לפיהן תפקיד הכביסה מוטל על האישה. החברה התנצלה אך כנראה רק עשתה רק יותר נזק לע...'); Activate();">";
    It appears to me that the  escapes `&rsquo;` does not have matching `&ldquo;` anywhere within the tooltip. So it appears that the page properly places left quotes in when processing the page, but the raw html has broken text.
    Hence a garbage in, garbage out situation.
    William Wegerson (www.OmegaCoder.Com)

  • False Overset Text in Links Panel

    Mac OX 10.6.4
    CS5
    This is the problem I'm encountering: When I export to .pdf, Indesign Crashes. I've been able to narrow it down to one specific file and actually specific pages. But here is something I've noticed and cannot figure out. I've got three .psd linked files that are showing up as overset (OV) in the links panel, therefore when I click on them ID says it can't show me them because they are in over set text. But my live preflight says there is no over set text. ID jumps to pages still when I click that link but that whole story has no overset text. (i.e. not red overset in the outbox and no overset text in story editor mode. I can't figure out where those three linked objects are or how to select them to delete them. Any thoughts?

    I would suggest running through the same steps as above (which it sounds like you've done) to see if you can isolate a problem, and in addition you might want to try exporting the stories to InDesign Tagged Text, then create a new file, move over the master pages, and place all the exported stories.
    Also, be sure everyone is updated to the 7.5.3 patch.
    dcald wrote:
    The links panel indicates that the images are in overset text but we know for a fact that they are from a previous issue and are no longer in the ID file. Also, preflight indicates that there is no overset text in the file. It is one flow thoughout the entire file. Attempts to create PDF fail consistently. Each time someone has had to build the file again from scratch which for a file over 60 pages long, is not good for feelings towards the ID/InCopy.
    This implies to me that you "recycle" document instead of building a template. ID is pretty stable, but no layout program is perfect and each time you do a save you introduce the possibility of small errors in the file. Somnetimes those small errors become big problems.
    You can reduce the risk of problems on recurring publications by creating a template that contains your master pages, color swatches, styles, and any "static" content that might not be on a master page but still does not change from version to version. Each new version should be made from the template, so it is always a fresh second-generation copy.

  • My external hard drive won't mount and shows a 'sibling link error'. I've seached the forums but need a very dumbed down set of tips for the computer illiterate- help?

    The forums have suggestions on this topic but I don't understand the lingo used.

    Remember card catalogs in libraries?   The computer has its own card catalog that tells it where all the files are.  That's known as the directory.
    Sibling link error indicates something is wrong with one of the cards, making the computer lost.  Now the computer will put forth a bunch of gobbledy gook to fix this error, but you can do it. 
    Since the issue is with the external hard disk, you must select it with Disk Utility's First Aid selected.   There you will repair the disk.   If it can't repair the disk, you will need to use a more powerful tool.  The question is, is your data backed up elsewhere, or is it not?  If it is not, the same symptoms of a bad directory can also implicate a dying hard drive.  You'll want a data recovery tool if you aren't backed up.  If you are backed up, and there is nothing that can't be replaced on that external hard drive, get Alsoft Disk Warrior.  This should fix most bad sibling link errors repair disk can't.  When it can't, you can give up on the external hard disk.
    P.S. Permissions has NOTHING to do with the directory.  Do not worry about issues with permissions or attempting to repair it at this stage.

  • Passing non-key field values to a form from a tree link

    I'd like to be able to link to a record form from a tree, and to pre-populate certain fields in the form from values available in the tree, even if there isn't a record matching the primary key value on the tree.
    I hope that makes sense.
    Let me fill in some more detail. I have dummy nodes in the tree, which don't correspond to data items, but to types of data items ( underneath which I have the real items ). I've made the dummy nodes a link to the form in the same way as the real items, so that when you click on the dummynode, you go to the form ( which is blank) and can create a new record. I'd like to populate the form with as much information as possible when this happens. I've tried adding the fieldname/formvalue to the link string but with no effect.
    Thanks, Mark.
    If the forum allowed screenshots to be posted I could show you what I'm trying to achieve.

    If your form items are of source database column, than it will not work. However, you may create a custom form and have no source for the items. For that, you will need to create a custom procedure to fetch, update and delete the records.
    If I understood your question properly...
    Denes Kubicek

  • Command Link in the af:table Component can not Work in the Request Scope

    Actually, the problem is that when we click on the command link, the action method #{overview.goToLinkAction} is not triggered.
    Here is the codes of action method "goToLinkAction" on the backing bean:
    public String goToLinkAction() {
    String linkString = (String) AdfFacesContext.getCurrentInstance()
    .getProcessScope().get("linkString");
    System.out.println("Link String is: " + linkString);
    return "";
    The data object list "listOfTransefer" for af:table is composed first time when the page is initialized.
    public void onPageLoad() {
    this.listOfTransfers = composeListOfTransfers();
    But when the commandlink or commandbutton is clicked to pose the form, this onPageLoad method is ignored by using PagePhaseListener:
    public void beforePhase(PagePhaseEvent event) {
    FacesPageLifecycleContext ctx =
    (FacesPageLifecycleContext)event.getLifecycleContext();
    if (event.getPhaseId() == Lifecycle.PREPARE_MODEL_ID && needReload()) {
    bc = ctx.getBindingContainer();
    onPageLoad();
    bc = null;
    public final boolean needReload() {
    if (!isPostback())
    return Boolean.TRUE;
    else
    return alwaysReload();
    protected boolean isPostback() {
    return Boolean.TRUE.equals(resolveExpression("#{adfFacesContext.postback}"));
    That means the method "onPageLoad()" may not be invoked when the commandlink is clicked.
    Is there any way to resolve this problem without changing the scope of the backing bean to "session"?
    Your response will be very helpful for us.
    Thanks

    Hi,
    if you implicitly say that this works if the managed bean is in session scope then the problems seems to me that one of your evaluation criterias is reset in the request scope, which I think most likely is the needReload() method. Did you add debug statements to the methods to see where exactly it gets stuck?
    Frank

  • Converting CSV file coming as string in one of the field of xml to XML

    Hi ,
    we have the below requirement where the dat type is :
    DT_MESSAGE
      field1  Data
       field2 DataString
    the csv file of the below format will be sent in the DataString field of xml .
    Source;EIX3;Date;080526;Charge;70199;Si;.42   ;Fe;.20   ;Cu;.00   ;Mn;.027  ;Mg;.49   ;Cr;.0007 ;Ni;0     ;Zn;.01   ;Ti;.01   ;Ag;0     ;B;0     ;Ba;0     ;Be;0     ;Bi;0     ;Ca;0     ;Cd;0     ;Co;0     ;Ga;0     ;Na;0     ;Nb;0     ;Pb;0     ;Sb;0     ;Sn;0     ;Sr;0     ;V;0     ;Zr;0     ;Al;0     ;P;0     ;Hg;0     ;Li;0     ;Alloy;606044;Alloy_Hy;AC10;Diametre;152;Client;IMPOL
    Source;EXF3;Date;080811;Charge;71460;Si;.04   ;Fe;.10   ;Cu;.002  ;Mn;.003  ;Mg;.002  ;Cr;.0006 ;Ni;.003  ;Zn;.014  ;Ti;.000  ;Ag;0     ;B;0     ;Ba;0     ;Be;0     ;Bi;0     ;Ca;0     ;Cd;0     ;Co;0     ;Ga;0     ;Na;0     ;Nb;0     ;Pb;.0010 ;Sb;0     ;Sn;.000  ;Sr;0     ;V;.001  ;Zr;0     ;Al;99.8  ;P;0     ;Hg;0     ;Li;0     ;Alloy;400101;Alloy_Hy;831B9901;Diametre;PFA;Client;DANFOSS
    Source;EXF3;Date;080813;Charge;71535;Si;9.55  ;Fe;.12   ;Cu;1.05  ;Mn;.01   ;Mg;.38   ;Cr;.0008 ;Ni;.00   ;Zn;.01   ;Ti;.01   ;Ag;0     ;B;0     ;Ba;0     ;Be;0     ;Bi;0     ;Ca;.0011 ;Cd;0     ;Co;0     ;Ga;0     ;Na;.0006 ;Nb;0     ;Pb;.0010 ;Sb;.0003 ;Sn;.00   ;Sr;.0002 ;V;0     ;Zr;0     ;Al;0     ;P;.0008 ;Hg;0     ;Li;.0001 ;Alloy;444205;Alloy_Hy;Al AS9C1;Diametre;PFA;Client;TEKSIDPL
    Source;EXF3;Date;080813;Charge;71538;Si;9.57  ;Fe;.12   ;Cu;1.01  ;Mn;.01   ;Mg;.39   ;Cr;.0008 ;Ni;.00   ;Zn;.01   ;Ti;.01   ;Ag;0     ;B;0     ;Ba;0     ;Be;0     ;Bi;0     ;Ca;.0007 ;Cd;0     ;Co;0     ;Ga;0     ;Na;.0004 ;Nb;0     ;Pb;.0010 ;Sb;.0004 ;Sn;.00   ;Sr;.0002 ;V;0     ;Zr;0     ;Al;0     ;P;.0007 ;Hg;0     ;Li;.0001 ;Alloy;444205;Alloy_Hy;Al AS9C1;Diametre;PFA;Client;TEKSIDPL
    Source;EIX3;Date;080813;Charge;71539;Si;.06   ;Fe;.19   ;Cu;.00   ;Mn;.00   ;Mg;.00   ;Cr;0     ;Ni;0     ;Zn;.01   ;Ti;.01   ;Ag;0     ;B;0     ;Ba;0     ;Be;0     ;Bi;0     ;Ca;0     ;Cd;0     ;Co;0     ;Ga;0     ;Na;0     ;Nb;0     ;Pb;0     ;Sb;0     ;Sn;0     ;Sr;0     ;V;0     ;Zr;0     ;Al;99.71 ;P;0     ;Hg;0     ;Li;0     ;Alloy;107070;Alloy_Hy;AC99.7;Diametre;152;Client;ARO TUBI
    where the starting field is Sorce of each row .
    I need to parse the above csv using xslt or java mapping .
    The target structure xml is
    DT_Target
       row  0 to unbounded
    field 1  Source
    field2   Date
    field3   Charge
    field n   Client
    can anyone help me how to parse and map to the target.what could be the better method to do it.
    Thanks and Regards,
    Rajesh

    You can use xsl mapping to  retrieve that payload ina  single field and map it to target
    Please check these links
    String to XML using XSLT..
    Re: String to XML using XSLT
    /people/michal.krawczyk2/blog/2005/11/01/xi-xml-node-into-a-string-with-graphical-mapping
    regards
    Ninad

  • How do I put two strings in one "string dialog box"

    example:
    testing connection.....Pass
    testing speed..........Pass
    testing motors.........Failed
    I send a string to a device and receive a string from this device.
    it is easy to print the string in a dialog box. but the problem is that the next string I get from the device overwrites the previous string.
    how can I put all incoming strings under oneanother?

    If you are using a while loop you can put a shift register inside, what else you need is a concatenated string input which will accept your string in the first input and the EOL char in the second.
    If you have a subvi, connect the string to the subvi's input and take the concatenated string at the output
    Take a vi in 6.1 as an example
    There are 10 kind of persons. Those who understand binaries and the others.
    Attachments:
    test1.vi ‏16 KB

Maybe you are looking for