You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Shinobu Kawai <sh...@gmail.com> on 2005/04/02 10:24:54 UTC

creating macro libraries

Hi uday,

> Can u pls help me regarding velocity macros .
> how to create a macro library and also i would like to use a macro  to
> embedd a tree structure in web page

Take a peek here:
     http://jakarta.apache.org/velocity/user-guide.html#Velocimacros

Some questions to help us help:
- What do you want to do?
- What have you tried so far?
- What results did you get?
- What results did you expect?

Best regards,
-- Shinobu

--
Shinobu Kawai <sh...@gmail.com>

---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


Re: creating macro libraries

Posted by Shinobu Kawai <sh...@gmail.com>.
Hi uday,

> Till now i created a macro for a combo box , textfield, and a screen which
> gets data from a screen class  where it can be dynamically displayed .
> I need to design a screen , where that screen is divided into two parts ,
> if u select data on one part of the screen  so it will be added to the other
> part of the screen.

Do you know how it is done in regular HTML?  (Well, DHTML maybe.) 
Then you're half way there.  Just let your macro render that HTML.  :)

When I develop a dynamic page, I usually make a static one first. 
Once I get a working one, just change the variables to dynamic content
bit by bit.  And whola!  It evolves into a dynamic page, each step
working.

Best regards,
-- Shinobu

--
Shinobu Kawai <sh...@gmail.com>

---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


RE: creating macro libraries

Posted by Uday Kumar <ud...@secf.com>.
Hi Shinobu,

Till now i created a macro for a combo box , textfield, and a screen which
gets data from a screen class  where it can be dynamically displayed .
I need to design a screen , where that screen is divided into two parts ,
if u select data on one part of the screen  so it will be added to the other
part of the screen.

Regards,
uday


-----Original Message-----
From: Shinobu Kawai [mailto:shinobu.kawai@gmail.com]
Sent: Saturday, April 02, 2005 1:55 PM
To: Velocity Users List
Subject: creating macro libraries


Hi uday,

> Can u pls help me regarding velocity macros .
> how to create a macro library and also i would like to use a macro  to
> embedd a tree structure in web page

Take a peek here:
     http://jakarta.apache.org/velocity/user-guide.html#Velocimacros

Some questions to help us help:
- What do you want to do?
- What have you tried so far?
- What results did you get?
- What results did you expect?

Best regards,
-- Shinobu

--
Shinobu Kawai <sh...@gmail.com>

---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org





---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org