AW: MyFaces 2.0.0 - removing facelets results in blank page

2010-06-17 Thread Leis, Matthias - SID-NLKM
Hi Simon, I set a breakpoint before the RENDER_RESPONSE phase and inspected FacesContext.context.currentView.viewRoot. The property "childrenList" is null. But it's also null if I use external facelets (where everything works fine). So I guess I'm not inspecting the right object. So my (propabl

Re: MyFaces Irian-DoModal example

2010-06-17 Thread Mike Kienenberger
Not sure about the environment, but with Richfaces ajax, you can move the code you have in onclick into oncomplete.Not sure if that functionality is also available in JSF 2.0's ajax, but it seems likely. On Thu, Jun 17, 2010 at 5:06 PM, Jakob Korherr wrote: > Hi, > > You will have to submit t

Re: MyFaces Irian-DoModal example

2010-06-17 Thread Jakob Korherr
Hi, You will have to submit the form first to invoke the action listener on the server and on the resulting page automatically display the dialog. You can accomplish that by putting the javascript to open the dialog (dojoDialogOuterform.show();) into a t:div which normally is not rendered at the

Re: [tomahawk] replaceIdWithLabel not working in t:messages after update to JSF 1.2

2010-06-17 Thread Mike Kienenberger
Ok. And to close this out, the problem is that I was using tomahawk-1.1.9 instead of tomahawk-1.2-1.1.9. In 1.2-1.1.9, the problem has been solved by returning either the clientId or the Id as appropriate. I guess it's possible that there's still a bug in 1.1's 1.1.9, but until someone brings i

Re: [tomahawk] replaceIdWithLabel not working in t:messages after update to JSF 1.2

2010-06-17 Thread Mike Kienenberger
Maybe the solution is to use msgSummary = msgSummary.replaceAll(HtmlMessageRenderer.findInputId(msgClientId, inputLabel); in addition to msgSummary = msgSummary.replaceAll(HtmlMessageRenderer.findInputId(facesContext, msgClientId),inputLabel); So on the first pass, repla

Re: MyFaces Irian-DoModal example

2010-06-17 Thread daniel ccss
Thanks, that´s great, thank you, but Looking at the example we have this: What I need is to call an actionlistener before call the onclick. How can I do that?? Thanks On Thu, Jun 17, 2010 at 12:46 PM, Jakob Korherr wrote: > Hi, > > In the dojoDialog example t

Re: [tomahawk] replaceIdWithLabel not working in t:messages after update to JSF 1.2

2010-06-17 Thread Mike Kienenberger
I finally had some time to investigate this. The problem appears to be that in Tomahawk 1.1.9, t:messages renderer returns the id rather than the clientId of the component. This is exactly the opposite of what Michael Heinen found in his original message. Unfortunately it means that only the la

Re: http://people.apache.org/repo/m2-snapshot-repository is unavailable

2010-06-17 Thread Mark Struberg
apache minotaur where people.apache.org is served is currently a bit laggy. Infra is working on that. LieGrue, strub --- On Thu, 6/17/10, Rossen Stoyanchev wrote: > From: Rossen Stoyanchev > Subject: http://people.apache.org/repo/m2-snapshot-repository is unavailable > To: users@myfaces.apach

Re: MyFaces Irian-DoModal example

2010-06-17 Thread Jakob Korherr
Hi, In the dojoDialog example the values are not bound to a bean, they are just static. That's the reason they are not updated. If you want them to be updated, you will have to bind them to a managed bean (e.g. via value="#{bean.input}" on the related input component). However there is a bug in t

Re: MyFaces JSF-Portlet Bridge and Facelets

2010-06-17 Thread Michael Freedman
So I tried running the (new) facelets example that is part of the bridge project using MyFaces 1.2.2 on Jetty/Pluto and all worked as expected. I was verifying the portlet 1.0 bridge version NOT the portlet 2.0 bridge version -- but the examples are the same. Did you get a chance to try the e

MyFaces Irian-DoModal example

2010-06-17 Thread daniel ccss
Hi all, In this page http://example.irian.at/example-sandbox-2010061704/home.jsf I found this example: http://example.irian.at/example-sandbox-2010061704/dojo/dojoDialog.jsf I need to open a modal window in which I can edit some values of the window1 and when I press submit in window2 need to

Iframes with Myfaces

2010-06-17 Thread Vinaya Tirikkovalluru
Hi, Can anyone help me with iframes code in Myfaces? I need to have a expandable frame under every row and the data of the frame should be triggered on the click. The master detail table would not work for me as the detail data needs to be queried along with the master data. This is causin

Re: MyFaces 2.0.0 - removing facelets results in blank page

2010-06-17 Thread Simon Lessard
Hi Matthias, I meant is the tree empty, only a view root with no children, or is the component tree fully populated? ~ Simon On Thu, Jun 17, 2010 at 4:18 AM, Leis, Matthias - SID-NLKM < matthias.l...@sid.sachsen.de> wrote: > Hi, > > I'm not sure what you mean. The UIViewRoot built in createView

http://people.apache.org/repo/m2-snapshot-repository is unavailable

2010-06-17 Thread Rossen Stoyanchev
http://people.apache.org/repo/m2-snapshot-repository seems to be down. What's the procedure for getting this resolved?

[Trinidad] Table range screws JavaScript on all other form elements

2010-06-17 Thread Dmitry Barsukov
Hi All, It looks like I am experiencing a bug with Trinidad handling table ranges and screwing JavaScript handlers. Here is a simple page and a backing bean attached: http://java.sun.com/jsf/core"; xmlns:tr="http://myfaces.apache.org/trinidad"; xmlns:trh="http://myfaces.apache.o

Issue with VariableResolver and PropertyResolver, invoked too many times

2010-06-17 Thread Tapan Maheshwari
Hi,I have used variable resolver in faces-config.xml file com.xyz.UTF8MessageBundleVariableResolvercom.xyz.UTF8MessageBundlePropertyResolver However i have observed using profilers that for a single page load, following methods are invoked many no. of times (in thousands)com.xyz.UTF8MessageBundle

Re: [Tobago] Problem using tc:tree and request parameters

2010-06-17 Thread Alf Felis
Hi Udo, sorry... I forgot the environment information: MyFaces 1.1.6 Tobago 1.0.24 and 1.0.27 The bean has session scope. tobagoTreeTestBean TobagoTreeTestBean session I have attached my test bean and the jsp page to this mail. First I thought that the request

AW: MyFaces 2.0.0 - removing facelets results in blank page

2010-06-17 Thread Leis, Matthias - SID-NLKM
Hi, I'm not sure what you mean. The UIViewRoot built in createView() looks pretty much the same, as the one in the before render Phase. But I don't know if this is what you meant. Nearly all values are null, I can't see any components. Matthias -Ursprüngliche Nachricht- Von: users-retu

Re: [Tobago] Problem using tc:tree and request parameters

2010-06-17 Thread Udo Schnurpfeil
Hi Alf, I've some questions: Which Tobago version and which JSF implementation and version you are using (and which container)? In which scope is the managed bean that holds the state? I don't exactly know what happens, because I've not the sources of you code. But I can try some supposition..