hello
>
> to develop a page in velocity i am not getting the design as expected ...
> so
> i started using macros so that i can get the expected design
>
> for example:::
>
> <table>
> <tr>
> <td>#ssubmit("key=button1" "value=Search")</td>
> <td>#ssubmit("key=button2" "value=Submit")</td>
> </tr>
> </table>
>
> i have taken the key attribute for the purpose of i18n...actually it
> should
> work as in one row to td's should form in which each should hold two
> submit
> buttons... but when you observe the html page the second submit button
> will
> be taken as in second row...
>
> in this case i used macro to get the two submit buttons in the one row as
> bellow:::
>
> #macro(button $value)
> <input type="submit" value="$value">
> #end
>
> <table>
> <tr>
> <td>#button("Search")</td>
> <td>#button(Submit)</td>
> </tr>
> </table>
>
> here i am getting the design but when i am writing the key attribute in
> the
> macro or in the calling macro i am not at all seeing the button in the
> html
> page
>
>as the velocity tags can be derived or executed with struts help.... so if
possible please kindly solve my problem........
>
>
> regards 
-- 
View this message in context: 
http://www.nabble.com/how-to-use-I18N-in-macros-tf3986570.html#a11319213
Sent from the Struts - User mailing list archive at Nabble.com.


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

Reply via email to