Re: h:graphicImage and Servlets

2007-05-16 Thread Martin Marinschek
ok, yes, that's clear - you can't embed an attachment. For other files - there is a typo in your code - attachment instead of attachment would be appropriate. response.setHeader(Content-Disposition, attachment; filename=\ + file.getFileName() + \);

Re: Sandbox behaviour!!

2007-05-16 Thread Adam Winer
Yes, in JSF 1.2 you can add a resource-bundle tag to faces-config.xml, which will add a ResourceBundle as if it were a managed bean available on all pages. This is more efficient than f:loadBundle, and also makes the resource bundle available at all parts of the JSF lifecycle (instead of just

Re: [Trinidad] Trunk and 1.2 both deployed, site too!

2007-05-16 Thread Adam Winer
The trunk and the 1.2 branches are essentially identical functionality; the 1.2 branch is however compiled against JSF 1.2 and takes advantage of JSF 1.2-specific APIs, as well as providing implementations of APIs like invokeOnComponent(), etc. TrinidadFilter is still necessary (and there's no

Re: [Trinidad] Trunk and 1.2 both deployed, site too!

2007-05-16 Thread Adam Winer
When the MyFaces trunk becomes 1.2, we could look at making our trunk 1.2 as well, I think. -- Adam On 5/15/07, Matthias Wessendorf [EMAIL PROTECTED] wrote: Perhaps a good time to make 1.2 trunk is, when MyFaces trunk also is 1.2 ? -m On 5/15/07, Adam Winer [EMAIL PROTECTED] wrote: It's

Multiple (unwanted) valueChangeListener events

2007-05-16 Thread Sly_cardinal
HI, I am encountering strange behaviour with multiple, independent valueChangeListeners being triggered from the same event. I think that this problem might be related to what Julien Martin was encountering in this thread, although reversed - I am getting too many valueChange events:

panelNavigation2 and client-side collapse logic

2007-05-16 Thread Stefano Panero
Hi, I've to use something like the panelNavigation2 component, but I need that all the collapsing logic resides in the client. Now, I think, when you click on link which have to be expanded the request is always sent to the server and it's same when a node have to be collapsed. Tree2

Re: MyFaces and Security

2007-05-16 Thread Rudi Steiner
Hi Petr, hi Martin, I think the right way is to register an action-listener in the faces-config and to determine in the method processAction(ActionEvent event), if the current user has the role to execute this action. Has anyone an idea, how to implement the role-check, maybe with annotations

Re: MyFaces and Security

2007-05-16 Thread Rudi Steiner
Hi, I found out, that configuring an action-listener in the facesconfig, the action defined in the action-attribute of a commandButton is not called anymore. Does this mean, that configuring an action-listener in the facesconfig, this is the one and only actionlistener for all actions and the

Re: MyFaces and Security

2007-05-16 Thread Bernd Bohmann
Hello Rudi, take a look at http://svn.apache.org/repos/asf/myfaces/tobago/trunk/contrib/security/ This example use a different ApplicationFactory that returns a MethodBindingImpl that check the role of the user. The security package is used in the

Re: h:graphicImage and Servlets

2007-05-16 Thread omidh
tkanks ;) Martin Marinschek wrote: ok, yes, that's clear - you can't embed an attachment. For other files - there is a typo in your code - attachment instead of attachment would be appropriate. response.setHeader(Content-Disposition, attachment; filename=\ +

[Tobago] AJAX with tx:in?

2007-05-16 Thread David Steinkopff
Hello, Can I use tx:in for a renderedPartially attribute? Because tx:in a short syntax for tc:panel f:facet name=layout tc:gridLayout columns=fixed;*/ /f:facet tc:label value=#{label} for=auto/ tc:in value=#{value} . /tc:in /tc:panel I know that tobago allow only panel for ajax reloading

Regarding Conversion Error

2007-05-16 Thread Madan Narra
Hi All, I have a sheet which has an InputTest which is mapped to Integer in the bean. The page is divided into three parts, the Top , left and middle. The Left pane has a tree and the middle pane includes the sheet. If at all i enter some text in the TextField, i get ' Conversion Error ' when

Re: Sandbox behaviour!!

2007-05-16 Thread Angel Miralles Arevalo
Hi evrybody, I have configured it: application view-handler org.apache.myfaces.tomahawk.application.jsp.JspTilesViewHandlerImpl /view-handler locale-config default-localees/default-locale /locale-config message-bundle servidesk.messages.MessageResources /message-bundle /application But

Re: Sandbox behaviour!!

2007-05-16 Thread Angel Miralles Arevalo
Hi evrybody, I have configured it: application view-handler org.apache.myfaces.tomahawk.application.jsp.JspTilesViewHandlerImpl /view-handler locale-config default-localees/default-locale /locale-config message-bundle servidesk.messages.MessageResources /message-bundle /application But

[Tobago] Regarding renderedPartially in Sheet

2007-05-16 Thread Madan Narra
Hi All, I have a sheet which has an inputText in one of its column and a simple tc:out in another columns. I need to add a f:facet name=change for all the inputText available in the sheet. Based upon the value change in one of the rows in text filed, i need to update its corresponing tc:out

configure language bundle as managed bean (was: Sandbox behaviour!!)

2007-05-16 Thread Mario Ivankovits
Hi! I meant you create a managed bean entry, something like: managed-bean managed-bean-namebundle/managed-bean-name managed-bean-classyour.package.name.LanguageBundler/managed-bean-class managed-bean-scopeapplication/managed-bean-scope

Re: configure language bundle as managed bean (was: Sandbox behaviour!!)

2007-05-16 Thread Angel Miralles Arevalo
I tried with s:loadBundle but it doesn`t work. There is no message where use to be with f:loadBundle . I'll try your solution!! Thanks Mario!!! - Mensaje original De: Mario Ivankovits [EMAIL PROTECTED] Para: MyFaces Discussion users@myfaces.apache.org Enviado: miércoles, 16 de mayo,

schedule and working day

2007-05-16 Thread anoe
hi, i am using the schedule tomahawk component, i've got this issue with working days, i'm using it for a country where saturday is a working day, the problem is that although sat is setted as a working day (invoking setWorkingDay(true)) the renderer always shows it as a non working day, and

RE: Source code of myfaces and tomahawa 1.1.3

2007-05-16 Thread Nebinger, David
That's great if you don't mind surfing through SVN to find the head for a specific file. But try finding the version in the list that represents the file that was released for 1.1.3... If we can download the jars, why can we not also download a zip of the source used for the jar? I mean

DEFAULT_SUFFIX with outputLink

2007-05-16 Thread lightbulb432
What does javax.faces.DEFAULT_SUFFIX do? I was under the impression that when I have an h:outputLink pointing to something that ends in the DEFAULT_SUFFIX (e.g. xhtml), the link gets output not with “.xhtml”, but with “.jsf”, for example, if the servlet mapping to the Faces Servlet ends in that.

Re: Source code of myfaces and tomahawa 1.1.3

2007-05-16 Thread Grant Smith
Why not just check out the version from SVN, and build the src jars with maven ? On 5/16/07, Nebinger, David [EMAIL PROTECTED] wrote: That's great if you don't mind surfing through SVN to find the head for a specific file. But try finding the version in the list that represents the file that

RE: Source code of myfaces and tomahawa 1.1.3

2007-05-16 Thread Nebinger, David
Because I don't need to build yet another package just to get source. Plus I don't want to be on the cutting edge, I want to stay with production releases. Go to any other apache project (i.e. all of the jakarta guys) and SVN is an option, but you can also download the binary jars, source zips,

Re: Source code of myfaces and tomahawa 1.1.3

2007-05-16 Thread Grant Smith
On 5/16/07, Nebinger, David [EMAIL PROTECTED] wrote: Because I don't need to build yet another package just to get source. Plus I don't want to be on the cutting edge, I want to stay with production releases. Go to any other apache project (i.e. all of the jakarta guys) and SVN is an option,

Re: Source code of myfaces and tomahawa 1.1.3

2007-05-16 Thread Bruno Aranda
Yes, as Grant says the source packaging was included after 1.1.3 (first version is 1.1.4), as you can see in the source folder [1]. There is a gap from 1.1.1 due to the migration to maven. But you can always get the sources of an specific release from subversion, as all the releases are tagged.

Re: Source code of myfaces and tomahawa 1.1.3

2007-05-16 Thread Bruno Aranda
A correction: the checkout urls are: svn co http://svn.apache.org/repos/asf/myfaces/core/tags/1_1_3 [space] myfaces-core-1.1.3 and svn co http://svn.apache.org/repos/asf/myfaces/tomahawk/tags/1_1_3 [space] myfaces-tomahawk-1.1.3 somehow the spaces between the url and the folder name where

Re: [Trinidad] Trunk and 1.2 both deployed, site too!

2007-05-16 Thread noah
On 5/15/07, Adam Winer [EMAIL PROTECTED] wrote: Thanks to all of Wendy Smoak's work getting the Continuum server running and her advice, I've set up the Trinidad trunk and current 1.2 branch to have nightly auto-deploys, for example:

download cms.beans.framework.AbstractUIBean

2007-05-16 Thread William Diaz Pabón
where i can download this class download cms.beans.framework.AbstractUIBean? that is in example http://wiki.apache.org/myfaces/Handling_Server_Errors Cordialmente. William Diaz Pabón Tunja - Boyacá - Colombia From: noah [EMAIL PROTECTED] Reply-To: MyFaces Discussion

Re: download cms.beans.framework.AbstractUIBean

2007-05-16 Thread Matthias Wessendorf
http://mail-archives.apache.org/mod_mbox/myfaces-users/200607.mbox/[EMAIL PROTECTED] On 5/16/07, William Diaz Pabón [EMAIL PROTECTED] wrote: where i can download this class download cms.beans.framework.AbstractUIBean? that is in example http://wiki.apache.org/myfaces/Handling_Server_Errors

Re: [Tobago] AJAX with tx:in?

2007-05-16 Thread Bernd Bohmann
Hello David, unfortunatley not. The tx tags don't set a id on the panel and you need the id of the panel for the partial rendering. Regards Bernd David Steinkopff wrote: Hello, Can I use tx:in for a renderedPartially attribute? Because tx:in a short syntax for tc:panel f:facet

[Trinidad] Maven Build - maven-faces-plugin not found in repository

2007-05-16 Thread noah
I'm trying to build Trinidad but the trinidadbuild plugins are not downloading. e.g. If I check out the 1.2 branch and try 'mvn install', I get an error with: Reason: POM 'org.apache.myfaces.trinidadbuild:maven-faces-plugin' not found in repository: Unable to download the artifact from any

Re: tx:date got a day before selected date

2007-05-16 Thread Jonathan Obregon A
Volker Weber wrote: http://wiki.apache.org/myfaces/FAQ#Date or http://tinyurl.com/34zngs 2007/5/15, Jonathan Obregon A [EMAIL PROTECTED]: Hi all, Here's my problem: when I select a date in tx:date control, the value is a day before than selected one. By example, I select May 14 in

Re: [Trinidad] Trunk and 1.2 both deployed, site too!

2007-05-16 Thread Wendy Smoak
On 5/16/07, noah [EMAIL PROTECTED] wrote: Any chance source jars will be added anytime soon? For those of us that like to be bleeding edge but are too lazy to do our own builds ^_^ I think you'll get those if someone enables the maven-provided 'release' profile in the Continuum build

default-edit on myfaces

2007-05-16 Thread Alexander Wallace
still trying to succesfully used the edit mode of a portlet... I've seen that on SUN's impl. you can use the edit mode by just using navigation rules... for this you specify your from and outcomes in faces-config.xml but portlet.xm has a parameter such as: init-param

Re: Multiple (unwanted) valueChangeListener events

2007-05-16 Thread Sly_cardinal
I have found that the problem was being caused by number converters that I had attached to the inputText fields: h:inputText value=#{clientItem.deposit} valueChangeListener=#{creditTransferForm.updateDeposits} immediate=false onchange=submit(); f:convertNumber