These are the classes you might want to look at:

core/src/main/java/org/apache/struts2/views/DefaultTagLibrary.java
core/src/main/java/org/apache/struts2/views/velocity/*

As far as I know, only the struts tags work with that syntax, but it
is very easy to add new tags.
musachy

On Wed, Dec 3, 2008 at 12:07 PM, carlo latasa <[EMAIL PROTECTED]> wrote:
> Hello musachy,
>
> Thanks for the reply. I've read that link (along with lots of other docs on
> struts.apache.org) and was looking for a way to get the old tags to work. My
> client has an application that has hundreds and hundreds of .vm files all
> using that older syntax.  I'd really like to avoid having to re-factor all
> of those files.
>
> Do you have any magic docs that you could point me to as to how struts works
> with Velocity? Or perhaps just some struts classes that I could look at?
>
> Cheers.
>
> On Wed, Dec 3, 2008 at 8:41 AM, Musachy Barroso <[EMAIL PROTECTED]> wrote:
>
>> Struts implements some magic so velocity can use the struts tags:
>>
>> http://struts.apache.org/2.0.14/docs/velocity-tags.html
>>
>> I think for that magic to work you need to use the "#sXYZ" format.
>> musachy
>>
>> On Wed, Dec 3, 2008 at 11:35 AM, carlo latasa <[EMAIL PROTECTED]> wrote:
>> > Hello,
>> >
>> > I'm wondering if the older style velocity tags of the following form are
>> > still supported:
>> >
>> > - #tag( *tagname* "label='login.submit'"  "align=right" ) - where
>> *tagname *is
>> > something like TextField, Password or Submit.
>> >
>> > I have a hunch that there is some special configuration that is necessary
>> > considering that right alongside this tag call the standard #stextfield,
>> > #spassword or #ssubmit all work.
>> >
>> > Maybe someone can just throw me a link to where this kind of thing is
>> > documented?
>> >
>> >
>> > Thanks in advance.
>> >
>>
>>
>>
>> --
>> "Hey you! Would you help me to carry the stone?" Pink Floyd
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
> --
> Carlo Latasa
> EdgeDriven.com
> Cell: (415) 385-1567
>



-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to