inputSuggestAjax bug?

2007-07-03 Thread Joe Ersinghaus
After working through the inputSuggestAjax code off the Irian site (the suggest with label/value functionality to be specific), I managed to get this working in my app with my data. But I then realized that the suggest aspect wasn't working. No matter what you start to type in the control, the

ajax4jsf trinidad

2007-07-03 Thread binya
could I use a4j:support tag inside 'tr:selectOneListbox' ? tr:selectOneListbox value=#{bean.select} id=qpListName binding=#{bean.listComponent} a4j:support event=onclick action=#{bean.listWasClicked} reRender=query_address / /tr:selectOneListbox

Re: [Trinidad] Download of a4j-trinidad.jar

2007-07-03 Thread binya
did you find it ? Michael Trompertz wrote: Hello I want to use Trinidad with Seam and Ajax4Jsf. In the wiki http://wiki.apache.org/myfaces/TrinidadSeamAjax4JsfFaceletDetail I read that I need a4j-trinidad.jar. But I can't find this file anywhere. Is the functionality integrated in

Re: ajax4jsf trinida

2007-07-03 Thread Matthias Wessendorf
you should be able to nest a4j:support, since their lib takes care of JSF interfaces, like EditableValueHolder instead of a cast against UIInput. Note, that Trinidad already has PPR enabled (1.0.1 uses Iframe, 102 and higher, use real ajax (funny word)) -M On 7/3/07, binya [EMAIL PROTECTED]

Re: s:inputSuggestAjax - how this tag works with database values

2007-07-03 Thread Gerald Müllan
You have to filter out the AssetMgmtSystem elements for the right ones, which begin with A or B. You can do this in the Hibernate query directly (better one) or in the iteration afterwards. cheers, Gerald On 7/2/07, bansi [EMAIL PROTECTED] wrote: Hi Gerald As suggested i wrote the code

Re: inputSuggestAjax bug?

2007-07-03 Thread Gerald Müllan
Hi, it`s completely up to you what you are returning back from the suggestedItemsMethod. On the example page we are not filtering out some values, just returning the same every time. So, when you give back the same list at every time, then the same pop-up list will apear every time. You have to

t:popup attribute inflexibility

2007-07-03 Thread Safurudin Mahic
I'm currently using a t:popup in a datatable to show details about a row. One of the issues I'm facing is that the renderer for the popup always renders position:absolute; display: none; at the end of the inline style. While this is practical as a default for showing the popup next to the

Re: t:popup attribute inflexibility

2007-07-03 Thread Martin Marinschek
Probably, the wouldn't be too hard to implement, no. Have fun hacking! regards, Martin On 7/3/07, Safurudin Mahic [EMAIL PROTECTED] wrote: I'm currently using a t:popup in a datatable to show details about a row. One of the issues I'm facing is that the renderer for the popup always renders

Re: how to render various components dynamically for a generic editor ?

2007-07-03 Thread Mario Ivankovits
Hi! I have to create a generic editor with various fields based on a configuration(file, database …). Each field can be rendered as a different input type, e.g. selectOneCheckbox, selectManyCheckbox, selectOneRadio, selectOneMenu, selectManyMenu or even inside a tree2 structure. Moreover I

Re: t:popup attribute inflexibility

2007-07-03 Thread Safurudin Mahic
I barely skimmed through the Renderer; writer.writeAttribute(HTML.STYLE_ATTR,(popup.getStyle()!=null?(popup.getStyle()+ (popup.getStyle().trim().endsWith(;)?:;)):)+ position:absolute;display:none;,null); As mentioned, it is not possible to put a position: fixed on

Re: how to render various components dynamically for a generic editor ?

2007-07-03 Thread David Delbecq
Hi, I had a similar requirement for a form here. I had an List of object to visually edit. The objects were carrying their description, value and type. I created, for each type, a wrapper bean that provided a method UIComponent createEditor(some environment stuff); I then created a custom

securityContext does not work in rendered from h:panelGroup

2007-07-03 Thread Alin Dosoniu
Hi, I think securityContext does not work in rendered attribute of a h:panelGroup. I am using myfaces 1.1.5. Can someone confirm this? Thank you, Alin.

Re: securityContext does not work in rendered from h:panelGroup

2007-07-03 Thread Cagatay Civici
Hi, What kind of security management are you using? Container managed or something like Acegi or etc? Regards, Cagatay On 7/3/07, Alin Dosoniu [EMAIL PROTECTED] wrote: Hi, I think securityContext does not work in rendered attribute of a h:panelGroup. I am using myfaces 1.1.5. Can someone

Re: [Trinidad] Detailstamp facet problem

2007-07-03 Thread Henk Vanhoe
When you have a big screen with many detail-regions, I think that it is more natural for a user to fill out each region one at a time and to be able to fold/unfold each region without triggering validation. Only when you're ready filling in each field of this page and when you submit the

Re: Tomahawk+DataScroller+WorkingWithLargeTables

2007-07-03 Thread Mikael Andersson
Hi, the getter methods typically get called several times, so caching of the data is usually desired (if you are interested you could have a look at seam and @Factory which addresses this). Don't know how the dataScroller works, but I would guess that it is responsible for at least one call to

Re: securityContext does not work in rendered from h:panelGroup

2007-07-03 Thread Alin Dosoniu
Container managed. FORM basd authentication. If I use it like this h:outputLabel for=freport:outputtype value=value rendered=#{securityContext.ifGranted['admin']}/ it works. But in this case h:panelGroup rendered=#{securityContext.ifGranted['admin']} it doesn't work. Alin. Hi, What kind of

[Trinidnad] View Handler Errors

2007-07-03 Thread William Hoover
Is to possible to define a view handler extension in Trinidad without getting the following warnings? org.apache.myfaces.trinidad.context.RenderingContext attach WARNING: Trying to attach RenderingContext to a thread that already had one.

Re: [Trinidnad] View Handler Errors

2007-07-03 Thread Simon Lessard
Hello William, You should use the AlternateViewHandler context-param instead (like when using Facelets) while using Trinidad. The exact context param name is : org.apache.myfaces.trinidad.ALTERNATE_VIEW_HANDLER Regards, ~ Simon On 7/3/07, William Hoover [EMAIL PROTECTED] wrote: Is to

Re: [Trinidnad] View Handler Errors

2007-07-03 Thread Matthias Wessendorf
tried to define in web.xml context-param param-nameorg.apache.myfaces.trinidad.ALTERNATE_VIEW_HANDLER/param-name param-valuesome.viewhandler.class.path.TheViewHandler/param-value /context-param this makes the custom one to be used as the *delegated* viewhandler, inside the Trinidad

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: [Trinidnad] View Handler Errors

2007-07-03 Thread William Hoover
Thanks Matthias/Simon! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Matthias Wessendorf Sent: Tuesday, July 03, 2007 9:26 AM To: MyFaces Discussion Subject: Re: [Trinidnad] View Handler Errors tried to define in web.xml context-param

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

Re: Tomahawk+DataScroller+WorkingWithLargeTables

2007-07-03 Thread Mikael Andersson
Haven't read the wiki page, so I don't know how that works. Perhaps you can have the backing bean in request scope (maybe it already is and this advice is not useful) and use a cache, then the data would be reloaded for each request but the multiple gets occuring within that request would be

Re: [Trinidad] Download of a4j-trinidad.jar

2007-07-03 Thread Zarick Lau
Hi, I've some exp on this before. My final solution is checkout the a4j trunk, manually build the jar. I've seen some others report on a4j forum/jira (I forget which one) that, the a4j-trinidad can be found in seam installation. Regards, Zarick On 7/3/07, binya [EMAIL PROTECTED] wrote: did

[Tomahawk] Special style class for selected column?

2007-07-03 Thread KaiWeing
Hello everyone, I'm using the tomahawk extended data table and the sortCommandHeader facet. However, I would need the selected column to have a different style than the other columns and yet another one for the selected column header. Of course the nicest would be to have the selected column

Re: t:popup attribute inflexibility

2007-07-03 Thread Martin Marinschek
Hi Safu, in most cases, the popup will be absolutely positioned, in these cases, this will be ok. I'd add another attribute, with which you can control if this appendix should be rendered or not. something like: positionAbsolute=true|false and then using this while rendering. regards, Martin

Re: [Trinidad] tr:table and tr:showDetail

2007-07-03 Thread Zarick Lau
Hi Adam, On 7/3/07, Adam Winer [EMAIL PROTECTED] wrote: This should work; I can't see any obvious reason why it doesn't. I'm also expect this to work, but clicking on the show link does't disclose the component. Anway, I've moved those showDetail stuff out of the table. I'll retry this

Re: ajax4jsf trinida

2007-07-03 Thread Adam Winer
In general, perhaps - but definitely not inside of selectOneListbox. selectOneListbox requires selectItem/selectItems. -- Adam On 7/2/07, Matthias Wessendorf [EMAIL PROTECTED] wrote: you should be able to nest a4j:support, since their lib takes care of JSF interfaces, like

Re: [Trinidad] Detailstamp facet problem

2007-07-03 Thread Adam Winer
On 7/3/07, Henk Vanhoe [EMAIL PROTECTED] wrote: When you have a big screen with many detail-regions, I think that it is more natural for a user to fill out each region one at a time and to be able to fold/unfold each region without triggering validation. Only when you're ready filling in each

Tomahawk and converters

2007-07-03 Thread Erlend Hamnaberg
Hello all. I have an odd problem with Tomahawk and a converter. I have created a converter that accepts a ; separated value. However, when i try to use it, the following happens: /protected/richtest.xhtml @87,69 value=#{answerBean.alternative}: Exception setting property alternative of base

Re: Tomahawk and converters

2007-07-03 Thread Martin Marinschek
It would be good to see more of your servlet container error logs - this excerpt is not enough to say what happens here. regards, Martin On 7/3/07, Erlend Hamnaberg [EMAIL PROTECTED] wrote: Hello all. I have an odd problem with Tomahawk and a converter. I have created a converter that

Re: Tomahawk and converters

2007-07-03 Thread Matthias Wessendorf
converter=evatest.AlternativeConverter tried converter=#{bean.propertyThatReturnsMyConverter} ?

debugging navigation in an existing app

2007-07-03 Thread Steve Sweet
Hi, I'm new to server faces and I've been tasked with debugging a navigation issue in an existing application. From time to time the app seems to lose the base path of self referencing URIs. For example, when clicking on a link to update an edit, instead of trying to go to the proper URL of

Re: Use Up/Down Arrow Key to Move Up/Down of h:dataTable with Scrollbars

2007-07-03 Thread Caroline Jen
Hi, I have made something work - I am able to use the keyboard down arrow key to highlight the next row in the table or use the keyboard up arrow key to highlight the previous row in the table. And When the page is loaded, the first row of the table is automatically highlighted (see the code

Re: Tomahawk and converters

2007-07-03 Thread Erlend Hamnaberg
I'll send some when i get to work tomorrow. Erlend Martin Marinschek wrote: It would be good to see more of your servlet container error logs - this excerpt is not enough to say what happens here. regards, Martin On 7/3/07, Erlend Hamnaberg [EMAIL PROTECTED] wrote: Hello all. I have an

Re: [Tomahawk] Special style class for selected column?

2007-07-03 Thread Andrew Robinson
t:dataTable ... sortColumn=#{bean.sortProperty} t:column styleClass=#{bean.sortProperty eq 'myColumn' ? 'selected' : 'notselected'} f:facet name=header t:commandSortHeader columnName=myColumn h:outputText value=sort me / /t:commandSortHeader /f:facet /t:column /t:dataTable On 7/3/07, KaiWeing

Re: Use Up/Down Arrow Key to Move Up/Down of h:dataTable with Scrollbars

2007-07-03 Thread Andrew Robinson
As I mentioned, you have to put the focus on an input element, not a table element. Unless you are on IE, table elements cannot hold focus and cannot receive key events. On 7/3/07, Caroline Jen [EMAIL PROTECTED] wrote: Hi, I have made something work - I am able to use the keyboard down arrow

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: Use Up/Down Arrow Key to Move Up/Down of h:dataTable with Scrollbars

2007-07-03 Thread Caroline Jen
But, I am using IE 6. I tried to hold the focus on the highlighted first row of the table. It does not work. --- Andrew Robinson [EMAIL PROTECTED] wrote: As I mentioned, you have to put the focus on an input element, not a table element. Unless you are on IE, table elements cannot hold

JSF On-Load and t:updateActionListener

2007-07-03 Thread kace
Hi fellas, I am trying to get JSF On-Load - Im using it with t:updateActionListener like so : h:outputLink value=products.html t:outputText value=#{product.name} escape=false / t:outputText value=#{product.weight} escape=false /

Re: JSF On-Load and t:updateActionListener

2007-07-03 Thread Andrew Robinson
What version of the tagHandlers are you using? There is no line 90 of UpdateActionListenerHandler.java (it is whitespace) in the current version On 7/3/07, kace [EMAIL PROTECTED] wrote: Hi fellas, I am trying to get JSF On-Load - Im using it with t:updateActionListener like so :

Re: JSF On-Load and t:updateActionListener

2007-07-03 Thread Andrew Robinson
Found your issue. The action listener must be a child of ActionSource. That is typically commandLink and commandButton. outputLink does not fire JSF events, so therefore is not a candidate for the updateActionListener -Andrew On 7/3/07, kace [EMAIL PROTECTED] wrote: Hi fellas, I am trying to

Re: JSF On-Load and t:updateActionListener

2007-07-03 Thread kace
Ahh thankyou Andrew kace Andrew Robinson-5 wrote: Found your issue. The action listener must be a child of ActionSource. That is typically commandLink and commandButton. outputLink does not fire JSF events, so therefore is not a candidate for the updateActionListener -Andrew On

Re: [Trinidad] Causing Too many open files error?

2007-07-03 Thread Adam Winer
I'm not reproducing a problem. At the very minimum, in FileInputStream.finalize(), fd.handle always seems to be -1 now, whereas it used to be still set a lot before. Admittedly I'm not using Tomcat, antiJarLocking or no antiJarLocking. Is it possible that Matthias gave you a snapshot before

MyFaces DataScroller + DataModel losing elements

2007-07-03 Thread Érico Teixeira
I'm trying to implement an actionListener wich runs a JPA query and loads the result into a javax.faces.model.DataModel. This listener receives a paramenter from an inputCalendar. The query is running fine and at first load everything goes fine, but when I want to use the DataScroller

Re: [Trinidad] Skinning of tr:outputLabel

2007-07-03 Thread Jeanne Waldman
We don't have a skinning hook or component attribute to do that. - Jeanne Zarick Lau wrote: Hi list, When showRequired are set to true for all kinds of label components. The * icon are displayed left to the label. Is it possible to make the icon display right to the label? Regards, Zarick

Re: Use Up/Down Arrow Key to Move Up/Down of h:dataTable with Scrollbars

2007-07-03 Thread Andrew Robinson
http://tinyurl.com/3374pw On 7/3/07, Caroline Jen [EMAIL PROTECTED] wrote: But, I am using IE 6. I tried to hold the focus on the highlighted first row of the table. It does not work. --- Andrew Robinson [EMAIL PROTECTED] wrote: As I mentioned, you have to put the focus on an input

Re: Tomahawk+DataScroller+WorkingWithLargeTables

2007-07-03 Thread daniel ccss
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, without bring all the records? For me all works fine my problem is that the method that brings the data is

MyFaces Browser Compatibility

2007-07-03 Thread mark leung
Hi there, Is there anybody know the browser compatibility of MyFaces(Tomahawk)? I can not find the documents about this topic in MyFaces homepage and google. While there is only the compatibility about server side environment. _

Re: Tomahawk+DataScroller+WorkingWithLargeTables

2007-07-03 Thread daniel ccss
Since everything works fine, I think that the problem is in the JSP t:dataScroller and t:dataTable properties, something is calling the backing bean several times (the fetchPage), I'm new in this, can anyone check the JSP and see if I´m doing something wrong on it causing the multiple calls? %@

Re: Tomahawk+DataScroller+WorkingWithLargeTables

2007-07-03 Thread Martin Marinschek
Hi Daniel, look at this: public DataPagePaciente fetchPage(int startRow, int pageSize) { return getDataPage(startRow, pageSize); } if you make sure you call getDataPage only once for any given startRow/pageSize, you'll be save - so you need some caching there.

how to prevent hidden autoScroll from affecting page look

2007-07-03 Thread Dave
There are many generated: input type=hidden name=autoScroll / that affects the page looks. In html, there is a line break around them. So there is an additional space on page. How to prevent this from happening? Thanks Dave - Food fight?

how to access the properties files from java script

2007-07-03 Thread Arvind Pandey
Hi all, I am using myfaces 1.1.5 . We are showing java script confirmation dialog box . But We need to show the confirmation message in multilingual format. Is there any way to read the property file so that we can show the message in multilingual? Or is there any other