Rollover/Hover Property Problem

I just recently (last week) upgraded from DWMX to DW CS4.
I've used it to revise some information on a site. For the links, I
have the page properties set up for the link to be blue, the hover
to be red, and visited to be blue. The existing links work
correctly, but the new links that I created (under the heading
Press Releases) in CS4 do not turn red when you hover over the
link. I did do a test by in a blank page, created a link with these
properties and it work correctly. Has anyone experienced this
problem with existing pages? Thank you for any help.
Here's the link to the page,
http://www.loup.com/relicense/html/documents.html

MichBrim wrote:
> I just recently (last week) upgraded from DWMX to DW
CS4. I've used it to
> revise some information on a site. For the links, I have
the page properties
> set up for the link to be blue, the hover to be red, and
visited to be blue.
> The existing links work correctly, but the new links
that I created (under the
> heading Press Releases) in CS4 do not turn red when you
hover over the link. I
> did do a test by in a blank page, created a link with
these properties and it
> work correctly. Has anyone experienced this problem with
existing pages? Thank
> you for any help.
>
> Here's the link to the page,
http://www.loup.com/relicense/html/documents.html
>
Hi,
You have your links set up wrongly in your css styles - they
must be in
a certain order...
link
visited
hover
active
Try that and see if it helps.
chin chin
Sinclair

Similar Messages

  • Rollover/hover question

    I am developing a website and when a viewer rolls/hovers over some of the buttons, there needs to be a little bit of explanatory text which is revealed off to the side. I have looked at all sorts of rollover/hover tutorials and the nearest which fits my need is Artotems
    http://web.mac.com/catucker/InsideOutside/PictureViewer.html
    However, when it says copy all the code, there apeears to be within it some explanatory text rather than code. Also, I don't need anything as complex.
    I have created some buttons with simple names - e.g. "Key roles", "Professional development", etc. To give an example:
    Hover over the button "Professional development" would reveal a snippet of text (e.g. "Click here to go to the training materials" which would then appear to the right of this button and disappear when the mouse was moved.
    I realise that I will have to probably create an image of the text I want to be revealed and store this in an accessible place.
    I would much appreciate a little snippet of code.

    This is just a tip: Posting large images directly in these forums can make the thread difficult to read — in this case, the thread is wider. However, a clickable thumbnail can be posted without actually generating another small thumbnail image — instead the original is scaled:
    < Click to view full size
    The above was posted using this HTML:
    <br/><blockquote style="padding-left: 50px;">
    <a href="/___sbsstatic___/migration-images/101/10197200-1.gif" target="_blank"><img src="/___sbsstatic___/migration-images/101/10197200-1.gif" title=" Will open in new window " width="150"></a><span style="color:#006699; padding-left: 2em;">&lt; <i>Click to view full size</i></span></blockquote><br/>

  • RollOver hover timing issue

    I have 9 buttons on a Flash animation and when I hover over
    one of the buttons, a graphic is displayed. As I move the mouse off
    the button, the graphic is removed. I am using the following script
    to make the graphic display:
    service_desk.onRollOver = function () {
    service_desk.gotoAndPlay("_over");
    service_desk.onRollOut = function () {
    service_desk.gotoAndPlay("_out");
    monitoring.onRollOver = function () {
    monitoring.gotoAndPlay("_over");
    monitoring.onRollOut = function () {
    monitoring.gotoAndPlay("_out");
    The issue I am having is that if I move my mouse from one
    button to another too quickly, the first button does not perform
    the “_out” so I have to mouse back over the button to
    have the monitoring.gotoAndPlay("_out"); work. If I move my mouse
    slowly from button to button, everything seems to work just fine.
    Can someone please suggest a way to fix this? I am willing to
    use a different technique; I just need to get this working.

    This a problem with flash. The workaround is like this -
    Make a large invisible button behind all the 9 button. and
    code the Rollin for the large button to explicitly reset the
    smaller buttons
    LargeButton.onRollover = function() {
    service_desk.gotoAndPlay("_out");
    Alternately u could use anonymous timer functions for each
    button to check the state of the rollover and call
    this.gotoAndPlay("_out) at a certain interval

  • Rollover image : strange problem

    Hello,
    I've got a very strange problem :
    I recently bought a new PC (ACER Aspire M5641, with Vista
    32), and installed Adobe Web Standard CS4 (to replace my DW 8 and
    FW 8).
    I make rollover images with FW for years without problem
    (i.e. without having to configure anything on the soft or the OS).
    Since I work with the new setup, each time I test my rollover
    image on Firefox or IE 8, when clicking on the test (not on hover)
    image, I got a "red-then-blue" point appearing on the top left of
    the image.
    Any Idea ?
    Many thanks for your help. I'm stuck.

    Can you post the png file?

  • NJawin: User32 and property problems

    Hi everybody, especially Vitaly Shelest ;)
    I'm using latest NJawin (1.1.31) and jsdk1.4.2 for wrapping some DLLs. It works, but there are several problems:
    1) When null and "" (empty strings) are passes in IDispatch property put methods for String properties, there is an exception thrown;
    2) HelloJava sample from Jawin distribution won't work. It ends with
    Exception in thread "main" java.lang.OutOfMemoryError: requested -627650838 bytes
    It won't work with Jawin either.
    It's sad, but there is no source code available for NJawin. So I experience a little bit of helplessness =(
    Did anybody manage to create a window with NJawin WinAPI fuctions? Do you know any workarounds for String properties in IDispatch?
    Regards,
    Vladimir Kirillov
    vladikir SOBAKA pochta TOCHKA ru

    Hi Vladimir,
    I have made a test: wrote COM server DLL with one property testString
    STDMETHODIMP CnjTest::get_testString(BSTR *pVal);
    STDMETHODIMP CnjTest::put_testString(BSTR newVal);and java code
    import NJAWINTESTLib.InjTest;
    import NJAWINTESTLib.njTest;
    import com.develop.jawin.COMException;
    public class jawinTest {
        public static void main(String[] args) throws COMException {
            InjTest obj = new InjTest(njTest.clsID);
            obj.settestString(new String());
            String str = obj.gettestString();
            System.exit(0);
    }When the parameter in settestString is null njawin generates VARIANT type VT_NULL. This is wrong. If you want to path an empty string use new String() or "". This is equivalent to null and njawin will generate VARIANT with type VT_BSTR.
    Vitaly

  • Httpservice url property problem

    hello everyone
    I need to include non latin characters in my httpservice url property. It points to a file. (http://www.myurl.com/nonLatinCharactersInFilename.xml)And its giving me errors.
    When I check the error, the url appears like so: http://www.myurl.com/??????????????????.xml
    Im using these character set everywhere in the code and there are no problems except when im sending the httpservice call.
    I also have same characters in the result event. and theres no prpblem with that.
    Any ideas how I can include these file names in the url property? or is there another way?
    In my app the user clicks a list (of file names with non latin characters) and an http service is sent to load the corresponding file to a richEditableText component.
    every thing except the non latin character part works fine
    any help in the right direction will be appreciated.
    thanx

    Hello,
    I am not shure, but I think you have to use a webserver, with
    a folder directing to your desktop. Then you can use something like
    that:
    http://localhost/Desktop.
    Otherwise you can try file:///C://Documents and
    Settings/[username]/Desktop/flex/...xml
    I hope this will help

  • DateTimeConverter pattern property problem

    Anyone else have a problem entering a date/time pattern using the custom editor button [...] in the Properties tab?
    Every time I enter a pattern (eg. EEE, d MMM yyyy HH:mm:ss zzzz) using the pop-up custom editor (accessed by clicking the little [...] button in the Properties tab for a seleted dateTimeConverter object) the pattern property doesn't take. After clicking 'OK' in the custom editor the pattern property remains blank.
    The pattern is saved if you enter it directly in the Property tab text box without using the custom editor pop up.
    Is this supposed to happen?
    I noticed this as I went through the 'Tutorials About Converters' at http://devservices.sun.com/premium/jscreator/standard/learning/tutorials/converters.html - specifically Example Three: Using Converters for Date and Time Formatting.
    Many thanks to anyone who can explain what I am doing wrong.
    Regards,
    J

    I put this little method into the session bean and it works well for me. I wrote it so it is in the pattern that
    MySql likes for datetime.
    Its handy for calling anywhere in the programme.
    public String getTimeStamp(){      
    SimpleDateFormat formatter= new SimpleDateFormat("yy-MM-dd HH:mm:ss");
    Date currentTime_1 = new Date();
    String dateString = formatter.format(currentTime_1);
    return dateString;
    Hope this helps Phil.

  • OO4O 10g and VB6 Bookmark Property Problem

    Hi All,
    I'm facing a problem with the BookMark property. It's throwing OIP-04121 Error.
    Below are the details
    Controls used:
    1) SSDBGrid of v3.11
    2) ORADC of v10g
    Code:
    Private Sub gridMain_RowLoaded(ByVal Bookmark As Variant)
    Dim PubHol As PUBLIC_HOLIDAY
    Dim Rs As Object 'Oracle DynaSet
    Set Rs = datMain.Recordset.dbClone()
    Rs.Bookmark = Bookmark ' Getting OIP-04121 Error here
    If Rs("year") = 0 Then
    gridMain.Columns(1).text = "----"
    Else
    gridMain.ColText(1) = Rs("year")
    End If
    The code is working fine in VB3.0, OO4O 1.0 and Sheridan Data Widgets 1.0e. However it's throwing error with VB6, OO4O latest versions and Sheridan Data Widgets 3.11.
    Please help me I tried many ways but failed. Kindly provide some alternate way to achieve this BookMark.
    Thanks and Regards,

    Hi All,
    I'm facing a problem with the BookMark property. It's throwing OIP-04121 Error.
    Below are the details
    Controls used:
    1) SSDBGrid of v3.11
    2) ORADC of v10g
    Code:
    Private Sub gridMain_RowLoaded(ByVal Bookmark As Variant)
    Dim PubHol As PUBLIC_HOLIDAY
    Dim Rs As Object 'Oracle DynaSet
    Set Rs = datMain.Recordset.dbClone()
    Rs.Bookmark = Bookmark ' Getting OIP-04121 Error here
    If Rs("year") = 0 Then
    gridMain.Columns(1).text = "----"
    Else
    gridMain.ColText(1) = Rs("year")
    End If
    The code is working fine in VB3.0, OO4O 1.0 and Sheridan Data Widgets 1.0e. However it's throwing error with VB6, OO4O latest versions and Sheridan Data Widgets 3.11.
    Please help me I tried many ways but failed. Kindly provide some alternate way to achieve this BookMark.
    Thanks and Regards,

  • Bound property problem

    Can the property binding in javabeans work if the bean doesnt have a "PropertyChange" method implemented in it. If yes, then how ?
    Similarly, how does a bean handle the case of multiple bound properties. This question arises because, there is only one "propertyChange" method in a bean and it recieves a PropertyChangeEvent parameter. In case of multiple bound properties how does a bean know which properties propertychange event has been fired?

    But this means that the property change listener has to be aware of the names of all the properties that it can bind, which is a severe limitation ! This is because , if I want to make a bean which has a property color , then it would be very difficult to make the bean so generic so that it can be bound to any bean containing a property representing a color. Unless and Until I know the name of the property of the source bean, I cannot make use of the propertyChange method of the destination bean to handle the change in property.
    The problem comes when a bean has multiple properties . In that case, in it's property change method, it has to filter based on the names which are not known until runtime.

  • Component binding property problem

    following problem:
    I have a form where I built a dataTable with a dynamic number of columns. To achieve this, I used a component binding (backing bean) to dynamically add columns.
    The form is used for different kind of queries and every query has it's own number of columns. The query-identification is submitted via a request parameter.
    All the data in the query-form are o.k. (bean values) but the backing bean will not be called in case of a new request (same jsf-form, but other request-parameter).
    example:
    http://host/url.faces?id=1
    http://host/url.faces?id=2
    <h:dataTable id="test"
                 value="#{test.values}"
                 var="i"
                 rendered="true"
                 binding="#{test.table}">
    </h:dataTable>whereas test is a bean which is created in a servlet listener and also updated with the corresponding id from the request.
    The table-property depends on the id given in the request.
    why ?

    ok, I found out, that using the <h:commandLink> with a param-tag solves this issue.
    Now the backing-bean's method to build the table is all-time called.
    And it works even after an expired session.
    But unfortunately I do not really know, why it works this way and the other it doesn't...

  • Front Page 98�s hover buttons problem

    hi
    I hope i'm in the right forum.
    May someone help me to solve this problem?I am experiencing problems with getting Front Page 98�s hover buttons to function. Below is the coding.
    <applet code="fphover.class" codebase="./" width="120" height="24">
    <param name="color" value="#000080">
    <param name="hovercolor" value="#0000FF">
    <param name="textcolor" value="#FFFFFF">
    <param name="text" value="C Programming">
    <param name="effect" value="glow">
    <param name="url" valuetype="ref" value="http://metalab.uniten.edu.my/~azhana/indexCProg.html">
    </applet>
    Are there anything wrong with it?May somebody tell me how to solve it?
    Hope I will get the reply A.S.A.P.....Thank you....

    This is just a front page hover button. front page creates the class. My question basically is , when the page is published , is it enough to just have that class file on the server and have teh html code point to it.
    and here are the tags btw..
    </applet>
    <applet code="images/fphover.class" codebase="./" width="120" height="24">
    <param name="hovercolor" value="#0000FF">
    <param name="textcolor" value="#FFFFFF">
    <param name="text" value="Sea Otter Live">
    <param name="color" value="#000000">
    <param name="effect" value="glow">
    <param name="url" valuetype="ref" value="http://seaottermusic.com/sea_otter_live.htm">
    </applet>

  • Content Search Web Part with Hover Panel - Problem with positioning with css

    Hi guys!
    I´m having trouble with positioning the hover panel for the Content Search Web Part.
    I used
    this article to help me with luck as far as to the positioning. I´ve tried some inline styling but maybe my knowledge in css is no good enough here.
    Here´s a screenshot from how this looks like. The hover panel generates a gap between the result items, the same height as the hover panel:

    Hi Victoria!
    No the gap comes without any inline css added from me. I´ve tried some inline styling, like z-index and position.
    So, any ideas are welcome.
    Here´s how my Display Template looks like:
    <html xmlns:mso="urn:schemas-microsoft-com:office:office" xmlns:msdt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882">
    <head>
    <title>RC Customer Documents</title>
    <!--[if gte mso 9]><xml>
    <mso:CustomDocumentProperties>
    <mso:TemplateHidden msdt:dt="string">0</mso:TemplateHidden>
    <mso:ManagedPropertyMapping msdt:dt="string">&#39;Link URL&#39;{Link URL}:&#39;Path&#39;,&#39;Line 1&#39;{Line 1}:&#39;Title&#39;,&#39;Line 2&#39;{Line 2}:&#39;&#39;,&#39;FileExtension&#39;,&#39;SecondaryFileExtension&#39;</mso:ManagedPropertyMapping>
    <mso:MasterPageDescription msdt:dt="string">This Item Display Template will show a preview and properties for Record Center Customer Documents</mso:MasterPageDescription>
    <mso:ContentTypeId msdt:dt="string">0x0101002039C03B61C64EC4A04F5361F385106603</mso:ContentTypeId>
    <mso:TargetControlType msdt:dt="string">;#SearchResults;#Content Web Parts;#</mso:TargetControlType>
    <mso:HtmlDesignAssociated msdt:dt="string">1</mso:HtmlDesignAssociated>
    <mso:HtmlDesignConversionSucceeded msdt:dt="string">True</mso:HtmlDesignConversionSucceeded>
    <mso:HtmlDesignStatusAndPreview msdt:dt="string">http://d-records.isbank.is/rc/search/_catalogs/masterpage/Display Templates/Content Web Parts/_isb_record_center/tutorial/RC_CustomerDocuments.html, Conversion successful.</mso:HtmlDesignStatusAndPreview>
    <mso:CrawlerXSLFile msdt:dt="string"></mso:CrawlerXSLFile>
    <mso:HtmlDesignPreviewUrl msdt:dt="string"></mso:HtmlDesignPreviewUrl>
    </mso:CustomDocumentProperties>
    </xml><![endif]-->
    </head>
    <body>
    <!--
    Warning: Do not try to add HTML to this section. Only the contents of the first <div>
    inside the <body> tag will be used while executing Display Template code. Any HTML that
    you add to this section will NOT become part of your Display Template.
    -->
    <script>
    $includeLanguageScript(this.url, "~sitecollection/_catalogs/masterpage/Display Templates/Language Files/{Locale}/CustomStrings.js");
    </script>
    <!--
    Use the div below to author your Display Template. Here are some things to keep in mind:
    * Surround any JavaScript logic as shown below using a "pound underscore" (#_ ... _#) token
    inside a comment.
    * Use the values assigned to your variables using an "underscore pound equals"
    (_#= ... =#_) token.
    -->
    <div id="RC_CustomerDocuments">
    <!--#_
    var id = ctx.ClientControl.get_nextUniqueId();
    var itemId = id + Srch.U.Ids.item;
    var hoverId = id + Srch.U.Ids.hover;
    var hoverUrl = "~sitecollection/_catalogs/masterpage/Display Templates/Content Web Parts/_isb_record_center/tutorial/Item_RC_CustomerDocuments_HoverPanel.js";
    $setResultItem(itemId, ctx.CurrentItem);
    ctx.currentItem_ShowHoverPanelCallback = Srch.U.getShowHoverPanelCallback(itemId, hoverId, hoverUrl);
    ctx.currentItem_HideHoverPanelCallback = Srch.U.getHideHoverPanelCallback();
    var encodedId = $htmlEncode(ctx.ClientControl.get_nextUniqueId() + "_2lines_");
    var linkURL = $getItemValue(ctx, "Link URL");
    linkURL.overrideValueRenderer($urlHtmlEncode);
    var iconURL = Srch.ContentBySearch.getIconSourceFromItem(ctx.CurrentItem);
    var line1 = $getItemValue(ctx, "Line 1");
    var line2 = $getItemValue(ctx, "Line 2");
    line1.overrideValueRenderer($contentLineText);
    line2.overrideValueRenderer($contentLineText);
    var containerId = encodedId + "container";
    var pictureLinkId = encodedId + "pictureLink";
    var pictureId = encodedId + "picture";
    var dataContainerId = encodedId + "dataContainer";
    var line1LinkId = encodedId + "line1Link";
    var line1Id = encodedId + "line1";
    var line2Id = encodedId + "line2";
    _#-->
    <div class="cbs-Item" name="Item" id="_#= $htmlEncode(itemId) =#_" data-displaytemplate="RC_CustomerDocuments" onmouseover="_#= ctx.currentItem_ShowHoverPanelCallback =#_" onmouseout="_#= ctx.currentItem_HideHoverPanelCallback =#_">
    <div id="wrapper">
    <div id="_#= $htmlEncode(hoverId) =#_" ></div>
    </div>
    <a class="cbs-ItemLink" title="_#= $htmlEncode(line1.defaultValueRenderer(line1)) =#_" id="_#= pictureLinkId =#_">
    <img class="cbs-Thumbnail" src="_#= $urlHtmlEncode(iconURL) =#_" alt="_#= $htmlEncode(line1.defaultValueRenderer(line1)) =#_" id="_#= pictureId =#_" />
    </a>
    <div class="cbs-Detail" id="_#= dataContainerId =#_">
    <a class="cbs-Line1Link ms-noWrap ms-displayBlock" href="_#= linkURL =#_" title="_#= $htmlEncode(line1.defaultValueRenderer(line1)) =#_" id="_#= line1LinkId =#_">_#= line1 =#_</a>
    <!--#_
    if(!line2.isEmpty)
    _#-->
    <div class="cbs-Line2 ms-noWrap" title="_#= $htmlEncode(line2.defaultValueRenderer(line2)) =#_" id="_#= line2Id =#_">_#= line2 =#_</div>
    <!--#_
    _#-->
    </div>
    </div>
    </div>
    </body>
    </html>
    And here´s the hover panel:
    <html xmlns:mso="urn:schemas-microsoft-com:office:office" xmlns:msdt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882">
    <head>
    <title>RC Customer Documents Hover Panel</title>
    <!--[if gte mso 9]><xml>
    <mso:CustomDocumentProperties>
    <mso:TemplateHidden msdt:dt="string">0</mso:TemplateHidden>
    <mso:MasterPageDescription msdt:dt="string">Displays a result hover panel tailored for a Portable Document Format (PDF) document.</mso:MasterPageDescription>
    <mso:ContentTypeId msdt:dt="string">0x0101002039C03B61C64EC4A04F5361F385106603</mso:ContentTypeId>
    <mso:TargetControlType msdt:dt="string">;#SearchHoverPanel;#</mso:TargetControlType>
    <mso:HtmlDesignAssociated msdt:dt="string">1</mso:HtmlDesignAssociated>
    <mso:ManagedPropertyMapping msdt:dt="string">&#39;Title&#39;:&#39;Title&#39;,&#39;Path&#39;:&#39;Path&#39;,&#39;Description&#39;:&#39;Description&#39;,&#39;EditorOWSUSER&#39;:&#39;EditorOWSUSER&#39;,&#39;LastModifiedTime&#39;:&#39;LastModifiedTime&#39;,&#39;CollapsingStatus&#39;:&#39;CollapsingStatus&#39;,&#39;DocId&#39;:&#39;DocId&#39;,&#39;HitHighlightedSummary&#39;:&#39;HitHighlightedSummary&#39;,&#39;HitHighlightedProperties&#39;:&#39;HitHighlightedProperties&#39;,&#39;FileExtension&#39;:&#39;FileExtension&#39;,&#39;ViewsLifeTime&#39;:&#39;ViewsLifeTime&#39;,&#39;ParentLink&#39;:&#39;ParentLink&#39;,&#39;FileType&#39;:&#39;FileType&#39;,&#39;IsContainer&#39;:&#39;IsContainer&#39;,&#39;SecondaryFileExtension&#39;:&#39;SecondaryFileExtension&#39;,&#39;DisplayAuthor&#39;:&#39;DisplayAuthor&#39;,&#39;ServerRedirectedURL&#39;:&#39;ServerRedirectedURL&#39;</mso:ManagedPropertyMapping>
    <mso:HtmlDesignConversionSucceeded msdt:dt="string">True</mso:HtmlDesignConversionSucceeded>
    <mso:HtmlDesignStatusAndPreview msdt:dt="string">http://d-records.isbank.is/rc/search/_catalogs/masterpage/Display%20Templates/Content%20Web%20Parts/_isb_record_center/tutorial/Item_RC_CustomerDocuments_HoverPanel.html, Conversion successful.</mso:HtmlDesignStatusAndPreview>
    <mso:CrawlerXSLFile msdt:dt="string"></mso:CrawlerXSLFile>
    <mso:HtmlDesignPreviewUrl msdt:dt="string"></mso:HtmlDesignPreviewUrl>
    </mso:CustomDocumentProperties>
    </xml><![endif]-->
    </head>
    <body>
    <div id="Item_RC_CustomerDocuments_HoverPanel">
    <!--#_
    var i = 0;
    var id = ctx.CurrentItem.csr_id;
    ctx.CurrentItem.csr_ShowFollowLink = true;
    ctx.CurrentItem.csr_ShowViewLibrary = true;
    ctx.currentItem_ShowChangedBySnippet = true;
    _#-->
    <div class="ms-srch-hover-innerContainer ms-srch-hover-standardSize" id="_#= $htmlEncode(id + HP.ids.inner) =#_">
    <div class="ms-srch-hover-arrowBorder" id="_#= $htmlEncode(id + HP.ids.arrowBorder) =#_"></div>
    <div class="ms-srch-hover-arrow" id="_#= $htmlEncode(id + HP.ids.arrow) =#_"></div>
    <div class="ms-srch-hover-content" id="_#= $htmlEncode(id + HP.ids.content) =#_" data-displaytemplate="RCCustomerDocumentsHoverPanel">
    <div id="_#= $htmlEncode(id + HP.ids.header) =#_" class="ms-srch-hover-header">
    _#= ctx.RenderHeader(ctx) =#_
    </div>
    <div id="_#= $htmlEncode(id + HP.ids.body) =#_" class="ms-srch-hover-body">
    _#= ctx.RenderBody(ctx) =#_
    </div>
    <div id="_#= $htmlEncode(id + HP.ids.actions) =#_" class="ms-srch-hover-actions">
    _#= ctx.RenderFooter(ctx) =#_
    </div>
    </div>
    </div>
    </div>
    </body>
    </html>
    Thnx :)

  • Classpath and property problem in services

    Hi, all,
    I've had a number of problems getting the Stockquote example to run properly. This seems to be due to a problem that services don't get either classpaths or properties when they start.
    The first manifestation of this problem came when the proxySet, proxyHost, and proxyPort environment variables weren't getting set properly in class services.stockquote.Stockquote. The symptom was that url.openStream () timed out because the proxy was not set correctly.
    The second symptom comes when"JavaPort" is used as the port on the client. Despite every attempt I've made to put services.stockquote.Stockquote on the classpath, URLClassLoader will not find this class. However, a call to Class.forName("services.stockquote.Stockquote") in Main.java, just before the bottom of the stack, works! It works in both the client and the server!
    So, could someone please tell me why the classpath and properties are getting shucked, and how to get them right?
    I'm on Windows 2000 :p using JDK 1.3.1 and Tomcat 4.0.
    Thanks,
    - Steve.

    Vivek, I think this belongs in a different thread. Also you'll need to say what problems you're having.
    The only thing that definitely needs to be changed about the example is that the service may fail if it's run behind a proxy server. You'll need to set the following System properties:
    System.setProperty("proxySet", "true");
    System.setProperty("proxyHost", "your.proxy.com");
    System.setProperty("proxyPort", <your proxy port>");
    If this isn't done you'll get an exception like the following:
    Exception in thread "main" com.ibm.wsif.WSIFException: SOAP Fault:SOAP-ENV:Server Exception from service object: Operation timed out: connect
    -S.

  • JSF/Spring integration - managed-property problem

    I am using JSF 1.1_01 (MyFaces 1.1), Spring 1.2, Ajax4Jsf.
    The JSF application has h:selectOneMenu .
    On change event of h:selectOneMenu sets "selectedValue" into backing bean as shown below:
    page.jsp
    <h:selectOneMenu value="#{test.selectedDevice}" >
    <f:selectItem itemValue="0" itemLabel="--New--"/>
    <f:selectItem itemValue="1" itemLabel="WorkStation"/>
    <f:selectItem itemValue="2" itemLabel="Router"/>
    <f:selectItem itemValue="3" itemLabel="Switch"/>
    <ajax:support action="#{test.loadDevice}" event="onchange" reRender="t2,t3,t4,t5"/>
    </h:selectOneMenu>
    TestBean.java (Backing Bean)
    public String getSelectedDevice() {
    logger.info(" *** In getSelectedDevice *** ");
    if (selectedDevice == null) {
    selectedDevice = "0"; // This will be the default selected item.
    return selectedDevice;
    public void setSelectedDevice(String selectedDevice) {
    logger.info(" *** In setSelectedDevice *** ");
    this.selectedDevice = selectedDevice;
    Here are the configuration file snippets for integrating JSF Spring
    web.xml
    <listener>
    <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
    </listener>
    <context-param>
    <param-name>contextConfigLocation</param-name>
    <param-value>/WEB-INF/applicationContext.xml</param-value>
    </context-param>
    faces-config.xml
    <application>
    <variable-resolver>org.springframework.web.jsf.DelegatingVariableResolver</variable-resolver>
    </application>
    <managed-bean>
    <managed-bean-name>test</managed-bean-name>
    <managed-bean-class>test.TestBean</managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    <managed-property>
    <property-name>deviceManager</property-name>
    <property-class> test.DeviceTypeManager </property-class>
    <value>#{deviceManager}</value>
    </managed-property>
    </managed-bean>
    The above code results in the following error
    javax.faces.FacesException: Cannot get value for expression '#{test.selectedDevice}'
    The error occurs only if i include <managed-property> inside the <managed-bean> in faces-config.xml.
    The moment i remove <managed-property> from face-config.xml the error disappears & page gets rendered properly.
    The purpose in having <managed-property> inside managed-bean is to call Spring's Manager class (i.e. deviceManager) from JSF application
    Any pointers/suggestions in resolving the error will be highly appreciated
    Regards
    Bansi

    The TestBean have a property for DeviceManager along with setter/getter methods as shown below. Sorry for not including in earlier posting
    TestBean.java (Backing Bean)
    private DeviceTypeManager deviceManager;
    public DeviceTypeManager getDeviceManager() {
         return deviceManager;
    public void setDeviceManager(DeviceTypeManager deviceManager) {
         this.deviceManager = deviceManager;
    Here are the two scenarios
    Scenario 1 : without <managed-property> the code works fine
    Scenario 2 : with <managed-property> the code results in following error
    javax.faces.FacesException: Cannot get value for expression '#{test.selectedDevice}'
    Scenario 1 has only JSF whereas Scenario 2 has JSF-Spring integration
    The Scenario 1 works absolutely fine as the expression '#{test.selectedDevice}' gets its value from setter/getter method in the backing bean(TestBean.java) . This is expected behaviour & wondering why it doesn't work similarly in Scenario 2 instead it complains
    Cannot get value for expression '#{test.selectedDevice}'
    I am willing to upload the war file. Any pointers/suggestions in resolving the error will be highly appreciated
    Regards
    Bansi

  • ONETIME_WHERE property problem

    Hi ALL,
    Forms 10g 10.1.2.0.2 and Win-XP sp2
    I have a form , on it's When-new-form-instance trigger i wrote this code
    Set_Block_Property('jourhead',ORDER_BY,'VOCH_NO');
    Set_Block_Property('jourhead',DEFAULT_WHERE,'IDENT='||V_IDENT);
    Where :
    VOCH_NO is a varchar2 text item
    v_ident is a number variable
    I have a button in this form, i wrote this code for When-button-pressed trigger
    Set_Block_Property ('JOURHEAD',ONETIME_WHERE,'VOCH_NO='||''''||V_PREV_record||'''');
    EXECUTE_QUERY;
    This code works fine but sometimes the form freezes at the line (execute_query)
    Note, The form doesn't freeze if i wrote this line like this :
    Set_Block_Property ('JOURHEAD',ONETIME_WHERE,'VOCH_NO='||V_PREV_record);
    But this is not the case, it doesn't give the required result.
    What is wrong in this code ?
    Please help
    Thanks
    Message was edited by:
    Mostafa Abolaynain

    Hi Ade,
    Before set item property the value is displayed right , and sometimes the form freezes before displaying the message (this may be for the same record).
    Ade i noticed a very strange behaviour :
    the following syntax freezes the form :
    Set_Block_Property('JOURHEAD',DEFAULT_WHERE,' IDENT= '||FV.V_IDENT);
    Set_Block_Property('JOURHEAD',ONETIME_WHERE,'VOCH_NO='||''''||V_PREV_record||'''');
    However the following syntax doesn't freeze the form :
    Set_Block_Property('JOURHEAD',ONETIME_WHERE,'VOCH_NO'||'='||''''||V_PREV_record||''''||' AND IDENT='||FV.V_IDENT);
    Aren't the two syntax the same ??
    I confused .

Maybe you are looking for