It remains a documented variable in the v11 DynaMents Manual p 554 (the
appendix is my fav part of that manual)
rde-rd:httpHeader-{Http-Protocol-Header-Name}
All fields of the HttpServletRequests are read and transferred to the
source="request" with the name prefix rde-rd:httpHeader-. Now they are
available in the Attribute DynaMent.
I had some issues with other attribute DynaMents so would strongly suggest
v11 SP1 over v11 there are some bugs that are only fixed in the service
pack plus cache performance is improved.
Does the value display with an attribute DM in read mode? I recall having
to try different cases for other variables host vs HOST vs Host to get the
headers to display, but since you are working with the same variable that
seems unlikely.
Best,
Tim
On Thursday, November 8, 2012 7:41:45 PM UTC-5, Walter wrote:
>
> Hello all,
>
> I working in a Delivery Server project that's recently been updated to
> 11.0. There's some XML scripts with lines of code that look something like
> this:
>
> <rde-dm:constraint>
> [#request:rde-rd:httpHeader-host#] EQ "m.mysite.com"
> </rde-dm:constraint>
> <rde-dm:if>
> <![CDATA[
> <!-- HTML goes here...
> ]]>
> </rde-dm:if>
> </rde-dm:attribute>
>
> It checks a value called rde-rd:httpHeader-host, and then adds some HTML
> if the host name matches. This code works in 10.1, but I can't get it to
> work in 11.0. There's no mention of it in the manual that I see... Perhaps
> it's undocumented, and support has been removed? If so, is there another
> way to grab the host name?
>
> Thanks,
> Walter
>
--
You received this message because you are subscribed to the Google Groups
"RedDot CMS Users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/reddot-cms-users/-/XQQIVwHRsWwJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/reddot-cms-users?hl=en.