Re: MYFACES-1545 / MYFACES-1532

2007-03-01 Thread Martin Marinschek
Hi Paul, I couldn't follow all your arguments in this rather long mail, but here a short thought for you to consider - it might help you determining if you've found a bug or not: the submitted value should always be used for rendering, if it is not 'null'. If it is null, the getValue() method

Re: Sandbox (Tomahawk)

2007-03-01 Thread Gerald Müllan
Yes, you get the sandbox jar also due to a locally build of tomahawk. On 2/28/07, Bharath Belagodu [EMAIL PROTECTED] wrote: Wasn't sure if building tomahawk would also build sandbox, I'll give that a try. Here's how I got to the sandbox example source, I checked out the files at,

Re: Sandbox (Tomahawk)

2007-03-01 Thread Gerald Müllan
Depends on spare time of the committer :) On 2/28/07, Werner Punz [EMAIL PROTECTED] wrote: Gerald Müllan schrieb: Hi, from practical experience i can tell you that this component is quite stable. There are no issues i can remember and i use it in a ready-for-production environment.

Re: AW: s:inputSuggestAjax - encoding Problem

2007-03-01 Thread Gerald Müllan
Hi, well, i have not ever tested any of our ajax components in combination with ajax4jsf, so it maybe somewhat difficult to say something in more detail about the problem. Does the re-activation of the selected label work without the ajax4jsf tag, means with a regular post? Have you stepped

Re: Why does JSF submit through JavaScript?

2007-03-01 Thread Titi Wangsa
i'm new to jsf, i'm using the myfaces 1.1.5 and somehow there is javascript code in my commandbutton, did i do something wrong the code is something like this h:commandButton id=autoRegisterJobseekerFormSubmit action=registerProfile / gets rendered as input

regarding image map

2007-03-01 Thread shaikyesdani.basha
Hi, In my JSF page I am displaying one image using img. Presently I am displaying the tool tip text using image map. But I want to display a popup like t:popup tag displays. Is there any way to do it? If any let me know. Regards, Basha The information contained in this

Alphabetical t:dataScroller

2007-03-01 Thread Strittmatter, Stephan
Hi, I want to create an application with a list of users in a table. Currently I use the t:datascroller, but in case of a table of users it would be much more confortable to have alphabetical steps instead of page numbers. Shure the next problem would be the balancing of results there... Are

Re: Alphabetical t:dataScroller

2007-03-01 Thread Anton Martynov
(I think) you can extend current render (org.apache.myfaces.custom.datascroller.HtmlDataScrollerRenderer) and override method renderPaginator(...). -- Best regards, Anton Martynov Strittmatter, Stephan [EMAIL PROTECTED] 01.03.2007 15:37 Please respond to MyFaces Discussion

Re: MYFACES-1545 / MYFACES-1532

2007-03-01 Thread Martin Marinschek
Can you post your suggested changes again, and interweave the existing code, so that I can look at it step by step and see what your changes would mean? regards, Martin On 3/1/07, Paul Iov [EMAIL PROTECTED] wrote: Hi Martin, I've checked this with the latest nightly build 1.1.6. 1.

Navigation with onclick and commandButton

2007-03-01 Thread Pfau, Oliver
Hi, I have a onclick JavaScript function on a commanButton. When user clicks the button, the button will be disabled to avoid double submit. But with the definition of a onclick function the navigation fails. My button leads to another JSP. Without onclick it works fine. With onclick the same

Re: Alphabetical t:dataScroller

2007-03-01 Thread Paul Iov
I think it wouldn't be enough :) I think also, it sounds like a completely new component, since it have to deal directly with underlaying DataModel with all sort of type safety issues, sorting, filtering etc. The standard dataScroler handles just rowCount and First of dataTable and knows

Re: MYFACES-1545 / MYFACES-1532

2007-03-01 Thread Paul Iov
Sure. Unfortunately i have deadline of one unrelated project right now. It can take a little bit time to figure it out clearly (I've already seen some mistakes in my code). I'll try to post it as soon as possible... probably tomorrow. Is it OK? Regards, paul Martin Marinschek schrieb: Can

RE: Alphabetical t:dataScroller

2007-03-01 Thread Strittmatter, Stephan
Hm, yes, alphabetically grouping is not balanced than the row numbers. Sorting is another issue also. Sounds more complicated. I had in mind something like: [] [] [A-De] [Df-Gr] [Gs-Or] [Os-Z] [] [] But I think that is a own project then... But a useful one. -Original Message- From:

Ill formed (x)HTML

2007-03-01 Thread Adam Flinton
Dear All, I have been using MyFaces quite happily however I have run into a small problem. We would like everything to be XML-ized as that would aid our processing as part of that, all our web pages must become XHTML compatible (or at the very least well formed XML). Fairly rapidly I noted

Re: Alphabetical t:dataScroller

2007-03-01 Thread Paul Iov
I afraid, the biggest problem would be not to balance the results but to obtain data itself. To generate some kind of alphabetical list you need to access ALL rows in DataModel at least once. Such scroller would completely kill any performance if working with large tables (i.e. with buffered

Re: Ill formed (x)HTML

2007-03-01 Thread Martin Marinschek
Hi Adam, just checked: my inputs are properly closed on the nightly version. If you find other bugs, please open jira-issues. for them. regards, Martin On 3/1/07, Adam Flinton [EMAIL PROTECTED] wrote: Dear All, I have been using MyFaces quite happily however I have run into a small problem.

RE: Alphabetical t:dataScroller

2007-03-01 Thread Strittmatter, Stephan
Hm, yes, I see. I think, I create a buttonlist to filter by the starting chars and query the database by this. Thanks for your opinions! -Original Message- From: Paul Iov [mailto:[EMAIL PROTECTED] Sent: Thursday, March 01, 2007 3:33 PM To: MyFaces Discussion Subject: Re: Alphabetical

Re: Why does JSF submit through JavaScript?

2007-03-01 Thread Jörn Zaefferer
I got the feeling that this was the result of bad knowledge browser-behaviour, HTTP and HTML and JavaScript. I still have no idea why the form isn't just submitted as is, using the name and value of the submit to determine which button was clicked. In addition, the JavaScript could be reduced.

[Sandbox] selectManyPicklist button text

2007-03-01 Thread Bharath Belagodu
The selectManyPick component in the sandbox provides a '' and '' button. I was trying to figure out if I can change the text of the buttons to 'Add' and 'Remove' instead of '' and '', but after looking at the code in the renderer of the component I figured that the text of the buttons are

Re: [Sandbox] selectManyPicklist button text

2007-03-01 Thread Jeff Bischoff
If you want to enhance the component, you can submit a patch to add such (optional) functionality. :) Bharath Belagodu wrote: The selectManyPick component in the sandbox provides a '' and '' button. I was trying to figure out if I can change the text of the buttons to 'Add' and 'Remove'

RE: panelNavigation2 Issues

2007-03-01 Thread Bharath Belagodu
Mike, Here's an extract from my page. We are using facelets, jsf 1.2 and tomahawk components in the project. t:documentBody t:div id=subnavigation_outer t:div id=subnavigation h:form t:panelNavigation2 id=nav1 layout=list itemClass=mypage

Re: [Sandbox] selectManyPicklist button text

2007-03-01 Thread Adrian Mitev
You could easy override the renderer class. 2007/3/1, Bharath Belagodu [EMAIL PROTECTED]: The selectManyPick component in the sandbox provides a '' and '' button. I was trying to figure out if I can change the text of the buttons to 'Add' and 'Remove' instead of '' and '', but after looking at

Re: [Solved] Never before seen exception ( facelets.FaceletViewHandler handleRenderException) - ??

2007-03-01 Thread Mike Kienenberger
What version of facelets are you using? I don't see this behavior and I do the same thing (have search criteria on a page, then add the results to the page after the search is performed). I don't have any problems with subviews and includes. f:subview id=pendingServiceOrderSubview

use of jsf client validator inside a datatable

2007-03-01 Thread Siju . Varghese
Hi, I am using the jsf client validator components for client side validation in my jsp's. I have some queries on how the client validator components could be used to validate jsf input components inside a datatable. I have a datatable in which each column is a inputText component, Now I

NotSerializableException using Schedule component on shutdown launch of server.

2007-03-01 Thread Brindamour, Michael
Hello, I'm using the schedule component in my webapp, and am getting the following errors when stopping and then restarting the tomcat server. Note that the initial launch of the server does not throw any errors... only subsequent ones: On shutdown: 11:50:06,137

Re: Alphabetical t:dataScroller

2007-03-01 Thread Mike Kienenberger
Actually, you could probably do this with the current dataScroller. Just grab the letters from the first and last elements in the current data set. On 3/1/07, Strittmatter, Stephan [EMAIL PROTECTED] wrote: Hm, yes, alphabetically grouping is not balanced than the row numbers. Sorting is

autoscroll run ok for commandbutton but not for selectOneMenu valueChangeListener

2007-03-01 Thread alvaro tovar
some kome why this append? i am using myfaces-api-1.1.4-SNAPSHOT.jar,myfaces-impl-1.1.4-SNAPSHOT.jar, tomahawk-1.1.3-SNAPSHOT.jar thanks alvaro

[Myfaces] f:view as a naming container

2007-03-01 Thread Renzo Tomaselli
Hi, since I need to reuse the same component multiple times within the same page, I came across with naming conflicts. I use Facelets, Tomahawk and Trinidad. Is f:view id=... the propermost way to force intermediate naming layers, even if used in a nested way ? Or is it designed for singleton

Re: [Myfaces] f:view as a naming container

2007-03-01 Thread Jeff Bischoff
Hi Renzo, f:view marks the portion of the page that is to use JSF tags. It should not be used in a nested manner. f:subview was created for this purpose of nested naming containers. Regards, Jeff Bischoff Kenneth L Kurz Associates, Inc. Renzo Tomaselli wrote: Hi, since I need to reuse the

Re: Why does JSF submit through JavaScript?

2007-03-01 Thread Simon Kitching
Titi Wangsa wrote: i'm new to jsf, i'm using the myfaces 1.1.5 and somehow there is javascript code in my commandbutton, did i do something wrong the code is something like this h:commandButton id=autoRegisterJobseekerFormSubmit action=registerProfile / gets rendered

Re: Why does JSF submit through JavaScript?

2007-03-01 Thread Simon Kitching
Jörn Zaefferer wrote: I got the feeling that this was the result of bad knowledge browser-behaviour, HTTP and HTML and JavaScript. I still have no idea why the form isn't just submitted as is, using the name and value of the submit to determine which button was clicked. I believe it is (see

Re: Navigation with onclick and commandButton

2007-03-01 Thread Simon Kitching
Pfau, Oliver wrote: Hi, I have a onclick JavaScript function on a commanButton. When user clicks the button, the button will be disabled to avoid double submit. But with the definition of a onclick function the navigation fails. My button leads to another JSP. Without onclick it works fine.

Re: [Solved] Never before seen exception (facelets.FaceletViewHandler handleRenderException) - ??

2007-03-01 Thread Lisa
I found the culprit. It is the facet tag (no id's) I think there is a bug in MyFaces 1.1.5. This was working before but now has problems. It has nothing to do with duplicate id's that the user provides but ID's that MyFaces generates. Shane Petroff wrote: Lisa wrote: I checked

Re: [Solved] Never before seen exception (facelets.FaceletViewHandler handleRenderException) - ??

2007-03-01 Thread Lisa
The duplicate ID's are reported on facelets generated id's so it is a facelets bug. I see this when I use the facet tag. L Mike Kienenberger wrote: Is the id specified in an included file? Is the included file wrapped in an f:subView so that multiple includes of it don't conflict?

Re: [Solved] Never before seen exception (facelets.FaceletViewHandler handleRenderException) - ??

2007-03-01 Thread Lisa
no, the bug or problem is with myfaces. the duplicate id being reported is generated by the system. not sure what to do except request that myfaces be fixed. L Mike Kienenberger wrote: Are you generating any components programmically? The situation you describe sounds like this

Re: [Solved] Never before seen exception (facelets.FaceletViewHandler handleRenderException) - ??

2007-03-01 Thread Lisa
I am using 1.1.5 latest release. Seems to be something new in 1.1.5 as a previous snapshot of 1.1.5 we were using did not cause the problem. the duplicate id being reported is generated by the system. others are beginning to see the bug as well. I believe it is a problem with MyFaces and not

Re: [Solved] Never before seen exception (facelets.FaceletViewHandler handleRenderException) - ??

2007-03-01 Thread Mike Kienenberger
Open a MyFaces jira issue. Describe what you've found out. Attach as simple an example as possible demonstrating the issue. Mention which versions of MyFaces it fails or succeeds with. On 3/1/07, Lisa [EMAIL PROTECTED] wrote: no, the bug or problem is with myfaces. the duplicate id being

Where to report MyFaces 1.1.5 (major) bug? (problem with facet tag)

2007-03-01 Thread Lisa
Using a facet tag inside a datatable for a column header has been broken (worked before, now does not). I searched the wiki but did not see a place I could post a bug. If you do something like this: h:column f:facet name=header

Re: Where to report MyFaces 1.1.5 (major) bug? (problem with facet tag)

2007-03-01 Thread Volker Weber
Hi, see http://myfaces.apache.org/issue-tracking.html Regards, Volker 2007/3/1, Lisa [EMAIL PROTECTED]: Using a facet tag inside a datatable for a column header has been broken (worked before, now does not). I searched the wiki but did not see a place I could post a bug. If you do

Exceptions?

2007-03-01 Thread Michał 'Gandalf' Stawicki
Hi, is there a way to intercept any uncaught exceptions and display a proper page, with some navigation rule or by any other means? regards, michael -- [EMAIL PROTECTED] http://stawicki.jasliska.pl GG: 369 JID: [EMAIL PROTECTED]

Re: Why does JSF submit through JavaScript?

2007-03-01 Thread Jörn Zaefferer
On 3/1/07, Simon Kitching [EMAIL PROTECTED] wrote: I believe it is (see my earlier reply), and that all the javascript is doing is ensuring any garbage left behind by h:commandLink tags is cleaned up (hidden fields _idcl and _link_hidden_). Ok, but that doesn't explain the JavaScript for an

Re: Why does JSF submit through JavaScript?

2007-03-01 Thread Mike Kienenberger
On 3/1/07, Jörn Zaefferer [EMAIL PROTECTED] wrote: I guess it came from my frustration with JSF in general: While the programming model is great, I don't like the output JSF produces. While that may be acceptable for prototyping and intranet application, I wouldn't want to have that on a public

Re: [Solved] Never before seen exception (facelets.FaceletViewHandler handleRenderException) - ??

2007-03-01 Thread Ryan Wynn
I haven't used facelets, but I use clay. There was recently a problem on the shale mailing list sort of related to this. I guess way back in myfaces 1.1.1 component ids were generated in sequence per-request. The internal sequence was always reset even after a view restore. Post 1.1.1 it seems

Re: Why does JSF submit through JavaScript?

2007-03-01 Thread Simon Kitching
Jörn Zaefferer wrote: On 3/1/07, *Simon Kitching* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I believe it is (see my earlier reply), and that all the javascript is doing is ensuring any garbage left behind by h:commandLink tags is cleaned up (hidden fields _idcl and

Re: Why does JSF submit through JavaScript?

2007-03-01 Thread Jörn Zaefferer
Thanks for your reply. Considering that the first target of MyFaces was to implement the JSF specification, I guess there are a lot of areas that can be improved. At some point I'd like to commit my FacesUtil class to the project, which contains several extremely handy shortcuts for the rather

Re: Why does JSF submit through JavaScript?

2007-03-01 Thread Mike Kienenberger
Jörn, patches are welcome :-) On 3/1/07, Jörn Zaefferer [EMAIL PROTECTED] wrote: Thanks for your reply. At some point I'd like to commit my FacesUtil class to the project, which contains several extremely handy shortcuts for the rather noisy JSF API.

Re: Why does JSF submit through JavaScript?

2007-03-01 Thread Martin Marinschek
Hi *, I've got a solution for that rather messy javascript in command-buttons on my box - but I don't want to commit until tomahawk has been branched - just to be on the safe side of things... regards, Martin On 3/2/07, Mike Kienenberger [EMAIL PROTECTED] wrote: Jörn, patches are welcome :-)

Re: Where to report MyFaces 1.1.5 (major) bug? (problem with facet tag)

2007-03-01 Thread Martin Marinschek
But there are examples showing this works just perfectly in our demo app - you find it on www.irian.at, click on products, myfaces and then tomahawk-examples latest build. regards, Martin On 3/1/07, Lisa [EMAIL PROTECTED] wrote: Using a facet tag inside a datatable for a column header has