You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (Jira)" <ji...@apache.org> on 2024/11/29 11:44:00 UTC

[jira] [Commented] (WW-5488) two tag points: its documentation and how facing namespace

    [ https://issues.apache.org/jira/browse/WW-5488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17901918#comment-17901918 ] 

Lukasz Lenart commented on WW-5488:
-----------------------------------

The {{namespace}} attribute isn't supported, it is present but not used - it's because {{Script}} class inherits fields from {{Component}} class.
https://github.com/apache/struts/blob/master/core/src/main/resources/template/simple/script.ftl#L21-L48

I will add missing script tag page.

> two <s:script> tag points: its documentation and how facing namespace
> ---------------------------------------------------------------------
>
>                 Key: WW-5488
>                 URL: https://issues.apache.org/jira/browse/WW-5488
>             Project: Struts 2
>          Issue Type: Improvement
>    Affects Versions: 6.6.1
>            Reporter: Patrice DUROUX
>            Priority: Minor
>             Fix For: 6.7.0
>
>
> Hi,
> First, {{<s:script>}} is lacking an entry in Tag Developers Guide.
> So it is not easy to check for my second point.
> Second, {{<s:script>}} is facing trouble when using namespace in action or JSP
> and how its {{href}} attribute is handled regarding the final URL (similar to the {{<s:a>}}'s one?).
> I mean do I have to create a {{<s:url>}} before and then use for its {{href}} value?
> Regards,
> Patrice



--
This message was sent by Atlassian Jira
(v8.20.10#820010)