Toni,

So when you say you use "%{#parameters['active']}" after "setting a parameter in the request", what are you actually doing?

As I have added a hidden field in my form that has an "active" element that I set to the current tab, but it never comes back to the page?

Any idea where I went wrong?

Thanks,
brian-


On Jul 10, 2007, at 8:50 AM, Toni Lyytikäinen wrote:

I'd like to know the best practice too. I've done this setting a parameter
in the request, and in my jsp I have

<s:tabbedPanel id="adminpanel" selectedTab="%{#parameters['active']}">

not very elegant but works.

On 7/10/07, Brian Trzupek <[EMAIL PROTECTED]> wrote:

I have a page with several Struts Tabs on it.

When I submit the page, I would like it to come back to the 'active'
tab (the previous selected tab).

Is there a best practice on how to do this?

Thanks,
Brian-

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

Reply via email to