Subform is hid during the click on check &; send process SAP HCM
Hello
I am posting this here because it is more the problem of form to Adobe.
Here is my requirement, I've been struggling with.
I have 3 subforms of the same type (contains 8 fields each) to add the members of the family. Subform 1 is mandatory and is always visible. Subform 2 and 3 are hidden when the form is loaded. I have a JavaScript on the initialize event to hide.
this.resolveNode("subform_name").presence = 'hidden ';
When the user decides to add more details, click on the Add button that makes the subform 2and 3 visible, one at a time. Script under the click event for the Add button is:
If (this.resolveNode("subform2").presence == 'hidden') {}
this.resolveNode("subform2").presence = "visible";
this.resolveNode "(PRI_DES2. PRI_FLAG2") .rawValue ="X "; «I'm too add a flag on a field on the Add button.»
}
On the event ready subform2 form: I've got the code for the visible subform2 below.
If ($record. PRI_FLAG2 == 'X') then
.its presence $ = 'visible '.
endif
Everything works well up to this point.
When the user fills in the data and click on check and send, the subform2 disappears; Note that the values in the fields are still there, I can see it when I click on the Add button. I am sure that the initialize event fires again on the cheque and send, taking the form of the initial phase.
I tried different ways to restrict it. I use not responsible for instance, just make subforms hidden / visible. I have FORMCALC and Javascript on the form.
Please help with any suggestions / ask me for more details.
Many thanks - Raj
Hi reda,.
I don't know if I understand you right...
- Subform 2 and 3 do not need a script in initialization - go to object. Subform. Presence | Hidden (Exclude..)
- If the user click on the Add button you need not the If Condition
- I would write
- this.resolveNode("subform2").presence = "visible"; OR xfa.resolveNode("subform2").presence = 'visible '; OR subform2.presence = 'visible ';
- this.resolveNode "(PRI_DES2. PRI_FLAG2") .rawValue ="X "; OR xfa.resolveNode ("PRI_DES2. PRI_FLAG2") .rawValue ="X "; OR PRI_DES2. PRI_FLAG2. RawValue = "X";
- The last script I would not write in the form ready event. Why use this event?
- If you make the subform 2 a 3 hidden, you must reset the entries in my opinion. You can use the following script: xfa.host.resetData ("xfa.form.fomr1.subform2");
Sorry, my English isn't the best. I hope I could help a little,
Mandy
Tags: Adobe LiveCycle
Similar Questions
-
An error occurred during the update error checking new Code 80072EFE
An error occurred during the update error checking new Code 80072EFE
error 80072EFE infected by a root
Launch tdsskiller to find any rootkids, download and run from here
http://support.Kaspersky.com/downloads/utils/TDSSKiller.exe
your computer will restart automatelly and start up. Then run the updates.
-
Hi Experts,
JDEV 11.1.1.7.0
On valueChangeEvent I throw adfFacesErrorMessage but its economy during the click on save.
Because I can't do validation in my OE. So I can use validator instead of valuechange evnt. ? While it will not allow something to save.
autoSubmit = "true" validator = "#{backingBeanScope.myBean.checkValidation}" >
On valueChangeEvent I throw adfFacesErrorMessage but its economy during the click on save.
Message is just to what is expected.
So can I use instead of evnt valuechange validator.
Yes, you must use the validator to implement validation
Dario
-
How to use several adf 12 shape and insert the form data in to table during the click on "submit" button. Can we use several form from adf or not?
Make sure that you dragged the VO based EO.
Also make sure that the VO attributes based EO Updatable property.
The query according to VO is used only to add LOV to the column of the original VO ModelId.
See you soon
AJ
-
How to show or hide the region of the shuttle during the click on the radio buttons?
Hello
I'm new to JDeveloper. Here is my requirement.
1. create 2 radio buttons: Yes and no and default displays "" selected radio button.
2. create a region of shuttle with select query in VO.
Query is:
Select 'No group' for_user, for_pkg double null
Union
Select "Company" for_user, for_pkg "SEGMENT1" double
Union
Select 'Rental' for_user, for_pkg 'SEGMENT2"double
Union
Select 'Cost center' for_user, 'SEGMENT4' double for_pkg
Union
Select 'Project' for_user, 'SEGMENT5' double for_pkg
Union
Select "Intercompany" for_user, "SEGMENT8" for_pkg of the double
order by nulls first for_pkg
3. initially hide the region of the shuttle during the loading of the page.
4. click on the radio button 'yes', display area of the shuttle with values at the head of list of query VO and empty list leak.
5. new click on the 'no' radio button, he must hide region and so screen shuttle shuttle dynamically according to the selected option button.
But my problem is I am able to hide area shuttle when the page loads at the beginning and after that, when I'm clicking 'Yes' radio button, is just to display area shuttle empty without value in the main list and once when I'm clicking 'No' radio button, it should hide area shuttle but he's not hiding. I used the RPP to show or hide the area Shuttle under certain conditions. I use JDev 10.1.3.3.0 version as we Oracle EBS version 12.1.2 in our society.
Please find the attached draft and suggest me proper with examples of sample approach.
Monika,
I tried to get this working in the lower version of Jdeveloper and looks like it works.
Can you make the change below and see what happens.
1. modify your query to VO as below: (I replaced null with SEGMENT0)
select 'No Grouping' for_user, 'SEGMENT0' for_pkg from dual union select 'Company' for_user, 'SEGMENT1' for_pkg from dual union select 'Location' for_user, 'SEGMENT2' for_pkg from dual union select 'Cost Center' for_user, 'SEGMENT4' for_pkg from dual union select 'Project' for_user, 'SEGMENT5' for_pkg from dual union select 'Intercompany' for_user,'SEGMENT8' for_pkg from dual order by for_pkg
2. place VO execution to the processFormRequest:
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean) { System.out.println("In process Form Request"); super.processFormRequest(pageContext, webBean); OAApplicationModuleImpl appModule = (OAApplicationModuleImpl)pageContext.getApplicationModule(webBean); String eventParam = pageContext.getParameter(EVENT_PARAM); System.out.println("eventParam: " + eventParam); if ("showHideShuttle".equals(eventParam)) { // appModule.invokeMethod("deletetrailing"); System.out.println("Inside If"); OAMessageCheckBoxBean messageCheckBoxBean = (OAMessageCheckBoxBean)webBean.findChildRecursive("checkBoxBean"); System.out.println("messageCheckBoxBean : " + messageCheckBoxBean); String messageCheckBoxBeanVal = (String)messageCheckBoxBean.getValue(pageContext); System.out.println("messageCheckBoxBeanVal: " + messageCheckBoxBeanVal); if ("Y".equals(messageCheckBoxBeanVal)) { OAViewObjectImpl shuttleVO1 = (OAViewObjectImpl)appModule.findViewObject("ShuttleVO1"); if (shuttleVO1 != null) { shuttleVO1.setWhereClause(null); shuttleVO1.setWhereClauseParams(null); shuttleVO1.executeQuery(); System.out.println("Executed Query : " + shuttleVO1.getQuery()); } OAViewObjectImpl shuttleVO2 = (OAViewObjectImpl)appModule.findViewObject("ShuttleVO2"); if (shuttleVO2 != null) { shuttleVO2.setWhereClause("1=2"); shuttleVO2.setWhereClauseParams(null); shuttleVO2.executeQuery(); System.out.println("Executed Query1 : " + shuttleVO2.getQuery()); } } String[] name = { "RenderAttr1" }; String[] val = { messageCheckBoxBeanVal }; Serializable[] params = { name, val }; Class[] paramTypes = { String[].class, String[].class }; appModule.invokeMethod("setXXCustomPVOValues", params, paramTypes); } }
3. move Spel link shuttle Bean for the region of header above.
Some useful links for the shuttle Bean:
Technology blog based in Java of Sushant: 13. Area of application OFA shuttle
Framework OA Blog: control of the shuttle as part of OSTEOARTHRITIS
See you soon
AJ
-
I created a menu using the widget consisting of vacuum. I want the menu to close only when the user clicked the menu button or clicking on the target (bottom of page).
Could someone please explain a method to do that the Muse offers options are limited to; Hide targets: on click. decelerate; the deployment of the trigger and the target.
Thank you
Luke
You can do one of these «Hide target click» options
(when you click the shutter button, that will close the target)There is no other way in Muse to close a target outside options for this widget.
You could research third-party widget, there could be an option there.
-
BB 10 C++ during the click button on
QML, you can make the click event on. I write my qml in C++, however there is no onclick method.
How do you get click to work.
Button * btnSave = newButton();
btnSave-> setText ('Save');
contentContainer-> add (btnSave);
Someone at - it a simple example that they could provide to help me get started?
Thanks in advance.
To do this in C++, you must connect a signal (in this case, is clicked() button in a location of your class). Best you have a look here.
Assuming you have defined a slot called onSaveButtonClicked() in the header, which will be called when the user clicks the button:
public slots:
void onSaveButtonClicked();in your application, after your create button class, you need to:
Connect (btnSave, SIGNAL (clicked ()), this, SLOT (onSaveButtonClicked ()));
When the button is clicked, it will emit the signal that calls the function of slit.
-
TextInput changes to the text during the click on
Hi all.
I have a text entry that contains the text 'name '. What I want to do, is when it is clicked it gets rid of this text. I can do it this way
< s:TextInput x = "10" y = "291" width = "265" textDecoration = "none" text = "Name" id = "txt_name" click = "" txt_name.text = "" fontStyle = "italic" / > "
Simply change the text value to "" on the click attribute.
However, this causes problems because if you click it once that he get rid of 'Name' and you type in something, if you clicked on it again, it would be to get rid of what you typed in.
If I'm on this simple function
protected function commentnametext (): void
{
If (txt_name2.text is "Name")
{
txt_name2. Text == ";
}
on the other
{ }
}< s:TextInput x = "10" y = "321" width = "265" textDecoration = "none" text = "Name" id = "txt_name2" click = "commentnametext ()" fontStyle = "italic" / > "
However, when I click on the textarea component it dosent seem to run the function, changing text dosent. No idea why its not working?
Your function is false
protected function commentnametext (): void
{
If (txt_name2.text is "Name")
{
txt_name2.text == "; -You must write here txt_name2.text = "; instead of 2 == writing only 1 =
}
on the other
{ }
}If this post answers your question or assistance, please mark it as such.
-
Update Bind variable during the click on chart?
New to ADF, so getting started is a little rough right now.
I created a couple of display objects, trained in my JSF page and created the graphics bar out of them. I can click on the series in the bar chart and update a table ADF without problem. What I would do, is to take the result of the click (I know how to find the value of the Group since the click) and past this value in another view to display a new table.
So the question is how can I update a binding for a display object variable and display the results in a table of the ADF?
I have a query: "select user_name, user_role from users where user_id =: userId" with a variable named liaison: userId. It took the form of the ADF on my page and rendering: false and display: false. What I would do, is updated ": userId" variable with a value of the graph and display of the form.
Any help?
Thank you!Hello
I think that the blog post from this Shay can be useful for you:
http://blogs.Oracle.com/Shay/2009/01/setting_parameter_for_before_p.htmlKind regards
Branislav
-
How to set a value of outputText 0 during the click on the button cancel using javascript
Hi Experts,
JDEV version 12.1.3.0
I have an outputText at the foot of the column. And I have a button cancel on the top of the page. Then click on the button cancel. How can I set the outputText zero value.
Thank you
AR
Hello
Please check the labour code. Make clientComponent = "true" in the output text.
function customOutputValue (event) {}
var buttonComponent = event.getSource ();
Find the client component for the af:outputText 'greeting '.
var oComponent = buttonComponent.findComponent ("ot1");
Set the value of the outputText component
oComponent.setValue("0")
}
>
Thank you
Amey -
Text hidden/visible during the click field on
Hello
I create to make a field hidden to visible founded when clicking on a button using javascript. I watched this: http://htmldb.oracle.com/pls/otn/f?p=31517:129:1617669608355761
But do not understand and cannot operate. First of all, I had a hidden text field. The user clicks on the 'New' button that calls the function foo() of js (without submit page). Here, I have tried various things, based on another thread that had value of $x (P11_NEWFIELD)... I tried:
.visible $x (P11_NEWFIELD)...
visibility of $x (P11_NEWFIELD)...
.hidden $x (P11_NEWFIELD)...
None worked. I then tried the reverse (what makes a text field and try to hide it... didn't work.) I tried to put some html_HideElement (this); in the attributes of text fields to see if it does anything, but still visible to me unsurue what that's supposed to do. Help: x
Button
URL = javascript:myFunc();
Eager P11_NEWFIELD to go from hidden to visible text field after you press the button.
Edit: It doesn't seem to work at all actually... I tried window.open ("Hi"); in the service and he do not seem...
Thanks for help
Mike
Published by: Gerd on October 20, 2009 11:24Hello
If you upgrade button URL only
javascript:$x_Hide('P11_NEWFIELD');
BR, Jari
-
Auto Reboot Iphone 4 during the click on notice
My iphone 4 is restarting when I click on the notification Center.
have also the network issue or slow down the voice by calling or call failure.
Hi Jay.rathod,
I see that your iPhone 4 restarts unexpectedly when view you the Notification Center and you also encounter a question of making the calls. I would like to provide assistance for both!
Take a look at the following information for advice on what to do if your iOS device restarts unexpectedly:
To answer your second question, take a look at the following resource:
If you cannot make or receive calls on your iPhone - Apple SupportAll the best!
-
I want to my homepage (Google) launched with by clicking on the + tab at the top. However, I donot want another plugin added.
It may set up one way or the other?
TIA
=Hello
You can try setting tha value of browser.newtab.url on google in Subject: config.
- In the address bar, type Subject: config and press enter. The subject: config "this might void your warranty!" warning page may appear.
- Click on I'll be careful, I promise!, to continue on the subject: config page.
-
elitedesk: win7, can not find the usb option during the click on F9
Hi all. I am a tech. I work with a new book of win7/elite that was just reimagee. Having problems connecting to the network. I had planned on all rebuild. He lets me click F10 to start sequence & save. But once I have restart & F9-click there is no option for me to boot on the USB. Really need these devices ended tonight. Thank you
I'm sorry that this is not a laptop. It's an elitedesk of HP with win7 / 32 bit.
-
6's iPhone Home button makes annoying noise during the click on?
Suddenly, my iPhone 6's "home" button has started to make a weird noise when a click on. He normally works and it's not a big deal. But since it is very boring, is it a way I can fix it myself? Little help is appreciated!
Now try the hold home button and make sure that you clean your phone.
Maybe you are looking for
-
Camileo H10 does not write the files to SD card
Hello I bought a Camileo H10 in December. It's a nice cam, but sometimes I record video in HD format, the file will not be stored on the SD card. I tried a class 8 GB 2 and one of 16 GB class 6 SD card. This problem strongly deformed, when I record a
-
My version of LV: 8.6 developer suite x 86 Hi all It seems the "insert table" according to VI would not work when one or more entry points are empty. Is there a way to get around this? From a conceptual point of view, it's a very simple thing that
-
How to access command prompt?
When I give the path of the file as command line input control system exec.vi, the command prompt window is opening and closing immediately. What should I do so that the command prompt window remains open?
-
Flash Cache - what is it?
Hi - I "m given to replace the HARD drive in 141na HP ENVy 17 and doing a little research before doing so. Some retailers say it has a SSD 8 GB and a 1 TB of HARD drive, while others do not. I've been looking at the specs on the HP site and it says i