Hi Tanveer,
This is strictly a Turbine and/or HTML question, however the problem
seems a fairly fundamental one: your frameset is not being recognized
because the tags appears within the body section of the page. The
final source for your page should instead look something like this:-
html
Thanks
It works after changing the layout.
It was the problem of the body tag only.
Thanks again!!!
Tanveer
-Original Message-
From: Simon Christian [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 31, 2005 2:47 PM
To: Velocity Users List
Subject: Re: Frames ..
Hi Tanveer,
This is
Hi Velocity fans
I have a question of Velocity
I need a function:
It is exec a especial method before or after exec every getXXX() when merge
template
Like AOP function.
How implement it?. Or tell me idea. I wrote code by your idea.
Thank you
Best Regards
Perfect Tao
Email:
Hi Tao,
I don't think there's an easy way to do this, though there are a few
avenues to explore:
1. Look at the EventCartridge EventHandlers, specifically implementing
o.a.v.app.event.ReferenceInsertionEventHandler would allow you to do
*something* just before the value is put into the
Hi
I am trying to render a Velocity page using double rendering Technique(Velocity
generates Velocity)
I created a small macro
#macro (sample $macroname $name)
#$macroname ('$name')
#end
which takes two parameter $nameType and $name. If I pass hello and world as
parameters
Hi,
Pls help me out while invoking macro file from TurbineResources.properties file
Regards,
uday
-Original Message-
From: Simon Christian [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 31, 2005 5:25 PM
To: Velocity Users List
Subject: Re: need implement like AOP
Hi Tao,
I don't
HI,
Help me regarding macros
Actually i could not not able to fetch the values which are placed in the
context.
html
body
#macro (writestudents $studentlist)
#set ($rowcount = 1)
#foreach($student in $studentlist)
#if ($rowcount % 2 == 0)
#set ($bgcolor=#f)
#else
#set
How are you calling the macro?
Is the Student class public?
Are there publicly accessible methods getName() and getConduct() on the
Student class method? (similarly a generic get(String xxx) would do)
- s
Uday Kumar wrote:
HI,
Help me regarding macros
Actually i could not not able to fetch the
Hi,
It is working when i place the code like this in VelocityScreen Class
context.put (mystudent, new Student(uday,satisfactory));
but when i keep an Collection object i am not getting ..
help me
Regards,
uday
-Original Message-
From: Simon Christian [mailto:[EMAIL PROTECTED]
Hi,
Ok collection object is working , i need to use an Hash Map.
Can any one of u help me ...
Regards,
uday
-Original Message-
From: Simon Christian [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 31, 2005 8:02 PM
To: Velocity Users List
Subject: Re: macro help (was need implement
On Mar 29, 2005, at 1:13 PM, Robert Koberg wrote:
#if ($isChecked)
input ... checked=checked/
#else
input .../
#end
Since I need well-formed markup I cannot do:
input ... #if($isChecked)checked=checked#end/
What about something like:
input ...
#if($isChecked)
checked=checked
#end
/
We
Hi,I decided to post this question one more time in case this time someone has
an answer to this problem. I am using velocity 1.4. I am having problems when
rendering text that is enclosed within { }. Here's my velocity template:Hello
$name! Welcome to
I can replicate this behavior, and it looks like a bug.
If you have a $ followed by letters (something in the context or not
in the context), followed by a {, whatever follows the { is removed
until it gets to whitespace.
So $c1{something} - $c1{
$c1{something - $c1{
$c1{something} More
You can always use the formal way: ${c1}{something} to make it work.
Dimitrios
- Original Message -
From: Barbara Baughman [EMAIL PROTECTED]
To: Velocity Users List velocity-user@jakarta.apache.org;
[EMAIL PROTECTED]
Sent: Friday, April 01, 2005 1:12 AM
Subject: Re: help - text within {
But if $c1 is not in the context, you cannot get the following result
using Velocity no matter the Velocity code.
$c1{something}
Using your idea:
${c1}{something} - ${c1}{something}
Barbara Baughman
X2157
On Fri, 1 Apr 2005, Dimitrios Kolovos wrote:
You can always use the formal way:
The following expression will do the trick:
$c1##
{Something}
Sorry for my previous answer. Next time I ll spend more time reading the
question :)
Dimitrios
- Original Message -
From: Barbara Baughman [EMAIL PROTECTED]
To: Velocity Users List velocity-user@jakarta.apache.org
Sent:
Is that the same as this?
http://issues.apache.org/bugzilla/show_bug.cgi?id=28528
WILL
- Original Message -
From: Barbara Baughman [EMAIL PROTECTED]
To: Velocity Users List velocity-user@jakarta.apache.org;
[EMAIL PROTECTED]
Sent: Thursday, March 31, 2005 4:12 PM
Subject: Re: help - text
Hi Christian
Thank you very much , I will compare blue print your give me .
Where is o.a.v.util.introspection.UberspectImpl ?
I think the next version Velocity maybe enhance the inject function
Now AOP is very fashionable. :@)
Best Regards
Perfect Tao
Email: [EMAIL PROTECTED]
Yahoo
Hi Christian
Thank you very much , I will compare blue print your give me .
Where is o.a.v.util.introspection.UberspectImpl ?
I think the next version Velocity maybe enhance the inject function Now AOP is
very fashionable. :@)
Best Regards
Perfect Tao
Email: [EMAIL PROTECTED]
Yahoo
perhaps as a workaround, try
#set( $D = '$' )
${D}c1{whatever}
disclaimeri didn't test it myself/disclaimer
On Mar 31, 2005 5:19 PM, Will Glass-Husain [EMAIL PROTECTED] wrote:
Is that the same as this?
http://issues.apache.org/bugzilla/show_bug.cgi?id=28528
WILL
- Original
Hi
Sorry
o.a.v.util.introspectio = org.apache.velocity.util.introspection
already provide the so strong function.
I will research the package and extend it adapt for for my request.
Thank you
Best Regards
Perfect Tao
Email: [EMAIL PROTECTED]
Yahoo Messeger ID: perfect_tao
Skype ID
21 matches
Mail list logo