String containg "../" in InputText field fails
Hi All,
We have custom oaf page with input text filed for comments.
When user types a sting which contains "../" (Dot Dot slash) and hits submit page hangs.
I tried to input a similar string in Oracle Seeded Pages to test and I get "HTTP:400 Web page Not found" error
How do we handle / resolve this issue..
Thanks,
Satya
[answer removed, user is not worth the help]
Edited by: BalusC on 12-jun-2009 9:18
Similar Messages
-
Updating data in h:inputText field
In my <h:inputText> field, first time user enter a number to search, and the number saved in the session, later on from page to page navigation, sometime user can selected another order number , save the number in session and refresh the whole web content, the value in this <h:inputText> field should update the new number from session everytime the web page reloaded, this actually working fine in the <h:outputText> field as following code <h:outputText value="#{MyPageCode.orderNumber}"/> which getting the orderNumber from session,
but it is not working in the <h:inputText> getting the new number from session, it always keep the first time user entered number there, can someone help me to solve the problem?
Thanks a lot !
<h:form styleClass="form">
<h:outputText value="Order#: "/>
<h:inputText value="#{mySession.orderNo}"> </h:inputText>
<f:param name="orderNo" value="#mySession.orderNo}">
</f:param>
<h:commandLink style="padding-top:3px;" action="#{myBean.searchAction}">
<h:outputText value="Search" >
</h:outputText>
</h:commandLink>
<h:outputText value="Order number is#: "/>
<h:outputText value="#{MyPageCode.orderNumber}"/>
</h:form>Here you are, hope I did not lost anything... Thanks!
faces-config.xml:
====================
<managed-bean>
<managed-bean-name>mySession</managed-bean-name>
<managed-bean-class>myManagedSession</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
<managed-bean>
<managed-bean-name>myBean</managed-bean-name>
<managed-bean-class>MyManagedBean</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>
<managed-bean>
<managed-bean-name>MyPageCode</managed-bean-name>
<managed-bean-class>MyManagedPageCode</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>
=================================
public class MySession {
private Integer orderNo;
public Integer getOrderNo() {
return orderNo;
public void setOrderNo(Integer orderNo) {
this.orderNo = orderNo;
public void setOrderNumber(int on) {
// set order number in session
===================
public class MyBean {
public String searchAction() {
Integer orderNo = getMySession().getOrderNo();
if(orderNo != null){
int orderNumber = orderNo.intValue();
getRequestScope().put("OrderNumber", new Integer(orderNumber));
getMySession().setOrderNumber(orderNumber);
return "page1";
protected MySession getMySession() {
if (mySession == null) {
mySession = (MySession) getFacesContext()
.getApplication().createValueBinding("#{mySession}")
.getValue(getFacesContext());
return mySession;
=========
public class MyPageCode {
public int getOrderNumber() {
// get from session
} -
Hi,
Iam not sure of how best I can explain the problem I experience on my JSF pages.
When i try to select a value from the drop down list..it is populating other fields on the page perfectly.
One of the fields is Zipcode which has a validator on it
Zip Code:
<h:inputText id="text5" maxlength="5" size="5" immediate="true"
value="#{processApplication.ownerZipcode}">
<f:validator validatorId="zipcodeValidator"/></h:inputText>
<font color="#FF0000"><h:message for="text5" /></font> When i make any changes and hit save button on the page...(Most of the times) I get a red color msg beside the zipcode field "Zipcode not valid" eventhough that field is blank.
But, the cursor on that field is in the middle of the field which makes zipcodeValidator trigger becoz it cannot take any spaces.
when i place the cursor to the front of the field and hit save...everythiing is fine.
Why does the zipcode inputText field adds those spaces all by itself?
Any clue?
Any help is really really appreciated.Thanks BalusC!!
Let me be more clear with this issue.
I have four inputText fields with required = "#{param['form1:button3'] == 'Issue License'}"When I click on a link...
These 4 text fields get the data(if any) from the database.
Now, when I click on the "Issue License" command button , I should check if these 4 fields are not null.
If any one of them is null, then I get the message "required field is missing" and I fill that field accordingly.
Now, the problem is....
When I click on a link...I noticed that the first field added few spaces by itself since the cursor is in the middle of the inputText box. Other 3 fields are normal and blank too i.e., all 4 fields did'nt get any data from DB.
When I click "Issue License" command button, I get "required field is missing" msg, only for 3 inputText fields but not for the first one since the first one has already few spaces in it and the required attribute thinks it has some value in it.
Now, how should I handle this situation?
Do you think
creating a converter for java.lang.String which converts empty/spacy strings to null would solve the problem?
This happens in few other pages too.
Please suggest me the solution.
Thanks -
Kerberos Authentication: "Integrity check on decrypted field failed"
Hi,
I have configured a portal (NW 7.0 SP13) for Kerberos Authentication. I have another portal with exactly the same configuration (same MS-ADS etc, just a different user) which is working fine. But this one is giving me the error "Integrity check on decrypted field failed" (and Kerberos Auth fails).
Any ideas?? I get the same error whether I use the keytab from the SPNEGO wizard, or the keytab from "ktpass -princ host/%HOST%@%DOMAIN% -pass %PASSWORD% -out keytab -mapUser %USER% +DesOnly /crypto DES-CBC-MD5 /ptype KRB5_NT_PRINCIPAL"
The only difference I can see between the ldifde outputs of the two users (the one that works and the one that doesn't) is the one that doesn't has an extra SPN "HTTP/" - would that cause this error??
Has anyone else had this error & what causes it?
Many thanks in advance.
Regards
Jane
Full error text:
JGSS_DBG_CTX Creating context, initiator = no, input cred = not null
JGSS_DBG_CRED getCred: only one cred, returning it
JGSS_DBG_CRED getName found name: host/[email protected], mech=1.2.840.113554.1.2.2
JGSS_DBG_CRED Krb5 name type = 0
JGSS_DBG_CTX Creating context, cred usage = 2
GSS Context created
JGSS_DBG_UNMARSH Real token len 1641
JGSS_DBG_UNMARSH Token oid 1.2.840.113554.1.2.2
JGSS_DBG_UNMARSH inner token len 1630
JGSS_DBG_PROV getFactory: index = 0 found factory
JGSS_DBG_PROV getMechs: Mechanism(s) supported by provider IBMJGSSProvider
JGSS_DBG_PROV 1.2.840.113554.1.2.2
JGSS_DBG_PROV getMechs: 1 unique mechanism(s) found
JGSS_DBG_PROV [0]: 1.2.840.113554.1.2.2
JGSS_DBG_CTX Default list of negotiable mechs:
1.2.840.113554.1.2.2
JGSS_DBG_CTX ticket enc type = des-cbc-md5
com.ibm.security.krb5.internal.KrbException, status code: 31
message: Integrity check on decrypted field failed
at com.ibm.security.krb5.internal.crypto.n.decrypt(n.java:31)
at com.ibm.security.krb5.internal.crypto.n.decrypt(n.java:15)
at com.ibm.security.krb5.internal.crypto.n.decrypt(n.java:32)
at com.ibm.security.krb5.EncryptedData.decrypt(EncryptedData.java:106)
at com.ibm.security.jgss.mech.krb5.k.a(k.java:248)
at com.ibm.security.jgss.mech.krb5.k.b(k.java:188)
at com.ibm.security.jgss.mech.krb5.k.acceptSecContext(k.java:533)
at com.ibm.security.jgss.GSSContextImpl.acceptSecContext(GSSContextImpl.java:155)
at com.ibm.security.jgss.GSSContextImpl.acceptSecContext(GSSContextImpl.java:153)
at com.sap.security.core.server.jaas.SPNegoLoginModule.doHandshake(SPNegoLoginModule.java:738)
at com.sap.security.core.server.jaas.SPNegoLoginModule.login(SPNegoLoginModule.java:362)
at com.sap.engine.services.security.login.LoginModuleLoggingWrapperImpl.login(LoginModuleLoggingWrapperImpl.java:185)
at com.sap.engine.services.security.login.ModulesProcessAction.run(ModulesProcessAction.java:70)
at java.security.AccessController.doPrivileged(AccessController.java:242)
at com.sap.engine.services.security.login.FastLoginContext.login(FastLoginContext.java:181)
at com.sap.engine.system.SystemLoginModule.login(SystemLoginModule.java:90)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:699)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:151)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:634)
at java.security.AccessController.doPrivileged(AccessController.java:242)
at javax.security.auth.login.LoginContext.invokeModule(LoginContext.java:631)
at javax.security.auth.login.LoginContext.login(LoginContext.java:557)
at com.sap.security.core.logon.imp.SAPJ2EEAuthenticator.getLoggedInUser(SAPJ2EEAuthenticator.java:146)
at com.sapportals.portal.prt.service.authenticationservice.AuthenticationService.getLoggedInUser(AuthenticationService.java:303)
at com.sapportals.portal.prt.connection.UMHandler.handleUM(UMHandler.java:96)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:186)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:524)
at java.security.AccessController.doPrivileged(AccessController.java:242)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321)
at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377)
at com.sap.portal.navigation.Gateway.service(Gateway.java:126)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(AccessController.java:215)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
JGSS_DBG_CTX Error authenticating request. Reporting to client
Major code = 11, Minor code = 31
org.ietf.jgss.GSSException, major code: 11, minor code: 31
major string: General failure, unspecified at GSSAPI level
minor string: Kerberos error while decoding and verifying token: com.ibm.security.krb5.internal.KrbException, status code: 31
message: Integrity check on decrypted field failedHi Désirée,
Yes the service user has "Use DES encryption" set.
In the end, it was resolved by changing the password and running the SPNEGO wizard again to generate a new keytab with the new password.
Regards
Jane -
How to keep the focus on the inputtext field.
Hi,
I'm using jdev 11.1.2.0
I have two inputtext fields.
when i tabout from firstinputtextfield , i'm calling a javascript to set focus on to the second textinput field.
this is working fine.
Second textfield has one server listner onblur event.
When i add value change listener on the firstinputext field, after tabout from the first field , focus is going to set to next field and calling the serverlistener of the second field.
how to make the not to call the serverlistner function of the second field when i tabout from the first field?(serverlistener is called only when i tabout from the second field on onblur event)(Thi is happening in ie8)
Any suggestion would be appreciated.
Thank you.If you have a value change listener it will send up ajax call when you tab out which may be have a bad interaction with your client listener. Instead of using a client listener you could try adding the javascript call to response from the value change listener. In your value change listener add a call to the javascript method that sets the focus
public void addScriptToResponse(String script){
ExtendedRenderKitService erkService = Service.getService(getFacesContext().getRenderKit(), ExtendedRenderKitService.class);
erkService.addScript(getFacesContext(),script);
} -
MAPPING ERROR FOR CND_M_SUP - Split of VAKEY fields failed
Hi,
in CRM our customers request some controls for products that they enter in trade promotion(CRM_MKTPL) These are related to "Listing & Exclusion" of R3 system. So we need to download R3 tables into CRM that are related to "Listing & Exclusion" from R3. We have a table named KOTG804 (Customer/Material) in R3. And in CRM we create a table named CUS804 in the Listing header with the key fields like KOTG804. Then we create download object DNL_COND_G804. And start the initial load for this object. But we have promblems. The errors in SMW01 are like that :
- Records of table CUS804, usage LI cannot be exchanged
- Split of VAKEY fields failed (Block 1; Appl. LI; Use CRM)
- Error when carrying out initial download
How can we solve this problem and take the KOTG804 records from R3 to CRM?
Thanks.Hello
Did you find out what the problem here was? I am facing the same situation. Could you help?
Reagrds,
Sowmiya -
SSO using Kerberso receiving "Integrity check on decrypted field failed (31
I am trying to implement SSO for an application that is running on a WebLogic Server. I have flagged the AD Service user for DES encryption, added spn through setspn, created the keytab file, reset the password (to the same value), moved the keytab file, updated krb5.ini and krb5Login.conf accordingly, modified WebLogic startup command accordingly. When Users try to access the application, authentication fails, and I see Integrity check on decrypted field failed (31) error in the WebLogic logs. Any ideas ? I am attaching the related lines from the log below.
<Sep 29, 2008 9:46:50 AM MDT> <Debug> <SecurityDebug> <000000> <Found Negotiate with SPNEGO token>
Debug is true storeKey true useTicketCache false useKeyTab true doNotPrompt false ticketCache is null KeyTab is devmax01.http.keytab2 refreshKrb5Config is false principal is HTTP/[email protected] tryFirstPass is false useFirstPass is false storePass is false clearPass is false
KeyTab: load() entry length: 60
KeyTabInputStream, readName(): DEV.DENVERWATER.ORG
KeyTabInputStream, readName(): HTTP
KeyTabInputStream, readName(): devmax01principal's key obtained from the keytab
principal is HTTP/[email protected]
EType: sun.security.krb5.internal.crypto.DesCbcMd5EType
KrbAsReq calling createMessage
KrbAsReq in createMessage
KrbAsReq etypes are: 3 1
KrbKdcReq send: kdc=dwdev01 UDP:88, timeout=30000, number of retries =3, #bytes=249
KDCCommunication: kdc=dwdev01 UDP:88, timeout=30000,Attempt =1, #bytes=249
KrbKdcReq send: #bytes read=1312
KrbKdcReq send: #bytes read=1312
EType: sun.security.krb5.internal.crypto.DesCbcMd5EType
KrbAsRep cons in KrbAsReq.getReply HTTP/devmax01Added server's keyKerberos Principal HTTP/[email protected] Version 8key EncryptionKey: keyType=3 keyBytes (hex dump)=
0000: 2F 02 76 AB 7F 8C B0 6E
[Krb5LoginModule] added Krb5Principal HTTP/[email protected] to Subject
Commit Succeeded
Found key for HTTP/[email protected]
Entered Krb5Context.acceptSecContext with state=STATE_NEW
EType: sun.security.krb5.internal.crypto.DesCbcMd5EType<Sep 29, 2008 9:46:50 AM MDT> <Debug> <SecurityDebug> <000000> <GSS exception GSSException: Failure unspecified at GSS-API level (Mechanism level: Integrity check on decrypted field failed (31))
GSSException: Failure unspecified at GSS-API level (Mechanism level: Integrity check on decrypted field failed (31))FYI The fix for this was to chang the value for -Djava.security.krb5.realm to be all upper case
Once that change was made authentication passed
Edited by: IDL on Jan 2, 2008 9:25 AM -
Hi There,
I am in need to dynamically change the values inside a popup upon a user changing the value of the `Chapter` field within the `Composition Marker` dialog. I realize that we cannot add new string values to a popup at runtime, but I read a thread in this forum, and in the `Supervisor` example in the SDK, that it is possible to rename them. However, it seems like the event for making the changes to those values is triggered by a user changing values in the parameter set of the plugin itself.
So my idea is to populate a popup param with 20 strings--for example, 1, 2, 3, . . . 20. Then when a user enters in a string within the `Chapter` field in a `Composition Marker` dialog, it updates the popup list to show the user entered string. Is this possible? I know I can access the string in the `Chapter` field via javascript ExtendScript. Can I do it within C++ code?
Thanks for your time and help!to get the marker string you should use AEGP_GetMarkerString() with AEGP_MarkerString_CHAPTER. as for changing the popup values, by looking at the thread you pointed out, it seems it's possible to change the popup names at any time, and not during a specific code. the entire accessing of the popup data in that example was done using AEGP calls, which should not be affected by the calling time. (except for rare cases) never tried it myself. can vouch for my advice here. since popup param's amount of entries can't be changed dynamically (to the best of my knowledge), you can create 30 (or any other number) of hidden popup params, starting with 1 entry and ending with 30 entries in it, and make only the param that fits your purposes best at that moment - visible.
-
Dynamic inputText fields values.
Dear all,
Please suggest solution on following:
In my ADF/Trinidad project I have one view which is build dynamically by <tr:iteratior/> tag depending on amount of binding elements. Purpose of the page is to read parameter names from database and ask user to provide values for those parameters. Sample code:
<tr:iterator var="items" first="0" value="#{bindings.parameters.collectionModel}" varStatus="status" id="ip">
<tr:inputText Label="#{items.bindings.label.inputValue}" binding="#{backing_parameters.it}" id="it"/>
</iterator>Once user resubmits page I need create pairs of parameter/value in backing bean and use it further in business logic. My challenge is to how actually obtain these values, provided by user if amount of fields (inputText) is only determined during runtime?
Sorry if solution is too obvious. Please guide me to the correct way.I think I succeeded to resolve it:
Solution:
1. Create ValueChangeEvent on backing bean and map it to the inputText field
2. Add <f:attribute/> tag to map inputText field to desirable value
3. Handle event in backing bean and obtain new values and mapping to the field from ValueChangeEvent object.
The only issue is if user does not change value of the field, then no event created and backing bean still does not know on existence of inputText field and its value
<tr:iterator var="items" first="0" value="#{bindings.parameters.collectionModel}" varStatus="status" id="ip" >
<tr:inputText valueChangeListener="#{backing_parameters.event}" label="#{items.bindings.label.inputValue}" binding="#{backing_parameters.it}" id="it">
<f:attribute name="paramName" value="#{items.bindings.name.inputValue}"/>
</inputText>
</iterator>
public void event(ValueChangeEvent actionEvent) {
actionEvent.getComponent().getAttributes().get("paramName");
actionEvent.getNewValue();
}Thank you. -
Secret inputText field on showOneTab is cleared when tab changes
I have a secret inputTextField on a tab. If a change to another tab and then change back again the password is cleared.
Is there a work around for this?
Thanks
MartinHi frank,
No, I don't do any extra submits.
I have a simple af:showOneTab with a secret inputText field on tab 1. The secret textfield is bound to a property on a backing bean which contains the current value of a password. When I click on tab 2, than back to tab 1 the secret textfield has been cleared. I would add that there are non-secret fields on each tab which are not cleared.
Martin -
Jaas & Integrity check on decrypted field failed
I'm trying to do Kerberos authentication using JAAS and the jdk 1.4.1_02 under Mandrake 9.1. The Kerberos server is installed on a Redhat 9 machine. I'm using the login module com.sun.security.auth.module.Krb5LoginModule and the TextCallbackHandler class. The login fails with the error "Exception: krb_error 31 Integrity check on decrypted field failed (31) Integrity check on decrypted field failed". I get the same error if I use the kinit utility bundled with the jdk. Conversely all seems ok when I use the kinit utility bundled with the kerberos client programs of my Mandrake 9.1 distribution.
Anyone could help me?
MicheleI encountered the same problem--"Integrity check on decrypted field failed (31)" when trying to authenticate against a KDC (v5) running RedHat 8.0 (JASS and JDK 1.4.1_02)--but I was able to use Kerberized telnet and login from remote/local machines to get authenticated with this RedHat KDC. There is no problem authenticating against a KDC running Win2k AD/Kerberos with the same code. I am using the com.sun.security.auth.module.Krb5LoginModule.
Can anyone help me to resolve this issure? -
Error from sample JAAS: Integrity check on decrypted field failed (31)
I am trying to follow the tutorial for JAAS Authentication located here:
http://java.sun.com/j2se/1.4.2/docs/guide/security/jgss/tutorials/AcnOnly.html
I am trying to run the sample JaasAcn.java but am getting a strange error when I try to log on to my Active Directory.
I am using Java version: jre1.6.0_03
I can login to Active Directory fine with the credentials I am providing, just not with this client, so I know the credentials are valid.
What could this mean?
The Error message is: [Krb5LoginModule] authentication failed
Integrity check on decrypted field failed (31)
Here is the full output:
C:\Progra~1\Java\jre1.6.0_03\bin\java -Dsun.security.krb5.debug=true -Djava.security.krb5.realm=PRSDev.local -Djava.security.krb5.kdc=192.168.40.72 -Djava.security.auth.login.config=jaas.conf JaasAcn
Debug is true storeKey false useTicketCache false useKeyTab false doNotPrompt f
alse ticketCache is null isInitiator true KeyTab is null refreshKrb5Config is fa
lse principal is null tryFirstPass is false useFirstPass is false storePass is f
alse clearPass is false
Kerberos username [ILea]: sra
Kerberos password for sra:
[Krb5LoginModule] user entered username: sra
Using builtin default etypes for default_tkt_enctypes
default etypes for default_tkt_enctypes: 3 1 23 16 17.
Acquire TGT using AS Exchange
Using builtin default etypes for default_tkt_enctypes
default etypes for default_tkt_enctypes: 3 1 23 16 17.
KrbAsReq calling createMessage
KrbAsReq in createMessage
KrbKdcReq send: kdc=192.168.40.72 UDP:88, timeout=30000, number of retries =3, #bytes=144
KDCCommunication: kdc=192.168.40.72 UDP:88, timeout=30000,Attempt =1, #bytes=144
KrbKdcReq send: #bytes read=587
KrbKdcReq send: #bytes read=587
EType: sun.security.krb5.internal.crypto.DesCbcMd5EType[Krb5LoginModule] authentication failed
Integrity check on decrypted field failed (31)
Authentication failed:
Integrity check on decrypted field failed (31)FYI The fix for this was to chang the value for -Djava.security.krb5.realm to be all upper case
Once that change was made authentication passed
Edited by: IDL on Jan 2, 2008 9:25 AM -
String Conversion into Quantity field ----------Sales Orders
Hi Experts,
Can any of you give an standard function module or conversion routine for String conversion to Quantity field.
The problem is I pass on 5 value as a string and while the system creates any sales orders, now in the quantity filed
it shows me as 0.005 and for value 7 it gives me as 0.007.
So, Now I want a conversion in such a way that if I pass 5 then the system should 5.000 and if I pass 10 it should show
as 10.00 likewise for 100 or above also.
Thank you,
KishoreJ.Hi,
You have check , what is user format configure in each user then reply the forum.
Thanks
With Regards
I.Muthukumar -
SelectOneChoice to populate an InputText field
I am using JDeveloper 10.1.3 and ADF, and I would like to have a DataBound SelectOneChoice dropdown list populate the selected value into another InputText field in the form. The destination is just a plain InputText field.
From what I can see, the result of the selection HAS to go into some Base Data Source field, but that's not what I want to do. Is this not possible or is there another way to allow someone to populate a field from a dropdown list.
Thanks.
AndyAre you using ADF BC in the back end? Would it help if you added a transient attribute to the VO (ie one which is non database) and then you could simply return the value from the list into that (and so use the existing binding dialog?)
Alternatively check out this.
http://groundside.com/blog/GrantRonald?title=conditional_rendering_of_jsf_fields_depe&more=1&c=1&tb=1&pb=1
You just need to do the first part of this example...i.e. create a proxy bind variable and return the value from the drop down into the bind var and then display this bind var in a text field on the page.
Regards
Grant Ronald -
How do you clear an InputText field with a button click
I am trying to create a calculator and I want to be able to use a "Clear" button that will reset all the values entered in several InputText fields and the total which is a label. I can update and clear a label using the UpdateContext
function, but this isn't working for an InputText field. Can someone provide an example on how to clear one InputText field?Hello,
To do this you need to do the following
Add an "Input Text", select the inputText and click Express view (bottom right).
Set the default value to
textboxvalue
without any quotes
On the behaviour / OnVisible of screen you put the inputText on set for example the following
UpdateContext({textboxvalue: "Enter text here"})
You can now add several buttons on the screen that do something
UpdateContext({textboxvalue: ""})
or
UpdateContext({textboxvalue: "Enter Text here"})
Or you could chain it with another OnSelect that is going on on the screen and reset your textbox. You can then also add the value the user has entered in a collection too (see bottom example)
Navigate(Screen2, ScreenTransition!Fade);UpdateContext({textboxvalue: "Enter Text here"})
Collect(inputcollection,{userinput: InputText1!Text});Navigate(Screen2, ScreenTransition!Fade);UpdateContext({textboxvalue: "Enter Text here"})
I believe this should point you in the right direction
Regards
StonyArc
Maybe you are looking for
-
I've tried 3 UPS's (2 APC and one TripLite) that state they are OSX compatible, however, they do not fully respond to the native osx setting in (system Preferences/ Energy Saver/ UPS/Start up automatically after a power failure). This is what happens
-
Is it possible to ignore the cover page of a document when viewing two pages at a time.
when viewing a document with two pages up at a time, I want to ignore the very first page/cover page in the document so that all subsequent pages line up correctly. I can't find how to do this, is it possible. I cannot extract or delete the first pag
-
Importing word documents - but losing all images which was in it
Hi, I am fairly new to Robohelp and recently got hold of Robohelp 8. I have already written a Help File for my company's recent product, and the help file was in word 2007 with a lot of screenshots of icons, buttons and dialog boxes pasted in it. On
-
Drag and drop to Adobe Illustrator CS4 problem
Hi! It's about one week that I've got a problem with drag & drop images (and also other files) in Illustrator. The problem is persistent for every kind of file and also when i drga&drop from Adobe Bridge i've got the same problem. Please, someone has
-
We are deploying ASM via ESX VM and would like to know the best practice for the storage layer... Do we use RDM or VMFS disks? 5.1.1 Virtual Machine File System (VMFS) VMFS is a cluster file system that provides storage virtualization optimized for v