Tomcat and refreshing jsf component attributes in the browser

I'm using Eclipse and Tomcat 5.0.25. I start Tomcat in debug mode with a shortcut: "C:\Tomcat-5.0\bin\catalina.bat jpda start". I have an entry in the Tomcat server.xml file that points to my web application:
<Context debug="0" docBase="C:\MyProjects\eclipse\cdstore\WebContent" path="/cdstore" reloadable="true"/>
I have a jsp page with a jsf dataTable tag. If I change the html markup (i.e. by typing "hello" in the jsp page) and press the refresh button in my IE 6.0 browser, the "hello" message is displayed.
If, however, I change the content of a dataTable attribute (i.e. I change styleClass="aClass" to styleClass="anotherClass") or add a new dataTable attribute, the attribute changes are not sent to the browser when I press the browser refresh button. I do a "view html source" and they are not there.
I have to close the browser down and relaunch the browser to see the new dataTable attributes.
Does anybody know if there is any easier way of doing this?
thanks, jeff

Hi pushpa latha
Yes it is possible to update the data at the header level using below approach
create the component interface for your cusotm component
use the component interface  in the header overview standard component as resuable component.
Implement the event handler method for the button , in the event handler method get the refreshed value
create the navigation and call the navigation (fire_outbond_plug) to cutom component by passing the plug name and refreshed data..
set the refreshed data to your value node in your custom component.
Thanks & Regards
Raj

Similar Messages

  • I need to move home and refresh icons back to the left. I uninstalled Firefox 4 and reinstalled Firefox 6 and the home and refresh icons are still on the left. Help! (I have tendonitis and this makes my wrist move too far.)

    # Question
    i need to move home and refresh icons back to the left. I uninstalled Firefox 4 and reinstalled Firefox 3.6 and the home and refresh icons are still on the right. Help!

    You can right-click on the "Home" button and choose "Customize," then drag all of the icons (including Home and Reload) to where you want them.
    For more detailed instructions, see [[How do I customize the toolbars?]]

  • I have Firefox 10.0.2. and OSX 10.6.8. and the latest PDF adobe reader, and still can not open with the browser PDF files.Can someone help,pls?Thanx

    Dear Ones,
    I have Firefox 10.0.2. and OSX 10.6.8. and the latest PDF adobe reader, and still can not open with the browser PDF files.Can someone help,pls?Thanx

    see if this is helpful : [http://support.mozilla.org/en-US/kb/Opening%20PDF%20files%20within%20Firefox Opening PDF files within Firefox]
    thank you
    Please mark "Solved" the answer that really solve the problem, to help others with a similar problem.

  • Firfox is ceashing when I attepmt to download a file. Everything works until I close Firfox and then attempt to re-open the browser then it crashes. I tried deleting the download file in my profile folder but it didn't work.

    Firefox is crashing when I attempt to download a file. Everything works until I close Firefox and then attempt to re-open the browser then it crashes. I tried deleting the download file in my profile folder but it didn't work.

    Downgrade to an older nightly that works for a week or so, then test again to see if the bug's still there. In the mean time, report the bug on Bugzilla if it hasn't already been. There's really nothing you can do about bugs in nightlies.
    (A similar sort of bug that triggered 60 seconds after opening, every time, was what got me out of using nightlies as my main browser.)

  • Just extended my first jsf component. but in the right way?

    Hi all,
    After days of trial and error, i finally managed to code my own JSF component, extending existing infrastructure. Since things just suddenly fell in place during a brute force approach to make it work, i'd like to ask for opinions of seasoned JSF veterans whether this makes sense or there is a better way to do things.
    The objective was to be able to render a collection of items as a comma separated list. To this end, I took an existing data iterator UIComponent from richfaces, added a custom renderer -- again extending on richfaces, and hooked things up in 2 config files, as follows:
    CsvRenderer.java:
    import javax.faces.component.UIComponent;
    import javax.faces.context.FacesContext;
    import javax.faces.context.ResponseWriter;
    import org.ajax4jsf.component.UIDataAdaptor;
    import org.richfaces.renderkit.AbstractRowsRenderer;
    import org.richfaces.renderkit.TableHolder;
    /** Renders a richfaces UIDataList component as a comma separated list */
    public class CsvRenderer extends AbstractRowsRenderer {
         @Override
         public void encodeOneRow(FacesContext context, TableHolder holder)     throws IOException {
              UIDataAdaptor table = holder.getTable();
              ResponseWriter writer = context.getResponseWriter();
              renderChildren(context, table);
              if(holder.getRowCounter() < table.getRowCount() - 1) {
                   writer.write(", ");
         @Override
         protected Class<? extends UIComponent> getComponentClass() {
              return org.richfaces.component.UIDataList.class;
    added to faces-config.xml:
    <render-kit>
         <render-kit-id>HTML_BASIC</render-kit-id>
         <renderer>
              <component-family>org.richfaces.DataList</component-family>
              <renderer-type>ahui.CsvRenderer</renderer-type>
              <renderer-class>com.b2international.auctionhouse.jsf.ahui.CsvRenderer</renderer-class>
         </renderer>
    </render-kit>
    added to ahui.taglib.xml:
    <tag>
         <tag-name>csv</tag-name>
         <component>
              <component-type>org.richfaces.DataList</component-type>
              <renderer-type>ahui.CsvRenderer</renderer-type>
         </component>
    </tag>
    cheers,
    Greg

    Hi all,
    After days of trial and error, i finally managed to code my own JSF component, extending existing infrastructure. Since things just suddenly fell in place during a brute force approach to make it work, i'd like to ask for opinions of seasoned JSF veterans whether this makes sense or there is a better way to do things.
    The objective was to be able to render a collection of items as a comma separated list. To this end, I took an existing data iterator UIComponent from richfaces, added a custom renderer -- again extending on richfaces, and hooked things up in 2 config files, as follows:
    CsvRenderer.java:
    import javax.faces.component.UIComponent;
    import javax.faces.context.FacesContext;
    import javax.faces.context.ResponseWriter;
    import org.ajax4jsf.component.UIDataAdaptor;
    import org.richfaces.renderkit.AbstractRowsRenderer;
    import org.richfaces.renderkit.TableHolder;
    /** Renders a richfaces UIDataList component as a comma separated list */
    public class CsvRenderer extends AbstractRowsRenderer {
         @Override
         public void encodeOneRow(FacesContext context, TableHolder holder)     throws IOException {
              UIDataAdaptor table = holder.getTable();
              ResponseWriter writer = context.getResponseWriter();
              renderChildren(context, table);
              if(holder.getRowCounter() < table.getRowCount() - 1) {
                   writer.write(", ");
         @Override
         protected Class<? extends UIComponent> getComponentClass() {
              return org.richfaces.component.UIDataList.class;
    added to faces-config.xml:
    <render-kit>
         <render-kit-id>HTML_BASIC</render-kit-id>
         <renderer>
              <component-family>org.richfaces.DataList</component-family>
              <renderer-type>ahui.CsvRenderer</renderer-type>
              <renderer-class>com.b2international.auctionhouse.jsf.ahui.CsvRenderer</renderer-class>
         </renderer>
    </render-kit>
    added to ahui.taglib.xml:
    <tag>
         <tag-name>csv</tag-name>
         <component>
              <component-type>org.richfaces.DataList</component-type>
              <renderer-type>ahui.CsvRenderer</renderer-type>
         </component>
    </tag>
    cheers,
    Greg

  • How to use url to open report and refresh report's data,but the report's toolbar haven't "refresh data" button

    Post Author: madbird
    CA Forum: WebIntelligence Reporting
    HI,
    scenario is
    I hope use url to open the report,and refresh the report data,but I didn't the user use the "refresh data" button to refresh the report's data.How to do that?
    regards

    Post Author: madbird
    CA Forum: WebIntelligence Reporting
    Thank you for your attention, amr_foci .
    I created a Web Intelligence report,there will be more than 30 companies use.The company only allowed to see the Company Data. I want to use the url of the way, from my company in the development of the system to open report, and refresh reported Table data.but do not want users to use the toolbar of "data refresh" button to refresh the data .
    Now the question of identity authentication system, as well as statements by url open the question of Has been resolved, but it can not shield statements through the pages of "data refresh" button.
    In addition, I now used by the business object XI system is posted on the JAVA environment.
    Regards,

  • How do make the mouse wheel scroll in my Flex app/component instead of the browser?

    Let's say I have a DataGrid or Tree or List component which
    has hundreds of rows. When I place my mouse over the component and
    scroll the mouse wheel, I notice that [most of the time] it scrolls
    the component a little, then starts scrolling the browser window. I
    want it to only scroll the component until it reaches the end of
    the rows. Any thoughts?

    I have confronted the same issue.
    Was anybody able to solve it?
    I think mx.contorols.TextArea seems to do well.

  • When I set the content settings to block images and try to navigate certain sites, the browser freezes.

    I can stop the browser from displaying images from websites by clicking on the Firefox icon, then clicking on Options from the drop-down menu, then clicking on options from the new drop-down menu, then clicking on the Content tab, and finally un-exing the box next to "Display images." Now the browser won't display images. But when I visit certain sites while in this mode, such as Yahoo! or Goodsearch, and try to navigate within these sites, I find that the browser has frozen up. There seems no way to unfreeze it except to press Ctrl+Alt+Delete, log off, log on again, and unblock images before proceeding further. How do I prevent this freezing problem?

    Disable Addons like Adblock plus.
    We're sorry to hear that your Firefox seems to be crashing when you open it. Please perform the following steps to give us a crash report ID that helps us find out more about the cause of the crash.
    #Press the following shortcut to get a Run window: [Windows] + [R]. This should bring up a window that contains a text field.
    #In that text field, enter %APPDATA% and press Enter. An explorer window should open.
    #From that explorer window, double-click on the ''Mozilla'' folder, then double-click on ''Firefox'' and then on ''Crash reports''. Double-click on ''submitted''.
    #Now, you should see a list of files that contain reports. Go to ''View'' > ''Arrange Icons by'' > ''Modified'' to get the most recent files at the top of the window.
    #Open the most recent 5 files with a text editor and copy the IDs.
    #Paste each ID into the reply window on the forums.
    Thanks in advance!
    You can find more information and troubleshooting steps in the [[Firefox crashes]] article.

  • I have LINUX and I cannot seem to get the browser to download on the computer, I have extracted the files from the download & then all I get is a folder

    The browser I have for Linux is SeaMonkey or some other annoying thing and I wanted FF because it actually has compatible add-ons but I cannot seem to get the browser to actually run on the computer. I click the download button and get the files but once I extract them nothing happens. I extracted them to the desktop, perhaps there is somewhere else in this system that they need to go to make them work?

    Ok...I should have also mentioned that I absolutely hate having Linux b/c I have no idea how to use it. If u could explain that in simpler terms I'd appreciate it.
    Also, I was able to get the browser to open once but then when I dragged the icon from the folder on the desktop & tried opening it [I wanted to make it a sort of desktop icon] it stopped working...
    EDIT: Ok so I re-extracted the downloaded file & clicked on the icon that said Firefox & I got the browser. My problem now it seems is the fact that I do not have a desktop shortcut, how would I go about making that happen?

  • Have been using Firefox for years, but downloaded BearShare and now it has taken over the browser. Deleted it but still have it on start page. Tried downloading firefox again and again but its still there. Cannot access my bookmarks or anything else on

    Cannot delete BearShare tool bar from top of Mozilla browser.
    == This happened ==
    Every time Firefox opened
    == a day or two ago ==
    == User Agent ==
    Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/533.16 (KHTML, like Gecko) Version/5.0 Safari/533.16

    Hello Joe.
    If BearShare is an extension, you can go into ''Tools > Add-ons > Extensions'' to disable or uninstall it.
    If it's a plugin, go into ''Tools > Add-ons > Plugins'', where you can disable it. To uninstall it completely, you need to contact its author for support, as it's done outside the browser. In case it's a plugin.
    I hope this helps.

  • Client side event for h:outputText... and other JSF component

    Hello friends...
    I need client side (to use Java script ) event for change in <h:outputText /> or <h:inputText...>.
    I want to open a popup window when there is a change in there. I donot want to use onblur() for this. Is there any thing for achiev it.
    Thanks.
    Regard
    Roshan Lal ( I don't know why there is "DOG" display in LIST )
    :-)

    Hi Jacek,
    Unfortunately I think you may be stuck extending Renderer. Another possibility is creating your component via a template, which will be available in JSF 2.0. However, as JSF 2.0 won't be out for a while... you can use JSFTemplating in the meantime:
    http://java.sun.com/developer/technicalArticles/J2EE/jsf_templating/
    http://www.theserverside.com/tt/articles/article.tss?l=JSFTemplateComponent
    Good luck!
    Ken Paulsen
    https://jsftemplating.dev.java.net

  • I like fire fox I use on all my devices but my new samsung rugby pro version gas no back button and refresh hou have to push the list or settings button

    howcome it cannot be like the galaxy tab version

    Most likely, this is due to design. On smaller hand-held devices, it is customary to make the user interface of an application smaller in order for the user to enjoy more of the web content (in this case) rather than have buttons that take up screen real estate.

  • Is it possible to export my bookmarks from Firefox and import to another instance of the browser but without any type of cookie being imported?

    For convenience I want to have my already created bookmarks imported into another Firefox user's browser. For security reasons I don't want any cookies or flash cookies to be imported when I do this and I don't want to Sync browsers. Is this possible? If so, how, or are cookies not part of the exporting of bookmark data anyway?

    You can transfer bookmarks using two different formats:
    * Backup format: if you want to preserve tags, this format can do that. However, the Restore process completely replaces all existing bookmarks with what is in the backup. If you want to merge different sets of bookmarks together, do not use this method. More info:
    ** [[Restore bookmarks from backup or move them to another computer]]
    * Export format: with this option, Firefox creates an HTML file with an ancient format compatible with most browsers. It is not as complete as the newer Backup format. More info:
    ** [[Export Firefox bookmarks to an HTML file to back up or transfer bookmarks]]
    ** [[Import Bookmarks from a HTML file]]
    Neither of these files contains cookies or passwords.

  • Text Wrapping and Spelling Using iCloud Email in the Browser (Safari)

    Unlike any of my other email sites (GoDaddy, Yahoo, Google), the iCloud site does not real-time spellcheck or word-wrap.
    It is not a browser setting, since as I said, the other sites in the same browser spellcheck and wrap just fine.
    MobileMe wrapped and spellchecked too, but those have been replaced by iCloud.  Too bad.
    So the question is, running Safari and navigating to https://www.icloud.com/#mail, how can I force the Compose Message window to wrap text properly and also spellcheck without having to "invoke" the spellchecker?  It doesn't do that now, and yet all the other sites do...

    thx for your response. are saying websites such as hotmail and yahoo mail detect that they are being accessed via firefox and turn off the JavaScript that makes hot links? really? additionally, i have friends with firefox in which hyperlinks stay active when they are copied and pasted.
    was the "Make Link" add-on you posted supposed to fix the problem? i downloaded it, but i don't know where the "context menu" is that is supposed to help me. how to i view this context window now that i have downloaded the add-on?

  • Firefox 3.6.16 contained threat WS.Reputation.1 and lock up this version of the Browser. I had to use IE to download Firefox 4.0. Are you aware of this issue?

    The auto update downloaded version 3.6.16, but it locked up my browser and I had to restart. Each time I tried to open my browser with this version, it locked up and I couldn't close it. I had to install FireFox 4.0 through Internet Explorer. My Norton's said I had picked up an infected file: C:\program files\Mozilla Firefox\plugin-container.exe. contained threat WS.Reputation.1.

    I figured I'd comment on this because my family has been having this problem (I keep on saying "cancel" whenever it prompts me to download 3.6.16 because of it).
    I did some research on the WS.Reputation.1 plugin-container.exe problem and found that it was happening last year with updates, too. To fix that problem, people took the quarantined file and restored it- I was hesitant to do this because I wasn't sure if it was a virus or not.
    I took it out of quarantine on a family computer and right away firefox started working again. Again, I do NOT know if the file is a virus but by doing research I found that it is not, it is only recognized as such by Norton. This seems to be a recent problem and I don't want to take ownership for saying how I fixed the problem because, again, I do not know if WS.Reputation.1 is really a virus but all indications are that it is not. I hope this at least helps some of you. There have been no problems since I took it out of quarantine and restored it. Good luck everyone.

Maybe you are looking for

  • 401 - Unauthorized error while connecting to userprofile web service in InfoPath 2010

    Hello, I have 2wfe (NLB), 2app, 1db farm. Everything is working fine except for one computer! I have several InfoPath forms, they have custom webservices and userprofile web service. They work without any problem, but there is one computer that gives

  • X-Fi Elite Pro, can't hear PS2/X

    Hello. I tried to search the forums, but I either searched poorly or I couldn't find a similar issue. Here's the problem -- I can't hear either my PS2 or my Xbox using the Elite Pro on my PC. Hardware: [The good part] PC does not have on-board audio

  • Remittence fror TDS (OT) type

    Dear All, Thanks to all of you for the support. I have made an Invoice wherein I have deducted TDS from the vendor as per the norm. The TDS has got successfully got deducted and the TDS ledger has got updated. ITS fine. Now the problem is that for th

  • Module function to add an unplanned characteristic in an inspection lot

    I develop a program to copy an inspection lot and generate another lot with the same data. Generate the new inspection lot is OK but when the initial inspection lot has an unplanned characteristic, the inspection lot generated does not have this unpl

  • Export to tape issue

    So, this is my first time trying to export back to tape from PPro and I have issues. My project is HDV 1440X1080.  When I do the export to tape, it says rendering to HDV, which seems weird since I thought why would it need to render if the asset is a