Re: Calling a bean method from an onClick event

2008-05-23 Thread Mike Kienenberger
I've passed el expressions into a function like this on my page code. I'm using facelets, but I don't think it makes any difference. rowOnClick="colorizeRow('#{routeSplitReorderPage.routeTableDataOne.uiDataClientId}', '#{routeSplitReorderP

Calling a bean method from an onClick event

2008-05-23 Thread Nuno Sousa
Hello, I have a dataTable with an HtmlInputText on each cell, i want to add an onClick event for each inputText, so when i click on it, the values changes to a value stored on backbean, and when i clickout the old value comes again. The inputText have an setOnClick(String) method, but how can i ge

Re: How to PPR-enable a facelet component?

2008-05-23 Thread Hazem Saleh
Hi Stephen, This is not an arrogant philosophy. It is simply not designed for this. IMO, Ajax4JSF can help you. Please check these articles : http://www.javabeat.net/articles/19-introduction-to-ajax4jsf-1.html http://www.jroller.com/HazemBlog/entry/the_magic_of_ajax4jsf Good Luck. On Sat, May 2

Re: How to PPR-enable a facelet component?

2008-05-23 Thread Scott O'Bryan
No need to get personal, I'm just telling you about what philosophy Trinidad has origionally taken. The idea does have some technical merit. It is very difficult to optimize/ppr content you don't own. ESPECIALLY if such content is JSF content. Trinidad didn't want to have to tackles the iss

Re: How to PPR-enable a facelet component?

2008-05-23 Thread Stephen Friedrich
Too bad - and a strange (or arrogant) philosophy. If there aren't any technical issues I haven't yet understood, I think such a feature/tag should be included. Why be so inflexible and malignant considering other technologies? Trinidad: All your html are belong to us? That might perhaps have bee

Re: How to PPR-enable a facelet component?

2008-05-23 Thread Scott O'Bryan
The reason is one of philosophy. And there has been some debate over this on the dev lists. I think Andrew has something which may be thrown into the sandbox.. however.. Trindiad renderkit works off the assumption that most of your content will be trinidad content. As such, it has PPR buil

How to PPR-enable a facelet component?

2008-05-23 Thread Stephen Friedrich
I have some very specific components in my project, made using facelets and containing mostly pure html (with some ui:repeat thrown in). How am I supposed to make such a component the target of PPR? Why isn't there a simple non-rendering trinidad component for that purpose, e.g. ...

Buglets in tr:iterator tag doc

2008-05-23 Thread Stephen Friedrich
* "While the will be sufficient for most " tr:forEach?? * "...because a forEach tag runs during The tag was created to address these issues."

ViewState in relation to new sessions when the user clicks the back button

2008-05-23 Thread smokeJag
Here's my question. I've spent a good 2 days looking for a similar question/solution without luck. A user logs into the application, and they get to a welcome page where they sit idle until their session expires. When they finally decide to click on anything, they are redirected back to the l

Re: NUMBER_OF_VIEWS_IN_SESSION

2008-05-23 Thread Scott O'Bryan
Yes and know. Really depends on the complexity of the app. While JSF might be able to contruct the view tree, the view state of the previous page would not be able to be restored without full client-side state saving. By storing multiple copies, not only can the cached view root be retrieved, b

[trinidad] selectOneChoice valueChangeListener and valueChangeNotifier

2008-05-23 Thread Ido Tamir
Hi, in a tr:table I update the values of my bean directly using tr:selectOneChoice and save them to the db. In the betDAO I am able to receive the updated value, and thanks to SEAM magic the old bet object, but I would actually like to get the actual bet object with the updated values (and the ol

Re: PPR with and resource bundles

2008-05-23 Thread Gerald Müllan
Hi, for this kind of requirement you can take the s:loadBundle component, which saves all the values inside a bundle for the entire request. cheers, Gerald On Thu, May 22, 2008 at 3:36 PM, Guy Bashan <[EMAIL PROTECTED]> wrote: > Hi All, > > > > I am having a little problem doing PPR with resour

Re: [Trinidad] Skinning selected tree row?

2008-05-23 Thread Stephen Friedrich
Thanks a lot for the answer, I tried those selectors instead without any effect. It's also not the problem with .OraLink taking precedence - usually when that happens I simply add "!important" to my own properties. Finally I found a working solution .p_OraTreeRow a:hover { color: #ff9900;

Re: [Tobago] sheet language

2008-05-23 Thread Volker Weber
Hi Slavador, you can put a spanish properties file int your applications tobago-resource path. the relevant file is "html/scarborough/standard/property/tobago_[es].xml look at org/apache/myfaces/tobago/renderkit/html/scarborough/standard/property/tobago.properties.xml in tobago-scarborough.jar