Many thanks For reply Howard.
But this will not be visible in the application too. I want something that
will be visible in the
application but not in the Static Mocks. For example:
in "foobar.html" I have a "Direclink" component like this:
< a jwcid="[EMAIL PROTECTED]" listener="ognl:listeners.dothis"
parameters="ognl: id">
My Link
< /a>
When I open the static html mocks(Tomcat is not running, just open
"foobar.html" page in a browser)
this link shows up. Although as a non working Item. But I dont want to show
it in my static mocks.
your previous Idea hides it from Static Html but also from the application.
thanks in advance.
Howard Lewis Ship wrote:
>
> So ... you want the Block to be invisible when previewing. How about:
>
> <div jwcid="[EMAIL PROTECTED]" style="display:none;">
>
> ...
>
> </div>
>
>
> On 8/14/06, Karthik N <[EMAIL PROTECTED]> wrote:
>>
>> can you try prefixing your block with <!--
>>
>> and suffixing it with -->
>>
>> i think that should do the trick
>>
>>
>> On 8/14/06, Rahat Khan <[EMAIL PROTECTED]> wrote:
>> >
>> > Dear All,
>> > I am using Tapestry4 for my project. My problem is after adding
>> JWCID
>> > in the HTML mocks,The
>> > view of some of the mocks have been changed.That means the Static view
>> of
>> > the mocks is now different from
>> > the application view.But I want that the JWCID will not effect the
>> > original look and feel of the static
>> > html mocks.
>> >
>> > To be more specific with the problem,
>> >
>> > I used the "Block" component to ignore a block of HTML code in the
>> > running application. But
>> > this codes are viewable in static HTML. I want something just
>> > opposite.That is, a block of
>> > HTML code will be visible in the Application but not in the static
>> mocks.
>> >
>> > Thanks in Advance.
>> >
>> > Rahat.
>> >
>> >
>> >
>> > ---------------------------------
>> > How low will we go? Check out Yahoo! Messenger's low PC-to-Phone call
>> > rates.
>> >
>>
>>
>>
>> --
>> Thanks, Karthik
>>
>>
>
>
> --
> Howard M. Lewis Ship
> TWD Consulting, Inc.
> Independent J2EE / Open-Source Java Consultant
> Creator and PMC Chair, Apache Tapestry
> Creator, Apache HiveMind
>
> Professional Tapestry training, mentoring, support
> and project work. http://howardlewisship.com
>
>
--
View this message in context:
http://www.nabble.com/JWCID-changing-the-look---feel-of-the-Static-HTML-mocks.-tf2102960.html#a5828273
Sent from the Tapestry - User forum at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]