Spry tag delimiter concernt
I have a concern about the use of single curly braces {spry
tag} as Spry tag delimiters within HTML. It is true that one could
use the ISO entitiy characters &123; and &125; where curly
braces occur in literal text. But how do we enforce that for
Contribute users who maintain their own text and may use curly
braces? How do we retrofit existing pages which may include inline
JavaScript with curly braces?
I would prefer to see a distictive multi-character set used
for each Spry delimiter - e.g @@{...}@@ - as is done for
Dreamweaver template parameters - @@(...)@@
Duncan,
I had brought up the idea once of having a form like '${
insert javascript code }' as a way to specify a bit of javascript
to grab a some data from the current row. For example: ${
'{name}'.toUpperCase() }. But I guess ColdFusion (?) uses that
syntax for their stuff, and JSTL does too. Personally, I find
@@(...)@@ a little wordy and I'm sure the inevitable
@@(name)@@@(key)@@ errors will be interesting to track down.
An alternative approach could be a spry:insert tag, so you
could have code like this:
<div spry:repeatchildren="ds">
<span spry:insert="page" />
</div>
and have Spry replace the whole span with whatever the value
for 'page' is in the current row. Obviously, this has the
disadvantage that it wouldn't work in attributes. But you could
solve that with something of the form of this:
<a spry-attr:href="link" />
or
<a href="spry:link" />
The first form, Spry would look for any attributes that start
with spry-attr: and use the second part as the actual attribute to
spit out. The second form is borrowed from Tapestry where they make
use of a prefix in the attribute value to specify that that value
should be treated differently. In this case, it'd look up the value
for link in the current row.
I'd hate to have to code either, but it would offer a way
around the curly brace problem in a generic way that should work
for anything.
-d
Similar Messages
-
Prevent Spry Tags from showing on page
I have looked, but could not find a similar topic.
My question is, is there a way to prevent spry tags from
showing on a page when it loads or gets refreshed?
Example:
http://www.sothebys.com/video/viewer/
When first coming to the page, the spry tags appear, once the
page is loaded they are replaced by it's content. Same happens when
the page is refreshed.
Any suggestions?Hi,
Check out this sample:
http://labs.adobe.com/technologies/spry/samples/data_region/HideDataReferencesSample.html
Thanks,
Don -
Making spry tags xhtml compatible
howto make spry tags compliant with w3c xhtml standards, as
for the moments those tags are not compliant in my opinion as i
have used the xmlns:spry="
http://ns.adobe.com/spry"
also but its of no great use!U can also make all spry Unobtrusive using SpryDOMutils.js
( use onload listener to add spry tags to it)
Example:
http://labs.adobe.com/technologies/spry/samples/dom_utils/unobtrusive_spry_data.html
if u check source code u will see no spry tags. They are all
placed in using the element selector.
To find more information about the element selector
look here:
http://labs.adobe.com/technologies/spry/articles/element_selector/index.html
and here:
http://labs.adobe.com/technologies/spry/articles/data_api/apis/utils.html -
It is the little things in life I was always told and all I
am trying to do is to pretty much duplicate the form validation
demo. However I am not even sure where to begin. I have created
many forms and have had them submit and returned in an emial
successfully but I am not quite sure how the Spry widgets work or
how to apply them to an existing form or even a new one for that
matter.
Does the page have to be dynamic in order to use the Spry
validation widget? Hopefully iy can be used on a static page. Are
there any tutorials out there for creating a form in DW CS3 using
the Spry validation widget?
Thanks,
HoustonHi,
First of all, the Spry widgets works on static pages, so you
don't necessary need to have a dynamic page.
It is not to hard to make the demo from site, and I'll
explain you the basic steps you should do to have these widgets
working on your page. The css part, you can customize as you wish,
the demo from site is just a customization.
As I saw, you use Dreamweaver for creating this demo, so I'll
give you the explanations for how to do it on DW.
In a html page, add a form. Inside form add: a Spry Textfiled
validation input (from the Spry tag), a Spry Select input and a
Spry Textarea input.
If you go in design view and select an widget, a blue border
will appear and on the Property Inspector will appear all the
properties you need to customize.
To see exactly what does every property, please check the
Dreamweaver help.
This is the start to create you own form containing Spry
widgets.
Hope this help,
Diana -
Segment delimiter causing error
Hi Guru's
We had setup an outbound 810 in b2b. The issue is when EDI file is generated( validations r off) and we look it through spec builder we get following error
The Interchange Trailer is missing. The segment itself may be missing or the Segment Delimiter may be missing.
Trailer was expected after:
Character: 503
The file generted is
ISA*00* *00* *01*0041158668 *01*103391843 *091013*1140*U*00401*000001340*0*P*>Â…GS*IN*041158668*103391843*20091013*1140*1340*X*004010Â…ST*810*1340Â…BIG*20090819*10034411*20090815*4680814246Â…ITD*05*3****20090908*20*****Net 20 DAYSÂ…IT1**170.44*LB*13.27**UP*007221084540Â…PID*F****HAYSTACK.QUESO DE MANO PC PP DPI#: 35639Â…SAC*A*ZZZZ***000*******02***Promotional AllowanceÂ…TDS*226170Â…SAC*A*ZZZZ***000**********Total AllowancesÂ…CTT*1Â…SE*10*1340Â…GE*1*1340Â…IEA*1*000001340Â…
we are using 0x85 as segment delimiter which is (...). Plz see the extra char that is coming. For all other trx we are using other segment delimiter and we are not facing any issue
Any pointers will be highly appreciated
Regards
SahilHi Sahil,
Did you try changing the segment delimiter value to any other value(or keep it default)? Please let us know the patch level of your B2B.
What is the value of below five in your document protocol -
Element delimiter,
Sub-element delimiter,
Segment Delimiter,
Replacement character and
Tag Delimiter
Regards,
Anuj -
Interaction using Flash an Spry possible?
Hello,
I am just curious, if there is a possibility to use Spry from a flash movie. For example, I like to have the Spry datagrid on a website using a typical master and detail area like this:
<div class="MasterDetail">
<div spry:region="dsccare2" class="MasterContainer">
<div class="MasterColumn" spry:repeat="dsccare2" spry:setrow="dsccare2" spry:hover="MasterColumnHover" spry:select="MasterColumnSelected">{name}</div> </div>
<div spry:detailregion="dsccare2" class="DetailContainer">
<div class="DetailColumn">{links}</div>
<div class="DetailColumn">{navcontent}</div>
</div>
<br style="clear:both" />
Is there a way to use a Flash swf on the page that interacts with spry. I know, that you can call JavaScript commands from Actionscript, but is there a special way to use Spry tags or attributes from Flash? What is the code I need for Flash to include in the Actionscript of button for example to change the {navcontent}?
I think you thought of something like that doing Spry ;)
Thanks MichaelHi Diana,
do you know what the parameters that "updateContent" accepts?
I didn´t find good documentations about Spry. In the Adobe
site, there are only few examples but doesn´t explain all the
aspects of the Spry. I also looked for this in search sites, but
there are only basics examples and texts explaining how to use it.
Maybe you´ve already observed that everyone that uses
the Spry are looking for better documentations. I understand that
the guys from Adobe are developing and writing the documentation at
the same time, but we all need better documentations and tutorials
to learn the Spry framework. I think this is the best feature in
the Dreamweaver CS3.
If you know someone at Adobe, please tell them to pay more
atention about this.
I will try to insert the AC_FL_RunContent function as a
parameter inside "updateContent". If it works, I will tell here.
Thank you for your help,
Luciano Popó, from Brazil -
DW CS4 Custom Tags & Syntax Highlighting?
Hi,
I already created a custom tag in the \Adobe Dreamweaver CS4\configuration\ThirdPartyTags\Tags.xml like this:
<tagspec tag_name="mytag" tag_type="nonempty" render_contents="true" content_model="marker_model" start_string="(~" end_string="~)" detect_in_attribute="true" parse_attributes="false" icon="mytag.gif" icon_width="16" icon_height="15"></tagspec>
I read the instructions on 3rd party syntax highlighting here (Dreamweaver Help).
Whether I misunderstand something or it's not working.
1) The help speaks of "View > Invisible Elements". In DW CS4 is no menu entry like this - if you mean the menu. However I think this entry is ment: "View > Visueal Aids > Invisible Elements". It's enabled by default.
2) Under "Edit > Preferences > Highlighting" I activated the Third Party tags color.
I restarted Dreamweaver to be sure...but no code/tag is highlighted!
Example HTML: (.html file)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test</title>
</head>
<body>
<input name="(~ TEST ~)" type="text" class=(~ test2 ~) />
(~Something here ~) This is the first text.
(~ Partly Input <input name="dynamic"|VAR ~)
</body>
</html>
From my understanding, everything between the (~ ~) tags/delimiter (including them) should be colored in the 3rd party tag color or not? Also the open INPUT tag with the name "dynamic" confuses the normal HTML syntax highlighting of DW. I thought everything between my custom tags is kind of separated from the rest of the code? (the validator doesn't care either what's inside the custom tags).
Any ideas?
Cheers!I thought everything between my custom tags is kind of separated from the rest of the code? (the validator doesn't care either what's inside the custom tags).
But it still goes looking for its own tags, which in your case simply isn't closed, hence the confusion.
I restarted Dreamweaver to be sure...but no code/tag is highlighted!
Are you sure the checkbox is ticked?
Mylenium -
I like the framework and the ease of use. Does anyone know to
what
degree the search engines will evaluate the spry tags, if at
all? My
guess is that a hybrid will be needed as discussed at the
bottom of this
page:
http://labs.adobe.com/technologies/spry/articles/data_set_overview/,
and
here:
http://domscripting.com/blog/display/41.
Any other ideas? All of my customers are extremely
search-engine sensitive.
RodHey Rod,
As far as I know, search engines read source code. In that
regard, Spry Data in general will fail since, the content is not
kept in the source code.
Check out the data set overview about the spry:content
attribute. That is used so that pages are more accessible and it
helps search engine stuff as well.
It allows you to have static content on the page, but
spry:content will replace that content on the screen with its data.
So this allows for content for search engines to read, plus
the dynamic aspect of spry data.
But in general, Spry and Ajax, doesn't yet play well with
these other technologies.
Hope this helps.
Donald Booth
Adobe Spry Team -
What do I have to do to get DW8 to recognize the Spry tags
and put them in
with the options, such as when I'm doing a <div> tag,
etc??http://labs.adobe.com/technologies/spry/samples/
http://labs.adobe.com/technologies/spry/samples/form_submission/SubmitFormWithXHRSample.cf m.html -
Help with Ajax/Spry 1.61
I've installed Spry 1.61 and relaunched Dreamweaver. It STILL
doesn't recognize the spry/ajax tags. What am I missing/doing
wrong?I am using DW CS3. My understanding from reading the
documentation is that if you install the Spry 1.6.1 framework and
reboot DW, DW should just automatically recognize the tags. Is this
not the case? If I go to Help/Manage Extensions, "Spry Updater
1.6.1" is listed and checked. Yet if I create a new .cfm doc and
start typing the new ajax/spry tags, DW does not recognize it. Do I
need to cfinclude a file? If so, the documentation does not mention
this. -
GetData() from nested data sets
Hi,
I've got nested data sets in the form of:
var ds1 = new Spry.Data.XMLDataSet("products.xml",
"items/item");
var dsOptionSets = new Spry.Data.NestedXMLDataSet(ds1,
"optionsets/optionset");
var dsOptions = new Spry.Data.NestedXMLDataSet(dsOptionSets,
"option");
The application is an e-commerce store and I'm retrofitting
E-Junkie's form <select> codes to allow the user to select
"Color" and "Size" by clicking on images pulled from
items/item/optionsets/optionset/option rather than selecting those
options from a list. Trouble is, I can't get to the data in the
nested data set. Help!
I've tried poking at it thus:
<img spry:repeat="dsOptions" spry:setrow="dsOptions"
onclick="var rows = dsOptions.getData(); alert(rows[0].option);"
spry:if="'{dsOptions::@image}' != 'undefined'"
src="{dsOptions::@image}" alt="{dsOptions::option}"
name="{dsOptions::option}" />
.. but I've yet to get anything but "undefined" from the
alert. I think it may have something to do with the data sets being
more complexly nested than I imagine. I'm really looking forward to
the day when I can refer to Spry data in javascript as easily as I
can through {spry::tag}s.
Here's one <item> from my <items>:
<items>
<item>
<id>43522</id>
<title>Gildan T-Shirts</title>
<price>16.95</price>
<images>
<image description="Gildan T-Shirt in Charcoal
Grey">images/products/shirts/tshirt_gildan_ss_charcoalgrey.jpg</image>
</images>
<optionsets>
<optionset value="Colors" id="0">
<option
image="images/products/shirts/tshirt_gildan_ss_texasorange.jpg">Texas
Orange</option>
<option
image="images/products/shirts/tshirt_gildan_ss_charcoalgrey.jpg">Charcoal</option>
</optionset>
<optionset id="1" value="Size">
<option value="Small"
image="images/products/sizes/size_s.gif">Small</option>
<option value="Medium"
image="images/products/sizes/size_m.gif">Medium</option>
<option value="Small"
image="images/products/sizes/size_l.gif">Large</option>
<option value="Xtra Large"
image="images/products/sizes/size_xl.gif">Xtra
Large</option>
<option value="XXtra Large"
image="images/products/sizes/size_2x.gif">XXtra
Large</option>
</optionset>
</optionsets>
</item>
</items>Hi Diana,
I tried your suggestion of executing ds1.loadData()
immediately after declaring ds1, but it has not fixed my problem.
I've changed my image onClick behavior to:
if (dsOptions.getDataWasLoaded())
row = dsOptions.getRowCount();
alert(row);
On clicking any image, alert shows "0". This tells us that
dsOptions IS being loaded, right? I'm able to work with the data
through e.g. {dsOptions::option} tags as always, but for some
reason I can't get to the data through dsOptions.
I just tried replacing the onClick behavior above with
ds1.getRowCount(), and that shows the correct number (6). Then I
tried with dsOptionSets and got a zero count again.
FYI, my declaration section is now:
var ds1 = new Spry.Data.XMLDataSet("products.xml",
"items/item");
ds1.loadData(); // theoretically not necessary, but bug in
this Spry version requires it
ds1Rows = ds1.getData(true);
var dsOptionSets = new Spry.Data.NestedXMLDataSet(ds1,
"optionsets/optionset");
dsOptionSets.loadData();
dsOptionSetsRows = dsOptionSets.getData(true);
var dsOptions = new Spry.Data.NestedXMLDataSet(dsOptionSets,
"option");
dsOptions.loadData();
dsOptionsRows = dsOptions.getData(true);
I've also just tried replacing the onclick with:
onclick="if (ds1.getDataWasLoaded()) { ds1Rows=
ds1.getData(true); dsOptionSetsRows = dsOptionSets.getData(true);
dsOptionsRows =
dsOptions.getData(true);alert(dsOptionsRows[0].option);}"
As before, ds1Rows[0].<property> gives the correct
result but dsOptionsRows[0].option says "dsOptionsRows[0] has no
properties".
Thanks,
Dylan Oliver -
Error shown in t1.trc file
Hello all,
i am working on EDI X12 over Internet transaction given in user guide.after completing everything in B2B UI tool on both acme and globalchips servers.i ran deq.bat file on both servers giving s*ubscriber=b2berroruser* and wait=1 in ipdequeue.properties file and there was nothing in t1.trc file generated.so i ran enq_850.bat on acme side and enq_855.bat on globalchips side and on both sides Action=Null.and i got the below message in t1.trc file on acme server.
so can anyone please suggest what should i do next and what is the actual problem.
MsgID = C0A8010111EAD13D58B00000DADA4C00-1
ReplyToMsgID = null
FromParty = GlobalChips
ToParty = Acme
EventName = Exception
DoctypeName = Exception
DoctypeRevision = 1.0
MsgType = 3
payload length = 8063
*<Exception xmlns="http://integration.oracle.com/B2B/Exception" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">*
*<correlationId>null</correlationId>*
*<b2bMessageId>C0A8010111EAD13D58B00000DADA4C00-1</b2bMessageId>*
*<errorCode>AIP-50034</errorCode>*
*<errorText>Validation error and cannot create Functional Acknowledgment</errorText>*
*<errorDescription>*
*<![CDATA[Machine Info: (mcity94)*
*Validation of Interchange parameters failed. Please verify all the Interchange parameters in the B2B configuration match the Group parameters in the message. Make sure that the ecs file for this Interchange is valid.*
*Error Brief :*
*5082: XEngine error - Guideline look-up failed.*
*iAudit Report :*
*<?xml version="1.0" encoding="UTF-16"?><AnalyzerResults Guid="{C4E22FFB-856B-4C67-BC08-6383C138EFBD}" InterchangeReceived="1" InterchangeProcessed="1" InterchangeAccepted="0"> <ExecutionDate>Tuesday, January 06, 2009</ExecutionDate> <ExecutionTime>11:23:24 PM (India Standard Time)</ExecutionTime> <AnalyzerReturn>Failed</AnalyzerReturn> <NumberOfErrors>1</NumberOfErrors> <ErrorByCategory> <Category Name="Rejecting"> <Severity Name="Normal">1</Severity> </Category> </ErrorByCategory> <Status>Finished</Status> <DataFile> <FilePath>D:\oracle\OraJ2EE\ip</FilePath> <FileName/> <LastModified/> <FileSize/> <DataURL>file:\\D:\oracle\OraJ2EE\ip</DataURL> </DataFile> <Interchange Guid="{CCCD3245-D8CC-4126-8C87-F1FA258BB076}" InterchangeAckCode="R" FunctionalGroupReceived="1" FunctionalGroupProcessed="1" FunctionalGroupAccepted="0" RError="1" NError="0" OtherWI="0"> <DataXPointer> <StartPos>0</StartPos> <Size>28433</Size> </DataXPointer> <NodeInfo> <Links> <Link Name="InterchangeSenderQual">ZZ</Link> <Link Name="InterchangeSenderID">GlobalChips </Link> <Link Name="InterchangeReceiverQual">ZZ</Link> <Link Name="InterchangeReceiverID">Acme </Link> <Link Name="InterchangeControlVersion">00200</Link> <Link Name="Standard">X12</Link> </Links> <Properties> <Property Name="InterchangeAuthorizationInfoQual">00</Property> <Property Name="InterchangeAuthorizationInfo"> </Property> <Property Name="InterchangeSecurityInfoQual">00</Property> <Property Name="InterchangeSecurityInfo"> </Property> <Property Name="InterchangeSenderQual">ZZ</Property> <Property Name="InterchangeSenderID">GlobalChips </Property> <Property Name="InterchangeReceiverQual">ZZ</Property> <Property Name="InterchangeReceiverID">Acme </Property> <Property Name="InterchangeDate">090106</Property> <Property Name="InterchangeTime">1009</Property> <Property Name="InterchangeControlStandard_RepeatingSeparator">U</Property> <Property Name="InterchangeControlVersion">00200</Property> <Property Name="InterchangeControlNumber">000001005</Property> <Property Name="InterchangeAckRequested">0</Property> <Property Name="InterchangeUsageIndicator">P</Property> <Property Name="InterchangeComponentElementSep">0x2b</Property> <Property Name="DecimalSeparator"/> <Property Name="ElementDelimiter">0x7e</Property> <Property Name="ReleaseCharacter"/> <Property Name="RepeatingSeparator"/> <Property Name="SegmentDelimiter">0x27</Property> <Property Name="SubelementDelimiter">0x2b</Property> <Property Name="InterchangeChildCount">1</Property> <Property Name="InterchangeTrailerControlNumber">000001005</Property> </Properties> </NodeInfo> <FunctionalGroup Guid="{46DA7B93-2365-4704-8156-A0FF38B242E2}" FunctionalGroupAckCode="R" TransactionSetsIncluded="1" TransactionSetsReceived="1" TransactionSetsProcessed="1" TransactionSetsAccepted="0" RError="0" NError="0" OtherWI="0"> <DataXPointer> <StartPos>106</StartPos> <Size>28311</Size> </DataXPointer> <NodeInfo> <Links> <Link Name="GroupSenderID">GlobalChips</Link> <Link Name="GroupReceiverID">Acme</Link> <Link Name="GroupVersionNumber">004010</Link> </Links> <Properties> <Property Name="GroupID">PR</Property> <Property Name="GroupSenderID">GlobalChips</Property> <Property Name="GroupReceiverID">Acme</Property> <Property Name="GroupDate">20090106</Property> <Property Name="GroupTime">1009</Property> <Property Name="GroupControlNumber">1005</Property> <Property Name="GroupAgencyCode">X</Property> <Property Name="GroupVersionNumber">004010</Property> <Property Name="GroupChildCount">1</Property> <Property Name="GroupTrailerControlNumber">1005</Property> </Properties> </NodeInfo> <Transaction Guid="{660C36B3-D2FD-4F7A-AE2A-3CE953611D55}" TransactionAckCode="R" RError="0" NError="0" OtherWI="0"> <DataXPointer> <StartPos>157</StartPos> <Size>28250</Size> </DataXPointer> <NodeInfo> <Links> <Link Name="TransactionID">855</Link> </Links> <Properties> <Property Name="TransactionID">855</Property> <Property Name="TransactionControlNumber">1005</Property> <Property Name="TransactionImplementationReference"/> <Property Name="TransactionChildCount">170</Property> <Property Name="TransactionTrailerControlNumber">1005</Property> </Properties> </NodeInfo> </Transaction> </FunctionalGroup> <InterchangeErrors> <Error ErrorCode="{3F43BFA3-7899-445C-A5B8-867089B8D4B2}" Severity="Normal" Category="Rejecting" Index="1" ID="50820000"> <ErrorBrief>5082: XEngine error - Guideline look-up failed.</ErrorBrief> <ErrorMsg>Failed guideline look-up.</ErrorMsg> <ErrorObjectInfo> <Parameter Name="ErrorLevel">0</Parameter> <Parameter Name="InterchangeControlVersion">00200</Parameter> <Parameter Name="InterchangeReceiverID">Acme </Parameter> <Parameter Name="InterchangeReceiverQual">ZZ</Parameter> <Parameter Name="InterchangeSenderID">GlobalChips </Parameter> <Parameter Name="InterchangeSenderQual">ZZ</Parameter> <Parameter Name="Name">XEngine</Parameter> <Parameter Name="Standard">X12</Parameter> <Parameter Name="_ec_dn_guid_">{CCCD3245-D8CC-4126-8C87-F1FA258BB076}</Parameter> <Parameter Name="_ec_index">0</Parameter> <Parameter Name="ec_error_scope">Interchange</Parameter> </ErrorObjectInfo> <ErrorDataInfo> <Part1/> <ErrData/> <Part3/> <DataXPointer> <StartPos>0</StartPos> <Size>0</Size> </DataXPointer> </ErrorDataInfo> </Error> </InterchangeErrors> </Interchange></AnalyzerResults> ]]>*
*</errorDescription>*
*<errorSeverity>2</errorSeverity>*
*<errorDetails>*
*<parameter name="InterchangeControlStandard_RepeatingSeparator" value="U"/>*
*<parameter name="InterchangeTrailerControlNumber" value="000001005"/>*
*<parameter name="InterchangeChildCount" value="1"/>*
*<parameter name="InterchangeTime" value="1009"/>*
*<parameter name="InterchangeUsageIndicator" value="P"/>*
*<parameter name="ErrorScope" value="Interchange"/>*
*<parameter name="SubelementDelimiter" value="+"/>*
*<parameter name="RepeatingSeparator" value=""/>*
*<parameter name="InterchangeSecurityInfo" value=" "/>*
*<parameter name="InterchangeReceiverQual" value="ZZ"/>*
*<parameter name="DecimalSeparator" value=""/>*
*<parameter name="InterchangeAuthorizationInfoQual" value="00"/>*
*<parameter name="ElementDelimiter" value="~"/>*
*<parameter name="InterchangeComponentElementSep" value="+"/>*
*<parameter name="InterchangeControlVersion" value="00200"/>*
*<parameter name="InterchangeAckRequested" value="0"/>*
*<parameter name="InterchangeSenderQual" value="ZZ"/>*
*<parameter name="InterchangeReceiverID" value="Acme "/>*
*<parameter name="ReleaseCharacter" value=""/>*
*<parameter name="InterchangeDate" value="090106"/>*
*<parameter name="SegmentDelimiter" value="'"/>*
*<parameter name="InterchangeControlNumber" value="000001005"/>*
*<parameter name="InterchangeAuthorizationInfo" value=" "/>*
*<parameter name="InterchangeSenderID" value="GlobalChips "/>*
*<parameter name="InterchangeSecurityInfoQual" value="00"/>*
*</errorDetails>*
*</Exception>*
thanks
sunnyHello Prasanna,
Thanks for your reply,i have checked the parameters with the document protocol parameters,when i have compared i have noticed that some parameters given in the error are not there in the B2B UI and some parameters present in B2B UI are not shown in error part of t1.trc file i am providing the details below
Not there in the b2b ui_
<parameter name="InterchangeTrailerControlNumber" value="000001014"/>
<parameter name="InterchangeChildCount" value="1"/>
<parameter name="ErrorScope" value="Interchange"/>
<parameter name="RepeatingSeparator" value=""/>
<parameter name="InterchangeAckRequested" value="0"/>
<parameter name="InterchangeControlNumber" value="000001014"/>
Not there in the t1.trc file_
Responsible Agency Code =X
Replacement Character = 0*7c
Security Information = " "
Functional Group Time = system time
Interchange ecs file = " " Browse
group ecs file = " " Browse
ImplementationClass = oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin
Functional Group Date = system date
Application Receiver's Code
Application Sender's Code
Tag Delimiter = 0*3d
Having different values in the b2b ui_
<parameter name="SubelementDelimiter" value="+"/> , value in the b2b ui is 0*2b
<parameter name="DecimalSeparator" value=""/> , value in b2b ui is 0*2e
<parameter name="ElementDelimiter" value="~"/> , value in b2b ui is 0*7e
<parameter name="InterchangeComponentElementSep" value="+"/> , value in b2b ui is 0*2b
<parameter name="SegmentDelimiter" value=" ' "/> , value in b2b ui is 0*27
I have changed the values in B2B UI according to the values shown in the trace file,i changed 0*2b to "+" , 0*27 to" ' " , 0 * 7e to "~" and 0*2e to " "
but it generated another error i.e
5097: Invalid delimiter settings
So i have replaced the overridden values with original values except the DecimalSeparator and restared the whole B2B instance and ran the bat files but the result is still the same it is showing the old error again i.e
5082: XEngine error - Guideline look-up failed.
So can anyone please suggest me a solution for this problem as it is very urgent and if this error is resolved then i can successfully finish all the remaining scenarios as the same error is persisting in the EDI EDIFACT scenario as well
Thanx
Sunny -
SAX Parser and special character problem
Hi,
Could anyone help with the following problem?
Background:
1. Using a SAX Parser (Oracle Implementation) to read XML from a CLOB, convert this XML to another format to be inserted in the database.
2. Due to performance issues we parse the input stream from the CLOB.
3. For same reason, we are not using XSL.
This is the problem we face:
1. Values of some of the tags in the XML have special characters (Ex: &, <, >).
2. While using the SAX Parser, the element handler function for the SAX Parser is called by the frame work with the value of these tags broken up with each of these characters being treated as a tag delimiter.
Ex: <Description>SomeText_A & SomeText_B</Description>
is treated as SomeText_A in first call to the handler; SomeText_B in the second call.
The handler function does not get to see the "&" character.
Thus, the final conversion is
Say, <Description> is to be converted to <FreeText>
we, get <FreeText>SomeText_A</FreeText>
<FreeText>SomeText_B</FreeText>
We tried using &; but it then breaks it up into SomeText_A, & and SomeText_B.
How can we get the whole value for the <Description> tag in the characters() function in the SAXParser so that we can convert it to <FreeText>SomeText_A & SomeText_B</FreeText>.
Thanks in advance..
Chirdeep.We already tried that..looks like the line where I mentioned that it converted the entity referece characters to an ampersand..
"We tried using <entity reference for &> but it then breaks it up into SomeText_A, & and SomeText_B."
null -
Error Code: AIP: 50080: Exchange protocol identification error
Hi,
I have setup a business action to process EDI X12 850 (PO) document version 4010 over EDI X12 over Internet - HTTP. To simulate the Trading Partner sending the EDI data to us I have developed a test.html page to submit the EDI data. The test.html does a http post to the b2b/transportServlet. When I do this I get the following error:
AIP: 50080 Exchange protocol identification errorMy Business Action
setup look like this:
BUSINESS ACTION:
Create Business Action : Review for 850
Business Protocol : EDI X12 over Internet
Process Protocol : B2B
Process Protocol Revision : B2B Process - 1.0
General
Name :Process_850
Revision :1.0
Document Protocol Revision
Name :X12_4010
Revision :4010
Document Type
Document Type :850
Document Definition :850_Def
Create Business Action : Review
Business Protocol :EDI X12 over Internet
Process Protocol :B2B
Process Protocol Revision :B2B Process - 1.0
General
Name :Process_997
Revision :1.0
Document Protocol Revision
Name :X12_4010
Revision :4010
Document Type
Document Type :997
Document Definition :997_Def
Create Trading Partner : Review
General
Name :ACME
Operational Capability
Business Protocol :EDI X12 over Internet
Business Action :Process_850
Use Default Document Protocol Parameters :false
Use Default Document Definition :true
Communication Capability
Delivery Channel :ACME_X12_DC
Document Exchange :ACME_X12_DocEx
Exchange Protocol Revision :AS2 - 1.1
Transport :ACME_X12_Transport
Transport Protocol :HTTP
Transport Server :ACME_X12_Transport_Server
Trading Partner :ACME
Business Protocol :EDI X12 over Internet
Details
Business Action :Process_997 - Responder
Is Initiator :false
Functional acknowledgement required? :false
Is acknowledgement handled by Integration B2B? :true
Document Information
Document Protocol :EDI_X12
Document Protocol Revision :X12_4010
Document Type :997
Document Definition
Document Protocol Parameters
Name Value
Interchange Time #SystemTime(HHMM)#
Interchange ecs File
Security Information Qualifier 00
Security Information
Authorization Information
[ Application Receiver's Code ] ACME
Interchange Control Standard/Repetition Separator U
Segment Delimiter 0x27
Interchange Date #SystemDate(YYMMDD)#
Authorization Information Qualifier 00
[ Application Sender's Code ] ACME
ImplementationClass oracle.tip.adapter.b2b.document.edi.EDIDocumentPlugin
[ Interchange Sender ID Qualifier ] ZZ
Replacement Character 0x7c
Subelement Delimiter 0x2b
Interchange Control Version Number 00200
[ Interchange Sender ID ] ACME
[ Interchange Receiver ID Qualifier ] ZZ
Tag Delimiter 0x3d
Usage Indicator P
[ Interchange Receiver ID ] ACME
Version/Release/Industry Identifier Code
Component Element Separator 0x2b
Decimal Separator 0x2e
Functional Group Time #SystemTime(HHMM)#
Responsible Agency Code X
Functional Group Date #SystemDate(CCYYMMDD)#
Group ecs File
Element Delimiter 0x7e
Create Trading Partner : Review
General
Trading Partner :GLOBALCHIPS
Communication Capability
Delivery Channel :GLOBALCHIPS_X12_DOC
Document Exchange :GLOBALCHIPS_X12_DocEx
Exchange Protocol Revision :AS2 - 1.1
Transport :GLOBALCHIPS_X12_Transport
Transport Protocol :HTTP
Transport Server :GLOBALCHIPS_X12_Transport_Server
Confirmation
Trading partner participant successfully added.
Agreement Details: X12_Agreement
Details
Agreement Id X12_1001
Description
Effective From Date
Effective To Date
Invocation Limit
Concurrent Conversations
Trading Partner Participants
ACME - Process_850 - Initiator
GLOBALCHIPS - Process_850 - Responder
GLOBALCHIPS - Process_997 - Initiator
ACME - Process_997 - Responder
If I tried to use enq_850 I am getting the following error:
AIP-50547 : Trading partner agreement not found for the given input values: From party[NAME] "GLOBALCHIPS", To party[NAME] "GLOBALCHIPS", Business action name "Process_850"; also verify agreement effectiveToDateHi Ramesh,
I have created Internal Deliver Channel as File Inbound for the Host Trading Partner and at the time of creating the agreement between the partners I have selected this channel.
And I am keeping the EDI document in the end point folder. I am giving the file name as XXX_850_4010_1_12345.dat.
Now I am not getting General validation error. This time I am getting the below error.
Please Let me know If my approch is correct?
Error Brief :
5000: Parser error - Missing trailer.
5042: Parser error - No matching parser schema was found.
Error Brief :
5000: Parser error - Missing trailer.
5042: Parser error - No matching parser schema was found.
iAudit Report :
<?xml version="1.0" encoding="UTF-16"?><AnalyzerResults Guid="{BACD5C1A-90BE-4D6D-8F48-97E66EE909B6}" InterchangeReceived="1" InterchangeProcessed="1" InterchangeAccepted="0"> <ExecutionDate>Friday, January 12, 2007</ExecutionDate> <ExecutionTime>02:26:40 PM (India Standard Time)</ExecutionTime> <AnalyzerReturn>Failed</AnalyzerReturn> <NumberOfErrors>2</NumberOfErrors> <ErrorByCategory> <Category Name="Rejecting"> <Severity Name="Normal">2</Severity> </Category> </ErrorByCategory> <Status>Finished</Status> <DataFile> <FilePath>D:\OraASRel2\ip</FilePath> <FileName/> <LastModified/> <FileSize/> <DataURL>file:\\D:\OraASRel2\ip</DataURL> </DataFile> <Interchange Guid="{A87B69C1-43E3-423B-AA44-9F0C3BE37CF3}" InterchangeAckCode="R" FunctionalGroupReceived="1" FunctionalGroupProcessed="1" FunctionalGroupAccepted="0" RError="1" NError="0" OtherWI="0"> <DataXPointer> <StartPos>0</StartPos> <Size>951</Size> </DataXPointer> <NodeInfo> <Links> <Link Name="InterchangeSenderQual">ZZ</Link> <Link Name="InterchangeSenderID">BLUECHIPS </Link> <Link Name="InterchangeReceiverQual">12</Link> <Link Name="InterchangeReceiverID">colourchips </Link> <Link Name="InterchangeControlVersion">00300</Link> <Link Name="Standard">X12</Link> </Links> <Properties> <Property Name="InterchangeAuthorizationInfoQual">00</Property> <Property Name="InterchangeAuthorizationInfo"> </Property> <Property Name="InterchangeSecurityInfoQual">00</Property> <Property Name="InterchangeSecurityInfo"> </Property> <Property Name="InterchangeSenderQual">ZZ</Property> <Property Name="InterchangeSenderID">BLUECHIPS </Property> <Property Name="InterchangeReceiverQual">12</Property> <Property Name="InterchangeReceiverID">colourchips </Property> <Property Name="InterchangeDate">061207</Property> <Property Name="InterchangeTime">1601</Property> <Property Name="InterchangeControlStandard_RepeatingSeparator">U</Property> <Property Name="InterchangeControlVersion">00300</Property> <Property Name="InterchangeControlNumber">000050524</Property> <Property Name="InterchangeAckRequested">1</Property> <Property Name="InterchangeUsageIndicator">P</Property> <Property Name="InterchangeComponentElementSep">0x2a</Property> <Property Name="DecimalSeparator"/> <Property Name="ElementDelimiter">0x7e</Property> <Property Name="ReleaseCharacter"/> <Property Name="RepeatingSeparator"/> <Property Name="SegmentDelimiter">0x2b0xd0xa</Property> <Property Name="SubelementDelimiter">0x2a</Property> </Properties> </NodeInfo> <FunctionalGroup Guid="{BF922FB1-9661-462C-B5A6-D868869A8C79}" FunctionalGroupAckCode="R" TransactionSetsIncluded="1" TransactionSetsReceived="1" TransactionSetsProcessed="1" TransactionSetsAccepted="0" RError="0" NError="0" OtherWI="0"> <DataXPointer> <StartPos>108</StartPos> <Size>843</Size> </DataXPointer> <NodeInfo> <Links> <Link Name="GroupSenderID">BLUECHIPS</Link> <Link Name="GroupReceiverID">colourchips</Link> <Link Name="GroupVersionNumber">004010</Link> </Links> <Properties> <Property Name="GroupID">PO</Property> <Property Name="GroupSenderID">BLUECHIPS</Property> <Property Name="GroupReceiverID">colourchips</Property> <Property Name="GroupDate">20061207</Property> <Property Name="GroupTime">1601</Property> <Property Name="GroupControlNumber">150524</Property> <Property Name="GroupAgencyCode">X</Property> <Property Name="GroupVersionNumber">004010</Property> <Property Name="GroupChildCount">1</Property> <Property Name="GroupTrailerControlNumber">150524</Property> </Properties> </NodeInfo> <Transaction Guid="{367C24CC-9747-4E49-9F02-AFC4295CF850}" TransactionAckCode="R" RError="0" NError="0" OtherWI="0"> <DataXPointer> <StartPos>171</StartPos> <Size>766</Size> </DataXPointer> <NodeInfo> <Links> <Link Name="TransactionID">850</Link> </Links> <Properties> <Property Name="TransactionID">850</Property> <Property Name="TransactionControlNumber">158192</Property> <Property Name="TransactionImplementationReference"/> <Property Name="TransactionChildCount">26</Property> <Property Name="TransactionTrailerControlNumber">158192</Property> </Properties> </NodeInfo> </Transaction> </FunctionalGroup> <InterchangeErrors> <Error ErrorCode="{03942C04-7909-4DFB-8F7D-6E5B3D8BDF48}" Severity="Normal" Category="Rejecting" Index="1" ID="50000200"> <ErrorBrief>5000: Parser error - Missing trailer.</ErrorBrief> <ErrorMsg>The Interchange Trailer is missing. The segment itself may be missing or the Segment Delimiter may be missing.{br}{br}Trailer was expected after:{br}{tab}Character: 952 </ErrorMsg> <ErrorObjectInfo> <Parameter Name="ErrorLevel">1</Parameter> <Parameter Name="Name">Parser</Parameter> <Parameter Name="_ec_CaseID">02</Parameter> <Parameter Name="_ec_dn_guid_">{A87B69C1-43E3-423B-AA44-9F0C3BE37CF3}</Parameter> <Parameter Name="_ec_start_pos_">952</Parameter> <Parameter Name="ec_error_scope">File</Parameter> </ErrorObjectInfo> <ErrorDataInfo> <Part1/> <Part3/> <DataXPointer> <StartPos>952</StartPos> <Size>0</Size> </DataXPointer> </ErrorDataInfo> </Error> </InterchangeErrors> </Interchange> <AnalyzerErrors> <Error ErrorCode="{9EE55FDF-8668-4499-9F2E-D9247519A850}" Severity="Normal" Category="Rejecting" Index="2" ID="50420000"> <ErrorBrief>5042: Parser error - No matching parser schema was found.</ErrorBrief> <ErrorMsg>The data starting at position 951 is not a valid EDI interchange. The remainder of the data file was ignored.</ErrorMsg> <ErrorObjectInfo> <Parameter Name="ErrorLevel">0</Parameter> <Parameter Name="Name">Parser</Parameter> <Parameter Name="_ec_start_pos_">951</Parameter> <Parameter Name="ec_error_scope">File</Parameter> </ErrorObjectInfo> <ErrorDataInfo> <Part1/> <ErrData/> <Part3/> <DataXPointer> <StartPos>951</StartPos> <Size>0</Size> </DataXPointer> </ErrorDataInfo> </Error> </AnalyzerErrors></AnalyzerResults>
2007.01.12 at 14:26:40:779: Thread-12: B2B - (ERROR) Error -: AIP-50083: Document protocol identification error
at oracle.tip.adapter.b2b.engine.Engine.identifyDocument(Engine.java:2403)
at oracle.tip.adapter.b2b.engine.Engine.processIncomingMessage(Engine.java:1263)
at oracle.tip.adapter.b2b.engine.Engine.incomingContinueProcess(Engine.java:1845)
at oracle.tip.adapter.b2b.engine.Engine.handleMessageEvent(Engine.java:1777)
at oracle.tip.adapter.b2b.engine.Engine.processEvents(Engine.java:1735)
at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:455)
at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:327)
at java.lang.Thread.run(Thread.java:534)
Thanks
Raghu -
Dataset region in div loaded by loadContent
WIth the forum search functionality not working, it is
difficult to see if this issue has been answered somewhere. Any
help would be greatly apreciated.
I hae a div area defined on the page which I would like to
dyanmically load using the loadContent() method from a URL that
contains a snippet of HTML. The snippet of HTML contains a div
array defined as a region bound to a dataset. The dataset region
does not appear to be working when it is dynamicaly loaded, but the
exact same code works when not dynamically loaded.
Should page content dynamically loaded using an HTMLPanel
widget be able to include spry tags to display a region bound to a
dataset?
Thanks
SHenrieThat did the trick! Thanks so much for the help and it
certainly makes sense why that is needed.
I am curious, is the requirement to do that documented
anywhere, because I did spend a couple days searching the doc for a
resolution for this.
Maybe you are looking for
-
In the Edit module component window under the User Text tab, when I click on the Text editor button the designer window close by itself. But earlier I used to get the notepad editor with the code in it. I checked under the Options menu for Text edito
-
How do I choose or switch between two Apple iD accounts on two devices?
I have found myself set up on my MacBookPro using one Apple id(@me.com address) and logged into iCloud on my iPod touch using another (personal e-mail). In iCloud settings on the iPod touch if I go to switch on Mail or Notes it tells me to set up a f
-
Attempt to Obfuscate password failed 10G on MAC
Hi, I am trying to install oracle 10g on MAC OS 10.4.8. I am getting usual linker errors for which there is some information in this forum But I am not able to get solution for Attempt to obfuscate password failed error. I am consistantly getting thi
-
What about ISO/IEC-7816 file structure, Is this concept is not in jcard.
Hello all, I read out ISO/IEC 7816-4 and it tell about MF , DF, EF files which are used in smart card, i am using java card. I am reading java card but i did not read about these file structure, according to iso/iec-7816-4 , A4 is a INS for SELECT FI
-
Basic questions? Upgrade from v 1.56??
Can anybody tell me if you can upgrade from 1.56 to aperture 3? And will that convert my old library so that I use it in the new version? I upgraded to snow leopard and now cannot access my old library. Any info would be greatly appreciated. thanks j