Call taskflow even twice with different parameters - as two regions in JSFF
Hi allI need to reuse a taskflow in two regions of a page JSFF fragment. I will be of different settings for this workflow based on the region. What I see is that the taskflow makes twic, but both the taskflows show the same State (the State for the second set of parameters). Is there a way by which I can assure that the taskflows can be reused for different context on the same page JSFF dynamically.
Ex. JSFF has 2 regions based on the same taskflow - but the taskflow settings are different for the two regions. Now, when the page runs, the two regions show the same user interface as the second region. It looks like the AM, your were interviewed again and the first run of time VO got overloaded.
Attempted parameters of transaction taskflow by changing it to "Always start a new Transaction" and it does not work.
Any suggestions?
Thank you
Srini
Try to select * 'No controller Transaction' * and
Uncheck the options
(1) share data with calling taskflow controls
(2) no savapoint on the entry of work flow
Thank you
Nini
Tags: Java
Similar Questions
-
Two sequences with different parameters?
In the first Pro CS6, is it possible to use two sequences with different parameters?
Yes, no problem.
You can make as many sequences with different settings as you want.
-
new process via jnlp with different parameters
I have the following problem: I have a frame given running in a process and necessary to implement a "new window" function where the current image is cloned. given that the two executives can run using different time zones, I thought that it is preferable to set the lag default process and run executives in separate processes.
However, there is a problem: how to launch a new process to a process that has been started via jnlp? also, given that the new process is expected to be launched with different settings, I need to reach hand settings on him.
even if possible, would be used the file cached for the new process, or would the whole pot again downloaded?
So basically:
1. download jnlp, launch
2. from the inside of this process, load the same jnlp with settings and start the jnlp in another process
Thanks for your help! :)
Published by: user8995776 on February 13, 2011 23:10user8995776 wrote:
.. The problem is that I'm supposed to have multiple time zones in 1 application. A time zone by balance. I don't know if it is a convenient way to do it.I'm not so sure that my previous doubts were well-founded. Since anyone with more experience chose to jump in, we will pursue a strategy you can follow to achieve your goal fixed at the origin.
The first way I would try this use the PersistenceService (1). The idea is that when the user requests a new time zone setting, the current image would store details of the TZ requested in PS, then call BasicService.showDocument (theSame.jnlp) (2). As the launch of the app, it checks the PS for a zone. Nothing is set, it uses the default TZ if he uses the TZ which has been made persistent.
See my demos. from:
(1) the PersistenceService at (http://pscode.org/jws/api.html#ps).
(2) the BasicService at (http://pscode.org/jws/api.html#bs).I recommend this strategy simply because it could even be reached in an application completely in sand-box.
-
Call the PL/SQL procedure with different parameters?
I use PL/SQL for web development. I have a page of PL/SQL which collects information and returns the user off site with one return url (another PL/SQL procedure).
I have the return procedure with every documented return variable (default null) in order to always take the return. However, there are (reported... cannot reproduce because of the nature of the business) cases where a 404 error is returned because of the incompatibility of parameter.
Is it possible to proceed regardless of the parameters? Someone at - it suggestions?
Thank you!user2960509 wrote:
My problem is that they sometimes send back of settings that do not match what I expect.
Use the interface "+ flexible +" mod_plsql - see the Oracle® HTTP Server mod_plsql user's Guide for the documented details.
The signature of the procedure parameter is as follows (it is called by mod_plsql using tables of name value pairs):
create or replace procedure Scott.MyWebProc( name_array owa.vc_arr, value_array owa.vc_arr) is ...
In your code, you just browse the berries to get the name values passed query string. You can even filled an associative array in your code (a table indexed by string and no number, where the index string represents the name of param)-this approach can make it pretty easy for the code make reference to a parameter, with little effort on your part to provide an interface to query by name for code to get the value of a parameter name.
To enable the flexible (aka parameter 2) call interface, precede the call to web with an exclamation character. For example
http://my-webserbver.my-domain.com/pls/dad/!scott.mywebproc?name-1=val-1&name-2=val-2..,name-n=val=n
-
Space evenly movieclips with different heights?
I have the following code, which works well when all the boxes have the same height. The fundamental point is that I have three boxes on the stage, 10 pixels apart. If you click and drag the boxes above or below the other, they reorganize.
// based off Dynamic Stacking AS3 @ http://blog.soulwire.co.uk/code/open-source/dynamic-stacking var mcArray:Array = [mcA, mcB, mcC]; var mcSpacing:int = 10; goStart(); function goStart() { for (var i:int = 0; i < mcArray.length; i++) { mcArray[i].y = (mcArray[i].height + mcSpacing) * i; mcArray[i].addEventListener( MouseEvent.MOUSE_DOWN, boxPress ); mcArray[i].addEventListener( MouseEvent.MOUSE_UP, boxRelease ); } } function boxPress(e:MouseEvent):void{ e.currentTarget.startDrag(); e.currentTarget.parent.addChild(e.currentTarget); } function boxRelease(e:MouseEvent):void { e.currentTarget.stopDrag(); moveBoxes(); } function moveBoxes():void { mcArray.sortOn( 'y', Array.NUMERIC ); for (var i:int = 0; i < mcArray.length; i++) { mcArray[i].x = 350; mcArray[i].y = (mcArray[i].height + mcSpacing) * i; } }
How to do it if the boxes are different heights, while keeping the same functionality? I know that magic is in this line:
mcArray[i].height + mcSpacing
But I'm not strong enough math skills to understand.
This line contains the problem, but you can call it magic if you're a glass - half-full type. If you have different heights, you have to stack things starting with 0 and adding to the height of each object (plus 10) each time. This line as expected assumes that the height never varies, so it's just multiplying the same height for each new position.
Try...
function moveBoxes (): void {}
mcArray.sortOn ("y", Array.NUMERIC);var YCourant: Number = 0;
for (var i: int = 0; i< mcarray.length;="" i++)="">
mcArray [i] .x = 350;
mcArray [i] there = currentY;currentY += mcArray [i] .height + mcSpacing;
}
} -
Hello
Thank you for taking the time to read this! Yesterday that I tried to connect to an HDTV using VGA instead of someone else, worked well. Buy a vga cable today and connected to my 1080 p full hd Phillips and got a BSOD almost instantly. I tried some things and managed to do the work! Played skyrim for a little and left the laptop in sleep mode. Came, open upward and the screen stayed black, nothing I could do to get a Visual.Now, whenever I connect the cable I get a BSOD, it works with any other laptop, excludes the cable and television.I have updated all drivers in the list, checked my drive for errors using the good chkdsk, smart status on the disk is good, all withdrew. I know for a fact that my laptop works fine with extra monitors, we use all the time on my internship and as stated, it worked yesterday on another TV.Features of the laptop:ASUS n73jn
processor Intel i5 460 mNVIDIA geforce 335 mWindows 7 64 bit4 GB ddr3 RAMthe HDMI port is dysfunctional, just a few flickering screens filled with black lines, that's why I try vga. My guess is the hdmi port is DOA, but did not have a hd tv up to 2 years after purchase.
News of the capture of blue screen:==================================================Dump file: 093012-44382 - 01.dmpCrash time: 30/09/2012-18:57:22Bug Check String: SYSTEM_SERVICE_EXCEPTIONBug check code: 0x0000003bParameter 1: 00000000' c0000005Parameter 2: fffff880'074259 cdParameter 3: fffff880'029f90a0Parameter 4: 00000000'00000000Caused by the driver: igdkmd64.sysCaused by the address: igdkmd64.sys + 1e29cdDescription of the file:Product name:Company:Version of the file:CPU: x 64Plant address: ntoskrnl.exe + 7f1c0Stack address 1:The stack address 2:Address 3 the battery:Computer name:Full path: C:\Windows\Minidump\093012-44382-01.dmpNumber of processors: 4Main version: 15Minor Version: 7601The dump file size: 262,144==================================================Thanks for your time!
Greetings,Joachim
Sorry, I was a little confused with the HDMI and VGA - continues to be the same advice.
Looks like you have isolated to a hardware problem. With the Intel graphics card is not posted, I have to wonder if the hardware problem is with the graphics card Intel
FWIW - we have seen a number of overheating problems with the graphics from nVidia on your model. Make sure the laptop is on a hard surface - and I would also use a filling of cooling (if possible) to ensure that the system is not overheating.
Install a new copy of Intel video drivers is probably the most important thing to do now - and ensure that this card appears in Device Manager (and check in the nVidia PhysX tab to see if it appears here - even though I'm not familiar with this program).
Try the video stress tests here: http://www.carrona.org/addldiag.html
They can show that there is a hardware problem - but a lot of this will involve what video card works at the time of the test (even once, I don't have a lot of experience to make systems to change video card).Good luck!
-
PFX ceritifcate with the same alias in the keystore appears twice with different certificates
Hi all
I want to install Certificate .pfx using the installation wizard. 1 the key encryption certificate and 1 certificate for digital signature.I see my shop with the keytool in the windows command - 1 key certificate to encrypt lying appears twice and the 2nd certificate does not appearNot at all.Could you be it someone please let me know the model of behavior and how keystore alias are determined by default etc. ?Also let me know the root cause of this behavior.Any help will be appreciated.ConcerningJony KhatriHello Jony,I understand that you do not want to install Certificate .pfx using the installation wizard. Let me know if this isn't the issue.
It is better suited for the IT audience Pro on MSDN. Please ask your question in the MSDN Support Forum. You can follow the link to your question:
http://social.msdn.Microsoft.com/forums/en-us/category/netdevelopmentFor reference:I hope it helps. If you have problems in the future, please let us know. We will be happy to help you. -
How do periodically for simultaneous calendar request with different parameters
Hi team,I want to plan a competing application periodically, but want to pass parameters of different date for each series.
Please help me.
Thank you
Anmisha.
Hello
Here is the solution I got plan a competing application periodically, but want to pass parameters of different date for each series:
Tick "increment date settings performed."
option. If the application contains the date
settings, choose ' Increment date settings each run' for the value.
for this setting adjusted to match the new submission interval. For example, if the value of the parameter
on July 25, 1997 07:00 and the monthly interval, the setting is adjusted
August 25, 1997 07:00 for the next presentation.Thank you
Anmisha
-
How to create a second Adobe PDF printer with different parameters?
Hi all
I know that it is possible to create copies more or less unlimited normal printers under Windows (XP SP2) which each have their own settings. Very useful for standard jobs that require special configurations.
We want to use the same technique for the creation of PDF. Now, I'm wondering how to create a second Adobe PDF printer?
I try to create a new printer on the printer port "my Documents\ * .pdf" which is used by the existing printer, but I wonder what driver to use. Unfortunately there is no Adobe entry in the list and I can not find manually, either.
We are still on Acrobat 8 (Professional)
Any tips?
Thank you very much
Mike
The easiest way is to add a generic printer driver. Then enter the properties, change the name and set up the port and in the printer driver. Then edit the remaining properties. You may need to leave after selecting Properties and then open back for these properties took effect. If you are looking for using the PDF Maker printer you should change the name to Adobe PDF, and you can have one of these. For use as a printer, then the other name will work fine.
It's been a while since I've done this type of addition, but it worked when I did it.
-
see link with several parameters
Hi all:
I use af:golink to call a new page with different parameters like the code below:
but when I use it cann't page display "website cannot display the page.<af:goLink text="Run Report" styleClass="xes" destination="/printreportservlet?reporttype=pdf&filename=new_report.jasper" targetFrame="_blank"/>
but when I use a single parameter as:
or<af:goLink text="Run Report" styleClass="xes" destination="/printreportservlet?reporttype=pdf" targetFrame="_blank"/>
It works successfully,<af:goLink text="Run Report" styleClass="xes" destination="/printreportservlet?filename=new_report.jasper" targetFrame="_blank"/>
so is there any problem to send several parameters while asking us to servlet.
Best regardsWhat happens if you put this URL in the address bar directly, it works? If it isn't, then it seems that the problem is with your servlet. If this does not work, try to escape the ampersand in the URL. I can't paste the value here, as the forum he transformed into an ampersand, but you can read [url http://articles.techrepublic.com.com/5100-10878_11-5032714.html] this
JOhn
-
ThinApping an Application with several parameters
Still new to ThinApp please bare with me.
I have captured a request and I now have an App.exe and an App.dat. Then, I opened this request, altered some settings and captured these changes & named settings1.dat. I have also settings2.dat, settings3.dat and so on.
App.exe is about 50 KB
App.dat is about 80 MB
Settings1.dat, Settings2.dat and so on is 2 MB.How can I go on these chaining so Settings1.dat/Settings2.dat/etc calls and run App.exe and App.dat?
I don't want to wind up with more than 80 MB file, which is the only way I could make it work.
These settings are changed are all stored in HKCU, so this is a simple registry change.
If you want to get started ThinApped application with different parameters, you need not separate .dat files. What you can do, is something like the following:
- Install your application, change its settings and capture it with ThinApp.
- You change the application settings, and export the appropriate registry key.
- Repeat step 2 all the time.
- Go to your project directory and create a subfolder in the folder where your application executable.
- Copy the .reg files exported in the subfolder created in step 4.
- Create a script or a batch file for each .reg file, and then save it to the folder created in step 4. The script file or batch must have the necessary code to merge the .reg in the registry file. Also, you must run the main script executable file or batch file.
- Add the necessary lines in the package.ini file to create an entry point for each script or batch file.
- Build your application.
Another approach, you can create a menu with an InputBox statement. In this way, you can choose load settings before running your application.
- Follow the steps 1 to 5 of the previous approach.
- Write a script to create a menu and merge the corresponding .reg file into the registry according to the user's selection.
- BUiD your application.
-
NATting even address public ip with two periods of internal investigation with different ports
Hi people,
Can I use the same public IP for two internal investigation periods different with different ports and I can even user public IP for two periods of different internal investigation with the same ports
static (inside, outside) tcp 115.248.153.252 192.168.22.19 6303 6303 netmask 255.255.255.255
static (inside, outside) tcp 115.248.153.252 http 192.168.22.19 http netmask 255.255.255.255
static (inside, outside) tcp 115.248.153.252 http 192.168.22.20 http netmask 255.255.255.255
static (inside, outside) 115.248.153.252 tcp https 192.168.22.20 https netmask 255.255.255.255
static (inside, outside) tcp 115.248.153.252 192.168.22.21 6303 6303 netmask 255.255.255.255
static (inside, outside) tcp 115.248.153.252 http 192.168.22.22 http netmask 255.255.255.255
Concerning
Vesta
"Everybody is genius." But if you judge a fish by its ability to climb on a tree, he will live his entire life, believing that this is stupid. "No, you cannot use the same public ip address NAT on two internal IP address different using the same port.
static (inside, outside) tcp 115.248.153.252 192.168.22.19 6303 6303 netmask 255.255.255.255
static (inside, outside) tcp 115.248.153.252 192.168.22.21 6303 6303 netmask 255.255.255.255
For the static PAT 2 above for example, when traffic is coming to 115.248.153.252 IDE oucederomsurlesecondport 6303, ASA would not know if NAT it back to 192.168.22.19 or 192.168.22.21, because both use the same port.
-
Creating a new class, I need to move my main method class SaveDate DynamicTest class. Below I've listed the code of both classes. The goal is to be able to run my class DynamicTest program. I need help to understand the process of moving my main method of a different class and creating an object of a class and calling its method.
public class {SaveData
private public static final map < String, Object > myCachedTreeMap = new TreeMap < String, Object > ();
public static final List < String > getLines (final String resourceParam, final Charset charset) throws IOException {}
System.out.println ("please:" + resourceParam);
If {(myCachedTreeMap.containsKey (resourceParam))
Use the file cached, to avoid a further reading.
System.out.println ("found in memory:" + resourceParam);
}
else {}
Load the file from the disk
System.out.println ("found in memory:" + resourceParam);
}
Returns a null value.
}
Public Shared Sub main (String [] args) throws IOException {}
String target_dir = "C:\\myfiles\\config\\en";
Line = "C:\\myfiles\\config\\en\\output.txt";
File dir = new File (target_dir);
File files [] = dir.listFiles ();
If (file == null: files.length < 1) {}
System.out.println ("file list is empty...");
return;
}
Open the Printwriter
PrintWriter OutputStream = new PrintWriter (output);
try {}
for (textFile file: files) {}
If (textFile.isFile () & & textFile.getName () .endsWith (".txt")) {}
readFromDisk (textFile);
}
}
}
{Finally
outputStream.close ();
}
String fileNameFromCache = "en_synonyms.txt";
Sheet1 = myCachedTreeMap.get (fileNameFromCache) object;
System.out.println (fileNameFromCache + ": \n" + "Sheet1");
}
@SuppressWarnings ("resource")
private static Sub readFromDisk(File textFile) throws FileNotFoundException, IOException {}
BufferedReader InputStream;
inputStream = null;
String content = "";
try {}
inputStream = new BufferedReader (new FileReader (textFile));
content = readFile (textFile);
System.out.println ("bytes read =" + content.length ());
Save the content
FileContentsObject Sheet1 = new FileContentsObject (System.currentTimeMillis (),
textFile.lastModified (), content,
textFile.getName (),
getLines (null, null));
Add to the map
myCachedTreeMap.put (textFile.getName (), Sheet1);
}
{Finally
If (inputStream! = null) {}
inputStream.close ();
}
}
}
private static String readFile(File f) throws FileNotFoundException, IOException, UnsupportedEncodingException {}
Text of StringBuilder = new StringBuilder (1024);
read int, N = 1024 * 1024;
char [] buffer = new char [N];
BufferedReader br = null;
try {}
BR = new BufferedReader)
(new) InputStreamReader
(new FileInputStream (f), 'UTF8'));
While (true) {}
read = br.read (buffer, 0, N);
If (read > 0)
Text.Append (new String (buffer, 0, read));
if(Read < N) {}
break;
}
}
}
{Finally
If (br! = null)
Br. Close();
}
Return text.toString ();
}
private static final class FileContentsObject {}
private long cachedTime; currentTime
private long lastModifiedTimestamp;
private string content
List < String > lines;
private String fileName;
public FileContentsObject (long cachedTime, long lastModifiedTimestamp,
Content string, String fileName, List < String > lines) {}
this.cachedTime = cachedTime;
this.lastModifiedTimestamp = lastModifiedTimestamp;
This.contents = content;
this.fileName = filename;
This.Lines = lines;
SimpleDateFormat sdf = new SimpleDateFormat ("MM/dd/yy hh: mm :"); ")
System.out.println ("time & Date:" + sdf.format (cachedTime));
System.out.println ("' last modification timestamp:" ")
+ sdf.format (lastModifiedTimestamp));
}
/**
*
* @return the lines of the file
*/
List < String > getLines() {}
Return this.lines;
}
public String toString() {}
"return"Sheet1 {}"+" fileName =' ' + filename + '------"+", content = "" "
+ content + "\"+ ", lastModifiedTimestamp ="
+ lastModifiedTimestamp + ', CurrentTime & Date ='
{+ cachedTime + '}';
}
}
}
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
public class DynamicTest {}
Public Shared Sub main (String [] args) {}
Game characters charset = Charset.forName("UTF-8");
try {}
List < String > = CacheData.getLines lines ("en_synonyms", character set);
If (rows! = null) {}
System.out.println ("number of rows:" + lines.size ());
for {(String ligne: lines)}
System.out.println ("DynamicTest:" + line);
}
}
} catch (IOException e) {}
e.printStackTrace ();
}
try {}
List < String > = CacheData.getLines lines ("en_stopwords", character set);
If (rows! = null) {}
System.out.println ("number of rows:" + lines.size ());
for {(String ligne: lines)}
System.out.println ("DynamicTest:" + line);
}
}
} catch (IOException e) {}
e.printStackTrace ();
}
}
}
I have read and watched videos about the creation of an object of a class and calling its method in a different class. I'm still confused on how to do it properly. By using the code below if someone can explain how to properly call the method of objects from my hand.
Huh? You have NOT posted any 'hand' or any 'method of objects '.
If you need help with the code, you need to view the code.
The Java tutorials has dozens of trails "Classes and objects": what they are, how to create and how to use them.
https://docs.Oracle.com/javase/tutorial/Java/javaOO/classes.html
1. create an instance of a class
2. call to one or more of the public methods of this class
If the class has public static methods, you don't need to create an instance first.
I suggest that you work your way through these tutorials. They include the WORKING example code.
-
How to call hr_location_api.create_location to style different address with only fields that belongs to this style of address-specific. It should decide at run time indicates the time he will come to know the type of style of address and on this basis that the fields that belong to the details of the address mapped to hr_location_api.create_location calling.
Thanks in advance.
You can create a package wrapper above the API (hr_location_api.create_location)
In the package wrapper, you set all values dynamically according to your needs (for example the style and add_line columns are filled on your requirements) then, you call the API.
It doesn't work?
-
How to call a function plugin with command line parameters
I wrote a plugin that processes an open document. The treatment can be started by selecting a menu item in Acrobat. To start the processing of the command line, I also wrote a small Visual Basic executable file that currently a bit activates the menu command. However, I now have to pass some parameters to the plugin. I managed to call a function plugin with settings by loading the .api as a library file in the VB executable. But it seems that the entire Acrobat SDK functionality is not initialized in this way. So I can't work with the PDF file. How can I call my function plugin with settings in Acrobat? Thomas
You must establish a form of IAC (communication monitor) of your VB application with your plugin.
Whether COM, DDE, IPC, named pipes, shared memory files share, etc. is to you...
Maybe you are looking for
-
Issue of dual sim - impossible to get two sims work
I have a sim card I want to use for phones / SMS and the other that I want to use for mobile data. If I put two sim itself, it works very well. If I combined both and set them so that they are both on, that I want to use for the phone calls and texts
-
digital output: relationship between input and output values
Hi, could someone tell me if you are using digital lines material OR daqmx (SMU 6358, if it is dependent on the device), what is the value of weight of the inputs that will change the output of 0s to 1s? Suppose, I write a table of 10 numbers from 0
-
I write a question on behalf of the client. Here's the problem of the customer: Download pop3 not working/no outgoing changing email from Windows Live Mail to live / my sign in keeps popping up even though I'm.
-
Compac pressario sr5129uk NVLDDMKM getting failed in Vista
Help, please Vista home 32-bit, computer crashes and freezes and I get NVLDDMKM failed and recovered, the colors in the disappearing from the screen, tried to download the latest drivers, but still does not, in the case of safe mode all right. Driver
-
I recently changed internet service providers and now find that my email account by default for send/receive of my old internet service provider. When I try to change it, it asks me a password and I don't know what it is? How can I find what you and