myfaces source including sandbox

2006-03-18 Thread Dave
http://svn.apache.org/repos/asf/myfaces/ http://cvs.apache.org/builds/myfaces/nightly/I try to use subForm. I could not find sandbox in repos. In the nightly build area, there is no sandbox either. I like to download all myfaces source including sandbox. thanks for info. Yahoo! Mail Bring

multi-selection in selectOneListBox

2006-03-18 Thread sjarlier
Hi! Is there a JSF tool to have a selectOneListBox that allows us to select several elements in this list at the same time? Thanks De: Dave [mailto:[EMAIL PROTECTED] Envoyé: samedi 18 mars 2006 09:24 À: users@myfaces.apache.org Objet: myfaces source including sandbox

jenia and myfaces 1.1.1

2006-03-18 Thread manish . dhall
Hi, Is any one using jenia for popup windows with my faces 1.1.1. we tries using it but got some error during parameter passing. Any confirmation for same will be appreciated. Thanks Manish Notice: The information contained in this e-mail message and/or attachments to it may contain

Re: Yet another calendar (also works in Java Studio Creator)

2006-03-18 Thread Edwin Goei
On 3/17/06, Legolas Woodland [EMAIL PROTECTED] wrote: Thank you for the post. where i can get this calendar , could you please provide a link ? is there any Tabset like component that does not depend on Creator theme ? for example in myfaces , is there any Tabset component ?Please note that this

Re: General question to AJAX stuff from the sandbox

2006-03-18 Thread Gerald Müllan
Hi Aleksei, the problem of not finding the ajax components should only occur in a row of a dataTable. For this we have now the possibility of UIComponentPerspective, which helps to find components also with this issue. We have to add only a few lines of code to the AjaxDecodePhaseListener; i

AW: multi-selection in selectOneListBox

2006-03-18 Thread Matthias Kahlau
Hi, you may use the selectManyListboxof the Standard HTML RenderKit Taglib. It displays all options at the same time and allows the user to mouse select many optionswhile holding the CTRL-Key. -Matthias -Ursprüngliche Nachricht-Von: [EMAIL PROTECTED] [mailto:[EMAIL

Re: Converter error during Model update

2006-03-18 Thread _dani
Hello again The selectOneListbox and the inputText component are in the same form on the same jsp. So i dont now how to control which component is first on my page. So the problem is located in step 3, validating the inputText component. Step 1 is ok, I checked what happens in the userConverter

CommandButton subclass

2006-03-18 Thread Dave
For commandButton, its action listener and action method are executed in Invoke Application phase. I need to create a custom component that is a subclass of commandButton, but execute action listeners and action method in two different phases: Action listeners in ApplyRequestValue phase, and

Tab not coming as an active after performing some tast to the tab

2006-03-18 Thread Ajoy Acharyya
hi, I am facing one problem related to myfaces tabpanel. I am working in WSAD 5.1.1. The problem is Tab not coming as an active after performing some tast to the tab Say I have 4 tab, I click some button on the 2nd or 3rd tab. Now the same page should render, but in this case always first tab

RE: multi-selection in selectOneListBox

2006-03-18 Thread sjarlier
Thanks for the answer. I was trying to use this selectManyListBox but I got into troubles to get the selected items. Please would you mind telling me what I am doing wrong: - I initialized my list of trades: protected ListSelectItem allTrades = null; allTrades =

AW: multi-selection in selectOneListBox

2006-03-18 Thread Matthias Kahlau
I've never used the selectManyListbox action myself. But I remember a problem when using a List for the selected valuesof a selectManyCheckbox, which also didn't work. I used an Array with the type of the SelectItem values instead, and this did the trick. Maybe you want to try this.

Re: Converter error during Model update

2006-03-18 Thread Mike Kienenberger
On 3/18/06, _dani [EMAIL PROTECTED] wrote: The selectOneListbox and the inputText component are in the same form on the same jsp. So i dont now how to control which component is first on my page. The tags are processed in order of appearance, so if the listbox is first, it'll be processed (at

Re: Is ther a way? Life cycle for commandButton

2006-03-18 Thread Mike Kienenberger
What about callling this.setFlag(true) as the first line of code in #{bean.check}? If it's a matter of having both true and false, create checkTrue() and checkFalse() -- you can even have them both call check() after setting the flag value. On 3/17/06, Dave [EMAIL PROTECTED] wrote: h:form

Re: myfaces source including sandbox

2006-03-18 Thread Mike Kienenberger
Currently you have to build the sandbox from source after doing a checkout. Go ahead and open a jira issue on this (making sandbox available as part of the nightlies). On 3/18/06, Dave [EMAIL PROTECTED] wrote: http://svn.apache.org/repos/asf/myfaces/

RE: multi-selection in selectOneListBox

2006-03-18 Thread sjarlier
I tried to use an array for the selectedTrades (String[nbTrades]) and an array for all my trades (SelectItem[nbTrades]) But that does not work, I have nbTrades selectedTrades that are all null. Sophie De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoyé: samedi 18 mars

Re: WebLogic precompilation

2006-03-18 Thread THIEN PHAM
Thank you so much, Adam. So I guess if I deploy my application as an EAR file, it's a hopeless situation then? --- Adam Brod [EMAIL PROTECTED] wrote: Hi Thien- Precompiling jsps is great, but you need to tell weblogic's runtime where to look for them. To do that, you need to

AW: multi-selection in selectOneListBox

2006-03-18 Thread Matthias Kahlau
Which datatype do you use for the SelectItem's values? -Matthias -Ursprüngliche Nachricht-Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]Im Auftrag von [EMAIL PROTECTED]Gesendet: Samstag, 18. März 2006 18:48An: 'MyFaces Discussion'Betreff: RE: multi-selection in

Re: Is ther a way? Life cycle for commandButton

2006-03-18 Thread Dave
The model update need to do things differently based on the flagbefore going toInvoke application phase. So the flag needs to be set before Model update phase. It would be nice if the phase when the action listeners are called is configurable, and much more useful. actionListener=" "

Re: CommandButton subclass

2006-03-18 Thread Mike Kienenberger
Yes, this should be possible. I can't remember if the code that determines the phase is in the component (Probably UICommand) or in the renderer. It may be as simple as providing an alternate renderer. On 3/18/06, Dave [EMAIL PROTECTED] wrote: For commandButton, its action listener and

Re: CommandButton subclass

2006-03-18 Thread Dave
UICommand.java has: public void queueEvent(FacesEvent event) { if (event != null event instanceof ActionEvent) { if (isImmediate()) { event.setPhaseId(PhaseId.APPLY_REQUEST_VALUES); } else { event.setPhaseId(PhaseId.INVOKE_APPLICATION); } } super.queueEvent(event); } HtmlCommandButton is a

jsessionid added to resources in myfaces SVN current?

2006-03-18 Thread Andrew Robinson
I have been using the following code to get the right URL for an image that is being produced by my servlet: src = viewHandler.getResourceURL(facesContext, url); enc = (src == null) ? null : extCtx.encodeResourceURL(src); return enc; In past versions of myfaces this was working fine:

Re: jsessionid added to resources in myfaces SVN current?

2006-03-18 Thread Andrew Robinson
Did some more digging around and it seems more like a JSF specification bug then a myfaces bug. It says to use the ServletResponse's encodeURL. The problem is that this is inappropriate for JSF resources like images. At least the servlet should not see the ;JSESSIONID= as it is not a valid URI

Re: jsessionid added to resources in myfaces SVN current?

2006-03-18 Thread Mike Kienenberger
I recall having to fix this problem of an appended jsessionid for Tomahawk AddResource. I believe the working code we settled on was this: String pathInfo = request.getPathInfo(); String uri = request.getContextPath() + request.getServletPath() + (pathInfo == null

where are the logs, how to enable?

2006-03-18 Thread Dean Hiller
I searched the mail list and I am sure the answer is already there, so if anyone can just point me to the link of how logs are enabled and where they get put, I would appreciate it. I am using tomcat, and am hoping the logs just go to the normal tomcat files as usual. thanks, dean

Re: DEFAULT_SUFFIX question again

2006-03-18 Thread Laurie Harper
[EMAIL PROTECTED] wrote: so it turns out I can't use *.jsf as the file extension if I am already using for the filter stuff to go to Faces Servlet. What is bizarre though is when I start using *.faces as my filter and *.jsf as my file extension, MyFaces sends back jsp:root and stuff to the

tree and command link together

2006-03-18 Thread Dean Hiller
I have the below tree which works and renders. the first commandLink works. The second one does not. I am a complete newb to JSF(don't know struts either). I am wondering why when I use my popup menu I get an exception while I can use the first commandLink just fine and it works. I also

RE: multi-selection in selectOneListBox

2006-03-18 Thread sjarlier
antivirus system. http://www.eset.com __ NOD32 1.1449 (20060317) Information __ This message was checked by NOD32 antivirus system. http://www.eset.com __ NOD32 1.1450 (20060318) Information __ This message was checked by NOD32 antivirus system. http