Grzegorz Kossakowski schrieb:
Looking at the changes in the guide you changed mind and prefer now the second
from ;-)
I suppose that
"
should be replaced with:
<map:transform src="resources/forms-samples-styling.xsl">
<map:parameter name="dojo-resources" value="{servlet:ajax:/resources/dojo}"/>
<map:parameter name="forms-resources"
value="{servlet:forms:/resources/forms}"/>
</map:transform>
"
should be
"
should be replaced with:
<map:transform src="resources/forms-samples-styling.xsl">
<map:parameter name="dojo-resources"
value="{servlet:ajax:/resources/external/dojo}"/>
<map:parameter name="forms-resources"
value="{servlet:forms:/resources/external/forms}"/>
</map:transform>
"
Don't it?
Felix
> Felix Knecht napisaĆ(a):
>> Sorry for bothering again.
>
> No problem, that's what I was asking for!
>
>> The forms migration guide is inconsistent:
>>
>> "Should be replaced:
>>
>> <map:transform src="resources/forms-samples-styling.xsl">
>> <map:parameter name="dojo-resources" value="servlet:ajax:/resources/dojo"/>
>> <map:parameter name="forms-resources"
>> value="servlet:forms:/resources/forms"/>
>> </map:transform>
>>
>> "
>> and some lines further down the values are used in braces:
>>
>> "
>> <map:transform src="resources/forms-samples-styling.xsl">
>> <map:parameter name="dojo-resources"
>> value="{servlet:ajax:/resources/dojo}"/>
>> <map:parameter name="forms-resources"
>> value="{servlet:forms:/resources/forms}"/>
>> "
>> Suppose the second one is correct.
>
> Actually, both will work properly... ;-) (yeah, that's little weird)
> However, first one is advised form because it stays consistent with other
> links not passed from sitemap.
> I'll update docs. Thanks again!
>