? It will solve in a very elegant way the need
for the backing bean to be notified that a tab change has ocurred and modify
its state accordingly if it needs to. I have read many postings of the se of
the tabChangeListener tag, but again it lacks the direct connection to the
backing bean.
I
value=Tab2/
/tc:tab
tc:tab label=Tab3
tc:out value=Tab3/
/tc:tab
/tc:tabGroup
/tc:page
/f:view
MainController.java:
private TabChangeListener tabChangeListener;
public TabChangeListener getTabChangeListener() {
getLog().debug(getTabChangeListener
TabChangeListener tabChangeListener;
public TabChangeListener getTabChangeListener() {
getLog().debug(getTabChangeListener: + tabChangeListener);
return tabChangeListener;
}
public void setTabChangeListener(TabChangeListener tabChangeListener) {
getLog().debug(setTabChangeListener
Hello Bernd!
is the GenaTabChangeListener instance of TabChangeListener?
Yes, of course.
public class GenaTabChangeListener implements TabChangeListener {
With the binding attribute you can point directly to a managed bean.
Do you mean this binding attributte?
binding
Hello Helmut,
can you check the tobago-example-demo and the tabChangeListener example.
The tabChangeListener is only created if the binding doesn't point to a
valid reference to a TabChangeListener instance.
Are you using facelets or jsp?
Regards
Bernd
H. Swaczinna wrote:
Hello Bernd
:
private TabChangeListener tabChangeListener;
public TabChangeListener getTabChangeListener() {
getLog().debug(getTabChangeListener: + tabChangeListener);
return tabChangeListener;
}
public void setTabChangeListener(TabChangeListener tabChangeListener) {
getLog().debug
Hello Helmut,
is the GenaTabChangeListener instance of TabChangeListener?
With the binding attribute you can point directly to a managed bean.
Regards
Bernd
H. Swaczinna wrote:
Hello,
I've set in my tabGroup a TabChangeListener
tc:tabGroup switchType=reloadPage
binding
Hello,
I've set in my tabGroup a TabChangeListener
tc:tabGroup switchType=reloadPage
binding=#{mainController.tabGroup}
state=#{mainController.selectedTab}
tc:tabChangeListener
type=de.wlps.ndr.workflow.common.webapp.web.GenaTabChangeListener
binding
Version: tomahawk 1.1.5
I am in need of a tabChangeListener attribute within the panelTabbedPane
tag like:
t:panelTabbedPane=20
serverSideTabSwitch=true
styleClass=tabbedPane
selectedIndex = 0
value. This is want I want.
Regards
Helmut
Hi,
I've set a TabChangeListener for a tabGroup, but it is not invoked,
when the tag I'm leaving contains an invalid input field, for example
a numerical field with an invalid number entered. When the entered
data is valid, the TabChangeListener
Hi,
I've set a TabChangeListener for a tabGroup, but it is not invoked,
when the tag I'm leaving contains an invalid input field, for example
a numerical field with an invalid number entered. When the entered
data is valid, the TabChangeListener is invoked. Is this a bug or a
feature?
I want
in TabChangeListener
I wouldn't say it's very accessible unless:
[1] There is a link to it on the download page (right next to the link to
the binaries, I might add)
[2] I can download it as a zip file, to allow me to step through it in my
debugger.
and I don't have to:
[3] View Java code from my browser (icky
Associates
monkeyden wrote:
I decompiled the class file for this tag (tomahawk v1.1.3) and found that
there are only two places where casting is done (don't know the line
numbers
as it's decompiled code).
1. TabChangeListener listener =
(TabChangeListener)ClassUtils.newInstance(className);
2
Im using a Tomahawk tabbedPane in my JSP
t:panelTabbedPane id=tabbedPane bgcolor=#ff width=650
serverSideTabSwitch=true selectedIndex=#{myBackingBean.selectedTab}
I want to implement a TabChangeListener, to set the selectedTab value of
the backing bean. I don't need to change the view
.
monkeyden wrote:
Im using a Tomahawk tabbedPane in my JSP
t:panelTabbedPane id=tabbedPane bgcolor=#ff width=650
serverSideTabSwitch=true selectedIndex=#{myBackingBean.selectedTab}
I want to implement a TabChangeListener, to set the selectedTab value of
the backing bean. I don't need to change
I decompiled the class file for this tag (tomahawk v1.1.3) and found that
there are only two places where casting is done (don't know the line numbers
as it's decompiled code).
1. TabChangeListener listener =
(TabChangeListener)ClassUtils.newInstance(className);
2. ((HtmlPanelTabbedPane
casting is done (don't know the line numbers
as it's decompiled code).
1. TabChangeListener listener =
(TabChangeListener)ClassUtils.newInstance(className);
2. ((HtmlPanelTabbedPane)component).addTabChangeListener(listener);
Clearly my tab listener won't result in a ClassCastException, because
/
Regards,
Jeff Bischoff
Kenneth L Kurz Associates
monkeyden wrote:
I decompiled the class file for this tag (tomahawk v1.1.3) and found that
there are only two places where casting is done (don't know the line
numbers
as it's decompiled code).
1. TabChangeListener listener
a newbie.--View this message in context:
http://www.nabble.com/tabchangelistener-t470701.html#a3623427Sent from the MyFaces - Users forum at Nabble.com.-- Le Gallo Cédric
Matthias,
Can you pls tell me which jar file ur using for this
serverSideTabSwitch=true .
where can i get the jar file from. I am a newbie.
--
View this message in context:
http://www.nabble.com/tabchangelistener-t470701.html#a3623427
Sent from the MyFaces - Users forum at Nabble.com.
/restoreState.
Thanks.
I don't use client-side state saving, so the second problem shouldn't apply
to me.
But I use serverSideTabSwitch=true, and it seems to work (if it wouldn't
work, my TabChangeListener wouldn't work, too...)
-Matthias
On 3/25/06, Matthias Kahlau [EMAIL PROTECTED] wrote
On 10/31/05, Turgay Zengin [EMAIL PROTECTED] wrote:
The flag is:
serverSideTabSwitch=true
This attribute is for the t:panelTabbedPane.
The interpretation and state-saving of the serverSideTabSwitch was
broken until this week. I'd recommend that you use the latest
nightly build or an svn
On 10/31/05, Turgay Zengin [EMAIL PROTECTED] wrote:
The flag is:
serverSideTabSwitch=true
This attribute is for the t:panelTabbedPane.
The interpretation and state-saving of the serverSideTabSwitch was
broken until this week. I'd recommend that you use the latest
nightly build or an
On 3/25/06, Matthias Kahlau [EMAIL PROTECTED] wrote:
Can you please tell me what the problem was with the serverSideTabSwitch?
You quoted it already below, but to restate, it didn't interpret
non-EL expressings as Boolean values, and wasn't saving the state of
the switch in
hi,,
can you able to solve that problem..
I am also stuck up with the same..
pls tell me if u abel to solve that..
regards
chandra.
--
View this message in context:
http://www.nabble.com/tabchangelistener-t470701.html#a3584208
Sent from the MyFaces - Users forum at Nabble.com.
Hi!
I have a working TabChangeListener, but no time to provide an example this
month. I think this would be possible next month...
-Matthias
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Auftrag
von Mike Kienenberger
Gesendet: Dienstag, 21. März 2006 18
I've noticed that a lot of posters have asked for help with
t:panelTabbedPane's selectedIndex and TabChangeListener over the last
few months.
Would someone be willing to expand the sandbox example (or provide a
new example) showing how to use these features of panelTabbedPane?
It will enable new
ublic class TestActionListener implements TabChangeListener {
public
TestActionListener()
{
super();
System.out.println("TestActionListener.initialize");
}
public
void
processTabChange(TabChangeEvent arg0) throws AbortProcessingException {
System.out.println("TestActionListener.pr
The flag is:
serverSideTabSwitch=true
This attribute is for the t:panelTabbedPane.
Regards,
Turgay
On 10/31/05, Hans Sowa [EMAIL PROTECTED] wrote:
Hi
The problem is that the panelTabbed was changed so the tabChange works
client-side and not server side. But because of this change the
Is there any reason why the TabChangeListenerTag doesn't accept
value-bindings to a listener and if so why? The current implementation
takes a class name which is then instantiated.
I would like my application to be informed of changes to the tabs and I
don't want to have to use FacesContext to
30 matches
Mail list logo