Refresh a jpg
how i can refresh a jg image frome my hdd and that i want to post on a website. the applet that read the image i want to refresh automaticaly??? how i can do that???
javascript for example, do you want to refresh periodically or event-dependent?
Similar Messages
-
Refresh adf table and selection row
Hi,
I create web application. I have created entity Users from MySQL database and managed Bean. In this managed Bean (sessionScope) is method for connection to database and method for adding new row (data) in database. It works.
I have 2 problems.
The first.
I have form for adding User and commandButton Add.
How I can refresh (update) adf table after executing SQL command (in commandButton Add) ? Now I must reconnect session.
The second problem:
I want to show a panel with data from one row from adf table.
How I can selection this row in popup ?
My table:
<af:table var="user" rowBandingInterval="0" id="t2"
inlineStyle="margin:20px 30px; width:578pt; height:160pt;"
value="#{userController.users}"
rows="15"
emptyText="#{bindings.UsersprototypView11.viewable ? 'No data to display.' : 'Access Denied.'}"
fetchSize="#{bindings.UsersprototypView11.rangeSize}"
editingMode="clickToEdit" rowSelection="single"
selectedRowKeys="#{userController.selectedUser}"
selectionListener="#{userController.selectedUser}"> ---- Here I have problem.
<af:column sortProperty="#{user.user_id}"
sortable="false"
headerText="ID"
id="c11" width="33">
<af:commandLink id="ot34" text="#{user.user_id}">
<af:showPopupBehavior popupId="p4" triggerType="action"/>
</af:commandLink>
</af:column>
<af:column sortProperty="#{user.firstname}"
sortable="false"
headerText="Firstname"
id="c20" width="111">
<af:outputText value="#{user.firstname}" id="ot27"/>
</af:column>
<af:column sortProperty="#{user.lastname}"
sortable="false"
headerText="Lastname"
id="c12">
<af:outputText value="#{user.lastname}" id="ot31"/>
</af:column>
<af:column sortProperty="#{user.address}"
sortable="false"
headerText="Address"
id="c9" width="95">
<af:outputText value="#{user.address}" id="ot32"/>
</af:column>
<af:column sortProperty="#{user.city}"
sortable="false"
headerText="#City"
id="c10" width="76">
<af:outputText value="#{user.city}" id="ot33"/>
</af:column>
<af:column sortProperty="#{user.username}"
sortable="false"
headerText="Username"
id="c7" width="102">
<af:outputText value="#{user.username}" id="ot29"/>
</af:column>
<af:column sortProperty="#{user.email}"
sortable="false"
headerText="E-mail"
id="c21" width="106">
<af:outputText value="#{user.email}" id="ot28"/>
</af:column>
<af:column sortProperty="#{user.regdate}"
sortable="false"
headerText="Registration"
id="c8" width="108">
<af:outputText value="#{user.regdate}" id="ot30">
<af:convertDateTime pattern="#{user.regdate}"/>
</af:outputText>
</af:column>
</af:table>userController is name managed Bean.
users is list of users.
My panel window (popup):
<af:popup childCreation="deferred" autoCancel="disabled" id="p4">
<af:panelWindow id="pw9" title="Delete user">
<af:panelFormLayout id="pfl6">
<af:panelLabelAndMessage label="ID:"
id="plam16">
<af:outputText value="#{userController.selectedUser.user_id}" id="ot50"/>
</af:panelLabelAndMessage>
<af:panelLabelAndMessage label="Firstname:"
id="plam17">
<af:outputText value="#{userController.selectedUser.firstname}" id="ot51"/>
</af:panelLabelAndMessage>
<af:panelLabelAndMessage label="Lastname:"
id="plam18">
<af:outputText value="#{userController.selectedUser.lastname}" id="ot52"/>
</af:panelLabelAndMessage>
<af:panelLabelAndMessage label="Address:"
id="plam19">
<af:outputText value="#{userController.selectedUser.address}" id="ot53"/>
</af:panelLabelAndMessage>
<af:panelLabelAndMessage label="City:" id="plam20">
<af:outputText value="#{userController.selectedUser.city}" id="ot54"/>
</af:panelLabelAndMessage>
<af:panelLabelAndMessage label="Username:"
id="plam21">
<af:outputText value="#{userController.selectedUser.username}" id="ot55"/>
</af:panelLabelAndMessage>
<af:panelLabelAndMessage label="E-mail:" id="plam22">
<af:outputText value="#{userController.selectedUser.email}" id="ot56"/>
</af:panelLabelAndMessage>
<af:panelLabelAndMessage label="Registration:"
id="plam23">
<af:outputText value="#{userController.selectedUser.regdate}" id="ot57">
<af:convertDateTime pattern="#{userController.selectedUser.regdate}"/>
</af:outputText>
</af:panelLabelAndMessage>
</af:panelFormLayout>
<af:commandButton text="Delete" id="cb18"
inlineStyle="width:80pt; margin:10px 0px 0px 0px;"/>
</af:panelWindow>
</af:popup>When I cut out row: selectionListener="#{userController.selectedUser}
Popup (for deleting user) looks like this:
http://imageshack.us/photo/my-images/404/popupc.jpg/
I need to get the outputs from <af:outputText> in this popup.
Thanks for help.
Edited by: user9202624 on 26.2.2013 7:52thanks for answer.
I added partialTriggers in af:table
<af:table var="user" rowBandingInterval="0" id="t2"
inlineStyle="margin:20px 30px; width:578pt; height:160pt;"
value="#{userController.users}"
rows="15"
emptyText="#{bindings.UsersprototypView11.viewable ? 'No data to display.' : 'Access Denied.'}"
fetchSize="#{bindings.UsersprototypView11.rangeSize}"
editingMode="clickToEdit" rowSelection="single"
selectedRowKeys="#{userController.selectedUser}"
partialTriggers="::t1" >What next ? What should I do next ? Sry, I'm newbie in adf and jDev.
Edited by: user9202624 on 26.2.2013 8:55 -
Problems with codepage after refreshing data from XML
Hello,
I've created a dashboard with XML connection.
XML file with new data is created via macro in INPUT.xls Excel file. This INPUT.xls file was created through exporting spreadsheet from Xcelsius and then adding a macro to it, so text data should be this same codepade. Generated XML through macro have no errors and Flash file gets numeric data with no problems.
But there is other problem with text's codepage. After reload there are some unidentified symbols in place of polish alphabet letters.
What should I do to make it right? Is this a problem with codepage or something else?
[Dashboard Before Refresh|http://lh4.ggpht.com/_Q8NK6X6PPLg/TGkLwo3sxZI/AAAAAAAAA_g/mkBiDdM4Gi4/s640/before_refresh.JPG]
[Dashboard After Refresh|http://lh4.ggpht.com/_Q8NK6X6PPLg/TGkLwSx9fHI/AAAAAAAAA_c/3UeM2Gd3HvA/s640/after_refresh.JPG]
If you have any idea hot to fix it, please let me know.
Best regards,
Bart DlugHello,
I have header in my XML as follows:
<?xml version="1.0" encoding="Windows-1250"?>
Only then my XML file is displayed correctly in Internet Explorer preview. When I chagne it to UTF-8 I get some errors.
[XML with windows-1250 codepage|http://lh3.ggpht.com/_Q8NK6X6PPLg/TGkUakDHjlI/AAAAAAAAA_o/lLlJFMcSaFQ/s800/codepage1250.JPG]
[The same XML with UTF-8|http://lh5.ggpht.com/_Q8NK6X6PPLg/TGkUa8k4vyI/AAAAAAAAA_s/tdcZNqu7-i0/s800/codepage-UTF8.JPG]
Error message means: Invalid character was found in text content. Error during processing resourcse file:///
As I wrote before, my data is generated via macro in Excel, so I supose my data in this file has windows default codepage. Am I right?
Do you think that I problem is XML file?
Best regards,
BD -
ADF Faces & BC: PPR and refresh condition on pagedef executables.
Hi all,
I'm running into some problems on my page when a command button is pressed. It's partialSubmit attribute is set to true, it seems that iterators/invokeActions within my pageDef are re-executed and thus resetting the index iterator cursor to its original position which leads to the following two messages:
Jun 2, 2008 5:34:57 PM oracle.adfinternal.view.faces.model.binding.FacesCtrlRangeBinding$FacesModel setRowKey
WARNING: row is null for rowKey:oracle.jbo.Key[TEST_MN 00123456 2008-05-08 98 98 4 ]
Jun 2, 2008 5:34:57 PM oracle.adfinternal.view.faces.model.binding.FacesCtrlRangeBinding$FacesModel makeCurrent
My pageDef code:
<iterator id="MasterVoIterator" RangeSize="10"
Binds="MasterVo"
DataControl="AppModule" />
<iterator id="DetailVoIterator" RangeSize="10"
Binds="DetailVo"
DataControl="AppModule" />
<invokeAction Binds="invokeInitValues" id="initValues"/>
I would like to know how to setup the refresh property under the following scinero:
1. when the page shows up for the first time:
MasterVoIterator - invoke
DetailVoIterator - invoke
invokeInitValues - invoke
2. When a show/hide button is used to display the detail rows is clicked:
MasterVoIterator - do nothing
DetailVoIterator - invoke // to refresh the detail records.
invokeInitValues - do nothing
Here is a pic of the component I am working with:
http://i108.photobucket.com/albums/n23/zeoneozero/mrbhelp.jpg
Any advice is appreciated
Thanks,
WesHi,
use
${!adfFacesContext.postback}
as the refresh condition property value to avoid a refresh on postback (when a button is clicked)
Frank -
Is there a way to refresh?
Is there a way to refresh a window through a method? I've been using setVisible(boolean) to do so, but I was hoping that there was another way to do so.
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import javax.sound.sampled.AudioFormat;
import com.brackeen.javagamebook.sound.*;
import com.brackeen.javagamebook.input.*;
import com.brackeen.javagamebook.graphics.*;
import com.brackeen.javagamebook.test.*;
class DuelingScreen extends JFrame implements ActionListener
private JButton exitButton, deckButton;
private static int cardsHand = 5;
private boolean starting = true;
private static ImagePanel ip = new ImagePanel("Dueling Screen.jpg");
protected GameAction exit;
MYGOTCGD drawProgram = new MYGOTCGD ("Master of Dragons", false);
String[] drawnCards = new String[50];
AudioFormat PLAYBACK_FORMAT = new AudioFormat(44100, 16, 2, true, false);
SoundManager soundManagerM = new SoundManager(PLAYBACK_FORMAT);
public DuelingScreen()
//Makes it Full Screen.
setUndecorated(true);
BorderLayout x = new BorderLayout(0, 500);
ip.setLayout(x);
JPanel buttonPanel = new JPanel();
GridBagConstraints grid = new GridBagConstraints();
//Creates the Exit Button.
exitButton = createButton("Exit.jpg");
deckButton = createButton("Deck.gif");
grid.gridwidth = GridBagConstraints.SOUTH;
//Sets the Location of the Title.
ip.setLocation (0, 500);
ip.addImage ("Field Zone.jpg", 53, 150);
ip.addImage ("Monster Zone.jpg", 186, 150);
ip.addImage ("Monster Zone.jpg", 319, 150);
ip.addImage ("Monster Zone.jpg", 452, 150);
ip.addImage ("Monster Zone.jpg", 585, 150);
ip.addImage ("Monster Zone.jpg", 718, 150);
ip.addImage ("Graveyard Zone.jpg", 851, 150);
ip.addImage ("Fusion Zone.jpg", 53, 366);
ip.addImage ("Trap Zone.jpg", 186, 366);
ip.addImage ("Trap Zone.jpg", 319, 366);
ip.addImage ("Trap Zone.jpg", 452, 366);
ip.addImage ("Trap Zone.jpg", 585, 366);
ip.addImage ("Trap Zone.jpg", 718, 366);
ip.addImage ("Deck Zone.jpg", 851, 366);
buttonPanel.setOpaque(false);
exitButton.setBounds(767, 700, 256, 67);
deckButton.setBounds(861, 376, 100, 140);
buttonPanel.add(exitButton);
buttonPanel.add(deckButton);
buttonPanel.setLayout(null);
ip.add(buttonPanel);
//Adds it to the Content Pane.
getContentPane().add(ip);
//Makes it pop up.
setExtendedState(MAXIMIZED_BOTH);
//drawProgram.drawFive();
addKeyListener(new KeyListener()
public void keyPressed(KeyEvent event)
//Does nothing until released.
public void keyReleased(KeyEvent event)
if (event.getKeyChar() == KeyEvent.VK_ESCAPE)
//Exits the program.
System.exit(0);
public void keyTyped(KeyEvent event) {}
exitButton.addActionListener(new ActionListener()
public void actionPerformed(ActionEvent e)
soundManagerM.close();
new MenuScreen().setVisible(true);
dispose();
deckButton.addActionListener(new ActionListener()
public void actionPerformed(ActionEvent e)
if (starting)
for (int k = cardsHand; k > 0; k--)
System.out.println ("CARDS in HAND: "+cardsHand);
System.out.println ("K: "+k);
drawnCards[k] = drawProgram.drawOne();
int c = 622-k*117;
c += 117;
ip.addImage(drawnCards[k]+"2.jpg", c, 600);
starting = false;
new DuelingScreen().setVisible(true);
dispose();
else
cardsHand++;
System.out.println ("CARDS in HAND: "+cardsHand);
drawnCards[cardsHand] = drawProgram.drawOne();
int c = 622-cardsHand*117;
c += 117;
ip.addImage(drawnCards[cardsHand]+"2.jpg", c, 600);
new DuelingScreen().setVisible(true);
dispose();
public Image loadImage(String fileName)
return new ImageIcon(fileName).getImage();
public JButton createButton(String name)
String imagePath = name;
ImageIcon iconRollover = new ImageIcon(imagePath);
Cursor cursor = Cursor.getPredefinedCursor(Cursor.HAND_CURSOR);
// create the button
JButton button = new JButton();
button.addActionListener(this);
button.setIgnoreRepaint(true);
button.setFocusable(false);
button.setBorder(null);
button.setContentAreaFilled(false);
button.setCursor(cursor);
button.setIcon(iconRollover);
button.setRolloverIcon(iconRollover);
button.setPressedIcon(iconRollover);
return button;
public void actionPerformed(ActionEvent e)
Object src = e.getSource();
}In the future, Swing related questions should be posted in the Swing forum.
The code you posted is of little use since it uses custom classes so we can't see the behaviour of your code.
In general if you add a component to a Container at run time then you just use
container.revalidate()
This will invoke the LayoutManager and repaint the components in the container based on the new layout. -
Powerpivot for sharepoint error: Unable to refresh data for a data connection in the workbook
Hello,
I have three errors when i try to use a simple powerpivot workbook published in sharepoint: (nothing on google has help me..)
1-Unable to refresh data for a data connection in the workbook.
Try again or contact your system administrator. The following connections failed to refresh:
PowerPivot Data
2-The embedded PowerPivot data in the workbook cannot be loaded due to a version mismatch
3-01/21/2012 17:26:47.08 w3wp.exe (0x1950) 0x0AD0 Excel Services Application Excel
Calculation Services bccc Medium Session.HandleTrimmedWorkbookReloading: userOperation ApplySlicerSelectionOperation requires BaseWorkbook: "http://crm2011:2020/Marketing%20Reports/test2_excel32bits.xlsx"
[0x409] [Saturday, 21 January 2012 09:40:18] [BaseWB ID: 2] to be untrimmed if it is currently trimmed. The workbook is currently NOT trimmed. fb614a65-e398-4b97-a98d-fb7b23eab39f
01/21/2012 17:26:47.08 w3wp.exe (0x1950) 0x0AD0 Excel Services Application Excel Calculation
Services f1va Medium CWorkbookWrapper::CWorkbookWrapper: Created with ID=4 fb614a65-e398-4b97-a98d-fb7b23eab39f
01/21/2012 17:26:47.09 w3wp.exe (0x1950) 0x0AD0 Excel Services Application Excel Calculation
Services eq3r Medium ConnectionRequest.ConnectionRequest: New connection request. SessionId=1.V21.4PI+fCwIq52LH++nOoMzs90.5.en-US5.en-US73.-0060#0000-10-00-05T03:00:00:0000#+0000#0000-03-00-05T02:00:00:0000#-006036.bfceb31b-7122-46ca-9e2a-ae52cefcfcaf1.N,
WorkbookVersion=ConnectionInfo.WorkbookVersion: Uri=http://crm2011:2020/Marketing Reports/test2_excel32bits.xlsx, Version=Saturday, 21 January 2012 09:40:18 fb614a65-e398-4b97-a98d-fb7b23eab39f
01/21/2012 17:26:47.12 w3wp.exe (0x1950) 0x0AD0 Excel Services Application Excel Calculation
Services aysl Medium Succeeded to initialize a chart. fb614a65-e398-4b97-a98d-fb7b23eab39f
01/21/2012 17:26:47.12 w3wp.exe (0x1950) 0x0AD0 Excel Services Application Excel Calculation
Services 8xk9 Medium ExternalSource.ExecuteOperation: We exhausted all available connection information. Exception: Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionInfoException: Exception of type
'Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionInfoException' was thrown. at Microsoft.Office.Excel.Server.CalculationServer.ConnectionInfoManager.GetConnectionInfo(Request request, String externalSourceName, Int32
externalSourceIndex, Boolean& shouldReportFailure) at Microsoft.Office.Excel.Server.CalculationServer.ExternalSource.ExecuteOperation(Request request, ExternalSourceStateInfo externalSourceStateInfo, ExternalSourceStateInfo prevExternalSourceStateInfo,
Int32 index, ConnectionInfoManager connectionInfoManager, ExternalDataScenario scenario, DataOperation dataOpe... fb614a65-e398-4b97-a98d-fb7b23eab39f
01/21/2012 17:26:47.12* w3wp.exe (0x1950) 0x0AD0 Excel Services Application Excel Calculation
Services 8xk9 Medium ...ration, Boolean verifyPreOperationConnection), Data Connection Name: PowerPivot Data, SessionId: 1.V21.4PI+fCwIq52LH++nOoMzs90.5.en-US5.en-US73.-0060#0000-10-00-05T03:00:00:0000#+0000#0000-03-00-05T02:00:00:0000#-006036.bfceb31b-7122-46ca-9e2a-ae52cefcfcaf1.N,
UserId: 0#.w|contoso\manager fb614a65-e398-4b97-a98d-fb7b23eab39f
My server and client olap versions are the same: MSOLAP.5, i used sql server 2008 R2 SP1 and sharepoint 2010 SP1 and reboot or iisreset have no effect
Thanks in advance for your helpHello Challen Fu
I would be so grateful if you could please help me out
I have been trying to find a solution to the same error message
In my case, the power pivot reports were working before on a regular team site , but then two things changed:
a) I created a toplevel site using the BI Center template. Now I am using a Business Intelligence template , created a power pivot gallery library and uploaded a few powerpivot reports
b) On the backend, the database instance was upgrated to SQL Server 2012
Front end Server VDSP01 remains SQL Server 2008 R 2 where Sharepoint 2010 was installed as a FARM
Now, the reports will display in sharepoing however they will not refresh. the error message i get is the same.
Scenario recap:
a- Server VDSP01 uses SQL Server 2008 R 2 where Sharepoint 2010 was installed as a FARM
b- On the back end, the database instance name was replaced with SQL 2012 Server:
from SQL Server 2008 R 2 (instance DBDEV-COTS\COTS)
to SQL Server 2012 ( instance VTSQL01\COTS)
c- I was told that:
From VDSP01, they ran
CliConfg.exe to create SQL Server Alias :
where BEFORE: vdsharepoint --> DBDEV-COTS\COTS
and AFTER : vdsharepoint --> VTSQL01\COTS
I appreciate in advance any help you can provide<v:shapetype coordsize="21600,21600" filled="f" id="_x0000_t75" o:preferrelative="t" o:spt="75" path="m@4@5l@4@11@9@11@9@5xe" stroked="f">
<v:stroke joinstyle="miter">
<v:formulas> <v:f eqn="if lineDrawn pixelLineWidth 0">
<v:f eqn="sum @0 1 0">
<v:f eqn="sum 0 0 @1">
<v:f eqn="prod @2 1 2">
<v:f eqn="prod @3 21600 pixelWidth">
<v:f eqn="prod @3 21600 pixelHeight">
<v:f eqn="sum @0 0 1">
<v:f eqn="prod @6 1 2">
<v:f eqn="prod @7 21600 pixelWidth">
<v:f eqn="sum @8 21600 0">
<v:f eqn="prod @7 21600 pixelHeight">
<v:f eqn="sum @10 21600 0">
</v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:f></v:formulas>
<v:path gradientshapeok="t" o:connecttype="rect" o:extrusionok="f">
<o:lock aspectratio="t" v:ext="edit">
</o:lock></v:path></v:stroke></v:shapetype> <v:shape alt="" id="Picture_x0020_2" o:spid="_x0000_i1025" style="width:630pt;height:475.5pt;" type="#_x0000_t75">
<v:imagedata o:href="cid:[email protected]" src="file:///C:\Users\wlarange\AppData\Local\Temp\msohtmlclip1\01\clip_image001.jpg">
</v:imagedata></v:shape>
wanda larangeira -
The url of the website that I'm visiting used to show in the url box when I opened from a shortcut or email. But not it's not there unless I refresh the page. I've looked and haven't found a way to set this so that it works like it used to. I liked being able to click in the address bar and copy the link, or even to look there and see where I am.
I'm unable to check it in safe mode because the only time it happens is when I click a link and have not firefox open. For example if I would click a link in my email right now, it would open in another tab and show the address of the link I clicked. But if I didn't not have this window open and clicked alink, it would open a new window and I wouldn't be able to see the url.
Here's a screen shot.
[http://chibitude.com/gallery/albums/userpics/10001/firefoxSSForAddressProblem.jpg firefoxSSForAddressProblem.jpg] -
Adobe Camera Raw - JPEGS - Do Not Auto Refresh
I use Adobe Camera Raw to edit my Jpegs. From my understanding, Jpeg editing in ACR is supposed to be DESTRUCTIVE - I do not see a sidecar XMP file created when I edit JPEGS.
However, the edits I make to JPEGs in ACR do not show up on the actual JPEG file.
As an example here are the steps I take.
1) Right click on a JPEG and say "Open in Camera Raw"
2) Desaturate the image so that it is totally black and white
3) Click done - when I do this I notice that the image within the Adobe Bridge Browser is now in Black and White
4) At this point, I want to verify that the actual image has been converted to Black and White. So I close down Adobe Bridge entirely. Then I navigate to the same directory using Windows Explorer (standard system file browser).
5) My expectation is to see the same image with my ACR edits (i.e. Black and White). However, the image is still in color.
I have placed 2 screenshots online at
http://www.trick-photography.com/acr/Screenshot1.JPG
(Adobe Bridge after ACR edits)
and
http://www.trick-photography.com/acr/Screenshot2.JPG (Windows Explorer)
As you can see the image in Adobe Bridge is Black-and-White. However the actual image is not altered. I have tried to refresh thumbnails and images in both Adobe Bridge and Windows Explorer and that does not work.
In order to see my edits, I have to open the image in ACR and save it to a new folder. This takes lots of time, and I do not think this is the right way because JPEG editing is supposed to be DESTRUCTIVE in ACR.Guess I have a different understanding. When you make an edit in ACR and click Done the original image is not modified, but the edits are retained. There is a round symbol placed in upper right corner that says the image has been modified, but the thumbnail displays the original image. If you open the image the modified version will display in ACR, and you can choose to open as is or modify further. So far this edit has been non-destructive.
However, when you make an edit in ACR and click Save Image the original image is modified and saved with new name and location of your choice. The thumbnail displays the modified image. This has been a destructive edit. I think this is the step you are looking for. -
I am having all those horrible problem with battlefield 2142 that everyone else is having, but i just found the file that has all the configurations for the game, such as the screen resolutions. My normal resolution is at 1920x1200, but the game resolution is stuck at 1024x800 @ 60hz. i tried to enter the larger resolutions including 1920x1200 but the game just crashes. SO thinking about it i think i have the wrong refresh rate. i went through system preferences and at the refresh rate says "n/a" as seen here....
!http://farm2.static.flickr.com/1165/1427575277e25330d756o.jpg!
i also checked system profiler... nothing....
!http://farm2.static.flickr.com/1237/1428482292a9cb9b3555o.jpg!
that being said does anyone know the refresh rates for the reolutions of the 24" iMac?
the help would be greatly appreciated by many including myself x100....Roger Wilmut1 wrote:
I suspect that 'refresh rate' is only applicable to CRT monitors: my flat-panel iMac has it greyed out as well.
Not sure if the lack of refresh rate selection is normal for an iMac, but I can defnitely select the refresh for my 17" LCD monitor.
It seems more likely that the game simply won't work at higher than 1024x800 - particularly as 1920x1200 is a widescreen format and the game very likely wants a 4x3 format. Try setting your monitor to 1024x768
Some games will refuse to run at resolutions lower than 1024x768 or 800x600, but I've never heard of a game that would refuse to be set at a higher resolution… -
My file icons are not updating refreshing in finder
I've just upgraded to Lion. Not that impressed all round to be fair. Anyway, one thing that is really niggling me is tha fact that I create a file in Photoshop, change the visual content, and the icon is not refreshing in the finder. The term I would tend to use is 'crap'.
I can confirm that the solution posted by crockej does indeed work, I am not by any means saying that it is a perfect solution, and am sure that it is not the actual fix, but it does work, I landed up having to add JPG,GIF,PNG,PDF,SWF,FLA,ICO,SWZ,MPR,PSD,XLSX,INDD,AI all to fy file list and although this was 90% of the missing icons fixed, it still requires more like m4v etc.
Think of this as more of a temporary solution to the problem, but it does work.
This is what my /Users/XXXXX/Library/Application Support/Adobe/Dreamweaver CS5.5/en_US/Configuration/Extensions.txt file looks like now.
HTM,HTML,SHTM,SHTML,HTA,HTC,XHTML,STM,SSI,JS,JSON,AS,ASC,ASR,XML,XSL,XSD,DTD,XSLT,RSS,RDF, LBI,DWT,ASP,ASA,ASPX,ASCX,ASMX,CONFIG,CS,CSS,CFM,CFML,CFC,TLD,TXT,PHP,PHP3,PHP4,PHP5,PHP-D IST,PHTML,JSP,WML,TPL,LASSO,JSF,VB,VBS,VTM,VTML,INC,SQL,JAVA,EDML,MASTER,INFO,INSTALL,THEM E,CONFIG,MODULE,PROFILE,ENGINE,SVG,JPG,GIF,PNG,PDF,SWF,FLA,ICO,SWZ,MPR,PSD,XLSX,INDD,AI:Al l Documents
HTM,HTML,HTA,HTC,XHTML:HTML Documents
SHTM,SHTML,STM,SSI,INC:Server-Side Includes
JS,JSON:JavaScript Documents
XML,DTD,XSD,XSL,XSLT,RSS,RDF:XML Files
LBI:Library Files
DWT:Template Files
CSS:Style Sheets
ASP,ASA:Active Server Pages
ASPX,ASCX,ASMX,CS,VB,CONFIG,MASTER:Active Server Plus Pages
CFM,CFML,CFC:ColdFusion Templates
AS:ActionScript Files
ASC:ActionScript Communication Files
ASR:ActionScript Remote Files
TXT:Text Files
PHP,PHP3,PHP4,PHP5,TPL,PHP-DIST,PHTML:PHP Files
LASSO:Lasso Files
JSP,JST:Java Server Pages
JSF:Fireworks Script
TLD:Tag Library Descriptor Files
JAVA:Java Files
SQL:SQL Files
ASX:Windows Media Advanced Stream Redirector
WML:WML Files
EDML:EDML Files
VBS:VBScript Files
VTM,VTML:VTML Files
SVG:Scalable Vector Graphics Files
Thanks to crockej for finding this semi solution for now.
Looking for Knysna Accommodation? -
How do I refresh a table with a bind variable using a return listener?
JDev 11.1.2.1.0.
I am trying to refresh a table with a bind variable after a record is added.
The main page has a button which, on click, calls a task flow as an inline document. This popup task flow allows the user to insert a record. It has its own transaction and does not share data controls.
Upon task flow return, the calling button's return dialog listener is invoked which should allow the user to see the newly created item in the table. The returnListener code:
// retrieve the bind variable and clear it of any values used to filter the table results
BindingContainer bindings = ADFUtils.getBindings();
AttributeBinding attr = (AttributeBinding)bindings.getControlBinding("pBpKey");
attr.setInputValue("");
// execute the table so it returns all rows
OperationBinding operationBinding = bindings.getOperationBinding("ExecuteWithParams");
operationBinding.execute();
// set the table's iterator to the newly created row
DCIteratorBinding iter = (DCIteratorBinding) bindings.get("AllCustomersIterator");
Object customerId = AdfFacesContext.getCurrentInstance().getPageFlowScope().get("newCustomerId");
iter.setCurrentRowWithKeyValue((String)customerId);
// refresh the page
AdfFacesContext.getCurrentInstance().addPartialTarget(this.getFilterText());
AdfFacesContext.getCurrentInstance().addPartialTarget(this.getCustomerTable());But the table does not refresh ... The bind variable's inputText component is empty. The table flickers as if it updates. But no new values are displayed, just the ones that were previously filtered or shown.
I can do the EXACT SAME code in a button's actionListener that I click manually and the table will refresh fine. I'm really confused and have spent almost all day on this problem.
WillBoth options invoke the create new record task flow. The first method runs the "reset" code shown above through the calling button's returnListener once the task flow is complete. The second method is simply a button which, after the new record is added and the task flow returns, runs the "reset" code by my clicking it manually.
I'm thinking that the returnListener code runs before some kind of automatic ppr happens on the table. I think this because the table contents flicker to show all customers (like I intend) but then goes back to displaying the restricted contents a split second later.
Yes, the table is in the page that invokes the taskflow.
Here are some pictures:
http://williverstravels.com/JDev/Forums/Threads/2337410/Step1.jpg
http://williverstravels.com/JDev/Forums/Threads/2337410/Step2.jpg
http://williverstravels.com/JDev/Forums/Threads/2337410/Step3.jpg
Step1 - invoke new record task flow
Step2 - enter data and click Finish
Step3 - bind parameter / table filter cleared. Table flickers with all values. Table reverts to previously filterd values. -
Thumbnails wrong in Finder -- is there a way to refresh them?
When I edit a photo in Preview the small thumbnail changes to a generic jpg icon (in list and column view,) and the larger thumbnail (in icon view) remains that of the photo before it was edited. I can't figure out any way to refresh the thumbnail directly. I've found a workaround is to import it into iPhoto then immediately export it; now the thumbnail appears correctly, but the teeny tiny thumbnail is still the generic jpg icon. This is making me crazy. There must be a way to refresh the icons?
Just a suggestion: try this.
Others may diss it.
Try it anyway. It isn't a hack. If you like it, you'll no longer need to worry about the length of file names. -
Hi,
I've created a simple word-verification login system to stop robots from trying out various password combo's on a user's account.
I've created a separate JSP page that randomly chooses an image from a database, sets a session variable to the word that is spelt in the image. Then when the user types in the word it simply checks that the word the user typed matches the session variable.
Here's a snipet from this file: -
login_image.jsp
String [] sImageText = {
"flusessn",
"mises",
"appalli",
"encirs",
"peromm"
// create random number between 0-5
Random rand = new Random();
int nImageNumber = rand.nextInt(6);
session.setAttribute( "imageword", sImageText[nImageNumber] );
response.sendRedirect( "images/login/Captcha" + nImageNumber + ".jpg" );The image is displayed in the login page as follows:
login.jsp
<img src="login_image.jsp" />Whe the user enters their username, password and word verification it is processed in a separate JSP file: -
process_login.jsp
String sWordVerification = request.getParameter("securitycode");
String sTheWordVerification = (String)session.getAttribute( "imageword" );
if ( !sTheWordVerification.equalsIgnoreCase( sWordVerification ) ) { response.sendRedirect( "login.jsp?worderror=true" );
} else {
.The system works ok. My problem arises if the user enters the wrong word, they are shown an error message on the login.jsp page. However, the login image doesn't change. Any idea how I can make the image refresh each time the login.jsp page is loaded?
Many thanksThanks.
I've managed to sort it using javascript. It's a bit messy, but it works. All the changes are made to login.jsp: -
<script language="JavaScript">
<!--
var sURL = unescape(window.location.pathname);
function doLoad()
setTimeout( "refresh()", 1 );
function refresh()
window.location.href = sURL + "?worderror2=true";
//-->
</script>
<%
String sError = request.getParameter("worderror");
if ( sError != null ) {
%>
<meta http-equiv="refresh" content="1" >
<script>
doLoad();
</script>
<%
String sError2 = request.getParameter("worderror2");
if ( sError2 != null ) {
out.println( "<div class=\"redtext\" align=\"center\"><p>The word verification failed. Please try again.</p></div>" );
%>Here's how it works: -
- User enters word verification in login.jsp
- Posted to process_login.jsp
- If the words don't match then redirect to login.jsp?worderror=true
- login.jsp detects the worderror=true and runs the following script
<meta http-equiv="refresh" content="1" >
<script>
doLoad();
</script>
- The doLoad() method refreshes the login page, including the login image using the refresh method
- It redirects to window.location.href = sURL + "?worderror2=true";
posting worderror2=true prevents login.jsp from entering an infinate loop.
aaaaaaaand relax..... -
Refreshing Image files in Dreamweaver
I have changed a few image files that show up in all of my
many individual web page files. I saved the new files in the same
place and with the same name as the old files, but the old files
still show up in my Dreamweaver files. The main difference between
the new files and the old ones are that the new ones are bigger in
dimension. The refresh button in my toolbar remains unusuable. It's
gonna take forever to re-place all the images in each web file. Can
someone please help?
-Crystal
Here is an example of old file verses new file:
(NEW)
<img src="../../images/Easter/page_59.jpg" width="34"
height="32" />
(OLD)
<img src="../../images/Easter/page_59.jpg" width="27"
height="35" />Did you recreate the site cache? (Site/Advanced/Recreate Site
Cache)
Nancy Gill
Adobe Community Expert
BLOG:
http://www.dmxwishes.com/blog.asp
Author: Dreamweaver 8 e-book for the DMX Zone
Co-Author: Dreamweaver MX: Instant Troubleshooter (August,
2003)
Technical Editor: DMX 2004: The Complete Reference, DMX 2004:
A Beginner's
Guide, Mastering Macromedia Contribute
Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP
Web Development
"Jackeltree" <[email protected]> wrote in
message
news:e407dt$7af$[email protected]..
>I have changed a few image files that show up in all of
my many individual
>web
> page files. I saved the new files in the same place and
with the same
> name as
> the old files, but the old files still show up in my
Dreamweaver files.
> The
> main difference between the new files and the old ones
are that the new
> ones
> are bigger in dimension. The refresh button in my
toolbar remains
> unusuable.
> It's gonna take forever to re-place all the images in
each web file. Can
> someone please help?
>
> -Crystal
>
> Here is an example of old file verses new file:
> (NEW)
> <img src="../../images/Easter/page_59.jpg" width="34"
height="32" />
> (OLD)
> <img src="../../images/Easter/page_59.jpg" width="27"
height="35"
> />
> -
Nokia E7, music player? Symbian belle Refresh.
Sorting problem.
Examplle, i had 5 song from Jennifer Lopez, they are from the same album named 'Love?' In the music player shows 2 'Love?' album.
They are from the same CD.
P.s. This website ---->
imageshack.us/a/img822/7503/screenshot000034.jpg
mushroomsHi Mushroomlolz,
Sounds like a problem with metadata in the music files. I recall this happening to me also when upgrading from Symbian Anna to Nokia Belle. The way the metadata of music files is handled differently in Nokia Belle and Nokia Belle Refresh, therefore you will need to locate the offending files and use an advanced ID3 / metadata tag editor on your PC to edit the metadata tag information so it will display correctly on your device.
Maybe you are looking for
-
'Reconciliation account ... or short key ... is not permitted'. Dear experts, When i try to perform a posting for lease in contract i get the above mentioned error message. I dont have a problem when in my contract i ve got only one condition entered
-
Hide field based in process type - GS_CM Component
Hello. Currently, we need to hide a field in GS_CM/AddDoc view of component GS_CM, because it have to be based on process_type. In CMBO node context, we have the object_type of the transaction (TYPEID attribute), but we need the process type to evalu
-
Firewire audio interface power options
I just bought a Presonus Firebox, which connects via Firewire 400 to my iMac. I use it to record audio for maybe 30 min per day. The box is powered by the Firewire, but gets a little warm after it's on for a while. But I don't want to keep unplugging
-
In ALV, how do u get alternate colors in output
In ALV, how do u get alternate colors in output
-
Class constructor that implements an interface returns an "interface", why
Hi, I am studying some code that I need to understand well. This code works, I just don't understand the following: A class was defined extending an interface as so: public class GeometricShape implements Area { // constructor public GeometricShape()