EL and nested objects

2007-05-10 Thread René Günther
Hello, assume I got a document bean and a costcenter bean (mapped to tables). The document is assigned to a costcenter. The costcenter got two properties: id (Long) and code (String). The user may edit the assignment by providing another costcenter code for the document. In JSF this could look

RE: Tomahawk 1.1.5 and MyFaces 1.2 ?

2007-05-10 Thread GOVAERS Erik
Hi, There's a Wiki compatibility page on http://wiki.apache.org/myfaces/CompatibilityMatrix. Erik -Oorspronkelijk bericht- Van: Josué Alcalde González [mailto:[EMAIL PROTECTED] Verzonden: woensdag 9 mei 2007 22:44 Aan: MyFaces Discussion Onderwerp: Tomahawk 1.1.5 and MyFaces 1.2 ?

Re: ValueBinding throw a servlet (solved)

2007-05-10 Thread omidh
Hi again, I solved the problem. for the intressted reader ;) : protected FacesContext getFacesContext(HttpServletRequest request, HttpServletResponse response) { FacesContext facesContext = FacesContext.getCurrentInstance(); if (facesContext

Re: [Trinidad] Trinidad + Tomahawk (schedule component) + Facelets: Rendering problem ???

2007-05-10 Thread Wesley Niemegeerts
I'm having the same problem... Did you find a solution? Also the action event seems to work but the mouseListener doesn't... -- View this message in context:

RE: Tomahawk 1.1.5 and MyFaces 1.2 ?

2007-05-10 Thread Josué Alcalde González
El jue, 10-05-2007 a las 08:41 +0200, GOVAERS Erik escribió: Hi, There's a Wiki compatibility page on http://wiki.apache.org/myfaces/CompatibilityMatrix. Erik I know, but there's no information about jsf 1.2. It is only a myfaces-tomahawk and myfaces-tobago compatibility matrix.

RE: selectOneRadio in tree2 ?

2007-05-10 Thread Michael Heinen
Thanks Scott, I use also a t:selectOneRadio with spread layout and added an index attribute to my nodes. The value of the for attribute must be full qualified as you said. This took me some time. Michael -Original Message- From: scottymo [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 9.

Re: [Trinidad] Trinidad + Tomahawk (schedule component) + Facelets: Rendering problem ???

2007-05-10 Thread Wesley Niemegeerts
I got the mouseListener events running follow this http://www.nabble.com/Schedule-component,-mouseListener-is-not-triggered-At-all-t2213732.html thread But the schedule is still rendered wrong... :-( Anybody ? Wesley Niemegeerts wrote: I'm having the same problem... Did you find a

Re: Message rendered twice

2007-05-10 Thread Rudi Steiner
Hi, everything works fine now. Thanks a lot, Rudi On 5/9/07, Nebinger, David [EMAIL PROTECTED] wrote: I show the messages on the page like this: h:messages showDetail=true/ showSummary is true by default. Since you used both flags you were shown both messages. Try setting showSummary to

How to access portal user information in JSF application

2007-05-10 Thread Kevin Irmscher
Hi, I have a JSF application in a Liferay Portal rendered as portlet using MyFacesGenericPortlet class. I want to access user information that is provided by the portal. In a normal portlet application they can be accessed using

Re: Configuring ajax4jsf to run with facelets and myfaces implementation

2007-05-10 Thread Eugine F
Hello Mike, I have tried but it fails still. I am still havin the same error. From: Adrian Mitev [EMAIL PROTECTED] Reply-To: MyFaces Discussion users@myfaces.apache.org To: MyFaces Discussion users@myfaces.apache.org Subject: Re: Configuring ajax4jsf to run with facelets and myfaces

Re: Configuring ajax4jsf to run with facelets and myfaces implementation

2007-05-10 Thread ::SammyRulez::
remove the context-param param-nameorg.ajax4jsf.SKIN/param-name param-valueCLASSIC/param-value /context-param tag.. 2007/5/10, Eugine F [EMAIL PROTECTED]: Hello Mike, I have tried but it fails still. I am still havin the same error. From: Adrian Mitev [EMAIL PROTECTED] Reply-To: MyFaces

SkinNotFoundException thown while configuring ajax4jsf

2007-05-10 Thread Eugine F
Hi to all, I am struggling to configure ajax4jsf to work with facelets in a jsf application and I am having the following exception thrown. The stack trace is pasted below. org.ajax4jsf.framework.skin.SkinNotFoundException: Skin with name classic not found at

Re: SkinNotFoundException thown while configuring ajax4jsf

2007-05-10 Thread Cagatay Civici
Have you tried with removing the skin context param? On 5/10/07, Eugine F [EMAIL PROTECTED] wrote: Hi to all, I am struggling to configure ajax4jsf to work with facelets in a jsf application and I am having the following exception thrown. The stack trace is pasted below.

Re: [Trinidad] Trinidad + Tomahawk (schedule component) + Facelets: Rendering problem ???

2007-05-10 Thread Jurgen Lust
The fact that the schedule is not rendered properly with facelets is a bug. I am currently working on a refactoring of the component in order to fix this. It's about 90% complete at the moment, so expect a commit soon... Jurgen Op donderdag 10-05-2007 om 00:54 uur [tijdzone -0700], schreef

Re: [Trinidad] Trinidad + Tomahawk (schedule component) + Facelets: Rendering problem ???

2007-05-10 Thread Wesley Niemegeerts
Thanks Jurgen, Love the component! Nice job! By the way, in the holiday examples ... poeperkesdag was da nie halfweg januari? :-) Thanks for the fix! Jurgen Lust-2 wrote: The fact that the schedule is not rendered properly with facelets is a bug. I am currently working on a

Re: [Tobago] File-upload doesn't work anymore with myFaces 1.1.5

2007-05-10 Thread Helmut Swaczinna
Please help, this is a really serious problem. We must use 1.1.5 because of the problem with the target attribute. One more info: the tc:file is on a popup. Regards Helmut - Original Message - From: H. Swaczinna [EMAIL PROTECTED] To: users@myfaces.apache.org Sent: Tuesday, May 08,

Re: [Tobago] File-upload doesn't work anymore with myFaces 1.1.5

2007-05-10 Thread Arvid Hülsebus
In the address demo the file upload works with MyFaces 1.1.5 and a popup. Are you using the TobagoMultipartFormdataFilter servlet filter or the tobago-fileupload.jar? The preferred way is adding tobago-fileupload.jar to the classpath. Regards, Arvid Helmut Swaczinna wrote: Please help, this

[Trinidad] Publication of snapshots?

2007-05-10 Thread Beelen, Marco
Hello, I'm interested to trying to use Trinidad for a project I'm working on, but I having some troubles getting started. I'm using maven 2 as my build to so I was going to start by adding trinidad as a dependancy, but I couldn't get it correctly. I looked at the pom.xml of the trunk of

Re: [Tobago] File-upload doesn't work anymore with myFaces 1.1.5

2007-05-10 Thread H. Swaczinna
Hi Arvid, I'm using TobagoMultipartFormdataFilter but I tried the other way also with no success. Hm, then I have to have a look at the address demo. But do you aggree with me that code that worked with 1.1.4 should work with 1.1.5 also? Regards Helmut - Original Message - From:

Schedule Component

2007-05-10 Thread Yogesh Chaudhari
How to get the event entry that was clicked in onMouseClickAction? public void onMouseClickAction(ScheduleMouseEvent event) { StringBuffer buffer = new StringBuffer(); switch (event.getEventType()) { case ScheduleMouseEvent.SCHEDULE_BODY_CLICKED:

Re: [Tobago] File-upload doesn't work anymore with myFaces 1.1.5

2007-05-10 Thread Arvid Hülsebus
Hello, I think it should work. I can't recall any relevant changes in this area. I locally switched from tobago-fileupload.jar to TobagoMultipartFormdataFilter in the address demo. Afterwards the file upload still works. Regards, Arvid H. Swaczinna wrote: Hi Arvid, I'm using

selectOneMenu inside of dataTable

2007-05-10 Thread HENRY Pierre
Hi, I have a use case where I need to delete some Location objets. Events objects are bound to these locations (parent-child, where the location is the parent). So when I try to delete a location that has children, I display a dataTable of all the events children. In each line of the dataTable,

[Trinidad] missing close() call in HtmlResponseWriter.close

2007-05-10 Thread Renzo Tomaselli
Hi, while investigating about a modal panel failure in using RichFaces, I noticed that Ajax4jsf failed to render a cached css. The final effect is an apparently random failure in showing the modal panel, depending on browser caching of involved css. This is turn was due to a missing close()

[Tobago] Custom theme with favicon.ico

2007-05-10 Thread Cort, Tom
Hello, I'm using tobago-1.0.10 and working on creating a new theme. I'd like to include a favicon.ico file ( http://en.wikipedia.org/wiki/Favicon ), but I'm having trouble figuring out where to put it. Putting it in the theme's image directory doesn't seem to work... 10:11:54,783 WARN

Tomahawk datascroller: disable non active links

2007-05-10 Thread mbrunnert
Hi! I'm using the datascroller and i would like to make non active facets non clickable. For example, when on the first page the facet previous should be visible but not clickable. Does anybody have an idea on how i could do this? Best regards, Mattias -- View this message in context:

Re: [Tobago] Custom theme with favicon.ico

2007-05-10 Thread Arvid Hülsebus
Hello, We were thinking about adding a favIcon attribute to tc:page, which would in turn render a link rel=icon ... element into the HTML header. Additionally the ResourceServlet has to be extended to support the .ico extension and map it to the content type image/vnd.microsoft.icon or

Problems rendering navigationMenuItems

2007-05-10 Thread Alexandre Corrêa Barbosa
Hi folks, I'm trying to make a menu using t:panelNavigation2, wtih dynamic menu items. Below is the jsp code I'm using: h:form t:div id=menu forceId=true t:panelNavigation2 layout=list itemClass=off activeItemClass=on openItemClass=on t:navigationMenuItems id=items

RE: [Tobago] Custom theme with favicon.ico

2007-05-10 Thread Cort, Tom
Arvid Hülsebus wrote: This is a fairly easy change and could be added to the next release. Can you please add a feature request to JIRA? http://issues.apache.org/jira/browse/TOBAGO-398 Thanks for your help. -- Tom Cort Systems Developer Vermont Department of Taxes smime.p7s Description:

[Tobago] Another problem with myFaces 1.1.5

2007-05-10 Thread H. Swaczinna
Hi, I've discovered another problem after switching to myFaces 1.1.5. The value of an input field is not restored when a button with immediate=true is clicked. The action method of the bean resets the value of the property to a standard value and returns an outcome != null so the component tree

opening a new window using tr:commandLink

2007-05-10 Thread Nikhil Smotra
Hi, I am trying to open a link in a new window using tr:commandLink by setting 'useWindow' attribute to 'true'. The link opens in the very same same window and not a new window. The code I am using is as follows: tr:commandLink text=View Report action=test useWindow=true windowHeight=200

Re: [Tobago] Custom theme with favicon.ico

2007-05-10 Thread Arvid Hülsebus
I checked in a first, preliminary version for favicon support. You can now specify an application icon on the page: tc:page applicationIcon=icon/favicon.ico ... Regards, Arvid Cort, Tom wrote: Arvid Hülsebus wrote: This is a fairly easy change and could be added to the next release. Can

[Announcement] MyFaces 1.2 - 100%

2007-05-10 Thread Bruno Aranda
The MyFaces team is very proud to announce that it seems that MyFaces 1.2 fully implements the JSF 1.2 Specification as we ran the TCK (Technology Compatibility Kit tests) and it passed. We are now seeking formal acknowledgment from Sun that our implementation is conformant with the

Re: Tomahawk 1.1.5 and MyFaces 1.2 ?

2007-05-10 Thread Bruno Aranda
Hi, you may use tomahawk with JSF 1.2 (at least with the snapshot of MyFaces 1.2). However this is uncharted waters and some components might not work. For instance, a quick test with the snapshot shows that the tree2 or the datascroller seem not to be working. I haven't investigated it yet, but

Re: opening a new window using tr:commandLink

2007-05-10 Thread Luka Surija
action has to be dialog:something. It must start with dialog:. Nikhil Smotra wrote: Hi, I am trying to open a link in a new window using tr:commandLink by setting 'useWindow' attribute to 'true'. The link opens in the very same same window and not a new window. The code I am using is as

Re: [Announcement] MyFaces 1.2 - 100%

2007-05-10 Thread Mario Ivankovits
Great work 1.2-Team! :-) Congratulation! --- Mario

Re: [Announcement] MyFaces 1.2 - 100%

2007-05-10 Thread Alexander Wallace
How's support for portlets in 1.2? Thanks! On May 10, 2007, at 11:12 AM, Bruno Aranda wrote: The MyFaces team is very proud to announce that it seems that MyFaces 1.2 fully implements the JSF 1.2 Specification as we ran the TCK (Technology Compatibility Kit tests) and it passed. We are now

Re: Tomahawk 1.1.5 and MyFaces 1.2 ?

2007-05-10 Thread Kem Elbrader
The schedule component also does not fully work with the reference implementation but a fix is in progress. See https://issues.apache.org/jira/browse/TOMAHAWK-971 On 5/10/07, Bruno Aranda [EMAIL PROTECTED] wrote: Hi, you may use tomahawk with JSF 1.2 (at least with the snapshot of MyFaces

Re: [Announcement] MyFaces 1.2 - 100%

2007-05-10 Thread Adam Winer
Woo hoo! This is great news! -- Adam On 5/10/07, Bruno Aranda [EMAIL PROTECTED] wrote: The MyFaces team is very proud to announce that it seems that MyFaces 1.2 fully implements the JSF 1.2 Specification as we ran the TCK (Technology Compatibility Kit tests) and it passed. We are now seeking

Re: [Trinidad] Publication of snapshots?

2007-05-10 Thread Adam Winer
I don't think the continuum server has been updated since our source code was moved out of the incubator a couple of weeks ago. As a result, we've got dependency groupIdorg.apache.myfaces.trinidad/groupId artifactIdtrinidad-api/artifactId

Calling JSF page from html page

2007-05-10 Thread Todd Nine
Hi all, I'm trying to call a JSF application from a plain HTML form on a different subdomain (and server). Its a search so I only have 1 input field. I have include the code below. I need to call the method performSearch on the bean that's associated with my searchResults.jsf page. It

Re: [Trinidad] missing close() call in HtmlResponseWriter.close

2007-05-10 Thread Adam Winer
Ah, thanks! Not sure why the code's been written that way. I've just fixed it on trunk. -- Adam On 5/10/07, Renzo Tomaselli [EMAIL PROTECTED] wrote: Hi, while investigating about a modal panel failure in using RichFaces, I noticed that Ajax4jsf failed to render a cached css. The final

RE: [Announcement] MyFaces 1.2 - 100%

2007-05-10 Thread Jesse Alexander \(KSFD 121\)
Congrats Finally another player in the JSF 1.2 arena Alexander -Original Message- From: Bruno Aranda [mailto:[EMAIL PROTECTED] Sent: Thursday, May 10, 2007 6:13 PM To: MyFaces Discussion Subject: [Announcement] MyFaces 1.2 - 100% The MyFaces team is very proud to announce that it

Cross-site scripting in autoscroll parameter

2007-05-10 Thread rajat swarup
I was playing around with a MyFaces JSF application and observed that the autoscroll parameter is vulnerable to cross-site scripting. For example, putting the following information in the POST request autoScroll=0%2C0);//--/scriptIMG%20src=bla%20onerror=alert(document.cookie)script( results in a

Problem with Datalist.

2007-05-10 Thread Carlos Ortiz
datalist is not render absoult nothing. any other jsf tag is working but this one [datalist] just dont render,I'm using the jars form the example download , any ideas. ¡? f:view t:dataList var=car value=#{carBean.lst} layout=grid id=none

Re: Problem with Datalist.

2007-05-10 Thread David Delbecq
Carlos Ortiz a écrit : datalist is not render absoult nothing. any other jsf tag is working but this one [datalist] just dont render,I'm using the jars form the example download , any ideas. ¡? basic thought: because list empty? f:view t:dataList var=car

Re: Problem with Datalist.

2007-05-10 Thread Carlos Ortiz
Solve , the properties of the beans must start in lowercase. private int Id; private String Brand; private String Model; private String Name; must be private int id; private String brand; private String model; private String name; t:outputText value=#{car.id}/t:outputText

Re: Problem with Datalist.

2007-05-10 Thread Carlos Ortiz
THX David Delbecq escribió: Carlos Ortiz a écrit : datalist is not render absoult nothing. any other jsf tag is working but this one [datalist] just dont render,I'm using the jars form the example download , any ideas. ¡? basic thought: because list empty? f:view

Re: Tomahawk 1.1.5 and MyFaces 1.2 ?

2007-05-10 Thread Dennis Gesker
t:collapsiblePanel also has problems. There was a patch posted in March but I don't know the eta for it. https://issues.apache.org/jira/browse/TOMAHAWK-872 --Dennis On 5/10/07, Kem Elbrader [EMAIL PROTECTED] wrote: The schedule component also does not fully work with the reference

Another problem with myFaces 1.1.5

2007-05-10 Thread Helmut Swaczinna
Hi, I've discovered another problem after switching to myFaces 1.1.5. The value of an input field is not restored when a button with immediate=true is clicked. The action method of the button resets the value of the bean property to a standard value and returns an outcome != null so the

[REMINDER] This list is subscribers only!

2007-05-10 Thread Manfred Geiler
This mail is sent from time to time and is meant to remind you, that the users@myfaces.apache.org and [EMAIL PROTECTED] mailing lists - like most of the ASF lists - are subscribers only. This means that you MUST subscribe BEFORE you post to one of the lists. Please make sure, that you post your

Re: Calling JSF page from html page

2007-05-10 Thread Andrew Robinson
I don't think that this is not the best way of doing this. The UICommand may not decide to decode the way you think it will. What I would recommend doing is using request parameters. In an on-load style method of your page, check for the existence of that request parameter and execute your

Re: Calling JSF page from html page

2007-05-10 Thread Scott O'Bryan
Using request parameters, you could also create a managed property in a managed bean in your FacesConfig. Use EL to bind the request property to your bean. Your bean would then be able to generate the results needed for the bindings on your page. :) It removes the need to do anything too

Re: Calling JSF page from html page

2007-05-10 Thread eric . jung
How would one's code be called to manipulate this managed bean when such a request comes through? Is the only way with a PhaseListener? Scott O'Bryan [EMAIL PROTECTED] 05/10/2007 03:06 PM Please respond to MyFaces Discussion users@myfaces.apache.org To MyFaces Discussion

Re: Calling JSF page from html page

2007-05-10 Thread Scott O'Bryan
Use use el in your faces-config to bind the request parameters to managed properties on your managed beans. This won't CALL your code, but when you retrieve the beans to render your page, the managed properties should be set for you. Scott [EMAIL PROTECTED] wrote: How would one's code be

Re: Problems rendering navigationMenuItems

2007-05-10 Thread Alexandre Corrêa Barbosa
Sorry guys, I should have set the panelNavigation2's attribute renderAll=true. Now it's working. Thanks, Alexandre On 5/10/07, Alexandre Corrêa Barbosa [EMAIL PROTECTED] wrote: Hi folks, I'm trying to make a menu using t:panelNavigation2, wtih dynamic menu items. Below is the jsp code I'm

Re: Login page

2007-05-10 Thread Simon Kitching
When using Tomcat, the following is what happens: * Tomcat checks url and detects that security constraint is violated. This check occurs *before* any filters are run * Tomcat immediately performs an internal forward to the url specified in the form-login-page. * Your version of that page

Re: Multiple calls on isRendered - Performance issue

2007-05-10 Thread Simon Kitching
Thanks Adam. That makes good sense. All that is needed now is a volunteer to implement it :-). I might have a go if I can find some spare time but it won't be soon. I will try to find time to record this as an enhancement in JIRA so it doesn't get lost. Regards, Simon Adam Winer wrote:

mail archives?

2007-05-10 Thread Bryan Basham
Hi all, I just joined this discussion group. I will likely have questions from time to time, but rather than waste your time answering questions that have already been answered I would like to be able to search this email list. I found the following web page:

Re: mail archives?

2007-05-10 Thread Cagatay Civici
Hi, http://www.nabble.com/MyFaces---Users-f181.html Cagatay On 5/11/07, Bryan Basham [EMAIL PROTECTED] wrote: Hi all, I just joined this discussion group. I will likely have questions from time to time, but rather than waste your time answering questions that have already been answered I

Re: mail archives?

2007-05-10 Thread Simon Kitching
Bryan Basham wrote: Hi all, I just joined this discussion group. I will likely have questions from time to time, but rather than waste your time answering questions that have already been answered I would like to be able to search this email list. I found the following web page:

using portlet modes

2007-05-10 Thread Alexander Wallace
Hi All... I'm finding using portlet modes in jsf at the very least cumbersome... Is this really how it is? Should I just forget about portlet modes and use jsf navigation rules to compensate? I'm doing stuff like this: If you hit the edit icon you are taken to the edit jsp correctly (so

Re: using portlet modes

2007-05-10 Thread Ryan Wynn
On 5/10/07, Alexander Wallace [EMAIL PROTECTED] wrote: Hi All... I'm finding using portlet modes in jsf at the very least cumbersome... Is this really how it is? Should I just forget about portlet modes and use jsf navigation rules to compensate? I'm doing stuff like this: If you hit the edit

Re: Tomahawk 1.1.5 and MyFaces 1.2 ?

2007-05-10 Thread Grant Smith
done.. On 5/10/07, Dennis Gesker [EMAIL PROTECTED] wrote: t:collapsiblePanel also has problems. There was a patch posted in March but I don't know the eta for it. https://issues.apache.org/jira/browse/TOMAHAWK-872 --Dennis On 5/10/07, Kem Elbrader [EMAIL PROTECTED] wrote: The schedule

Re: Multiple calls on isRendered - Performance issue

2007-05-10 Thread Wesley Hales
Yeah, we tried Adam's proposal before I posted the patch... It worked up until Ajax4JSF usage and components like UIColumn were not updating. So, after using the patch and making changes to not extend UIComponentBaseCached in UIColumn and UIGraphic *we had problems with items in datatable not

Re: Multiple calls on isRendered - Performance issue

2007-05-10 Thread Adam Winer
On 5/10/07, Wesley Hales [EMAIL PROTECTED] wrote: Yeah, we tried Adam's proposal before I posted the patch... It worked up until Ajax4JSF usage and components like UIColumn were not updating. I'd like to know why that's so - Ajax4JSF must be doing something at least a little unusual for this

[Trinidad] PPR Wait Indicator

2007-05-10 Thread Chris Hane
Is there way to let the user know that a PPR request is occurring and the UI will be updated momentarily? For example, we open (new window) a dialog. When the users makes a selection the new window is closed and a field in the parent window is updated. The time between the window closed