Re: How to call a method from struts tag

2006-06-23 Thread Pankaj Gupta
that would be difficult to do with the kind of design that we have. I 
need it in JSP only. If you can suggest a way of making a custom tag for 
it, it would be great.


Lance Semmens wrote:
Can you do this in you action then have an isEnabled() method on your 
component?


Pankaj Gupta wrote:

Hi All,

I want to call a method of an object in session scope that would 
check whether the component I wish to display on my JSP should be 
enabled or disabled. Can you please suggest how I can do that without 
using java scriptlets in my JSP.


regards,
Pankaj

-
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]



Re: How to call a method from struts tag

2006-06-23 Thread The Jasper

hi,

depending on what you are checking, wouldn't some form of logic tag suffice?

mvg,
Jasper

On 6/23/06, Lance Semmens <[EMAIL PROTECTED]> wrote:

Can you do this in you action then have an isEnabled() method on your
component?

Pankaj Gupta wrote:
> Hi All,
>
> I want to call a method of an object in session scope that would check
> whether the component I wish to display on my JSP should be enabled or
> disabled. Can you please suggest how I can do that without using java
> scriptlets in my JSP.
>
> regards,
> Pankaj
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


--
Lance Semmens
Marketpipe Limited
a. 7 Soho Square, London W1D 3QB, UK
t. +44 20 7297 8401
f. +44 20 7297 8427
e. [EMAIL PROTECTED]
w. www.marketpipe.com



-
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]



Re: How to call a method from struts tag

2006-06-23 Thread Lance Semmens
Can you do this in you action then have an isEnabled() method on your 
component?


Pankaj Gupta wrote:

Hi All,

I want to call a method of an object in session scope that would check 
whether the component I wish to display on my JSP should be enabled or 
disabled. Can you please suggest how I can do that without using java 
scriptlets in my JSP.


regards,
Pankaj

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




--
Lance Semmens
Marketpipe Limited
a. 7 Soho Square, London W1D 3QB, UK
t. +44 20 7297 8401
f. +44 20 7297 8427
e. [EMAIL PROTECTED]
w. www.marketpipe.com 




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



How to call a method from struts tag

2006-06-23 Thread Pankaj Gupta

Hi All,

I want to call a method of an object in session scope that would check 
whether the component I wish to display on my JSP should be enabled or 
disabled. Can you please suggest how I can do that without using java 
scriptlets in my JSP.


regards,
Pankaj

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