Yess!!!
That was very helpful crowd!

Thank you very much!

2007/7/3, Nick Westgate <[EMAIL PROTECTED]>:

Another option is to use the negate parameter.

Then you only need the one logic method,
and you can have the if's wherever you want:

<t:if test="ifSummaryActive">
   ...
</t:if>
...
<t:if test="ifSummaryActive" negate="true">
   ...
</t:if>

Cheers,
Nick.


Erik Vullings wrote:
> Hi Eko,
>
>    <t:if test="myObjectExists">
>        Whatever
>    <t:parameter name="else">Please select an object first!</t:parameter>
>    </t:if>
>
> Cheers
> Erik
>
> On 7/2/07, Eko S.W. <[EMAIL PROTECTED]> wrote:
>>
>> Dear community,
>>
>> Is there else clause in <t:if> construct ???
>> I've try (but maybe not hard), but can not find it.
>> That is, is there an else if you use <t:if> ???
>>
>> * I imagine it to be like this :
>> <t:if test="ifSummaryActive">
>>     <t:if else>
>>
>> </t:if>
>>
>> Currently, to give the same behaviour I create a getIfSummaryActive
>> method and a getIfSummaryNotActive, like this:
>> <t:if test="ifSummaryActive">
>>
>>
>> </t:if>
>> <t:if test="ifSummaryNotActive">
>>
>> </t:if>
>>
>> Not perfect, but it's works...
>>
>> Thanks in advance
>> --
>> Best wishes,
>> Eko SW
>> http://swdev.blogs.friendster.com/my_blog/
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>

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




--
Best wishes,
Eko SW
http://swdev.blogs.friendster.com/my_blog/

Reply via email to