Re: Iterating over a list of strings or objects

2007-12-06 Thread Bruno Aranda
Facelets: ui:iterate Tomahawk: t:dataList Trinidad: tr:iterator JSTL: c:forEach ... You can use any of these for most cases... Cheers, Bruno On 05/12/2007, Wolfgang Kluge [EMAIL PROTECTED] wrote: Hi, is there a possibility to iterate over a list containging Strings or Objects and

DOM element IDs in portlets not consistent

2007-12-06 Thread lschoop
Hi there I experienced that the DOM element IDs are not consistent in combination with portlets. The same element has sometimes an ID like formId:elementId, another time like view:formId:elementId. Do you know the reason for this? I'm having this issue when navigating forward to another page

Antwort: [Trinidad] Panel Popup not working correctly in tr:table?

2007-12-06 Thread wolfgang . toepfer
Hi, The doc says The panelPopup is used to place ancillary information on a page, made visible via a clickable link (e.g icon or link). Practice also has shown to me that the use of panelPopup is rather restricted to pure display. Have you tried a Trinidad dialogue? I think this is the way

IE Runtime Error function clearFormHiddenParams_back(currFormName)

2007-12-06 Thread samju
1. webapp use: tomahawk-1.1.7-SNAPSHOT.jar and myfaces-impl/api-1.1.5.jar 2. JSP use:t:inputHtml value=#{result.webPageScreenShot}.. 3. webPageScreenShot: could have HTML input of Type hidden. rendering t:inputHtml under IE cause a runtime error: 'elements.back:_link_hidden_' is null or

Re: [orchestra] FacesGoodies and myfaces-orchestra-examples-project

2007-12-06 Thread Matthias Wessendorf
facesgoodies had an API usage bug :-) It is now fixed in its SVN; -M On Dec 4, 2007 6:43 PM, Esser, Jonas [EMAIL PROTECTED] wrote: Hi, I tested the myfaces-orchestra-examples-project and the Trinidad FacesGoodies by Matthias Wessendorf. Both demos don't work correct for me, look at my

AW: [orchestra] FacesGoodies and myfaces-orchestra-examples-project

2007-12-06 Thread Esser, Jonas
Thank you, Simon for fixing the bug ORCHESTRA-13, but this takes me to my next problem: I explain a situation that is not the normal case, but it can happen: First, a user should not try to edit more than one product in the same conversationContext, because a conversationContext can only

Re: Simple Question (Action Call from BackingBean init method)

2007-12-06 Thread daniel ccss
Thank you Gerhard Ok for you to know more my scenary :) 1- All the JSPs need to verify is the user is in session (not the login JSP obviously) 2- All my beans extends from a base bean, so I can have methods in it that all the beans can call, lets say that in all my beans the only thing I need to

AW: Antwort: [Trinidad] Panel Popup not working correctly in tr:table?

2007-12-06 Thread Döring Markus
Hi, thanks, missed that. Can't find any documentation to the Trinidad Dialogue, can someone give me a hint where to find something about it? Greetings Markus Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 6. Dezember 2007 12:16 An: MyFaces Discussion Betreff:

Antwort: AW: Antwort: [Trinidad] Panel Popup not working correctly in tr:table?

2007-12-06 Thread wolfgang . toepfer
http://myfaces.apache.org/trinidad/devguide/dialogs.html Best, Wolfgang. Döring Markus [EMAIL PROTECTED] 06.12.2007 15:10 Bitte antworten an MyFaces Discussion users@myfaces.apache.org An MyFaces Discussion users@myfaces.apache.org Kopie Thema AW: Antwort: [Trinidad] Panel Popup not

AW: Antwort: AW: Antwort: [Trinidad] Panel Popup not working correctly in tr:table?

2007-12-06 Thread Döring Markus
Thanks a lot, that helps. I’ve read that currently there is no way to use a div to show the popup inside the current page as tr:panelPopup does. Are there any plans to implement this soon™? Markus Döring Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 6. Dezember

Facelet Question

2007-12-06 Thread Carlos Adolfo Ortiz Quiros
Is Facelet worth using for a new Project or old one? I am having an old project in JSF, but don't know if facelet is the choice. If I have many pages in an old project, it is easy or hard the conversion to Facelet. CARLOS ADOLFO ORTIZ Q Ingeniero de Desarrollo TRÉBOL Software S.A. Tel

Re: AW: [orchestra] FacesGoodies and myfaces-orchestra-examples-project

2007-12-06 Thread Simon Kitching
Hi Jonas, I'm not sure how any system can solve this problem, whether using orchestra or not. Orchestra provides the orchestra:newConversation tag that can be wrapped around a link. The link should then open a new window. If the user can be persuaded to click on this link rather than using

On Tomahawk panelNavigation clickability

2007-12-06 Thread Carlos Adolfo Ortiz Quiros
Hi I just wonder why the panel navigation component calls the onclick javaScript event for each node in the hierarchy. That is. If I have a tree like this + parent 1 + parent 2 - child 1 - child 2 + parent 3 - child 3 And if I click on child 2 then a on click

Re: [Trinidad] messages

2007-12-06 Thread Santa_Claus
Hello Matthias, yes, I mean the automatically generated error messages and their translation. An example: I´m using a validator to check if an email-adress is valid. Here is the jsf code: tr:inputText id=email label=#{msg['user.email']} value=#{registrationBean.user.email} required=true

Re: [Trinidad] messages

2007-12-06 Thread Matthias Wessendorf
hi, i thought, you want to replace the Trinidad build-in Strings; f:validator validatorId=org.apache.myfaces.validator.Email/ If an invalid email adress is entered, the output org.apache.myfaces.Email.INVALID is generated, which I want to change according to my locale. aren't there

AW: [orchestra] FacesGoodies and myfaces-orchestra-examples-project

2007-12-06 Thread Esser, Jonas
Hi Simon, here is my idea with the pageFlowScope: (I use trinidad) in my master page: tr:commandLink action=navDetail tr:setActionListener from=#{row} to=#{DetailView.obj} / ... /tr:commandLink in my detail backing bean public Obj getObj() { return (Obj)

dataScroller and Back button issue, Illegal value for first row

2007-12-06 Thread darkwitch
Hi! I have a scrollable datatable using t:dataScroller with the ability to filter out data. Let's say my table has too many rows to be placed on a single page, so i can switch pages using dataScroller (let's say i have 3 pages). Then I filter out all the data (no items matches the filter

Re: [Trinidad] messages

2007-12-06 Thread Santa_Claus
Hello Matthias, I don´t use tomahawk, as the configuration wouldn´t work out on my system. I have no idea where the output comes from. Regards, Santa hi, i thought, you want to replace the Trinidad build-in Strings; f:validator validatorId=org.apache.myfaces.validator.Email/ If an

Re: [Trinidad] messages

2007-12-06 Thread Matthias Wessendorf
Ok, but... this validator, is! part of Tomahawk: f:validator validatorId=org.apache.myfaces.validator.Email/ (and now commons). However the validator is available in your project, you can add the messages to your resource bundle(s) like to your (what ever the real file name is)

RE: Facelet Question

2007-12-06 Thread Kito D. Mann
Converting to Facelets is pretty painless, since the syntax is standard XML and it uses the same tags as JSP. If your old project warrants new development, I’d go for it. ~~~ Kito D. Mann - Author, JavaServer Faces in Action

RE: Facelet Question

2007-12-06 Thread Simon Kitching
Or just upgrade to JSF1.2 and stay with JSP. JSF1.1+Facelets is vastly superior to JSF1.1+JSP. But I don't see any major difference between JSF1.2+facelets and JSF1.2+JSP+tomahawk+tiles2 Or is there something I've missed? Regards, Simon Kito D. Mann [EMAIL PROTECTED] schrieb:

Re: [Trinidad] messages

2007-12-06 Thread Santa_Claus
Hi, I´ve already tried this, it doesn´t work! :-( Matthias Wessendorf-4 wrote: Ok, but... this validator, is! part of Tomahawk: f:validator validatorId=org.apache.myfaces.validator.Email/ (and now commons). However the validator is available in your project, you can add the

Problem with form

2007-12-06 Thread Rafal Markut
Hello, I have application in JSF (exactly in MyFaces) + springframwork + hibernate. The application is very easy, namely there is list of records. When I click on some record (or press NEW button) then I get form where I can add new/modify records. When I press SAVE then it saved changes in

RE: Facelet Question

2007-12-06 Thread Carlos Adolfo Ortiz Quiros
Quite interesting. In which position is Tomahawk library with JSF versions? Why do you mention JSF1.2+facelets and JSF1.2+JSP+tomahawk+tiles2 What is the point here? -Mensaje original- De: Simon Kitching [mailto:[EMAIL PROTECTED] Enviado el: Thursday, December 06, 2007 11:23 AM

Re: DOM element IDs in portlets not consistent

2007-12-06 Thread Scott O'Bryan
Yes. Namespacing is an issue that different bridges and renderkits handle differently. In Trinidad or the Default Renderkit, the 301 bridge tries to namespace elements automatically using the Portlet's namespace such that the clientId is namespace:formId:elementId. This shouldn't change for

Re: [Trinidad] Custom Renderer for Trinidad Components

2007-12-06 Thread Rafa Pérez
Hi all, I had a similar problem with a custom renderer for panelBox and SelectManyListbox and discovered that the render kit that was being used was DesktopRenderKit. Try it. HTH, - - Rafa On Dec 5, 2007 8:41 PM, Leonardo Uribe [EMAIL PROTECTED] wrote: Really not. The renderer should be

Re: Facelet Question

2007-12-06 Thread Matthias Wessendorf
On a related note, the JBoss plugins for Eclipse now provide autocomplete etc for Facelets pages..thanks JBoss! I think the Eclipse folks are working on that as well! Regards, Simon -- Matthias Wessendorf further stuff: blog: http://matthiaswessendorf.wordpress.com/ sessions:

RE: Facelet Question

2007-12-06 Thread simon
On Thu, 2007-12-06 at 11:38 -0500, Carlos Adolfo Ortiz Quiros wrote: Quite interesting. In which position is Tomahawk library with JSF versions? The company I work for has several applications in production right now with Myfaces1.2 + tomahawk. Why do you mention JSF1.2+facelets and

AW: AW: Action Method not called using Myfaces 1.1.5

2007-12-06 Thread Andreas Grund
Hi, I found the error. MyFaces within the BEA Weblogic Server seems to have problems with %= include ... % and jsp:include / Tags. After deleting these two Tags, it works fine. But why that? Where is the problem? Why can´t I use both? I meen include and JSF? Greetings, Andreas

Re: Antwort: AW: Antwort: [Trinidad] Panel Popup not working correctly in tr:table?

2007-12-06 Thread Danny Robinson
This is already possible in the latest release - but you need to configure lightweight dialogs by setting the web.xml param. org.apache.myfaces.trinidad.ENABLE_LIGHTWEIGHT_DIALOGS=true On Dec 6, 2007 9:36 AM, Döring Markus [EMAIL PROTECTED] wrote: Thanks a lot, that helps. I've read that

On Tomahawk panelNavigation clickability

2007-12-06 Thread Carlos Adolfo Ortiz Quiros
Hi I just wonder why the panel navigation component calls the onclick javaScript event for each node in the hierarchy. That is. If I have a tree like this + parent 1 + parent 2 - child 1 - child 2 + parent 3 - child 3 And if I click on child 2 then a on click

Re: How can I Use Expression Language in the DataTable id

2007-12-06 Thread Ali Abdel-Aziz Ali
Hi Gerhard, Thanks for your fast reply I will try your solution. *if you wanna know more details about my situation here are some details:* *the situation I have is that I have screens that allow the user to define new fields (name, type(dropDowen, number, date, ..), maxRecords, isRequired,

RE: Facelet Question

2007-12-06 Thread Kito D. Mann
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthias Wessendorf Sent: Thursday, December 06, 2007 3:01 PM To: MyFaces Discussion Subject: Re: Facelet Question On a related note, the JBoss plugins for Eclipse now provide autocomplete etc

Re: Facelet Question

2007-12-06 Thread Mike Kienenberger
On Dec 6, 2007 11:23 AM, Simon Kitching [EMAIL PROTECTED] wrote: But I don't see any major difference between JSF1.2+facelets and JSF1.2+JSP+tomahawk+tiles2 Or is there something I've missed? Error reporting is vastly superior when you stop using jsp. Facelets is also significantly

Re: Bean doesnt show new values

2007-12-06 Thread murat aydin
Hi, i opened a popup as told in http://wiki.apache.org/myfaces/JavascriptOpenNewWindow commandlink action works after onclick. So the popup page is opened before setting its attributes in the commandlink action. by opening popup page from action (after setting its attributes), i get what i want.

Re: Simple Question (Action Call from BackingBean init method)

2007-12-06 Thread Gerhard Petracek
hello, as i already mentioned, please don't use your idea. in my opinion i got your idea about a base bean, which provides this functionality. however, as you already saw: it doesn't work. e.g. if your beans are created within the render response phase you can't re-navigate. (further comments

Re: Facelet Question

2007-12-06 Thread Luka Surija
Kito D. Mann wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthias Wessendorf Sent: Thursday, December 06, 2007 3:01 PM To: MyFaces Discussion Subject: Re: Facelet Question On a related note, the JBoss plugins for Eclipse now provide

Re: Facelet Question

2007-12-06 Thread Bruno Aranda
And IntelliJ 7 On 07/12/2007, Luka Surija [EMAIL PROTECTED] wrote: Kito D. Mann wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthias Wessendorf Sent: Thursday, December 06, 2007 3:01 PM To: MyFaces Discussion Subject: Re: Facelet

(Trinidad) How to make an inputListOfValues and tr:inputDate field non-editable

2007-12-06 Thread sandeep gururaj
Hi All, I have a requirement to make the text fileds associated with tr:inputListOfValues and tr:inputDate components non-editable. Instead, a user should be selecting an item or date and that should be displayed in the text field. Earliar, I was setting maximumLength=0 for both these

[Trinidad] nightly builds 1.0.x and 1.2.x

2007-12-06 Thread Matthias Wessendorf
Hi, the long dicussed second trunk has finally arrived. Thanks to Andrew, for doing this. That also means, that there are now nightly builds for both versions: 1.0x. AND 1.2.x (where the x is currently a 5) The snapshots are NOT on ibiblio, but on the Apache M2 Snapshot Repo: