Hi, I'm new to tobago and I'm trying to integrate it in an existing project.
I've copying libraries into my WEB-INF\lib directory.
Copying tag directory content to WEB-INF\tag
Created tobago-config file to WEB-INF
And I've added the following line to my web.xml file for my webapplication :
!--
Matthias,
is it possible, that we start a new section for that in the MyFaces
wiki?
I am currently not shure, wer to start and what is required and a wiki
is IMHO
the best way to brainstorm and get a more and more close documentation.
Regards,
Stephan
-Original Message-
From:
Hi,
do you know if Shale can be easily plugged in a MyFaces/Trinidad
project? I'm interested in the ViewController pattern, but I can't
make it work.
I setup the project as described in the Shale website, and also tried
to manually set ViewViewHandler as the viewhandler in
faces-config.xml.
Hi,
I asked this question a few months ago but I didnt
get an answer. So I try it again because I have to solve this now.
I have a selectOneMenu and a link beside it. When the
user clicks the link I need the selected value in my BackingBean without form
validation. The target of the
I would go with a binding, don't know if there are other ways to do
what you need.
Cosma
2006/6/21, Michael Heinen [EMAIL PROTECTED]:
Hi,
I asked this question a few months ago but I didn't get an answer. So I try
it again because I have to solve this now.
I have a selectOneMenu
Well, HTML never submit the whole content of a list AFAIK, only the
selected one. So you have a few choices:
1) Select using javascript ALL the items as Ian suggested, so they are
all submitted (but this need a select many)
2) Populate the list in the server side, so you don't need to submit
Im trying to use some of the tomahawk components to be exact
- TabbedPane
- Schedule
I've got the TabbedPane working, but it doesn't look very nice and I would
like to ask if any have a simple version with stylesheets. Moreover Im not
sure if I have the latest version - Im using myfaces-all
Hello Alexandre,
you can't mix Tobago components with other Renderkits until now.
See
http://myfaces.apache.org/tobago/faq.html#tobago/myfaces%20extension
Regards
Bernd
Alexandre Jaquet schrieb:
Hi, I'm new to tobago and I'm trying to integrate it in an existing
project.
I've copying
thanks to all who replied:
dave, it may or may not be acegi configuration, i need to do some further
investigation.
i think the key is that when myfaces get's the request via FacesContext it
is no longer wrapped,
thus containing zero acegi information when queried by myfaces.
ricardo,
Hi,
Must thank you all for great product. Through Tomahawk 1.1.3 I've
noticed a minor issue with inputHtml. Tomahawk logs following
error:
- Unable to find resource resource/kupudrawers/kupublank.html for
component inputHtml.InputHtmlRenderer. Check that this file is
available in the classpath
Dave Brondsema wrote:
Is there a way to store the inputFileUpload file even if there are
process validation errors on other components? I don't want the user to
have to re-upload a file if they forgot some other required field, for
example.
Thanks,
So I guess there's no way to do this?
I am facing a pretty typical JSF validation issue. I have a list of commandLinks which are Categories. On the right side of the page I have a form with details about the category. You can also use this form to add or update a category.
Obviously, the category name is required. But since it is
Line 88 of
org.apache.myfaces.custom.fisheye.HtmlFishEyeNavigationMenuRenderer
System.out.println(rendering fisheye);
Should that be there?
--
View this message in context:
http://www.nabble.com/System.out.println%28%22rendering-fisheye%22%29-%21-%21--t1824085.html#a4974838
Sent from the
[1] Not really. The user needs the Category Name field along with it's Add button to be able to add a Category.[2] I could probably do that (worst case)[3] This sounds feasable. Could you provide a bit more info on this solution?
Thanks.GreggOn 6/21/06, Julian Ray [EMAIL PROTECTED] wrote:
Hi Gregg,
here is some code for [3]
[1] example bean-based validation. Here is a function
we use to validate anew user name for a customer account. As some of these
methods are re-used we actually place the code in a validation
class.
// Check to see if the user name is
unique for this
I am also not an expert of them. I think, we should collect
all the spreaded informaton and try to get progress that MyFaces is ready to use
in Liferay.
From: Murat Hazer
[mailto:[EMAIL PROTECTED] Sent: Tuesday, June 20, 2006 9:54
PMTo: MyFaces DiscussionSubject: Re: Support
Thanks for the code. The problem though is if I leave the required=true attribute on the input field, even with the custom validation, the commandLinks still trigger the validation. If I remove required=true from the input field, and I try and add a category without typing in a category name, no
You can always create a hidden input element at the bottom
of the form which has required="true" and perform form-scoped validation using
the backing bean.
The spec says that form elements are processed in the order
they are on the page so putting the hidden element last means that it will
Geez. Ok. Thanks. I noticed that the only time my validation method is being called is when the category name input field has a value in it. When it is empty my validation method isn't even called. Do you know why that is? Is this normal?
For now, I am just going to do my validation manually in
I'm no expert on EL but what you are describing sounds like a good candidate
for a custom component.
-Original Message-
From: Anders W. Tell [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 21, 2006 11:05 AM
To: MyFaces Discussion
Subject: Looping in JSF?
Hi,
I want to create list of
Hi, have you tried the t:dataList [1] component in tomahawk? I guess
it does what you need...
Regards,
Bruno
[1] http://myfaces.apache.org/tomahawk/dataList.html
On 6/21/06, Anders W. Tell [EMAIL PROTECTED] wrote:
Hi,
I want to create list of commandButtons based on a collection of
using facelets you can use also c:foreach but I think that you can do
everithing also with t:datatable
2006/6/21, Bruno Aranda [EMAIL PROTECTED]:
Hi, have you tried the t:dataList [1] component in tomahawk? I guess
it does what you need...
Regards,
Bruno
[1]
data list should be your friend. With layout=simple there are no HTML
tags added, only the contents of the list. It has index and max count
properties as well that make it easy to work with.
On 6/21/06, ::SammyRulez:: [EMAIL PROTECTED] wrote:
using facelets you can use also c:foreach but I
On 6/21/06, Cosma Colanicchia [EMAIL PROTECTED] wrote:
Hi,do you know if Shale can be easily plugged in a MyFaces/Trinidadproject? I'm interested in the ViewController pattern, but I can'tmake it work.In principle, this kind of mixing should work, although I haven't tried it myself.
I setup the
Hi, I am pretty new to JSF and I was wondering if someone could help me with a problem that I've been stuck on. I'm writing a Date Input custom component that consists of 1 HtmlPanelGrid containing 3 HtmlInputText fields as it's children. The custom component is extending UIInput. I have gotten it
October,
Please put this in the JIRA .
Dennis Byrne
-Original Message-
From: octoberdan [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 21, 2006 10:02 AM
To: users@myfaces.apache.org
Subject: System.out.println(rendering fisheye) !?!?
Line 88 of
The issue tracker for Tomahawk is here.
http://issues.apache.org/jira/browse/TOMAHAWK
Thanks,
Dennis Byrne
-Original Message-
From: octoberdan [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 21, 2006 12:35 PM
To: users@myfaces.apache.org
Subject: Re: System.out.println(
How/where?
Hi.
Faces ignores setId in backing bean. In the generated HTML faces uses
its own id.
I do these things:
1. Generate component in backing bean
2. set id
3. Store component in map
4. Call map from jsf with binding.
Here some code:
1.+ 2. + 3.:
String key = “myKey”;
comp =
Hi,
I am wonder whether there is already a way to not let users selectig date earlier than today in t:inputCalendar? Or I will have to do my own validation?
Thanks for your help in advance,
Emily
Do you think it's worth opening a JIRA? If so, I had a patch fixing this tough bug:)CagatayOn 6/21/06, Matthias Wessendorf
[EMAIL PROTECTED] wrote:no! :)On 6/21/06, octoberdan
[EMAIL PROTECTED] wrote: Line 88 of org.apache.myfaces.custom.fisheye.HtmlFishEyeNavigationMenuRenderer
Matze just got it. That guy is some programmer ;)
Dennis Byrne
-Original Message-
From: Cagatay Civici [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 21, 2006 01:31 PM
To: 'MyFaces Discussion'
Subject: Re: System.out.println(rendering fisheye) !?!?
Do you think it's worth opening a
Hi,I've just checked the request params with FacesTrace, even the input text is empty, the key(client id)-value is sent to the server.So it still does not make sense why there is a required attribute instead of a validator.
RegardsCagatayOn 6/21/06, Jesse Alexander (KSFD 121) [EMAIL PROTECTED]
Zheng JinYuan wrote:
Any gay's success deploy Tomahawk in liferay ?
thanks
Yes. Are there specific problems you having?
If you need to use tomahawk components that use the extensionFilter, see
http://issues.apache.org/jira/browse/MYFACES-434
--
Dave Brondsema
Software Developer
I'm certainly getting sick of seeing it my logs, as I'm sure others are :-D
--
View this message in context:
http://www.nabble.com/System.out.println%28%22rendering-fisheye%22%29-%21-%21--t1824085.html#a4979287
Sent from the MyFaces - Users forum at Nabble.com.
Thanks Julian for your quick reply and suggestion.
It looks very good for my needs. I haven't used the sandbox. Do I need any additional jars?
Thanks,
Emily
On 6/21/06, Julian Ray [EMAIL PROTECTED] wrote:
Rather than writing your own, check out the validateCompareTo validator in the sandbox.
Should t:updateActionListener work with a commandButton or does it only work with commandLinks?Thanks.
Should work with UICommand
(commandLink or commandButton for the standard ones)
What's wrong ?
On 6/21/06, Gregg Bolinger [EMAIL PROTECTED] wrote:
Should t:updateActionListener work with a commandButton or does it only work
with commandLinks?
Thanks.
--
Matthias Wessendorf
Aechterhoek 18
have you tried immediate=true for the file input?
this speacial logic in the setMyFile() in your backingbean ?
just a quick guess.
On 6/21/06, Dave Brondsema [EMAIL PROTECTED] wrote:
Dave Brondsema wrote:
Is there a way to store the inputFileUpload file even if there are
process validation
See [1]
[1] http://wiki.apache.org/myfaces/How_The_Immediate_Attribute_Works
On 6/21/06, Matthias Wessendorf [EMAIL PROTECTED] wrote:
have you tried immediate=true for the file input?
this speacial logic in the setMyFile() in your backingbean ?
just a quick guess.
On 6/21/06, Dave Brondsema
I am not sure there is anything wrong or not with regards to t:updateActionListener. I am just trying to limit the possibilites and I wanted to check that one off the list of potentials. I wasn't sure that it *should* work with commandButton. Now I know. As I narrow the issue down, I'm sure I'll
Yes, it should, b/c it is an action listener ... :-)
See [1] and [2] for that.
Regards,
Matthias
[1] http://wiki.apache.org/myfaces/UpdateActionListener
[2] http://wiki.apache.org/myfaces/ExecutingMethodsFromLinkButtonParameters
On 6/21/06, Gregg Bolinger [EMAIL PROTECTED] wrote:
I am not
The sandbox jar should be available in the repository. If
you scan this forum you should find a link to it.
From: Emily Gu [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 21, 2006 2:06 PMTo: MyFaces
DiscussionSubject: Re: Is there already a way to restrict users
selecting the date prior
Greetings:
I have an attribute in a backing bean and I want to display it in a jsp
inline. I tried to use OutputText and it doesn't seem to work
correctly.
Here is what I want to do:
f:verbatim
h2Welcome #{authedUser.firstName}/h2
/f:verbatim
This doesn't work. So I tried
f:verbatim
Try
h:outputText value=#{Welcome authedUser.firstName}/
-Original Message-
From: Troy Bull [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 21, 2006 3:07 PM
To: users@myfaces.apache.org
Subject: Something Simple
Greetings:
I have an attribute in a backing bean and I want to display
f:verbatim
h2
/f:verbatim
af:outputText value=Welcome#{authedUser.firstName}/
f:verbatim
/h2
/f:verbatim
On 6/21/06, Troy Bull [EMAIL PROTECTED]
wrote:
Greetings:I have an attribute in a backing bean and I want to display it in a jspinline.I tried to use OutputText and it doesn't seem to work
Julian Ray wrote:
Try
h:outputText value=#{Welcome authedUser.firstName}/
-Original Message-
From: Troy Bull [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 21, 2006 3:07 PM
To: users@myfaces.apache.org
Subject: Something Simple
Greetings:
I have an attribute in a backing bean
Of course its always best to
useCSSso
h:outputTextstyleClass="myHeaderClass"
value="Welcome#{authedUser.firstName}"/
From: CD [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 21, 2006 3:10 PMTo: MyFaces
DiscussionSubject: Re: Something Simple
f:verbatim
h2
/f:verbatim
af:outputText
Thanks for the quick and correct answers!
troy
CD said the following on 6/21/2006 2:10 PM:
f:verbatim
h2
/f:verbatim
af:outputText value=Welcome #{authedUser.firstName}/
f:verbatim
/h2
/f:verbatim
On 6/21/06, *Troy Bull* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
Greetings:
af:outputTextstyleClass="my-own-h2-from-my-css"
value="Welcome#{authedUser.firstName}"/
From: CD [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 21, 2006 3:10 PMTo: MyFaces
DiscussionSubject: Re: Something Simple
f:verbatim
h2
/f:verbatim
af:outputText
Hello,
I use
h:outputText value=Welcome #{authedUser.firstName} /
and it works fine.
Best regards
Ondrej Svetlik
And for the h2 tag, I have the best experience with
t:htmlTag value=h2 /
(t: for tomahawk)
So your example would be:
t:htmlTag value=h2
h:outputText value=Welcome
Troy,
this article [1] has a lot's a information about your problem ;)
-Matthias
[1] http://www.onjava.com/pub/a/onjava/2004/06/09/jsf.html
On 6/21/06, Troy Bull [EMAIL PROTECTED] wrote:
Thanks for the quick and correct answers!
troy
CD said the following on 6/21/2006 2:10 PM:
f:verbatim
I also would recommend the stylesheet approach rather than the h2. In fact, avoiding HTML tags altogether would be in your best interest.
On 6/21/06, Clement, James [EMAIL PROTECTED] wrote:
af:outputTextstyleClass=my-own-h2-from-my-css value=Welcome#{authedUser.firstName}/
From: CD
Does anybody use
this channel? whenever I check it seems somewhat under-represented
:)
Hey Matt-
well, it was discussed that that lib makes it into Tomahawk/Sandbox.
So that is no rumor.
But... I don't know when this will happen and if there are some issue
to solve (incubator?), since this library is developed out side.
Incubator might not be required, since it is a *small* lib;
Some MyFaces users are on ##jsf channel.2006/6/21, Julian Ray [EMAIL PROTECTED]:
Does anybody use
this channel? whenever I check it seems somewhat under-represented
:)
-- Yours truly (Atenciosamente),Rogério
How do you use it? I've never connected to an IRC channel before. I use Trillian which has a plugin for the client though.On 6/21/06, Julian Ray
[EMAIL PROTECTED] wrote:
Does anybody use
this channel? whenever I check it seems somewhat under-represented
:)
i only need connect on irc.freenode.net, and then join on #myfaces, if you wish join in ##jsf you must register your nickname first.2006/6/21, Gregg Bolinger
[EMAIL PROTECTED]:How do you use it? I've never connected to an IRC channel before. I use Trillian which has a plugin for the client
Hi,The crowd is usually at ##jsf.CagatayOn 6/21/06, Rogerio Pereira [EMAIL PROTECTED]
wrote:i only need connect on
irc.freenode.net, and then join on #myfaces, if you wish join in ##jsf you must register your nickname first.2006/6/21, Gregg Bolinger
[EMAIL PROTECTED]:
How do you use it? I've
System.out programming is a sin...On 6/21/06, Dennis Byrne [EMAIL PROTECTED] wrote:
Matze just got it.That guy is some programmer ;)Dennis Byrne-Original Message-From: Cagatay Civici [mailto:[EMAIL PROTECTED]]Sent: Wednesday, June 21, 2006 01:31 PM
To: 'MyFaces Discussion'Subject: Re:
Ok, in the vein of avoiding HTML all together how do i do a /BR
without html?
Thanks
troy
CD said the following on 6/21/2006 2:17 PM:
I also would recommend the stylesheet approach rather than the h2. In
fact, avoiding HTML tags altogether would be in your best interest.
On
If you are using tomahawx then t:htmlTag value=br / will work. Otherwise
use f:verbatimbr//f:verbatim
-Original Message-
From: Troy Bull [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 21, 2006 4:33 PM
To: MyFaces Discussion
Subject: Re: Something Simple
Ok, in the vein of avoiding
Good point Troy ;)
Maybe someone would like to amend my statement to be more correct?
Regards,
C. Dillon
On 6/21/06, Troy Bull [EMAIL PROTECTED] wrote:
Ok, in the vein of avoiding HTML all together how do i do a /BRwithout html?Thanks
troyCD said the following on 6/21/2006 2:17 PM: I also would
Troy,
Another thought is to use components like panelGrids and whatnot that give you such an ability by virtue of what they do and how they do it. Keep in mind that I'm not claiming a silver bullet to all scenarios. I will say that I've seen/read/been told that avoiding html tags is generally a
Hi Matt,Actually the client validators library of mine was once joining myfaces but after some discussion it has released at jsf-comp project. Although this library will never join tomahawk, It is very useful to do seperate client side validation and you may take a look at the example webapp to
A few of us just listen on both channels...
(##jsfand #myfaces)
The differences:
- ##jsf is logged (http://www.uwyn.com/drone/log/bevinbot/%23jsf) #myfaces is
not
- edburns and other vip's often hang around on
##jsf
- the #myfaces-crowd is quieter... a discussion is less
interrupted...
The validation is only called for fields that are NOT
empty... cause empty fields are never transmitted to the server
(HTML-spec).
For such cases we wrote the OptionalValidator
stuff...
regards
Alexander
From: Gregg Bolinger
[mailto:[EMAIL PROTECTED] Sent: Wednesday, June 21,
Hi,To eliminate a possible confusion, let me put it this way;There are two client validation libraries of mine actually, first one was released at jsf-comp and it contains seperate components to do client validation.
The second one I'm currently working on is purely based on myfaces. Other than
I'm currently available for JSF/Shale Consutling work if anyone is
interested. Please email me off list if you would like to discuss.
Sean
ps. ASF is ok with messages of this sort as long as they are marked [OT]
Nope. Just unsubscribe. Or even better, just set up a rule to auto
delete them and remove the rule when you are back.
Sean
On 6/21/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi everybody,
Sorry to post this here but I cannot find any information regarding this
on the myfaces page.
I'm
I agree with the user who suggested facelets. Its working well for me so far.
Sean
On 6/21/06, CD [EMAIL PROTECTED] wrote:
Troy,
Another thought is to use components like panelGrids and whatnot that give
you such an ability by virtue of what they do and how they do it. Keep in
mind that
Nice :)
I think with the current impl it is not possible to solve it.
because the update request (done with ajax) is a regular JSP/JSF req.
Nice to never let a session seeing a timeout :)
Can you bring up this issue to the dev list?
Thanks,
Matthias
On 6/21/06, Daniel K. [EMAIL PROTECTED]
If I put % response.sendRedirect(pages/myPage.jsf); % in my index.jsp, this redirect correctly and my navigation menu works properly.If I change by
jsp:forward... this redirect correctly, but my menu doesn't work (link #, I think some _javascript_ function was not created, maybe the servlet don't
The following were not found in the Maven repo.
dependency
groupIdorg.apache.myfaces/groupId
artifactIdmyfaces-impl/artifactId
version1.1.3/version
scopecompile/scope
typejar/type
/dependency
dependency
groupIdorg.apache.myfaces/groupId
-Original Message-
From: Ondrej Svetlik [mailto:[EMAIL PROTECTED]
Sent: Thursday, 22 June 2006 12:37 PM
To: MyFaces Discussion
Subject: Re: managed properties
Hello,
why don't you simply create the instance in the
constructor of the bean?
class ManageMyBean {
managed-bean
managed-bean-namebusinessDelegate/managed-bean-name
managed-bean-classcom.delegates.BusinessDelegate/managed-bean-class
managed-bean-scoperequest/managed-bean-scope
/managed-bean
managed-bean
managed-bean-namemanageMyBean/managed-bean-name
http://jira.codehaus.org/browse/MEV-415
On 6/21/06, Rick [EMAIL PROTECTED] wrote:
The following were not found in the Maven repo.
dependency
groupIdorg.apache.myfaces/groupId
artifactIdmyfaces-impl/artifactId
Thanks.
-Original Message-
From: Matt Raible [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 21, 2006 8:09 PM
To: MyFaces Discussion
Subject: Re: when are the 1.1.3 jar files going into the Maven repo?
http://jira.codehaus.org/browse/MEV-415
On 6/21/06, Rick [EMAIL PROTECTED] wrote:
That led me down the path that helped me fix the problem.
The group ids changed a bit (somehow, somewhere)
This is what worked in my pom.xml file for the sake of a good google search
result for the next soul later:
...
repositories
repository
On 6/21/06, Matt Raible [EMAIL PROTECTED] wrote:
http://jira.codehaus.org/browse/MEV-415
On 6/21/06, Rick [EMAIL PROTECTED] wrote:
The following were not found in the Maven repo.
That's next on my list. :) I need the release manager to do the
signatures, then I'll get them deployed to the
On 6/21/06, Rick [EMAIL PROTECTED] wrote:
managed-beanmanaged-bean-namebusinessDelegate/managed-bean-namemanaged-bean-classcom.delegates.BusinessDelegate/managed-bean-classmanaged-bean-scoperequest/managed-bean-scope
Actually, you're working too hard. Just use:
value#{businessDelegate}/value
JSF IoC container is not that powerful, I prefer to use Spring and then
use
the Spring delegating variable resolver.
You could also write your own JSF variable resolver and then manage the
On 6/21/06, Dhananjay Prasanna [EMAIL PROTECTED] wrote:
Thanks craig rick,
As a follow up, is there any way to organize
namespaces in managed-bean-names? Apart from using underscores can I do something
like:
managed-bean-namedelegates.businessDelegate/managed-bean-name
Im
82 matches
Mail list logo