Re: selectBooleanCheckbox not checked after valuechange, why?

2006-08-10 Thread Johnny Gonzalez
w Boolean(true)); for(String s: this.checkBoxSelected){System.out.println(this.checkBoxSelected.size());System.out.println(s); }}What do you think about it?thanks a lot,JohnnyGerald Müllan [EMAIL PROTECTED] escribió: Hi,have you set the value attribut

selectBooleanCheckbox not checked after valuechange, why?

2006-08-08 Thread Johnny Gonzalez
Hello everybody,I have built a tree with selectBooleanCheckbox, I wrote a valuechange event to store if every of the h:selectBooleanCheckbox, were selected, but after the method is executed the page is repainted and the h:selectBooleanCheckbox that I selected appears unchecked, why this strange

Need some guidance creating checkboxTree,..

2006-07-25 Thread Johnny Gonzalez
Hello everybody,Can someone give me some guidance or just point me to a tutorial or any document, that explains how to create a checkboxTree? I have sucessfully worked with a tree2, but I need to create a similar tree but with check boxes on each leaf.I would appreciate any help. Thanks a

Problems with tree2 in Windows,...

2006-07-18 Thread Johnny Gonzalez
Hello Everybody, I'm having two big problems using tree2 within windows, I have a page with 3 frames:Top-Frame: just a bannerlef-frame: tree2 tomahawk componentright-frame: is the destination for the action of the treeIn mozilla firefox, when I click in an option of the tree I get everything been

instanceof into a c:test to select datatable column value??

2006-06-29 Thread Johnny Gonzalez
Hello everybody, I have a big problem,.. I have a JSF data table which can have several types of objects, some have an attribute called name others don't, so I need to have a conditional that depending on the kind of object to show the name (if they have it) or to show a specific string for

RE: instanceof into a c:test to select datatable column value??

2006-06-29 Thread Johnny Gonzalez
and then use reflection to get // the prop method and value } } Nick -Original Message- From: Johnny Gonzalez [mailto:[EMAIL PROTECTED] Sent: Thursday, June 29, 2006 8:33 AM To: MyFaces Discussion Subject: instanceof into a c:test to select datatable column

RE: instanceof into a c:test to select datatable column value??

2006-06-29 Thread Johnny Gonzalez
will leave those solutions up to the MyFaces developers to answer :) Just figured I would share what I have done in the past. Nick -Original Message- From: Johnny Gonzalez [mailto:[EMAIL PROTECTED] Sent: Thursday, June 29, 2006 8:56 AM To: MyFaces Discussion Subject: RE

Master detail for selectOneMenu

2006-06-29 Thread Johnny Gonzalez
Hello everybody, I'd like to know if there's a component or how to achieve a master - detail behaviour for a selectOneMenu. The idea is that I'd like to have to selectOneMenu, and depending on what's selected on the first component the other selectOneMenu must be filled of values (the appropiate

Re: Problem updating value in InputText

2006-06-13 Thread Johnny Gonzalez
binding String in the bean has the right value? Thanks a lot, Johnny --- Johnny Gonzalez [EMAIL PROTECTED] escribió: Hello Bruno, Sure it all is wrapped by tags h:form /h:form When I select something in the selectOneMenu, the form gets refreshed. but there's no visual change in the value

Sending a file to ServletContext Response failure

2006-06-12 Thread Johnny Gonzalez
Hello everybody, I have to send a file to the response for the browser to show a save/open file dialog box to the user, so he/she can download it and save in in his/her local file system. As expected the file is stored in a specific directory in the file system of the server. What I did was to

Re: Sending a file to ServletContext Response failure

2006-06-12 Thread Johnny Gonzalez
Hello CD, Thanks a lot, that worked perfect :-D Johnny --- CD [EMAIL PROTECTED] escribió: Johnny, Try setting the header for the response: response.setHeader(Content-disposition, attachment; filename=+filename); Regards, CD On 6/12/06, Johnny Gonzalez [EMAIL PROTECTED] wrote

Problem updating value in InputText

2006-06-12 Thread Johnny Gonzalez
Hello everybody, I have a JSP wich has a selectOneMenu, with this code: h:selectOneMenu id=discountsLst value=#{myBean.discount} styleClass=atexto12 valueChangeListener=#{myBean.selectTypeDesc} onchange=submit();

Re: Sending a file to ServletContext Response failure

2006-06-12 Thread Johnny Gonzalez
, can you bring it to our wiki page ([1]). Would be great! Thx, Matthias [1] http://wiki.apache.org/myfaces On 6/12/06, Johnny Gonzalez [EMAIL PROTECTED] wrote: Hello CD, Thanks a lot, that worked perfect :-D Johnny --- CD [EMAIL PROTECTED] escribió: Johnny, Try

Re: Sending a file to ServletContext Response failure

2006-06-12 Thread Johnny Gonzalez
to JSF and MyFaces in Praxis: Specialized Trails and create a subtitle like sending files (like PDF) to the browser something like that. On 6/12/06, Johnny Gonzalez [EMAIL PROTECTED] wrote: Hello Matthias, I'd like to, but I have no idea where to put it on the wiki, Where do you

Re: Sending a file to ServletContext Response failure

2006-06-12 Thread Johnny Gonzalez
Thanks to you for the opportunity to colaborate :-) with the help of: CD --- Matthias Wessendorf [EMAIL PROTECTED] escribió: I saw the entry thanks! http://tinyurl.com/oae4a On 6/12/06, Johnny Gonzalez [EMAIL PROTECTED] wrote: Hello Matthias, I submitted the change to the wiki

Tree2 and frames problem within IE

2006-05-29 Thread Johnny Gonzalez
Hello Everybody, I have an application that has three frames, one top frame for banner, a left frame for tree2 based menu, and a right frame to open the page that brings up from the tree2 menu. Everything works fine in Mozilla Firefox, but when working in IE I have faced several problems. For

dataScroller scope problem

2006-03-03 Thread Johnny Gonzalez
Hello Everybody, I'm trying to add dataScroller funcionality to a page in which I have a list of elements (datatable), so I modified and added all stuff related to the dataScroller, like in the myfaces examples at Irian (http://www.irian.at/myfaces/dataScroller.jsf), to my JSP. The page with

Losing buttons in datascroller page

2006-03-01 Thread Johnny Gonzalez
Hello Everybody, I'm trying to add dataScroller funcionality to a page in which I have a list of elements, so I modified and added all stuff related to the dataScroller, like in the myfaces examples at Irian (http://www.irian.at/myfaces/dataScroller.jsf), to my JSP. The page with the list

Printing Section of a Page

2006-02-20 Thread Johnny Gonzalez
Hello everybody, I need to print, from my application, the problem is that I need to print only a form and not the entire Window, because it contains menu elements and other things that don't have to appear in the printing, so I cannot use onload=javascript:window.print(). How could I do that?

jscookmenu and session problem

2006-01-27 Thread Johnny Gonzalez
Hello everybody, I'm using a jscookmenu component in my JSPs, but I add it using session with this code: t:jscookMenu layout=hbr theme=ThemeOffice styleLocation=css/ t:navigationMenuItems

Re: jscookmenu and session problem

2006-01-27 Thread Johnny Gonzalez
Hello Dudu, Thanks for ansering. So, no idea about it? Has anyone else, ideas about this topic? Johnny --- Dudu [EMAIL PROTECTED] escribió: I use embebbed Oracle application server of JDeveloper, and this never occuried with me. On 1/27/06, Johnny Gonzalez [EMAIL PROTECTED] wrote

Setting default value for x:inputFileUpload

2006-01-19 Thread Johnny Gonzalez
Hello everybody, I have an application which has the possibility to upload a file, everything works fine, but I need to provide a default file, to show in the control once the page loads, how could I do that? I have this in my JSP: x:inputFileUpload id=fileToSelect

Re: Setting default value for x:inputFileUpload

2006-01-19 Thread Johnny Gonzalez
. Regards, Volker Johnny Gonzalez wrote: Hello everybody, I have an application which has the possibility to upload a file, everything works fine, but I need to provide a default file, to show in the control once the page loads, how could I do