Ok - here is what I finally did.
My actions just load a jsp after post so the Redirect was
unnecessary. (I actually had some in there I removed).
I have a
In my base CRUD Action Class I added a property named activeTab, with
getters and setters.
Then on the s:tabbedPanel tag I added the
I'm just redirecting to an address that's formed like this (see the result
type "redirect-action" in the docs):
http://myapp.com/here/is/the/url.action?active=myTab
Are you doing any redirecting between the the form post and the tabbed page,
or are you just posting to an action that renders the
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 w
Thanks, I think the latter works best for my use case.
It would be nice if this feature was a built in component of the
tabbedPanel and transparent to the developer.
brian-
On Jul 10, 2007, at 8:53 AM, Adrian Ost wrote:
Brian Trzupek schrieb:
I have a page with several Struts Tabs on it.
Brian Trzupek schrieb:
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-
-
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
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
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
7 matches
Mail list logo