prevent a user from double clicking on a submit button

2005-10-12 Thread Felix Japs
Hi, how to prevent a user from double clicking on a submit button or a link. Exists a JavaScript solution or a solution for the server side? bye Felix

onsubmit value of the dummy form tag for the tree2

2005-10-12 Thread Felix Japs
hi, how to set the onsubmit value of the dummy form tag for the tree2 component? bye felix

JavaScript submit() valueChangeListener wrong Phase

2005-10-05 Thread Felix Japs
Hi, I use JavaScript to submit the form when a user clicks on a checkbox. The checkbox fires a valueChangeEvent. I have implemented a valueChangeListener. When the valueChangeListener is called the attributes which are bind to the inputText Components have the old values. Probably because the

AW: JavaScript submit() valueChangeListener wrong Phase

2005-10-05 Thread Felix Japs
could you please post some code snippets?? ValueChangeListener/JSP/JSF/JS for form submit... I've found a solution: HtmlSelectBooleanCheckbox booleanEingabe = (HtmlSelectBooleanCheckbox) application.createComponent(HtmlSelectBooleanCheckbox.COMPONENT_TYPE);

Render Response Phase Listener - Navigation

2005-09-14 Thread Felix Japs
Hi, I've got two questions I didn't find an answer for. 1) I use a render response listener in order to execute some final database commands. The after method is executed twice, the second time it is executed immediately after the first time. This is not really what I want to. What went

tree2 and DB

2005-09-07 Thread Felix Japs
Hi, my program reads an tree2 from a database. When I delete an element the deletion process in the database is successful but the element still remains in the tree rendered on the HTML page. Do anyone know how to solve this problem? felix

Re: concatenate strings an variables

2005-09-06 Thread Felix Japs
ement'} #{createOrganisationMB.selectedOrgaElement} further Informations}"/ 2005/9/6, Felix Japs [EMAIL PROTECTED]: Hi,I would like to do somethin like this:h:outputText value="#{(createOrganisationMB.selectedOrgaElement == '') ?'no El

jscookMenu

2005-09-05 Thread Felix Japs
Hi, I tried to use the jscookMenu but the browser shows only a blank page. The extensionsFilter: org.apache.myfaces.component.html.util.ExtensionsFilter is registered in the web.xml. this HTML code is missing in the rendered page: script

Re: tree2 binding

2005-08-30 Thread Felix Japs
Hi, f:facet name=document h:panelGroup h:commandLink immediate=true styleClass=#{sbNavigatorTreeBean.nodeSelected ? 'documentSelected':'document'}

imageLocation

2005-08-30 Thread Felix Japs
Hi, sometimes tree2 shows the + and - Symbols and sometimes not. I am not shure what's the reason. So I tried to set the image path with the imageLocation attribute. The Problem: On some locations the tree Component adds the WebModule in the HTML-Code and on some locations not. for example: img

tree2 binding

2005-08-29 Thread Felix Japs
Hi, can someone show me an example how to bind data to the tree2 component? x:tree2 id=serverTree2 value=#{treeBacker.treeData} var=node varNodeToggler=t clientSideToggle=false binding=?? thanks for help, bye Felix Japs

AW: tree2 binding

2005-08-29 Thread Felix Japs
,#{sbNavigationBean.goIssueCreation}, true )); personNode.getChildren().add(new TreeNodeBase(document, Quick Create,#{sbNavigationBean.goIssueCreation}, true)); (...) 2005/8/29, Felix Japs [EMAIL PROTECTED]: Hi, can someone show me an example how to bind data to the tree2