Please point me a good documentation link w.r.t tags in *struts 2*.
1) I would like create a new tag.
2) Extend(Enhance) the existing tag. ex: add additional attributes to
supported attributes.
Thanks,
Ratnakar
Hi Ratna,
You can try these Demos to create Custom tag in struts 2
Custom Tag Struts 2[1], Custom tag struts2[2],
Please give a good documentation link for custom tags in struts 2
Ratna Kar
to:
Struts Users Mailing List
07/08/2014 01:05 PM
Please respond to Struts
,
You can try these Demos to create Custom tag in struts 2
Custom Tag Struts 2[1], Custom tag struts2[2],
Please give a good documentation link for custom tags in struts 2
Ratna Kar
to:
Struts Users Mailing List
07/08/2014 01:05 PM
Please respond to Struts Users
Hi Ratna,
Please find Links :
http://joshuajava.wordpress.com/2008/12/27/creating-custom-components-with-struts-2/
, http://bodez.wordpress.com/2009/03/13/customising-struts2-jsp-tags/
Re: Please give a good documentation link for custom tags in struts 2
Ratna Kar
these Demos to create Custom tag in struts
2
Custom Tag Struts 2[1], Custom tag struts2[2],
Please give a good documentation link for custom tags in struts 2
Ratna Kar
to:
Struts Users Mailing List
07/08/2014 01:05 PM
Please respond to Struts Users Mailing List
This is the sinple tag I wrote (dummy.tag), registered in the tag lib
almayer.tld:
[EMAIL PROTECTED] name=message%
h2${message}/h2
If I use it in this way, all work fine:
almayer:dummy message=hello/
Buf I if use it in this way:
almayer:dummy message=s:property value='currentPage.key'//
--- On Sat, 9/27/08, Gianluca Musella wrote:
Buf I if use it in this way:
almayer:dummy message=s:property value='currentPage.key'//
You can't nest tags like that; that would imply double-evaluation of the page.
almayer:dummy message=$currentPage.key/
Dave
Thank you Dave, it's works using
almayer:dummy message=${currentPage.key}/
But if I change my tag' s definition in this way:
%@ taglib prefix=s uri=/struts-tags %
[EMAIL PROTECTED] name=property%
h2s:property value=${property}//h2
incapsulating the use of the struts taglib into the tag,
You can change the tag's rtexprvalue attribute to true to allow EL
expressions in S2 tags.
Or you can replace s:property value=${property}/ with s:property
value=#attr.property/
2008/9/27 Gianluca Musella [EMAIL PROTECTED]:
Thank you Dave, it's works using
almayer:dummy
You can change the tag's rtexprvalue attribute to true to allow EL
expressions in S2 tags.
How to do this?
Thanks
Gianluca
2008/9/27 Gabriel Belingueres [EMAIL PROTECTED]:
You can change the tag's rtexprvalue attribute to true to allow EL
expressions in S2 tags.
Or you can replace
not necessarily endorse content contained within this transmission.
Date: Sat, 27 Sep 2008 15:41:46 +0200
From: [EMAIL PROTECTED]
To: user@struts.apache.org
Subject: Re: custom tags and struts
You can change the tag's rtexprvalue attribute to true to allow EL
expressions in S2 tags.
How
not necessarily endorse content contained within this
transmission.
Date: Sat, 27 Sep 2008 15:41:46 +0200
From: [EMAIL PROTECTED]
To: user@struts.apache.org
Subject: Re: custom tags and struts
You can change the tag's rtexprvalue attribute to true to allow EL
expressions in S2 tags.
How to do
other than intended
recipient. Sender does not necessarily endorse content contained within
this transmission.
Date: Sat, 27 Sep 2008 15:41:46 +0200
From: [EMAIL PROTECTED]
To: user@struts.apache.org
Subject: Re: custom tags and struts
You can change the tag's rtexprvalue
is of a confidential nature and Sender does not
endorse distribution to any party other than intended recipient. Sender does
not necessarily endorse content contained within this transmission.
Subject: Re: custom tags and struts
From: [EMAIL PROTECTED]
To: user@struts.apache.org
Date: Sat, 27 Sep
contained within this
transmission.
Date: Sat, 27 Sep 2008 15:41:46 +0200
From: [EMAIL PROTECTED]
To: user@struts.apache.org
Subject: Re: custom tags and struts
You can change the tag's rtexprvalue attribute to true to allow EL
expressions in S2 tags.
How to do
On 11/18/05, Laurie Harper [EMAIL PROTECTED] wrote:
Rahul Akolkar wrote:
snip/
It's a bit messy; the functionality the tags encapsulate isn't exposed
in a way you can access directly. A cleaner alternative if you're using
JSP 2.0 is to use a tag file, which can then just contain standard JSP
Rahul Akolkar wrote:
Yes, that was more of a post-33064 comment.
Getting the the Struts tags to be 2.0-ready is something I'd be
interested in too. Given the origin of those tags way before 2.0,
backward compatibility issues will take precedence. I wonder if
there's a better way.
Yeah,
On 11/19/05, Laurie Harper [EMAIL PROTECTED] wrote:
Rahul Akolkar wrote:
Yes, that was more of a post-33064 comment.
Getting the the Struts tags to be 2.0-ready is something I'd be
interested in too. Given the origin of those tags way before 2.0,
backward compatibility issues will take
Two email responses consolidated in one below:
On 11/19/05, Craig McClanahan [EMAIL PROTECTED] wrote:
On 11/19/05, Laurie Harper [EMAIL PROTECTED] wrote:
Rahul Akolkar wrote:
Yes, that was more of a post-33064 comment.
Getting the the Struts tags to be 2.0-ready is something I'd be
On 11/17/05, Laurie Harper [EMAIL PROTECTED] wrote:
Craig McClanahan wrote:
On 11/17/05, David Whipple [EMAIL PROTECTED] wrote:
I would like to be able to create a custom tag which is able to use the
struts html:text, html:dropdown or html:hidden fields. I am not able
to find a way to
Rahul Akolkar wrote:
On 11/17/05, Laurie Harper [EMAIL PROTECTED] wrote:
Craig McClanahan wrote:
On 11/17/05, David Whipple [EMAIL PROTECTED] wrote:
I would like to be able to create a custom tag which is able to use the
struts html:text, html:dropdown or html:hidden fields. I am not able
I would like to be able to create a custom tag which is able to use the
struts html:text, html:dropdown or html:hidden fields. I am not able
to find a way to create a tag library that can produce/call/reference other
tags.
I am interested in making a custom tag for our application which will
Craig McClanahan wrote:
On 11/17/05, David Whipple [EMAIL PROTECTED] wrote:
I would like to be able to create a custom tag which is able to use the
struts html:text, html:dropdown or html:hidden fields. I am not able
to find a way to create a tag library that can produce/call/reference
other
Thanks for the responses to my question.
I agree totally with what you are saying, to try generating Struts tags from a
Custom tag
is completely the wrong approach - I can see that now (you know, I see the
light :-)
Let me explain what I am trying to do, maybe somebody can point me
Murray Collingwood wrote:
I could use a logic:greaterThan... tag to test the value of the security number and
then display the link if appropriate. This gets more complicated when the security
number 3 is used, as then I have to test values on the record as well, suddenly I have
nested
I hope you are getting the picture. This is why I was trying to use a
custom tag that could still interact with my model, call business methods
to make security
decisions and vary the generated link accordingly.
And finally the question: How should I go about writing the Update link
now that
Thanks Wendy
I think the idea of using a security bean is what I need to do.
Kind regards
mc
On 20 Aug 2005 at 9:50, Wendy Smoak wrote:
I hope you are getting the picture. This is why I was trying to use a
custom tag that could still interact with my model, call business methods
to
From: Murray Collingwood [EMAIL PROTECTED]
Has anybody successfully used Stuts tags and Custom tags together?
For example:
Consider a custom tag with the following code:
out.println(html:link action=\Update.do\ + entry[ix] +
/html:link);
I haven't done anything with custom tags in a while,
Normally it doesn process html:link. Did you put the tld for html:link
on the page? Does your tag extend BodyTagSupport? I think I remember
having to execute the print in doEndTag() as well.
Murray Collingwood wrote:
Hello all
Has anybody successfully used Stuts tags and Custom tags
Murray Collingwood wrote:
Hello all
Has anybody successfully used Stuts tags and Custom tags together?
For example:
Consider a custom tag with the following code:
out.println(html:link action=\Update.do\ + entry[ix] + /html:link);
The custom tag appears to write the output directly to the
On 8/18/05, Murray Collingwood [EMAIL PROTECTED] wrote:
Hello all
Has anybody successfully used Stuts tags and Custom tags together?
For example:
Consider a custom tag with the following code:
out.println(html:link action=\Update.do\ + entry[ix] +
/html:link);
Your question doesn't
Hello all
Has anybody successfully used Stuts tags and Custom tags together?
For example:
Consider a custom tag with the following code:
out.println(html:link action=\Update.do\ + entry[ix] + /html:link);
The custom tag appears to write the output directly to the socket without
further
32 matches
Mail list logo