Hi all,
we have several pages that can be opened either in the normal flow of the
application or as dialogs. Is it possible to programmattically know if a
window is opened as a dialog?
Thanks in advance,
-- Rafa
PS: We are using Trinidad 1.0.10 and MyFaces 1.1.6
Hello,
I'm trying to create form with partialSubmit, and having problems displaying
FacesMessage's. My jsp is:
h:panelGroup
tr:messages partialTriggers=login logout/tr:messages
tr:form partialTriggers=login logout
rendered=#{!loginBean.logged}
tr:inputText value=#{loginBean.login}
Hi everybody,
i have this code:
tr:commandButton id=responseButton
action=#{responseMgdBean.rResponse}
icon=/images/ico_#{responseButton.behaviour}.gif
binding=#{dealCalculatorMgdBean.buttonAccepted}
text=#{responseButton.label}
Of course use onClick attribute.
2009/3/26 drizzo danilo.ri...@accenture.com
Hi everybody,
i have this code:
tr:commandButton id=responseButton
action=#{responseMgdBean.rResponse}
icon=/images/ico_#{responseButton.behaviour}.gif
but onClick event is triggered after the action tag or before?
If is before, there is a way to excute a scritp after the action?
Anton Gavazuk wrote:
Of course use onClick attribute.
2009/3/26 drizzo danilo.ri...@accenture.com
Hi everybody,
i have this code:
tr:commandButton
For normal command-button usage, the current html page is submitted and
*completely* replaced by a new HTML page. So it makes no sense to talk
about running javascript after the action.
Are you perhaps using these command-buttons within an AJAX pane, and
want some javascript to execute after the
Not sure if it is possible per si, but you can set a flag in the
pageFlowScope to be checked inside the (supposed) dialog page, like:
tr:commandButton ...
tr:setActionListener from=#{row} to=#{pageFlowScope.dialogFlag} /
/tr:commandButton
Cheers,
Walter Mourão
http://waltermourao.com.br
i should notify to parent page the result of the action. so i need wait the
action is finished...
i don't if is it possible
Danilo
Simon Kitching wrote:
For normal command-button usage, the current html page is submitted and
*completely* replaced by a new HTML page. So it makes no sense
Hi,
In the action bean, how can I determine what is the selected tab?
Thanks,
Rafael Santini
Parent page? If you are inside a dialog, then you can define a
returnListener method in the opener button to execute some logic when the
dialog is closed.
HTH,
-- Rafa
On Thu, Mar 26, 2009 at 2:54 PM, drizzo danilo.ri...@accenture.com wrote:
i should notify to parent page the result of the
Maybe he means that the JSF page is in a popup window?
Or maybe it is in an html Frame?
Danilo, you need to write your question better. We cannot read your mind
and guess what you are really asking about...
Rafa Pérez schrieb:
Parent page? If you are inside a dialog, then you can define a
No i have an iframe, when the button is clicked must be execute the method
specified in the action attribute, and after I should call a javascript
function (this is used to notify to a parent page the outcome)
Thanks
D.
Rafa Pérez wrote:
Parent page? If you are inside a dialog, then you
Since you use facelets, can you do something like
html jsfc=trh:html
xmlns=http://www.w3.org/1999/xhtml;
xmlns:ui=http://java.sun.com/jsf/facelets;
xmlns:c=http://java.sun.com/jsp/jstl/core;
xmlns:f=http://java.sun.com/jsf/core;
xmlns:h=http://java.sun.com/jsf/html;
WHat is the result of button execution? New page?
2009/3/26 drizzo danilo.ri...@accenture.com
No i have an iframe, when the button is clicked must be execute the method
specified in the action attribute, and after I should call a javascript
function (this is used to notify to a parent page
is the string identifier for the new page... and before to load the new page
i should run a javascript
Anton Gavazuk wrote:
WHat is the result of button execution? New page?
2009/3/26 drizzo danilo.ri...@accenture.com
No i have an iframe, when the button is clicked must be execute
With Trinidad you can execute javaScript in client side from the
server side, look this code extracted from Matthias Wessendorf blog[1]:
ExtendedRenderKitService service =
Service.getRenderKitService(facesContext,
ExtendedRenderKitService.class);
service.addScript(facesContext,
Hi
t:panelTabbedPane has a property called selectedIndex.
regards
Leonardo Uribe
On Thu, Mar 26, 2009 at 9:09 AM, SANTINI, Rafael raf...@santini.eti.brwrote:
Hi,
In the action bean, how can I determine what is the selected tab?
Thanks,
Rafael Santini
17 matches
Mail list logo