How to set and read a variable in a UIX page
In a similar fashion to how JSP works, I need to set a variable if a certain condition occurs at a specific processing point in my UIX page, and then conditionally create output in the page based on the value in my variable. How can this be done in UIX?
Brad
Hi ,
Decalring the Varible :
<?xdoxslt:set_variable($_XDOCTX, 'var', 0)?>
Do the calculation :
<?xdoxslt:set_variable($_XDOCTX,'var', xdoxslt:get_variable($_XDOCTX,'var‘)+ XML columnname)?>
Display the Variable :
<?xdoxslt:get_variable($_XDOCTX, 'var')?>
Declare the varaible before your loop starts.Do the calculation part inside the loop so for each row it will be updated.
Display the results where you want using the form field and place the display varaible syntax.
Hope this will helpful for you.
Thanks,
Ananth
Similar Messages
-
Code to set and destroy session variables in Java Server Pages(JSP)
code to set and destroy session variables in Java Server Pages(JSP)
we have use following statement to set session variable
session.setAttribute("userClient",id);
we have use following statement to destroy session variable
session.setAttribute("userClient","");
and
the session.invalidate() is not working
Plz. solve this probemcode to set and destroy session variables in Java
Server Pages(JSP)
we have use following statement to set session
variable
session.setAttribute("userClient",id);
we have use following statement to destroy session
variable
session.setAttribute("userClient","");Perhaps if you tried using
session.setAttribute("userClient", null);
or
session.removeAttribute("userClient");
and
the session.invalidate() is not workingNot working how?
>
Plz. solve this probem -
How to set and read pixels? AffineTransform?
I understand how the AffineTransform class works but I don't see a way to set the color of and read the color of individual pixels in my JPanel. Any help will be apppreciated.
you can't do that with AffineTransform. AffineTransform let's you translate/rotate/shear/scale before rendering, but you don't have access to pixel values.
Try instead creating an empty bufferedimage, draw into it whatever you want and then you have access to the pixel values via bufferedImage.getRGB()/setRGB().
or you get more basic and manipulate the WriteableRaster of your image directly. -
How to set and read cookies in adobe edge animate
Hi all,
I need help in writing and reading cookies using adobe edge, is there is a way to do it I serached the internet but I did not find something simlliar?
thanks in advanceTo test with this plugin in a simple HTML page, you'll need to also include jQuery itself.
For example:
<script src="/path/to/jquery.js"></script>
<script src="/path/to/jquery.cookie.js"></script>
</head>
There are a few different ways that you could load the jQuery.cookie plugin into your composition. Regardless of the method, I recommend loading it at the compositionReady trigger. This is the trigger that fires after the composition is ready to play.
This blog post shows one way to load in external .js files:
http://chrisgannon.wordpress.com/2012/09/01/loading-external-javascript-in-adobe-edge-anim ate-the-easy-way/
Here's how you would be applying this method for the jQuery.cookie plugin:
Then enter in code similar to this:
yepnope(
nope:[
'/path/to/jquery.cookie.js'
complete: init
function init() {
//create your cookie's initial values here
That would load in the jQuery.cookie plugin.
It would then be up to you to create/manipulate the cookie's data as needed for your purpose. Most likely, you would scroll to a point in the timeline where you want data to be changed and/or read, add a trigger, then insert the necessary code. -
How to declare and read a variable more than 255 characters
Hi Friends,
Actually i want to declare a variable which can accepts more than 255 characters as input and the same manner i want to read the data and pass the data as a output length more than 255 characters.
So how can i delcare the data as a field in the table.
Thanks & Regards
GuptaHi Raj,
Thanks for your reply, please privide the further clarification actually by declaring a variable as string i can able to pass 1023 characters form selection screen like that i passed the data to the three varibles and i concatenated those three varibles in to single varible now is there any way to pass the result into the smartform.
Please give me some techincal stuff on this
Regards
Gupta -
How to Set and Use a global variable within a session?
Dear All,
I'm new to jsp, and would like to ask how to set and use a global variable within a session?
Thanks in advance.
Regards,
CecilWith session.setAttribute("name",object) you can store a Attribute in the session object.
with session.getAttribute("name") you can get it.
That's it.
Regards,
Geri -
How to set and save Custom Print Settings in Aperture?
How to set and save Custom Print Settings in Aperture
Hi,
I am printing 12x18" images on 13x19" sheets. I find it difficult to enter the 13x19" dimensions because each value jumps to another random value when I move to enter the second dimension. For instance 13 jumps to, say, 8.5 as I type 19 into the second box. Same with the sheet dimensions.
Also, when I finally get it all correctly, the margins don't set themselves automatically - which I would I expect.
Then, even though I save the setting by clicking Save Setting at the gear below, next time I turn Aperture on, it's all gone.
Any ideas? Thanks.
RaphaelFor me, it is working with these settings, Raphael.
Does your image have a 12x18" aspect ratio? You may want to crop it to the desired aspect ratio before printing.
I can only test with Aperture 3.6 on Yosemite 10.1. -
How to set and resent reconcilation a/c for Assent a/c
hi
how to set and resent reconcilation a/c for Assent a/c
amkYou are permitted to post the recon account undercertain special circumstances :
USe the transaction codes OAMK and OASV.
Kindly read the SAP on line documentation before making a postings directly to the recon account.
Definition of the Reconciliation Accounts
You are not allowed to manually post to the reconciliation accounts for Asset Accounting in Financial Accounting. Normally, you designate the corresponding General Ledger accounts in Financial Accounting as reconciliation accounts. This change, however, can no longer be made in Financial Accounting, once these accounts already have balances from the legacy data transfer. However, you can use a special report to assign these accounts the status of reconciliation accounts in Financial Accounting (in Customizing for Asset Accounting, choose Preparing for Production Startup ® Production Startup ® Set Reconciliation Accounts).
There is another report for removing this specification (Reset Reconciliation Accounts).
Subsequent Correction Postings to Reconciliation Accounts
Suppose you have already defined the asset G/L accounts in Financial Accounting as reconciliation accounts, but still need to transfer balances to these accounts, or make corrections. You can make correction postings to these reconciliation accounts with a special posting transaction in Customizing for Asset Accounting (Transfer Balances), using posting key 40 or 50. You can only postings to those accounts in a company code with implementation status (Customizing for Asset Accounting, choose Preparing for Production Startup ® Production Startup ® Activate Company Code). -
If user disable cookie how to set and use session with URL Rewritting
if user disable cookie how to set and use session with URL Rewritting by append session ID in url
If cookies are disabled, then app server will automatically try to use URL rewriting for session control. Programmer's responsibility is to encode any links or redirects using
response.encodeURL("/yourPage.jsp")
and
response.encodeRedirectURL("/yourPage.jsp")
See API for details
http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/http/HttpServletResponse.html#encodeURL(java.lang.String)) -
Declare, Set, and Use a variable in a SQL Developer Query
I come from the SQL Server world and am trying to do something very simple: Declare, set, and use a variable in a query. For example:
Declare @lastPeriod date;
Set @lastPeriod = (select max(payperiod) from table 1 where payperiod < current_date);
Select field 1,
Field2
From table2
Where payperiod = @lastPeriod
The variable is going to be used in more areas in the query which is why I am simply not using a Sub-query in the where clause. I appreciate any assistance.This forum is for issues with the SQL Developer tool. You'd get more response in the SQL And PL/SQL forum.
That said, read up on bind variables and substitution variables.
Whenever you can you should use Bind variables (e.g. *:lastPeriod* ), as they increase performance. In sqldev, there's no need to declare as you will be prompted to enter them on execution (F9), but you do if you execute as script (F5) (e.g. VARIABLE lastPeriod VARCHAR2(30);).
Alternatively, Substitution variables (e.g. *&lastPeriod* ) will literally be substituted in your statement before the database parses it. In sqldev, there's no need to declare as you will be prompted to enter them on execution (either F9 or F5), but you can (DEF lastPeriod='TEST'; ).
Have fun,
K. -
How to get and read a file from META-INF directory
how to get and read a file from META-INF directory in a EJB project
Use this.getClass().getResourceAsStream("/META-INF/filename");This should work. Probably, you would need to set the Manifest Class-Path attribute.
-
How to set and retrive the index log path stored by parameter LOG_DIRECTORY
how to set and retrive the index log path stored by parameter LOG_DIRECTORY.
http://download-west.oracle.com/docs/cd/B19306_01/network.102/b14213/lsnrctl.htm#sthref72
http://download-west.oracle.com/docs/cd/B19306_01/network.102/b14213/cmctl.htm#sthref239 -
How to set a new session variable?
Hi all,
Can anybody say how to set a new session variable in istore?Hi,
you can use either
pageContext.getAttribute(VAR, PageContext.REQUEST_SCOPE);
or
<%@page session="true" %>
session.putValue
session.getValue
Hope this will help.
Thanks
Gurjeet -
How to create and read text file using LabVIEW 7.1 PDA module?
How to create and read text file using LabVIEW 7.1 PDA module? I can not create a text file and read it.
I attach my code here.
Attachments:
File_IO.vi 82 KBWell my acquisition code runs perfect. The problem is reading it. I can't seem to read my data no matter what I do. My data gets saved as a string using the array to string vi but I've read that the string to array vi (which I need to convert back to array to read my data) does not work on the pda. I'm using version 8.0. So I was trying to modify the program posted in this discussion so that it would save data from my DAQ. I did that but I still can't read the data after its saved. I really don't know what else to do. All I need to do is read the data on the pda itself. I can't understand why I'm having such a hard time doing that. I found a possible solution on another discussion that talks about parsing the strings because of the bug in the "string to array" vi. However, that lead me to another problem because for some reason, the array indicators or graphs don't function on the pda. When i build the program to the pda or emulator, the array indicators are faded out on the front panel as if the function is not valid. Does this kind of help give a better picture of what I'm trying to do. Simply read data back. Thanks.
-
How to write and read data in a specific memory location ??
Hi Everyone:
Does anyone know how to write and read data in a specific memory location by using Java ?
I need pointers, but I don't know how to do it ??
Thanks for answering
RodgerHi Everyone:
Does anyone know how to write and read data in a
specific memory location by using Java ?
I need pointers, but I don't know how to do it ??
Thanks for answering
RodgerWith Java you cannot write to a specific memory location. Java does not have pointers. If you really want to do it, you need to use JNI, i.e write the required functions in C (or other languages that support pointers) and make those functions available to Java (through JNI). This approach is not portable. You can have a look at http://java.sun.com/docs/books/tutorial/native1.1/index.html
Regards.
Maybe you are looking for
-
Accessing JSTL values from JSP
I've run into a problem I'm not sure has a solution. Could be bad design on my part, or just a poor imagination. If this has been answered previously, please point me to the post. I am using some JSTL to do a SQL query and displaying the records in a
-
No internet access from my airport
Hi there, I have a problem with my two airport express. I'll explain first my config I have one Router (from the internet provider so not apple) connected to an ADSL line with ethernet hardwired Conections to both Airport express. the to AE hav
-
On turning on my MBP today I notice all the desktop icons were missing including the H/D icon. The menu bar still displays correctly and the screen is correct. How can I get back my desktop icons? I've tried preferences, restarting, looking to see if
-
Hi ! I didn't find a forum specific to pro*c, so here i am because i was told this forum had a bit of pro*c activity.... I've downloaded Oracle 11g and recompiled our applications using pro*c We currently precompiling without any problem our sources
-
How to Debug Idoc Adapter from XI to R/3
Hi, Can any one please help in debugging the Idoc adapter from XI to R/3. Here is the my problem - XI to R/3 idocs have been created correctly but the service relation ship is created incorrectly. i.e. When XI creates inbound idoc into R/3, it is als