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
(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
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
/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
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
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
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
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
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
[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
Im trying
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
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
-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
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
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
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
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
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
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
, 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
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
@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
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
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
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:
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
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
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
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
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
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
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
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))
{
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
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?
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
36 matches
Mail list logo