Re: Facelet-Mapping

2007-06-22 Thread Adam Winer
For this, you can't use suffix mapping on FacesServlet. Map FacesServlet to "/faces". So: FacesServlet /faces facelets.VIEW_MAPPINGS *.xhtml ... so /faces/foo.jspx is JSP and /faces/foo.xhtml is Facelets. -- Adam On 6/22/07, Wyder, Michael (GMX) <[EMAIL PROTECTED]> wro

Tree and Tree2

2007-06-22 Thread Dave
I had been using for a long time. but I got a requirement for tree table a while ago. So I need to switch to because does not support tree Table feature. The issue I am facing is the tree state control. For tree2, treeState is used to control expand/collapse of nodes. I looked at classes u

Facelet-Mapping

2007-06-22 Thread Wyder, Michael (GMX)
Hi I use MyFaces, Tomahawk, but not Trinidad. I have *.jsp and *.xhmtl (Facelets) files in my project. How i make the mapping that both suffixes are supported? I want something like this: Physical file Mapped to - - page1.jsp --> http://localhost

[Tobago] Is it possible to avoid tree refresh

2007-06-22 Thread yazid
I'm using tree in many page in my application; on any click in any page all the tree are reloaded, Is there a solution to avoid this. -- View this message in context: http://www.nabble.com/-Tobago--Is-it-possible-to-avoid-tree-refresh-tf3967204.html#a11260835 Sent from the MyFaces - Users mail

Re: Tomahawk input calendar exception

2007-06-22 Thread Andrew Robinson
"Connection reset by peer: socket write error" is a "normal" exception For me, this usually happens if I am using roll-over images and css image rules. I see it a lot more frequently on IE6 than on firefox. The exception is that the socket was closed (the browser probably closed the connection to

[Trinidad] Reverse positioning of components

2007-06-22 Thread Bertrand, Shawn R
I'm running into a very weird problem in which two components in my panelPage - a tree and a panel group containing another panel group and a table - are switched on the page. That is, they should be positioned with tree on the left and panel group (with table) on the right, but they instead appea

[Trinidad] Multiple available lists in selectManyShuttle (using filter)

2007-06-22 Thread Bertrand, Shawn R
I have the need to use the selectManyShuttle, but have a requirement of using multiple available lists. So, I might have 3 lists, each with 3 users (say, 1-3, 4-6, and 7-9), and I need to allow the user to select choices from each list and aggregate them into the one selected list. I have a separ

Tomahawk input calendar exception

2007-06-22 Thread Bodnarasec Cristian Paul
I am using Myfaces 1.1.3 and Tomhawk 1.1.2 and the exception below appears when I click on the calendar's small image. The component is used like this: One more thing is that the dropdown fields are not showing any values but the dropdown lists are ok. Strange is that I've seen sometimes the

Re: [Trinidad & Tomahawk] t:jsCookMenu inside tr:form

2007-06-22 Thread Matthias Wessendorf
works now moved and said dup of https://issues.apache.org/jira/browse/TOMAHAWK-1029 On 6/22/07, Matthias Wessendorf <[EMAIL PROTECTED]> wrote: For some reasons I am currently NOT able to edit/move issues. Can somebody give me the rights back ... On 6/22/07, Adam Winer <[EMAIL PROTECTED]>

Re: Partial Page Rendering issue with Trinidad

2007-06-22 Thread Matthias Wessendorf
u rock On 6/22/07, Danny Robinson <[EMAIL PROTECTED]> wrote: Just updated Matthias' old build steps http://wiki.apache.org/myfaces/Building_Trinidad_With_Maven On 6/22/07, Safurudin Mahic <[EMAIL PROTECTED]> wrote: > The trunk is located at > https://svn.apache.org/repos/asf/myfaces/trinidad

Re: Problem running myfaces from an osgi bundle using jetty

2007-06-22 Thread Matthias Wessendorf
what jetty are u using ? Jetty 6 has fixed this. the listener is define inside the TLD, shipped with myfaces core. -M On 6/22/07, Henrik Larsson <[EMAIL PROTECTED]> wrote: Hello, I'm currently developing an application using osgi (knopflerfish), jetty and myfaces. I have a jetty bundle with

Re: [Trinidad & Tomahawk] t:jsCookMenu inside tr:form

2007-06-22 Thread Matthias Wessendorf
For some reasons I am currently NOT able to edit/move issues. Can somebody give me the rights back ... On 6/22/07, Adam Winer <[EMAIL PROTECTED]> wrote: It should be reported against TOMAHAWK, not TRINIDAD. -- Adam On 6/22/07, Francisco Passos <[EMAIL PROTECTED]> wrote: > Just reported it. >

Re: [Trinidad & Tomahawk] t:jsCookMenu inside tr:form

2007-06-22 Thread Matthias Wessendorf
add the bug to the jira at apaache (tomahawk has a separate) add it against tomahawk. On 6/22/07, Francisco Passos <[EMAIL PROTECTED]> wrote: > Hey Matthias, > > I'll gladly report it, but who should I report it to? > > Tomahawk to suggest not to require a naming container based form? > Or Tri

[Trinidad] tr:selectOneRadio Feature

2007-06-22 Thread D. Cardon
I've recently been playing around with radio buttons in Trinidad and I noticed a possibly very useful change to the tr:selectOneRadio tag's implementation. Currently, this tag only seems to work if select items are direct children of the tag, like this: This structure basically f

Re: [Trinidad & Tomahawk] t:jsCookMenu inside tr:form

2007-06-22 Thread Adam Winer
It should be reported against TOMAHAWK, not TRINIDAD. -- Adam On 6/22/07, Francisco Passos <[EMAIL PROTECTED]> wrote: Just reported it. Thanks. On 6/22/07, Matthias Wessendorf <[EMAIL PROTECTED]> wrote: > add the bug to the jira at apaache (tomahawk has a separate) > > On 6/22/07, Francisco

Re: Using Unicode Characters on Trinidad

2007-06-22 Thread Adam Winer
Unicode characters shouldn't be specified differently. OTOH, we've used Trinidad for internationalized pages for awhile. If I had to guess, my hunch is that JsCookMenu is doing something weird here.. How exactly are you specifying the value? If it's entered directly into a JSP or JSPX file, Un

Dynamically Refresh Dropdowns in JSF/MyFaces

2007-06-22 Thread bansi
I wanna dynamically refresh dropdown values. Here is my requirement The user creates new record by selecting "New" value from the dropdown. Then user enters values on form fields and clicks the Submit button. The result is record gets created in the database and also gets populated in the dropdo

Problem running myfaces from an osgi bundle using jetty

2007-06-22 Thread Henrik Larsson
Hello, I'm currently developing an application using osgi (knopflerfish), jetty and myfaces. I have a jetty bundle with all code for the presentation layer. Included in the bundle jar are the jars for jetty, myfaces-api and myfaces-impl. I have the following code to add a web application to jet

Re: [Trinidad & Tomahawk] t:jsCookMenu inside tr:form

2007-06-22 Thread Francisco Passos
Just reported it. Thanks. On 6/22/07, Matthias Wessendorf <[EMAIL PROTECTED]> wrote: add the bug to the jira at apaache (tomahawk has a separate) On 6/22/07, Francisco Passos <[EMAIL PROTECTED]> wrote: > Hey Matthias, > > I'll gladly report it, but who should I report it to? > > Tomahawk to s

Re: Partial Page Rendering issue with Trinidad

2007-06-22 Thread Danny Robinson
Just updated Matthias' old build steps http://wiki.apache.org/myfaces/Building_Trinidad_With_Maven On 6/22/07, Safurudin Mahic <[EMAIL PROTECTED]> wrote: The trunk is located at https://svn.apache.org/repos/asf/myfaces/trinidad/trunk If you are using windows, you could use the excellent Tortoi

Re: [Trinidad & Tomahawk] t:jsCookMenu inside tr:form

2007-06-22 Thread Matthias Wessendorf
add the bug to the jira at apaache (tomahawk has a separate) On 6/22/07, Francisco Passos <[EMAIL PROTECTED]> wrote: Hey Matthias, I'll gladly report it, but who should I report it to? Tomahawk to suggest not to require a naming container based form? Or Trinidad to suggest making one such envi

Re: Partial Page Rendering issue with Trinidad

2007-06-22 Thread Mladen Nisevic
Great! Safi, thanks a lot Safurudin Mahic wrote: The trunk is located at https://svn.apache.org/repos/asf/myfaces/trinidad/trunk If you are using windows, you could use the excellent TortoiseSVN app (tortoisesvn.tigris.org) to do the checkout. On linux you just do svn co https://svn.apache

Re: [Trinidad & Tomahawk] t:jsCookMenu inside tr:form

2007-06-22 Thread Francisco Passos
Hey Matthias, I'll gladly report it, but who should I report it to? Tomahawk to suggest not to require a naming container based form? Or Trinidad to suggest making one such environment available from tr:form? As for Adam's response, thank you for your suggestion. The solution you proposed is

Re: Partial Page Rendering issue with Trinidad

2007-06-22 Thread Safurudin Mahic
The trunk is located at https://svn.apache.org/repos/asf/myfaces/trinidad/trunk If you are using windows, you could use the excellent TortoiseSVN app (tortoisesvn.tigris.org) to do the checkout. On linux you just do svn co https://svn.apache.org/repos/asf/myfaces/trinidad/trunk Also, you hav

Using Unicode Characters on Trinidad

2007-06-22 Thread Mladen Nisevic
I have a strange issue with displaying of unicode characters on Trinidad components. The very same string gets displayed correctly on Tomahawk JsCookMenu but not on any of the Trinidad components. On Trinidad components I see it as Jezi\u010dke so the unicode code \u010d is displayed instead o

Re: Setting ViewRoot of FacesContext reloads the page _twice_

2007-06-22 Thread Volker Weber
Hi Matthes, can you post your source? the Servlet and the navigation rules. Regards, Volker 2007/6/22, Matthes R. <[EMAIL PROTECTED]>: hi volker, thanks for the tip. seems to be a better solution ;-) now, changes it into a servlet, i get another confusing problem. i have overwritten the

Re: [tobago]

2007-06-22 Thread Zied Hamdi
Thanks Erelend, :-) What I mean is the choice action listener versus action shouldn't have to be a technical constraint... Regards, Zied 2007/6/22, Erlend Hamnaberg <[EMAIL PROTECTED]>: Zied Hamdi wrote: > Hello people there :-), > > I have a solution through the use of actionListener instea

Re: JSF Specs (an improvement)

2007-06-22 Thread Zied Hamdi
Hi Jakob, I didn't really undersant your question? are you maybe speaking about ValueBinding.getExpressionString() ? Regards, Zied 2007/6/22, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: Hi, If you have this in a custom components method restoreState: >ValueBinding vb = getValueBinding("value")

Re: [Trinidad & Tomahawk] t:jsCookMenu inside tr:form

2007-06-22 Thread Matthias Wessendorf
Francisco, I think it (jscookm.) requires a naming container based form (the jsCookMenu), so please file a bug against it. -M On 6/22/07, Adam Winer <[EMAIL PROTECTED]> wrote: You can use h:form with Trinidad, FWIW, so if jsCookMenu isn't working you could switch that way. -- Adam On 6/22/0

Re: [Trinidad & Tomahawk] t:jsCookMenu inside tr:form

2007-06-22 Thread Adam Winer
You can use h:form with Trinidad, FWIW, so if jsCookMenu isn't working you could switch that way. -- Adam On 6/22/07, Francisco Passos <[EMAIL PROTECTED]> wrote: No errors, neither on the client, nor on the server... The page we're on just refreshes, like when returning a null navigation stri

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

2007-06-22 Thread Adam Winer
Yep - lately, I've switched from once a month to try to have 1.2 branches in sync with the 1.0 releases - so we'll have a 1.2.1 release along with the 1.0.1 release and the two line up. If we follow that line, then the fix would go into 1.2 around the same time as we're getting ready to release 1

Re: Partial Page Rendering issue with Trinidad

2007-06-22 Thread Mladen Nisevic
Thanks a lot to everyone who replied. Yes, I can see now that it was reloading the frame and not the whole page. I would like to use the 'real' AJAX that Matthias mentioned. How can I get the current trunk? noah wrote: Using the same version, I've noticed that it looks like a full page re

Re: SelectedOneMenu problem

2007-06-22 Thread Andrew Robinson
You have a valueChangeListener specified, which will be called first. Your action listener will only be called if there has been no errors (including validation errors). Check your log for any messages. Also include a to see if there were any validation errors. On 6/22/07, Carlos Ortiz <[EMAIL

Re: Partial Page Rendering issue with Trinidad

2007-06-22 Thread noah
Using the same version, I've noticed that it looks like a full page refresh is happening, but it actually isn't, probably due to the iframe. In other words, your browser will act like something changed, but the actual visible page is being updated piecemeal. You can test this by having an output w

SelectedOneMenu problem

2007-06-22 Thread Carlos Ortiz
Hi, I'm having a problem with a selectedOneMenu , i have required="true" valueChangeListener="#{quarrelsBean.serivceItemSelected}" > so far so good, when the value changes call serivceItemSelected load the ne

Re: Partial Page Rendering issue with Trinidad

2007-06-22 Thread Danny Robinson
Mladen, Are you able to see PPR working correctly in the trinidad-demo? There's an example under the features section. Danny On 6/22/07, Mladen Nisevic <[EMAIL PROTECTED]> wrote: Thanks for such a quick reply. I am using trinidad-impl-1.0.0-incubating as I thought that was the latest stable

Re: Partial Page Rendering issue with Trinidad

2007-06-22 Thread Mladen Nisevic
Thanks for such a quick reply. I am using trinidad-impl-1.0.0-incubating as I thought that was the latest stable build. Matthias Wessendorf wrote: sure. perhaps you're using a version, that has a bug. what are you using? The current trunk has "real" Ajax instead of IFrame (only used

Re: Partial Page Rendering issue with Trinidad

2007-06-22 Thread Matthias Wessendorf
sure. perhaps you're using a version, that has a bug. what are you using? The current trunk has "real" Ajax instead of IFrame (only used on uploads) ,M On 6/22/07, Mladen Nisevic <[EMAIL PROTECTED]> wrote: Hello, I'm having a an issue with the partial page rendering using Trinidad. The whole

Partial Page Rendering issue with Trinidad

2007-06-22 Thread Mladen Nisevic
Hello, I'm having a an issue with the partial page rendering using Trinidad. The whole page is reloaded every time although I have set autoSubmit and am using partial trigger as explained in the example on partial page rendering in Trnidad in MyFaces wiki. Also, partialSubmit for Command But

Re: JSF Specs (an improvement)

2007-06-22 Thread jnordstrom
Hi, If you have this in a custom components method restoreState: >ValueBinding vb = getValueBinding("value");>if (vb != null) vb.getValue(getFacesContext()); is there any way to get to the "value", ie the EL _expression_, from the tag if you include it in the tag as an attribute?  Or would you have

Re: Setting ViewRoot of FacesContext reloads the page _twice_

2007-06-22 Thread Matthes R.
hi volker, thanks for the tip. seems to be a better solution ;-) now, changes it into a servlet, i get another confusing problem. i have overwritten the protected void service(...) method as described in the link you have posted. however, now this service method is called in an infinite loop. and

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

2007-06-22 Thread Matthias Wessendorf
Yes, the 1.2-branch is created once in a while (currently once per month) based on the trunk (all fixes go in here) + a bit of Adam's magic to get JSF 1.2 in. -M On 6/22/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Will this fix also have been applied to the 1.2 branch? "Adam Winer" <[

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

2007-06-22 Thread mike . sauer
Will this fix also have been applied to the 1.2 branch? "Adam Winer" <[EMAIL PROTECTED]> wrote on 06/21/2007 05:28:32 PM: > On 6/21/07, Simon Lessard <[EMAIL PROTECTED]> wrote: > Hmmm, I assume this is used mainly to detect skin files' version? > > > It's used in a bunch of places to detect

RE: [Trinidad] SVN - Source for Demo

2007-06-22 Thread Paul Baker
Great. I'll take a look. I'm trying to understand how to use MenuModel. See message sent yesterday: [Trinidad] MenuModel - duplicate tabs/menubar items Pointers to any more examples will be appreciated.. PB -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Beha

Re: [Trinidad] SVN - Source for Demo

2007-06-22 Thread Matthias Wessendorf
Here is also a Trinidad demo code.google.com/p/facesgoodies the "blank" structure, will be available as an archetype (here in MyFaces) soon. Minor change OpenJPA instead of Toplink -M On 6/22/07, Paul Baker <[EMAIL PROTECTED]> wrote: Got it! Thanks!!! -Original Message- From: [EMAIL

Re: [Trinidad] SVN - Source for Demo

2007-06-22 Thread Matthias Wessendorf
viewcvs ... that is the webinterface to watch svn checkout http://svn.apache.org/repos/asf/myfaces/trinidad/trunk/ trinidad -M On 6/22/07, Paul Baker <[EMAIL PROTECTED]> wrote: I now get svn error: RA layer request failed svn: PROPFIND request failed on '/viewvc/myfaces/trinidad/trunk' s

RE: [Trinidad] SVN - Source for Demo

2007-06-22 Thread Paul Baker
Got it! Thanks!!! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthias Wessendorf Sent: Friday, June 22, 2007 7:22 AM To: MyFaces Discussion Subject: Re: [Trinidad] SVN - Source for Demo viewcvs ... that is the webinterface to watch svn checkout ht

Re: [tobago]

2007-06-22 Thread Erlend Hamnaberg
Zied Hamdi wrote: Hello people there :-), I have a solution through the use of actionListener instead of action: public void updatePhoneType( ActionEvent event ) { UIData data = findComponent( UIData.class, "page:personForm:details:phoneListSubview:phones" ); PhoneNumber number = (Phon

RE: [Trinidad] SVN - Source for Demo

2007-06-22 Thread Paul Baker
I now get svn error: RA layer request failed svn: PROPFIND request failed on '/viewvc/myfaces/trinidad/trunk' svn: PROPFIND of '/viewvc/myfaces/trinidad/trunk': 302 Found (http://svn.apache.org) Thoughts? PB -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Be

Re: [Trinidad] SVN - Source for Demo

2007-06-22 Thread Matthias Wessendorf
Sorry for the inconvenience, but trinidad is now located under myfaces http://svn.apache.org/viewvc/myfaces/trinidad/trunk/ On 6/22/07, Paul Baker <[EMAIL PROTECTED]> wrote: Where can I get the Trinidad demo source? I have tried the urls at: http://incubator.apache.org/adffaces/trinida

[Trinidad] SVN - Source for Demo

2007-06-22 Thread Paul Baker
Where can I get the Trinidad demo source? I have tried the urls at: http://incubator.apache.org/adffaces/trinidad-blank/source-repository.html I'm unable to connect. http://svn.apache.org/repos/asf/incubator/adffaces/tags/trinidad-1.0.0-incub ating/trinidad-blank trinidad-blank

Re: [Trinidad & Tomahawk] t:jsCookMenu inside tr:form

2007-06-22 Thread Francisco Passos
No errors, neither on the client, nor on the server... The page we're on just refreshes, like when returning a null navigation string from an action. On 6/22/07, Matthias Wessendorf <[EMAIL PROTECTED]> wrote: do you get any errors ? on the client (javascript) or on the server ? the difference

Re: [Trinidad & Tomahawk] t:jsCookMenu inside tr:form

2007-06-22 Thread Matthias Wessendorf
do you get any errors ? on the client (javascript) or on the server ? the difference between h:form and tr:form is, for instance, that tr:form isn't a namingContainer. -M On 6/22/07, Francisco Passos <[EMAIL PROTECTED]> wrote: Good morning. It seems jsCookMenu entries do not navigate properly

[Trinidad & Tomahawk] t:jsCookMenu inside tr:form

2007-06-22 Thread Francisco Passos
Good morning. It seems jsCookMenu entries do not navigate properly when placed inside a tr:form, whereas if we use a h:form if works fine. Is this a bug? Is there a known workaround? --Francisco

Re: myfaces and xhtml.. again

2007-06-22 Thread Werner Punz
::SammyRulez:: schrieb: > Hi folks > > I know it is sticky but All my searches in google and in the list do > not lead me to the final answer.. why myfaces (nor core or tomhawk) > generate XHTML transitional valid markup. > > Fact 1 errors are at the very low level (unclosed input tags etc) > >

Re: [Trinidad] Detailstamp facet problem

2007-06-22 Thread Henk Vanhoe
Finally, I have found some time to make a testproject where this problem (bug?) can be duplicated... There is a jsp in this project (/detailstamptest/faces/table/changeTable.jspx) which consists of a table with one element. Next to this element there is a 'Show detail' link. When you click on

Re: [tobago] menu is displayed under the popup layer (and isn't clickable)

2007-06-22 Thread Zied Hamdi
Sorry I forgot the main question: Do you agree it would suffice to add the possibility to specify the z-index manually in to complete the algorythm for all other components? Regards, Zied 2007/6/22, Zied Hamdi <[EMAIL PROTECTED]>: Hi Volker, How was the music day in your town? In my case,

Re: [tobago] menu is displayed under the popup layer (and isn't clickable)

2007-06-22 Thread Zied Hamdi
Hi Volker, How was the music day in your town? In my case, the menu items are visibally in a lower z-index, (I see them under the grey layer and they are not clickable). There's also a problem with the images : they are not displayed and there's a warning (see below) even though I took a look in

Re: [Trinidad] How to use XMLMenuModel

2007-06-22 Thread Zarick Lau
Hi Adam, That's exactly the doc I'm hunting for a few days! Thanks!!! Regards, Zarick On 6/22/07, Adam Winer <[EMAIL PROTECTED]> wrote: I've checked in some documentation [1], but unfortunately Continuum is down so it'll be a little while before it is deployed. -- Adam http://svn.apache.or

Re: myfaces and xhtml.. again

2007-06-22 Thread Cagatay Civici
Well, in this case it'd help us if you could file a jira issue with the corresponding components that generates invalid xhtml. On 6/22/07, ::SammyRulez:: <[EMAIL PROTECTED]> wrote: Hi folks I know it is sticky but All my searches in google and in the list do not lead me to the final answer.. w

myfaces and xhtml.. again

2007-06-22 Thread ::SammyRulez::
Hi folks I know it is sticky but All my searches in google and in the list do not lead me to the final answer.. why myfaces (nor core or tomhawk) generate XHTML transitional valid markup. Fact 1 errors are at the very low level (unclosed input tags etc) Fact 2 tags are not generated in the tag

Re: Changing field style on error

2007-06-22 Thread Juan Ignacio Sánchez Lara
I don't really think it fits my needs... statusCss would be a bean level, but I want it field-grained. And, since I already bind an error message to a field, I'd like it to get the error automatically... On 6/22/07, ::SammyRulez:: <[EMAIL PROTECTED]> wrote: styleClass="#{beanThatKnowsTheError.

Re: JSF Specs (an improvement)

2007-06-22 Thread Zied Hamdi
Hi Martin, You said it Exactly right!, you remind me a Thales sentence: "excuse me for the long mail, I didn't have time", you did the mail very short to say the same thing :-). I think I will verify some aspects before I ask my question again: like the question: "after the initial request, when

Re: Changing field style on error

2007-06-22 Thread ::SammyRulez::
styleClass="#{beanThatKnowsTheError.statusCss}" 2007/6/22, Juan Ignacio Sánchez Lara <[EMAIL PROTECTED]>: You can specify errorStyle on t:message but, is there any way to do something similar at the fields? For example, I'd like to put red borders on an inputText with invalid characters. Right

Changing field style on error

2007-06-22 Thread Juan Ignacio Sánchez Lara
You can specify errorStyle on t:message but, is there any way to do something similar at the fields? For example, I'd like to put red borders on an inputText with invalid characters. Right now I can use t:message errorStyle to display a red text message, but I'd also like to change the field itsel