myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michał 'Gandalf' Stawicki" <stawi...@gmail.com>
Subject pprPanelGroup - commandLink vs. commandButton
Date Sat, 14 Jul 2007 15:24:56 GMT
This works as expected: clicking commandLink couses partial refresh

....
<s:pprPanelGroup id="treePpr" partialTriggerPattern=".*zapisz">
....
</s:pprPanelGroup>

<s:pprPanelGroup id="objPropsPpr" partialTriggerPattern=".*zapisz">
		    <t:commandLink
				id="zapisz"
				value="Zapisz"
				action="#{createObject.saveSelectedProperties}" />
</s:pprPanelGroup>
....

However if I substitute commandLink with commandButton, it doesn't
work anymore: whole page is submitted.

regards,

-- 
Michał Stawicki

stawicki@gmail.com
http://stawicki.jasliska.pl
Mime
View raw message