Re: [Orchestra] Orchestra and ajax

2007-06-29 Thread Mario Ivankovits
Hi Michael! Thanks, I will have a look at it over the weekend. Ciao, Mario Hi, the problem seems to be the first partial submit. After that a new Conversation is created. On subsequent partial submits it works like expected. You can see that with the included war (no jars included,

AW: [Trinidad] Causing Too many open files error?

2007-06-29 Thread Fleischer Peter
Hi Adam, yesterday Matthias sent me a 1.0.2-SNAPSHOT (tanks again!). I did some further testing with Tomcat and having the antiJarLocking option set to true in the the context.xml. With these settings I think I was able to track down the problem to a list of filenames as follows: java

Re: Expression language, testing size of collections

2007-06-29 Thread Stefano Panero
Thank a lot! 2007/6/28, Christopher Cudennec [EMAIL PROTECTED]: Try those URLs to begin with: [1] http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JSPIntro7.html [2] http://java.sun.com/products/jsp/jstl/1.1/docs/tlddocs/index.html Stefano Panero schrieb: Hi, extendig subject... where I can

RE: [Trinidad] skin-selectors

2007-06-29 Thread Darren McEntee
Thanks for the reply Peter, Here is the current state of my component: http://www.traxmusic.org/work/selectManyShuttle.png But I would like to customise the wording of the move, move All etc... Is that possible? Or have the text above or below each icon, to make it align properly.

Re: [Trinidad] skin-selectors

2007-06-29 Thread Matthias Wessendorf
Darren, there was an issue, filed by Simon, to enable customization of MessageBundle Strings: https://issues.apache.org/jira/browse/ADFFACES-417 The move, moveall,... are defined in CoreBundle file, and AFAIK it's not possible to customize the Strings. When you look at the English CoreBundle

Re: [Trinidad] skin-selectors

2007-06-29 Thread Matthias Wessendorf
I would expect the Button ontop of the string, but looks like it renders a ... button/a a ... text /a ... -M On 6/29/07, Darren McEntee [EMAIL PROTECTED] wrote: Thanks Matthias, Looks like I'll have to stick to what I have. Is it possible to do something like this?: -

RE: [Trinidad] skin-selectors

2007-06-29 Thread Darren McEntee
Is there anything with the skin selectors attributes, that can alter this, that you know of? Thanks, Darren. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthias Wessendorf Sent: 29 June 2007 10:49 To: MyFaces Discussion Subject: Re: [Trinidad]

AW: [Trinidad] Skin-Bug on AIX

2007-06-29 Thread Döring Markus
Hello, the folder \adf\styles\cache exists on the AIX machine, and there are also .css files generated into the folder( scis-desktop-1_0_0-incubating-en-ie-6.css scis-desktop-1_0_0-incubating-ie-6.css ) The demo could not be deployed because the AIX and the WebSphere running on Java1.4. For our

Re: inputHtml rich text editor

2007-06-29 Thread Fernando Amorim
Hello kal, have you resolve this problem? Because i have the same problem On 4/5/07, kal stevens [EMAIL PROTECTED] wrote: I am trying to get the inputHtml tag to work. Right now it is just a text editor, but does not have any rich text formatting, it appears to have no javascript

RE: how to reset submitted values caused by validation errors ?

2007-06-29 Thread Michael Heinen
Hi Simon, submittedValue is not transient. Class javax.faces.component.UIInput contains following not transient definition: private Object _submittedValue = null; The submitted value is also saved in method saveState: values[4] = _submittedValue; Moreover I don't use

Re: [Trinidad] Skin-Bug on AIX

2007-06-29 Thread Matthias Wessendorf
So, the retroweaved version on windoze and WebSphere, running on Java1.4, works fine ? Any chance to *test* on AIX w/ WebSphere and Java5 ? Just to test the skins? Just curious. -M On 6/29/07, Döring Markus [EMAIL PROTECTED] wrote: Hello, the folder \adf\styles\cache exists on the AIX

RE: how to reset submitted values caused by validation errors ?

2007-06-29 Thread Michael Heinen
Hi Andrew, yes, the control is reRendered and part of the reRendered attribute of the cancel-button. If I place a t:outputText with the identical valueBinding before the t:inputText then the right value is displayed as normal text. But the inputText contains the old submitted value, which is

Re: [Trinidad] Skin-Bug on AIX

2007-06-29 Thread Abhijit Ghosh
Also,if the CSS files are generated,what prevents the browser from displaying it? If the CSS file can be downloaded by the browser,it should apply it. 1.Can you please try deleting the cached CSS files to see if they get regenerated? If they get re-generated we know skin-generation is working

Re: inputHtml rich text editor

2007-06-29 Thread Abhijit Ghosh
Hi, Do you see any javascript errors? Which browser does this problem occur in? -- Abhi On 6/29/07, Fernando Amorim [EMAIL PROTECTED] wrote: Hello kal, have you resolve this problem? Because i have the same problem On 4/5/07, kal stevens [EMAIL PROTECTED] wrote: I am trying to get the

RE: [Trinidad] How To Add Custom Component Resources Other Than Script

2007-06-29 Thread William Hoover
Thanks for the info Adam! I do have an additional question concerning this. I haven't looked in to this for a while but I remember at one point the org.apache.myfaces.trinidadinternal.renderkit.core.pages.GenericEntry - FredJSP.service used for dialogs having an issue with servlet-mapping:

[Tobago] Adding custom message to tc:sheet

2007-06-29 Thread Ramarao Venkata
Hi all, When using tc:sheet and no rows are present. It was displayed a message No rows present. Instead of this i need add some custom message. Kindly suggest in this regard regards Ramarao

Re: [Trinidad] Skin-Bug on AIX

2007-06-29 Thread Matthias Wessendorf
I see. So, you don't get warnings/errors/exceptions ? Anything noticed, during debugging Trinidad ? -M On 6/29/07, Döring Markus [EMAIL PROTECTED] wrote: Yes, retroweaved version works fine on windows + WebSphere and also on windows + JBoss, only AIX + WebSphere makes problems. Because the

AW: [Trinidad] Skin-Bug on AIX

2007-06-29 Thread Döring Markus
Yes, retroweaved version works fine on windows + WebSphere and also on windows + JBoss, only AIX + WebSphere makes problems. Because the AIX is located at our costumer and they are very careful with software updates on these machines I don't think testing on AIX with Java5 is an option. I wish

Re: how to reset submitted values caused by validation errors ?

2007-06-29 Thread Andrew Robinson
Submitted values should not be transient. According to the JSF spec, they are to be replaced during the decode phase. If the control is never decoded (like with some use cases using an a4j:region), the submitted value will never be changed. The idea of keeping the submitted value around is so

Problem with JSCookMenu on a Tomcat redirected jsf page

2007-06-29 Thread Laurentiu Trica
Hi I have a JSF error page for my application and I set Tomcat to redirect the PAGE_NOT_FOUND error to this page. The JSF error page contains the JSCookMenu component, for which I added the ExtensionFilter into web.xml The problem is that when being redirected byTomcat to the error page, the

Re: inputHtml rich text editor

2007-06-29 Thread Fernando Amorim
In IE and Firefox, hava the same problem. I don't have the code right now, but there is an error message that says: component have no properties. I dont remenber the name of the compoent, but is typically java script error but i have download the example of tomawak and everthing is functional

RE: how to reset submitted values caused by validation errors ?

2007-06-29 Thread Michael Heinen
Andrew, Thanks for discussing this with me. I think this is a major downside in the JSF implementation and makes the usage with AJAX very difficult, inconvenient or even impossible. This would mean that I have to use component bindings for all values that are converted to Non-Strings or

Re: [Trinidad] skin-selectors

2007-06-29 Thread Simon Lessard
Hello Darren The issue I filled was about error messages mainly. Shuttle labels are controlled by the skin's resource bundle. I already tried a vote to remove that feature, but as Adam rightfully answered me, we need that feature to set title and shortDesc of icons for screenreaders or in case

Re: inputHtml rich text editor

2007-06-29 Thread Fernando Amorim
The component does not have any rich text formatting, it appears to have no javascript capabiliites, and it does not submit the text to my bean. On 6/29/07, Abhijit Ghosh [EMAIL PROTECTED] wrote: Hi, Do you see any javascript errors? Which browser does this problem occur in? -- Abhi On

Re: how to reset submitted values caused by validation errors ?

2007-06-29 Thread Simon Lessard
Hello Micheal, I thought about it and making the submitted value transient is not so good because of the way values are submitted. I mainly use Trinidad though so I don't know if it's always the case, but only value that actually changed seems to be submitted. As a consequence, if the user enter

Re: how to reset submitted values caused by validation errors ?

2007-06-29 Thread Andrew Robinson
You need to consider that changing values in action methods that UIInput components are bound to can get tricky with AJAX and partial updates. You are trying to create behavior that is against the JSF specification. Now, you site this as a downside, I view it as a lack of functionality that you

Re: Tomahawk: dataTable with detailToggle problem

2007-06-29 Thread Vladimir Isakovich
I just slept over this problem, and this is what I've done to resolve it: I initiated collections of orders in all customers with empty collections: list = (ListCustomer)super.getList(from xyz.persist.domain.Customer); for(int i=0; i list.size(); i++)//initialize collections

[Trinidad] InputSuggestAjax not working after include Trinidad

2007-06-29 Thread Dennys
Hi, I was using perfectly well sanbox InputSuggestAjax with myfaces and ajax4jsf. But when I try to include Trinidad to this project, this component (InputSuggestAjax) don´t work anymore. It simply send a submit form. I try to update myfaces, tomahawk and sandbox libs too , but I have no

InputSuggestAjax not working after include Trinidad

2007-06-29 Thread Dennys
Hi, I was using perfectly well sanbox InputSuggestAjax with myfaces and ajax4jsf. But when I try to include Trinidad to this project, this component (InputSuggestAjax) don´t work anymore. It simply send a submit form. I try to update myfaces, tomahawk and sandbox libs too , but I have no

Re: Expression language, testing size of collections

2007-06-29 Thread David Delbecq
Thanks :D En l'instant précis du 28/06/07 11:28, Christopher Cudennec s'exprimait en ces termes: Hi David, try this EL-Expression: rendered=#{not empty yourCollectionName} Cheers, Christopher David Delbecq schrieb: Hello, i'm facing an issue with EL in JSF. I have a collection of

RE: how to reset submitted values caused by validation errors ?

2007-06-29 Thread Michael Heinen
Congratulations but you'll have much time from now on because you will not sleep late any more :-)) I'm experiencing this right now. Back to topic: The new component you mentioned sounds promising. I think it's important that you can specify multiple values in the for-attribute as we can do in

Re: [Trinidad] skin-selectors

2007-06-29 Thread Jeanne Waldman
Hi Darren I wanted to add a little bit of detail. You can see in the trinidad-skins.xml in the demo bundle how you can add a resource bundle name: skin id purple.desktop /id family purple /family render-kit-id org.apache.myfaces.trinidad.desktop /render-kit-id style-sheet-name

RE: how to reset submitted values caused by validation errors ?

2007-06-29 Thread Michael Heinen
Hi Simon, I don't know Trinidad, but I think that all values are submitted (or better those of the specified region in case of ajax/subforms). If a value is not submitted how could you test whether it had changed? But maybe my view of this world is not correct Maybe I 'll try to

Re: how to reset submitted values caused by validation errors ?

2007-06-29 Thread Simon Lessard
Well, I had that issue quite recently with a special multi field validation component I made. The submitted and local value was not set on the components whose value didn't change, causing a null value to be passed to the validation method. Anyway, I'll have to retry that with latest builds and

Re: [Trinidad] How To Add Custom Component Resources Other Than Script

2007-06-29 Thread Adam Winer
On 6/29/07, William Hoover [EMAIL PROTECTED] wrote: Thanks for the info Adam! I do have an additional question concerning this. I haven't looked in to this for a while but I remember at one point the org.apache.myfaces.trinidadinternal.renderkit.core.pages.GenericEntry - FredJSP.service used

Re: how to reset submitted values caused by validation errors ?

2007-06-29 Thread Andrew Robinson
Do you really think it will be that many components? This will only happen if you change the values for components without using the components to make the change. I don't see that as a very common use case. BTW - on that subject I do think JSF needs more component-interdependent code (one

RE: [Trinidad] How To Add Custom Component Resources Other Than Script

2007-06-29 Thread William Hoover
Should we open a Jira issue? -Original Message- From: Adam Winer [mailto:[EMAIL PROTECTED] Sent: Friday, June 29, 2007 12:05 PM To: MyFaces Discussion Subject: Re: [Trinidad] How To Add Custom Component Resources Other Than Script On 6/29/07, William Hoover [EMAIL PROTECTED] wrote:

Re: 1.2.0-SNAPSHOT Stack Overflow on getELContext

2007-06-29 Thread Adam Winer
I suspect that what we're seeing here is one of the many nasty details of making a JSF 1.2 implementation support running a JSF 1.1 library. In this case, Trinidad has a subclass of FacesContext, but because it's 1.1 based, it can't override getELContext(). Whatever the default implementation

Re: [Trinidad] Causing Too many open files error?

2007-06-29 Thread Adam Winer
These files should at most get locked once, and only at startup, and the first GC should flush them... Are you really seeing repeated locks on these files? Could you show your web.xml? -- Adam On 6/29/07, Fleischer Peter [EMAIL PROTECTED] wrote: Hi Adam, yesterday Matthias sent me a

RE: how to reset submitted values caused by validation errors ?

2007-06-29 Thread Michael Heinen
Well I am currently developing such a beast, a kind of a complex editor. The most complex screen has about 30 ajax buttons, a few datatables on various layers including datascrollers and inside the datatables are additional ajax links in every row. Therefore I meant that this clearListener would

[Trinidad] tr:panelTabbed examples?

2007-06-29 Thread Francisco Passos
Hello there. I'm evaluating the usage of a panelTabbed. Are there any working examples of this component? The only example I have is from an ADF Faces app, which uses af:menuTabs, but http://wiki.apache.org/myfaces/Trinidad_renaming does not mention any changes to this component. Thanks,

Turn off html character escaping

2007-06-29 Thread Safurudin Mahic
I'm trying to get facelets to render my css files (especially neet to get the url(#{facesContext.ex Reccomended by some of the guys on the facelets mailing list, I first tried to do f:view contentType=text/css.../f:view This went badly, because the html renderer kit for myfaces doesn't support

extending t:inputText to support oninput, onpaste, oncut

2007-06-29 Thread eric . jung
Hi, I want to support non-standard event handlers like oninput, onpaste, oncut in t:inputText. I know I can create my own tag (and tld), extend HtmlInputText, and extend HtmlTextRenderer to accomplish this, but is there a lighter way to achieve the same thing? Thanks, Eric Jung

Make commandLink open in a new window

2007-06-29 Thread Hannum, Daniel
Hi, I'm using Trinidad 1.0.1 and I am having trouble making a commandLink open its contents in a separate window. It's a Print button, and so I use setActionListener to pass a param so the page renders slightly differently. It works, but the page always opens in the same browser window.

Re: 1.2.0-SNAPSHOT Stack Overflow on getELContext

2007-06-29 Thread noah
On 6/29/07, Matthias Wessendorf [EMAIL PROTECTED] wrote: can you give us the complete stack trace ? Yes, the rest is javax.faces.context.FacesContext.getELContext(FacesContext.java:40) repeated about a hundred times :) On 6/28/07, noah [EMAIL PROTECTED] wrote: On 6/28/07, noah [EMAIL

Refresh View after HTTPSession Timeout

2007-06-29 Thread Chris Hane
I have a generic search screen (standard input form) that displays the results on the next page using a tr:table. If the user hits the refresh button any time prior to the HTTPSession timeout, then the form is resubmitted and the search generated again (could display different results if the

Re: Refresh View after HTTPSession Timeout

2007-06-29 Thread Simon Lessard
Hello Chris, I don't see any easy way as if the session timed out you have no way to associate the request with the user therefore you cannot know what the user was searching. You could always persist that data elsewhere, but you would still have the problem of linking that info to the incoming

[Trinidad] Refresh View after HTTPSession Timeout

2007-06-29 Thread Chris Hane
I have a generic search screen (standard input form) that displays the results on the next page using a tr:table. If the user hits the refresh button any time prior to the HTTPSession timeout, then the form is resubmitted and the search generated again (could display different results if the

Re: [Trinidad] Refresh View after HTTPSession Timeout

2007-06-29 Thread Chris Hane
That's what I was afraid the answer was going to be. I was hoping since all of the data parameters were passed back in on the browser refresh that there might be something I could do. I've thought about the increasing the timeout (which is 30 minutes right now), however to make sure the user

Bug in t:div tag??

2007-06-29 Thread Marty Bergerud
I am experiencing a problem with the t:div tag, I cannot load the styleClass attribute from a backing bean. (The styleClass works fine when it is a static entry) The funny thing is that I can pass a completely wrong backing bean expression and Faces does not detect the error. Can someone

Re: Refresh View after HTTPSession Timeout

2007-06-29 Thread Marty Bergerud
You can save the page's viewstate on the browser by adding this entry to your web.xml file context-param param-namejavax.faces.STATE_SAVING_METHOD/param-name param-valueclient/param-value /context-param That way the page view is restored even after a session timeout.

Re: [Trinidad] How To Add Custom Component Resources Other Than Script

2007-06-29 Thread Adam Winer
Please :) -- Adam On 6/29/07, William Hoover [EMAIL PROTECTED] wrote: Should we open a Jira issue? -Original Message- From: Adam Winer [mailto:[EMAIL PROTECTED] Sent: Friday, June 29, 2007 12:05 PM To: MyFaces Discussion Subject: Re: [Trinidad] How To Add Custom Component Resources

Re: [Trinidad] tr:panelTabbed examples?

2007-06-29 Thread Adam Winer
Actually, the Wiki page shows the renaming: panelTabbed was formerly called showOneTabs. There's an example in trinidad-demo. -- Adam On 6/29/07, Francisco Passos [EMAIL PROTECTED] wrote: Hello there. I'm evaluating the usage of a panelTabbed. Are there any working examples of this

Re: Turn off html character escaping

2007-06-29 Thread Adam Winer
The issue would be that MyFaces is creating an HtmlResponseWriter even though it's not HTML. Hard to blame it, though. The general intent here is for XML-type languages. In this scenario, I'd probably recommend that Facelets specifically intercept text/css and text/plain to create an internal

Re: [Trinidad] Refresh View after HTTPSession Timeout

2007-06-29 Thread Scott O'Bryan
Hey Chris, it's kind of hokey, but if your url contains all the data you need you might be able to create a bunch of managed properties on a managed bean and bind them to the request parameter mappings. You could then use that managed bean to populate the values in your components. :)

Weird problem with myfaces

2007-06-29 Thread Titi Wangsa
ehlo to all i'm using myfaces 1.1.5 and tomahawk 1.1.5 and shale 1.0.3 i;m having a VERY weird problem with myfaces.. i have a submit button the submit button call a function that does some processing i added a logging function to display the session id and remote ip of the user that clicked

Re: Make commandLink open in a new window

2007-06-29 Thread Andrew Robinson
What is your browser? Firefox has features to disable opening links in new windows using: _new, _blank If so, you need to reconfigure firefox to allow these to open. There is no way for a web developer to override the behavior. On 6/29/07, Hannum, Daniel [EMAIL PROTECTED] wrote: Hi,

Re: Weird problem with myfaces

2007-06-29 Thread Andrew Robinson
try adding t:messages globalOnly=false / to the from page to see if there are JSF messages. On 6/29/07, Titi Wangsa [EMAIL PROTECTED] wrote: ehlo to all i'm using myfaces 1.1.5 and tomahawk 1.1.5 and shale 1.0.3 i;m having a VERY weird problem with myfaces.. i have a submit button the submit

Re: Bug in t:div tag??

2007-06-29 Thread Andrew Robinson
Is your bean returning null? Try this to ensure that the tag/component is working: t:div forceId=true id=searchClosed styleClass=#{'abcd'} 123 /t:div If that works, then you know it is the code. As for not throwing an error, I'm not sure of the situations where Base is null is thrown, or

Re: Weird problem with myfaces

2007-06-29 Thread Titi Wangsa
yes. that's what i initially thought but the form fields are empty if there was an error in validation/conversion then the values would be redisplayed but in my case the values are gone.. and this happens sometimes i key in some data.. i click the button, i get the next page. someone else keys

Re: [Trinidad] Refresh View after HTTPSession Timeout

2007-06-29 Thread Chris Hane
Scott - thanks for the pointer. I actually ended up doing something very similar by using a feature of Seam that in essence let's me do this without any extra coding on my part. There is a feature called Page Actions that let's me associate parameters (and a whole bunch of other stuff) with a

Re: [Trinidad] Refresh View after HTTPSession Timeout

2007-06-29 Thread Chris Hane
Marty - thanks for the help. Actually even with client state saving, the Trinidad framework save state on the server (and actually, I have the State saving method set to client) and just a token on the client. I'm not sure of all the things going on here, I'm just reporting what I am seeing.