About Question enthuware.jwpv6.2.723 :

Moderator: admin

Post Reply
sebastien
Posts: 12
Joined: Tue Mar 26, 2013 2:38 pm
Contact:

About Question enthuware.jwpv6.2.723 :

Post by sebastien »

Hello,

I don't understand ... <h1>${refdata:topic(1)}</h1> is not a valid syntax to call a tag function ?
so the answer should be This code is syntactically incorrect.

or change <h1>${refdata:topic(1)}</h1> by <h1><refdata:topic(1)></h1>

correct me if I'm wrong

Sébastien

admin
Site Admin
Posts: 10384
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.jwpv6.2.723 :

Post by admin »

I am not sure what you mean. It is a valid syntax.
-Paul.

ArsenyKo
Posts: 11
Joined: Sun Apr 07, 2013 10:10 am
Contact:

Re: About Question enthuware.jwpv6.2.723 :

Post by ArsenyKo »

sebastien wrote:Hello,

I don't understand ... <h1>${refdata:topic(1)}</h1> is not a valid syntax to call a tag function ?
so the answer should be This code is syntactically incorrect.

or change <h1>${refdata:topic(1)}</h1> by <h1><refdata:topic(1)></h1>

correct me if I'm wrong

Sébastien
Functions are related to EL and are being invoked via EL syntax. <refdata:topic(1)> is not valid XML, even with <refdata:topic(1)/>. It seems you mixed up invocation of a tag, but a tag required to be augmented by its' arguments instead of parenthesis.

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests