IMPORTANT:
this is not a Support Forum! Experienced users might answer from time to time questions posted here. If you need a professional and reliable answer, or if you want to report a bug, please contact Altova Support instead.

Profile: dasbach
About
User Name: dasbach
Forum Rank: Newbie
Real Name:
Location
Occupation:
Interests:
Gender: None Specified
Statistics
Joined: Monday, July 27, 2009
Last Visit: Monday, July 27, 2009 1:07:21 PM
Number of Posts: 2
[0.01% of all post / 0.00 posts per day]
Avatar
Last 10 Posts
Topic: Textstate icons in Authentic Browser
Posted: Monday, July 27, 2009 12:15:31 PM
Hi

Thanks for your reply

I'm using JBoss Developer Studio and i start a Tomcat6 Server from the IDE itself. I can't find any logs at all (will have to look into this a bit further) But if i deploy the real application on a Glassfish v2 the logs don't say anything besides "Authentic plugin loaded sucessfully" like i logged it in the Java Bean.

Besides, i'm also using Bitmap images in the SPS File for Wrapping Content tags. This works just fine, so i guess bothe Servers, Tomcat and Glassfish, are able to resolve the path to the images just fine.

Oh and the Browser is IE7 and i can look at the bitmaps by using the full serverpath just fine.
Topic: Textstate icons in Authentic Browser
Posted: Monday, July 27, 2009 10:57:49 AM
Hello Community

I have a problem using textstate icons in Authentic Browser Edition. I defined the icons in Stylevision and they are functinally displayed in Authentic Desktop Edition. The same .sps File used in my WepApp results in no textstate icons displayed at all. The structure of my WebApp looks like this:


AuthenticTest
|
|- authentic
| |
| |- picts
| | |
| | |- bold.bmp
| |
| |- AuthenticBrowserEdition_DE.CAB
| |- input.xml
| |- output.xml
| |- redce-redakteur.sps
| |- redce.xsd
|
|- index.html


The textstate icons are described in the SPS File like this:


<structure version="8" cssmode="strict" relativeto="*SPS" encodinghtml="UTF-8" encodingrtf="ISO-8859-1" encodingpdf="UTF-8" useimportschema="1" embed-images="1">
<parameters/>
<schemasources>
<namespaces/>
<schemasources>
<xsdschemasource name="XML" main="1" schemafile="redce.xsd" workingxmlfile="redce.xml">
<xmltablesupport standard="HTML">
<usertags>
<usertag default="tr" username="row"/>
<usertag default="td" username="entry"/>
</usertags>
</xmltablesupport>
<textstateicons>
<textstateicon match="b" iconfile="bold.bmp"/>
</textstateicons>
[...]


The elements are defined in the schema:


[...]
<xs:complexType name="inline" mixed="true">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="b"/>
</xs:choice>
</xs:complexType>
<xs:element name="b" type="inline"/>
[...]


And at last my index.html binding the Authentic PlugIn:


<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Authentic Demo</title>

<script language="javascript" for="objPlugIn" event="ControlInitialized" >
//<![CDATA[
objPlugIn.SchemaLoadObject.URL = "authentic/redce.xsd";
objPlugIn.DesignDataLoadObject.URL = "authentic/redce-redakteur.sps";
objPlugIn.StartEditing();
//]]>
</script>
</head>

<body>
<h1>Authentic Demo</h1>

<object id="objPlugIn" width="100%" height="540"
CodeBase="authentic/AuthenticBrowserEdition_DE.CAB#Version=7,0,1,0"
Classid="clsid:91DDF44A-DFD1-4F47-8EE3-4CBE874584F7">
<PARAM NAME="XMLDataURL" VALUE="authentic/input.xml"/>
<PARAM NAME="XMLDataSaveURL" VALUE="authentic/output.xml"/>
<PARAM NAME="TextStateBmpURL" VALUE="authentic/picts/">
</object>
</body>
</html>


I searched the online Developer Guide and this forum and didn't find any solution to why my textstateicons are not displayed in Authentic Browser Edition. Thanks in advance

Use of the Altova User Forum(s) is governed by the Altova Terms of Use.