SkipValidation and Immediate property in ADF
Hi All,
I am having a table Action, with 'Actionid' field mandatory.
I have 'Delete' button to which immediate="true"
I am having a problem with deleting a row, which was just created and for some reason i want to delete without filling any details.
Since it s having some fields as mandatory, i am not able to delete the row.
With reference to my post here
Re: Confusion in ADF command link settings - *URGENT* pls help
I came to know the use of immediate=true. (Thanks Sireesha!!)
I am able to delete the new blank row (without filling the mandatory columns),ie., the validation is somehw skipped.
But as soon as, deletion is over, I can see the next row's (which is originally in the view) mandatory field get highlighted and is prompting to enter a new value. Something has gone wrong.
With reference to the link
Skip JSF/ADF Validator Phase On Change of list value
I came to know that setting immediate=true is not going to help to skipvalidation.
and i checked using this method "FacesContext.getCurrentInstance().renderResponse()" in my bean for 'Delete' button
But it dint help!! Can u pls suggest someother method for skipping validation.
Thanks,
Sabarisri. N
Hi Frank,
Can u help me to partially refresh a table , using java beans.
I already hav a action listener bean for my Delete button. I have set the table to partially refresh from the design configuration.even then its not working.
Now, i would like to do the same , by bean , inside the 'Delete' button's bean itself.
Also, in one of your posts, you hav told that , immediate=true alone will not skipvalidation.
Can u pls tell me ,what else i need to do ,to skip validation on my inputText.
My scenario
I have a 'Action Table'
I have three buttons: Create, Save Changes, Delete
My 'ActionId' field is mandatory. So , suppose if i click the create button and immediately click the 'Delete' button, it is asking me to enter some value in the mandatory filed.
For this i made, the Delete button's immediate='true'
Now wat happens is,
When I click the Create and Delete, the new row(empty) is deleted. But , the control goes to the next row (ie., first row after this deleted row) and, it has deleted the original 'Actionid' value in the row which was already there, and asking me to enter a new value.
If I remove the immediate=true, this wnt happen. but the thing is new row cannot be deleted unles i fill the mandatory field.
Please tell me a solution for this.
Thanks,
Sabarisri. N
Similar Messages
-
Change rows property of ADF Table
I am trying to set the rows property of an af:table object based on the value of a drop down box (af:selectOneChoice)
http://img.photobucket.com/albums/v294/jammiedodgers/BrianS/Accounts-1.jpg
I have tried this a number of ways but can't get the table to pick up the change unless I do a browser page refresh. I have the autoSubmit property of the drop down box set to true. It is bound to the rows property of my backing bean (which is also bound to the table rows property)
af:table var="row"
value="#{accountBacking.model}"
rows="#{accountBacking.rows}"
first="#{accountBacking.first}"
banding="row"
styleClass="table.sample"
binding="#{accountBacking.table}"
>
<f:facet name="actions">
<af:selectOneChoice id="rowChoice"
label="Rows Per Page: "
autoSubmit="true"
value="#{accountBacking.rows}"
valueChangeListener="#{accountBacking.rowChange}">
<f:selectItem itemLabel="5" itemValue="5"/>
<f:selectItem itemLabel="10" itemValue="10"/>
<f:selectItem itemLabel="20" itemValue="20"/>
<f:selectItem itemLabel="50" itemValue="50"/>
</af:selectOneChoice>
</f:facet
Here is the code from by backing bean. (accountBacking)
package com.stlouiscity.budget.jsf.beans;
import com.stlouiscity.budget.database.beans.AccountBean;
import com.stlouiscity.budget.database.dao.AccountDAO;
import com.stlouiscity.budget.database.dao.DAOFactory;
import com.stlouiscity.budget.jsf.delegates.AccountService;
import java.util.List;
import javax.faces.application.Application;
import javax.faces.application.ViewHandler;
import javax.faces.context.FacesContext;
import javax.faces.event.ValueChangeEvent;
import javax.faces.model.DataModel;
import javax.faces.model.ListDataModel;
import oracle.adf.view.faces.context.AdfFacesContext;
import oracle.adf.view.faces.model.SortableModel;
import oracle.adf.view.faces.component.core.data.CoreTable;
import oracle.adf.view.faces.event.ReturnEvent;
public class AccountBacking implements java.io.Serializable{
private AccountService acctService;
private AccountBean account;
private CoreTable table;
private SortableModel model;
private Integer first;
private Integer rows;
/** Creates a new instance of AccountBacking */
public AccountBacking() {
acctService = new AccountService();
AdfFacesContext afCtx = AdfFacesContext.getCurrentInstance();
setFirst((Integer)afCtx.getProcessScope().get("first"));
setRows((Integer)afCtx.getProcessScope().get("rows"));
//afCtx.getProcessScope().clear();
public CoreTable getTable() {
return table;
public void setTable(CoreTable table) {
this.table = table;
public SortableModel getModel() {
if (model == null)
refreshAction();
return model;
public void setModel(SortableModel model) {
this.model = model;
public AccountBean getAccount() {
return this.account;
public void setAccount(AccountBean account) {
this.account = account;
public void setRowData() {
try {
this.account = (AccountBean) this.table.getRowData();
} catch (NullPointerException npe) {
this.account = new AccountBean();
public String editAccountAction() {
setRowData();
AdfFacesContext afCtx = AdfFacesContext.getCurrentInstance();
if (getAccount() == null) {
setAccount(new AccountBean());
afCtx.getProcessScope().put("account",getAccount());
afCtx.getProcessScope().put("first",this.table.getFirst());
afCtx.getProcessScope().put("rows",this.table.getRows());
return "EditAccount";
public String deleteAccount() {
setRowData();
acctService.deleteAccount(this.getAccount());
refreshAction();
return null;
public String refreshAction() {
List list = acctService.getAccounts();
ListDataModel listModel = new ListDataModel(list);
model = new SortableModel(listModel);
table.setValue(getModel());
table.setRows(getRows());
table.setFirst(getFirst());
return null;
public void rowChange(ValueChangeEvent event) {
refreshAction();
public Integer getFirst() {
return first;
public void setFirst(Integer first) {
if (first != null) {
this.first = first;
} else {
this.first = 0;
AdfFacesContext afCtx = AdfFacesContext.getCurrentInstance();
afCtx.getProcessScope().put("first",this.first);
public Integer getRows() {
return rows;
public void setRows(Integer rows) {
if (rows != null) {
this.rows = rows;
} else {
this.rows = 10;
AdfFacesContext afCtx = AdfFacesContext.getCurrentInstance();
afCtx.getProcessScope().put("rows",this.rows);
I am attempting to pass the rows and first property of the table into the process scope and then look them back up during the constructor. The backing bean is request scoped. I do no want to use a session scoped bean because I don't want to have to deal with thread safety.One thing...I use a technique mentioned in other threads to refresh the page that changes the view root to the page it is currently at. I call this after I return from a dialog: page to enact any change that the dialog page did that the current page should see. One problem here: the af:table does not seem to refresh (sometimes?), even when I put this partial target assignment in the return action listener of the button that enacted the dialog:...but I found a solution! In the life cycle I look for that view root to come up, tap into the backing bean of the current page to get the table UIComponent, and do this partial target assignment. Here is the lifecycle prepareModel code...
String lCurrentView = fctx.getViewRoot().getViewId();
if (PartialPageUtils.isPartialRequest(fctx)) {
// Create an elsif for each form which has a popup you want to refresh from.
if (lCurrentView.equals("/WPForm.jspx")) {
CoreTable AccessoriesTable = (CoreTable)EL.get("#{WPForm.accessoriesTable}");
AdfFacesContext.getCurrentInstance().addPartialTarget(AccessoriesTable);
AdfFacesContext.getCurrentInstance().partialUpdateNotify(AccessoriesTable);
super.prepareModel(ctx);
Note: EL is a helper class that Steve M. (I think) wrote, which gets and sets ValueBindings. A similar functionality can be found in his ADFUtils and JSFUtils classes in the SRDemo app for ADFBC, downloadable from TechNet.oracle.com ...or the JDev help menu updates section. -
Af:InputComboboxListOfValues text and value property
Hello,
I am using ADF Faces, Jdeveloper 11g.
I want use an inputcomboboxlistofvalues component to let user find the necessary data from the list or search. And I want to set the value of the component to the id from the database. and text property to the name from database. User will see the name in the combobox but its value should be the id. Is this possible?
Need your help. Thank you
Ozgur
Edited by: user8842411 on 02.Ara.2009 02:17Hi,
only for selectLists, the label displayed to the user is different from the actual field value. For LOVs the values of the field is also what is shown to the user. I think this is already filed as an ER, but I am not quite sure
Frank -
Create tooltip on Previous and Next button in ADF UI
Hi,
I have a question on how to create tooltip on Previous and Next button in ADF UI.
The tooltip for Previous button shows previous record id and previous record name.
The tooltip for Next button shows next record id and next record name.
How can you get previous and next record info easily when you are on the current record?
Thanks,
JennyHi,
which ADF UI, Swing or Faces ? Note that on Faces the tootip is set cia "shortDesc" property
Frank -
Hi,
Can anyone let me know what is the property in ADF which is similar to justify property in Oracle Forms 6i.
jusitfy property in Oracle Forms 6i : Specifies the text justification within the item say left,right,centre,start,end
similarly how can we achieve in ADF .Thank you for the reply but still i am not able to get the text in what ever alignment i give.
Could you please see the below code and let me know if i made any mistake.
My code :
<?xml version='1.0' encoding='windows-1252'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
<jsp:directive.page contentType="text/html;charset=windows-1252"/>
<f:view>
<af:document id="d2"
binding="#{backingBeanScope.backing_CurrencyFormatter3.d2}">
<af:form id="f2"
binding="#{backingBeanScope.backing_CurrencyFormatter3.f2}">
<af:inputText label="Currency"
binding="#{backingBeanScope.backing_CurrencyFormatter3.it1}"
id="it1" inlineStyle="text-align:center;">
<af:convertNumber type="currency" groupingUsed="true" />
<!--<f:validator validatorId="emailValidator"/>-->
</af:inputText>
</af:form>
</af:document>
</f:view>
<!--oracle-jdev-comment:auto-binding-backing-bean-name:backing_CurrencyFormatter3-->
</jsp:root> -
How to show the filter and sort capabilities in adf dynamic table
hi
how to show the filter and sort capabilities in adf dynamic table..
Pls help meHi
Click on a colum in your table and go to the properties pallet
make true the sortable property then you can sort the table according to that column
Thanx
Padma -
Using drag and drop property in forms.
Hi all,
I want to use drag and drop property in a form during
runtime.I am using oracle 7.3.I don't want to call any
another application.
Is there any way?
Thx in advance.Mona ! First tell your problem in brief ..Actually what you want
on runtime ...would you like to fetching the data from one item
to another or change the position of any item or
pushbutton ...or what..give detail ...obviously i can help you..
there are many commands like set_item_property ,
get_item_property but right now i could not understand your
prob ..tell me in brief..
You can ask me at [email protected]..
-Anwar -
How to use different mail address in "from" and "user" property?
I'd like to use the user enter mail address as the "from" property and use my mail account to send it, but I got error: com.sun.mail.smtp.SMTPSendFailedException: 553 You are not authorized to send mail, authentication is required when set different mail address in "from" and "user" property, how to resolve this problem?
Basically that's a bad idea. Suppose you used your server to send messages that claimed to come from "[email protected]"? Naturally enough people have tried that, either as a joke or as an attempt at fraud, so that servers will check to see if the message is coming from the server it claims to be coming from. And if it isn't -- as in that example -- it will consider it a forgery. Best case (for you) is that the server will flag it as spam or junk. Worst case is that your server will be blacklisted and other servers will ignore it.
-
CreateRow increases memory and cpu. Tomcat+ADF Faces+BC4J in JDev 10.1.3.0.4
My old problem is this Ineffectiveness/Inconsistency BC4J createrow in tomcat, CPU = 100%,Mem=2.2G
I have tested my Adf Faces application with jmx in server and, in my machine, jconsole and mc4j.
When cpu=100% and memory increases, jconsole constantly returned similar trace:
In all trace, I see that common is:
oracle.jbo.server.QueryCollection.populateRow(QueryCollection.java:2203)
oracle.jbo.server.QueryCollection.fetch(QueryCollection.java:2088)
Therefore, I believe that function populateRow make infinity loop (or fuction fech make infinity loop, called populateRow), but I don’t know populteRow or fetch code.
tomcat Version: 5.5.16
Jdeveloper Version: 10.1.3.0.4
Adf Business component Version: 10.1.3.36.73
Java version: 1.5.0_05
Please, any oracle ACE could help me?
When cpu=100% and memory increases, jconsole constantly returned any of these trace:
First trace
java.net.SocketOutputStream.socketWrite0(Native Method)
java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
java.net.SocketOutputStream.write(SocketOutputStream.java:136)
oracle.net.ns.DataPacket.send(Unknown Source)
oracle.net.ns.NetOutputStream.flush(Unknown Source)
oracle.net.ns.NetInputStream.getNextPacket(Unknown Source)
oracle.net.ns.NetInputStream.read(Unknown Source)
oracle.net.ns.NetInputStream.read(Unknown Source)
oracle.net.ns.NetInputStream.read(Unknown Source)
oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:979)
oracle.jdbc.driver.T4CMAREngine.unmarshalSB1(T4CMAREngine.java:951)
oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:448)
oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:185)
oracle.jdbc.driver.T4CPreparedStatement.fetch(T4CPreparedStatement.java:692)
oracle.jdbc.driver.OracleResultSetImpl.close_or_fetch_from_next(OracleResultSetImpl.java:258)
oracle.jdbc.driver.OracleResultSetImpl.next(OracleResultSetImpl.java:193)
oracle.jbo.server.QueryCollection.hasNextInResultSet(QueryCollection.java:3014)
oracle.jbo.server.ViewObjectImpl.hasNextForCollection(ViewObjectImpl.java:3650)
oracle.jbo.server.QueryCollection.hasNext(QueryCollection.java:2992)
oracle.jbo.server.QueryCollection.populateRow(QueryCollection.java:2207)
oracle.jbo.server.QueryCollection.fetch(QueryCollection.java:2088)
oracle.jbo.server.QueryCollection.get(QueryCollection.java:1468)
oracle.jbo.server.ViewRowSetImpl.getRow(ViewRowSetImpl.java:3650)
oracle.jbo.server.ViewRowSetImpl.getRow(ViewRowSetImpl.java:2612)
oracle.jbo.server.ViewObjectImpl.activateCurrentRow(ViewObjectImpl.java:12360)
oracle.jbo.server.ViewRowSetIteratorImpl.activateIteratorState(ViewRowSetIteratorImpl.java:3768)
oracle.jbo.server.ViewRowSetImpl.activateIteratorState(ViewRowSetImpl.java:4960)
oracle.jbo.server.ViewRowSetImpl.doCreateAndInitRow(ViewRowSetImpl.java:1901)
oracle.jbo.server.ViewRowSetImpl.createRow(ViewRowSetImpl.java:1891)
oracle.jbo.server.ViewObjectImpl.createRow(ViewObjectImpl.java:6555)
com.samesi.segestion.view.backing.app.Clientes.devoluciones_action(Clientes.java:1845)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:146)
com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:92)
oracle.adf.view.faces.component.UIXCommand.broadcast(UIXCommand.java:211)
oracle.adf.view.faces.component.UIXCollection.broadcast(UIXCollection.java:94)
oracle.adf.view.faces.component.UIXTable.broadcast(UIXTable.java:205)
javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:267)
javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:381)
com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:95)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
javax.faces.webapp.FacesServlet._service_79(FacesServlet.java:197)
javax.faces.webapp.FacesServlet.service(FacesServlet.java)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)
oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)
oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)
oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:332)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
java.lang.Thread.run(Thread.java:595)
Second trace
java.net.SocketInputStream.socketRead0(Native Method)
java.net.SocketInputStream.read(SocketInputStream.java:129)
oracle.net.ns.Packet.receive(Unknown Source)
oracle.net.ns.DataPacket.receive(Unknown Source)
oracle.net.ns.NetInputStream.getNextPacket(Unknown Source)
oracle.net.ns.NetInputStream.read(Unknown Source)
oracle.net.ns.NetInputStream.read(Unknown Source)
oracle.net.ns.NetInputStream.read(Unknown Source)
oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:979)
oracle.jdbc.driver.T4CMAREngine.unmarshalSB1(T4CMAREngine.java:951)
oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:448)
oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:185)
oracle.jdbc.driver.T4CPreparedStatement.fetch(T4CPreparedStatement.java:692)
oracle.jdbc.driver.OracleResultSetImpl.close_or_fetch_from_next(OracleResultSetImpl.java:258)
oracle.jdbc.driver.OracleResultSetImpl.next(OracleResultSetImpl.java:193)
oracle.jbo.server.QueryCollection.hasNextInResultSet(QueryCollection.java:3014)
oracle.jbo.server.ViewObjectImpl.hasNextForCollection(ViewObjectImpl.java:3650)
oracle.jbo.server.QueryCollection.hasNext(QueryCollection.java:2992)
oracle.jbo.server.QueryCollection.populateRow(QueryCollection.java:2207)
oracle.jbo.server.QueryCollection.fetch(QueryCollection.java:2088)
oracle.jbo.server.QueryCollection.get(QueryCollection.java:1468)
oracle.jbo.server.ViewRowSetImpl.getRow(ViewRowSetImpl.java:3650)
oracle.jbo.server.ViewRowSetImpl.getRow(ViewRowSetImpl.java:2612)
oracle.jbo.server.ViewObjectImpl.activateCurrentRow(ViewObjectImpl.java:12360)
oracle.jbo.server.ViewRowSetIteratorImpl.activateIteratorState(ViewRowSetIteratorImpl.java:3768)
oracle.jbo.server.ViewRowSetImpl.activateIteratorState(ViewRowSetImpl.java:4960)
oracle.jbo.server.ViewRowSetImpl.doCreateAndInitRow(ViewRowSetImpl.java:1901)
oracle.jbo.server.ViewRowSetImpl.createRow(ViewRowSetImpl.java:1891)
oracle.jbo.server.ViewObjectImpl.createRow(ViewObjectImpl.java:6555)
com.samesi.segestion.view.backing.app.Clientes.devoluciones_action(Clientes.java:1845)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:146)
com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:92)
oracle.adf.view.faces.component.UIXCommand.broadcast(UIXCommand.java:211)
oracle.adf.view.faces.component.UIXCollection.broadcast(UIXCollection.java:94)
oracle.adf.view.faces.component.UIXTable.broadcast(UIXTable.java:205)
javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:267)
javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:381)
com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:95)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
javax.faces.webapp.FacesServlet._service_79(FacesServlet.java:197)
javax.faces.webapp.FacesServlet.service(FacesServlet.java)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)
oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)
oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)
oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:332)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
java.lang.Thread.run(Thread.java:595)
Third trace
java.lang.System.arraycopy(Native Method)
com.sun.java.util.collections.ArrayList.toArray(ArrayList.java:287)
oracle.jbo.server.ViewDefImpl.getEntityReferences(ViewDefImpl.java:547)
oracle.jbo.server.ViewRowStorage.entityCacheAdd(ViewRowStorage.java:1730)
oracle.jbo.server.ViewRowImpl.entityCacheAdd(ViewRowImpl.java:2151)
oracle.jbo.server.ViewDefImpl.createInstanceFromResultSet(ViewDefImpl.java:1070)
oracle.jbo.server.ViewObjectImpl.createRowFromResultSet(ViewObjectImpl.java:2943)
oracle.jbo.server.ViewObjectImpl.createInstanceFromResultSet(ViewObjectImpl.java:2841)
oracle.jbo.server.QueryCollection.populateRow(QueryCollection.java:2203)
oracle.jbo.server.QueryCollection.fetch(QueryCollection.java:2088)
oracle.jbo.server.QueryCollection.get(QueryCollection.java:1468)
oracle.jbo.server.ViewRowSetImpl.getRow(ViewRowSetImpl.java:3650)
oracle.jbo.server.ViewRowSetImpl.getRow(ViewRowSetImpl.java:2594)
oracle.jbo.server.ViewObjectImpl.activateCurrentRow(ViewObjectImpl.java:12360)
oracle.jbo.server.ViewRowSetIteratorImpl.activateIteratorState(ViewRowSetIteratorImpl.java:3768)
oracle.jbo.server.ViewRowSetImpl.activateIteratorState(ViewRowSetImpl.java:4960)
oracle.jbo.server.ViewRowSetImpl.doCreateAndInitRow(ViewRowSetImpl.java:1901)
oracle.jbo.server.ViewRowSetImpl.createRow(ViewRowSetImpl.java:1891)
oracle.jbo.server.ViewObjectImpl.createRow(ViewObjectImpl.java:6555)
com.samesi.segestion.view.backing.app.Clientes.devoluciones_action(Clientes.java:1845)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:146)
com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:92)
oracle.adf.view.faces.component.UIXCommand.broadcast(UIXCommand.java:211)
oracle.adf.view.faces.component.UIXCollection.broadcast(UIXCollection.java:94)
oracle.adf.view.faces.component.UIXTable.broadcast(UIXTable.java:205)
javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:267)
javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:381)
com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:95)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
javax.faces.webapp.FacesServlet._service_79(FacesServlet.java:197)
javax.faces.webapp.FacesServlet.service(FacesServlet.java)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)
oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)
oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)
oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:332)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
java.lang.Thread.run(Thread.java:595)
Fourth (and end) trace
oracle.sql.NUMBER.toBigDecimal(NUMBER.java:715)
oracle.sql.NUMBER.bigDecimalValue(NUMBER.java:2080)
oracle.jbo.domain.Number.bigDecimalValue(Number.java:551)
oracle.jbo.domain.Number.hashCode(Number.java:431)
oracle.jbo.Key.hashCode(Key.java:384)
oracle.jbo.common.WeakHashtableImpl.get(WeakHashtableImpl.java:195)
oracle.jbo.common.WeakHashtable.get(WeakHashtable.java:98)
oracle.jbo.server.EntityCache.add(EntityCache.java:327)
oracle.jbo.server.ViewRowStorage.entityCacheAdd(ViewRowStorage.java:1762)
oracle.jbo.server.ViewRowImpl.entityCacheAdd(ViewRowImpl.java:2151)
oracle.jbo.server.ViewDefImpl.createInstanceFromResultSet(ViewDefImpl.java:1070)
oracle.jbo.server.ViewObjectImpl.createRowFromResultSet(ViewObjectImpl.java:2943)
oracle.jbo.server.ViewObjectImpl.createInstanceFromResultSet(ViewObjectImpl.java:2841)
oracle.jbo.server.QueryCollection.populateRow(QueryCollection.java:2203)
oracle.jbo.server.QueryCollection.fetch(QueryCollection.java:2088)
oracle.jbo.server.QueryCollection.get(QueryCollection.java:1468)
oracle.jbo.server.ViewRowSetImpl.getRow(ViewRowSetImpl.java:3650)
oracle.jbo.server.ViewRowSetImpl.getRow(ViewRowSetImpl.java:2594)
oracle.jbo.server.ViewObjectImpl.activateCurrentRow(ViewObjectImpl.java:12360)
oracle.jbo.server.ViewRowSetIteratorImpl.activateIteratorState(ViewRowSetIteratorImpl.java:3768)
oracle.jbo.server.ViewRowSetImpl.activateIteratorState(ViewRowSetImpl.java:4960)
oracle.jbo.server.ViewRowSetImpl.doCreateAndInitRow(ViewRowSetImpl.java:1901)
oracle.jbo.server.ViewRowSetImpl.createRow(ViewRowSetImpl.java:1891)
oracle.jbo.server.ViewObjectImpl.createRow(ViewObjectImpl.java:6555)
com.samesi.segestion.view.backing.app.Clientes.devoluciones_action(Clientes.java:1845)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:146)
com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:92)
oracle.adf.view.faces.component.UIXCommand.broadcast(UIXCommand.java:211)
oracle.adf.view.faces.component.UIXCollection.broadcast(UIXCollection.java:94)
oracle.adf.view.faces.component.UIXTable.broadcast(UIXTable.java:205)
javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:267)
javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:381)
com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:95)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
javax.faces.webapp.FacesServlet._service_79(FacesServlet.java:197)
javax.faces.webapp.FacesServlet.service(FacesServlet.java)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)
oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)
oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)
oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:332)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
java.lang.Thread.run(Thread.java:595)Tranks,I continued researching. When my server gain cpu and memory in Catalina.out, I can to see this output:
Feb 28, 2008 10:25:53 AM oracle.adf.view.faces.webcache.component.UICache encodeBegin
INFO: fragment is Facturacion.jspx:_id3
Feb 28, 2008 10:25:53 AM oracle.adf.view.faces.webcache.component.UICache getFragmentFromCache
INFO: fragment (Facturacion.jspx:_id3) fetch: cache miss
Feb 28, 2008 10:25:53 AM oracle.adf.view.faces.webcache.component.UICache insertFragmentInCache
INFO: fragment (Facturacion.jspx:_id3) insert: cached for 864000 secs
Feb 28, 2008 10:25:53 AM oracle.adf.view.faces.webcache.component.UICache encodeBegin
INFO: fragment is Facturacion.jspx:_id4
Feb 28, 2008 10:25:53 AM oracle.adf.view.faces.webcache.component.UICache getFragmentFromCache
INFO: fragment (Facturacion.jspx:_id4) fetch: cache missIn this example, I belive that user is resuming the Facturacion.jspx page. In my code I have this line:
It’s corresponding to menu.
I have looking this documentation:
http://download.oracle.com/docs/html/B25947_01/web_cache002.htm
In this documentation, first access, the cache miss, but the following times the cache could hit. . When my server gain cpu and memory I look that the following times the cache always miss in all pages. Subsequently tomcat no reply and the malicious thread, execute Armageddon trace. This behavior of the cache is strange, right?
I’m sure that I’m making anything that fetch in queryCollection make big loop.
I have redefining getRangeSize and CurrentRow of my CustomViewObject (all viewOjects about my applications extends CustomViewObject and CustomViewObject extends viewObject) and I looked correct rangesize (not -1). I got system.out.println(getFetchedRowCount()) in createRow and obtain 13 or 15. I belive that It’s correct.
Another example of problematic trace is (in this case is in preparemodel):
com.sun.java.util.collections.ArrayList.indexOf(ArrayList.java:201)
com.sun.java.util.collections.ArrayList.contains(ArrayList.java:183)
oracle.jbo.server.ViewRowCache.addWithCheck(ViewRowCache.java:351)
oracle.jbo.server.ViewRowCache.add(ViewRowCache.java:409)
oracle.jbo.server.QueryCollection.addRowToColl(QueryCollection.java:2069)
oracle.jbo.server.QueryCollection.fetch(QueryCollection.java:2111)
oracle.jbo.server.QueryCollection.get(QueryCollection.java:1468)
oracle.jbo.server.ViewRowSetImpl.getRow(ViewRowSetImpl.java:3650)
oracle.jbo.server.ViewRowSetImpl.getRow(ViewRowSetImpl.java:2612)
oracle.jbo.server.ViewObjectImpl.activateCurrentRow(ViewObjectImpl.java:12360)
oracle.jbo.server.ViewRowSetIteratorImpl.activateIteratorState(ViewRowSetIteratorImpl.java:3768)
oracle.jbo.server.ViewRowSetIteratorImpl.getRangeSize(ViewRowSetIteratorImpl.java:627)
oracle.jbo.server.ViewRowSetImpl.getRangeSize(ViewRowSetImpl.java:2251)
oracle.jbo.server.ViewObjectImpl.getRangeSize(ViewObjectImpl.java:6065)
oracle.adf.model.binding.DCIteratorBinding.initSourceRSI(DCIteratorBinding.java:1549)
oracle.adf.model.binding.DCIteratorBinding.callInitSourceRSI(DCIteratorBinding.java:1420)
oracle.adf.model.binding.DCIteratorBinding.getRowSetIterator(DCIteratorBinding.java:1403)
oracle.adf.model.binding.DCIteratorBinding.setRangeSize(DCIteratorBinding.java:2641)
oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:2484)
oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2257)
oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:104)
com.samesi.segestion.view.frameworkExt.SegestionPageLifecycle.prepareModel(SegestionPageLifecycle.java:354)
oracle.adf.controller.v2.lifecycle.Lifecycle$8.execute(Lifecycle.java:210)
oracle.adf.controller.v2.lifecycle.Lifecycle.executePhase(Lifecycle.java:116)
oracle.adf.controller.faces.lifecycle.ADFPhaseListener.mav$executePhase(ADFPhaseListener.java)
oracle.adf.controller.faces.lifecycle.ADFPhaseListener$4.after(ADFPhaseListener.java:331)
oracle.adf.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:97)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:254)
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)
oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)
oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)
oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:332)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
java.lang.Thread.run(Thread.java:595)Thanks, -
Is it possible to change the font size and weight in an ADF table?
Is it possible to change the font size and weight in an ADF table? I have tried to change the various font size and weight settings for a table and its columns and they seem to have no effect on the font size or weight in a table row.
You would use skinning to modify font-size & weight for the table.
In addition to the link suggested by Vinod,
Take a look at http://biemond.blogspot.com/2009/01/adf-skinning-in-jdeveloper-11g.html
Thanks,
Navaneeth -
How to use same view as editable and read only in ADF
Hi,
how to use same view as editable and read only in ADF ?? How can we achieve this in TF's ???
-mrudulHi,
Steven Davelaar wrote a presentation about this "Building Highly Reusable Taskflows"
Starting slide 14 is where your use case comes into play
Frank -
Active Directory accountExpires and pwdLastSet property using JAVA
Hi all!
I´m trying to transform the accountExpires and pwdLastSet property retrieved from Active Directory to a Date/Time object. The value returned is a weird long integer that can´t be converted. Does anyone know something about this?
I´m using Java 2 SDK 1.4.2.
I am trying to do the above for accountExpires and pwdLastSet attributes in AD
ThanksDrClap wrote:
First link returned for Google keywords "active directory date format":
[http://support.microsoft.com/kb/555936]
Why, of course, January 1, 1601... -
Java 1.6.0_05 does not recognize first and last property in jnlp file
Hi
Has anybody else seen this?
The jnlp file contains five properties, but the JRE does not recognize the first nor the last property.
It has been working great since 1.4.2, through 1.5 and 1.6 until 1.6.0_05.
<property name='bog' value='%2fdata%2fkirkeboeger1892%2f'/>
<property name='opslag' value='aa001/AB/007/0000a-A.Jpg,aa001/AB/007/0002a-F.Jpg,... </property>
<property name='sessionId' value='ed0l5n55yu2h04alvqxdpbn3'/>
<property name='service' value='http://ao.sa.dk/LAView/ImageServer/Service1.asmx'/>
<property name='titel' value='1908+-+1924%2c+Agerskov%2c+N%c3%b8rre+Rangstrup%2c+Haderslev'/>The 'opslag' property is much longer, so I cut it off to make it more readable.
Pressing 's' in the console gives me this
Dump system properties ...
awt.toolkit = sun.awt.windows.WToolkit
file.encoding = Cp1252
file.encoding.pkg = sun.io
file.separator = \
http.auth.serializeRequests = true
https.protocols = TLSv1,SSLv3
java.awt.graphicsenv = sun.awt.Win32GraphicsEnvironment
java.awt.printerjob = sun.awt.windows.WPrinterJob
java.class.path = C:\Program Files\Java\jre1.6.0_05\lib\deploy.jar
java.class.version = 50.0
java.endorsed.dirs = C:\Program Files\Java\jre1.6.0_05\lib\endorsed
java.ext.dirs = C:\Program Files\Java\jre1.6.0_05\lib\ext;C:\Windows\Sun\Java\lib\ext
java.home = C:\Program Files\Java\jre1.6.0_05
java.io.tmpdir = C:\Users\MAJ-BR~1\AppData\Local\Temp\
java.library.path = C:\Program Files\Java\jre1.6.0_05\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files\Java\jre1.6.0_05\bin;C:\Program Files\Mozilla Firefox;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;"C:\Program Files\Java\jre1.6.0_05\bin"
java.protocol.handler.pkgs = com.sun.javaws.net.protocol|com.sun.deploy.net.protocol
java.runtime.name = Java(TM) SE Runtime Environment
java.runtime.version = 1.6.0_05-b13
java.security.policy = file:C:\Program Files\Java\jre1.6.0_05\lib\security\javaws.policy
java.specification.name = Java Platform API Specification
java.specification.vendor = Sun Microsystems Inc.
java.specification.version = 1.6
java.vendor = Sun Microsystems Inc.
java.vendor.url = http://java.sun.com/
java.vendor.url.bug = http://java.sun.com/cgi-bin/bugreport.cgi
java.version = 1.6.0_05
java.vm.info = mixed mode, sharing
java.vm.name = Java HotSpot(TM) Client VM
java.vm.specification.name = Java Virtual Machine Specification
java.vm.specification.vendor = Sun Microsystems Inc.
java.vm.specification.version = 1.0
java.vm.vendor = Sun Microsystems Inc.
java.vm.version = 10.0-b19
javaplugin.proxy.config.type = direct
javawebstart.version = javaws-1.6.0_05
jnlpx.heapsize = 64m,128m
jnlpx.home = C:\Program Files\Java\jre1.6.0_05\bin
jnlpx.jvm = "C:\Program Files\Java\jre1.6.0_05\bin\javaw.exe"
jnlpx.remove = false
jnlpx.splashport = 49557
line.separator = \r\n
opslag = aa001/AB/007/0000a-A.Jpg,aa001/AB/007/0002a-F.Jpg,...
os.arch = x86
os.name = Windows Vista
os.version = 6.0
path.separator = ;
service = http://ao.sa.dk/LAView/ImageServer/Service1.asmx
sessionId = ed0l5n55yu2h04alvqxdpbn3
sun.arch.data.model = 32
sun.boot.class.path = C:\Program Files\Java\jre1.6.0_05\lib\resources.jar;C:\Program Files\Java\jre1.6.0_05\lib\rt.jar;C:\Program Files\Java\jre1.6.0_05\lib\sunrsasign.jar;C:\Program Files\Java\jre1.6.0_05\lib\jsse.jar;C:\Program Files\Java\jre1.6.0_05\lib\jce.jar;C:\Program Files\Java\jre1.6.0_05\lib\charsets.jar;C:\Program Files\Java\jre1.6.0_05\classes;C:\Program Files\Java\jre1.6.0_05\lib\javaws.jar;C:\Program Files\Java\jre1.6.0_05\lib\deploy.jar
sun.boot.library.path = C:\Program Files\Java\jre1.6.0_05\bin
sun.cpu.endian = little
sun.cpu.isalist = pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86
sun.desktop = windows
sun.io.unicode.encoding = UnicodeLittle
sun.java.launcher = SUN_STANDARD
sun.jnu.encoding = Cp1252
sun.management.compiler = HotSpot Client Compiler
sun.os.patch.level =
trustProxy = true
user.country = DK
user.dir = C:\Users\Maj-Britt\Documents
user.home = C:\Users\Maj-Britt
user.language = da
user.name = Maj-Britt
user.timezone = Europe/Paris
user.variant = As one can clearly see, the 'bog' and 'titel' (i.e. first and last) properties are missing, resulting (bad code - I know) in a NullPointerException.We also have this problem, but it's not first and last property.
We have 6 properties, and the 3. property is gone.
If I download the jnlp file, the property is there, if I choose show jnlp file in "javaws -viewer" it's not there. Only difference between this property and the working properties is length.
The length is char 255, and the data is base64 encoded.
I worked fine before upgrading to Java 6 update 5.
Anyone any ideas? -
H:inputText and immediate="true" not updating cached backing bean value
Hi,
I am having a problem with h:inputText and immediate="true" when
returning back to the same page.I looked through the forums but the
only solution to remove the page from the session works only if I
don't have to change any button label names in the page I am going back
to.Unfortunately, I have to change a button name when I go back to the
same page.The button name change works if i don't remove the page from
session but then h:inputtext has stale values in it from the backing
bean.I also need to avoid validation as it is a huge form.
I have tried looking through the JSF forums but they didn't have any
answers for a very similar question.
I am not sure how exactly to use component binding for the input text and update the model values using an actionListener.I have tried puting a binding on an input text field and then used an actionListener instead of immediate="true' in the h:commandLink.But, putting context.renderResponse() in the actionListener method results in the model values not getting updated.
I have also tried using component.processUpdates(facesContext) as in the UpdateModelValuePhase class -that too doesn't work.
Thanks for any help,
Vijay
Details:
The <h:inputText ..> does not populate the values back from a backing
bean when immediate="true" is used when an action is called.
<h:commandLink id="selectPrincipalId"
action="#{application.selectPrincipal}" immediate="true">
Only <h:inputText has the cached values from the first entry.
<h:inputText id="principalLastName1Id"
value="#{application.currentPrincipal.lastName}" size="10"/><== this
has the cached value from the backing bean application.
<h:outputText gets the new values from the backing bean when the same
page is reentered.
<h:outputText value="#{application.currentPrincipal.lastName}"></h:outputText><==
this refreshes with the new value from the backing bean application.
Here is the solution to rectify the problem:
FacesContext facesContext = FacesContext.getCurrentInstance();
ExternalContext externalContext = facesContext.getExternalContext();
Map sessionMap = externalContext.getSessionMap();
sessionMap.remove("/jsp/befg/tc/apply/enterCreditApplication.jsp");
<== this is the name of the jsf page as defined in the
faces-config.xml.Hi,I have encountered the same problem as you,and I find a solution myself,which is shown as follows,but I don't know if these is any hidden trouble in the code.
<h:form>
<h:commandLink action="#{app.action}" immediate="true" actionListener="#{app.update}">xxxx</h:commandLink>
<h:inputText id="_id" value="#{app.val}" immediate="true"/> //must set immediate="true" else the model will be not updated
<h:message for="_id"/>
</h:form>
public class App{
public void update(ActionEvent event){
FacesContext c = FacesContext.getCurrentInstance();
UIViewRoot root =c.getViewRoot();
root.processUpdates(c);//to update model and short-circuit the validators
in such circumstance,the UIViewRoot's processUpdates method will be called in the actionlistener,and the back bean who titled to immediate(true)'s inputText will be updated, but the one who titled to immdiate(false)'s inputText will not be updated,Why?
Can anyone tell me way?and how to solve?
Thanks a lot! -
How to create and configure proxies in ADF mobile using OWSM client agent?
Hi
Can anyone please tell me how to create and configure proxies in ADF mobile application using Oracle Web Services Manager (OWSM) Lite Mobile ADF Application Agent. I read it in mobile document that,
For secured web services, the user credentials are dynamically injected using ADF Mobile uses Oracle Web Services Manager (OWSM) Lite Mobile ADF Application Agent to create and configure proxies, as well as to request services through the proxies. The user credentials are injected into the OWSM enforcement context when proxies are configured.
I am new with this OWSM, can anyone please give me some hints like how to proceed further for implementing authentication using OWSM lite mobile ADF Application Agent??
Thanks in advance
RajHi Juan
The demo is very useful, and in that Shay describes about the remote login using a regular ADF webapplication as a secured one and deploying it into the server. But I would like to know how to create a local login using OWSM client agent? .
Without creating a regular ADF webapplication, how can i call secured webservices(i.e., by using OWSM client agent how to create and configure proxies to call secured webservice, where the user credentials are injected into webservice request by OWSM client as mentioned in ADF mobile document)??
Regards
Raj
Maybe you are looking for
-
Splitting a library between three kids
A few years ago, we gave our three kids, then ages 12, 8 and 5, iTouches. To keep it simple, we set up one account in the oldest child's name, and each of them would sync their device with the laptop they shared where the library was housed. That ma
-
External Firewire to a PC?
Hey, Problem: Is there a way to get a PC (running XP) to identify and use an external firewire HD I've stored all of my music on, via an iBook? I connected it to the PC but Xp couldn't read the volume. It would be great to transer the files over the
-
Function module to get dependencies
Hi All, Is there any function module to get the dependencies for a given characteristic and characteristic value. I have tried CUKD_XREF_OBJ_CHARC , CUKD_XREF_OBJ_CHARC_SVAL but not useful. Thanks&Regards, Manjula.S
-
Hi: My friend bought a laptop and after a couple of months it immediately asks for the Administrator password or Power On password. They bought it from "fingerhut" who says they will do nothing. They have not even completed paying for it yet.I hav
-
Hi fellow SAPians, what is the significance of Return tables in SAP BW. I wonder can it be used for distribution purposes similar to SEM -BPS ? Cld anybody clarify me these concepts ? thanking you in Advance,