Problems with CFNoCache=TRUE
I have a problem.
When forms are submitted with action=post the following is appended to the url string &CFNoCache=TRUE.
I am using cgi.scriptname?cgi.query string in the form action and it seems that &CFNoCache=TRUE is being passed along invisibly in the query string.
I have googled this and can't find anything that helps.
Anyone know what I can do as it seems to have the knock on effect of clearing sessions which is causiohg me grief.
Thanks
I have had similar problems with same error messages. I've concluded that this problem ocurred due to different versions between SQLLoader and Data Base server and the way OWB invokes SQLLDR during a direct path loading.
You said you use OWB10 against a 9.2.0.4 database. If you see at OWB10 home you will see at "bin" folder an SQLLDR.EXE, and the version of this SQLLDR is 10.x.x. which does not correspond to de database version.
If you review the folder "OWB10home\owb\log" you will see log files with the name of the runtime repository and a version number. Please check the one that corresponds to the time of sqlloader execution and you will see that OWB build up a command line using "OWB10home\bin\sqlldr.exe" and due version differences between SQLLoader and the database an error is raised. When you run sqlldr from the owb home through the command line, probably you are reaching the correct version of SQLLDR due to your machine path. Verify which version is used at the log file.
I could not find where it can be changed the definition of the sqlldr command line, at configure of mappings?, changing paths?, etc. So, the only workaround that I have found was to use OWB 9.2 against a 9.2 database if I will use SQLLoader and uninstalled OWB10g.
If anybody knows how to solve this problem when OWB 10g is used please let us know.
Hoping this will help you.
Emilio Montecinos
Similar Messages
-
Problem with return true and if statement
I'm making a
ship shooter
game and I have a problem with the collision detection for the
corners of the stage. When you hold down two of the arrows to move
the ship into the corners of the screen, the ship will go past it.
The function bellow is what I'm using to detect this collision. The
reason I'm using a function is because it's used for the ship and
for all the balls from the cannons (as shown in the last two lines
of the attached code). This is the reason I need the return true,
so the if statement can be evaluated to true and then unload the
movieclip of the cannon ball. When I remove the return true, the
collision works fine, but obviously my cannon balls all get stuck
on the edges.
Any ideas?Well the function is called every frame, for the ship and for
every cannon ball that's on the screen. So it could be called about
4 times or so per frame. The problem is that ship goes through the
corners of the stage (btw, the green background is the stage area)
when you go in a diagonal direction.
Just curious...what's the unnecessary code you're talking
about? -
Problem with printing true colors
Had PSE7 and colors printed true and beautiful. Upgraded to PSE10 and all of a sudden colors printed muddy and dull with purplish overcast. Took printer in for service but problem persisted. Upgraded to PSE11 and once again colors were printing true and beautiful for over a year. Printed a card about 5 days ago using PSE11 - beautiful. Printed a card yesterday using PSE11 and colors muddy and dull with purplish overtones. Installed PSE13 and colors printing dull, muddy with purplish overcast.. I feel it is a problem somewhere in settings of PSE, but can't figure out where. I don't think it is a problem with printer. Both printer and PSE set to Adobe RGB. Color control set to optimize for printer. Using PC with Windows 7, 64 bit. Printer is Epson stylus photo 1400. Thanks for any help, Merrie
See if this helps:
http://helpx.adobe.com/photoshop-elements/kb/color-management-settings-best-print.html -
Global problem with immediate="true"
JSF specifies that immediate="true" in UICommands should skip the Validation and Update Model phases.
The RI uses the Update Model phase to reset the local values of the input components after updating the model. That means that in the case of immediate="true", the local values are not reset, and thus saved by the state manager.
The problem is that the next display of the page shows the previously entered values, instead of getting the values from the model, which is somewhat strange for a 'cancel' button.
I think this is mainly a problem with the spec which clearly indicates that the clearing of the local values should be done in the update model phase.
Is it possible to have a workaround for this ?the previous posts have been made long ago, but I'll give it a try:
I think this behavior is still buggy or at least not logical.
Example:
I've got a dataTable which shows a list of entries, each row with an "edit" commandButton and a "new" commandButton below the list.
If the user clicks an "edit" button, he is redirected to the "details" page where he can edit and save the values of this entry. This works as expected. But: On the "details" page, there's also a "cancel" button, which should navigate to the list again, without doing any validation or updating.
If I set this "cancel" button to "immediate", navigation works, but then I'll always see the values of the canceled entry, regardless of which "edit" button I click in the list.
If the "cancel" button is not immediate, validation fails when the user clicks "new" and then "cancel", because he gets an empty form, but some or all fields are required.
There are two workarounds:
1) Creating two different views, one for creating a new entry and one for editing.
2) The "cancel" button is a simple html-button, with the "onlick='location.href=xxxyyy'" attribute.
IMHO both workarounds are ugly. So, why is the view ignoring that there is a complete different entry object in the backing bean of the "details" input fields???
BTW: I'm using JSF SUN RI 1.1.01 (same with 1.2 current snapshot).
With MyFaces, everythings works but it has some other bugs, so I want to stick to the Sun RI.
Thanks,
Walter -
Problem with immediate=true, maybe a Bug
I'm using a dataTable for selecting an user. The selected userBean will be put to the session context with id "selectedUser". The next page allows to edit users values. This edit page contains a cancel button with immedtiate=true param to abort editing and go back to the list. The edit page contains some input fields like:
<h:inputText id="firstName" value="#{selectedUser.firstName}" />
<h:inputText id="lastName" value="#{selectedUser.lastName}" />
These fields are showing correct values for the selected user. But after selecting another user from the list the edit page is showing the values of the previous selected user! By selecting the second user again and again after a while the edit page shows the correct values.
Well, I've added a JSP expression to the edit page to show me if the selected user is the right one "Edit User (${selectedUser})". The value of this expression always shows the correct selected user.
If I modify the command button from:
<h:commandButton action="users" value="Cancel" immediate="true" />
to:
<h:commandButton type="reset" onclick="window.location.href='/faces/users'" value="Cancel" />
the problem does not appear!!!
For me it looks like a bug. Any ideas?
Thx,
WolfgangSorry for the imcomplete testcase, here it comes again:
--- Users.java ---------------------------------------------
package jsf.test;
import java.util.ArrayList;
import javax.faces.context.FacesContext;
public class Users
private ArrayList users;
public Users()
super();
users = new ArrayList();
users.add(new User("User_A", "firstName_A", "lastName_A"));
users.add(new User("User_B", "firstName_B", "lastName_B"));
users.add(new User("User_C", "firstName_C", "lastName_C"));
public ArrayList getUsers()
return users;
public String edit()
FacesContext context = FacesContext.getCurrentInstance();
User user = (User)context.getExternalContext().getRequestMap().get("user");
System.out.println("selectedUser: " + user);
context.getExternalContext().getSessionMap().put("selectedUser", user);
return "navToUser";
--- User.java ---------------------------------------------
package jsf.test;
public class User
private String loginName;
private String firstName;
private String lastName;
public User()
public User(String loginName, String firstName, String lastName)
this.loginName = loginName;
this.firstName = firstName;
this.lastName = lastName;
public String getLoginName()
return loginName;
public void setLoginName(String loginName)
this.loginName = loginName;
public String getFirstName()
return firstName;
public void setFirstName(String firstName)
this.firstName = firstName;
public String getLastName()
return lastName;
public void setLastName(String lastName)
this.lastName = lastName;
public String update()
System.out.println("user update: " + this);
return "navToUsers";
public String toString()
return firstName + " " + lastName;
--- users.jsp ---------------------------------------------
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<html>
<body>
<f:view>
<h:form id="selectUser">
<b>Users</b><p>
<h:dataTable id="users" value="#{users.users}" var="user">
<h:column>
<f:facet name="header">
<h:outputText value="Login Name" />
</f:facet>
<h:commandLink action="#{users.edit}">
<h:outputText value="#{user.loginName}"/>
</h:commandLink>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="First Name" />
</f:facet>
<h:commandLink action="#{users.edit}">
<h:outputText value="#{user.firstName}"/>
</h:commandLink>
</h:column>
<h:column>
<f:facet name="header">
<h:outputText value="Last Name" />
</f:facet>
<h:commandLink action="#{users.edit}">
<h:outputText value="#{user.lastName}"/>
</h:commandLink>
</h:column>
</h:dataTable>
</h:form>
</f:view>
</body>
</html>
--- user.jsp ---------------------------------------------
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<html>
<body>
<f:view>
<h:form>
<b>User</b><p>
<h:panelGrid columns="2" cellpadding="5">
<h:outputText value="Login Name" />
<h:inputText id="lognName" value="#{selectedUser.loginName}"/>
<h:outputText value="First Name" />
<h:inputText id="firstName" value="#{selectedUser.firstName}"/>
<h:outputText value="Last Name" />
<h:inputText id="lastName" value="#{selectedUser.lastName}"/>
<h:outputText value=" " />
<h:panelGroup>
<h:commandButton action="navToUsers" value="Cancel" immediate="true"/>
<%-- <h:commandButton type="reset" onclick="window.location.href='/faces/users.jsp'" value="Cancel"/> --%>
<h:outputText value=" " />
<h:commandButton action="#{selectedUser.update}" value="OK"/>
</h:panelGroup>
</h:panelGrid>
</h:form>
</f:view>
</body>
</html>
--- faces-config.xml ---------------------------------------------
<managed-bean>
<description>
Bean for TEST users.
</description>
<managed-bean-name>users</managed-bean-name>
<managed-bean-class>jsf.test.Users</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
<managed-bean>
<description>
Bean for TEST user.
</description>
<managed-bean-name>user</managed-bean-name>
<managed-bean-class>jsf.test.User</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>
<navigation-rule>
<from-view-id>/users.jsp</from-view-id>
<navigation-case>
<from-outcome>navToUser</from-outcome>
<to-view-id>/faces/user.jsp</to-view-id>
</navigation-case>
</navigation-rule>
<navigation-rule>
<from-view-id>/user.jsp</from-view-id>
<navigation-case>
<from-outcome>navToUsers</from-outcome>
<to-view-id>/faces/users.jsp</to-view-id>
</navigation-case>
</navigation-rule> -
Problem with setTransient(true) JSF tree method
Hi all,
I have created dynamic tree .
I am parsing the Parent and Child nodes and constructing the tree.
I am using my own method treeSlectionHandler() for event handling for which i am using MethodBinding class and getCookieSelectedNode() method.
Here is the problem ,whenever I delete or add any node from/into database change did not reflected in the tree .
So I am using setTransient(true) which is able to reflect the database changes.
I have one JSP(tree page) with this tree and one button on this page .I am calling tree.setTransient(tree) inside button action.
Now I will delete one node from database.
So I will click the button then which will go to next page.
Again I will navigate to Tree page through menu.
If I click any node for the first time it will simply refresh the tree state as in the database (if 10 nodes in database it wil show 10)
But click action will not work (no check image set)
But for the very next click the click action works and check image is set.
So plz suggest me is there any other method to refresh the tree state ?
I[b] want both tree refresh and click action happen simultaneously.
I will be thankful if any one suggests me the solution .Hello EJP !
You downloaded the sample to see? I use a button made in the project and not the browser button.
Note: Sorry if this with some english mistakes but I do not speak very well. -
Problem with setVisible(true) ??
Hi All;
In my application, I am using JFrame and added some component. At last I called setVisible(true); method. But it cann't works.
Then I tried with show() method. but the result is same.
Then I tried with isDisplayable() method, but strange ,it is returning false.
Now my problem is why it is hanging on calling the setVisible() method. or why it is returning false for isDisplayable().
Can anybody guide me to solve the problem.
Thanks in advance.
-Sumeet GYou should pack() or validate() the frame before
calling setVisible(). Do pack if you use layout
managers, validate if you set components size
manually. -
Problem with flush=true in the jsp:include tag
Hello
I have deployed a JSP based application , based on the apache struts framework. The web server is Sun One Webserver 6 Service Pack4, on a windows 2000 machine
The same application was tried on SunONE application server 7, and it works without any problem. However in this case the following error , on the page
javax:servlet.jspexception:Illegal to flush within a custom tag
Does this mean flush="true" is not allowed within custom tags
Or is there a workaround for this
Any help is appreciated
thanks
- AniruddhaHi,
This is a known problem, ��flush before you include�� limitation in JSP 1.1.
As a result, you have to state flush="true" every time you include a jsp using <jsp:include> tag if you are using JSP1.1.
Fortunately, it is fixed in JSP1.2. The flush attribute controls flushing. If true, then, if the page output is buffered and the flush attribute is given a ��true�� value, then the buffer is flushed prior to the inclusion, otherwise the buffer is not flushed. The default value for the flush attribute is ��false��.
Gary Wang
Developer Technical Support
SUN Microsystems
http://www.sun.com/developers/support/ -
Problem with immediate="true" used with inputText
Hi everybody,
I have two component, A and B, of type inpuText. When A is updated, I want B to be updated according to the value provided in A.
I have to use immediate=True + context.renderResponse because I'm using some converters and validators because I want to avoid error messages being displayed at that point.
I'm using partialtrigger to tell B to refresh himself when A changes it's value.
This doesn't work.
If I'm using the same code, but with ouputText instead, everything works!
the code looks like this:
<af:inputText id="A" styleClass="normalInputText"
label="A" simple="true"
value="#{controller.formBean.A}"
valueChangeListener="#{controller.updateB}"
autoSubmit="true" immediate="false"/>
<af:inputText id="netAmount" styleClass="normalInputText"
label="B" simple="true"
value="#{controller.formBean.B}"
partialTriggers="A">
public void updateGrossPriceDependentFields(ValueChangeEvent event)
FacesContext context = FacesContext.getCurrentInstance();
formBean.setA((Long)event.getNewValue());
if(formBean.getA().intValue() == 0)
formBean.setB(new Long(222));
else
formBean.setB(new Long(0));
context.renderResponse();
Any ideas?Hi ,
Just Try with this instead of context.renderResponse();
Context.addPartialTarget(ComponantNAME);
So that it will get refreshed
RHY
Message was edited by:
RHY -
I have a problem with setVisible(true) !!!!!!
Hi!
Could you tell me please, how can I use the method
getSize() before call the method setVisible(true)??
If I call the method getSize() before setVisible(true)
then return getSize() only 0 !!!!!
I must call getSize() before setVisible(true).
Thank you for your help ;-))
Code:
import java.awt.*;
class Test extends Frame
Test()
t.setSize(200, 100);
Button b=new Button("test");
t.add(b);
System.out.println("Size: "+ b.getSize()); //It doesn't work!!!!
t.setVisible(true); // ohne das haut's ihn raus !
public static void main(String args[])
(new Test());
}If you want to get the Button size, then you should set the button size before you called getSize(), otherwise you will get the value of zero just like yours.
Try the following code.
import java.awt.*;
class Test extends Frame
Test()
setSize(200, 100);
Button b=new Button("test");
b.setSize(70,25);
add(b);
System.out.println("Size: "+ b.getSize()); //It doesn't work!!!!
setVisible(true); // ohne das haut's ihn raus !
public static void main(String args[])
new Test();
In this way, you will get the button size! -
Problem with required="true"
Hi,
If I set required="true" for an inputText, then if I click the return button without filling in this inputText , I can't return because the field must be filled!!!!
Does someone have an idee about resolving that?
ThanksSet immediate="true" on your return button.
Note: This will skip ALL component validation. Which is probably what you want anyways.
CowKing -
Hi, I get error (-15006) when I try to connect air play true Apple TV. No problem with my old PC. with my Mac i get that error.
It is true the Ithunes I get the problem.
What can I do to fix this.
I also have problem some times to conect to my Ipad to Apple tv. Some time I have to restart my Ipad to get conection to Apple t. whay is that ?
can some one help me ?Hi whitwick,
If you are having issues with your network connection when attempting to use AirPlay, you may want to use the steps in this article to troubleshoot -
iTunes: Troubleshooting AirPlay and AirPlay Mirroring
http://support.apple.com/kb/TS5209
Thanks for using Apple Support Communities.
Best,
Brett L -
I was thinking of downloading Maverick, but I am seeing that Skype is having problems with it. Is this still true. I am on snow leopard 10.6.8 now
Hi,
I'm using Mavericks and there are no issues with SKYPE.
I using SKYPE 6.9 and this version is working well without issue.
For some reason I didn't downloaded SKYPE 6.11 I don't know why anymore ... but I'm sure I hat my reasons not to do so.
Dimaxum -
I just heard a news report that there is a problem with malware in mac computers that came through a recent java update. Is this true? If so, what should be done about it?
As usual those "news" reports mangled the facts and got most of the story completely wrong. This particular attack did not arise through a Java update, it was distributed through a fraudulent Flash download popup window, or malicious websites that Safari is designed to block.
If you run Java on your Mac you may be vulnerable to this malware. If you do not run Java there is no risk. If you routinely keep your Mac up to date with Software Update the risk is greatly reduced.
Shut off the mass market junk that masquerades as "news" and read this to learn some real facts:
https://discussions.apple.com/docs/DOC-3271 -
Problem with inputText and autoTab="true"
Hi to everyone
I've a strange problem with the property autotab.
if i have this situation:
<af:inputText id="it1" columns="2" autoTab="true"
maximumLength="2" autoSubmit="true">
</af:inputText>
<af:inputText id="it2" columns="1" maximumLength="1">
</af:inputText>
when the cursor pass from the first inputText to the second, the last character of the first inputText is cancelled. Anyone has the same problem? How can i solve it?
Thanks in advance to everyone.use like this:
<af:inputText id="it1" columns="1" autoTab="true"
maximumLength="3" autoSubmit="true" partialTriggers="it2">
</af:inputText>
<af:inputText id="it2" columns="1" maximumLength="1" autoSubmit="true" autoTab="true" partialTriggers="it1 it3">
</af:inputText>
<af:inputText id="it3" columns="1" maximumLength="1" partialTriggers="it2">
</af:inputText>
Maybe you are looking for
-
Passing table names through variables
Hi All, Is it possible to pass the table name in a query using a variable. For example - can we perform a select on a table where the table name is passed using a variable. Pl assist. Thanks.
-
I'm using InDesign CS5.5. How do I make a new swatch and save it so that it appears in my swatches pane when I close and re-open InDesign? I created a few new swatches, but when I opened the program again, they were gone. Thanks for any help.
-
Touch screen double clicks are seen as two single clicks due to position sensitivity
I'm developing an app for a laptop with a touch screen. It displays several low resolution images in Lab View pictures. The operator can select an image by double clicking, displaying a higher resolution picture that fills the screen. Double clicking
-
Can't open one website on macbook air wifi
http://ijcmr.weebly.com The name of website given above cannot be accessed on wifi connected to mac, but i can access it when i connect my mac with modem with data card (net setter). please help me why such thing happening with me??
-
Help! I can't open Itunes nor read my music! I had an accident!
I accidentally displaced my music files from from Itunes Library to the other hard drive disk called DATA while reading Itunes at the same time. Suddenly, all my music was locked and I couldn't listen to it. I put the files back in their original pla