Hello everyone!

I have been thinking in using tapestry + velocity.  I want to reduce
the code i have to write in the html tapestry=3DB4s template, i was
thinking in using velocity for that, i mean, i want to encapsulate the
tapestry code for the components tags like this:

$component.getComponent(parameters)

i mean i want to add a line like this into the tapestry template and
make a call like that to the getComponent method from a class that
encapsulates the tapestry tag for the component.

I want to do some class like this:

public class ComponentRender {

public String getComponent(TagParameters){

String str =3D3D new String();
str =3D3D "<span jwcid=3D3D"formid" ....></span>"; //here i want to use the
parameters for the tag
return str;

}

}

My questin is..., is it possible?

I=3DB4m new in both tapestry and velocity, i don=3DB4t know if it is possib=
le

Please, tell me if you know!

Thanks!

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

Reply via email to