Xslt emitting functoid with parameters is it possible ?

Hello,
I am developing a functoid that emits xslt.
We have a requirement to map a header and that map is rather complex and will occur frequently.
By putting that complexity inside a single functoid that emist the xslt we now have a nice solution for this problem.
Now we drag a functoid on the map and connect the single header element to the input and one to the output.
Everything is working as expected and the functoid emits a large xslt into the map resulting in a mapped header.
But now I need to add several input string to the functoid and use those inputs in my script…..
The scripttype that is being emitted is inline xslt !
So I need the input variabele and wrap it in xslt as a variable declaration. Like so:
<xsl:variable name="var:v1" select="SomeFuntoidInputParameterValue" />
But I see no way to get to the input variabeles inside the getscriptbuffer method…..
Anybody ever did something like this and wants to share the info?
Thanks
Well0549, Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread

Well.....
You could consider my functoid and index functoid. All I want is to have a parameter added as a value in my script.
If I Add 2 in the index functoid I see that reflected in the resulting declaration in xslt that is exactly what i want.
But i can't seem to get to the parameters once i am in the scriptbuilder.....
Well0549, Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread

Similar Messages

  • Is it possible in jsf? Action with parameters????

    I have a NavigationItem, a object of myfaces.....
    And when is clicked it, I want to create a new pane, based on the navigationItem clicked, obviuosly,
    How I can submit a action with parameters???
    Is it possible?
    thanks all !

    I will try to explain better.
    I create menus dynammicaly....
    and this menus has NavigationMenuItems, all componentes of myFaces
    The navigationMenuItem is inherited of SelectItem.....
    and creating it dynamically I need to put a action, and the backing bean has a method that return a string , but the value returned is always null, and I will to know How things I will do depending the parameters (like request parameteres) are passed through the action...
    but I do not know how to set the action dynamically, when the method setAction expect a string and not a MethodBinding.....
    And how I will to know after, what navigationMenuItem was clicked ??
    I don't know if are answers to this questions, I'm not sure about the limitations of web development and jsf, but I must to do it...
    thanks

  • Is it possible to create views with parameters ?

    Hi,
    As MS-Access, is it possible to create views with parameters ?
    Ms-Access syntax : parameters [a] text; select * from table where code = [a]
    If yes, can you give samples ?
    Regards
    Pascal

    I suggest you you write a stored procedure that returns a recordset in oracle. Then execute the stored procedure and loop through the record set.
    Look in in MS Knowledgebase searching on ADO Stored Proceedures for the VB/C++/VBS .. code.
    Look in in Oracle PL/SQL guide for the Stored Proceedure code.

  • Is it possible to start an application with parameters

    Hello together,
    I have written an application which is stored on a network. People from different computer start it to work with it. Now I have the problem, that I need some different configurations on each computer.
    Is it possible to start a labview application with parameters, like: application.exe -User_1
    The application should check the parametes and should switch to the needed configuration.
    Thanks a lot and best regards,
    Michael
    Solved!
    Go to Solution.

    Hi Michael,
    yes it is possible. First you have to activate the data transfer of your parameters. You can do it in the application builder. It is something like "send command line parameters to exe" which you have to activate. You will get the parameter in your program with the property "App.Args". It is an array with the exe name as the first element and one entry for each additional linked parameter.
    Hope it helps.
    Mike

  • Is possible compiling of swf with parameters?

    i have flash project - .fla file, with import of .as file. im
    using few built in values in this project, but i need to compile
    .swf more than one time with different params. is possible to
    create some batch script, which could change value in one variable
    and store compiled .swf to specified directory?.. or i have to
    change and compile that for each clip i need? :( ?

    ive found commands :) it looks fine, but i cant touch
    anything in flash when im editing .as file :s there is no history..
    (i was working with java few years ago so my apps are much like
    application than mess of objects on animation board)..
    i though, there could be something like..
    i would write into .as file something like this:
    var foo:Number = {fooParam};
    and before compiling, i would set fooParam = 1;.. and i had
    some batch of this and could make .swf easy..
    param: foorParam = 1;
    path: foo1/movie.swf
    param: fooParam = 2;
    path: foo2/movie.swf
    :s ?
    only way, i could make it with my knowledge now is create
    some application which would edit .ad file and replace { .. } with
    real values and then pass to some flash compiler :s huh.. but it is
    little bit lol method, isn't it?.. and also i dont know, if flash
    could compile .fla by calling some command .. is this
    possible?

  • Discoverer report with parameters and functions

    I am new to Discoverer. Is there a way to create a report (with parameters) of one line per customer such that the following data will be displayed for each customer?
    Among the parameters is: from_date (month & year) ,to_date
    The basic query gives totals for each date (month & year) for every customer.
    Among the fields displayed:
    1-customer_id,
    2-balance until from_date,
    3-total activity between from_date and to_date
    I have a function to calculate the total balance until from_date, but then I cannot get the total activity on the same line. I tried using another function and I tried using a total calculation but to no success.
    Is this possible?
    Thanks.

    Hi Markus
    You need to determine whether you can in fact call a Discoverer report using a URL before linking it in Portal. You need to run the report in Viewer first and then see copy the URL from the address line of the browser. Then you open another browser and paste the URL. You may well be prompted for a username and password but hopefully the correct report with the right parameters will then execute.
    Assuming this works you then paste the same URL link into Portal and you should be able to get the report to run.
    Best wishes
    Michael

  • I cann't execute javac with parameters. please help !!

    Hi All!!
    I can't understand how to execute application or bat file (javac.exe for example) WITH parameters correctly.
    I can execute javac.exe or bat file - WITHOUT parameters :
    Process p = Runtime.getRuntime().exec(WIN_PATH + " " + WIN_FLAG + " " + "javac.exe");
    But I can't execute correctly the command like:
    "javac.exe -classpath C:\Alex; Test.java"
    I tried to use exec(str,env[]) and exec(cmd[]) methods, but there were different errors as a result :(((
    How can I execute the command "javac.exe -classpath C:\Alex; Test.java" ? Is it possible?
    Please help me by a good idea.
    Thank you.

    right you are! That's why we use "\\" instead "\" :)
    If i try to execute this command -
    cmd=WIN_PATH + " " + WIN_FLAG + " " + "c:/j2sdk1.4.0/deleteMe/javac.exe -classpath C:/WORK/jboss-3.0.3/client/jboss-j2ee.jar;S:/Alexander/jars/sys.jar;S:/Alexander/jars/ejb_conf_dev.jar;S:/Alexander/jars/; C:/j2sdk1.4.0/deleteMe/aaBean.java";
    my OS Windows 2000 returns na error - "Error opening icon..."
    What's wrong?
    Thank you...

  • Calling Stored procedure with Parameters in PowerPivot DataModel

    Hi All,
    I wanted to call a SQL stored procedure from PowerPivot(Excel) on based on changing slicer's value. 
    Currently, we can call stored procedure wihtout any parameter from Data Model tab using 
    Exec stored_proc_name in Table Properties window.
    What if I want to call the same procedure with a parameter whouse value will come by changing slicer's value. I  meant, changing slicer value will act as a parameter to that stored procedure & it should return updated results. 
    Is this possible in PowerPivot?

    Hi Rameshwar,
    According to your description, you call a SQL Server stored procedure in PowerPivot data model, now the problem is that you need to pass a parameter to the stored procedure, right?
    Based on my research, it seems that we cannot achieve this requirement directly in current version of PowerPivot data model. Here is a similar thread for you reference.
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/5350228d-bc62-4a3b-a1a6-e847483e2858/powerpivot-for-excel-2013-call-execute-stored-procedure-with-parameters?forum=sqlkjpowerpivotforexcel
    If you have any concern about this behavior, you can submit a feedback at
    http://connect.microsoft.com/SQLServer/Feedback and hope it is resolved in the next release of service pack or product. Your feedback enables Microsoft to make software and services the best that they can be, Microsoft might consider to add this feature
    in the following release after official confirmation.
    Regards,
    Charlie Liao
    TechNet Community Support

  • Web service operation ... with parameters {} cannot be found

    Hi All,
    I am accessing a web service of a web site using ColdFusion.Each time I am calling the web service I am getting the message "Web service operation ... with parameters {} cannot be found".The wsdl file showing the parameter as complex type .So I have passed value to the particular method using structure and xml type each time I gets that error message.I can not post here the wsdl for security reason.
    When I am calling this Web service from .net it is working without any problem. .NET directly creating the objects of the parameter which the method is needed from the wsdl but I don't know whether it is possible in ColdFusion or not.Also I don't know whether the web service in .net or in other language.
    Please suggest something.
    Thanks
    Upen

    Thanks for your response.
    Yes, I have passed all the arguments but it seems the web application is coded in .net and by googling I came to know that if the .net receives a complex type of object then it creates problem when we pass argument from coldfusion.(means type mismatch)
    If you know about it please suggest .

  • ADF how can i execute a query with parameters when the page renders

    hi
    i am using ADF web 11g
    i need to execute a query with parameters when the page renders
    thanks

    hello,
    I'm a fan of Java code, I really am.
    But when you use ADF, you decided to move to a more declarative environment.
    So why not do it declarative, the adf way?
    In your pagedef insert a action binding.
    This can be anything, a call to the application module, a call on the iterator(Like executeWithparams, etc.)
    Create an invokeAction in your pagedef and set the condition.
    This example refreshes(Action 2 is execute query) the data.
    First the method binding:
        <action IterBinding="PersoonIterator" id="Execute" InstanceName="LSAppModuleDataControl.Persoon"
                DataControl="LSAppModuleDataControl" RequiresUpdateModel="true" Action="2"/>And the invoke action
        <invokeAction Binds="Execute" id="refreshData"/>This always refreshes the data on page entry, but anything is possible, you can set condictions for the invokeAction.
    -Anton
    PS Yes I know that pagedefs become backing beans in the end and yes that is Java code, but if you wanna play the ADF way, the goal is the reduction of Java code and the increased performance of declarative programming.

  • Opening a url  with parameters in an application

    I'm able to open a url in a browser from my application, but I want to open a url with parameters.
    for instanse http://mypage.asp?parameter=a
    You get a file not found. Is this possible?
    I'm currently using
    Runtime.getRuntime().exec( "cmd /C start " + url);

    Found the answer -- you have to put the url in quotes lest the ampersands parse the end off.

  • Class newInstance() with parameters

    Is it possible to use newInstance to create an instance of a Class where the constructor is expecting parameters? I know the API lists newInstance as having no parameters and calling essentially a no-arg constructor, but is there any type of design that would allow me to create an instance with parameters?

    The previous architect went hogwild withreflection
    He wasn't the bastard that designed Spring, washe?
    Screw you hippie, Spring rawks!See you in hell, reflection boi!I doubt it. I'm going to sneakily call
    setAccessible(true) on Heaven
    The Devil is my SecurityManager :-(
    At least I won't be going to the level reserved for
    applet coders...Old Nick certainly is busy these days, what with that, owning all the best tunes and, apparently, writing Eclipse

  • [1.1.2.25.79] Program hangs after starting long runnin SQL with parameters

    Hello Forum,
    I'm currently tuning some SQLs with parameters that run some minutes. When I enter the SQL in the worksheet and press F9, SQL Developer asks for the parameters. But after clicking "Apply" (or whatever it is called in the english version, I'm using german ;-)
    I get the elapsed time of 0.018 seconds displayed and the whole program hangs until the SQL is completed. The elapsed time is not updated so I don't get the real elapsed time.
    I run SQL Developer against an Oracle 9.2 Database on Win2k. The client runs WinXP.
    I hope this is not a double post but searching the forum for "parameters" gave too many hits to check. ;-)
    Regards,
    dhalek

    Sqldev hangs when issuing an action that requires the previous action to be completed first.
    Sqldev could open a new connection for this, or at least display a message telling the action isn't possible until the previous one completes, instead of just hanging. Vote for the requests for this on the SQL Developer Exchange if you want this getting addressed sooner.
    Thanks,
    K.

  • Return event with parameters ?

    Hi Forte-users !
    I have to call a method of a Service Object and I want to know when the task is completed.
    I have to react differently according to a parameter of the method.
    I want that only I receive the event.
    I tried different things :
    1. With differents events
    =========================
    In MySO.Mymethod :
    IF MyParam = 1 THEN
    POST MyEvent1;
    ELSE
    POST MyEvent2;
    END IF;
    In my main method :
    start task MySO.Mymethod(MyParam)
    WHEN MySO.MyEvent1 DO
    WHEN MySO.MyEvent2 DO
    When I post different events according to MyParam in MyMethod, all users receive this event.
    2. With a return event
    ======================
    start task MySO.Mymethod(MyParam) when completion = event
    When MySO.MyEvent DO
    When I use a return event, I only receive the event but I can't react differently according to MyParam.
    Is it possible to define a parameter for MyEvent ? How ?
    If not, does anybody see what I could do ?
    Thanks,
    Solen Boureau
    __^__ __^__
    | / | Solen Boureau | \ |
    | / | Siemens AG Austria | \ |
    | / | PSE NLT2 tel: (+43-1) 1707 - 47072 | \ |
    | / | Gudrunstr. 11 fax: (+43-1) 1707 - 56256 | \ |
    |___| A-1100 Wien email: [email protected] |___|
    ^ ^

    You can use method 1 but instead of posting the event, call a method on an
    object that you pass from the client to the SO. You have to anchor that
    object and I can't recall the exact procedures to do that. This will allow
    you to just notify the client that started the method - not all clients.
    Good Luck,
    Tony Elmore
    MSF&W
    Springfield, IL
    (217) 698-3535
    [email protected]
    From: Boureau PSE NLT <[email protected]>
    To: [email protected]
    Cc: [email protected]
    Subject: return event with parameters ?
    Date: Friday, March 07, 1997 9:46 AM
    Hi Forte-users !
    I have to call a method of a Service Object and I want to know when thetask is completed.
    I have to react differently according to a parameter of the method.
    I want that only I receive the event.
    I tried different things :
    1. With differents events
    =========================
    In MySO.Mymethod :
    IF MyParam = 1 THEN
    POST MyEvent1;
    ELSE
    POST MyEvent2;
    END IF;
    In my main method :
    start task MySO.Mymethod(MyParam)
    WHEN MySO.MyEvent1 DO
    WHEN MySO.MyEvent2 DO
    When I post different events according to MyParam in MyMethod, all usersreceive this event.
    >
    >
    2. With a return event
    ======================
    start task MySO.Mymethod(MyParam) when completion = event
    When MySO.MyEvent DO
    When I use a return event, I only receive the event but I can't reactdifferently according to MyParam.
    Is it possible to define a parameter for MyEvent ? How ?
    If not, does anybody see what I could do ?
    Thanks,
    Solen Boureau
    __^__ __^__
    | / | Solen Boureau | \ |
    | / | Siemens AG Austria | \ |
    | / | PSE NLT2 tel: (+43-1) 1707 - 47072 | \ |
    | / | Gudrunstr. 11 fax: (+43-1) 1707 - 56256 | \ |
    |___| A-1100 Wien email: [email protected] |___|
    ^ ^

  • Using LabView to run VB program with parameters

    Hi,
    It's my first message here so I hope I am doing things correctly. I tried to do some research before asking and I found a lot of good informations but right now, I seem to be stuck.
    I am quite new to LabView, I did few VIs here and there but nothing really "serious". I am currently working on a LabView interface that deals with VB, Excel macros and Data extraction from Text file.
    The VB program is in charge of a motor position, then, some Excel macros are used to do some measurement and the results are written in a text file that I use to plot some graphs.
    The VB program I made give the window I put in the picture in the attached files. Basically, you have to enter some values in those TextBox then click on Move and the motor will move. When you click on the button Home, the motor moves back to the position "0", no need of the two TextBox. In my labview interface, I created two ComboBox that contain all the possible values for both of the TextBox of my VB program. What I would like to do, when I click on my "Measure" button on LabView that initiates the VB program, is that it can fill the two TextBox from VB with the data entered in my LabView ComboBox and then run the program, simulating a "click" on the Move button.
    Right now, I found a VI (included in the attached files) that runs my VB program from LabView (I use it as a Sub-VI) but I still have to manually put the values in my VB program. My goal would be that when I click on my LabView button to start my measure, the motor moves but the VB program doesn't show up for the user to manually enter the values he wants.
    I hope I was clear but if you need any clarification.
    I did the the VB program myself.
    I can also link the LabView interface I already created if need be.
    Thanks for your help,
    Baptiste
    Attachments:
    Moteur.png ‏5 KB
    lancerEXE.vi ‏9 KB

    First, thank you for your answers.
    I know that I don't need to use VB or LabView. I just want for myself to be able to use LabView to manage a program in VB, one in VBA and use data from a text file. I know I could write everything in VBA and that would get the job done. The thing is I want to get away from VBA and Excel as much as I can. In the future, the plan would be to re-write my VBA program with LabView but as of now, I just want to use LabView to manage everything. I know I don't really need it but I want to learn how to do it and have something that works.
    So I would like to know if there is way to do what I wish to do, running my VB program with parameters coming from LabView.
    Thanks

Maybe you are looking for

  • How can I delete old addresses from the automatic fill?

    I set up a new account on a G4 PowerMac with 10.3.9 installed. This computer was being used previously by one of my other users. My question is: whenever the new user wants to send a new message and she types in the address she needs to use, it is se

  • Pass an error cluster in and out of a C/C++ dll?

    Hi all, I'd like to know if it is possible to pass a LabVIEW error cluster to a C/C++ function from a dll. This would greatly help error handling in the different VIs. I am able to access and modify the first two members of the error cluster; the err

  • How to get  past four month user history?

    Hi , can any one help me.How to get past three month details like login and logoff from oracle database Edited by: 849135 on Mar 31, 2011 11:29 PM

  • List of variable

    Hello, I have a group of variable and want automatically select only the variable that users must set. In other words I want to filter by user variables that appers in set variables session. Regards

  • Vista installation snafus

    I have an HP Pavilion running Vista Home Premium. 64 x 2 Dual Core processor 5600+, 3GB ram. I am trying to install the Creative Suite 4. When I place the first DVD in, it does not prompt me for the serial number, it instead asks what I want installe