Re: sandBox not working

2007-02-01 Thread Cagatay Civici
Satish, Dojo stuff has been moved to tomahawk so you need the use tomahawk 1.1.5snapshot instead of 1.1.3. Cagatay On 2/1/07, dasara [EMAIL PROTECTED] wrote: hai cagatay, thanks for reply, i am using tomahawak version1.1.3. and myfaces 1.1.4. i hope this can help me. thanks,

Re: Dojo widgets not working on IE

2007-02-01 Thread Werner Punz
Ok Joshua I got a hint from one of the other devs I am investigating into the problem as we speak. Werner Joshua Pheneger schrieb: Running jboss/myFaces-sandbox/winxp (dev env)/single core proc/ie6/ff2. Regards, Joshua Pheneger Original Message From: Werner Punz [EMAIL

Re: Enable/Disable Editing of Form Fields based on User Roles

2007-02-01 Thread Cagatay Civici
Hello, Please see, http://wiki.apache.org/myfaces/SecurityContext Regards, Cagatay On 1/31/07, bansi [EMAIL PROTECTED] wrote: I know JSF/MyFaces has disable attribute but wondering how do i enable/disable based on user roles . My other question is how do i pass userId from JSF page to

Re: jscookMenu with outputLink?

2007-02-01 Thread Ingmar Lötzsch
correction Set action to javascript:window.open('http://...', '_blank'). In this case the target/form name is interpreted as target. should be Set action to javascript:window.open('http://...', '_blank'). In this case the target/form name is ignored.

Re: jscookMenu with outputLink?

2007-02-01 Thread Ingmar Lötzsch
I'am using Tomahawk 1.1.3 and I'am not a developper of MyFaces. My menu is created dynamically in PageBean because it depends on permissions and developement progress. That means that the NavigationMenuItem objects were not declared in JSP. When you look at MyFacesHack.js you find 3 possibilities

Re: s:inputSuggestAjax - encoding Problem

2007-02-01 Thread Gerald Müllan
Hi Birgit, thx for pointing this out; There are more than one jiras related on this topic. Issue http://issues.apache.org/jira/browse/TOMAHAWK-322 is already unresolved. So, i keep 748 closed. cheers, Gerald On 1/31/07, Birgit Kaschte [EMAIL PROTECTED] wrote: Hi, thanks Gerald for the

Re: sandBox not working

2007-02-01 Thread jaguar
Dear Cagaty, can u send me download link plz thanks.. Cagatay Civici wrote: Satish, Dojo stuff has been moved to tomahawk so you need the use tomahawk 1.1.5snapshot instead of 1.1.3. Cagatay On 2/1/07, dasara [EMAIL PROTECTED] wrote: hai cagatay, thanks

Re: How to configure sandbox components

2007-02-01 Thread Gerald Müllan
Hi, if you use latest sandbox version, you also have to use latest tomahawk. Dojo stuff was moved over to tomahawk a few weeks ago. So, this should address the problem with the missing class. cheers, Gerald On 2/1/07, dasara [EMAIL PROTECTED] wrote: Hai All, I'm working with sandbox

Re: sandBox not working

2007-02-01 Thread Gerald Müllan
http://people.apache.org/builds/myfaces/nightly/ On 2/1/07, jaguar [EMAIL PROTECTED] wrote: Dear Cagaty, can u send me download link plz thanks.. Cagatay Civici wrote: Satish, Dojo stuff has been moved to tomahawk so you need the use tomahawk 1.1.5snapshot instead of 1.1.3.

Re: Dojo widgets not working on IE

2007-02-01 Thread Werner Punz
Werner Punz schrieb: Joshua Pheneger schrieb: Please update when this fix is available. I am in the process of testing a fix for scrolling dialog boxes and this error is now preventing me from testing my fix. Regards, Joshua Pheneger Jousha I am still trying to figure some things out

Re: swapImage not rendering at all.

2007-02-01 Thread djmacpac
Did you get it working? I have the same Problem and cannot find any help... PLZ help. Gregg D Bolinger wrote: Well, this was my fault initially. I forgot the URL attribute. So now I have: t:swapImage url=images/circle_buttons/go_grey_1.gif swapImageUrl=images/circle_buttons/go_grey_2.gif

Control focus on a data table with inputText on partialSubmit/par tialTrigger?

2007-02-01 Thread Anthony Yulo
Hi! I'm trying to control the focus inside a data table with columns of inputTexts. The 1st column inputText is in autoSubmit = true. I want to move the focus/cursor to the 2nd column inputText. Has anyone tried this and was successful? From my observation everytime the

Re: sandBox not working

2007-02-01 Thread jaguar
Dear Cagaty, thanks...for ur help -- View this message in context: http://www.nabble.com/sandBox-not-working-tf3153109.html#a8746162 Sent from the MyFaces - Users mailing list archive at Nabble.com.

Re: Highlight current row

2007-02-01 Thread opick
Hi Jens, this is exactly what we are looking for too. But it is not working in our frameworking. It seems that the variable rowIndex is no evaluated, so the selectedRowIndex never equals rowIndex. Is this a new feature? Which versions of libraries are you using? Best regards, Oliver Pick

Re: Another question about RedirectTracker

2007-02-01 Thread Aleksandr Mazur
Hi Mario, Thanx a lot for your advice! Unfortunately I have to implement PRG pattern on each request, especially on forms submit. I've had similar problem with store/restore state for panelNavigation2... First solution was using GET method for navigation: s:form method=GET ... It works, but

[Tobago] Popup

2007-02-01 Thread Michał 'Gandalf' Stawicki
Hi, do you know of a way to apply some darkening mask to a page when displaying popup, so every user would notice the popup? regards, michael -- [EMAIL PROTECTED] http://stawicki.jasliska.pl GG: 369 JID: [EMAIL PROTECTED]

Auto Scroll to a Component Receiving the Action - Anchors?

2007-02-01 Thread mjovanov
Hi, we have several Data Table components stacked on the same page; if a user scrolls down to view one of the Data Tables towards the bottom of the page and then clicks on its column to perform a sort, the page is refreshed and he/she is taken back to the top of the page. I was just wondering if

Re: Another question about RedirectTracker

2007-02-01 Thread Mario Ivankovits
Hi Aleksandr! Is it posible to restore states for all components? Is it right way? AFAIK, not using GET only. GET request URLs are limited in size, depending on the browser, proxy and web-server you have between you and your clients browser. Its something between 1-2kb. A view state

Re: Trinidad myfaces compatibility

2007-02-01 Thread Jay Balunas
I have just gotten done attempting the same thing. I am using Myfaces, Tomahawk, and facelets for am existing project. I wanted to use Trinidad as well. I was unsuccessful in getting them to play nicely. At first there was an issue with dashes (-) in component IDs I believe Trinidad uses

Re: Highlight current row

2007-02-01 Thread Jeff Bischoff
Opick, I defined rowIndex var in the t:dataTable declaration as shown in the wiki like this: rowIndexVar=rowIndex Are you using t:dataTable? I have tested this with Myfaces 1.1.3, 1.1.4, 1.1.5 and Tomahawk 1.1.2, 1.1.4, 1.1.5 Regards, Jeff Bischoff Kenneth L Kurz Associates, Inc. opick

Re: ajax4jsf, checkbox, and reRender

2007-02-01 Thread Adrian Mitev
Whats your issue? Please paste your code. 2007/2/1, Garner, Shawn [EMAIL PROTECTED]: Has anyone had any problems getting a a4j:outputPanel to reRender when checking a checkbox? I'm having such issues and need some help. Shawn

t:documentBody

2007-02-01 Thread Jeff Bischoff
t:documentBody, along with t:document and t:documentHead, is supposed to enhance performance according to the wiki. [1], [2] Mario has said that it allows to get rid of the extensionFilter buffering. Is this important in facelets too, or just JSP? The tags seem to work in facelets, even

Re: sandBox not working

2007-02-01 Thread Jeff Bischoff
jaguar wrote: hai all, iam working on sand box components. 1.tomahawk-sandbox-1.1.5-SNAPSHOT.jar 2.tomahawk-sandbox-1.1.5-SNAPSHOT-sources.jar i added these 2 jar files. You only need to deploy the first jar. The sources.jar is not a binary dependency.

Re: Auto Scroll to a Component Receiving the Action - Anchors?

2007-02-01 Thread Jeff Bischoff
This is a MyFaces feature called AUTO_SCROLL. You can set it in your web.xml context-param param-nameorg.apache.myfaces.AUTO_SCROLL/param-name param-valuetrue/param-value /context-param mjovanov wrote: Hi, we have several Data Table components stacked on the same page; if a user scrolls

Re: t:documentBody

2007-02-01 Thread Andrew Robinson
While we are on the subject, anyone know if the extension filter is still required for supporting the file upload with using the streaming add resource? On 2/1/07, Jeff Bischoff [EMAIL PROTECTED] wrote: t:documentBody, along with t:document and t:documentHead, is supposed to enhance performance

Re: h:inputTextarea + h:outputText

2007-02-01 Thread Andrew Robinson
h:outputText value=#{user.name} style=white-space: pre;/ On 2/1/07, Rafael Sakurai [EMAIL PROTECTED] wrote: Hi all, I have a textarea: h:inputTextarea value=#{user.name} id=name rows=10/ and a digit this sentence in this textarea: Hello Word !!! in other jsp, i get this value in a

Issue with popupFrame and Validation

2007-02-01 Thread mjovanov
Hi, we are using popupFrame on a page with a bunch of form fields. A user should be able to open a popup even if there are validation errors on the page. So, we have the immediate property set to true on the popup component (we are using jenia4faces popupFrame btw). Everything works fine, user is

Re: h:inputTextarea + h:outputText

2007-02-01 Thread Rafael Sakurai
thank you. 2007/2/1, Andrew Robinson [EMAIL PROTECTED]: h:outputText value=#{user.name} style=white-space: pre;/ On 2/1/07, Rafael Sakurai [EMAIL PROTECTED] wrote: Hi all, I have a textarea: h:inputTextarea value=#{user.name} id=name rows=10/ and a digit this sentence in this textarea:

h:inputTextarea + h:outputText

2007-02-01 Thread Rafael Sakurai
Hi all, I have a textarea: h:inputTextarea value=#{user.name} id=name rows=10/ and a digit this sentence in this textarea: Hello Word !!! in other jsp, i get this value in a outputText: h:outputText value=#{user.name}/ but the outputText print this: HelloWord!!! Somebody know how print in

Re: Trinidad myfaces compatibility

2007-02-01 Thread Costa Basil
Thanks for your replay. What version of Myfaces core tomahawk do you use? Regarding trinidad, I wanted to use the tablelayout/rowlayout/cellformat because panelGrid is a pain in the butt. I hope that these components won't be a problem. If they will be then I'll just copy the source code,

[Tobago] Lifecylce problem with renderedPartially and selectBooleanCheckbox

2007-02-01 Thread H. Swaczinna
Hello, I've a selectBooleanCheckbox with a nested command tag with a renderedPartially attribute. The selectBooleanCheckbox has a valueChangeListener. The valueChangeListener should be called and then some part of the page reloaded when the checkbox is clicked. This works in general but the

Re: [Tobago] Lifecylce problem with renderedPartially and selectBooleanCheckbox

2007-02-01 Thread Volker Weber
Hi Helmut, this is the correct behavior. ValueChangeListeners are fired in validationPhase (see jsf1.1 spec 3.2.5.3), setters are executed in updateModelPhase. Should be the same as without ajax. Regards, Volker 2007/2/1, H. Swaczinna [EMAIL PROTECTED]: Hello, I've a selectBooleanCheckbox

Re: Auto Scroll to a Component Receiving the Action - Anchors?

2007-02-01 Thread Jeff Bischoff
Can you show us page code? mjovanov wrote: Thanks for the tip Jeff, I did set AUTO_SCROLL to true but unfortunately it still doesn't work; it works for a simple examples with hrefs but not in my case with multiple data tables and sorting. No error message either; any clues? Jeff Bischoff

[Tobago] Problem with Required Attribute

2007-02-01 Thread madan chowdary
Hi All, I Used a Layout as specified in the Demo Example. I included a Top Navigation bar at the top, a Left Navigation bar in the left. The jsp:doBody/ is done for the Middle Part which uses the layout. In one of the pages, i used a panel to place tc:in/ with required=true and a submit

RE: Re: Dojo widgets not working on IE

2007-02-01 Thread Joshua Pheneger
Werner, Glad you were able to find the issue. Please let me know when you have a build I can test. Regards, Joshua Pheneger -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Werner Punz Sent: Thursday, February 01, 2007 1:21 AM To: users@myfaces.apache.org Subject:

Re: custom components

2007-02-01 Thread Joshua Pheneger
I have searched the myFaces webpage, but I am unable to find documentation on how to create custom components. Can someone direct me to the appropriate documentation to create/extend a component? Regards, Joshua Pheneger

Re: custom components

2007-02-01 Thread Mike Kienenberger
Typically, you'd buy a bug on that subject. However, there is some information on the wiki. Note that the process for creating new JSF components under facelets is at least an order of magnitude easier than doing it under jsp. http://wiki.apache.org/myfaces/ Creating Custom Components *

Re: custom components

2007-02-01 Thread Mike Kienenberger
I meant buy a book -- if only there were a market for selling bugs (well, outside of a certain Seattle company, of course) :-) On 2/1/07, Mike Kienenberger [EMAIL PROTECTED] wrote: Typically, you'd buy a bug on that subject. However, there is some information on the wiki. Note that the

Re: [Tobago] Problem with Required Attribute

2007-02-01 Thread Michał 'Gandalf' Stawicki
I new to Tobago, but perhaps you have put everything in one tc:form tag? On 01/02/07, madan chowdary [EMAIL PROTECTED] wrote: Hi All, I Used a Layout as specified in the Demo Example. I included a Top Navigation bar at the top, a Left Navigation bar in the left. The jsp:doBody/ is done for

Re: [Tobago] Problem with Required Attribute

2007-02-01 Thread Volker Weber
Hi Madan, add a immediate=true to the navigation command. Regards, Volker 2007/2/1, madan chowdary [EMAIL PROTECTED]: Hi All, I Used a Layout as specified in the Demo Example. I included a Top Navigation bar at the top, a Left Navigation bar in the left. The jsp:doBody/ is done for the

Re: custom components

2007-02-01 Thread Jeff Bischoff
Mike Kienenberger wrote: I meant buy a book -- if only there were a market for selling bugs (well, outside of a certain Seattle company, of course) :-) Ha ha ha, no wonder they're so successful! I'm dying over here, Mike - good one.

Calendar Onchnage problem

2007-02-01 Thread Jan Franců
I dont know if thisbug is still not fixed. We use myFaces version: Name: myfaces.apache.org Implementation-Title: MyFaces Implementation-Version: 1.1.1 (2005-10-25 14:56 EDT) Implementation-Vendor: MyFaces Project Team (http://myfaces.apache.org) We use calendar for one html input and there

Re: Another question about RedirectTracker

2007-02-01 Thread Mario Ivankovits
Hi Aleksandr! Is it posible to restore states for all components? Is it right way? AFAIK, not using GET only. GET request URLs are limited in size, depending on the browser, proxy and web-server you have between you and your clients browser. Its something between 1-2kb. A view state could

RE: IllegalArgumentException: Value is no String (Bug in HtmlRendererUtils?)

2007-02-01 Thread Michael Heinen
I found the solution for my problem. My extended HtmlSelectOneRadio Renderer used org.apache.myfaces.shared_impl.XXX imports instead of org.apache.myfaces.shared_tomahawk.XXX Now its working fine. Michael -Original Message- From: Andrew Robinson [mailto:[EMAIL PROTECTED] Sent:

Re: Re: Dojo widgets not working on IE

2007-02-01 Thread Catalin Kormos
Hi Werner, Many thanks for you efforts on resolving this issue, i realy appreciate it :). Cheers, Catalin On 2/1/07, Joshua Pheneger [EMAIL PROTECTED] wrote: Werner, Glad you were able to find the issue. Please let me know when you have a build I can test. Regards, Joshua Pheneger

Re: Dojo widgets not working on IE

2007-02-01 Thread Werner Punz
Actually I was looking into the codepart, but it was not the issue, but good news I could nail down the problem so far to a single class like Mario suspected something in the MyFacesResourceLoader goes haywire I still suspect some content length problems triggering an inerhently evil IE bug.

Re: Auto Scroll to a Component Receiving the Action - Anchors?

2007-02-01 Thread mjovanov
Sure, here it is (bare with me, it's a little long): !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; html xmlns=http://www.w3.org/1999/xhtml; xmlns:ui=http://java.sun.com/jsf/facelets;

Re: Auto Scroll to a Component Receiving the Action - Anchors?

2007-02-01 Thread Jeff Bischoff
Mjovanov, I'm not done reading this yet, but one more thing: What versions of MyFaces and Tomahawk are you using? Certain combinations break autoscroll. mjovanov wrote: Sure, here it is (bare with me, it's a little long): !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN

Re: ajax4jsf, checkbox, and reRender

2007-02-01 Thread Jay Balunas
Also if you are using IE I have run into the issue - just today where IE 7 ( and maybe 6) does not consider clicking on a check box to be the onchange. It is not until the focus of the check box (such as clicking another one, or another input field) changes that the actions were taking place. I

RE: ajax4jsf, checkbox, and reRender

2007-02-01 Thread Garner, Shawn
h:panelGroup h:selectBooleanCheckbox id=enrollSchoolSecContDispCB value=#{enrollHandler.isSecondaryContactDisplayed} a4j:support id=enableContactCBEvent event=onchange reRender=enrollSchoolSecContDispCB,secTechContPanel/ /h:selectBooleanCheckbox

Re: Auto Scroll to a Component Receiving the Action - Anchors?

2007-02-01 Thread mjovanov
I'm using My Faces 1.1.4 and Tomahawk 1.1.5 SNAPSHOT. I thought about that too, but I was able to get the autoscroll.jsf example (from myfaces-example-simple app) to work inside my application so I though that ruled out that possibility. Jeff Bischoff wrote: Mjovanov, I'm not done

RE: Re: [Tobago] Lifecylce problem with renderedPartially and selectBooleanCheckbox

2007-02-01 Thread H. Swaczinna
Hello Volker, no, without ajax, the model is updated first and then the valueChangeListener is called. And the bevaviour with ajax was some days (snapshots) ago the same as without. So I build my application code based on this behaviour ... :-( But yes, you're right, ValueChangeListeners

Re: Dojo widgets not working on IE

2007-02-01 Thread Werner Punz
Ok guys, the issue has been fixed, Mario fixed it (I just helped him to type and to test here). If need it prompty get a checkout from svn and to a compile yourself, if not wait for the nightly build to get the fix in. The problem was some newly introduced encoding code, which triggered a bug in

Re: Auto Scroll to a Component Receiving the Action - Anchors?

2007-02-01 Thread Jeff Bischoff
The autoscroll.jsf example is flawed because it uses only h:commandLink, and does not test t:commandLink. Most Tomahawk components internally use t:commandLink. This is a problem for you because the combination of Myfaces Core 1.1.4 and Tomahawk 1.1.4/1.1.5 breaks AUTO_SCROLL for

Re: Dojo widgets not working on IE

2007-02-01 Thread Catalin Kormos
Hey, very good news! :) Many thanks to Mario as well. Regards, Catalin On 2/1/07, Werner Punz [EMAIL PROTECTED] wrote: Ok guys, the issue has been fixed, Mario fixed it (I just helped him to type and to test here). If need it prompty get a checkout from svn and to a compile yourself, if not

Re: ajax4jsf, checkbox, and reRender

2007-02-01 Thread Kevin Gutch
I had a similar issue with a4j:outputPanel. Try the ajaxRendered attribute. ajaxRendered =true ajaxRendered= Defines, whether the content of this component must be (or not) included in AJAX response created by parent AJAX Container, even if it is not forced by reRender list of ajax action.

t:commandLink and image of button - how not to hard code

2007-02-01 Thread Lisa
I have a commandLink below that has a reference to a hard coded path to button image. Is there a way to simply specify a resource, where that resource has the hard coded path to the button? If so, where are resources like this typically configured? Is there a better way to write the

[Tobago] onchange has no effect in tc:selectBooleanCheckbox (again)

2007-02-01 Thread H. Swaczinna
Hi, I want to change the content of some fields on the page when the user clicks a checkbox without submitting and reloading the whole page. It tried this with ajax reload and the valueChangeListener. But I just learned, I can't access the values in the model in the valueChangeListener of the

Re: [Sandbox] InputSuggestAjax problem - getAsObject doesn't retrieve the suggested value

2007-02-01 Thread Gerald Müllan
Hi Thomas, please have a look at current svn-head if the issue has been gone. Of course, it should :) cheers, Gerald On 1/26/07, Thomas Kurzman [EMAIL PROTECTED] wrote: sorry, but i forgot something: First the script was a bit wrong. So it is right:

s:layoutingTitlePane and not working

2007-02-01 Thread jaguar
hai all , i am working on sandboxComponent s:layoutingTitlePane i am getting error javax.faces.FacesException: javax.servlet.ServletException. ?xml version='1.0' encoding='UTF-8'? jsp:root xmlns:jsp=http://java.sun.com/JSP/Page; version=2.0

problem with tomahawk 1.1.5 tree2

2007-02-01 Thread dasara
Hi All, I'm working with tomahawk 1.1.5 using Jdeveloper 10g 10.1.3.1. I added the following jar files in the library: adf-faces-impl.jar commons-beanutils-1.7.0.jar commons-codec-1.3.jar commons-collections-3.1.jar commons-digester-1.6.jar commons-el-1.0.jar commons-fileupload.jar

RE: MasterDetail datatable, toggle all rows expanded, save state, detailStamp

2007-02-01 Thread HENRY Pierre
Up ? Anybody ? -Message d'origine- De : HENRY Pierre [mailto:[EMAIL PROTECTED] Envoyé : mercredi, 31. janvier 2007 09:24 À : users@myfaces.apache.org Objet : MasterDetail datatable, toggle all rows expanded, save state, detailStamp Hello, I am pretty new to JSF and MyFaces. I managed