Click CommandButton from BackingBean

2010-05-20 Thread Leis, Matthias - SID-NLKM
Hi! Is it possible to click a h:commandButton from JavaCode? Code I have so far: public void clickButton() { FacesContext currentInstance = FacesContext.getCurrentInstance(); UIComponent component = currentInstance.getViewRoot().findComponent(submit); if (component instanceof

Wolfgang Toepfer ist außer Haus.

2010-05-20 Thread wolfgang . toepfer
Ich werde ab 20.05.2010 nicht im Büro sein. Ich kehre zurück am 26.05.2010. Ich werde Ihre Nachricht nach meiner Rückkehr beantworten. PTA Programmier-Technische Arbeiten GmbH Seckenheimer Str. 65-67, 68165 Mannheim Amtsgericht Mannheim, HRB 1139 USt-IdNr.: DE 143 839 368 Geschäftsführer:

Re: Ajax4jsf and myfaces

2010-05-20 Thread Anton Gavazuk
I have not seen such error, but try to switch off encryption functionality in web.xml This funct is implemented in myfaces... 2010/5/20 jiny jiny4...@gmail.com Has anyone seen the following error when trying to use the following: Richface version: 3.2.1.GA Tomcat 6 JDK 6 MyFaces: 1.2.2 or

Re: Click CommandButton from BackingBean

2010-05-20 Thread Vinod Krishnan
yes you can do that using a binding for the second button and do it like queuing the event in the actionlistener of the first button getButton1().queueEvent(new ActionEvent(getButton2())); On Thu, May 20, 2010 at 1:16 PM, Leis, Matthias - SID-NLKM matthias.l...@sid.sachsen.de wrote: Hi! Is

[trinidad] Dialog noresize?

2010-05-20 Thread JeroenM
Hi, I'm currently developing some dialog windows. How do I prevent the launched window to be resizeable (I just want the close button, just like BorderStyle=bsDialog) -- View this message in context: http://old.nabble.com/-trinidad--Dialog-noresize--tp28618709p28618709.html Sent from the

Re: [trinidad] Dialog noresize?

2010-05-20 Thread Vinod Krishnan
how are you implementing the dialog On Thu, May 20, 2010 at 2:31 PM, JeroenM jeroenmeijer8...@hotmail.comwrote: Hi, I'm currently developing some dialog windows. How do I prevent the launched window to be resizeable (I just want the close button, just like BorderStyle=bsDialog) -- View

AW: Click CommandButton from BackingBean

2010-05-20 Thread Leis, Matthias - SID-NLKM
Vinod, thank you for your post. I'm not sure, if I completely understood you, but I tried the following. The visible button has now an actionListener. In this actionListener I do hidden.queueEvent(e); Where hidden is the hidden CommandButton (the one I want to click programmatically) and e is

Re: Click CommandButton from BackingBean

2010-05-20 Thread Vinod Krishnan
it should be like hiddenButton.queueEvent(new ActionEvent(hiddenButton)); On Thu, May 20, 2010 at 4:41 PM, Leis, Matthias - SID-NLKM matthias.l...@sid.sachsen.de wrote: Vinod, thank you for your post. I'm not sure, if I completely understood you, but I tried the following. The visible

AW: Click CommandButton from BackingBean

2010-05-20 Thread Leis, Matthias - SID-NLKM
Thanks, it works! :) Another problem arises... It doesn't work inside a t:panelTabbedPane. By the way, this problem was the reason for the hidden button. The visible button was should be inside the t:panelTabbedPane, which then clicks the hidden button outside the t:panelTabbedPane. Argh

Re: Click CommandButton from BackingBean

2010-05-20 Thread Vinod Krishnan
I didnt quite follow you. could you please explain more.. explain your use case as well On Thu, May 20, 2010 at 5:07 PM, Leis, Matthias - SID-NLKM matthias.l...@sid.sachsen.de wrote: Thanks, it works! :) Another problem arises... It doesn't work inside a t:panelTabbedPane. By the way, this

AW: Click CommandButton from BackingBean

2010-05-20 Thread Leis, Matthias - SID-NLKM
My Use Case: I have a html-form to make a post request to some webservice by clicking the submit-button. My Problem: I am using a t:panelTabbedPane. I have to use a plain html-form, because the value of the action-attribute is the URL of the webservice (and as far as I know there is no way to

AW: Click CommandButton from BackingBean

2010-05-20 Thread Eisenträger , Tobias
Hello Matthias, why don't you just submit the form normally to your webserver and let the webserver post to the web service? - This would probably be a lot more clean - architecture wise. Mit freundlichen Grüßen Tobias Eisenträger Softwareentwickler

Re: Ajax4jsf and myfaces

2010-05-20 Thread jiny
Anton, Thanks very much for the reply. Could you let me know how to switch off encryption functionality in web.xml implemented in myfaces? Anton Gavazuk wrote: I have not seen such error, but try to switch off encryption functionality in web.xml This funct is implemented in myfaces...

[Tobago] foreach in c:sheet

2010-05-20 Thread Abushammala, Hani (EXTERN: FTP)
Hello, We want to visualize some dynamic content within a column for each row of sheet with jstl. We tried to incrment a variable (defined outside of the tc:sheet element) with: c:set var=counter value=${counter + 1} / to get the row index, but it doesn't work. Jsp: tc:sheet .. ...

Re: Ajax4jsf and myfaces

2010-05-20 Thread Anton Gavazuk
org.apache.myfaces.USE_ENCRYPTION set to false 2010/5/20 jiny jiny4...@gmail.com Anton, Thanks very much for the reply. Could you let me know how to switch off encryption functionality in web.xml implemented in myfaces? Anton Gavazuk wrote: I have not seen such error, but try to

ExtvalRenderKitFactory - Configuration Failed

2010-05-20 Thread Martin Häusler
Hi there, this is my first post here. I trying to get myfaces extval to work. So I started a new dynamic web project in eclipse and added all the needed libraries to my WEB-INF/lib directory. These were: - commons-beanutils-1.7.0.jar - commons-codec-1.3.jar - commons-collections-3.2.jar -

ExtValRenderKitFactory - Configuration Failed

2010-05-20 Thread Martin Häusler
Hi there, this is my first post here. I trying to get myfaces extval to work. So I started a new dynamic web project in eclipse and added all the needed libraries to my WEB-INF/lib directory. These were: - commons-beanutils-1.7.0.jar - commons-codec-1.3.jar - commons-collections-3.2.jar -

Re: ExtvalRenderKitFactory - Configuration Failed

2010-05-20 Thread Gerhard Petracek
hi martin, first of all: welcome @ myfaces! as you see in the stack trace mojarra (jsf ri -- com.sun.faces.*) is used instead of myfaces core. old versions of mojarra have a bug which leads to strange config issues [1]. i impl. a workaround which is available in the current snapshot [2] or you

Bottom Pagination in Trinidad Table

2010-05-20 Thread Sutapa Dey
Hi All, Is there a way to include the pagination at the bottom of a tr:table in myfaces trinidad. Regards, Sutapa

Re: AW: AW: Problem with tr:selectOneChoice

2010-05-20 Thread pushpalatha gowdra
Hello Frank,   if you want to reset the SelectOneChoice then setting the selectedEntry to null will not help. You should reset the values in SelectOneChoice component. It can be done programattically as below   CoreSelectOneChoice drdpComponent = (CoreSelectOneChoice)

AW: Bottom Pagination in Trinidad Table

2010-05-20 Thread Ricardo Rog
Hi Sutapa, try using tr:selectRangeChoiceBar http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_selectRangeChoiceB ar.html Greetings -Ursprüngliche Nachricht- Von: Sutapa Dey [mailto:sutapa...@gmail.com] Gesendet: Freitag, 21. Mai 2010 04:53 An: users@myfaces.apache.org