Re: FileUpload to different machine

2007-03-29 Thread Dave
Thanks! Two server machines sit side by side. Can they be directly connected using a special port to get the fastest speed? or they have to use LAN network? For file upload(JSF page running on JBoss on Linux), can the windows 2003 machine take over the file upload when user click the

Re: [Tobago] Issue with Label Text alignment btw IE and Firefox

2007-03-29 Thread Volker Weber
Hi, Bernd: the problem is the alignment of the labels in IE7. Vinay: can you checkout the example, add your page there and test if the problem occurs please. Another thing: please remove all redundant tc:cell tags: you can remove every tc:cell where just one child and no span(X/Y) and use the

RE: selectItems alsway throw validation error

2007-03-29 Thread simon.s
Hi Stephan! There was a typo in my equals method. So your hint (serializable and equals method) was perfect! Now it works! Thanks a lot! Simon -- View this message in context: http://www.nabble.com/selectItems-alway-throws-validation-error-tf3472646.html#a9728653 Sent from the MyFaces - Users

Re: submitOnEvent to submit on clicking dataTable-row

2007-03-29 Thread Martin Grotzke
Hi Stephan, I'm not really sure what's your requirement: do you want to invoke some javascript function when details are opened, or do you want to invoke an actionListener in your backing bean? For had the second requirement some time ago and wrote a custom ComponentHandler for facelets, so this

RE: submitOnEvent to submit on clicking dataTable-row

2007-03-29 Thread Strittmatter, Stephan
Hi Martin, I want only invoke an actionListener and forward to a new detail-page. I think it goes somehow in direction of yours solution, but I have no facelets. I will have a closer look on your solution and probably the throw away my JS-hack which I do not like because it is dangerouse to

RE: selectItems alsway throw validation error

2007-03-29 Thread Strittmatter, Stephan
You are welcome! Yesterday I not answered because I had no more ideas :) -Original Message- From: simon.s [mailto:[EMAIL PROTECTED] Sent: Thursday, March 29, 2007 9:59 AM To: users@myfaces.apache.org Subject: RE: selectItems alsway throw validation error Hi Stephan! There was a typo

Re: [Tobago] how I can speed up popup?

2007-03-29 Thread David Steinkopff
Maybe it doesnt work so fine. popup open and close is fine, but if I press my send-button the value from the selectone component doesnt store in the bean. this effect I have only when I combine tc:attribute name=renderedPartially value=:pageid:tabgroup/ with tc:button label=Ok tc:attribute

Re: [Tobago] how I can speed up popup?

2007-03-29 Thread madan chowdary
Yeah, i too have the same problem with the popup. The popup contains a sheet which gets the records from the DB. I placed the popcode under a tc:link/, so if i click the link i get a popup.. but this is taking a page refresh. I the demo app, the popup shows fine without any page refresh, used

redirect question

2007-03-29 Thread Sorin Silaghi
Hello, This is a really easy one.. how can i redirect from the backing bean to something that is not jsf... like to an external link for example ??? I've tried the whole HttpServletResponse response = (HttpServletResponse) facesContext.getExternalContext().getResponse();

Re: s:inputSuggestAjax problems with onchange

2007-03-29 Thread Edney Imme
Hello I do this s:inputSuggestAjax id=orderNumbersFilter suggestedItemsMethod=#{pagedDeliveryScheduleSort.findOrderNumbers} value=#{ pagedDeliveryScheduleSort.suggestOrderNumber} s:submitOnEvent for=submitLink event=change / /s:inputSuggestAjax

Re: jscookmenu and links (not actions)

2007-03-29 Thread Sorin Silaghi
if you just want a static URL it's easy ... you can put it in the action field. You can even put JS in there so that you get the pop-up you want. The problem appears if you want it to be dynamic. For example if you want to generate the URL in the backing bean you have to find another way. I'm

Re: [Tobago] how I can speed up popup?

2007-03-29 Thread Volker Weber
Hi David, which version of tobago? The 1.0.11-SNAPSHOT had a bug with ajax requests between 17. and 28. of march. I fixed this yesterday, so the todays nightly should work. Regards, Volker 2007/3/29, David Steinkopff [EMAIL PROTECTED]: Maybe it doesnt work so fine. popup open and close is

Re: [Tobago] how I can speed up popup?

2007-03-29 Thread Volker Weber
Hi Madan, is there a tc:attribute name=renderedPartially value=.../ at the link? If so please post the page code. Regards, Volker 2007/3/29, madan chowdary [EMAIL PROTECTED]: Yeah, i too have the same problem with the popup. The popup contains a sheet which gets the records from the DB. I

Re: [ Tobago ] Help Regarding Customer Sort in Sheet

2007-03-29 Thread Volker Weber
Hi Madan, here the relevant part of one of my apps, you need to define the comparators: use the sortActionListener attribute of the tc:sheet tag. tc:sheet ... value=#{bean.list} sortActionListener=#{bean.sortSheet}... than this actionListener method si completely responsible for sorting, the

Re: [Tobago] how I can speed up popup?

2007-03-29 Thread madan chowdary
Hi Volker, Here is the code for the popup when the link is clicked. tc:link label=#{bundle.viewCartContents} id=viewCartContents tc:attribute name=renderPartially value=sheetConfigPopup/ f:facet name=popup tc:popup width=700 height=400 id=sheetConfigPopup tc:box

RE: tomahawk inputdate fixed

2007-03-29 Thread Strittmatter, Stephan
Yust to inform mailinglist, there is still a problem within portlet-environment. The popup has still an offset. I am directly in contact with Werner to solve this. -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Werner Punz Sent: Thursday, March 29, 2007 12:15 AM

Re: [Tobago] how I can speed up popup?

2007-03-29 Thread Volker Weber
Hi, typo : name=renderPartially should be name=renderedPartially ^^ Regards, Volker 2007/3/29, madan chowdary [EMAIL PROTECTED]: Hi Volker, Here is the code for the popup when the link is clicked. tc:link label=#{bundle.viewCartContents} id=viewCartContents tc:attribute

Re: [Tobago] how I can speed up popup?

2007-03-29 Thread madan chowdary
Hi Volker, Ya this is my mistake , thnx for the response.. Popup is working now as the same in demo. Madan - Original Message From: Volker Weber [EMAIL PROTECTED] To: MyFaces Discussion users@myfaces.apache.org Sent: Thursday, 29 March, 2007 6:00:20 PM Subject: Re: [Tobago] how I can

Re: [ Tobago ] Regarding Object Ref in Server Side

2007-03-29 Thread madan chowdary
Hi All, Am able to delete the row in the sheet, just updating the whole sheet when checkbox is clicked for deleting the row. But it's taking 5-8 sec to delete the row, update the panel which has the sheet. There is no intimation to the user that a delete operation is going on in the

Re: [ Tobago ] Regarding Object Ref in Server Side

2007-03-29 Thread Volker Weber
Hi, there is currently no way to show the translation animation on ajax requests. Feel free to add a improvement request in jira. During the reload the mouse should have cursorstyle wait over the relaoded area, the sheet in your case. Is this not the case? Regards, Volker 2007/3/29, madan

Re: [ Tobago ] Regarding Object Ref in Server Side

2007-03-29 Thread madan chowdary
Hi Volker, No Even the cursorstyle wait is not being displayed on the sheet. Will add this in JIRA. Regards, Madan - Original Message From: Volker Weber [EMAIL PROTECTED] To: MyFaces Discussion users@myfaces.apache.org Sent: Thursday, 29 March, 2007 6:31:34 PM Subject: Re: [ Tobago ]

Re: tomahawk inputdate fixed

2007-03-29 Thread Werner Punz
Strittmatter, Stephan schrieb: Yust to inform mailinglist, there is still a problem within portlet-environment. The popup has still an offset. I am directly in contact with Werner to solve this. Not sure yet where the problem is, I am quite confident that the dojo positioning code works,

Re: s:inputSuggestAjax problems with onchange

2007-03-29 Thread Mike Kienenberger
That looks ok to me. Is change the right event to try to use with inputSuggestAjax? I know that I use change for selectOneMenus, and I use keypress for inputText. There's also blur to consider. Be aware that if there is a bug in inputSuggestAjax, using submitOnEvent won't fix it. I guess

Re: s:inputSuggestAjax problems with onchange

2007-03-29 Thread Mario Ivankovits
Hi! Be aware that if there is a bug in inputSuggestAjax, using submitOnEvent won't fix it. Jumping up to this discussion lately .. sorry for this .. too much work here. It might be that the submitOnEvent do not work with inputSuggestAjax. Do one have it running with it? As far as I remeber

Re: jscookmenu and links (not actions)

2007-03-29 Thread Mike Kienenberger
Does the attribute take a value binding? Maybe a temporary workaround would be to return javascript that navigates to a url. The pattern to match looks like it might be (/^\w*:A\]\w*:\/\//) != null ) { start-of-string any-number-of-alphanumerics colon A ] any-number-of-alphanumerics colon W

Re: s:inputSuggestAjax problems with onchange

2007-03-29 Thread Edney Imme
Well this is not what i want heard now :) I need to, when the user change some value in a inputSuggestAjax component or in a s:inputSuggest komponenet , automatilly submit the form. In JSP and Struts this is very easy to do, and in JSF? thank. 2007/3/29, Mario Ivankovits [EMAIL PROTECTED]:

Re: s:inputSuggestAjax problems with onchange

2007-03-29 Thread Edney Imme
Hello Why this error message? javax.servlet.ServletException: Error calling action method of component with id content_view:filterForm:submitLink at javax.faces.webapp.FacesServlet.service(FacesServlet.java:154) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(

Re: s:inputSuggestAjax problems with onchange

2007-03-29 Thread Mike Kienenberger
What's the method signature of #{pagedDeliveryScheduleSort.getSchedules} It needs to be public String getSchedules() { // execute your action here // return OutcomeString; } On 3/29/07, Edney Imme [EMAIL PROTECTED] wrote: Hello Why this error message? javax.servlet.ServletException: Error

Re: s:inputSuggestAjax problems with onchange

2007-03-29 Thread Mike Kienenberger
Hey Mario, I don't think this is the issue. I downloaded the latest snapshot and modified the example: s:inputSuggestAjax id=inputSuggestAjax suggestedItemsMethod=#{inputSuggestAjax.getItems} value=#{inputSuggestAjax.suggestValue}

escaping in EL?

2007-03-29 Thread Michael Heinen
I want to express the following Javascript function call via EL: sometag onclick=#{MyBean.checkA?'doJS('staticvalue','#{beanA.value}');':'alert(' hello'));'} /sometag How can I do this ? Is there any way to escape this stuff ? Thanks, Michael

Re: escaping in EL?

2007-03-29 Thread Mike Kienenberger
Are you trying to do this? onclick=#{MyBean.checkA}?'doJS('staticvalue','#{beanA.value}');':'alert('hello'));' Only put #{} around parts you want interpreted by EL. On 3/29/07, Michael Heinen [EMAIL PROTECTED] wrote: I want to express the following Javascript function call via EL:

Re: s:inputSuggestAjax problems with onchange

2007-03-29 Thread Mario Ivankovits
Hi Mike! I don't think this is the issue. snip Yep. This code works as I'd expect it to work: snap Great, thanks for the test!! :-) Ciao, Mario

how to include javascript selectively

2007-03-29 Thread Dave
How to include javascript conditionally in a page? It seems that ExtensionFilter is for this purpose? For example, include javascript when #{bean.value == 1} Thanks for ideas. - Never miss an email again! Yahoo! Toolbar alerts you the instant new

Re: how to include javascript selectively

2007-03-29 Thread Mike Kienenberger
Have you tried something simple like h:panelGroup rendered=#{bean.value == 1} // include your javascript here /h:panelGroup If you're using jsp, you'll need to put that into f:verbatim (which might have a rendered flag already -- not sure about that one). On 3/29/07, Dave [EMAIL

Re: how to include javascript selectively

2007-03-29 Thread CD
Dave, It's a hack but I use an outputText with the value being the javascript I want written. Value for rendered attribute is set to whatever condition you require ( #{ bean.value == 1} per your example ). I hate this approach, but it does accomplish the purpose given my constrained env.

Re: redirect question

2007-03-29 Thread David Delbecq
This is the way to go. However it will throw an exception is response has already been committed. also the url must be either full (http://..;) either an url relative to current webapplication. Sorin Silaghi a écrit : Hello, This is a really easy one.. how can i redirect from the

Re: redirect question

2007-03-29 Thread CD
Any particular reason you are performing a redirect (I'm assuming you are using this as a command link) rather than just using a standard output link? Regardless of the answer, I am in agreement with David. One suggestion I can make is to be sure you encode the redirect url with the

RE: [OT?] ui:repeat stops after first entry

2007-03-29 Thread Beelen, Marco
Hello Mike, Thanks for your reply and your suggestions. I think I've got the problems solved, but won't be sure until some final integration testing tomorrow. At appairs the weird behaviour was caused by a strange ug in the ui:repeat indeed, which appairs to be solved in facelets 1.1.12. Up

Re: [OT?] ui:repeat stops after first entry

2007-03-29 Thread Mike Kienenberger
Interesting. Someone reported something similar here: https://facelets.dev.java.net/issues/show_bug.cgi?id=160 On 3/29/07, Beelen, Marco [EMAIL PROTECTED] wrote: Hello Mike, Thanks for your reply and your suggestions. I think I've got the problems solved, but won't be sure until some

Re: c:forEach bug?

2007-03-29 Thread Volker Weber
Hi, just found this: http://www.nabble.com/-OT---ui%3Arepeat-stops-after-first-entry-tf3480300.html Regards, Volker 2007/3/29, Michał 'Gandalf' Stawicki [EMAIL PROTECTED]: Hi, trying to iterate over items = ${something.someList[0].someOtherList} with c:forEach fails. It only iterates over

SelectManyPickList: Value Is Not Valid

2007-03-29 Thread Romanowski, Tim
Hi everyone, I'm trying to use the SelectManyPicklist component from the sandbox, and I'm running into exactly the issue that is described at [1]. Basically, I create an ArrayList of my own User objects, and pass that as the value for my component as such: s:selectManyPickList id=teamMembers

Re: SelectManyPickList: Value Is Not Valid

2007-03-29 Thread Mike Kienenberger
I'd say that the first thing to check is that your user objects have a working equals() method. Ie, make sure that the objects in team.userCollection fulfill team.getUserSelectItems().contains(userCollectionitem). Failing that, step through the debugger and see what's going on. On 3/29/07,

RE: SelectManyPickList: Value Is Not Valid

2007-03-29 Thread Romanowski, Tim
Thanks for the response Mike. My user objects have a working equals method, but that seems to be the problem. From the link I enclosed, the problem is that on submission of any SelectMany component, each value of the collection is compared with the rest of the collection...since all but one will

Re: FileUpload to different machine

2007-03-29 Thread Dennis Gesker
Hi Dave: I have a small application that allows users on my LAN to upload files and photos. Rather than store the photos to a windows directory I upload them to a small dedicated Linux server using ftp and then retrieve them again for my application from this same server using http. This works

Re: tomahawk schedule component-more details

2007-03-29 Thread yassmin sameh
Dear Jurgen, thanks for your quick reply , those are the details : i am trying to use the schedule componenet, i knew that it has been transfered from Sandbox to Tomahawk , but actually the current Tomahawk release doesn't contain it . so , i downloaded Tomahawk snapshot 1.1.5, together with

Re: SelectManyPickList: Value Is Not Valid

2007-03-29 Thread Mike Kienenberger
Tim, Your equals method looks fine to. I don't think your situation is related to Users.equals() in this case, but maybe I missed something. I hadn't read the article until now, but it's just saying (like I did) that having an equals() method using == is the general reason for this error

Faces context not found

2007-03-29 Thread Eugine Fosah
Hi everyone out there I am developing an application with JSF. I am having the follwing in my web.xml. servlet servlet-nameFaces Servlet/servlet-name servlet-classjavax.faces.webapp.FacesServlet/servlet-class load-on-startup 1 /load-on-startup /servlet !-- Faces Servlet Mapping --

RE: SelectManyPickList: Value Is Not Valid

2007-03-29 Thread Romanowski, Tim
I tried a quick test with a selectManyListbox and get the same error. Regarding setting a breakpoint, I'm having trouble getting my debugger (I'm using NetBeans 5.5.1) to attach, so I that may be yet another problem to resolve. Thanks for your help...I'll post back if I come up with something

Re: [Tobago] Issue with Label Text alignment btw IE and Firefox

2007-03-29 Thread Vinay Konanki
Hi Volker, Thanks for your reply. I embedded my registration.jsp in the Tobago demo and it displaying with out any alignment problems (Surprised me..!). (both in IE and Firefox looks similar) So, what might be the problem in my case? Any thing wrong with my Style/CSS pages? NB: I used Custom

Re: Faces context not found

2007-03-29 Thread Simon Kitching
Eugine Fosah wrote: Hi everyone out there I am developing an application with JSF. I am having the follwing in my web.xml. servlet servlet-nameFaces Servlet/servlet-name servlet-classjavax.faces.webapp.FacesServlet/servlet-class load-on-startup 1 /load-on-startup /servlet !-- Faces

OT: Contractor

2007-03-29 Thread Shane Petroff
Apologies up front for the off topic post. Do any of you guys do any moonlighting? I need to write a small CRUD module but won't have any time to spend on it for some months. I was thinking that I could get the job knocked off, and get a handle on some best practices by farming it out to

Re: jscookmenu and links (not actions)

2007-03-29 Thread Sorin Silaghi
from what I've seen if you put any EL in the action field it will try to use the outcome with jsf's navigation system... so I don't think any JS would work like that.. and there is not much you can do about it because you would have to specify if what you are returning from the backing bean is to

Re: redirect question

2007-03-29 Thread Sorin Silaghi
I am using it as a hack for JSCookMenu :D Sadly it didn't work this way ... the thing is the URL I'm sending it to is in the same application but it's a servlet, not a JSF page. I'll try in the morning again maybe i've missed something... 10x On 3/29/07, CD [EMAIL PROTECTED] wrote: Any

Re: redirect question

2007-03-29 Thread CD
On 3/29/07, Sorin Silaghi [EMAIL PROTECTED] wrote: I am using it as a hack for JSCookMenu :D Sadly it didn't work this way ... the thing is the URL I'm sending it to is in the same application but it's a servlet, not a JSF page. I'll try in the morning again maybe i've missed something...

Re: redirect question

2007-03-29 Thread CD
If it is a servlet, redirect like so: response.sendRedirect(response.encodeRedirectURL(/servlet)); On 3/29/07, CD [EMAIL PROTECTED] wrote: On 3/29/07, Sorin Silaghi [EMAIL PROTECTED] wrote: I am using it as a hack for JSCookMenu :D Sadly it didn't work this way ... the thing is the

Re: jscookmenu and links (not actions)

2007-03-29 Thread Simon Kitching
Thanks to both of you for your help. I've got things working now, and have updated the wiki docs: http://wiki.apache.org/myfaces/Dynamic_Menus_with_JSCookMenu As noted there, encoding a url into the action field does work - but only when the url is absolute. So instead I used

Re: jscookmenu and links (not actions)

2007-03-29 Thread Mike Kienenberger
On 3/29/07, Simon Kitching [EMAIL PROTECTED] wrote: Mike wrote: (/^\w*:A\]\w*:\/\//) != null ) { start-of-string any-number-of-alphanumerics colon A ] any-number-of-alphanumerics colon W Almost; format matched is: menu-id :A] protocol://url where :A] is a literal used as