Re: Tomahawk Partial rerender datatable column

2012-10-26 Thread daniel ccss
sense. Michael Am 26.10.2012 04:23, schrieb daniel ccss: Anybody On Thu, Oct 25, 2012 at 8:54 AM, daniel ccss danielcc...@gmail.com wrote: Hi, hope you can help me, Is there a way of update only one column of the datatable using a4j, not updating all the datatable. Im Using myfaces

Re: Tomahawk Partial rerender datatable column

2012-10-26 Thread daniel ccss
the t:outputText inside a a4j:region could work. regards, Leonardo Uribe 2012/10/26 daniel ccss danielcc...@gmail.com: Thanks Michael, I want to update the outputtext value that is in the same row of the selectBooleanCheckbox inside a datatable, yes in RichFaces is easy to do this, partial

Re: Tomahawk Partial rerender datatable column

2012-10-26 Thread daniel ccss
, it should simply be a4j:support event=onchange reRender=textVehicleName/ If that doesn't work, it probably can't be done with a4j and JSF 1.2. I'm fairly certain I did something similar back when I was using the Richfaces 3.3 a4j and JSF 1.2. On Fri, Oct 26, 2012 at 12:20 PM, daniel ccss

Re: Tomahawk Partial rerender datatable column

2012-10-26 Thread daniel ccss
Thanks Howard, and everyone But the point is that I used *JSF 1.2 with tomahawk*, not prime with JSF 2.0, is an old app that I have to update for fix a problem with the updating fields of that datatable, and right now I do not have time to migrate, in the future I will, but I have to resolve

Re: Tomahawk Partial rerender datatable column

2012-10-25 Thread daniel ccss
Anybody On Thu, Oct 25, 2012 at 8:54 AM, daniel ccss danielcc...@gmail.com wrote: Hi, hope you can help me, Is there a way of update only one column of the datatable using a4j, not updating all the datatable. Im Using myfaces (Tomahawk) This is what I have, a h:selectBooleanCheckbox

Re: a4j:support and a4j:actionparam

2011-03-10 Thread daniel ccss
Anyone? On Wed, Mar 9, 2011 at 5:06 PM, daniel ccss danielcc...@gmail.com wrote: Thanks Myke but I'm using myfaces tomahawk, not richfaces. I also tried a more simple code: In the JSP: h:commandButton value=seleccionar actionListener

Re: a4j:support and a4j:actionparam

2011-03-10 Thread daniel ccss
AM, Mike Kienenberger mkien...@gmail.comwrote: I doubt it matters whether you are using tomahawk or richfaces or something else. Have you tried f:setPropertyActionListener target=#{VDBean.foo} value=true / yet? On Thu, Mar 10, 2011 at 8:05 AM, daniel ccss danielcc...@gmail.com wrote

Re: a4j:support and a4j:actionparam

2011-03-10 Thread daniel ccss
to xmlns:f=http://java.sun.com/jsf/core; at the top of your template file. I don't remember the exact syntax for that under jsp -- I use facelets for everything. However, I would think you would get the same error for f:param and f:attribute. On Thu, Mar 10, 2011 at 12:17 PM, daniel ccss

a4j:support and a4j:actionparam

2011-03-09 Thread daniel ccss
Hi, i have this code: *a4j:region* *h:selectBooleanCheckbox*value=#{subtipo.seleccionado} id=checks disabled=#{VDBean.modoEdicion == false} onchange=call some javascript code

Re: a4j:support and a4j:actionparam

2011-03-09 Thread daniel ccss
Thanks Myke but I'm using myfaces tomahawk, not richfaces. I also tried a more simple code: In the JSP: h:commandButton value=seleccionar actionListener=#{VisitaDomiciliarBean.seleccionar} id=seleccionarLink style=display:none *f:param

MyFaces Irian-DoModal example

2010-06-17 Thread daniel ccss
Hi all, In this page http://example.irian.at/example-sandbox-2010061704/home.jsf I found this example: http://example.irian.at/example-sandbox-2010061704/dojo/dojoDialog.jsf I need to open a modal window in which I can edit some values of the window1 and when I press submit in window2 need to

Re: MyFaces Irian-DoModal example

2010-06-17 Thread daniel ccss
. Regards, Jakob 2010/6/17 daniel ccss danielcc...@gmail.com Hi all, In this page http://example.irian.at/example-sandbox-2010061704/home.jsf I found this example: http://example.irian.at/example-sandbox-2010061704/dojo/dojoDialog.jsf I need to open a modal window in which I can

Re: Tomahawk | Generate a JSP from Backing Bean

2010-02-24 Thread daniel ccss
the component to be rendered! So something like this should work: c:if test=#{bean.componenttype == 1} h:outputText value=#{bean.value} / /c:if Regards, Jakob 2010/2/23, daniel ccss danielcc...@gmail.com: Thanks, 1.2 why?? On Tue, Feb 23, 2010 at 9:58 AM, Jakob Korherr

Tomahawk | Generate a JSP from Backing Bean

2010-02-23 Thread daniel ccss
Hi all, I have a question: Does anyone have an example of how to paint a JSP from a Backing Bean ( I´m using myfaces tomahawk.)? I have a table in the db that indicades what types of fields the JSP will have. For example 1 = t:inputText 1= t:inputText 2= h:selectOneMenu 3= t:commandLink I

Re: Tomahawk | Generate a JSP from Backing Bean

2010-02-23 Thread daniel ccss
Thanks, 1.2 why?? On Tue, Feb 23, 2010 at 9:58 AM, Jakob Korherr jakob.korh...@gmail.comwrote: hi, what jsf version are you using? 1.1, 1.2 or 2.0? Regards, Jakob 2010/2/23, daniel ccss danielcc...@gmail.com: Hi all, I have a question: Does anyone have an example of how to paint

Is tomahaw j2ee compliant?

2009-06-15 Thread daniel ccss
Hi, I need to know if My Faces Tomahawk is J2EE compliant. Thanks

Re: Is tomahaw j2ee compliant?

2009-06-15 Thread daniel ccss
Anybody?? Thanks On Mon, Jun 15, 2009 at 2:01 PM, daniel ccss danielcc...@gmail.com wrote: Hi, I need to know if My Faces Tomahawk is J2EE compliant. Thanks

JSF's Warnings and INFO messages in my LOG

2009-03-24 Thread daniel ccss
Hi all, I need to disable the JSF´s warning and info messages in my log, how can I do that?? i´m using JSF: myfaces, tomahawk Thanks

Re: JSF's Warnings and INFO messages in my LOG

2009-03-24 Thread daniel ccss
, Mar 24, 2009 at 1:59 PM, daniel ccss danielcc...@gmail.com wrote: Hi all, I need to disable the JSF´s warning and info messages in my log, how can I do that?? i´m using JSF: myfaces, tomahawk Thanks

Ajax + Inmediate=true Problem

2008-03-13 Thread daniel ccss
Hi all, I´m using JSF Tomahawk and ajax, but something happens. I have a t:inputText that is where the user enters the ID of a person and next to that input I have a t:commanLink for search the info of the person after the id is typed. Also in that same form, i have some h:selectOneMenu controls

Re: Ajax + Inmediate=true Problem

2008-03-13 Thread daniel ccss
to have access to that data from your commandLink's action. On 3/13/08, daniel ccss [EMAIL PROTECTED] wrote: Hi all, I´m using JSF Tomahawk and ajax, but something happens. I have a t:inputText that is where the user enters the ID of a person and next to that input I have

Re: Ajax + Inmediate=true Problem

2008-03-13 Thread daniel ccss
My question is the same that this person did here: http://www.nabble.com/action-only-called-when-immediate%3Dtrue-td7778196.html The only differences is that my h:selectOneMenu are not required. Thanks On Thu, Mar 13, 2008 at 12:58 PM, daniel ccss [EMAIL PROTECTED] wrote: Thanks, I did

Re: Ajax + Inmediate=true Problem

2008-03-13 Thread daniel ccss
I attach a graphical image of what is happening attachment: image002.jpg

PDF+JSF question

2008-03-05 Thread daniel ccss
Anybody??

Re: PDF+JSF question

2008-03-05 Thread daniel ccss
); } } Regards Mirko *Von:* daniel ccss [mailto:[EMAIL PROTECTED] *Gesendet:* Dienstag, 4. März 2008 20:20 *An:* users@myfaces.apache.org *Betreff:* Re: PDF+JSF question Anybody?? On Tue, Mar 4, 2008 at 11:05 AM, daniel ccss [EMAIL PROTECTED] wrote: In Struts I do this for join 2

Re: PDF+JSF question

2008-03-05 Thread daniel ccss
the answer just don´t reply. Thanks On Wed, Mar 5, 2008 at 9:23 AM, Matthias Wessendorf [EMAIL PROTECTED] wrote: Hello, On Wed, Mar 5, 2008 at 2:56 PM, daniel ccss [EMAIL PROTECTED] wrote: Anybody?? sending emails every 10 hours doesn't encourage folks to answer. The topic PDF and JSF

PDF+JSF question

2008-03-04 Thread daniel ccss
In Struts I do this for join 2 jasperreport pdfs: PdfReader reader1 = new PdfReader(bytes); PdfReader reader2 = new PdfReader(bytes2); PdfCopyFields copy = new PdfCopyFields(new FileOutputStream( context.getRealPath(/reportes/Calificación de Derechos por Beneficio Familiar - Resolución Nº +

Re: PDF+JSF question

2008-03-04 Thread daniel ccss
Anybody?? On Tue, Mar 4, 2008 at 11:05 AM, daniel ccss [EMAIL PROTECTED] wrote: In Struts I do this for join 2 jasperreport pdfs: PdfReader reader1 = new PdfReader(bytes); PdfReader reader2 = new PdfReader(bytes2); PdfCopyFields copy = new PdfCopyFields(new FileOutputStream

Re: JSF + JasperReports Problem

2008-01-18 Thread daniel ccss
Anybody? On Jan 18, 2008 7:59 AM, daniel ccss [EMAIL PROTECTED] wrote: Hi all, I have another question In Struts I do this for join 2 jasperreport pdfs: PdfReader reader1 = new PdfReader(bytes); PdfReader reader2 = new PdfReader(bytes2); PdfCopyFields copy = new PdfCopyFields(new

Re: JSF + JasperReports Problem

2008-01-18 Thread daniel ccss
There is a PdfCopyFields class for JSF, in which jar. On Jan 18, 2008 11:20 AM, Robert Stokes [EMAIL PROTECTED] wrote: Have you tried passing the OutputStream from the response to the PdfCopyFields instead of a FileOutputStream? Rob Stokes daniel ccss [EMAIL PROTECTED] wrote on 01/18/2008

Re: Call a backing bean before show a JSP

2008-01-08 Thread daniel ccss
the functionality without adding a full framework On Jan 7, 2008 2:37 PM, daniel ccss [EMAIL PROTECTED] wrote: Thanks Andrew, but i stop reading when saw this: Note: If you are using JBoss Seam you cannot use it due to Seam configuration conflicts. Actually our project runs in OAS

Re: Call a backing bean before show a JSP

2008-01-08 Thread daniel ccss
-property property-nameparam/property-name value#{param['whatever']}/value /managed-property managed-bean Cheers Sven -- *Von:* daniel ccss [mailto:[EMAIL PROTECTED] *Gesendet:* Montag, 7. Januar 2008 22:30 *An:* MyFaces Discussion *Betreff:* Re

Re: Call a backing bean before show a JSP

2008-01-08 Thread daniel ccss
faces 1.1.5 and commons-logging-1.1, that is the problem? That´s why nothing happens? What I'm missing? I run the Login.jsp but the method limpiarFormulario was not called On Jan 8, 2008 3:24 PM, daniel ccss [EMAIL PROTECTED] wrote: Ok Andrew I will try it and tell you, thanks On Jan 7, 2008 3:47

Re: Call a backing bean before show a JSP

2008-01-08 Thread daniel ccss
humm :( the problem is that my bean`s scope is session and not request, so Ì`m can´t use the managed-property :( Any other solution? Andrew what´s wrong with my jsf-comp implementation? Need help with this plz. On Jan 8, 2008 7:49 PM, daniel ccss [EMAIL PROTECTED] wrote: Sven this looks pretty

Re: Call a backing bean before show a JSP

2008-01-08 Thread daniel ccss
, 2008 11:45 AM, daniel ccss [EMAIL PROTECTED] wrote: What Im missing, this is what I do: 1- In the web.xml: context-param param-nameonload-config/param-name param-value/WEB-INF/onload-config.xml/param-value /context-param 2- In the faces-config.xml

Re: Call a backing bean before show a JSP

2008-01-08 Thread daniel ccss
All works great know thanks Andrew On Jan 8, 2008 10:42 PM, daniel ccss [EMAIL PROTECTED] wrote: Andrew this new jar depends of the class: SAXReader?? I recived this error: * Falta la clase: org.dom4j.io.SAXReader* ** * Clase Dependiente

Call a backing bean before show a JSP

2008-01-07 Thread daniel ccss
Hi all, In struts: I can call a JSP page like http:///JSP/Example.jsp and I also can call an action that do something and then do the forward to the Example.jsp like this: http:// .../Example*.do * In JSF: I can call a JSP page like http://...faces/JSP/Example.jsp *but *there is a way to call

Re: Call a backing bean before show a JSP

2008-01-07 Thread daniel ccss
Thanks for the answers, I used a phaselistener but is for all the application, like the one in the example of the login: phase-listenercom.loffler.copycenter.controller.LoggedInCheck /phase-listener but this type of listener is call for every Bean and my case is different. Let me explain better

Re: Call a backing bean before show a JSP

2008-01-07 Thread daniel ccss
Thanks, not in ths proyect we don´t use spring On Jan 7, 2008 2:58 PM, John Carlson [EMAIL PROTECTED] wrote: See: org.springframework.web.jsf.DelegatingVariableResolver John At 12:53 PM 1/7/2008, John Carlson wrote: Can you do it in Spring? John At 12:24 PM 1/7/2008, you wrote:

Re: Call a backing bean before show a JSP

2008-01-07 Thread daniel ccss
the index.jsp of the App*2*, In this case I only need the listener for do things when the App1 calls App2, something like in the onload of the App2. Can I use a listener when a specific JSP is show? Can I call directly the backing bean? thanks again On Jan 7, 2008 3:26 PM, daniel ccss [EMAIL PROTECTED

Re: Call a backing bean before show a JSP

2008-01-07 Thread daniel ccss
PROTECTED] wrote: See my response. The simplest component is the jsf-comp one that I wrote: http://jsf-comp.sourceforge.net/components/onload/index.html On Jan 7, 2008 2:26 PM, daniel ccss [EMAIL PROTECTED] wrote: Thanks for the answers, I used a phaselistener but is for all

JSF + JasperReports Problem

2008-01-02 Thread daniel ccss
Hi all, I`m using JSF and JasperReports All works fine, i mean no error is launch, but when the pdf was generated and I opened it with Adobe I couldn`t open it. Then I opened it with textpad and I saw that the pdf have the code of the jsp *This is my code *(cuposAsignados is the

Re: JSF + JasperReports Problem

2008-01-02 Thread daniel ccss
(JRPdfExporterParameter.OUTPUT_STREAM, outputStream); exporterPdf.exportReport(); connection.close(); context.responseComplete(); } Hope this helps Rob daniel ccss [EMAIL PROTECTED] wrote on 01/02/2008 01:31:21 PM: Hi all, I`m using JSF and JasperReports All works

Re: Simple Question (Action Call from BackingBean init method)

2007-12-06 Thread daniel ccss
, gerhard 2007/12/5, daniel ccss [EMAIL PROTECTED]: I found two others links that can help to my question http://www.gorerle.com/vlab-wiki/index.php?title=JSF http://www.jsftutorials.net/jsfNavigation/jsf-login-navigation-redirect.html But I don´t think that they were clear, even

Re: Simple Question (Action Call from BackingBean init method)

2007-12-05 Thread daniel ccss
executed. regards, gerhard 2007/11/23, daniel ccss [EMAIL PROTECTED]: I have a simple question I have been working with myfaces-tomahawk for 6 months, great, but I have a question, how to call an 'action' from the backing bean, until today I have called

Re: Simple Question (Action Call from BackingBean init method)

2007-12-05 Thread daniel ccss
11:10 AM, daniel ccss [EMAIL PROTECTED] wrote: Thanks Both of you, i was out for a while. Ok I think this is a common question, and not a simple question as I wrote in my subject, something similar was talked in this thread: http://forum.java.sun.com/thread.jspa?threadID=690288messageID

Re: Calendar Tomahawk Submit Problem

2007-11-23 Thread daniel ccss
Nobody have this problem? Its son strange I click in any place of the jsp page and the set method of the calendar is call :( On Nov 16, 2007 10:07 AM, daniel ccss [EMAIL PROTECTED] wrote: Anybody??? On 11/15/07, daniel ccss [EMAIL PROTECTED] wrote: Hi all, I'm using the tomahawk

Re: Simple Question (Action Call from BackingBean init method)

2007-11-23 Thread daniel ccss
Anybody? On Nov 23, 2007 9:43 AM, daniel ccss [EMAIL PROTECTED] wrote: I have a simple question I have been working with myfaces-tomahawk for 6 months, great, but I have a question, how to call an 'action' from the backing bean, until today I have called all my action methods from the JSP

Simple Question (Action Call from BackingBean init method)

2007-11-23 Thread daniel ccss
I have a simple question I have been working with myfaces-tomahawk for 6 months, great, but I have a question, how to call an 'action' from the backing bean, until today I have called all my action methods from the JSP page, on the onClick, onChange, etc events, but now I need to call an action

Re: DataTable + Check Buttons

2007-11-22 Thread daniel ccss
Exactly Simon I applied the Select multiple rows to solved the issue :-) Regards On Nov 21, 2007 4:36 PM, simon [EMAIL PROTECTED] wrote: On Wed, 2007-11-21 at 15:16 -0600, daniel ccss wrote: The solution is here: http://balusc.blogspot.com/2006/06/using-datatables.html Ecch - component

Re: DataTable + Check Buttons

2007-11-22 Thread daniel ccss
selection (and a lot of other features): you will find a selection-demo at: http://www.irian.at/trinidad-demo/faces/components/table_selection.jspx (on top of the page you can switch between single and multiple selection.) regards, gerhard 2007/11/21, daniel ccss [EMAIL PROTECTED

DataTable + Check Buttons

2007-11-21 Thread daniel ccss
Hi all, Is there a control in my faces like the DataTable, where I can select multiples rows using somtehing like check buttons, can you give me an example code or a link where it is explain, thanks.

Re: DataTable + Check Buttons

2007-11-21 Thread daniel ccss
By the way I´m using tomahawk, thanks again On Nov 21, 2007 11:27 AM, daniel ccss [EMAIL PROTECTED] wrote: Hi all, Is there a control in my faces like the DataTable, where I can select multiples rows using somtehing like check buttons, can you give me an example code or a link where

Re: DataTable + Check Buttons

2007-11-21 Thread daniel ccss
The solution is here: http://balusc.blogspot.com/2006/06/using-datatables.html

Re: Calendar Tomahawk Submit Problem

2007-11-16 Thread daniel ccss
Anybody??? On 11/15/07, daniel ccss [EMAIL PROTECTED] wrote: Hi all, I'm using the tomahawk calendar, all works fine :) but i have a problem, no matter where do I click on the JSP the set method is call. I only want that when I click on a day of the calendar, how can I fix

Calendar Tomahawk Submit Problem

2007-11-15 Thread daniel ccss
Hi all, I'm using the tomahawk calendar, all works fine :) but i have a problem, no matter where do I click on the JSP the set method is call. I only want that when I click on a day of the calendar, how can I fix that? Thanks all

Get Session Attributes Names

2007-11-05 Thread daniel ccss
Hi all, In Struts I get the list of session attributes names like this: HttpSession session = request.getSession(); Enumeration enumeration = session.getAttributeNames(); How I can get the the session attributes names in JSF??? Actually I get the session like this: Map

Re: Get Session Attributes Names

2007-11-05 Thread daniel ccss
the keys (attributeNames) from the Map: Map sessionMap = facesContext.getExternalContext().getSessionMap(); Iterator attributeNames = sessionMap.keySet().iterator(); Regards, Volker 2007/11/5, daniel ccss [EMAIL PROTECTED]: Hi all, In Struts I get the list of session

Call Backing Bean Method in onload event

2007-11-05 Thread daniel ccss
Hi all, I need to call a method on my backing bean (is in session scope) when a jsp is showing. Why? Because I some cases I need to erase some elements in session before showing the jsp. So in the onload of the JSPs I need to call the method on my backing bean that erase the elements in session.

Re: Call Backing Bean Method in onload event

2007-11-05 Thread daniel ccss
(){ document.getElementById('formName:buttonId').click(); } body on~load=test(); h:commandButton action=#{backingBean.methodName} id=buttonId style=display: none/ /body Any other idea?? On 11/5/07, daniel ccss [EMAIL PROTECTED] wrote: Hi all, I need to call a method on my backing bean (is in session scope) when

Re: Errors and Messages

2007-09-28 Thread daniel ccss
Anyone?? On 9/26/07, daniel ccss [EMAIL PROTECTED] wrote: Thanks, but how can I have two h:messages one for errors and one for messages?? On 9/26/07, Kito D. Mann [EMAIL PROTECTED] wrote: *From:* daniel ccss [mailto:[EMAIL PROTECTED] *Sent:* Wednesday, September 26, 2007 10:26 AM

Tomahawk Input Disabled

2007-09-28 Thread daniel ccss
Hi all, I have one question, how I can I dynamically stablish the disable or readonly value of a tomahawk input with a bean variable that is true or false?? for example: in the bean: isDisabled = true in the jsp t:input readonly = isDisabled Thanks

Errors and Messages

2007-09-26 Thread daniel ccss
Hi all, I need to use a different style for showing messages and errors. For my messages I use this in my bean FacesContext.getCurrentInstance().addMessage(null, new FacesMessage(message)); And this in the JSP h:messages styleClass=messages/ How can display errors in this way using a different

Re: Errors and Messages

2007-09-26 Thread daniel ccss
Thanks, but how can I have two h:messages one for errors and one for messages?? On 9/26/07, Kito D. Mann [EMAIL PROTECTED] wrote: *From:* daniel ccss [mailto:[EMAIL PROTECTED] *Sent:* Wednesday, September 26, 2007 10:26 AM *To:* MyFaces Discussion *Subject:* Errors and Messages Hi all

Customize Calendar

2007-09-25 Thread daniel ccss
Hi all I need a Customize Calendar, where I can disable some days, for example disable saturdays and sundays, it can be in JSF or javascript. Thanks

If in myFaces/Tomahwak

2007-09-05 Thread daniel ccss
Hi all, I have one question, how can I do an IF in a JSP wit myFaces/Tomahawk? In struts I used logic:equal or logic:notEqual, which is the tag in myFaces/Tomahawk to do that, I don´t want to use this: % if(...)... {% % else(...)... {% thanks!!!

Re: If in myFaces/Tomahwak

2007-09-05 Thread daniel ccss
Can you give some example code, another way? On 9/5/07, Mike Kienenberger [EMAIL PROTECTED] wrote: Generally, you do this with the rendered attribute of the component. If you want to group a bunch of components, use a panelGroup rendered. On 9/5/07, daniel ccss [EMAIL PROTECTED] wrote

Re: If in myFaces/Tomahwak

2007-09-05 Thread daniel ccss
/ componentToRenderWhenTrue/ componentToRenderWhenTrue/ /panelGroup panelGroup rendered=#{not bean.shouldRenderThese} componentToRenderWhenFalse/ componentToRenderWhenFalse/ componentToRenderWhenFalse/ /panelGroup On 9/5/07, daniel ccss [EMAIL PROTECTED] wrote: Can you

SelectOneMenu text

2007-08-31 Thread daniel ccss
Hi all, How I can get the selected text, not the code, of a h:selectOneMenu component? thanks

Re: SelectOneMenu text

2007-08-31 Thread daniel ccss
specific? If I understand well though, you could either change the value property of your SelectItem object, or loop through the SelectItem list until you find the one with the selected value to extract the description. Regards, ~ Simon On 8/31/07, daniel ccss [EMAIL PROTECTED] wrote: Hi all

Re: SelectOneMenu text

2007-08-31 Thread daniel ccss
returned SelectItem objects. Regards, ~ Simon On 8/31/07, daniel ccss [EMAIL PROTECTED] wrote: Hi, sorry, yes the correct question is how to: loop through the SelectItem list until find the one with the selected value to extract the description Thanks On 8/31/07, Simon

Re: SelectOneMenu text

2007-08-31 Thread daniel ccss
) { if (selectedValue.equals(item.getValue())) { return item.getLabel(); } } return null; // or throw an exception } } That being said, I'm very curious about the use case requiring that. Regards, ~ Simon On 8/31/07, daniel ccss [EMAIL PROTECTED] wrote: Sorry but what do

Re: Get the value of a ReadOnly

2007-08-31 Thread daniel ccss
some code-snippets. regards, Martin On 8/15/07, daniel ccss [EMAIL PROTECTED] wrote: Hi Martin I don´t need to change the value with javascript what I need is to get the value of a readOnly h:inputText, in struts I can do that, why in JSF no? On 8/15/07, Martin Marinschek

Re: 2 problems (JSF+Tomahawk)

2007-08-18 Thread daniel ccss
What I did for fix the problem was change the readonly Select for a readonly input and now all works great, but is a bug no doubt about it :P On 8/17/07, daniel ccss [EMAIL PROTECTED] wrote: 1- I the component is readonyl, it will never update the backing bean's value. That mean the value

Re: 2 problems (JSF+Tomahawk)

2007-08-17 Thread daniel ccss
) so I made the validation of this not required values on the backing_bean On 8/17/07, David Delbecq [EMAIL PROTECTED] wrote: En l'instant précis du 16/08/07 22:48, daniel ccss s'exprimait en ces termes: Hi all, I think I have found 2 problems (JSF+Tomahawk) 1- If the property readonly

Re: Readonly + Validator

2007-08-16 Thread daniel ccss
DESATRES NATURALES/option option value=62BE/option/select On 8/16/07, Volker Weber [EMAIL PROTECTED] wrote: Hi, is the value of getTipFeriado() truely 21 BEFORE rendering the page? Which scope is the bean? Regards, Volker 2007/8/15, daniel ccss [EMAIL PROTECTED]: On a readonly

Re: Apply Validator to n controls

2007-08-16 Thread daniel ccss
or action instead of a validator 3) Use binding with your controls and implement value change listeners on each (this one would be harder I think) -Andrew On 8/15/07, daniel ccss [EMAIL PROTECTED] wrote: Hi all, I use custom validator for validate my controls, but I have a question, I

Re: Readonly + Validator

2007-08-16 Thread daniel ccss
= Integer.parseInt(parametro.getValue().toString()); } On 8/16/07, Volker Weber [EMAIL PROTECTED] wrote: Which value has getTipFeriado() BEFORE rendering the html to the Browser? Why did you expect this is changed to the value displayed in the Browser? 2007/8/16, daniel ccss [EMAIL PROTECTED

Re: Readonly + Validator

2007-08-16 Thread daniel ccss
? Regards, Volker 2007/8/16, daniel ccss [EMAIL PROTECTED]: The value before is 21, the only problem is that when I put it readonly I can´t access his value and recived a 0. I have a datatable and in each row i of the datatable I have a commandLink to edit, when I click

2 problems (JSF+Tomahawk)

2007-08-16 Thread daniel ccss
Hi all, I think I have found 2 problems (JSF+Tomahawk) 1- If the property readonly of a h:selectOneMenu is set to true, and in the backing_bean when i try to get the value of the selectOneMenu item I always get a 0, if i set readonly to false, I get the correct value of the h:selectOneMenu 2-If

Readonly + Validator

2007-08-15 Thread daniel ccss
Hi all, I have 2 questions: *Question1:* In my JSP I have: td class=td-contenido colspan=2 h:selectOneMenu value=#{ DiaFeriadoBean.tipFeriado } readonly=true f:selectItems value=#{

Re: Get the value of a ReadOnly

2007-08-15 Thread daniel ccss
shouldn't set readonly/disabled to true. With readonly or disabled set to true, your component value will never be decoded on the server. regards, Martin On 8/14/07, daniel ccss [EMAIL PROTECTED] wrote: Hi all: In my JSP I have: td class=td-contenido

Re: Readonly + Validator

2007-08-15 Thread daniel ccss
Thanks!!! 1- When the select have the attribute of readonly in true when i use getTipFeriado() I get a 0 value, when i put it in false I get 21 (the correct value), this is the select: h:selectOneMenu value=#{ DiaFeriadoBean.tipFeriado}

Re: Readonly + Validator

2007-08-15 Thread daniel ccss
. for the second question try: ((EditableValueHolder)uiComponent).setSubmittedValue( uiComponent.getSubmittedValue().toUpperCase()) in your validate method. Regards, Volker 2007/8/15, daniel ccss [EMAIL PROTECTED]: Hi all, I have 2 questions: Question1

Re: Readonly + Validator

2007-08-15 Thread daniel ccss
*On a readonly component the model value will not change! * I know, I try to explain my point better with an image, as you can see when I load the edit form the select have a value selected readOnly, the code of the value selected is 21. Ok then I modify some others value and click on the

Re: Readonly + Validator

2007-08-15 Thread daniel ccss
Thanks for the Converter tip, i succesfully implemented it =) On 8/15/07, daniel ccss [EMAIL PROTECTED] wrote: *On a readonly component the model value will not change! * I know, I try to explain my point better with an image, as you can see when I load the edit form the select have a value

Get the value of a ReadOnly

2007-08-13 Thread daniel ccss
Hi all: In my JSP I have: td class=td-contenido colspan=2 h:selectOneMenu value=#{ DiaFeriadoBean.tipFeriado} readonly=true f:selectItems value=#{ DiaFeriadoBean.tiposFeriadosSelect} /

Re: HTML embedded on a f:view

2007-08-13 Thread daniel ccss
[EMAIL PROTECTED] wrote: On Thu, 2007-08-09 at 13:23 -0600, daniel ccss wrote: I use a an html code to call a javascript that shows a calendar: a href=# onclick=showCalendar('fecha'); img class=PopcalTrigger align

Link is not embedded in a form

2007-08-09 Thread daniel ccss
What is this: Link is not embedded in a form. Change component/tag 'Guardar' from javax.faces.*/h:tagName / to org.apache.myfaces.*/t:tagName /, or embed it in a form. This is not a bug. Please see: http://wiki.apache.org/myfaces/Upgrading_to_Tomahawk_1.1.3 The path to this component is

HTML embedded on a f:view

2007-08-09 Thread daniel ccss
I use a an html code to call a javascript that shows a calendar: a href=# onclick=showCalendar('fecha'); img class=PopcalTrigger align=absmiddle src=../../images/calbtn.gif width=16 height=16 border=0 alt= /a

Re: Link is not embedded in a form

2007-08-09 Thread daniel ccss
Anybody?? On 8/9/07, daniel ccss [EMAIL PROTECTED] wrote: What is this: Link is not embedded in a form. Change component/tag 'Guardar' from javax.faces.*/h:tagName / to org.apache.myfaces.*/t:tagName /, or embed it in a form. This is not a bug. Please see: http://wiki.apache.org/myfaces

Re: HTML embedded on a f:view

2007-08-09 Thread daniel ccss
Anybody?? On 8/9/07, daniel ccss [EMAIL PROTECTED] wrote: I use a an html code to call a javascript that shows a calendar: a href=# onclick=showCalendar('fecha'); img class=PopcalTrigger align=absmiddle src=../../images/calbtn.gif

Instantiate a backing bean from other

2007-07-26 Thread daniel ccss
Is there a way to use a BackingBean from another BackingBean o another class, the scope of the backing bean is session. For example I need to call the get method of a variable of a BackingBean on another Backing Bean It is possible or I´m to crazy?

Messages from a resources.properties file

2007-07-26 Thread daniel ccss
How can I do this: FacesContext.getCurrentInstance().addMessage(null, new FacesMessage(*Invalid User*)); But reading the message from a resources.properties?: login.invalid.user= Invalid User

Simple Question SelectOneMenu

2007-07-25 Thread daniel ccss
Hi all, I have a Simple question of SelectOneMenu In my bean I have an ArrayList with Patients, that is fill with an EJB method. Patient object have the patientId and the patientName Now how I can display it on a SelectOneMenu?? I searched and saw something like the following code, what I

Re: Simple Question SelectOneMenu

2007-07-25 Thread daniel ccss
, daniel ccss [EMAIL PROTECTED] wrote: Hi all, I have a Simple question of SelectOneMenu In my bean I have an ArrayList with Patients, that is fill with an EJB method. Patient object have the patientId and the patientName Now how I can display it on a SelectOneMenu?? I searched and saw something

Re: Simple Question SelectOneMenu

2007-07-25 Thread daniel ccss
my mistake, an error on the arraylist name Now i recived this: javax.faces.FacesException: javax.servlet.ServletException: Collection referenced by UISelectItems with binding ... does not contain Objects of type SelectItem My arryaList have Objects of type Patient, and not SelectItem, which

Re: Tomahawk+DataScroller+WorkingWithLargeTables

2007-07-18 Thread daniel ccss
Paul another thing, I made a binding variable of the dataTable and I erased the dropScroller method and instead i made dataTable.setFirst(0) on my bean and works great :) I only need to do that on the erase method :) On 7/17/07, daniel ccss [EMAIL PROTECTED] wrote: Hi all, sorry I don´t write

Re: Tomahawk+DataScroller+WorkingWithLargeTables

2007-07-17 Thread daniel ccss
hope some one of you update the wiki document in link: http://wiki.apache.org/myfaces/WorkingWithLargeTables thks for all. Paul Iov wrote: daniel ccss wrote: On 7/9/07, daniel ccss wrote: IT WORKS Congratulation ! daniel ccss wrote: I have to debug to see the correct id of the datatable

Re: Tomahawk+DataScroller+WorkingWithLargeTables

2007-07-12 Thread daniel ccss
Paul where are you? again :P On 7/11/07, daniel ccss [EMAIL PROTECTED] wrote: Hi Paul 1- I did the boolean _invalidate insted the properties file (excelent) :) 2- I made a change on your dropscroller method, i used component.getId() insted of component. getClientId(), in that way the data id

  1   2   >