The compiled .class file needs to go into
$TDK_HOME/webapps/[yourapp]/WEB-INF/classes/br/com/ibnetwork/modules/screens
and needs to be named the same thing as the template. For example,
MyFunkyHelloWorld.class would be executed before MyFunkyHelloWorld.wm is
rendered.
w
Leandro Rodrigo Saad Cruz wrote:
> yes , there is, but it's not getting executed because turbine can't find it ( I
> think )
> an I don't know where to put it......
>
>
> Will Stranathan wrote:
>
>
>> Is there an associated java .class (should extend WebMacroSiteScreen, I
>> believe) file for your screen that gets executed to put hello into the
>> context?
>>
>> w
>>
>> Leandro Rodrigo Saad Cruz wrote:
>>
>>
>>> Leandro Rodrigo Saad Cruz wrote:
>>>
>>>
>>>
>>>> I'm trying to setup my first webapp... but the template variable $hello
>>>> is not getting replaced according to it's value in the context
>>>> (org.webmacro.servlet.WebContext), .....
>>>> everything seems to be ok .... the page gets displayed except for the
>>>> $hello..
>>>> Anyone ??
>>>>
>>>
>>>
>>> Me again..
>>> I think Turbine is executing WebMacroSiteScreen istead off my screen
>>> because it can't find the correct one,
>>> my problem really is where to put my screens since I did exactly according
>>> to the manual , I edited TurbineResources.properties and added my package
>>> module
>>> like this
>>> : module.packages=br.com.ibnetwork.modules,org.apache.turbine.modules..
>>> then I put my class ( Hello.class) under
>>> br/com/ibnetwork/modules/screens...
>>> What's wrong ?
>>
>
>
>
> ------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> Problems?: [EMAIL PROTECTED]
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]