Re: AW: double click problem in JSF

2010-09-23 Thread schneidc
Ok, I see your point, but on our pages I only need to prevent double mouse clicks, when the user is typing I don't care. This is why the solution works in our case. Daniel Niklas wrote: -- View this message in context:

Re: AW: double click problem in JSF

2010-09-14 Thread schneidc
Hi Daniel, what I wanted to achieve is that the users can't click certain buttons or select an entry in a selectOneChoice several times without the first one to finish and as far as this is concerned, it works. Daniel Niklas wrote: Hi, i don't think, that you have solved all problems

Re: AW: double click problem in JSF

2010-09-10 Thread schneidc
Hi, I just stumbled upon this thread and tried to add the overlay method to block inputs for a certain time to my pages. Mostly it works fine, but I have a problem with tr:selectOneChoice. I added this JS-function to the onchange event of the menu function show() {

Re: AW: double click problem in JSF

2010-09-10 Thread schneidc
Just solved the problem, I forgot to put a panel with a partial trigger around the outer div. schneidc wrote: Hi, I just stumbled upon this thread and tried to add the overlay method to block inputs for a certain time to my pages. Mostly it works fine, but I have a problem

Re: [MyFaces] Get rid of ALT attribute is missing warnings for images

2010-07-26 Thread schneidc
and the warning will be gone. This attribute should IMO always be set (especially when thinking about users with visual impairment). However on MyFaces core 2.0.x the warning will be gone if you're in ProjectStage = Production. Regards, Jakob 2010/7/22 schneidc simon.w...@gmx.de -- View

[MyFaces] Get rid of ALT attribute is missing warnings for images

2010-07-22 Thread schneidc
Hi, I always get this kind of warnings when browsing through the pages of my application: [22.07.10 10:12:46:578 CEST] 3c0b HtmlImageRend W org.apache.myfaces.shared_impl.renderkit.html.HtmlImageRendererBase encodeEnd ALT attribute is missing for : j_id12 The strange thing for me is that

Re: [Trinidad] Re-populating DataTable after sorting, results in empty table

2010-07-21 Thread schneidc
the table again all I had to do was, to reset the sort criteria of the table... and voila. schneidc wrote: Hi, I encountered the following problem: I have a data table with several columns (each sortable) looking like e.g. |Name|Street|City|... There are also input fields with which the user

[Trinidad] Re-populating DataTable after sorting, results in empty table

2010-07-13 Thread schneidc
Hi, I encountered the following problem: I have a data table with several columns (each sortable) looking like e.g. |Name|Street|City|... There are also input fields with which the user can filter the contents of the table. E.g. in the city input field when he enters L* and hits an

Re: AW: [Trinidad] Re-populating DataTable after sorting, results in empty table

2010-07-13 Thread schneidc
Hi Matthias! Sometimes the table has several pages but no datascroller (what's that, never heard of?). And should the sort-feature of the table also sort the according list? Simon Leis, Matthias - SID-NLKM wrote: Hi! This maybe because the table model doesn't get sorted in the

Re: AW: AW: [Trinidad] Re-populating DataTable after sorting, results in empty table

2010-07-13 Thread schneidc
Ok, I'll try to solve this via manual sorting. Thanks, Simon Leis, Matthias - SID-NLKM wrote: Hi Simon, Datascroller is a feature of tomahawk. I didn't see your post was about Trinidad, sorry. I have no experience with trinidad, but as far as I know it from the tomahawk datatable,

Re: AW: AW: [Trinidad] Re-populating DataTable after sorting, results in empty table

2010-07-13 Thread schneidc
Hi again, unfortunately it didn't work. I attached a sortListener from which I could get the sort criterion and sorting on its own worked like a charm. But again, when I tried to filter, all I could see was an empty table. It also doesn't seem to be just a display problem as after the filtering

Re: [Trinidad] ReturnListener of dialog isn't (always) called

2010-05-10 Thread schneidc
@all I took some time to debug through the myfaces/trinidad code but I found the reason why the return method wasn't called. The method bound to the ok button in the dialog deleted the entries of a selectOneChoice on the parent page and therefore the index of the selected menu item was missing

Re: [Trinidad] ReturnListener of dialog isn't (always) called

2010-05-10 Thread schneidc
@all I took some time to debug through the myfaces/trinidad code but I found the reason why the return method wasn't called. The method bound to the ok button in the dialog deleted the entries of a selectOneChoice on the parent page and therefore the index of the selected menu item was missing

Re: autoSubmit not working when the blank option is selected in tr:selectOneChoice

2010-05-10 Thread schneidc
On construction of countryOptions add a new SelectItem(null, ) and set country to by default. Then the blank is actually bound to a SelectItem and valueChange will fire. senore100 wrote: I believe this is the default or expected behavior. code tr:selectOneChoice id=country

Re: [Trinidad] ReturnListener of dialog isn't (always) called

2010-05-04 Thread schneidc
Ok, no I understand what you mean. Only in my case the rendered property is always true, I don't touch it. One thing that happens is that the button gets disabled, when the action is executed but I'd be surprised if that is the reason for the behaviour... or could it?? -- View this message in

Re: [Trinidad] : Lightweight dialog issue with Firefox

2010-05-04 Thread schneidc
FYI I just switched to Trinidad 1.2.13 and now the dialogs are working in the problematic Firefox instances as well. -- View this message in context: http://old.nabble.com/-Trinidad--%3A-Lightweight-dialog-issue-with-Firefox-tp28387071p28445101.html Sent from the MyFaces - Users mailing list

[Trinidad] ReturnListener of dialog isn't (always) called

2010-05-03 Thread schneidc
Hi, I'm facing the strange problem that the call of a ReturnListener attached to a dialog depends on the method calls executed when the OK-Button of the dialog is pressed. Basically there are two possible outcomes when this OK-Button is pressed. Either the action returns immediately adding a

Re: [Trinidad] ReturnListener of dialog isn't (always) called

2010-05-03 Thread schneidc
Well, but my buttons is rendered as I have to click it to call the dialog ;-) -- View this message in context: http://old.nabble.com/-Trinidad--ReturnListener-of-dialog-isn%27t-%28always%29-called-tp28432490p28434822.html Sent from the MyFaces - Users mailing list archive at Nabble.com.

Re: [Trinidad] : Lightweight dialog issue with Firefox

2010-04-28 Thread schneidc
I have the same problem, but only with certain instances of Firefox. On some PCs it's working in Firefox on others it isn't but with Chrome or Safari it always does. So far I couldn't figure out what's causing the problem. But as it is working in the majority of the firefoxes, so far I can live

[Trinidad] Table row selection over several pages doesn't work

2010-04-27 Thread schneidc
Hi, I have a large table with several pages, selection style set to multiple and I just encountered that when rows are selected on one page, if I change to another page and only when I also make selections on this other page, all selections made on the previous one vanish. So it seems, that it's

Re: Antwort: [Trinidad] Table row selection over several pages doesn't work

2010-04-27 Thread schneidc
Thanks for the link, it made me dig a little deeper and I found the reason. I had a selectionListener attached to the table which always overwrote the previous selection when switching the page. -- View this message in context:

Re: [Trinidad] Use Dojo with Trinidad

2010-04-23 Thread schneidc
Sweet, setting the body style to tundra did the trick. And thanks for the link, I'll have a look at dojofaces. Simon -- View this message in context: http://old.nabble.com/-Trinidad--Use-Dojo-with-Trinidad-tp13968204p28339538.html Sent from the MyFaces - Users mailing list archive at

Re: [Trinidad] Use Dojo with Trinidad

2010-04-22 Thread schneidc
Pretty old thread, though seems to be the best place for my question. I've been playing around with Dojo and Trinidad, I tried Daniels sample page but for reasons I don't understand (yet) it doesn't work. The html-elements are there but nevertheless the page appears blank. But I got another

Re: [Trinidad] PPR issue with Firefox when returning from Dialog

2010-04-19 Thread schneidc
Hi Cedric, one of your tips actually helped. The button had no returnListener, but after attaching one, now the refresh works. Thanks! (but I'm still wondering why it worked in Chrome and not in the Firefox...) Cheers Simon -- View this message in context:

[Trinidad] PPR issue with Firefox when returning from Dialog

2010-04-14 Thread schneidc
Hi, what I tried to achieve is, that when when closing a Trinidad dialog certain areas of the origin page get refreshed. For testing my pages I use Firefox and Chrome and in Chrome the PPR is working, in Firefox it isn't. Even when removing the partialSubmit from the button which triggers the

Re: [Trinidad] Skinning: Change only one occurence of a component

2010-03-30 Thread schneidc
Thanks both of you. This expression was what I had in mind .custom_accordion af|panelAccordion::content { // apply custom customization to this panel accordion's content } but this special case tr:selectOneChoice contentStyle=... also did the trick. -- View this message in

[Trinidad] Skinning: Change only one occurence of a component

2010-03-29 Thread schneidc
Hi, I want to change the width of a tr:selectOneChoice, so it isn't so narrow when empty. tr:selectOneChoice inlineStyle=width: 100px doesn't do the trick as the actual menu is embedded in a table and the style get's applied on the table and not the menu itself. So I figured out that I should

Re: AW: [TRINIDAD] Issue with Trinidad's javascript and UTF-8

2010-03-23 Thread schneidc
Hi Tobias, I just made an interesting observation. I changed the the first line of one page from ?xml version=1.0 encoding=UTF-8? to ?xml version=1.0 encoding=ISO-8859-1? (btw I'm using Facelets instead of JSP) and removed my javascript function which converted Böhm to Böhm. Now, the

[TRINIDAD] Issue with Trinidad's javascript and UTF-8

2010-03-22 Thread schneidc
Hi, some days ago I made a posting about a problem with umlauts. I the meantime I made some progress in fixing the issue (at least sort of) and decided to start a new topic as in my eyes this is a different case. The problem with the umlauts or UTF-8 is caused by the javascript when using PPR.

[TRINIDAD] German umlauts get ignored when entered in inputText

2010-03-15 Thread schneidc
Hi, on my pages (encoded in utf-8) I have no problem displaying german umlauts like ä ö ü, but when entered in a tr:inputText... the actual string is missing the umlauts. E.g. if I enter Böhm the string in the managed bean equals Bhm. How's that and what can I do about it? Thanks Simon --

Re: [TRINIDAD] German umlauts get ignored when entered in inputText

2010-03-15 Thread schneidc
Hi Mario, thanks for the tip, but unfortunately adding the filter didn't help. The umlauts are still missing in the strings. -- View this message in context: http://old.nabble.com/-TRINIDAD--German-umlauts-get-ignored-when-entered-in-%3CinputText%3E-tp27901371p27901990.html Sent from the

Re: [TRINIDAD] German umlauts get ignored when entered in inputText

2010-03-15 Thread schneidc
Hi, I'm using Websphere App Server and didn't find anything similar to the Tomcat connectors, yet. -- View this message in context: http://old.nabble.com/-TRINIDAD--German-umlauts-get-ignored-when-entered-in-%3CinputText%3E-tp27901371p27902599.html Sent from the MyFaces - Users mailing list

Re: Datastructure filled but table remains empty (at first)

2010-03-10 Thread schneidc
Nevertheless, thank you for your efforts. I think I'll make some changes so that the tables get populated not before the user made some input. It won't spoil the usability too much. But I'm still very curious what actually causes the problem. -- View this message in context:

Re: Datastructure filled but table remains empty (at first)

2010-03-09 Thread schneidc
Yes, you got it right, if I call the update() method manually everything's fine. I also tried adding some code which calls the update() a second time at the initial start but this also didn't help and the first table remained empty. -- View this message in context:

Re: Datastructure filled but table remains empty (at first)

2010-03-09 Thread schneidc
Hello Jakob, it's a facelet page and this is the first table (or at least a part of it), causing the problem tr:table id=vorgaengeTable selectionListener=#{vorgangListeController.vorgangSelected}

Re: Datastructure filled but table remains empty (at first)

2010-03-09 Thread schneidc
Hi Jakob, puh, providing some snipptes isn't easy as the code is pretty complex, but I'll try. private VorgangListMainModel model; @PostConstruct public void init() { _umbuchungComponentController.addReloadEventListener(new EventListenerReloadEvent() {

Datastructure filled but table remains empty (at first)

2010-03-03 Thread schneidc
Hi, I have a JSF page containing two tables I want to fill in the post construct method of the according managed bean. The strange thing is, that only one table gets filled, the other one remains empty. If I then trigger a manual refill of the tables everything is fine. I tried to debug the

[TRINIDAD] ClassCastException when returning from dialog

2010-03-03 Thread schneidc
Hi, I just wanted to add a delete confirmation dialog to a page but when I confirm (or cancel) the dialog I always get this exception: 005a _ErrorPageWri E org.apache.geronimo.kernel.log.GeronimoLog error An exception occurred java.lang.ClassCastException:

Re: [TRINIDAD] SelectOneChoice preselection possible?

2010-02-26 Thread schneidc
Hi Vale, your posting pointed me in the right direction. Now it's working, thank you. -- View this message in context: http://old.nabble.com/-TRINIDAD--SelectOneChoice-preselection-possible--tp27714456p27719132.html Sent from the MyFaces - Users mailing list archive at Nabble.com.

[TRINIDAD] SelectOneChoice preselection possible?

2010-02-25 Thread schneidc
Hi, at first I was using the default JSF 1.2 ComboBox (selectOneMenu) but then switchted to the Trinidad equivalent (selectOneChoice) to get Ajax functionality. So far it's working fine, the only thing bothering me in comparison to the selectOneMenu is, that the default selection is an empty

MyFaces binding problem with HtmlSelectOneMenu/SelectOneChoice

2010-01-25 Thread schneidc
Hi, I tried both drop down menus, MyFaces's HtmlSelectOneMenu and Trinidad's SelectOneChoice and both seem to have the same problem or at least I can't understand their behaviour. The menus are bound to an according object in a managed bean and the setter looks like this: public void

Re: Binding problem with HtmlSelectOneMenu/SelectOneChoice

2010-01-25 Thread schneidc
I just solved the problem by binding the value-attribute of the menu/choice to a string. -- View this message in context: http://old.nabble.com/Binding-problem-with-HtmlSelectOneMenu-SelectOneChoice-tp27306676p27308003.html Sent from the MyFaces - Users mailing list archive at Nabble.com.

[Trinidad] Styling icon of tr:panelAccordion

2010-01-18 Thread schneidc
Hi, I just want to change the color of the disclosed / undisclosed icon of the accordion panel but my problem is that the style always gets overridden by some other. In the stylesheet file I added these classes to change the icon color: af|panelAccordion::undisclosed-icon { color:

Re: [Trinidad] Trinidad and Glassfish: resource servlet does not work

2010-01-12 Thread schneidc
Hi, I think this is the right place to ask, as I'm also having problems with the resources. I'm using Glassfish V2.1, Trinidad 1.2.12, MyFaces 1.2.8 and Facelets. My pages get displayed but as soon as it gets to showing images or accessing the stylesheet file these aren't found. A snippet from

[Trinidad] commandButton doesn't fire (missing onclick attribute)

2010-01-09 Thread schneidc
Hi, I've just been playing around with MyFaces (1.2.8), Trinidad(1.2.12) on a Glassfish (V3) app server and everything went better than I thought it would (as I'm still pretty new to this technology). But when I tried to test the page I built, I noticed that none of my buttons works. I posted a

Re: [Trinidad] commandButton doesn't fire (missing onclick attribute)

2010-01-09 Thread schneidc
How embarrasing, there was indeed the form tag missing. My former IDE always took care of such things and inserted them by itself. Maybe one should't get used to drag drop features too much :-) -- View this message in context:

Re: [Trinidad] JS library cannot be found = buttons don't work

2010-01-07 Thread schneidc
Thank you for the tip. I overlooked that the ResourceServlet is not only necessary for images but also JavaScript. No it's working. Matthias Wessendorf-4 wrote: Hi, do you have the ResourceServlet listed in your web.xml file ? -Matthias -- View this message in context:

[Trinidad] JS library cannot be found = buttons don't work

2010-01-05 Thread schneidc
Hello, I'm just trying to become acquainted with Trinidad but stumbled upon some strange problem. First I noticed that none of my buttons work and after a little digging I saw that a JavaScript library called Common1_0_11.js is linked in the generated pages which seems to be responsibel for