A bug in EA4:about setRendered() of UIComponent not work ..
i found setRendered() of UIComponent not work..
here is my jsp :
<%
FacesContext context = FacesContext.getCurrentInstance();
UIComponent foundComponent = context.getTree().getRoot().findComponent("delcancel");
if (foundComponent != null) {
foundComponent.setRendered(true);
%>
<h:command_button id="delcancel" type="submit" label="delcancel"
commandName="delcancel" rendered="false">
</h:command_button>
and submit is always not rendered..why?
Yes, I've encountered the same bug. See the thread "practices? setting an acknowledgment"
at
http://forum.java.sun.com/thread.jsp?forum=427&thread=417565&tstart=0&trange=15
Similar Messages
-
[svn] 4377: Bug: BLZ-292 - Data Push sample does not work in BlazeDS Turnkey
Revision: 4377<br />Author: [email protected]<br />Date: 2008-12-22 16:16:25 -0800 (Mon, 22 Dec 2008)<br /><br />Log Message:<br />-----------<br />Bug: BLZ-292 - Data Push sample does not work in BlazeDS Turnkey<br />QA: Yes<br />Doc: No<br />Checkintests Pass: Yes<br /><br />Details:<br />* Regression due to some refactoring of user-agent handling that was failing to set up defaults if no explicit <properties> were defined for the <channel-definition>. This meant that for IE, no kick-start bytes were being pushed down the streaming connection at setup time...<br /><br />Ticket Links:<br />------------<br /> http://bugs.adobe.com/jira/browse/BLZ-292<br /><br />Modified Paths:<br />--------------<br /> blazeds/trunk/modules/core/src/flex/messaging/endpoints/BasePollingHTTPEndpoint.java<br /> blazeds/trunk/modules/core/src/flex/messaging/endpoints/BaseStreamingHTTPEndpoint.java<br /> blazeds/trunk/modules/core/src/flex/messaging/util/UserAgentManager.java
Hi,
Thanks for your feedback!
This feature has been going through a lot of changes with the BlazeDS and Flash Builder builds.
We request you to pick up the BETA2 build of Flash Builder and BlazeDS 4.0.0.10654, hopefully you should see things working fine.
Kindly let us know if you still encounter problems.
Thanks,
Balaji
http://balajisridhar.wordpress.com -
Revision: 5036
Author: [email protected]
Date: 2009-02-23 06:24:31 -0800 (Mon, 23 Feb 2009)
Log Message:
Bug: BLZ-347 - Secure amf polling channel not working correctly on IE in BlazeDS/3.x branch.
QA: Yes
Doc: No
Checkintests: Pass
Details: This is BlazeDS part of the fix. For MSIE over HTTPS, we need to add additional Cache-Control headers.
Ticket Links:
http://bugs.adobe.com/jira/browse/BLZ-347
Modified Paths:
blazeds/branches/3.x/modules/core/src/java/flex/messaging/endpoints/AbstractEndpoint.javaRevision: 5036
Author: [email protected]
Date: 2009-02-23 06:24:31 -0800 (Mon, 23 Feb 2009)
Log Message:
Bug: BLZ-347 - Secure amf polling channel not working correctly on IE in BlazeDS/3.x branch.
QA: Yes
Doc: No
Checkintests: Pass
Details: This is BlazeDS part of the fix. For MSIE over HTTPS, we need to add additional Cache-Control headers.
Ticket Links:
http://bugs.adobe.com/jira/browse/BLZ-347
Modified Paths:
blazeds/branches/3.x/modules/core/src/java/flex/messaging/endpoints/AbstractEndpoint.java -
It seem a bug in flash server " main.asc is not working well"
i did download the latest version of flash media server , but it seam the /live/main.asc did not work at all ,
i did create a main.asc in :
C:\Program Files\Adobe\Flash Media Server 3\applications\live\
to be :
C:\Program Files\Adobe\Flash Media Server 3\applications\live\main.asc
now i did add to main.acs this code :
application.onConnect = function(client, name) {
trace("TRACE -- TRACE -- TRACE -- TRACE -- TRACE -- TRACE");
as the help files said :
The output of the trace() statements used by a main.asc file are sent to a log file, typically:
RootInstall/logs/_defaultVHost_/yourApplicationName/yourInstanceName/application .xx.log
Where yourInstanceName is _definst_ by default, and xx is the instance number, 00 for the most recent log file, 01
for the previous instance, and so forth.
You can view a log file with any text editor.
i opened "Flash Media Live Encoder 3" and point the stream to "rtmp://localhost/live/stream" hist start , traming is start well,
i went to the log to see if it true that FMS will write the trace !
C:\Program Files\Adobe\Flash Media Server 3\logs\_defaultVHost_\live\stream\application.00.log
where the "stream" is the the name of the "instance"
i did not found any thing regarding the "trace("TRACE -- TRACE -- TRACE -- TRACE -- TRACE -- TRACE");"
Please adviceIt seem no one in the world have this broblem !Please if you have a plan to help us (if).
Do the following :
· Download the latest version of flash media server , linux or windows never mind
· Install flash media server , as usual with standard settings , in linux use Nobody user
· Now the FMS is run and active .
· Go to the application directory in the “C:\Program Files\Adobe\Flash Media Server 3\applications\live”
· The content of this directory will be as the list below :
main.far
Application.xml
allowedHTMLDomains.txt
allowedSWFDomains.txt
So there is NO main.asc file , create a new text file . rename it to be “main.asc”
o Open the main.asc code , it will be empty for sure .
o Put the following command :
o trace(‘--------------- Test The Log Out Put -------------’);
· Now Open the “fms_adminConsole.htm” and Login as admin
· Select View Applications Tap
· Now , form “New Instance” select the “LIVE” and insert “test”
· Click on the name of the Instance in the right window and click the restart application icone in the toolbar , and see the live log , there is no out put of the trace command:
o Found wildcard (*) entry: disabling authentication for HTML file domains
o Found wildcard (*) entry: disabling authentication for SWF file domains
o Unloaded application instance live/test
· Any way , Now Open the “Adobe Flash Media Live Encoder 3”
· Point the FMS to “rtmp://localhost/live/test”
· Stream: test_str
· Click on start
· Go to “fms_adminConsole.htm”
· Select View Applications Tap
· Go to live loge window ,
· There is nothing regarding the trace command that we set in the main.asc ate the 1st place, but we did restart the app! strange !!!!
· We can see just “Accepted a connection from IP:127.0.0.1”
· Is there any thing wrongs with the steps ! is it a bug or what ?
· If trace command did not run so any command will not load .
· Why is that ? -
Bug Report: "View PDF After Saving" Does Not Work When Saving as Photoshop PDF
The saved PDF file is not opening in Acrobat after saving a file as a Photoshop PDF. I noticed it happening a few times in earlier beta testing, but today it happened again.
I have Adobe Acrobat Pro 10.1.2 installed on MacPro with Lion OS 10.7.3. Photoshop public beta m415. System info can be provided if needed.
The file I was trying to save was about 8 MB. Once it failed to open after save, I tried varied PDF settings and save locations. Also tried several different files. All were saved properly as PDF files, but would not continue to open in Acrobat as previous versions have done. The files open properly when you click on the file names in saved location.
3153152
3153152I'm happy I could help and feel a bit proud to have found a real bug. The simplest work around is just clicking on the file list once it's done...that's certainly not a problem.
Larry
=====================================
Larry Guyer
A la Carte Digital Studios
Archetype Digital Imaging Alliance
P.O. Box 4365
Foster City, CA 94404-0365
650-348-2525 office
323-372-1669 fax
650-444-7100 cell
www.alacartedigital.com
www.archetypeimaging.com -
'Display a notification about every script error' not working in IE11
Hi all,
I want to see script errors when script errors occur in pages (as a developer). In older versions of IE when you enable 'Display a notification about every script error' a yellow icon appeared at the bottom of IE and when you clicked it, you could see what
was wrong in the scripting.
In IE11 this no longer works. Is this a bug ?
Callant
Callant"This is actually by design. The scenario you are describing is better served by the F12 developer tools, and in IE11 we disabled this dialog entirely because of the performance overhead these old dialogs incurred and the fact that the F12 tools
are a better place for this information to surface."
- Christian Stockwell [MSFT], The Internet Explorer Team
Please see the Connect comments
here.
Please read:
Using the F12 developer tools
Regards,
Vincenzo Di Russo
Microsoft® MVP Windows Internet Explorer, Windows & Security Expert - since 2003.
Moderator in the Microsoft Community and TechNet Forums
My MVP Profile -
A clip in path
containing
non-English
directory like Chinese, When I analyze it, I have get nothing, the Ouput report SUCCESS, the Control show 'Frames:0 Worst Error: 0 Average RMS:0 False Positives:0 False Negatives :0', no green
curve,.
After I move the Solution and clips to a No
non-English
directory, the VGB analyze is work. The green curve of clip is appear.
NuGUNDAMThat is a known bug and no fix at this time. You will need to use your workaround that you said works.
Carmine Sirignano - MSFT -
Fit Frame to Content Bug in InDesign CC? Keyboard shortcut not working
Using InDesign CC 9.1 in Mountain Lion, recently installed and has been working fine except I noticed that the keyboard shortcut for Fit Frame to Content won't work, even though the other frame fitting shortcuts work. I searched this forum and elsewhere to see if there was any reported bug for this but came up with bubkis.
When using the contextual menu option or toolbar button for Fit Frame to Content I don't have any problem. I thought perhaps my own set of shortcuts had overridden this default shortcut somehow so I reverted to the default set without any luck. I quit and re-opened ID with the default shortcut set, no luck either.
In the Keyboard Shortcuts menu options, when I try to assign Opt-Cmd-C it does say it's already assigned to that function. I'm at a loss here to understand why this one particular function isn't working as a shortcut. Any ideas why? What can I do? Thanks.It's working for me in InDesign CC on the same operating system.
Here's a couple ideas:
Make sure there's not a Mac OS X system shortcut already set to this shortcut. Go to System Preferences > Keyboard Shortcuts and check all the tabs for existing system shortcuts (I didn't find any but maybe you had set one). InDesign CC now gives preference to the system.
You could also try restoring your InDesign preferences. -
About:home search engine not working
When I attempt searching in about:home it fails. It seems to be a JS error since the html form appears quite valid. My aboutHome.js is here: http://pastebin.com/muSihvGt .
As can be seen below, I'm on linux 3.2.0-29-generic , 64 bit. In Aurora.How is the about:home search engine being reported?
You can inspect the current search engine via this code in the Web Console panel with the about:home page on display.<br />
Paste this code in the command line that gets selected when you open that panel via Firefox > Web Developer > Web Console or Ctrl+Shift+K.
<pre><nowiki>localStorage["search-engine"]
</nowiki></pre>
Copy the result via the right-click context menu to the clipboard and paste it here.
I see this:
<pre><nowiki>"{\"name\":\"Google\",\"searchUrl\":\"https://www.google.com/search?q=_searchTerms_&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a\"}"</nowiki></pre> -
What to do about iPhone home button not working?
I've had my iPhone for about 7 months and the recently started to becom non responsive, but only sometimes. Sometimes I'll have to click it 10 times before it quits an app or even to wake the phone up. I an on 4.3.1 but it also did this on 4.2.what do I do? Can I get a new phone?
I'm aware that you can not promise me a new phone, I was merely asking advice on what I should do, and if it I should go to the apple store or wait for an update.
Excuse me for asking for advise in a forum you majesty. -
Report a bug: ThinkPad Compact Keyboard's FnLk do not work
I Found this problem:
On a computer without any sound card, the osd.exe (C:\Program Files (x86)\Lenovo\ThinkPad Compact Keyboard with TrackPoint driver) can't startup. It exit after pop up a message box "This program requier windows Vista/Win7."
The FnLk require osd.exe, so FnLk can't work on a computer without sound card.
Please solve this bug, thanks!Their driver/utilities for the ThinkPad Compact Keyboard variants really need improving...
-
Babylon Search Engine overrides Home Page and New Tabs - About: Config Reset does not work
Tried new tab homepage addon as well.
Tried uninstalling Babylonobject installer with Revo Uninstaller forced uninstal.
Tried reinstalling firefox.
Setting Homepage to Show a Blank Page works for the startup but means I cannot have a homepage setup.
Firefox detects something trying to change the homepage on start up but does nothing about preventing Babylon even if the change is denied.It sounds like you have a Third-Party Toolbar that has taken over your Search Engine, Home Page, and/or the Default New Tab Page. Fortunately this can be remedied easily:
# At the top of the Firefox window, click on the Firefox button (Tools menu in Windows XP), and then click Add-ons. The Add-ons Manager tab will open.
# In the Add-ons Manager tab, select the Extensions panel.
# Select the toolbar you wish to remove.
# Click the Remove button.
# Click Restart now if it pops up. Your tabs will be saved and restored after the restart.
After Firefox restarts, install the [https://addons.mozilla.org/en-US/firefox/addon/searchreset/ Search Reset Tool]. This will remove the rest of the traces of this program from your Firefox.
For further information, please read [[Remove a toolbar that has taken over your Firefox search or home page]].
Does this help your question? Let us know! -
Confusion about get/set method not working
Hi
Hopefully someone can point out the elementary mistake I have made in my code. I have created a get/set method to hold a value"total" so that I can then get it to display it further down my code in an HTML page. I am setting the value as I can check this by printing it out (line 102) but when I try to use it again it displays 0.0. What have I done wrong?
class ReportListener implements ActionListener
Context context;
ResultSet resultAll;
ResultSet resultTotal;
JFrame frame;
int daysInMonth;
int i;
DisplayCurrencyOnBills d;
DateFormatSymbols symbols;
String[] newWeekday;
Date theDate;
String date;
ReportListener (Context theContext)
context = theContext;
public void actionPerformed(ActionEvent e)
try
printWeeklyReport();
//countDaysInMonth();
getReportMoneyTotal();
catch (SQLException s)
s.printStackTrace();
public void countDaysInMonth()
public void getReportMoneyTotal() throws SQLException
Calendar todayTotal =Calendar.getInstance() ;
SimpleDateFormat reportDateFormat = new SimpleDateFormat("dd MM yyyy");
PreparedStatement preparedT =context.getConnection().prepareStatement(
"SELECT Sum(tblSession.Fee) AS Total, Count(tblBooking.BookingID) AS CountOfBookingID FROM tblSession INNER JOIN "+
"(tblBooking INNER JOIN tblCustomer_Booking ON tblBooking.BookingID = tblCustomer_Booking.BookingID) ON tblSession.SessionID = tblBooking.SessionID "+
"WHERE (((tblBooking.EventDate)>DateAdd('m',-1,#"+reportDateFormat.format(todayTotal.getTime())+"#)) AND ((tblSession.Session)='Morning' Or (tblSession.Session)='Evening')) OR (((tblSession.Session)='Afternoon') AND ((tblBooking.Extension)=Yes))"
ResultSet resultTotal =preparedT.executeQuery();
resultTotal.next();
double total =resultTotal.getDouble("Total");
context.setReportIncomeTotal(total);
System.out.println("Line 102 "+context.getReportIncomeTotal());
preparedT.close();
public void printWeeklyReport() throws SQLException
Calendar today =Calendar.getInstance() ;
SimpleDateFormat reportDateFormat = new SimpleDateFormat("dd MM yyyy");
PreparedStatement prepared =context.getConnection().prepareStatement(
"SELECT tblBooking.EventDate, tblSession.Session, tblBooking.Extension, tblSession.Fee, Count(tblBooking.BookingID) AS CountOfBookingID "+
"FROM tblSession INNER JOIN (tblBooking INNER JOIN tblCustomer_Booking ON tblBooking.BookingID = tblCustomer_Booking.BookingID) ON "+
"tblSession.SessionID = tblBooking.SessionID GROUP BY tblBooking.EventDate, tblSession.Session, tblBooking.Extension, tblSession.Fee "+
"HAVING (((tblBooking.EventDate)>DateAdd('m',-1,#"+reportDateFormat.format(today.getTime())+"#)) AND ((tblSession.Session)='Morning' Or "+
"(tblSession.Session)='Evening')) OR (((tblSession.Session)='Afternoon') AND ((tblBooking.Extension)=Yes))"
ResultSet resultAll =prepared.executeQuery();
resultAll.next();
System.out.println("Line 123 "+context.getReportIncomeTotal());
PrintWriter printWriter;
try
JFileChooser fc=new JFileChooser();
int returnVal = fc.showSaveDialog(frame);
if (returnVal != JFileChooser.APPROVE_OPTION)
return;
FileOutputStream outputStream=
new FileOutputStream(fc.getSelectedFile());
OutputStreamWriter writer=
new OutputStreamWriter(outputStream,"UTF-8");
printWriter=new PrintWriter(writer);
printWriter.println("<html><meta http-equiv='Content-Type' content='text/html; charset=UTF-8'><body><h1>Monthly Usage Statistics</h1>");
printWriter.println("<table width='100%' border='1'><tr><td width='100%' colspan='8'><h2 align='center'>Monthly Summary</h2></td></tr>");
System.out.println("Line 152 "+context.getReportIncomeTotal());
int count = 0;
while ( resultAll.next() )
count++;
String session = resultAll.getString("Session");
Double fee= resultAll.getDouble("Fee");
// display currency correctly
//double d=Double.parseDouble(fee);
Locale locale = new Locale("GBP");
NumberFormat gbpFormat = NumberFormat.getCurrencyInstance(locale);
symbols = new DateFormatSymbols(new Locale("en"));
newWeekday =symbols.getWeekdays();
SimpleDateFormat formatter = new SimpleDateFormat("EEEE",symbols);
Date theEventDate = new Date();
theEventDate=resultAll.getDate("EventDate");
date = formatter.format(theEventDate);
// set date for Usage Report
Calendar reportDate = Calendar.getInstance();
Calendar reportToday =Calendar.getInstance();
reportDate.add(Calendar.MONTH,-1);
SimpleDateFormat reportFormat = new SimpleDateFormat("EEEE ,dd MMM yyy");
//setDecimalFormat for report total
DecimalFormat decFormat = new DecimalFormat(".##");
printWriter.println(
"<tr><td width='100%' colspan='8'>For month from "+reportFormat.format(reportDate.getTime())+" to "+reportFormat.format(reportToday.getTime())+"</td></tr><tr><td width='100%' colspan='8'>Total amount of income from occasional bookings "+decFormat.format(context.getReportIncomeTotal())+"</td>"+
"</tr><tr><td width='100%' colspan='8'>Percentage use for all bookings</td></tr><tr><td width='8%'></td><td width='8%'>MON</td><td width='9%'>TUES</td>"+
"<td width='9%'>WEDS</td><td width='9%'>THURS</td><td width='9%'>FRI</td><td width='9%'>SAT</td><td width='9%'>SUN</td></tr><tr><td width='8%'>AM</td><td width='8%'></td>"+
"<td width='9%'></td><td width='9%'></td><td width='9%'></td><td width='9%'></td><td width='9%'></td><td width='9%'></td></tr><tr><td width='8%'>PM</td><td width='8%'></td>"+
"<td width='9%'></td><td width='9%'></td><td width='9%'></td><td width='9%'></td><td width='9%'></td><td width='9%'></td></tr><tr><td width='8%'>EVE</td><td width='8%'></td>"+
"<td width='9%'></td><td width='9%'></td><td width='9%'></td><td width='9%'></td><td width='9%'></td><td width='9%'></td></tr>"
System.out.println(count);
printWriter.println("</table>");
printWriter.println("</body></html>");
printWriter.close();
prepared.close();
JDialog reportDialog=new JDialog(frame);
reportDialog.setSize(800,600);
JEditorPane editorPane=new JEditorPane(fc.getSelectedFile().toURL());
editorPane.setContentType("text/html; charset=UTF-8");
reportDialog.getContentPane().add(editorPane);
reportDialog.setVisible(true);
catch (IOException exception)
exception.printStackTrace();
This code finds data from a database(this works as it also prints a report). Here is the extraxt of my get/set method which is located in a "context" class.
public void setReportIncomeTotal(double total)
this.total=total;
public double getReportIncomeTotal()
return total;
}I'd be grateful for any help.but when I try to use it again it displays 0.0This seems to mean that either the value has been reset or you are calling the method on another (new) ReportListener.
It's hard to say, as you didn't provide us with the code sample that illustrate the corresponding scenario (did you?.)
Note that I didn't get into details, but I just noticed that your actionPerformed method first print weekly report, and then get the money total. (Shouldn't it be the opposite order?) -
Please see my site about Navigation Bar Links not working
Greetings,
I have an urgent issue with www.ForexProFund.com and it's navigation bar links. For some reason only some of the links work in the navigation bar. I have tried and recreated new pages and moved all the content over to the new pages with no luck. I moved the nav bar to the most "forward" position and pushed everything else to the back so it's on the top for sure. You can see that on the "contact" page, the navigation bar does not work, and I have no idea why...it's the same on the "Open Account" page.
I really need this fixed, as I am sure many of you do.
Thanks in advance for any input or ideas.
Jason :>Hi there,
Can you tell me how to "reduce" these things? I am not sure why some links in the nav bar and others do not...maybe I am doing something wrong? Very frustrating since Mac. does not let you simply setup a nav bar....it all has to be template based and then these types of things happen. Either way, if you have details of how to remedy this, please let me know. I tried to remove the line under the nav bar on the first two pages and still no luck.
Thank you! -
Bug in replace all. escape characters are not working.
Hi,
My requirement is that whenever i see ":" (Colon) in the string then i want to replace it with (\:). So i tried
String escapedTitle = "title:the world is not enough".replace(":", "\\:")
and to my surprise, when i printed escapedTitle i got
title\\:the world is not enough
instead of
title\:the world is not enough
(note the back slash in the string)
I want to ask why there is a different beehavious of escape characters? I am using JDK1.6.0_06Sorry for the last post. Please try this:
public class test
public static void main(String a[])
String escapedTitle = "title:the world is not enough".replaceAll(":+", "\\:"); //or [:]+
String escapedTitle1 = "title:the world is not enough".replaceAll(":+", "*"); // or [:]+
System.out.println("Another String is "+ escapedTitle);
System.out.println("Another String is "+ escapedTitle1);
System.out.println(System.getProperty("java.vendor"));
System.out.println(System.getProperty("java.version"));
output is
Another String is title:the world is not enough
Another String is titlethe* world is not enough
Sun Microsystems Inc.
1.6.0_06
Please let me know why i am not getting : as escaped (\:) with replaceAll method.
i want string escapedTitle as Another String is title*\:*the world is not enough
Maybe you are looking for
-
Making system settings for measurement documents and measuring point
What is the significance of making system settings for measurement documents and measuring point in spro? Edited by: Pallavi Kakoti on Jul 14, 2011 1:23 PM
-
Access Denied error while Accessing MCP
Hello Unfortunately it is not possible at this time to register for the exam 70-649. I have to make up the norgen but. otherwise my second shot is lost. Can you check if it is only temporary?
-
ShowExceptionErrorMessage - what is it?
I see code examples with showExceptionErrorMessage in it and the error after it but I always get a symbol not resolved error when I try to use it in my code. i.e.: catch (FileNotFoundException fnfe) { System.err.println("FileNotFoundException: " + fn
-
Dreamweaver CS4 critical installation error
I have upgraded to a new PC (running windows 8.1) and when I run the Dreamweaver CS4 installer I get "Critical errors were found in setup". I don't have any other CS4 products on my PC. What should I do?
-
When i try to run multiple threads from a thread pool on my server after a few threads are running my server cannot create any new threads. do you have a solution or suggestion for this issue? thanks, zekke