Tomahawk+DataScroller+WorkingWithLargeTables

2007-07-02 Thread daniel ccss
Hi all, I'm new in this mailing list, and I new using My Faces, hope you can help me. Things to know: i'm using JDeveloper 10.1.3.1, last My Faces, last Tomahawk implementation version I made the following things: 1-The datascroller example (http://www.irian.at/myfaces/dataScroller.jsf) and all

Re: Tomahawk+DataScroller+WorkingWithLargeTables

2007-07-03 Thread daniel ccss
Hi Mike, thank you for your answer, you are the fist that suggest something, I read the info of the getter called few times, but I have the same problem that the person that asked, because I can´t use the lazy list, I need to go to the database to bring each page of the dataScroller, I don´t want

Re: Tomahawk+DataScroller+WorkingWithLargeTables

2007-07-03 Thread daniel ccss
Anybody?? On 7/3/07, daniel ccss [EMAIL PROTECTED] wrote: Hi Mike, thank you for your answer, you are the fist that suggest something, I read the info of the getter called few times, but I have the same problem that the person that asked, because I can´t use the lazy list, I need to go

Re: Tomahawk+DataScroller+WorkingWithLargeTables

2007-07-03 Thread daniel ccss
Ok let's see, the backing bean is in request: managed-bean descriptionPacientes /description managed-bean-namePacienteBean/managed-bean-name managed-bean-classcontroller.pacientes.PacienteBean/managed-bean-class managed-bean-scoperequest/managed-bean-scope /managed-bean How can I use the cache

Re: Tomahawk+DataScroller+WorkingWithLargeTables

2007-07-03 Thread daniel ccss
is call several times for each DataPage.** On 7/3/07, daniel ccss [EMAIL PROTECTED] wrote: Ok let's see, the backing bean is in request: managed-bean descriptionPacientes /description managed-bean-namePacienteBean/managed-bean-name managed-bean-classcontroller.pacientes.PacienteBean /managed

Re: Tomahawk+DataScroller+WorkingWithLargeTables

2007-07-03 Thread daniel ccss
immediate=true/ /h:form/body /html /f:view On 7/3/07, daniel ccss [EMAIL PROTECTED] wrote: I really need help with this, nobody has implemented succesfuly the datascroller + WorkingWithLargeTables article? How do you people implement the pagination with a Tomahawk dataScroller

Tomahawk or Trinidad

2007-07-05 Thread daniel ccss
What are their differences, which you think is the better?

Re: Tomahawk+DataScroller+WorkingWithLargeTables

2007-07-05 Thread daniel ccss
Thanks!!! I'm going to study your code, thanks, Paul I noticed something very very strange Well the method getDataModel and then the method fetchPage are called several times, but they are even called when I click in a link or a button to go to another JSF page, why this happen? The way to

Re: Tomahawk+DataScroller+WorkingWithLargeTables

2007-07-05 Thread daniel ccss
Ok I gonna do that!! Thank´s God I´m not alone in this, I think I was the only person that can´t implement all this right. Ok Vlad I´m gonna implement what Paul send. Paul explained that the DataModel was called two times because of the DataTable and the Scroller maybe is that what is happening

Re: Tomahawk+DataScroller+WorkingWithLargeTables

2007-07-05 Thread daniel ccss
All works fine now, only one call!!! THANK YOU PAUL THANK YOU VLAD!!! New Question :P My DataTable has a delete and edit links and the JSF also has an add button (see image), but since the bean is in session when I delete, add or edit a Patient the data no is refresh until I click a number link

Re: Tomahawk+DataScroller+WorkingWithLargeTables

2007-07-05 Thread daniel ccss
I think is for the filter: if ((_lastPage == null) || (_lastStartRow != startRow) || (_lastPageSize != pageSize)){ _log.debug(**Fetch: required - fetching...); obligar = false; _lastPage = fetchPage(startRow, pageSize);

Re: Tomahawk+DataScroller+WorkingWithLargeTables

2007-07-05 Thread daniel ccss
Strange, I think I lose some mails... Paul can you answer this last email that I send, not sure if you already answered it, but something strange happen, thanks, sorry :-( Thanks for your answers, yes actually when I implemented your filter the call to the DB reduce to 2 :), and then Vladimir

Re: Tomahawk+DataScroller+WorkingWithLargeTables

2007-07-05 Thread daniel ccss
there is a check on pageSize, is not it gonna be the same every time? vlad On 7/5/07, *daniel ccss* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I think is for the filter: if ((_lastPage == null) || (_lastStartRow != startRow) || (_lastPageSize != pageSize

Re: Tomahawk+DataScroller+WorkingWithLargeTables

2007-07-05 Thread daniel ccss
Thanks Paul, ok, I will try it tomorrow, I'm not in my work right now and I have my project there, I let you know how I did it, thanks for all!!! On 7/5/07, Paul Iov [EMAIL PROTECTED] wrote: test answer :) daniel ccss schrieb: Hi Paul Thanks for your answers, yes actually when I

Re: Tomahawk+DataScroller+WorkingWithLargeTables

2007-07-06 Thread daniel ccss
Hi Paul, I put your code in my backing_bean and call the method dropScroller(String dataTableId) after the delete method was called, I send to this method the id of the data table: t:dataTable id=data styleClass=scrollerTable ... But the dataTable doesn´t update, in my console I

Re: Tomahawk+DataScroller+WorkingWithLargeTables

2007-07-06 Thread daniel ccss
only the current page of data will be refetched - not the whole dataset AND the current page. ...and first after this comes the issue with dropScroller :). Probably, you don't need then this method at all. daniel ccss schrieb: Hi Paul, I put your code in my backing_bean and call the method

Re: Tomahawk+DataScroller+WorkingWithLargeTables

2007-07-06 Thread daniel ccss
Ok Paul, this is the thing, Since I´m new in this and in my work they are asking for results from the Tomahawk investigation that i'm doing implementing a simple maintain module, I think that I can´t impplement all that you have done, at least in this moment. This is what i have done until now,

Re: Tomahawk+DataScroller+WorkingWithLargeTables

2007-07-06 Thread daniel ccss
Vladimir I will start with that jar also, I was looking and IMHO that is the better. What do you think Paul. In fact I think that Red Hat buy JBoss, and I listen that they are developing an IDE, that will be in the market in December On 7/6/07, Vladimir Isakovich [EMAIL PROTECTED] wrote: Paul,

Re: Tomahawk+DataScroller+WorkingWithLargeTables

2007-07-07 Thread daniel ccss
Paul do you recived my large email where I explain you my situation? Regards, Daniel On 7/6/07, daniel ccss [EMAIL PROTECTED] wrote: Vladimir I will start with that jar also, I was looking and IMHO that is the better. What do you think Paul. In fact I think that Red Hat buy JBoss, and I

Re: Tomahawk+DataScroller+WorkingWithLargeTables

2007-07-08 Thread daniel ccss
Thanks again Paul, Ok tomorrow (monday) I will change the use of the property file, in fact I use it the Friday only to saw if what I was thinking of a way to force to do the fetch will work. Ok the other thing, the most critical for me right now, when I delete the last row I enter to the

Re: Tomahawk+DataScroller+WorkingWithLargeTables

2007-07-08 Thread daniel ccss
something, what (due to your sorting order) can affect the subset of items being displayed at current page, you have to reload the page as well. (This can lead into situation, when your just edited item 'disappears' from the current page.) regards, paul daniel ccss schrieb: Ok Paul

Re: Tomahawk+DataScroller+WorkingWithLargeTables

2007-07-09 Thread daniel ccss
where says appear read appears, where says alse read also :P On 7/9/07, daniel ccss [EMAIL PROTECTED] wrote: Exactly Vladimir, that is what i was doing, BUT the following happens (see images) On 7/9/07, Vladimir Isakovich [EMAIL PROTECTED] wrote: Hi Daniel, I think this logic should do

Re: Tomahawk+DataScroller+WorkingWithLargeTables

2007-07-09 Thread daniel ccss
[EMAIL PROTECTED] wrote: Did you call that method Paul sent few days ago for updating dataModel something like getDataModel(0), I just could not find it quick. On 7/9/07, daniel ccss [EMAIL PROTECTED] wrote: where says appear read appears, where says alse read also :P On 7/9/07, daniel ccss

Ajax-DataTable

2007-07-09 Thread daniel ccss
Hi all, Where I can found the jar that have the DataTable that use Ajax: a4j:DataTable ... ?? Thanks!!!

Re: Tomahawk+DataScroller+WorkingWithLargeTables

2007-07-09 Thread daniel ccss
Paul where are you :P On 7/9/07, daniel ccss [EMAIL PROTECTED] wrote: public DataModel getDataModel() { if (dataModel == null) { dataModel = new LocalDataModel(_PageSize); } return dataModel; } Yes in my bean I have this method. I have another

Re: Ajax-DataTable

2007-07-09 Thread daniel ccss
-Andrew On 7/9/07, daniel ccss [EMAIL PROTECTED] wrote: Hi all, Where I can found the jar that have the DataTable that use Ajax: a4j:DataTable ... ?? Thanks!!! attachment: ajax.JPG

Re: Ajax-DataTable

2007-07-09 Thread daniel ccss
Could you pass me that jar, or send my the url? Thanks :) On 7/9/07, Andrew Robinson [EMAIL PROTECTED] wrote: Oops, sorry, the JBoss data table is in RichFaces, not A4J. They put all their controls in RichFaces and all the AJAX framework stuff in A4J. On 7/9/07, daniel ccss [EMAIL PROTECTED

Re: Ajax-DataTable

2007-07-09 Thread daniel ccss
:-) -Andrew On 7/9/07, daniel ccss [EMAIL PROTECTED] wrote: Could you pass me that jar, or send my the url? Thanks :) On 7/9/07, Andrew Robinson [EMAIL PROTECTED] wrote: Oops, sorry, the JBoss data table is in RichFaces, not A4J. They put all their controls in RichFaces and all the AJAX framework

Re: Tomahawk+DataScroller+WorkingWithLargeTables

2007-07-09 Thread daniel ccss
IT WORKS I have to debug to see the correct id of the datatable, and I found that was: _id0:data:8 wh?? Obviously I don´t get the dropScroller to work because I sent the true Id of the DataTable: data t:dataTable id=data styleClass=scrollerTable When I send this id it works fine,

Re: Tomahawk+DataScroller+WorkingWithLargeTables

2007-07-09 Thread daniel ccss
I mean I had to debug... Sorry I wrote that quickly I´m happy now! THANKS PAUL On 7/9/07, daniel ccss [EMAIL PROTECTED] wrote: IT WORKS I have to debug to see the correct id of the datatable, and I found that was: _id0:data:8 wh?? Obviously I don´t get the dropScroller to work

Reload Page

2007-07-11 Thread daniel ccss
Hi all, one question how I can reload a JSF page. For example I have one page (principal) where I show some data, from this page i can go to another JSF page in which i change some data and save it on the database, then a navigation is make to the principal page but the data doesn´t refresh

Re: Tomahawk+DataScroller+WorkingWithLargeTables

2007-07-11 Thread daniel ccss
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 was found :) 3-All works now, except for one thing: when I add a row to the

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

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-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

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

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

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

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

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

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

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: 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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: 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

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: 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: 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

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

  1   2   >