Re: [Trinidad] using a custom skin

2007-08-09 Thread Simon Lessard
Oups, my bad, I should have checked. I guess it's time for me to make myself a bit more useful since I play with skin on daily basis... On 8/9/07, Adam Winer <[EMAIL PROTECTED]> wrote: > > ... but unfortunately, navigationPane is specifically not > documented there. I cleaned up a lot of the skin

Re: [Trinidad] Integration with Tiles

2007-08-09 Thread Edward Dowgiallo
I think I see one of my problems. The myfaces-examples-tiles-1.1.6.war works fine with Tomcat 5.5.23, but blows up during deployment on Tomcat 6.0.13. I'll retry the integration on Tomcat 5.5.23 tomorrow. Ed On 8/9/07, Edward Dowgiallo <[EMAIL PROTECTED]> wrote: > > Adam, > > I've got MyFaces and

Re: [Trinidad] Integration with Tiles

2007-08-09 Thread Edward Dowgiallo
Adam, I've got MyFaces and Trinidad working. The renderkit ID is set correctly. I'm trying to use the JspTilesViewHandlerImpl from Tomahawk. If I comment out the one line assigning this alternate viewer in the faces-config.xml, the non-Tiles JSF pages work fine. Ed On 8/9/07, Adam Winer <[EMAI

Re: [Trinidad] Skinning - Getting started

2007-08-09 Thread Stephen Friedrich
Thanks a million, Nate! That's looking very nice.

Re: [Trinidad] using a custom skin

2007-08-09 Thread Adam Winer
... but unfortunately, navigationPane is specifically not documented there. I cleaned up a lot of the skin selectors doc, but it would be great for someone to take on that remaining task (hint, hint, committers) :) -- Adam On 8/9/07, Simon Lessard <[EMAIL PROTECTED]> wrote: > Hello again Dunia,

Re: [Trinidad] Integration with Tiles

2007-08-09 Thread Adam Winer
I suspect you've not set the renderkit ID to org.apache.myfaces.trinidad.core. I'd start with just getting MyFaces + Trinidad working, and only worrying about Tiles later. And for that matter, I can't say I recommend using Tiles at all, at least not Tiles 1.x, with JSF. -- Adam On 8/9/07, Edwa

Re: How to validate Myfaces .xhtml file

2007-08-09 Thread Stephen Friedrich
Well, IntelliJ Idea can do this. You can run any inspection profile in batch mode. Of course, it's not free - but there's a trial version. But beware, if you try it you might be reluctant to use another IDE again ;-) Si_Simon wrote: I want to validate all .xhtml files in my project for correct

Re: commandLink not working inside dataList? (TOMAHAWK-272)

2007-08-09 Thread Christopher Cudennec
Hi Mike and thanks for the suggestions. Indeed you are right that my bean is request scoped. I talked to some more people today and got the proper understanding of how it works. I also got a workaround for my problem. Thanks, Christopher Mike Kienenberger schrieb: A lot of times this is cau

Re: How to validate Myfaces .xhtml file

2007-08-09 Thread Andrew Robinson
I don't think there is one, but you could create a java program to do it. You would have to recurse through a given directory looking for all xhtml files and load them as a view and look for errors. If you choose this path, to get a head start, look at my testing code for the facelets annotation d

How to validate Myfaces .xhtml file

2007-08-09 Thread Si_Simon
I want to validate all .xhtml files in my project for correct syntax (static analyzer). Is there a program that I can feed a .xhtml to have it show me the violations? I would like to have a program look for and check all .xhtml files for proper syntax and tag usage and report any errors that are

Re: HTML embedded on a

2007-08-09 Thread Michał 'Gandalf' Stawicki
Maybe someting like: ? On 09/08/07, Mike Kienenberger <[EMAIL PROTECTED]> wrote: > If you're using JSF 1.1 and JSP, then you'd need to use , > probably with a CDATA. > > If you're using either facelets or JSF 1.2, then you can just drop it in as > is. > > On 8/9/07, daniel ccss <[EMAIL PROT

Re: HTML embedded on a

2007-08-09 Thread Mike Kienenberger
If you're using JSF 1.1 and JSP, then you'd need to use , probably with a CDATA. If you're using either facelets or JSF 1.2, then you can just drop it in as is. On 8/9/07, daniel ccss <[EMAIL PROTECTED]> wrote: > Anybody?? > > > On 8/9/07, daniel ccss <[EMAIL PROTECTED]> wrote: > > I use a an htm

Re: HTML embedded on a

2007-08-09 Thread daniel ccss
Anybody?? On 8/9/07, daniel ccss <[EMAIL PROTECTED]> wrote: > > I use a an html code to call a javascript that shows a calendar: > > > align="absmiddle" src="../../images/calbtn.gif" width="16" height="16" > border="0" alt=""> >

Re: [Trinidad] popupPanel -- onmouseover, onmouseout, timed close support

2007-08-09 Thread Danny Robinson
I've already implemented the hover functionality, but I'm waiting on 1.0.2release before committing it into 1.0.3. I hadn't thought of your second point, but that would be really great feature. I'll give this some thought and see what we can come up with. On the skinning front for the 'X', you n

Re: myfaces 1.2.0 / trinidat-1.2.1 possible causes of servlet exception

2007-08-09 Thread Duong BaTien
Greetings: What are possible causes for this servlet exception? The exception seems to be at faces servlet processing. This is an updating from working jsf-1.1 app to jsf-1.2 app. As the application starts using normal process of Jsf, StackOverflow is at HashMap. If pointed directly to a page, th

Re: last version of jscook menu is broken

2007-08-09 Thread Gonzalo Nuñez
Hi, Yes, the problem is related to the fix for trinidad. I saw that the patch proposed to solve the issue differ from patch applied to the code. In the code we have this line "if (submitForm === undefined) {" and in the fix proposed we have the following line "if (typeof submitForm=="undefined")

Re: [Trinidad] executing js during PPR

2007-08-09 Thread Matthias Wessendorf
I merge it tomorrow -Matthias On 8/9/07, Adam Winer <[EMAIL PROTECTED]> wrote: > Matthias, could you hold up until I get a chance to look > at the reported problems with umlauts + PPR? I'd really > like to make sure we don't have any major i18n problems > in 1.0.2. > > -- Adam > > > On 8/9/07,

Re: [Trinidad] Multiple dialogs

2007-08-09 Thread Luka Surija
Yes, I tryed to call this method: public String showPopup(){ System.out.println("trigger"); return "dialog:popup"; } and every time i click on link in server log is displayed "trigger", but the popup doesn't show. If I remove partiaSubmit="true" then the page is refreshing so, I don't kn

[Trinidad] popupPanel -- onmouseover, onmouseout, timed close support

2007-08-09 Thread Andrew Robinson
I am wondering if there is an easy way, or if it is planned to have popupPanel open and hide by different methods. Additional method 1: onmouseover of the trigger opens the popup onmouseout of the trigger and the popup closes the popup This would be like the tomahawk popup functionality, but have

[Trinidad] Integration with Tiles

2007-08-09 Thread Edward Dowgiallo
I'm currently trying to integrate MyFaces 1.2.0, Trinidad 1.2.1, and Tiles 1.3.5. I've done a lot of googling on the internet, and after a cut and paste festival am still getting the error: WARNING: Could not find renderer for ... interspersed with WARNING: Unsupported component-family/renderer

Re: Link is not embedded in a form

2007-08-09 Thread daniel ccss
Anybody?? On 8/9/07, daniel ccss <[EMAIL PROTECTED]> wrote: > > What is this: > > Link is not embedded in a form. Change component/tag 'Guardar' from > javax.faces.*/ to > org.apache.myfaces.*/, or embed it in a form. This is not a bug. > > Please see: http://wiki.apache.org/myfaces/Upgrading_to

HTML embedded on a

2007-08-09 Thread daniel ccss
I use a an html code to call a javascript that shows a calendar: The problem is that when I put it beetween the but it doesn´t works. What I can do? Obviously I need to have the code between

Re: Intermediate Page

2007-08-09 Thread Mike Kienenberger
In the past, under WebObjects, I handled this using Meta refresh http://en.wikipedia.org/wiki/Meta_refresh On 8/9/07, Simon Lessard <[EMAIL PROTECTED]> wrote: > Hello Carlos, > > Normally, I do that using Trinidad with a progressIndicator+poll while the > asynchronous process is running and I mak

Re: How to skin inputDate icon?

2007-08-09 Thread Chris Hane
Simon - Thanks. I finally got it to work with your change. The last step is I had to start/stop the server - since I'm using 1.0.0 and the bug fix for hot-deploying a skin came in 1.0.1. Thanks, Chris Simon Lessard wrote: Hello Chris, You got a small error in your selector, the right o

Re: Intermediate Page

2007-08-09 Thread Simon Lessard
Hello Carlos, Normally, I do that using Trinidad with a progressIndicator+poll while the asynchronous process is running and I make the application navigate to the second page when the process reach 100%. With basic JSF, it requires some more work involving JavaScript. Regards, ~ Simon On 8/9/

Intermediate Page

2007-08-09 Thread Carlos Ortiz
Hi, I need to show a intermediate page while loading a second second one [ "Thank you for using our services..." page while loading the result of the search] how i do that on jsf thanks. Vi Veri Veniversum Vivus Vici

Re: [Trinidad] using a custom skin

2007-08-09 Thread Simon Lessard
Hello again Dunia, You can find the selector list at http://myfaces.apache.org/trinidad/skin-selectors.html. Also, you can always check what selectors are being rendered on the client with the help of Firebug (for Firefox browser). Also, if you don't want the selector names to be compressed (makin

AW: [Trinidad] using a custom skin

2007-08-09 Thread Azim, Dunia
Simon, thanks a lot for your extensive comments! So best practice seems to be customizing the respective af|navigationpane selectors and using my own selectors only where there are no defaults. The difficulty with that approach is, that I can't find any specification for the navigationpane sele

Re: commandButtons are not working

2007-08-09 Thread simon
On Thu, 2007-08-09 at 21:49 +0530, Ganesh Surisetty wrote: > Hello! > > in my page i have two command buttons Add and Delete, > when i click on those buttons i am invoking a bean method but > actually they are not getting executed, the page is getting refreshed > and showing the

RE: JSF unrendered comments

2007-08-09 Thread Cormier, Matthieu
Yeah, I saw that on the wiki but it wasn't an option because we occaisionally include javascript in those types of comment tags. M@ -Original Message- From: Andrew Robinson [mailto:[EMAIL PROTECTED] Sent: Thursday, August 09, 2007 2:50 PM To: MyFaces Discussion Subject: Re: JSF unrender

Link is not embedded in a form

2007-08-09 Thread daniel ccss
What is this: Link is not embedded in a form. Change component/tag 'Guardar' from javax.faces.*/ to org.apache.myfaces.*/, or embed it in a form. This is not a bug. Please see: http://wiki.apache.org/myfaces/Upgrading_to_Tomahawk_1.1.3 The path to this component is {Component-Path : [Class: org.a

Re: JSF unrendered comments

2007-08-09 Thread Andrew Robinson
I should also mention works if: facelets.SKIP_COMMENTS true is set for facelets On 8/9/07, Cormier, Matthieu <[EMAIL PROTECTED]> wrote: > Thanks. I'm using facelets, that's why the first version won't work for me. > > -Original Message- > From: Andrew Robinson [mailto:[EMAIL P

RE: JSF unrendered comments

2007-08-09 Thread Cormier, Matthieu
Thanks. I'm using facelets, that's why the first version won't work for me. -Original Message- From: Andrew Robinson [mailto:[EMAIL PROTECTED] Sent: Thursday, August 09, 2007 2:44 PM To: MyFaces Discussion Subject: Re: JSF unrendered comments JSP use <%-- comment --%> Facelets use comme

Re: JSF unrendered comments

2007-08-09 Thread Andrew Robinson
JSP use <%-- comment --%> Facelets use comment On 8/9/07, Michał 'Gandalf' Stawicki <[EMAIL PROTECTED]> wrote: > And why can't you use <%-- --%> ? > > On 09/08/07, Cormier, Matthieu <[EMAIL PROTECTED]> wrote: > > > > > > > > > > Hello all, > > > > > > > > In JSP comments could be written with > >

Re: JSF unrendered comments

2007-08-09 Thread Michał 'Gandalf' Stawicki
And why can't you use <%-- --%> ? On 09/08/07, Cormier, Matthieu <[EMAIL PROTECTED]> wrote: > > > > > Hello all, > > > > In JSP comments could be written with > > <%-- --%> and they would not be rendered to the browser. > > > > I cannot find anything equivalent for JSF. Is there? > > The only so

JSF unrendered comments

2007-08-09 Thread Cormier, Matthieu
Hello all, In JSP comments could be written with <%-- --%> and they would not be rendered to the browser. I cannot find anything equivalent for JSF. Is there? The only solution I can think of is to create a custom tag called comment that does not render it's child data. Thoughts?

Re: How to skin inputDate icon?

2007-08-09 Thread Simon Lessard
Hello Sandeep, I just checked the code and we didn't even maintain backward compatibility on that component, not that I see anyway. Just out of curiosity, what version are you using so that af|selectInputDate::launch-icon still works? Regards, ~ Simon On 8/9/07, sandeep gururaj <[EMAIL PROTECT

Re: [Trinidad] executing js during PPR

2007-08-09 Thread Adam Winer
On 8/9/07, Renzo Tomaselli <[EMAIL PROTECTED]> wrote: > > If I got the right meaning of "rendered as part of a component" this should > be equivalent to: > > > > > alert('Script run after PPR') > > > > Correct ? Well, yes. Though I'd prefer the use of Extended

Re: Bug in trinidad-1.0.2-SNAPSHOT with German umlauts and facelets?

2007-08-09 Thread Adam Winer
Alright, fixed on trunk. I'll try to make sure this gets into the official 1.0.2 release. -- Adam On 8/9/07, Adam Winer <[EMAIL PROTECTED]> wrote: > What I've found in early testing is that: > - Everything works fine if your page is in UTF-8 > - In ISO-8859-1, the very first request is handled

Re: [Trinidad] executing js during PPR

2007-08-09 Thread Renzo Tomaselli
If I got the right meaning of "rendered as part of a component" this should be equivalent to:        
        alert('Script run after PPR')
    Correct ? -- Renzo Danny Robinson wrote: Sample:     FacesContext facesContext = FacesContext.getCurrentInstance();     Extende

Re: [JSF] Custom component - commandLink

2007-08-09 Thread Gary VanMatre
It sounds like you need to add the nested component to the component tree. Try something like this: HtmlCommandButton b = (HtmlCommandButton) this.getChildren().get(0); if (b == null) { HtmlCommandButton b = (HtmlCommandButton) context.getApplication().createComponent (HtmlCommandButton.

commandButtons are not working

2007-08-09 Thread Ganesh Surisetty
Hello! in my page i have two command buttons Add and Delete, when i click on those buttons i am invoking a bean method but actually they are not getting executed, the page is getting refreshed and showing the same page again help me... Thanks in advance,

Re: [Trinidad] using a custom skin

2007-08-09 Thread Simon Lessard
Hello Dunia, See my comments below. Regards, ~ Simon On 8/9/07, Azim, Dunia <[EMAIL PROTECTED]> wrote: > > > Hi there, > > is there any reliable documentation or complete example on how to > implement Trinidad Skins? > After going through all documentation on > http://myfaces.apache.org/trinid

displaying groupby values using DataTable ..help required.

2007-08-09 Thread Ganesh Surisetty
Hi,, In the datatable i am displaying salary , bonus and department details employee wise, below that ...i want to display totals of all the department salaries (one record per one department) in a table. right now i could display employee individaul data using the POJO class. can c

Re: Bug in trinidad-1.0.2-SNAPSHOT with German umlauts and facelets?

2007-08-09 Thread Adam Winer
What I've found in early testing is that: - Everything works fine if your page is in UTF-8 - In ISO-8859-1, the very first request is handled poorly; subsequent requests seem to work fine I know that XMLHttp requests are *always* delivered as UTF-8, and this is likely the issue here - the chara

Re: [Trinidad] executing js during PPR

2007-08-09 Thread Danny Robinson
Sample: FacesContext facesContext = FacesContext.getCurrentInstance(); ExtendedRenderKitService service = (ExtendedRenderKitService) Service.getRenderKitService(facesContext, ExtendedRenderKitService.class); service.addScript(facesContext, "alert('Script added by ExtendedRenderKi

Re: commandLink not working inside dataList? (TOMAHAWK-272)

2007-08-09 Thread Mike Kienenberger
A lot of times this is caused because the developer made the backing list for the t:dataTable request-scoped, or made the rendered attribute value for the commandList request-scoped. On 8/9/07, Christopher Cudennec <[EMAIL PROTECTED]> wrote: > Hi everybody, > > I can't get the commandLink to work

Problem with sending files

2007-08-09 Thread Emanuele Gesuato
Hi there, I've an action binded to a button; this action send a file to a browser. The content of the method is similar to what's written in the wiki (http://wiki.apache.org/myfaces/Sending_Files). In the same method i add the rendered property of the button to false but once clicked the butto

global error handling (especially exception in backing bean)

2007-08-09 Thread Thomas Fischer
Hi all, I'm rather a JSF newbie and I am wondering about a good way to do error handling. In my previous pre-JSF web apps (i.e. Struts 1), error handling had the following features: - one could define a global error handler, no need to define it on every view - one could read information about t

Re: [Trinidad] executing js during PPR

2007-08-09 Thread Renzo Tomaselli
Great ! Your statement makes less important to hook into PPR completion by some dedicated js api, since this will be possible in any case by including some js snippet in a target region. -- Renzo Adam Winer wrote: In fact, in 1.0.2, scripts that are rendered as part of a component or via E

[Trinidad] using a custom skin

2007-08-09 Thread Azim, Dunia
Hi there, is there any reliable documentation or complete example on how to implement Trinidad Skins? After going through all documentation on http://myfaces.apache.org/trinidad/release.html (Skin Selector Keys and Converting from ADF to Trinidad) and studying the Demo-Examples, we neither f

Re: [Trinidad] Multiple dialogs

2007-08-09 Thread Adam Winer
I agree, that doesn't make any sense... are you sure your action is really getting called at all? -- Adam On 8/9/07, Luka Surija <[EMAIL PROTECTED]> wrote: > Maybe I've found the problem, but it doesn't make any sense. > > If I call a dialog like this: > > > then the popup window is opening,

Re: [Trinidad] executing js during PPR

2007-08-09 Thread Adam Winer
Matthias, could you hold up until I get a chance to look at the reported problems with umlauts + PPR? I'd really like to make sure we don't have any major i18n problems in 1.0.2. -- Adam On 8/9/07, Matthias Wessendorf <[EMAIL PROTECTED]> wrote: > @102 release, I return tonight from a business

Re: [Trinidad] executing js during PPR

2007-08-09 Thread Adam Winer
In fact, in 1.0.2, scripts that are rendered as part of a component or via ExtendedRenderKitService *will* get executed, and exactly once, in the proper context (the parent document). Anything added via ExtendedRenderKitService will get rendered after all of the other PPR contents. We'll also dyn

Re: Bug in trinidad-1.0.2-SNAPSHOT with German umlauts and facelets?

2007-08-09 Thread Adam Winer
I'll try to have a look at this today (this'd be an important bug to nail before releasing 1.0.2.) -- Adam On 8/9/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi, > > i've probably found a bug with german umlauts and PPR in trinidad > 1.0.2-SNAPSHOT in combination with facelets. > After a

Re: autoSubmit=true

2007-08-09 Thread Adam Winer
OK, well that's rather different. No, that's not supported - we call renderResponse() during Apply Request Values on return, and the actual model update is delayed until the next go-around. In theory, you could call processValidators() followed by processUpdateModel() on a component subtree in yo

RE: [Trinidad] Skinning - Getting started

2007-08-09 Thread Perkins, Nate-P63196
I created my css directly from the oracle.xss You should use the following structure -public_html -skins oracle-skin.css -images panel-light_bottom-start.png, etc Nate Perkins 480-441-3667 [EMAIL PROTECTED] >This email message is for the sole use of the intended recipient(s) a

RE: [Trinidad] Skinning - Getting started

2007-08-09 Thread Perkins, Nate-P63196
I'm attaching my oracle skin, I believe it is very close to the Oracle look and feel without having the rendered buttons. (I apologize for having to attach each image individually, our email filters are rather strict :)) The images are for the light panelBox (which is the default) They could easi

Re: [JSF] Custom component - commandLink

2007-08-09 Thread Andrew Robinson
You have a few problems with that code. 1) You should set the parent of the component, this causes issues with many components 2) You should mark the component as transient, which should be done for components that will not be saved into the component tree 3) You should set an ID of the component,

RE: How to skin inputDate icon?

2007-08-09 Thread sandeep gururaj
Thanks Simon for this information. ~Sandeep From: Simon Lessard [mailto:[EMAIL PROTECTED] Sent: Thursday, August 09, 2007 8:16 PM To: MyFaces Discussion Subject: Re: How to skin inputDate icon? Hello Sandeep, Yeah, we support both for backward compatibil

Re: How to skin inputDate icon?

2007-08-09 Thread Simon Lessard
Hello Sandeep, Yeah, we support both for backward compatibility but, if my memory serve me well, af|inputDate has priority over selectInputDate and is actually faster (saves an == null condition as well as a Map.get()... ok that's not so much faster, but still !!!) Regards, ~ Simon On 8/9/07,

Re: How to skin inputDate icon?

2007-08-09 Thread Simon Lessard
Hello Chris, You got a small error in your selector, the right one is af|inputDate::launch-icon (note the double colons) While at it, here's the rules for urls placed within skins. All examples assume an application using /myApp context path and using the following directory structure: - /s

RE: How to skin inputDate icon?

2007-08-09 Thread sandeep gururaj
I am using tr:inputDate and I use the following in my skin file. af|selectInputDate::launch-icon { content:url(/iAdvisorWeb/bundles/ic/skins/FND/images/datepicker.gif); vertical-align:top; } ~Sandeep From: Angel Miralles Arevalo [mailto:[E

Re: How to skin inputDate icon?

2007-08-09 Thread Angel Miralles Arevalo
I don't Know which component you are using but try with: It has the attribute "popupButtonImageUrl" to load an image... - Mensaje original De: Chris Hane <[EMAIL PROTECTED]> Para: users@myfaces.apache.org Enviado: jueves, 9 de agosto, 2007 16:01:05 Asunto: How to skin inputDate icon?

Re: [Trinidad] executing js during PPR

2007-08-09 Thread Danny Robinson
So no script will ever get executed in the context of the AJAX request. Unlike the pprIFrame (which caused the browser to actually parse and render the whole page inside the hidden iframe, thus executing script also), an AJAX request is simply a receive of some text content through a pipe with no p

Re: commandButton

2007-08-09 Thread ignicolist
Tks Angel, for the help. Here is my solution to may problem: and the backing bean public void add(ActionEvent event) { UIParameter parameter = (UIParameter) event.getComponent().findComponent("entidadeId"); long idEn

[JSF] Custom component - commandLink

2007-08-09 Thread Pawel . Czerwinski
Hi, I'm developing some simple custom component, and I'm facing a problem I cannot resolve and understand, so I will really appreciate any help. I have this piece of code: public void encodeBegin(FacesContext c) throws IOException { HtmlCommandButton b = (HtmlCommandButton) context.get

How to skin inputDate icon?

2007-08-09 Thread Chris Hane
How can I skin the inputDate launch icon? I have tried variations of this: af|inputDate:launch-icon { content:url(../ires/chris/images/dfb.gif); } When I use firebug it shows the icon being generated from: adf/images/dfb.gif and not my icon defined in the skin file. Is there anything ob

Bug in trinidad-1.0.2-SNAPSHOT with German umlauts and facelets?

2007-08-09 Thread daniel.niklas
Hi, i've probably found a bug with german umlauts and PPR in trinidad 1.0.2-SNAPSHOT in combination with facelets. After a PPR-Request within a panelTabbed the submitted values, which contains german umlauts, are broken. The encoding of the xhtml-file ist ISO-8859-1, even to support values with g

commandLink not working inside dataList? (TOMAHAWK-272)

2007-08-09 Thread Christopher Cudennec
Hi everybody, I can't get the commandLink to work inside the dataList. The event is not processed and therefore the actionListener never gets called. This sounds like the above bug ticket that is supposed to be solved. I use MyFaces 1.1.5 and Tomahawk 1.1.6. Can anybody confirm or comment abou

Re: [Trinidad] Multiple dialogs

2007-08-09 Thread Luka Surija
Maybe I've found the problem, but it doesn't make any sense. If I call a dialog like this: then the popup window is opening, but if I call : and showPopup method is like this: public String showPopup(){ return "dialog:popup"; } then nothing happens (popup window is not opening, and there

Re: [Trinidad] executing js during PPR

2007-08-09 Thread Renzo Tomaselli
Thanks Danny, meanwhile I wonder why we shouldn't expect for a js chunk included in a PPR target not to be executed at some point during the PPR cycle. Perhaps this is a matter of semantics, but I would expect the same rendering behavior as for full page rendering. I mean js should execute duri

Re: [Trinidad] executing js during PPR

2007-08-09 Thread Matthias Wessendorf
@102 release, I return tonight from a business trip, will deliver the artifacts by tonight / tomorrow morning (those to vote on) -M On 8/9/07, Danny Robinson <[EMAIL PROTECTED]> wrote: > Renzo, > > I suggest you don't count on this behaviour, as the 1.0.2 release due any > time soon switches to u

Re: [Trinidad] executing js during PPR

2007-08-09 Thread Danny Robinson
Renzo, I suggest you don't count on this behaviour, as the 1.0.2 release due any time soon switches to using AJAX rather than the _pprIFrame. This means your script won't get executed at all in IE, and once in Firefox. There's talk of some hooks into the AJAX routines to provide hooks when updat

Re: commandButton

2007-08-09 Thread Angel Miralles Arevalo
I don't undestand very well what you want to do but try with: Then in backing bean you can get param value like this: this.operation = (String)getApplication().createValueBinding("#{param.operation}").getValue(facesContext); I hope it will help you. - Mensaje or

commandButton

2007-08-09 Thread ignicolist
Hi, i have this code: when i do save just pass the value that is selected in selectItem (0,1,2, or 3) So what i want its s

Re: Browser Back Button

2007-08-09 Thread simon
On Wed, 2007-08-08 at 23:53 +0100, Francisco Passos wrote: > Simple jsf apps can be written without session-scoped beans, > but it > takes some effort to avoid them in larger apps. The > t:saveState tag > doesn't really scale ;-) > > It's a shame to hear th

RE: autoSubmit=true

2007-08-09 Thread Anthony Yulo
Alright. Thanks Adam. What I really want to do has something to do with the Dialog framework. I want to submit the form on the main page when the Dialog page returns. I understand that the main page doesn't get through the whole JSF Lifecyle phase, when the dialog page returns. I need to ge

commandLink not working inside dataList? (TOMAHAWK-272)

2007-08-09 Thread Christopher Cudennec
Hi everybody, I can't get the commandLink to work inside the dataList. The event is not processed and therefore the actionListener never gets called. This sounds like the above bug ticket that is supposed to be solved. I use MyFaces 1.1.5 and Tomahawk 1.1.6. Can anybody confirm or comment abou

Revisiting the Tree2 Wiki post

2007-08-09 Thread kewldude
It was mention in the wiki page that there are different ways of lazy loading the contents of the tree2 components. Also, the first approach encountered a problem in capturing the +/- event in his code. The bad thing is that the + icon is now invisible, but i couldn't find a way to get the event

[Trinidad] executing js during PPR

2007-08-09 Thread Renzo Tomaselli
Hi, I noticed a strong asymmetry while executing a js block included into a PPR target: on IE this runs once, in the context of _pprIFrame. On FF it runs twice, once in the context of _pprIFrame and then in the context of the original page, after PPR modifications have been applied to the dom. W