Example doesn't work

2007-09-07 Thread Hannes Korte
Hello everybody, I'm new to JSF and MyFaces, but I want to use it in a new project. So I tried to have a look at the simple example presented in the Getting Started section on the myfaces website. I set up a new Tomcat 5.5.20-10.1 on a opensuse 10.2 system. Then I downloaded the

Re: Example doesn't work

2007-09-07 Thread Ben Smith
I would check that you have tomcat setup correctly. I've done almost exactly the same thing (more than once) on Windows with tomcat 6 and I didn't have that problem. I wonder if you have a permissions problem? You might check that the user tomcat is running as has write permission on

[Tobago] Target-attribute not working on javascript-submit

2007-09-07 Thread Adam . Henne
Hi, i have a problem with the target-attribute of the tc:link or tc:button-Tag. tc:page id=page width=800px height=600px label=Print ... tc:link label=Show it id=sendStream action =#{streamingBean.doStream} target=myiframe / ... f:verbatim iframe id=pdfiframe name=myiframe width=100%

[tobago] facelets tc:sheet seems to put java.util.Set into its var attribute

2007-09-07 Thread Zied Hamdi
Hi, I hezitated for a while before sending this post, it seems impossible to me. Again under facelets (maybe it's due to the nightbuild of 05.09 but I don't think the junit didn't try this) I have a problem I didn't have with plain jsp: /person/adressListBox.xhtml ... tc:sheet

Re: [Tobago] Tree menu and Icon

2007-09-07 Thread yazid
Hi I figure out in tree.js, and I need to now how to communicate the node Icon from the user Object to the Js node. May I have to extend the Tag; ... yazid wrote: Please Help... yazid wrote: Hi all; Is it possible to build a tree menu with a various icon (one icon by user node ).

[Tomahawk] reset datatable

2007-09-07 Thread Wolfgang
Hi, I have a website with different sites. One site contains a t:datatable which get its content via a list. If I click on this side again the table contains the content twice. Click again the table contains the content three timesand so on... Is there a possibility if I click on this

Re: Trinidad sandbox or any other place where to find components added by Trinidad users?

2007-09-07 Thread Matthias Wessendorf
Hi, currently there is no sandbox project in trinidad's svn nor a sandbox component in trinidad's jira. Sounds like a good idea (see recent discussion on dev list). In the past, users added components/enhancements by simply creating a jira issue and attaching the source. After some discussions

Trinidad sandbox or any other place where to find components added by Trinidad users?

2007-09-07 Thread wolfgang . toepfer
Hi, Somewhere on the Trinidad site or JIRA there is supposed to be an area where to put and get components developed by Trinidad users. Actually, where is it? I did not find. However, I think I remember someone wrote in an article on Trinidad that there is one, is not there ? .. ;) Many

Re: [tobago] popup facelets : Found component is no ajaxComponent

2007-09-07 Thread Zied Hamdi
Thanks Volker, I'm sorry to answer so late, too many things came up at the same time (the murphy law :-). Regards, Zied 2007/9/6, Volker Weber [EMAIL PROTECTED]: Hi, the AjaxDecodePhaseListener is registered in the tomahawk-sandbox-1.1.7-SNAPSHOT.jar. So tobago is not compatible to this

Re: [Trinidad] how to avoid loading tr:table rows twice

2007-09-07 Thread Renzo Tomaselli
Thanks, Vadim. It works fine. As concerning specifically tr:table, a derived question arises: assume that such table is readonly, but it has selection capabilities. If the associated bean returns an empty collection model (isRowAvailable always false), would then a valid RowKeySet still

Faces 1.2 Command Button ActionListener Problem

2007-09-07 Thread CarlHowarth
Hello there, I have taken the plunge to start using MyFaces 1.2 (I've experience with 1.1.*). I have run into a strange problem that hopefully somebody will be able to help with. I have a standard h:commandButton with an actionListener, the code for which is in a standrad request-scoped backing

Re: [Trinidad] PPR from table cells failure

2007-09-07 Thread David Uebelacker
Hi, i just have the same problem in my tables and i don't get it solved :-(. tr:table partialTriggers=eventsTable:deleteEventButton ... tr:commandLink action=#{editInstrumentBean.deleteEvent} id=deleteEventButton immediate=true onclick=if (!(confirmDeletion())) return false

Re: [Tomahawk] reset datatable

2007-09-07 Thread Mike Kienenberger
Sounds like you need to clear the backing list in the code before populating it with new items. On 9/7/07, Wolfgang [EMAIL PROTECTED] wrote: Hi, I have a website with different sites. One site contains a t:datatable which get its content via a list. If I click on this side again the table

Re: [Trinidad]PPR and future alignment with JSF 2.0

2007-09-07 Thread Ted Goddard
ICEsoft is on the expert group for JSF 2.0, and we're very interested in contributing relevant ideas from ICEfaces. Naturally, ICEfaces will support JSF 2.0 as a JSF platform. ICEfaces will always provide developers with purely declarative page design; in the future it may make use of

[Trinidad] PPR/ReturnEvent not queued after many nested dialogs

2007-09-07 Thread Bertrand, Shawn R
I'm at a loss on this one, and am hoping for some help. While I'm using Trinidad in development, this is a problem with the latest ADF Faces (haven't tried a reproducible case for Trinidad at this point) and being that one derived from the other, I'm hoping some of the experts can comment. I'm

Re: [Trinidad] PPR/ReturnEvent not queued after many nested dialogs

2007-09-07 Thread Adam Winer
I've made some major impropvements in these areas, especially in keeping the state of the parent window alive while dialogs are up. So I suspect the problems are resolved in Trinidad. -- Adam On 9/7/07, Bertrand, Shawn R [EMAIL PROTECTED] wrote: I'm at a loss on this one, and am hoping for

Re: [Trinidad]PPR and future alignment with JSF 2.0

2007-09-07 Thread Martin Marinschek
Hi Mike, if you want my opinion: I do think that AJAX integration in JSF 2.0 will resemble what you get with DynaFaces somewhat. Trinidad will of course work with/on this API. I think that the standard will not go as far as what ICEsoft does - but then, I think that also ICEsoft will try to be

Re: Faces 1.2 Command Button ActionListener Problem

2007-09-07 Thread Martin Marinschek
Hi Carl, this is a known issue with MyFaces 1.2. There is a patch available, the problem will be fixed soon. regards, Martin On 9/7/07, CarlHowarth [EMAIL PROTECTED] wrote: Hello there, I have taken the plunge to start using MyFaces 1.2 (I've experience with 1.1.*). I have run into a

Re: [Trinidad] tr:selectOneChoice bug

2007-09-07 Thread Martin Marinschek
don't tell me I've read through this mail-thread for this solution ;)) Greetings to Croatia from Klagenfurt - your client is sitting just two walking-minutes from my parent's home... regards, Martin On 9/6/07, Luka Surija [EMAIL PROTECTED] wrote: Hi Simon, I'm an idiot. The problem was in my

Re: [Trinidad] Large difference in generated ID between UIXComponentBase and UIComponentBase

2007-09-07 Thread Martin Marinschek
Just so that people don't have to search: it's a bug in Facelets fixed in the latest version 1.1.13. regards, Martin On 9/6/07, Andrew Robinson [EMAIL PROTECTED] wrote: FYI, I started a new thread entitled Major bug in facelets 1.1.11 with mark and sweep code? that is on the facelets user

Re: [TRINIDAD] - IMPORTANT - Custom Skin Developers

2007-09-07 Thread Martin Marinschek
Hi Matt, Adam, well, it's your call - but there are quite a few people out there who will have used this parameter already. Have fun answering their mails ;)) regards, Martin On 9/5/07, Matt Cooper [EMAIL PROTECTED] wrote: I agree with Adam. On 9/4/07, Adam Winer [EMAIL PROTECTED] wrote:

Re: Using JSF and Tiles

2007-09-07 Thread Martin Marinschek
I can only say - it should work. Maybe you share your configuration snippets, and someone will join in? regards, Martin On 9/5/07, Chris Pratt [EMAIL PROTECTED] wrote: I have created what I imagine is the simplest possible MyFaces 1.1.5 and Tiles 2.0.4 application

Re: [TRINIDAD] - IMPORTANT - Custom Skin Developers

2007-09-07 Thread Andrew Robinson
Why not keep the old one and the new one and just mark the old one as deprecated for the next release? If both are set, the new one could take precedence. On 9/7/07, Martin Marinschek [EMAIL PROTECTED] wrote: Hi Matt, Adam, well, it's your call - but there are quite a few people out there who

Re: [Trinidad] tr:column, attribute shortDesc not working?

2007-09-07 Thread Martin Marinschek
Hi Carsten, this might be a browser-related issue. Did you check both FF and IE? Is there any difference? is a short-desc supported in a td at all? regards, Martin On 9/4/07, Carsten Pieper [EMAIL PROTECTED] wrote: Hi everyone, either this is a bug or I'm not using it correctly, so: How

Re: [tobago] facelets tc:sheet seems to put java.util.Set into its var attribute

2007-09-07 Thread Zied Hamdi
Hi again, I woke up remembering this problem happens when I don't surround my element by tc:column tags. So I decided to take a look so I don't feel stupid, and I found extra tc:column tags. After correcting the problem: tc:sheet id=adressesSheet var=adress showHeader=false

Re: Which component triggered request

2007-09-07 Thread Martin Marinschek
Hi David, no, not in the standard. You could check for the request parameter the commandButton/commandLink of the component library of your choice sets... It might be easier to extend the renderer of those components, though, and do the check there. regards, Martin On 9/5/07, David Brunette

Re: Trinidad: Missing script type=text/javascript src=/trinidad-demo/adf/jsLibs/Common1_0_2.js in html-head

2007-09-07 Thread Martin Marinschek
Hi Martin, you should still create an issue for the fact that the command-button still renders a call to a javascript-function which isn't there on the page. regards, Martin On 9/6/07, Martin Hinterndorfer [EMAIL PROTECTED] wrote: Hi! Problem with the missing javaScript link is solved! -

Re: [TRINIDAD] - IMPORTANT - Custom Skin Developers

2007-09-07 Thread Martin Marinschek
That's what I suggested, and Adam and Matt disagreed on. At least I thought so ;) One more hint why I think this would be appropriate: it shouldn't have been a trinidadinternal parameter in the beginning, so I'd think we shouldn't force users to take action on fixing a mistake we've been making.

Re: [Trinidad] Large difference in generated ID between UIXComponentBase and UIComponentBase

2007-09-07 Thread Andrew Robinson
FYI, earliest fix can be found in in 1.1.12 On 9/7/07, Martin Marinschek [EMAIL PROTECTED] wrote: Just so that people don't have to search: it's a bug in Facelets fixed in the latest version 1.1.13. regards, Martin On 9/6/07, Andrew Robinson [EMAIL PROTECTED] wrote: FYI, I started a new

Re: [Trinidad] tr:column, attribute shortDesc not working?

2007-09-07 Thread Andrew Robinson
http://www.w3.org/TR/html401/struct/tables.html#h-11.2.6 TITLE is a core attribute, and therefore is inherited by just about every HTML element. Not sure of browser compatibility, but since the w3 says so, probably should be supported on just about everything. TITLE has accessibility importance

Re: [Trinidad] tr:column, attribute shortDesc not working?

2007-09-07 Thread Martin Marinschek
Yeah, well - now the only question is if the browser normally displays the title attribute on the td (I assume it is rendered - have you looked into the page code, Carsten?) regards, Martin On 9/8/07, Andrew Robinson [EMAIL PROTECTED] wrote:

Re: Trinidad: Missing script type=text/javascript src=/trinidad-demo/adf/jsLibs/Common1_0_2.js in html-head

2007-09-07 Thread Adam Winer
Yep, indeed. Also looks like body has a stray onload handler too. -- Adam On 9/7/07, Martin Marinschek [EMAIL PROTECTED] wrote: Hi Martin, you should still create an issue for the fact that the command-button still renders a call to a javascript-function which isn't there on the page.

Generating Layout using div

2007-09-07 Thread Chris Pratt
Is there a set of JSF components that generate layout using div's rather than table's? We're trying to move toward a more fluid layout using div's and CSS and I can't seem to get the control I need using JSF. Any ideas? (*Chris*)

Re: [TRINIDAD] - IMPORTANT - Custom Skin Developers

2007-09-07 Thread Matt Cooper
Hey guys, Here's my thinking... Everything that contains trinidadinternal in its name is not supported as an external API. By definition it is subject to change without notice. If something is internal and valuable as a supported API we are doing the right thing by exposing it as a public API.

Re: Generating Layout using div

2007-09-07 Thread Martin Marinschek
Some tomahawk components have a layout attribute which switches to a list-based layout (e.g. dataScroller). Tomahawk also has a t:div component (in JSF1.2 you can also do this with the panelGroup component). For other components, like h:dataTable, using table/ elements seems to be very natural.

Re: Orchestra integration with legacy Hibernate 2 app

2007-09-07 Thread William H. Mitchell
Mario, Thanks for that response to my question about that Session is closed! error when trying to use HibernatePersistenceContextFactory (HPCF). I made my simple test app work by stripping out all the JPA stuff I had, both in the code and the applicationContext.xml, and then using Spring to