Please give a good documentation link for custom tags in struts 2

2014-07-08 Thread Ratna Kar
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

Re: Please give a good documentation link for custom tags in struts 2

2014-07-08 Thread manoj . sharma
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

Re: Please give a good documentation link for custom tags in struts 2

2014-07-08 Thread Ratna Kar
, 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

Re: Please give a good documentation link for custom tags in struts 2

2014-07-08 Thread manoj . sharma
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

Re: Please give a good documentation link for custom tags in struts 2

2014-07-08 Thread jaikar gupta
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

custom tags and struts

2008-09-27 Thread Gianluca Musella
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'//

Re: custom tags and struts

2008-09-27 Thread Dave Newton
--- 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

Re: custom tags and struts

2008-09-27 Thread Gianluca Musella
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,

Re: custom tags and struts

2008-09-27 Thread Gabriel Belingueres
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

Re: custom tags and struts

2008-09-27 Thread Gianluca Musella
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

RE: custom tags and struts

2008-09-27 Thread Martin Gainty
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

Re: custom tags and struts

2008-09-27 Thread Gianluca Musella
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

Re: custom tags and struts

2008-09-27 Thread Wes Wannemacher
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

RE: custom tags and struts

2008-09-27 Thread Martin Gainty
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

Re: custom tags and struts

2008-09-27 Thread stanlick
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

Re: Custom tags referencing struts tags

2005-11-19 Thread Rahul Akolkar
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

Re: JSP 2.0 and taglibs (was Custom tags referencing struts tags)

2005-11-19 Thread Laurie Harper
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,

Re: JSP 2.0 and taglibs (was Custom tags referencing struts tags)

2005-11-19 Thread Craig McClanahan
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

Re: JSP 2.0 and taglibs (was Custom tags referencing struts tags)

2005-11-19 Thread Rahul Akolkar
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

Re: Custom tags referencing struts tags

2005-11-18 Thread Rahul Akolkar
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

Re: Custom tags referencing struts tags

2005-11-18 Thread Laurie Harper
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

Custom tags referencing struts tags

2005-11-17 Thread David Whipple
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

Re: Custom tags referencing struts tags

2005-11-17 Thread Laurie Harper
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

Re: Using custom tags and struts together

2005-08-20 Thread Murray Collingwood
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

Re: Using custom tags and struts together

2005-08-20 Thread Dave Newton
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

Re: Using custom tags and struts together

2005-08-20 Thread Wendy Smoak
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

Re: Using custom tags and struts together

2005-08-20 Thread Murray Collingwood
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

Re: Using custom tags and struts together

2005-08-19 Thread Wendy Smoak
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,

Re: Using custom tags and struts together

2005-08-19 Thread Jeremiah Johnson
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

Re: Using custom tags and struts together

2005-08-19 Thread Laurie Harper
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

Re: Using custom tags and struts together

2005-08-19 Thread Craig McClanahan
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

Using custom tags and struts together

2005-08-18 Thread Murray Collingwood
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