SelectManyPickList: Value Is Not Valid

2007-03-29 Thread Romanowski, Tim
Hi everyone, I'm trying to use the SelectManyPicklist component from the sandbox, and I'm running into exactly the issue that is described at [1]. Basically, I create an ArrayList of my own User objects, and pass that as the value for my component as such: s:selectManyPickList id=teamMembers

RE: SelectManyPickList: Value Is Not Valid

2007-03-29 Thread Romanowski, Tim
(userCollectionitem). Failing that, step through the debugger and see what's going on. On 3/29/07, Romanowski, Tim [EMAIL PROTECTED] wrote: Hi everyone, I'm trying to use the SelectManyPicklist component from the sandbox, and I'm running into exactly the issue that is described at [1]. Basically

RE: SelectManyPickList: Value Is Not Valid

2007-03-29 Thread Romanowski, Tim
in team.userCollection fulfill team.getUserSelectItems().contains(userCollectionitem). Failing that, step through the debugger and see what's going on. On 3/29/07, Romanowski, Tim [EMAIL PROTECTED] wrote: Hi everyone, I'm trying to use the SelectManyPicklist component from the sandbox

RE: /faces/* servlet mapping and welcome files

2007-02-02 Thread Romanowski, Tim
/pages/public/ contains index.xhtml, index.jsp, and index.faces. For some reason, index.faces is being served to the client. Any ideas? Regards, Jeff Bischoff Kenneth L Kurz Associates, Inc. Romanowski, Tim wrote: Not sure if this fits your needs, but I've accomplished this by using

RE: Tomahawk on Glassfish-v2

2007-01-25 Thread Romanowski, Tim
in the bug database? https://issues.apache.org/jira/browse/TOMAHAWK-872 Dennis Romanowski, Tim wrote: No, you are right -- the first doesn't link doesn't appear to do what is intended, although it does 'work.' Is there an error with the source for the example? I've never used

RE: Tomahawk on Glassfish-v2

2007-01-24 Thread Romanowski, Tim
I just tested the myfaces-example-simple-1.war of a Tomahawk 1.1.5 nightly from a week ago and it seems to be running ok on Glassfish V2, B31. I ran the collapsible panel demo, and that worked fine as well. Also, I am currently using the Tomahawk popup component in my own app and it is working

RE: Facelets example app?

2007-01-24 Thread Romanowski, Tim
Mike, are you by any chance using the jsCookMenu or panelMenu (in list format) components? If so, I'd be very interested in seeing a sample of what you have working--I've been trying the examples code for different tomahawk versions since this summer and have yet to get them to work. If they

RE: Tomahawk on Glassfish-v2

2007-01-24 Thread Romanowski, Tim
Discussion Subject: Re: Tomahawk on Glassfish-v2 Tim: When you deployed the example did the first on one the page work as well? When I loaded the example war here only the first one failed (small one at the very top) to toggle. The rest worked. Dennis Romanowski, Tim wrote: I just tested the myfaces

RE: Tomahawk on Glassfish-v2

2007-01-23 Thread Romanowski, Tim
I'm using Tomahawk components on Glassfish V2, along with Facelets, Ajax4JSF and the SUN RI (is MyFaces core even an option on Glassfish?). Any problems I've had have not been due to the app server. There were no tricks to get it to work. What Tomahawk components are causing problems? What

RE: How to submit a form using javascript

2007-01-19 Thread Romanowski, Tim
[elementToGet]; button.click(); } Hope this leads you in the right direction at least :) Regards, Eivind _ From: Romanowski, Tim [mailto:[EMAIL PROTECTED] Sent: 18. januar 2007 22:54 To: MyFaces Discussion Subject: How to submit a form using javascript I’m trying

RE: How to submit a form using javascript

2007-01-19 Thread Romanowski, Tim
Mario - thanks for the heads up, that is a very useful component. However, I don't think it helps me just yet, as I am trying to figure out how to get an event to take place when I click my dialog box's submit button--I just put the details in a response back to Elvind. If I could get the event

RE: preprocessing static email link params before view

2007-01-18 Thread Romanowski, Tim
One way is to call a method for your action, such as action=#{myBackingBean.goToResults} In your goToResults method, grab the parameter, look up what you need to in the db, then return the appropriate string corresponding to the page you want to go to. Something like this: public String

RE: preprocessing static email link params before view

2007-01-18 Thread Romanowski, Tim
-navigate to JSF view 1 or JSF view 2 Shawn _ From: Romanowski, Tim [mailto:[EMAIL PROTECTED] Sent: Thursday, January 18, 2007 11:50 AM To: MyFaces Discussion Subject: RE: preprocessing static email link params before view One way is to call a method for your action

How to submit a form using javascript

2007-01-18 Thread Romanowski, Tim
I'm trying to integrate some components form Jack Slocum's yui-ext project [1], but have run into a problem in trying to submit a form or link in my JSF code from javascript. The details are posted at [2]. The current information on MyFaces wiki at [3] has not helped (see the clickLink

RE: how to force a jsf page to be shown in horizontal center of browser?

2007-01-17 Thread Romanowski, Tim
As Jeff said, CSS is way to go in most cases. One thing to note, in the example on that webpage, they set the content #content style class to have a fixed width of 500 pix. If you wish to play around more, such as having a center column that can expand depending on the browser window

Stylesheet issue: defaultStyles.css returned when using Facelets

2006-11-28 Thread Romanowski, Tim
Hey guys, I thought posted this on the Facelets list thinking this was a Facelets issue, but considering the browser output below, perhaps a Tomahawk person could comment. Is anyone else having a problem using stylesheets with Facelets templates? I have a template file, template.xhtml that

RE: any one using Facelets + JSF 1.2 RI + Tomahawk here?

2006-11-28 Thread Romanowski, Tim
Hi Arash, I am developing an app using Facelets+Tomahawk+JSF 1.2+Ajax4JSF, and we did have a big problem with JSCookMenu and panelNavigation2 (we finally got rid of them). Other than that, and a stylesheet issue we're having (see my recent post on Tomahawk + Facelets templates), the Tomahawk

How do you convert a list of SelectItems that contains polymorphic objects?

2006-11-18 Thread Romanowski, Tim
Is it possible to create a list of SelectItems for a selectOneMenu that contains parent-class objects...and use them? Basically, let's say I'm running Glassfish and I have a base class called ClassA. Via EJB 3.0 (or JPA if you prefer to call it that), I am using a single table with a

Passing a RowId on MenuChange ... with a twist

2006-11-07 Thread Romanowski, Tim
Hey guys, Ive got a tricky problem Im hoping someone has run into before. I have a dataTable with rows that, among other things, have a selectOneMenu in them. Whenever I change the value of a menu, I want to persist its new value in my database (I am using JPAGlassfish implementation of

RE: NetBeans5.5 and MyFaces

2006-05-30 Thread Romanowski, Tim
, 2006 4:41 PM To: MyFaces Discussion Subject: Re: NetBeans5.5 and MyFaces I'm about to setup MyFaces in NetBeans so I'm interested in this problem. I'll report back what I find and I'm definitely interested in fixing things if there is a problem on the MyFaces end. Sean On 5/24/06, Romanowski

RE: [OT] Netbeans integration with MyFaces

2006-05-24 Thread Romanowski, Tim
apping servlet-nameFaces Servlet/servlet-name url-pattern/faces/*/url-pattern /servlet-mapping !-- End Faces Servlet Mapping -- session-config session-timeout 30 /session-timeout /session-config welcome-file-list welcome-file index.jsp /welcome-file /welcome-file-list/web-app Fro

RE: [OT] Netbeans integration with MyFaces

2006-05-24 Thread Romanowski, Tim
@myfaces.apache.org Subject: Re: [OT] Netbeans integration with MyFaces Sun AS + Myfaces is a huge problem as of JEE5 the default implementation of the jsf implementation is not overridable anymore within the WEB-INF/lib dir. Most of us were not aware of those issues until recently. Romanowski

RE: NetBeans5.5 and MyFaces

2006-05-24 Thread Romanowski, Tim
Francesco, would you be willing to post your setup? What jars did you have to remove from the applications server? Did you replace any particular ones? Any dependency issues you had to work around? Are you usng glassfish or another AS? -Original Message- From: Francesco Consumi

RE: TomCat_5.5.17, gentoo lunix, tomahawk 1.1.2: nothing is rendered

2006-05-16 Thread Romanowski, Tim
I can't offer a solution, but I can confirm that this also is a problem for me; I've tried three versions of tomcat (currently using 5.5.15), as well as different versions of myfaces/tomahawk (currently using nightlies). What are you using for your controller? I am using Apache Beehive Pageflows

RE: digest option for mail list?

2006-05-05 Thread Romanowski, Tim
From the e-mail you get when signing up for the list: " Send mail to the following for info and FAQ for this list: [EMAIL PROTECTED] [EMAIL PROTECTED] Similar addresses exist for the digest list: [EMAIL PROTECTED] [EMAIL PROTECTED]" From: Rogerio Pereira [mailto:[EMAIL PROTECTED] Sent:

Javascript not generated on initial JSF pages

2006-05-04 Thread Romanowski, Tim
Title: Javascript not generated on initial JSF pages Whenever I deploy my web app, the first page I load with JSF components does not generate code for any of the JSF components. In other words, on my initial index page, I have a commandButton and some regular html links (a href="" Only the

RE: Popup New Window with CommandLink onclick attribute

2006-05-03 Thread Romanowski, Tim
Thanks Matthias, the link you've listed does explain why I am not setting a value before the onclick method is called. Unfortunately, although that explains why I cannot update a backing value via a binding method before opening a new window, I still am at a loss as to how I can in fact open a

RE: Popup New Window with CommandLink onclick attribute

2006-05-03 Thread Romanowski, Tim
12:32 PMTo: MyFaces DiscussionSubject: Re: Popup New Window with CommandLink onclick attribute to pass parameters between pages via url,http://www.jroller.com/page/mert?entry=how_to_pass_request_parametersRegards, Mert.. On 5/3/06, Romanowski, Tim [EMAIL PROTECTED] wrote: Thanks Matthias

Popup New Window with CommandLink onclick attribute

2006-05-01 Thread Romanowski, Tim
Title: Popup New Window with CommandLink onclick attribute What I would like to do: I am trying to popup a new window each time a cell in my datatable is clicked. I fail when attempting to bind (set) a value before the window is opened; it's the standard master/detail scenario discussed

Tomahawk Nightly Examples - NoClassDefFoundError on startup

2006-04-24 Thread Romanowski, Tim
Title: Tomahawk Nightly Examples - NoClassDefFoundError on startup Has anyone had problems with the latest snapshots of the tomahawk-examples? When I startup tomcat, each examples war is throwing a java.lang.NoClassDefFoundError: javax/faces/context/ExternalContext error. Is there something

RE: Tomahawk Nightly Examples - NoClassDefFoundError on startup

2006-04-24 Thread Romanowski, Tim
s like one of the required jars in MyFaces require collections-2.1.jar.(MyFaces doesn't ...)-Matthias From: Romanowski, Tim Sent: Monday, April 24, 2006 10:24 AMTo: MyFaces DiscussionSubject: Tomahawk Nightly Examples - NoClassDefFoundError on startup Has anyone had problems with

RE: Constructing Datatable with Columns Having Foreign Key references

2006-04-20 Thread Romanowski, Tim
description; } public Integer getId() { return id; } public void setId(Integer id) { this.id = id; } public String[] getStudents() { //FacesContext facesContext = FacesContext.getCurrentInstance(); // simulate a db call if (id.equals(100)) { return new String[] { "Bob&quo

RE: Constructing Datatable with Columns Having Foreign Key references

2006-04-20 Thread Romanowski, Tim
public String[] getStudents() { //FacesContext facesContext = FacesContext.getCurrentInstance(); // simulate a db call if (id.equals(100)) { return new String[] { "Bob", "Sally", "Fred" }; } else if (id.equals(200)) {

Constructing Datatable with Columns Having Foreign Key references

2006-04-19 Thread Romanowski, Tim
Title: Constructing Datatable with Columns Having Foreign Key references When constructing a myfaces (tomahawk) datatable, I have a couple columns that each contain foreign key references. How do you guys handle the situation where a given row in a datable might have a column that itself has

RE: Constructing Datatable with Columns Having Foreign Key references

2006-04-19 Thread Romanowski, Tim
f:verbatimMyValues/f:verbatim /f:facet h:outputText value="${currentRow.currentRowValues}" / /t:column Is it possible to access another value for the currentRow object, such as currentRow.ID, by calling the FacesContext in a backing bean? If so, what is the proper way to do this?

RE: Constructing Datatable with Columns Having Foreign Key references

2006-04-19 Thread Romanowski, Tim
ist.countries}" layout="simple" rowCountVar="rowCount" rowIndexVar="rowIndex" h:outputText value="#{country.name}" / h:outputText value=", " rendered="#{rowIndex + 1 rowCount}" / /t:dataList Gary -- Original message