How to stop going backwards when the user click on bar train ADF
Hi allI use the Train of the Adf. and I would like to know how to get the following scenarios
When the user click on step backwards train by train bar, I like to do validation and don't let go without validation.
With respect,
WP
Hello
ADF Code corner (http://www.oracle.com/technetwork/developer-tools/adf/learnmore/index-101235.html#CodeCornerSamples) will have a solution as sample 97. It will probably come out tomorrow
Frank
Tags: Java
Similar Questions
-
Hello
I displays a table on the screen. This table is read only during the initial page load. I want to do only two columns as editable on five in a row when the user clicks a line using adf 12.1.3.
Is it possible in the adf. If possible how to handle this. Please help on this.
For example, drop table editable Full and then replace rest inputText (components entry in general) with af:outoutText, everything except those two.
And use the clickToEdit feature...?
-
Hello
I have a script that when you exit a field without the user data that a script response is mentioned.
When the user has entered the required data in the dialog box and click the OK button I wish that the data user in the field as a value.
Please can someone tell how this is possible?
The script is listed as follows:
If this field is stopped without the user to enter data, the following message is displayed
If
(Employee_ID.rawValue == null)
{
XFA. Host.Response ("is a required field, enter your employee id');
}
Hello
I think that this script will do the job:
If (this.rawValue is nothing)
{
var id = xfa.host.response ("is a required field, enter your employee id');
this.rawValue = id;
}Yan.
-
Hallo,
When a line of my af:table is selected, I'd like to perform actions; in particular, I have to toggle a button based on the values of a group of fields to the selected line.
What are the possible approaches to achieve this?
Thank you
Federico
Use a generic selection listener (http://www.oracle.com/technetwork/developer-tools/adf/learnmore/23-generic-table-selection-listener-169162.pdf) and call your actions here before or after the selection of the new current line.
Timo
-
How to make a text field required at run time when the user clicks on the box?
I had a form, there are several checkboxes fields and the text associated with the check boxes. If the use clicks on the checkbox then partner
text fields should become mandatory. I tried the change event and the click event of the boxes. There is error in the onChnage event and I got some odd results in the click event on. Sometimes, if the user clicks the check box, then for the 1st time the field is not required, then the user onclicks the box and when the user clicks the check box for the second time the field becomes necessary, but if I turns off the option highlight the field and selects the field becomes necessary even if the user onchecks I am totally confused! To add that I have also written an incorrect code always I reached the goal? How it can be possible. I write the codes below, please help me because I am working under a deadline from the client.
onChange event:
var = this.boundItem (xfa.event.newText) newVal;
if(newVal == 0)
{
xfa.resolveNode ("form1. Subform0.Subform1.Subform9.Subform10.Table48.Row4.Purchasecost3_1'). validate.nullTest = "disabled";
}
on the other
{
xfa.resolveNode ("form1. Subform0.Subform1.Subform9.Subform10.Table48.Row4.Purchasecost3_1'). validate.nullTest = 'error ';
}*/For the onClick event:
var a = xfa.resolveNode ("form1..") RawValue Subform0.Subform1.Subform9.Subform10.Table48.row2.CostItemRecovere d_OnlyEnergyCharges");
App.Alert (a);
if(a == 0)
{
xfa.resolveNode("form1.Subform0.Subform1.Subform9.Subform10.Table48.Row4.ComplianceCheck__L1_1").validate.nullTest = 'error ';
}
if(a == 1)
{
xfa.resolveNode("form1.Subform0.Subform1.Subform9.Subform10.Table48.Row4.ComplianceCheck__L1_1").validate.nullTest = "disabled";
}Please help someone!
Hello
You may need this resolved at this point, but here are a few tips.
An example of a loop in a dynamic array is here: Re: how to make invisible/visible or hidden columns with checkbox?
You are usually not necessary to resolve the nodes, especially when the script object is in the same table as the target objects.
For example if the table was not static your script could be simplified:
if (this.rawValue == "1") // this object is in Row2 { Row4.ComplianceCheck_L1_1.mandatory= "error"; ... }
However because you will be to loop through all the rows in the table repeatable instances / then you need to resolve the nodes. Take a look at the example above.
In your script, you have to Row8 Row4. I don't know if this is repeatable or just some of them. If we take Row4 as being repetitive, then you can apply the following to all repeatable lines.
var vRow4 = Table48._Row4.count; console.println("Row4: " + vRow4); // You can delete this or comment it out after testing
if (this.rawValue == "1") // this object is in Row2 { for (var i=0; i
I have not tested, but it should be close to work.
Good luck
Niall
-
How to trigger DA when the user clicks a button close the standard window
Hello!
Apex 5.0 & universal theme.
I want to trigger some DA when the user clicks on the button indicated to my image (button close the standard window). In fact, I would like to pass a value of my hidden form IR back and refresh IR if value = 1 or don't refresh with another value.
Is this possible?
Thank you.
Hi Yava,
Seems that you have chosen to add the event handler to the page parent (the one with the IR). I think it's best. This means that the code above does not apply.
The dialogclose event and all other dialogue jQuery UI events are triggered in the dialog box to create a DA pull on the IR will not work (because the dialog box is outside the IRR while she bubbles it won't go through the SORTING). You must handle the event on the body. This works because the event propagates to the body. Set the Type to choose to be "jQuery Selector". JQuery Selector enter 'body' (without the quotes). The event you want to handle is a custom, event which means that this isn't one of those in the select list. For event, choose "Custom". Then enter Custom Event "dialogclose" (without the quotes). Now you have a DA who fires when * all * dialog closes. You may or may not need to get more selective than that. For action, you can use refresh as you do already.
Kind regards
-John
-
How to put in pause/playback my project when the user clicks?
Hi all
I'm working on a project using Cp4.
My project plays automatically without user intervention.
I need project to be suspended when the user clicks a clickbox running.
I can break the project by adding a clickbox and applying the property ' to pause project until user clicks on.»
But it must be a user interaction whether to pause or play.
I use playback controls by hiding all the options to control playback bar red break and play option, but I need to pause the button inside the project.
I dnt want to display playback controls by using the Table of contents.
__________________________________________________________________
I could find this content at http://help.adobe.com/en_US/Captivate/4.0/Using/WSCB934979-86BE-40d2-8BB8-A66956575988.htm l #WS8898B608-FC25-4439-BABC-3AD722144202
In this page, it clearly says that we can break the project if we set the value of the variable 'rdcmndPause' to 1.
In this page, it clearly says that we can play the project on hold if we set the value of the variable 'rdcmndResume' to 1.But I applied the same values for these variables and tried to control my project its does not work.
Kind regards
Kartik.P
Hello
Maybe the link below will help?
See you soon... Rick
Useful and practical links
Begin to learn Captivate 5 times now! $29.95
Captivate wish form/Bug report form
-
How to display a drop-down menu when the user clicks on a point on lineseries?
Hi all
I am new to flex development.
I watch the series online on the Board, I would like to give a response when the user clicks on the "point" on the line, I want to display a menu drop down and react to the choice of the user on the menu item.
Is this feasible? Any sample or reference?
Thanks in advance.
Jack
I prefer to use itemClick localX or stageX, according to me, one of these will help you get what you want.
-
Can I interrupt my project when the user clicks?
Hi all
I'm working on a project using Cp4.
My project plays automatically without user intervention.
I need project to be suspended when the user clicks a clickbox running and needs to play when the user clicks on the same clickbox again.
I can break the project by adding a clickbox and applying the property ' to pause project until user clicks on.»
But it must be a user interaction whether to pause or play.
Is this possible? How could I do my work?
Kind regards
Kartik.P
Hello
Maybe I missed the original request, but if you just want to users the ability to stop/start your project at a time that suits them... have you considered reading control options? It is a simple option that allows the user to pause/run the slide as they wish...
-
Report - Warning Message When the user clicks on the link with the value 0
Hello
I have a report with several areas, for example. Year, high priority project manager, County of medium priority project, project manager of low priority.
I used column attributes to bind the data of the report on page 22.
Now, some cells in the report have 0. Isn't it possible that when the user clicks on 0 binding doesn't to page 22, but see the window alert javascript indicating no data.
Any help will be much appreciated.
Kind regards
ShijeshYou can take a look at the following page
http://HTMLDB.Oracle.com/pls/OTN/f?p=31517:228
to see how this is possible.
Denes Kubicek
-------------------------------------------------------------------
http://deneskubicek.blogspot.com/
http://www.Opal-consulting.de/training
http://Apex.Oracle.com/pls/OTN/f?p=31517:1
------------------------------------------------------------------- -
Hello world
Is there a signal when the user clicks the overflow (3 points icon) on the actionbar button? I would like to receive this signal (and signal when the overflow menu is closed) in order to modify the list of action items.
Thank you very much
-tom
actionMenuVisualStateChanged is what you are looking for
-
Make the text appear in the box when the user clicks on the part of an image
Is there an easy way to do this in the Muse?
(1) do different areas of an image map.
(2) automatically type the letter 'A' in a text box when the user clicks the area 'A' and so on.
Thank you!
Essentially, you want a keyboard on the screen? This is not possible with the standard tools of Muse. It would be quite simple with Javascript, however.
David
-
Hello
I have a requirement to disable the first/previous/next/last buttons when the user clicks on the button "create". The must be enabled after the user clicks on the submit, and then the button "validate".
Is this possible please?
Thank you.
Hello
Using BC4J in the model layer? If so, you might use an EL to the property of disabled button. Something like
Replace
in the binding attribute on your page (preferably the primary key of your form attribute). Arun-
Edit: Check out this blog for more information on this EL: https://blogs.oracle.com/adf/entry/highlighting_new_rows_in_adf
-
Canceling a task of bpm when the user clicks Cancel
I have a BPM process with a task that appears on a users workspace, the user needs to update a field on a screen (implementation of entry). The task has autocomplete, checked, so they do not have to manually click the next step in the task. When the user clicks the Cancel button, it seems to cancel the entire process, rather than just the task. Is there a way to do this?
BrandThat's the problem with the help of the ' entry' option for main task of the Interactive activity (the 'Cancel' button is not doing its job properly).
Go with a screenflow. If you want to continue to use the "entry" for the Interactive task component call, be returned of course to have the named conditional transition 'Cancel' and the button of setting the value of the entry to be the predefined variable "result" (BPM object presentations normally use 'Cancel' - instructions Input need to 'Cancel').
Dan
-
The text element values value when the user clicks a report line.
The text element values value when the user clicks a report line.
I have a report based on the EMP table and two elements P911_EMPNO, P911_DEPTNO. When I click on one of the lines the EMPNO and DEPTNO is copied to the text elements.
It works fine if I leave the EMPNO and DEPTNO as SHOW report, but if I then these clear values are not retrieved the report form (my javascript is very limited).
I need a method to retrieve the data hidden in the report and display in the text without the reposting of the page elements.
Also, would be nice if the line was highlighted until another line is clicked but especially is my priority.
Elements
P911_EMPNO, P911_DEPTNO (field of disabled text, saves the State)
Report
Select * from emp using the model of report below.
Custom model.
standard_report_cust_P330-a copy of the standard report with a change model.
BEFORE EACH LINE
< tr onclick = "selectRow (this);" #HIGHLIGHT_ROW # >
* Javascript in the Page Header.*
< script language = "JavaScript1.1" type = "text/javascript" >
function selectRow (p_tr)
{
var l_deptno = p_tr.childNodes [8] .innerHTML;
var l_empno = p_tr.childNodes [1] .innerHTML;
html_GetElement ('P911_DEPTNO'). Value = l_deptno;
html_GetElement ('P911_EMPNO'). Value = l_empno;
}
< /script >
If anyone has any ideas. Thanks, PeteHello
When you use this type of report model, you actually control on where the column values are used - and they can be used several times.
For example, a setting of 'Model line 1' for one such model could be:
<tr> <td class="c1">#1#</td> <td class="c2">#2#</td> <td class="c2">#3#</td> <td class="c2">#4#</td> <td class="c3">#5#</td> </tr>
#1 # fact refers to the data in the first column, #2 # for the second and so on. So you can do:
<tr onclick="javascript:dosomething('#1#','#2#');"> <td class="c1">#1#</td> <td class="c2">#2#</td> <td class="c2">#3#</td> <td class="c3">#5#</td> </tr>
For example, by clicking on the line would trigger the dosomething() function and pass in that the values of the first and second columns. Also note that the 4 # does not appear now - this column is 'hidden' (but note that you must check the box to show the column)
Andy
Maybe you are looking for
-
Satellite A50 543, too much contrast
HelloI bought yesterday an A50-543.After starting the laptop, I ve seen that the machine has too much contrast. I changed the settings of Gamma Correction.But in the default settings, the machine has a lot of contrast. We t couldn't compare this note
-
Satellite L650-116 - can't play games online
Hello I have problem with my Toshiba Satellite L650-116. I can't play games online. "Every time when I m starting the game, top salons reviews failed to connect with the server.I tried with different games such as: Americas Army, World of Tanks and o
-
HP Jet 13: could not get the usable screen after you enter the password when you restart
After reboot I get the standard wallpaper (like the rings of Saturn), hour, day, week, month, and day, wifi bars and battery. After the press, I have the icon pushing, my name, email and password. By entering the password I get the points surroundi
-
See above
-
Pane (Advanced) search for Windows 7?
I've been using Windows 7 for a while now and love it! However, when I was preaching to my family and my friends, they asked me if the search pane advanced (that we had running XP) is back in Windows 7. Of course, with the advanced Windows search que