To get sortable columns, you have to use a
around your columns header text. This way your setColumnName will be
called when the user click on the column header. Then, your getNames()
should check the current sort column and apply it to the data it
returns.
2006/6/6, Dewhare, Amol <[EMAIL PROTEC
Title: Problems with table sorting.
Check out these links for more information:1. http://www.irian.at/myfaces/2. http://wiki.apache.org/myfaces/Working_with_auto_sortable_tablesYou need to wrap the header facet's content with a component to make it work.HTH,Catalin"Dewhare, Amol" <[EMAIL PROTECTED
Thanks Catalin and Sean for making this work!
Great work, guys!
regards,
Martin
On 6/6/06, Yogesh Chaudhari <[EMAIL PROTECTED]> wrote:
Thanks
On 6/5/06, Sean Schofield <[EMAIL PROTECTED]> wrote:
> Due to popular demand, the sandbox core is now available in the
> nightly builds directory[1].
Title: Problems with table sorting.
Hi All
I am having a need to sort data displayed using .
I am using the tomahawk.jar and have placed it into the WEB-INF/lib folder.
I am using the following jsp to display the results.
DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
Hi there,
this year the ApacheCon Eu takes place in Dublin. If anybody of you
guys - hanging around here - is there, I think we should meet for a
beer and watch some world cup matches :-)
From the MyFaces team Gerald, Mario and me are there.
I already started a thread at Apache's community li
Sandbox has been added to nbuild section.
Look for Sean's announcement.
-Matthias
On 6/5/06, Furer Alexander <[EMAIL PROTECTED]> wrote:
Can someone post sandbox.jar that compatible with myfaces 1.1.3
Thanks
--
Matthias Wessendorf
Aechterhoek 18
48282 Emsdetten
blog: http://jroller.com
On 6/5/06, Matthias Wessendorf <[EMAIL PROTECTED]> wrote:
> [INFO] Scanning for projects...
> [INFO]
> [ERROR] FATAL ERROR
> [INFO]
> [INFO] Failed
Just tried deleting my local repo, and it didn't
change anything. I am not behind a firewall or proxy.
--- Matthias Wessendorf <[EMAIL PROTECTED]> wrote:
> or are you behind a firewall or a proxy ?
>
> On 6/5/06, Bill Six <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I just downloaded the source f
Dear list,
I would like to combine servlet and myfaces in an application.
In Myfaces, if a user logs in, a session is opened. A managed bean for the
visual stuff and a managed bean for the model are started in this context
(registered with session scope in faces-config).
The servlet should now
or are you behind a firewall or a proxy ?
On 6/5/06, Bill Six <[EMAIL PROTECTED]> wrote:
Hi,
I just downloaded the source for the first time today
and would like to build it.
I tried following the instructions from the wiki to
build it with maven
http://wiki.apache.org/myfaces/Building_With_M
mmm
to me it works.
Can you kill your complete maven2 repo ?
maybe there is some problem ?!?
Just a guess
On 6/5/06, Bill Six <[EMAIL PROTECTED]> wrote:
Hi,
I just downloaded the source for the first time today
and would like to build it.
I tried following the instructions from the wiki to
Hi,
I just downloaded the source for the first time today
and would like to build it.
I tried following the instructions from the wiki to
build it with maven
http://wiki.apache.org/myfaces/Building_With_Maven.
However my build fails. I have attached the error
that was given.
Any ideas?
Bil
Thanks
On 6/5/06, Sean Schofield <[EMAIL PROTECTED]> wrote:
Due to popular demand, the sandbox core is now available in the
nightly builds directory[1]. Both source and binary distributions are
available. We also hope to have an examples distribution for sandbox
shortly.
The MyFaces Team
[1]
Hi,
i am using a selectoneradio button in h:datatable
http://www.nabble.com/how-to-know-selectoneradio-is-checked-or-not-t1739394.html#a4726778
Sent from the MyFaces - Users forum at Nabble.com.
I am using myfaces 1.1.1 with Jboss 4.0.2I am getting a weired problem in embedding my own custom component inside dataTable.
The iframe tag is outputted as instead of width="500" height="400" scrolling="auto" frameborder="0" >
Moment
Due to popular demand, the sandbox core is now available in the
nightly builds directory[1]. Both source and binary distributions are
available. We also hope to have an examples distribution for sandbox
shortly.
The MyFaces Team
[1] http://people.apache.org/builds/myfaces/nightly/
Have you tried "getComponent()" which is defined in FacesEvent?
The getSource() comes from java.util.Event clazz.
In MyFaces getComponent() is *only*:
return (UIComponent) getSource();
So can you tell us, what you get form a "getSource()" call?
-Matthias
On 6/5/06, Tonio Caputo <[EMAIL PROT
works for me.
since you are using Sun application server,
are you sure, that you are not mix RI and MyFaces?
I ask this because I think that the sun app server includes the RI itself.
-Matthias
On 6/5/06, Matthias Wessendorf <[EMAIL PROTECTED]> wrote:
Todd,
I'll give it a try later this day,
David: Well, I'm not for sure about that...
My SVN location is: http://svn.apache.org/repos/asf.
My login is: Anonymous
The examples directory should be with:
/assembly
/core
/examples
/sandbox
Under a 1_1_2 directory.
Thanks,
--Todd
-Original Message-
From: David Van Stone [mailto
Faisal,
I'm out of this problem, up to this I can help you, sorry
my myfaces knowledge is not enough for it.
I also noticed the "submitFormViaAJAX" method, hope nothing
to do with that.
Sorry, hope you find out what is going on
tonio.
On Mon, 2006-06-05 at 14:07 -0700, Faisal Mahmoud wrot
> Welcome David.
> I too have ran into that issue as well.
Thanks, and that's good to hear!
You suggest I go to the SVN repository. Thanks - I hadn't tried that. I
believe I found several examples under the "legacy" branch, so I presume
there are no current examples. I'll see what I can find un
Tonio,
Sorry, here is the form that contains the JSF code:
STEP 1: Add a new Control Device by choosing a type from the drop-down
list:
So the method is being called via the commandButton.
-Faisal
-Original Message
When I deploy a
project to SJSAS 8.2, the following warnings keep appearing in my server.log
file. This may not be SJSAS 8.2 specific and could probably happen in Tomcat as
well.
Does anyone have any
ideas of why org.apache.commons.digester.Digester is outputting warning
messages?
Thank
Faisal,
When are you calling chooseDevice() method ?
I mean, during the processing of which JSF event are you
calling chooseDevice().
Regards
On Mon, 2006-06-05 at 13:40 -0700, Faisal Mahmoud wrote:
> Hi Tonio,
>
> My backing bean is in the session, and the way I populate the List is
Welcome David.
I too have ran into that issue as well.
The examples are in the SVN repository and link is available under the
heading:
Latest source code and nightly builds from SVN repository
On the page:
http://myfaces.apache.org/download.html
The link should go to:
http://apache.org/dev/v
I looked in the mailing list archive, there are a lot of discussions,
but there are no examples.
The closest discussion is listed below between Sean and Stefan back on
Nov 22, 2005.
Honestly, I haven't found one example.
I'd appreciate any thoughts or pointers, whatever at this point.
Thanks,
Hi Tonio,
My backing bean is in the session, and the way I populate the List is via in the
getter method for the property. The full class code is below. Note I use the
Spring framework, so alot of my dependencies are wired using Spring. For the
life of me, I cannot figure out why the selection doe
The components really cool, you did a fine job.
I'm strapped for time as well, but you know at least I got it out there.
-Original Message-
From: Bruno Aranda [mailto:[EMAIL PROTECTED]
Sent: Monday, June 05, 2006 3:54 PM
To: MyFaces Discussion
Subject: Re: PickList doesn't respect Selec
At first, im using a jspx page in jdeveloper, and the latest stable myfaces libs...If i code a page like below, nothing appear in the menu:
binding="#{backing_sag_index.jscookMenu1}"
id="jscookMenu1">
Okay here, take off the float:right; attribute from .side and try it on
IE.
-Original Message-
From: octoberdan [mailto:[EMAIL PROTECTED]
Sent: Monday, June 05, 2006 3:46 PM
To: users@myfaces.apache.org
Subject: RE: IExplorer Troubles...
How would I get them to sit inside it? Is there
Can someone post sandbox.jar that compatible with
myfaces 1.1.3
Thanks
Hello,
I've recently downloaded myfaces 1.1.3 core and I'm trying to play with it,
using Weblogic 9.1 as a servlet container.
The Getting Started page at myfaces.apache.org suggests for a new developer to
install and run the examples. The pointer is to http://myfaces.apache.org/downl
oad.html.
Well, it would be in the boundary between a bug and a feature. When I
first developed the component I didn't have that in mind. Feel free to
provide patches, as lately I don't have too much time!
Cheers,
Bruno
On 6/5/06, Ian Johnson <[EMAIL PROTECTED]> wrote:
I'm trying to have a multiselect
How would I get them to sit inside it? Is there somthing I need to change
about 'container' ? How would adding a second div help? Thank you for your
help so far, I really apreciate it.
--
View this message in context:
http://www.nabble.com/IExplorer-Troubles...-t1736799.html#a4720988
Sent from th
Well the best thing you can do is probably specify a width that will fit
everything. As far as the border I would guess that the floating
elements are not sitting inside that div but on top of it. Try
surrounding the two floating divs with another div; other than that,
without being able to play wi
I'm trying to have a
multiselect picklist with grouped options. When you deselect options however
they leave their group and end up at the bottom of the list. Is this is
something that could be considered a bug?
I will need it to scroll up and down when there's an overflow, just not side
to side. Why is it even doing that if I didn't specify a width constraint?
and do you know why the container's border isn't surounding the other divs
like in firefox? Thanks for the tip...
--
View this message in context:
Hi Faisal,
I had the same problem, it was because my Backing Bean has
request scope, and my list was not initialized in the constructor
method.
The problem was, that as the Backing Bean did not have the
list initialized the "value" of the component was not set.
An easy way to detect thi
Matthias: Thank you.
I'm taking a look at it as well...
Thanks,
--Todd
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Matthias Wessendorf
Sent: Monday, June 05, 2006 2:02 PM
To: MyFaces Discussion
Subject: Re: TreeTable example downloaded from SVN doe
In order to prevent the scrolling in the content div you could take off
the over-flow:auto; in the .content style class. I'm not sure why the
popup shows up like that it worked fine for me in IE in 1.1.3.
-Original Message-
From: octoberdan [mailto:[EMAIL PROTECTED]
Sent: Monday, June 05,
Hi everybody,
I'm moving my application from sun's implementation
(it's working ok) to myfaces.
I'm using:
jsf 1.1-01
myfaces 1.1.1
I'm having a difference in behavior regarding
valueChangeEvent source.
My application:
~~~
JSP- Jsp with standard JSF components,
Todd,
I'll give it a try later this day, since I have to check tomahawk against RI.
Please stay tuned.
"Why is there an example of TreeTable in SVN that doesn't collapse or
expand?"
well, this project is volunteer based. Please don't forget this. All
of us can make mistakes. Nobody is inte
Let's hope it finds its way into Tomahawk soon.
Well, this depends on reported bug, documentation, user's are happy etc.
We are happy you like that thing.
-Matthias
Hi All,
I am building a drop down list
using the tag and all the items in the List populate and
show up correctly in the drop down list. But after the user selects an item in
the list and submits the form, when I check the property that is specified in
the tag's value attribute, I get a N
I'm desperate! Please. *gets on hands and knees*
--
View this message in context:
http://www.nabble.com/IExplorer-Troubles...-t1736799.html#a4719902
Sent from the MyFaces - Users forum at Nabble.com.
Mario,
I am trying out your s:convertNumber tag. Works great so far, thanks!
Examining the source code, it appears that it is identical to the old
(pre-1.1.2) ConvertNumberTag code, except that:
1) You have renamed it to "TypedNumberConverterTag"
2) You have added the "destType" attribute for
I'm not sure if what you are trying to do is possible. But a simpler way to accomplish the same thing would be to use a _javascript_ prompt to ask the question, and if they hit Yes/Ok then let the action go through. If the information is available to your page (or List when using a dataTable), you
I'm needing a help of you guys.How can I retrieve the last action executed? I'm just through a business logical and sometimes it might open another screen displaying a confirm message. At this point, I'd like when the user hits "Yes" to execute the last action it was trying to.
Thanks.
I've been working hard on a jsf powered project manager and am running into
some problems with IE compatability. I got everything aligned and positioned
the way (more or less) I wanted it, but when I tested it against IE all hell
broke loose (specifically with the dateInput component). I took a fe
Hi
I think the same issue is for Data scroller component
as well when i am using the same versions of jboss and
tomcat. It will be intresting to know the solution and
it may be the same for all. The tomahawk version being
used is 1.1.2
kc
--- Mike Duffy <[EMAIL PROTECTED]> wrote:
> I am having
TreeTable example from SVN doesn't collapse or
expand.
I copied the files
downloaded from SVN into my project, compiled and deployed to SJSAS
8.2 with no errors.
I ran the example in
Firefox and everything shows up, the folder icon, the minus symbol icon and
the data.
I tried to colla
Mario,
Not a all, but it will be of great help.
I'm just beginning to use myfaces features, for now
I'm just adapting my application to work as it is (using sun's
implementation).
Thank you very much
tonio
On Sat, 2006-06-03 at 08:56 +0200, Mario Ivankovits wrote:
> Hi Tonio,
>
> You are
Can't you use Phase Listener instead of servlet filter?regards... On 6/5/06, Val Blant <[EMAIL PROTECTED]
> wrote:Try this in your doFIlter():FacesContextFactory contextFactory = (FacesContextFactory)
FactoryFinder.getFactory(FactoryFinder.FACES_CONTEXT_FACTORY);LifecycleFactory lifecycleFactory =
Considering that Tiles requires a lot of tags, facelets can
save a lot of time on templating capabilities alone. Defining your own
EL Functions can also save a lot of time instead of writing similar
methods on backing beans again and again.
I can't image using JSF without facelets.
-Andrew
On
Try this in your doFIlter():
FacesContextFactory contextFactory = (FacesContextFactory)
FactoryFinder.getFactory(FactoryFinder.FACES_CONTEXT_FACTORY);
LifecycleFactory lifecycleFactory = (LifecycleFactory)
FactoryFinder.getFactory(FactoryFinder.LIFECYCLE_FACTORY);
Lifecycle lifecycle =
lifecycleF
Dave: Thank you.
I've been looking into Facelets. I have a decision to be made at this
point. I'm probably 20% done with the project at this point.
I know that doesn't seem like a lot, but I am weighing in if a change at
this point would benefit the entire project as a whole in terms of time.
As
Hi
all:
I'm trying to
access a managed bean from a servlet filter. The filter is defined to wrap
the '*.jsf' url pattern. My code to do the lookup functions something like
this:
getApplication().createValueBinding("#{myBean}").getValue(FacesContext.getCurrentInstance())
And my bean
Facelets is something you would use in addition to MyFaces and Tomahawk,
if you're going to use it. It replaces JSPs with XHTML files for your
view definitions, and provides some nice templating components.
Todd Patrick wrote:
> To continue, I've selected MyFaces and Tomahawk for a mission criti
Is there an example
of using DefaultMutableTreeNode with a List object?
I found that the
constructor allows:
DefaultMutableTreeNode(java.util.List children, boolean
allowsChildren)
This is more to what
I need, is there an example usage of this?
I'd like to know how
if I would have
>From what I found, I have to add a f:actionListener to a h:commandLink
group in order to intercept each expand/collapse event?
Thanks,
--Todd
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Matthias Wessendorf
Sent: Monday, June 05, 2006 10:09 AM
To: My
There is a new Tomahawk coming out shortly. *After* this release all
future releases will also have an examples release which includes the
full source. Since everything is available in subversion it hasn't
been a big priority up until now.
Sean
On 6/5/06, Matthias Wessendorf <[EMAIL PROTECTED]
Well, this class is pretty simple.
It is a pojo, not more.
So tree (aka tree1) doesn't need it. It is up to you.
You can also use treeItem inside of your code.
It's up to you.
Tree2 has a *different* concept, so an interface like TreeNode is there.
But it's also up to you to use one of the defaul
please use adf lists for that.
Lot's of Oracle ADF Faces developers are around there.
-Matthias
On 6/5/06, Todd Patrick <[EMAIL PROTECTED]> wrote:
Matthias: Thank you.
My thought was, start using Oracle ADF then when ADF was ready, migrate
over.
However, how much would break in the migration,
Matthias: Thank you.
My thought was, start using Oracle ADF then when ADF was ready, migrate
over.
However, how much would break in the migration, if anything.
Will it be an easy transition for developers using the current Oracle
ADF to use ADF?
Thanks,
--Todd
-Original Message-
From:
Matthias:
I really don't want to sound like I'm whining, but how are we suppose to
use this?
It caught me off guard that the example contains objects that aren't
defined in the MyFaces Tomahawk Core.
IMO: This isn't developer friendly by any means.
When I downloaded the MyFaces Tomahawk Core 1.
use action for navigation and wrap commandLink with a h:form
-Matthias
On 6/5/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
I not sure if it works(because I have never used tree2), but I would try the
following:
In the h:commandLink take the action parameter instead of the actionListener.
can you search the archive?
Tree2 is very popular and question regarding loading data have already
been asked.
Thx,
-Matthias
On 6/5/06, Todd Patrick <[EMAIL PROTECTED]> wrote:
Is there an example of using tree2 with data from a database?
Example, I have the following tree:
+ A
+ B
+ C
Whe
well,
the name ...
and instead of oracle.***
there is some apache based namespaces.
Please take over such discussions to the ADF lists.
(currently they are named ADF ...)
-Matthias
On 6/5/06, Todd Patrick <[EMAIL PROTECTED]> wrote:
Matthias: Thank you, my concern is how much will ADF change
Hey,
since TreeItem,java is not part of MyFaces Tomahawk Core
It was introduced *into* the EXAMPLE application
here the SRC goes
http://tinyurl.com/zpygz
BTW. Tree2 has some thing like that TreeNode (an interface...)
with two impls of that Interface
HTH,
Matthias
On 6/5/06, Todd Patrick <[EM
There seems to be a problem with the tld. You don't need to write anything to your tag class for attributes id, rendered and binding. They are handled by UIComponentTag. Adding these attributes to tld only should do the job.
On 6/5/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
I do like to use t
I do like to use the rendered property the my custom component. What have
I to do?
public class UIInternalFrame extends UIComponentBase {
...
}
UIComponentBase has a method isRendered. I expect that also a setRendered
method will exist.
Must I only an entry in the taglibrary tld file?
The
Great.
There isn't a TreeItem, so this example for TreeTable is
absolutely worthless. When I added:
TreeItem item = new TreeItem();
TreeItem wasn't found in MyFaces Tomahawk
1.1.2.
"This is frustrating..."
--Todd
From: Todd Patrick [mailto:[EMAIL PROTECTED]
Sent: Monday, June 05,
In the
example:
/org/apache/myfaces/examples/listexample/TreeTable.java
There is the
following:
DefaultMutableTreeNode root = new
DefaultMutableTreeNode(new TreeItem(1, "XY", "9001", "XY
9001")); DefaultMutableTreeNode a
= new DefaultMutableTreeNode(new TreeItem(2, "A", "9001",
Matthias: Thank you, my concern is how much will ADF change when
migrating to Apache incubation?
Thanks,
--Todd
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Matthias Wessendorf
Sent: Friday, June 02, 2006 10:11 AM
To: MyFaces Discussion
Subject: Re: A
Is there an example of using tree2 with data from a
database?
Example,
I have the
following tree:
+
A
+
B
+
C
When I expand "A", I
need to send "A" as a parameter to a public method in my backing bean, which
calls a method in a POJO that returns the record set "1, 2,
3".
-
A
Hello,
I am trying to integrate the and
into an existing app that already has some
Dojo functionally. In some cases they seem to break one another. I
assume it is obviously a version issue. I have tried removing the script
references to see if they are still being loaded by the tags but tha
I got my commandLinks to work by adding the JSP-API.jar that came with
facelets to my /web-inf/lib directory instead of the one in the
tomcat/commons/lib directory.
However this gives me another problem where my JSP forward isn't working.
Seems to be some incompatibilty somewhere.
I'm getting fed
I not sure if it works(because I have never used tree2), but I would try the
following:
In the h:commandLink take the action parameter instead of the actionListener..
This action parameter points to the method selectNode withs returns a String...
public String selectNode(){
...
return navigati
Hi,I wasn't involved in the widget itself, all i did was write a JSF wrapper around it. Do those problems only occur with the JSF component, or also with the original widget? And have you tried the 0.3 version of Dojo?
Jurgen2006/6/4, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
Hi,I wonder if you can he
I'm not sure if this has been answered yet but I'm trying to use the best of both worlds from tobago and tomahawk. I want to use tomahawk cookMenu and tobago toolbar and I am having problems. Even if I dont have tobago code in my jsp and just tomahawk code I get an error. Both tabago and cookmen
Here is the generated JavaScript for the command link:
Select
--- Mike Duffy <[EMAIL PROTECTED]> wrote:
> I am having this same problem on JBoss 4.0.4 which uses Tomcat 5.5.
>
> Everything seems to be configured correctly, click on the command link,
I am having this same problem on JBoss 4.0.4 which uses Tomcat 5.5.
Everything seems to be configured correctly, click on the command link, and
nothing happens. I do
not even get an error message.
I Googled for a solution. At one time this was a problem in the SUN RI and the
solution was to
s
82 matches
Mail list logo