Oh, i should add that the VelocityStruts examples that i pointed you
toward originally are for using Velocity in front of Struts 1.   The
Struts people completely changed their framework for Struts 2 by just
adopting WebWork 2.2 as Struts 2.  So anything you find for Struts 1
will not work for Struts 2 and vice versa.

On Fri, Sep 12, 2008 at 7:37 AM, Nathan Bubna <[EMAIL PROTECTED]> wrote:
> On Fri, Sep 12, 2008 at 7:15 AM, m_kk <[EMAIL PROTECTED]> wrote:
>>
>> Thanks for the resource. Unfortunately none of the examples use velocity
>> tags. Its quite awkward  not to find  proper resource and also don't
>> understand the need of velocity when there is struts tags already.
>
> there is only one velocity "tag" these days
> (http://velocity.apache.org/tools/devel/view.tag.html).  and i don't
> think it's what you are talking about.  it will stay awkward for you,
> so long as you don't have your terms right, because you won't be able
> to find the right documentation.
>
>> The main question which is unanswered is why does velocity introduce its own
>> <tr> and <td> tags for #slabel,#ssubmit etc.
>
> Velocity doesn't do that.  However, i believe Struts 2/WebWork does
> introduce things like that.  You should probably be asking them about
> it. ([EMAIL PROTECTED])
>
>>  I want to have a table with 3
>> columns first with a html label, second with a submit button and third to
>> display the result.  Clearly velocity is limited to basic design and i feel
>> not worth for designing a good web application.
>
> I would argue that not much about this is quite clear to you yet. :)
> Still, if you are using Struts 2, i know they do support other options
> for templating.  Perhaps you will find something else to be better
> documented.  But really, i would ask on that list first, since it
> appears that your questions involve their custom Velocity directives,
> rather than the core Velocity functionality.
>
>>
>>
>>
>> Nathan Bubna wrote:
>> >
>> > http://velocity.apache.org/tools/releases/1.4/struts/
>> >
>> > The VelocityTools binary distribution also comes with a VelocityStruts
>> > example application that is quite instructive.  I'd recommend
>> > downloading that and dropping the struts.war file in your favorite
>> > servlet engine and playing around with it.  The source code for that
>> > example is also quite handy, if you download the VelocityTools source
>> > distribution.
>> >
>> > On Wed, Sep 10, 2008 at 11:05 AM, m_kk <[EMAIL PROTECTED]> wrote:
>> >>
>> >> Hi,
>> >> Can any one direct me to velocity-struts tutorials or any document
>> >> describing velocity tags and elements?.
>> >>
>> >> Thanks  in advance
>> >> --
>> >> View this message in context:
>> >> http://www.nabble.com/Velocity-reference-tp19415249p19415249.html
>> >> Sent from the Velocity - User mailing list archive at Nabble.com.
>> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >> For additional commands, e-mail: [EMAIL PROTECTED]
>> >>
>> >>
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> > For additional commands, e-mail: [EMAIL PROTECTED]
>> >
>> >
>> >
>>
>> --
>> View this message in context: 
>> http://www.nabble.com/Velocity-reference-tp19415249p19456786.html
>> Sent from the Velocity - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>

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

Reply via email to