URL target on a button. What is the syntax??
I can't for the life of me fine any references to the syntax for the URL target attribute of a button. What is it?
I need to execute a javascript function prior to leaving the page via a button. Do I place its call in the URL target? I actually want to redirect to a page in the current application but there is no place to create 'additional link attributes' like in a column link.
any help appreciated.
regards
Paul P
Paul,
I may have a work around for you. Here are the steps I took to call a function and then branch to another page.
</br>
<ol>
<li>Create a 'Display as Text' item, do not enter a label value and select 'No Label' for the template option.</li>
</br>
<li>In the Pre Element Text area insert an opening anchor tag with the following text href="javascript:function()" replace 'function' with the actual name of the function you would like to call and enter any parameters.</li>
</br>
<li>In post element text close your anchor tag.</li>
</br>
NOTE for steps 2 and 3 you can also inclue an img tag to make the display item appear to be a button. Otherwise you can enter any text in the default value and that is your link.
<li>In the very last line of your function add the folowing text: doSubmit('NewPage');</li>
<li>Create a page branch and set the page attribute to the desired page. ex. 160</li>
<li>Set its condition to"Request = Expression 1"and enter the text "NewPage" for Expression 1</li>
</ol>
This will call your function and then the submit at the end of the function will trigger the branch to a new page.
Let me know if it helps or if you could find a better way.
- Ghoulies
Similar Messages
-
What is the syntax for calling function from class file by jsp
does anyone here knows what is the syntax of how to call a function from java class file by javascript code or any way to call it?
and where should i put the calling function code? because the function is called depend on the user click.
for example
<%=pc.functionName(a,b)%>
for the variable a and b, how can i get the value from html textbox and put it in a and b...
urgent needed...
thxJsp's are executed before the Html forms are created and loaded. Dont try to use a java code function calling on a javascript click. You'll have to explicitly redirect it into a servlet where in you can call the function you want.
Well! another way could be using AJAX. That seems to be powerfull enough and it might also serve your purpose.
Hope this helps -
Pls. tell me what is the syntax the report output
Hi
In internal table fields name are department , degination , workers .
dept. degination
IT manager
***. manager
IT officer
IT officer
IT officer
mines workers
workers
workers
manager
manager
so i want to output is
dept . manager officer workers
IT 2 3
mines 1 3
what is the syntax pls tell me quickly ..Hi Bhabani,
Can you write clearly what you want.
i,e, do you want to display the no. of workers in each dept.?
Write clearly.
Sastry. -
What would the syntax be for type "select"?
This onload function works great for type "text" - what would the syntax be for type "select"? or is there an example?
(Vikas' example pg 227)
window.onload=function () {
var text=document.getElementsByTagName('input');
for (var j=0;j<text.length;j++) {
var ip=text[j];
if (ip.type=="text") {
ip.onchange=function () {
var td=html_CascadeUpTill(this,'TD');
var tr=html_CascadeUpTill(this,'TR');
// Getting the value of the PK
var pk=tr.lastChild.getElementsByTagName('input')[1].value;
alert(pk);
var l_cellindex=td.cellIndex;
var l_column=g_headers[l_cellindex].id;
var app=html_GetElement('pFlowId').value;
var pg=html_GetElement('pFlowStepId').value;
var get=new htmldb_Get(null,app,'APPLICATION_PROCESS=session_auto_update',pg);
get.add('G_ITEM1',l_column);
get.add('G_ITEM2',this.value);
get.add('G_ITEM3',pk);
alert('column='+l_column+',value='+this.value+',pk='+pk);
gReturn=get.get();
if (gReturn) { alert(gReturn); this.focus();}
get=null;
</script>Here it is... Do I need any adjustments?
var selectlist=document.getElementsByTagName('select');
for (var k=0;k<selectlist.length;k++) {
var select_ip=selectlist[k];
//alert(select_ip.type);
if (select_ip.type=="select-one") {
//alert(select_ip.type);
select_ip.onchange=function () {
var td=html_CascadeUpTill(this,'TD');
var tr=html_CascadeUpTill(this,'TR');
// Getting the value of the PK
var pk=tr.lastChild.getElementsByTagName('input')[1].value;
//alert('PK='+pk);
var l_cellindex=td.cellIndex;
var l_column=g_headers[l_cellindex].id;
var app=html_GetElement('pFlowId').value;
var pg=html_GetElement('pFlowStepId').value;
var get=new htmldb_Get(null,app,'APPLICATION_PROCESS=session_auto_update',pg);
get.add('G_ITEM1',l_column);
get.add('G_ITEM2',this[this.selectedIndex].value);
get.add('G_ITEM3',pk);
//alert('COLUMN='+l_column+',VALUE='+ this[this.selectedIndex].value+',PK='+pk);
gReturn=get.get();
if (gReturn) { alert(gReturn); this.focus();}
get=null;
} -
Apex4 bug: 'URL Target' textarea of button definition
Hi,
at Page Definition page when listing button definitions using prev/next buttons and sticking with 'Condition' section view only, 'URL Target' textarea ( 'Action When Button Clicked' section ) doesn't preserve its size.
ThanksTom -
I assume this is the prior post you where talking about : https://forums.oracle.com/thread/2401714
However, this doesn't cover my problem. I have tried all the follow, and they all break export / import and copy functionality due to mismatched quotes:
collapse_all($v(P2130_TREE_ID));
collapse_all($v('P2130_TREE_ID'));
collapse_all($v("P2130_TREE_ID"));
collapse_all('&P2130_TREE_ID.');
collapse_all("&P2130_TREE_ID.");
These all allow the collapse button to work.
NOW, if I change my ID tag to be something like 'P_SCOTT_TREE' then everything works just fine (import/export/copy). It's having a number in the tag that is cause the problems because the export is casting it to_char and somehow throwing in an extra quote.
Thanks,
Scott -
What is the correct URL for my ical on my MacBook so that all devices will have the same information? And how/where do I update that?
Thank you.I had major issues with the iPhone 4s battery, however it’s resolved.
The tech who set the phone up at the Apple store did so with little training.
if you have a mobile me account. First go and move all your data to the cloud by going on your computer and logging in at me.com/move. The cloud has replaced mobile me, so there is no need for those two accounts
Also make sure that for any of your email accounts you set them up to fetch, not push. My tech person set them all to have the email servers push data to the phone. The new iphone4s antenna is extremely strong so it will continually try to access stuff that is pushed–***** a lot of battery life doing this. It makes it worse if you have exchange 2010 accounts. Something about changes made to exchange really suck battery life from devices that access such accounts.
turning of locator and the push notifications from facebook--they have a lot! -
What is the syntax of portal page nav or go url for siebel analytics 7.8.5
onclick=\\\"JavaScript:PortalPageNav(event,'//shared/Vision_QoE_Reporting/_Portal/VISION QoE', 'VPPSID Detail Report','F_VISION_QOE', 'VPPSID','\"+VPPSID+\"','CTL_REPORT_MEASURE','REPORT_NAME','\"+REPORT_NAME+\"','F_VISION_QOE','EDW_DATE','\"+EDW_DATE+\"');\\\"
Sudipta Gupta wrote:
Hi Experts,
Currently my company has given me the task to check the issues of IE8 support for Siebel Analytics as they are trying to upgrade IE6 to IE8.
So I have the following queries:
1. Will Siebel Analytics 7.8.5 supports IE8?Yes
2. If not, then is there any patch available for 7.8.5 version to support IE8?No patch required
3. What are the other options there might be?You might face some issues with GUI but no any major techical promblem
Hope this clears your doubt -
What is the syntax for the mdx offset in universe designer?
Hi everybody!!!
I wish someone could help me with my mdx syntax. I made an universe with Universe designer (BOEdge 3.1) from a BW query and I'm trying to create in this universe an object with an offset.
My new object has to be the result of the [0CALYEAR].[LEVEL01] with "- 1" offset, is it possible???
I tried to put the code in the select or in the where fields of the object but without results. When I try to make a query in webi rich client this "new object" doesn't work...
Please help me...
DarioHi Ingo,
thank you for the reply.
I tried to use that document...the problem is when I put the code in the object (inside univ des) and I analyse the code using the button, the syntax is every time without errors. When I try to make the query in webi rich client , if I use that object the software shows a window with error.
I used these code in the "where" field:
1. <EXPRESSION>@SELECT([0CALYEAR].[LEVEL01])-1</EXPRESSION>
2. <EXPRESSION>@SELECT(Anno calendario\L01 Anno calendario)-1</EXPRESSION>
the problem is to find the right syntax for what I want...the -1 offset for the new object from the OCALYEAR. I need that if in webi I select from the object filter [0CALYEAR].[LEVEL01] the value 2010 - in the new object will be 2009 etc...
Dario -
What is the syntax for this?
Hi,
I'm new to CF and am trying to create a security layer for a
page that has some links where users can download a program.
I am trying to say, "If you're not logged in and you request
"myapplication.cfm", abort and go back to the index page. What is
the correct syntax for this? Also, could you please spell it out
since, as I said, I'm new to CF and to programming. Thank
you!AmyEverAfter wrote:
> I was putting it in the Application.cfc file.
>
> The OnRequestStart function doesn't seem to work for
what I'm doing.
OnRequestStart has always worked for me for this type of
function. But
as I have no clue to what you are doing, I can't say why it
is different
for you then for me.
Have you reviewed the example in the documentation?
http://livedocs.adobe.com/coldfusion/8/htmldocs/appSecurity_14.html
http://livedocs.adobe.com/coldfusion/8/htmldocs/appSecurity_15.html
http://livedocs.adobe.com/coldfusion/8/htmldocs/appSecurity_16.html
http://livedocs.adobe.com/coldfusion/8/htmldocs/appSecurity_17.html
And the entire section on Securing Applications in the
ColdFusion
Developer's Guide?
http://livedocs.adobe.com/coldfusion/8/htmldocs/appSecurity_01.html
If you have and are still having trouble, we need to know
what the
actual problem(s) is|are, how you have tried to solve them
(i.e. code)
and what the results where as well as any error messages
generated. -
If you make an array of buttons, whats does the listener listen out for?
for example:
JButton [] testButtons [6];
for (int i = 0; i< 6; i++){
testButton[i] = new JButton[]
testButton.addActionListener(this)
public void actionPerformed(ActionEvent e){
if(event.getsource) = ??????
I've tryed testButton[i], testButton[1], testButton[]. testButton, ect, but nothing seems to work. What do I need to do?That looks like a good idea - thanks...
It would also allow a switch-case structure instead of a long chain of if/if-elses...
but would you have to define a long list of ints as variables to refer to for each specific actoin sequence?
like...
int LOAD_FILE=1;
public void actionPerformed(ActionEvent ae) { int index= ((IndexedButton)ae.getSource()).getIndex();
switch(index){
case LOAD_FILE: //whatever
break;
}[/code
regards,
lutha -
What is the syntax please srw.run_report
hi
Im trying to call report B from report A.
I am using a param for report A and also need to send this through into report B when calling.
I have seen a few different syntax examples but not sure when using a lexical param(presuming this is what i need)i hope anyone can help
davidHi david
begin
srw.run_report('report=d:\urreportname.rep'||'employee='||:empno);
exception
when srw.run_report_failure then
srw.message(30,'Error runing reports.');
raise srw.program_abort;
end;
put above code in push button if u are using 6i
regards
prasanth -
What is the syntax for If x contains ...
I've tried
KF Debit Memo
'KF Debit Memo'
"KF Debit Memo"
... but it is not getting caught?OK - I found the answer in a piece by Steve Rumsby ...
" ....Because the Personas script IF only tests values in screen fields, I have a hidden field into which I paste a value that can be tested....."
These leaves a issue when you don't know what screen you're going to be on.
In DP91 RRB - attempting to create a Debit Memo Request can either take you to a flavour of DP91 or VA02 therefore you need to paste the task bar value into an on screen field on VA02 or DP91 .... how to I know which one to past to?
Any logic brain boxes out there? -
What's the syntax for Insert statement in Servlet?
I'm trying to insert record into table using servlet. Can you please show me the statement and syntax of how to use it?
hi
we can insert in 2 types
1) to all column insert
insert into <tablename> values ( 1,2,3,4...n);
2) particular column insert
insert into <tablename> ( col1,col2,col3...n) values ( value1 for col1, 2 , 3...n);
ex:
PreparedStatement ps = con.prepareStatement ( "insert into billtable (grandtotal,userid,creditno)values( ?,?,? )" );
//bill table
ps.setDouble ( 1, 10.50); //replace this double value with double variable
ps.setString ( 2, "vijay");
ps.setLong ( 3, 1111111111);
ps.executeUpdate ();
ps.clearParameters ();
ps.close ();More Details refer java with Jdbc concepts -
What is the syntax for set-key RSA-PUB in JCOP Shell?
I am trying to perform Put Key for the RSA DAP Verification Key using JCOP Shell.
I have tried variations of the following:
set-key 115/1/RSA-PUB/[128 byte public key modulus]
set-key 115/1/RSA-PUB/A001[1 byte public key exponent]A18180[128 byte public key modulus]
set-key 115/1/RSA-PUB/A001[1 byte public key exponent]A180[128 byte public key modulus]
But when I send the following command on a SSD with DAP Verification privilege after mutual authentication
put-key -m add 115/1
I get jcshell: Unknown exception: java.lang.ArrayIndexOutOfBoundsException: 161 (or 172)
Thanks,
MingThe format for RSA-PUB is:
<pubexp length><pubexp><mod length><mod>
For example:
115/1/RSA-PUB/0301000180xxxxxx.... -
There seems to be quite a bit of confusion over the actual syntax for the user and group filters on the Forms Based Authentication Ldap Role and membership providers.. MSFT isn't really clear and there is a universal confusion in the blogsphere.
I the filters should the prefix be the ACTUAL Ampersand or the HTML token for an AMPERSAND.. I realize the in many cases the blogger might have inadvertently specified the html token when the bare naked ampersand was intended.. The question
therefore is : can a filter be taken directly from and ADSIEdit query and used as a filter or must the filter be made HTML safe by swapping out the AMERSAND with the HTML Token for AMERSAND before putting it into the configuration
for the LDAPRole/membership provider...
All science is either physics or stamp collectingHi GUYO,
I am not quite sure how we implement this on sharepoint side, as I did research and sharepoint may not have this feature to do this.
most of the LDAP for sharepoint may need to follow these steps in this article:
http://technet.microsoft.com/en-us/library/ee806890(v=office.15).aspx
http://blogs.msdn.com/b/sridhara/archive/2010/01/07/setting-up-fba-claims-in-sharepoint-2010-with-active-directory-membership-provider.aspxhttp://blogs.msdn.com/b/kaevans/archive/2013/01/31/configuring-ldap-for-fba-in-sharepoint-2010-or-sharepoint-2013-with-powershell.aspx
here is an example :
http://blogs.msdn.com/b/sharepoint__cloud/archive/2011/12/20/achieving-fba-with-adlds-amp-sharepoint-2010.aspx
if should this questions was at the ADSIEdit part, perhaps you can help us by opening a new thread at the AD foum
https://social.technet.microsoft.com/Forums/en-US/home?category=windowsserver
Regards,
Aries
Microsoft Online Community Support
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.
Maybe you are looking for
-
Not able to see Data in Xcelsius 2008
Hi everyone, My question is I am not able to see data in Xcelsius spreadsheet although I am able to connect to SAP BW and also able to see and select query but when I select Cross Tab Data in output Values it is not displaying in Xcelsius spreadsheet
-
Oracle 10g - Not Shutting Down in Vista Home Premium.
Hello Guys. I installed Oracle 10gR2 successfully on Vista Home Premium.. I can even make a table which logging as a Sysdba .. but when i want to Shutdown the database, it doesn't shutdown . I re-installed Oracle 10gR2 thrice and create/delete databa
-
Error "No entry in table T589A for P" while creating new Infotype
HI, I've created a new infotype (9605). All the tables, structures, screens etc. have been created using transaction PM01 successfully. But upon execution of Infotype from PA30, the infotype screen is displayed with the following error: "No entry in
-
High CPU load on SUP720-3BXL / C6k
Hi, I know it has been discussed many times before, but may I get some new inspiration to solve some problems here. We've some c6509 with SUP720-3BXL. One of routers has a WS-X6704-10G module with DFC. This is the only card installed besides the SUP7
-
Missing Thread Record and Invalid Extent entry when booting
Hi all, When I boot up my PowerBook G4 it freezes. When I boot into single user mode and run fsck -fy I get the following messages: ** /dev/rdisk0s3 ** Root file system ** Checking HFS Plus volume ** Checking Extents Overflow file. ** Checking Catalo