![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
The following sections describe how to work with logs and solve commonly encountered problems in Design Studio:
The CTE can log informational, warning, and error messages related to the interactions between the CTE and Design Studio. You can view the Server Log from Design Studio and you can change the logging level in the CTE Administrative Interface so that all messages or only server version information is displayed in the log.
![]() |
Caution Verbose logging should be disabled unless you are troubleshooting a problem. If the CTE disk fills up with logs, the CTE will crash. |
To start and stop verbose logging, perform these steps:
![]() |
Note For help with using the CTE Administrative Interface, refer to the Cisco CTE 1400 Series Configuration Note. |
Step 2 Click Save.
To view the log from Design Studio, perform these steps:
Step 2 To refresh the display, click Refresh.
Step 3 To exit the window, click OK.
Design Studio can hang if your PC runs out of memory (a minimum of 128 MB of RAM is required; 256 MB of RAM is recommended).
This problem is probably due to the information that you entered when you logged into Design Studio or connected to a different CTE. Contact your CTE administrator to verify that you are using the correct username, password, IP address, and server upload port.
This problem can also be caused if the CTE administrator makes changes through the CTE console or administrative interface but does not commit or save the changes.
To use a simulator or browser to preview a page, you must start Design Studio and connect to a CTE. Also, verify that you are entering the URL in the correct format as shown in the following example: http:// ipAddress:portNumber/http:// pageURL
The ipAddress:portNumber identifies the CTE.
You must use Internet Explorer version 5.0 or higher with Design Studio.
You must configure the Openwave Mobile Browser Simulator to connect through a proxy port. For information, see the "Installing the Openwave Mobile Browser Simulator" section.
This problem can occur if you are using a software firewall on your computer. To work around the problem, disable the software firewall while you are using the Go.Web Simulator.
A page might appear blank if there is one Select rule on the page and that rule is dead. A page will also appear blank if it is written with a JavaScript document.write command and JavaScript emulation is not enabled.
When you browse to a page that uses frames, Design Studio gives you the option of using the noframes element content or redirecting the page to one of its frames.
Identifier rules must be mutually exclusive. Here's a simple example to help you understand how your Identifier rules might be incorrect. Suppose that you have two types of bags of marbles: Type Bag1 contains red marbles and green marbles; Type Bag2 contains red marbles and blue marbles. Suppose that you create the following rules to identify the two types of bags:
You receive a new bag of marbles and need to determine which type of bag it is. First, you check if it has a red marble. It does, therefore it matches type Bag1. You then look at the rest of the marbles in your new bag and see that it contains red and blue marbles (type Bag2), not red and green marbles (type Bag1). Because the rule for type Bag1 is not mutually exclusive, you incorrectly identified the new bag.
Click the View Original tab to select additional elements.
Most transformations require fewer than a dozen rules. The most efficient transformations generally start with a Select rule, which eliminates most content that you do not want on the transformed page. Also, be sure that you take advantage of applying rules to multiple depths and positions as described in the "Applying Rules to Several Elements" section.
Rules that are displayed in red are conflicting. For information on resolving conflicting rules, see the "Resolving Conflicting Rules" section.
Rules that are displayed in gray are dead. For information on working with dead rules, see the "Evaluating Dead Rules" section.
That message displays in two cases:
In both cases, Design Studio does not allow you to change the depth setting of the element because the depth of that element is relative to the Destination path (for the Move rule) or the Operation path (for the Advanced setting). Design Studio must retain the depth setting of the element in order to track its XPath.
You might need to select a larger area of the page and then clip elements from it as needed. If the transformed page is blank, the Select rule may be based on an attribute that dynamically changes or the Select rule may be dead.
In general, the last rule added has the highest priority. The exception is the Select rule, which always takes precedence.
Suppose that you want to transform a table so that the last row is clipped and all other rows are modified. If you clip the last row and then modify the first row, applying the Modify rule to all rows, the clipped row reappears. To achieve the desired transformation in this case, apply the Modify rule first and then clip the last row.
When you save a configuration file, Design Studio keeps a backup of the previous version in a file named filename~.
If you are doing a lot of experimenting, consider saving each version of a configuration file to a different name so you can return to older versions.
The CTE Administrative Interface includes Default URL settings that take precedence over ScreenTop Menu. If the ScreenTop Menu does not display on a device after you have published the configuration file and connected to a CTE using the device, contact your CTE administrator and verify that a Default URL is not specified in the Administrative Interface.
This problem is probably due to dynamically generated content on the page. Determine how the content is changing and apply rules accordingly. Pay particular attention to rules that are applied based on element depth and position. The dynamically generated content may not always appear at the same depth or position.You might, for example, need to set a path element to match against a range of positions.
The rules that you create must result in valid HTML. If the rules are not working as you expected, verify that you have not inadvertently instructed Design Studio to create invalid HTML. For example, verify that you have not moved a td element outside of a table element.
If the images are not being removed as the result of transformation rules, check the Device Definition File (DDF) for IP phones and verify that images are enabled. For information about editing a DDF, see the "Configuring Device Definitions" section.
This problem occurs when a web page contains a link (perhaps with a thumbnail image) that opens just an image in a separate window. Unlike desktop browsers, microbrowsers do not support pages that contain only an image. To work around this limitation, either add text to the page containing just the image, or clip the link to the image.
A RIM device encounters problems when attempting to display a GIF image that follows a blank GIF image (used for spacing, for example). To correct the problem, use Design Studio to clip all blank GIFs.
Unless you need JavaScript support for a site, try disabling JavaScript support for the CTE to see if that fixes the problem.
By default, the CTE limits horizontal scrolling to improve usability. However, if a page contains a pre element, the default behavior is overriden and the page might have horizontal scrolling. To disable the horizontal scrolling, use Design Studio to clip or ignore the pre element.
All xsl:template elements in your style sheet must have a priority attribute set to greater than 1. Otherwise, the style sheet generated by Design Studio can conflict with your style sheet so that your styles do not apply.
Verify that JavaScript support is enabled for the CTE you are using to test the page. Also verify that the page does not include Modify rules that change the value attributes of input fields or the name attribute of form elements.
Design Studio adds a button labeled "Change" or "Submit" for a variety of JavaScript events. You can clip any unneeded buttons.
If JavaScript support is enabled for the CTE and an a element has JavaScript as a part of its href or onclick event, the CTE converts the child text nodes to input type="submit" and child image nodes to input type="image". When the user clicks the button, the CTE executes the associated JavaScript.
When you click the Browse tab and navigate to a page that you previously worked on in the same session, the state of the JavaScript may not be correct. To return to the correct state, click the (reload) button to retrieve the page from the CTE cache. If the behavior is still not correct, replay the JavaScript session from the beginning.
Posted: Tue Jan 14 16:18:35 PST 2003
All contents are Copyright © 1992--2002 Cisco Systems, Inc. All rights reserved.
Important Notices and Privacy Statement.