Re: Trinidad rendering problem

2008-04-15 Thread Matthias Wessendorf
On Wed, Apr 16, 2008 at 8:45 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I believe Nuno has an app that worked fine *until* tomahawk was added to > the project. After adding tomahawk, there is now a trinidad internal > error. So it's some kind of interaction problem between tomahawk and du

Re: Trinidad rendering problem

2008-04-15 Thread [EMAIL PROTECTED]
I believe Nuno has an app that worked fine *until* tomahawk was added to the project. After adding tomahawk, there is now a trinidad internal error. So it's some kind of interaction problem between tomahawk and trinidad. There might well be other problems with trinidad/richfaces, but that doesn't s

tr:commandNavigationItem does not provide navigation in frames

2008-04-15 Thread dushyant agarwal
Hi, I am using JDev 11g,JBoss 4.2.1, Trinidad 1.2.4. In my project I have top,bottom & center frames. I have a page in the center frame that consists of a tr:commandNavigationItem component. I have provided the "destination" as another page(target.jsp) and "targetFrame" as b

My Faces - SelectOneRadio Problem

2008-04-15 Thread Rajnikant
Hello All, I am working on My Faces 1.2.2 version to implement SelectOneRadio. Its working fine with both (Horizontal and vertical) layout. Also reflecting submitted value on backing bean. I have implement this as under. Now I want to implement, Group of Radio buttons with some othe

How to remove selection from a tr:selectManyListBox

2008-04-15 Thread dushyant agarwal
Hi, Let us suppose that a JSF page consists of a tr:selectManyListBox and a tr:commandButton. On clicking on an option in the list box that option gets highlighted. If press the commandButton then the page simply reloads with the slected option in the list still highlighted.

Re: Please help me

2008-04-15 Thread Richard Yee
Krishna, In order to get help on a mailing list, I suggest that you use a subject line that is more descriptive of your problem. With that said, I suggest using the Trinidad selectOneRadio tag that has the autoSubmit attribute. If you set it to true, then your event listener will be called wh

Please help me

2008-04-15 Thread Nutulapati, Krishna
Hello All, I need to select one among many items through radio buttons, in jsf and should able to track the selected item event to identify the item in the backing bean. The backing been has to update the item details in the panel of same jsf page, and I should able to Edit the item details and

Please help me

2008-04-15 Thread Nutulapati, Krishna
Hello All, I need to select one among many items through radio buttons, in jsf and should able to track the selected item event to identify the item in the backing bean. The backing been has to update the item details in the panel of same jsf page, and I should able to Edit the item details

Re: [Trinidad] setActionListener before actionListener or partialSubmit with action

2008-04-15 Thread Andrew Robinson
http://java.sun.com/javaee/javaserverfaces/1.2/docs/tlddocs/f/setPropertyActionListener.html This does the same work as the Trinidad one. The 1.2 version fixed problems in JSF 1.1. It is documented somewhere, but not sure where I saw it... -A On Tue, Apr 15, 2008 at 5:10 PM, Mathias Walter <[EM

RE: [Trinidad] setActionListener before actionListener or partialSubmit with action

2008-04-15 Thread Mathias Walter
Hi again, > FYI, you should not use tr:setActionListener if you are on JSF 1.2, > ignore this comment if you are still on 1.1. There is no note about this at http://myfaces.apache.org/trinidad/trinidad-1_2/trinidad-api/tagdoc/tr_setAc tionListener.html and the 'Developer Guide'. -- Kind regards,

RE: [Trinidad] setActionListener before actionListener or partialSubmit with action

2008-04-15 Thread Mathias Walter
Hi, > FYI, you should not use tr:setActionListener if you are on JSF 1.2, I'm on JSF 1.2 and tr:setActionListener works well. If I shouldn't use it, how can I get the row object of a parent table inside a subtable? Must I step through the component hierarchy? -- Kind regards, Mathias > ignore

RE: [Trinidad] setActionListener before actionListener or partialSubmit with action

2008-04-15 Thread Mathias Walter
Hi, > > > Use action instead of actionListener? Actions are always > fired last. > > > > Yes, I know. But if I use actions, PPR won't work. The > whole page is > > refreshed, regardless of the action outcome. But I'd like > to use PPR. > > Returning null is the correct way to ensure that th

Re: Popups Broken After Upgrade to MyFaces 1.2.2

2008-04-15 Thread Leonardo Uribe
On Tue, Apr 15, 2008 at 4:42 PM, mjovanov <[EMAIL PROTECTED]> wrote: > > I upgraded from MyFaces 1.1.4 to 1.2.2 only to find out all the popups > used > throughout the app would no longer open; instead, a blank popup page > appeared along with an indication of a JavaScript error. I believe the > i

Re: [Trinidad] setActionListener before actionListener or partialSubmit with action

2008-04-15 Thread Andrew Robinson
FYI, you should not use tr:setActionListener if you are on JSF 1.2, ignore this comment if you are still on 1.1. -Andrew On Tue, Apr 15, 2008 at 4:47 PM, Andrew Robinson <[EMAIL PROTECTED]> wrote: > Response inline > > > > > Use action instead of actionListener? Actions are always fired last. >

Re: [Trinidad] setActionListener before actionListener or partialSubmit with action

2008-04-15 Thread Andrew Robinson
Response inline > > Use action instead of actionListener? Actions are always fired last. > > Yes, I know. But if I use actions, PPR won't work. The whole page is > refreshed, regardless of the action outcome. But I'd like to use PPR. Returning null is the correct way to ensure that the navigat

RE: [Trinidad] setActionListener before actionListener or partialSubmit with action

2008-04-15 Thread Mathias Walter
Hi, > Use action instead of actionListener? Actions are always fired last. Yes, I know. But if I use actions, PPR won't work. The whole page is refreshed, regardless of the action outcome. But I'd like to use PPR. I found a solution by myself. Instead of declaring the actionListener as a command

Re: [Trinidad] setActionListener before actionListener or partialSubmit with action

2008-04-15 Thread Andrew Robinson
Use action instead of actionListener? Actions are always fired last. On Tue, Apr 15, 2008 at 3:51 PM, Mathias Walter <[EMAIL PROTECTED]> wrote: > Hi, > > is it possible to use partialSubmit without an actionListener and only with > an action on a tr:commandLink? I tried it, but the whole page is

[Trinidad] setActionListener before actionListener or partialSubmit with action

2008-04-15 Thread Mathias Walter
Hi, is it possible to use partialSubmit without an actionListener and only with an action on a tr:commandLink? I tried it, but the whole page is refreshed not only the relevant part. I'd like to use actionListener, but unfortunatelly a tr:setActionListener will be executed after actionListener. I

Popups Broken After Upgrade to MyFaces 1.2.2

2008-04-15 Thread mjovanov
I upgraded from MyFaces 1.1.4 to 1.2.2 only to find out all the popups used throughout the app would no longer open; instead, a blank popup page appeared along with an indication of a JavaScript error. I believe the issue is related to a change in the MyFaces auto-generated JavaScript; here is a s

Re: acegi and JSF

2008-04-15 Thread Ryan Wynn
Are you using WAS 6.1 by any chance? I fixed a similiar problem just today by setting the following custom was server property to true: com.ibm.ws.webcontainer.invokefilterscompatibility = true That just tells was to invoke filters even if the physical resource does not exist on the filesystem.

Re: acegi and JSF

2008-04-15 Thread Cristi Toth
Hi, here you have also some good articles about acegi + jsf http://www.ibm.com/developerworks/views/java/libraryview.jsp?search_by=securing+acegi But with facelets, be aware that the FilterSecurityInterceptor will be only called correctly on GET requests. On the POST requests the filter will alw

Re: [Trinidad] : 1.0.8 Snapshot and http://issues.apache.org/jira/browse/TRINIDAD-812

2008-04-15 Thread Ana Tatavu
I downloaded the latest snapshot jars from http://people.apache.org/repo/m2-snapshot-repository/org/apache/myfaces/trinidad/trinidad-impl/1.0.8-SNAPSHOT/ I opened the patches for the 812 item, I did a search in the jars and I couldn't find the SelectItemGroup word in any of the jars I tried t

Re: [Trinidad] : 1.0.8 Snapshot and http://issues.apache.org/jira/browse/TRINIDAD-812

2008-04-15 Thread Andrew Robinson
It appears as if the SVN commits are there: http://issues.apache.org/jira/browse/TRINIDAD-812?page=com.atlassian.jira.plugin.ext.subversion:subversion-commits-tabpanel Is it a matter of you are not seeing the changes, or that the changes do not fix your problem? -Andrew On Tue, Apr 15, 2008 at 1

[Trinidad] : 1.0.8 Snapshot and http://issues.apache.org/jira/browse/TRINIDAD-812

2008-04-15 Thread Ana Tatavu
Hi, At the first sight the issue TRINIDAD-812 patch is not part of the latest 1.0.8 snapshot. (SelectItemGroup cannot be found in any of the jars) Do you plan to include the patch in 1.0.8 jars? Thank you, Ana __ Ask a qu

Re: Does trinidad have a drop down menu (menu bar) component?

2008-04-15 Thread Simon Lessard
Hello Dave, There's no real interactive drop down menu like JSCookMenu in Trinidad as of yet. Regards, ~ Simon On Tue, Apr 15, 2008 at 12:18 PM, Scott O'Bryan <[EMAIL PROTECTED]> wrote: > Dave, check out the Trinidad demo under menu... > > The examples can be found in the source distro.. > >

Re: Trinidad rendering problem

2008-04-15 Thread Andrew Robinson
Tomahawk, Facelets, Trinidad and Seam all play well for the most part (Seam components, not the framework, have had issues with Trinidad though). Looks like a filter problem to me. I did not reply as I keep recommending to ppl. to not use RichFaces or A4J with Trinidad, and did not want to beat th

Re: Trinidad rendering problem

2008-04-15 Thread Matthias Wessendorf
On Tue, Apr 15, 2008 at 6:54 PM, Matthias Wessendorf <[EMAIL PROTECTED]> wrote: > No need to resend mails every hour :-) > > I basically never used Seam. > My guess is that something with the filters now went wrong... here is some doc: -http://wiki.apache.org/myfaces/Trinidad_And_Seam -http://wi

Re: Trinidad rendering problem

2008-04-15 Thread Matthias Wessendorf
No need to resend mails every hour :-) I basically never used Seam. My guess is that something with the filters now went wrong... On Tue, Apr 15, 2008 at 6:42 PM, Nuno Sousa <[EMAIL PROTECTED]> wrote: > > > > On Tue, Apr 15, 2008 at 4:03 PM, Nuno Sousa <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I

Re: Trinidad rendering problem

2008-04-15 Thread Scott O'Bryan
Nuno, Can you try removing the tomahawk filter? I've also heard a lot of issues with using Richfaces and trinidad together. Scott Nuno Sousa wrote: Hi, Im using seam+richfaces+trinidad+tomahawk When i was not using tomahawk everything was fine, but now after adding tomahawk i got this me

Re: Trinidad rendering problem

2008-04-15 Thread Nuno Sousa
On Tue, Apr 15, 2008 at 4:03 PM, Nuno Sousa <[EMAIL PROTECTED]> wrote: > Hi, > > Im using seam+richfaces+trinidad+tomahawk > > When i was not using tomahawk everything was fine, but now after adding > tomahawk i got this messages: > > (...) > 15:13:40,095 ERROR [STDERR] 15/Abr/2008 15:13:40 > com.

Re: Does trinidad have a drop down menu (menu bar) component?

2008-04-15 Thread Scott O'Bryan
Dave, check out the Trinidad demo under menu... The examples can be found in the source distro.. Scott Dave wrote: Hi, Does trinidad have a drop down menu (menu bar) component? I looked at development guide, it has a XML menu model, but I could not find the menu bar drop down compnent. Cou

Re: AW: [Trinidad] how to add default selection for Table

2008-04-15 Thread Max Starets
Thomas, Instead of creating a new instance of RowKeySetImpl(), try getting existing one from the table (getSelectedRowKeys()). The exception indicates that the CollectionModel instance on the RowKeySet is null. I expected that the table would set CollectionModel automatically, but apparently

Re: acegi and JSF

2008-04-15 Thread Davide Bonicelli
Hi, I read your post. Why don't you just do this in your login page: Username: Password: I'm using facelets too and I've simply defined a different layout for my login page. I'm planning to move the authentication to a backing bean. Here is a good example o

Re: [myfaces 1.2.2] session timeout issue

2008-04-15 Thread lmk
JSF RI use the parameter :com.sun.faces.clientStateTimeout what about myfaces.? lmk wrote: > > hello, > > I get a strange problem after migration from myfaces 1.1.5 to 1.2.2.. > I send an ajaw request after session timeout, > I get error: > > javax.faces.application.ViewExpiredException: /r

AW: [Trinidad] how to add default selection for Table

2008-04-15 Thread thomas.asel
Hi Max, thanks for your response. I tried this with a binding to method getSelectedRowKeys(), but it ends up with a NullPointerException. The stackdrace does not contain any of my Classes so it looks like an internal error. Here is the method I used: public RowKeySet getSelectedRowKeys(){

Re: enctype="multipart/form-data" and https

2008-04-15 Thread Yann Simon
Hi, The problem was a bug in commons-fileupload-1.2.jar. I updated to commons-fileupload-1.2.1.jar and everything is working perfectly, with an original unchanged tomahawk-1.6 jar file. Yann 2008/4/14, Yann Simon <[EMAIL PROTECTED]>: > Hi! > > I am using: > - JSF 1.2 RI > - Facelets > - Toma

Re: [Trinidad] how to add default selection for Table

2008-04-15 Thread Max Starets
Title: [Trinidad] how to add default selection for Table Thomas, Like you said, you can EL-bind selectedRowKeys. After you instantiate RowKeySetImpl, you can call add() that takes a row key. Since you are using java.util.List as your table's value, the CollectionModel wrapper will use a string

[Trinidad] infinite loop when trying to set selected row / set row index

2008-04-15 Thread thomas.asel
While trying to fix this (http://www.nabble.com/-Trinidad--how-to-add-default-selection-for-Table-td16698321.html) I found a strange behaviour that looks like a bug. The table is defined like this: The method billingAddresses() returns a Collection of BillingAddress-objects. The row displayin

Trinidad rendering problem

2008-04-15 Thread Nuno Sousa
Hi, Im using seam+richfaces+trinidad+tomahawk When i was not using tomahawk everything was fine, but now after adding tomahawk i got this messages: (...) 15:13:40,095 ERROR [STDERR] 15/Abr/2008 15:13:40 com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/C

Re: MyFacesExtensionsFilter exception

2008-04-15 Thread [EMAIL PROTECTED]
Nuno Sousa schrieb: > Thanks Richard and Simon, > I had the tomahawk jar file in my project /lib folder, i though it was > automaticaly moved to JBoss WEB-INF/lib, after building, but i had to > move it manually. > Now i don't have any errors on AP server startup, but the tomahawk > components aren

Hide Column TableSuggestAjax

2008-04-15 Thread JCP
Hi all, Has anyone managed to hide a column in the popup table when using the TableSuggestAjax sandbox component. I see that this question has already been asked but no reply has been supplied yet. Any ideas? Thanks Jean -- View this message in context: http://www.nabble.com/Hide-Column-Tabl

Re: MyFacesExtensionsFilter exception

2008-04-15 Thread Nuno Sousa
Thanks Richard and Simon, I had the tomahawk jar file in my project /lib folder, i though it was automaticaly moved to JBoss WEB-INF/lib, after building, but i had to move it manually. Now i don't have any errors on AP server startup, but the tomahawk components aren't getting rendered, i'm getting

Re: MyFacesExtensionsFilter exception

2008-04-15 Thread [EMAIL PROTECTED]
Tomahawk runs on any JSF implementation. The jboss server currently comes with Sun's JSF implementation (jsf-api.jar and jsf-impl.jar) and that should be enough to run Tomahawk. Richard Yee schrieb: > Nuno, > You need the myFaces-api.jar and myFaces-impl.jar > > -R > > Nuno Sousa wrote: > >> Do I

Re: MyFacesExtensionsFilter exception

2008-04-15 Thread Richard Yee
Nuno, You need the myFaces-api.jar and myFaces-impl.jar -R Nuno Sousa wrote: Do I need to use MyFaces api & imp jars? Because i was using Trinidad without them Thanks for any help On Tue, Apr 15, 2008 at 10:36 AM, Nuno Sousa <[EMAIL PROTECTED] > wrote: Hi,

Re: MyFacesExtensionsFilter exception

2008-04-15 Thread [EMAIL PROTECTED]
Tomahawk works fine on Sun's JSF implementation; the Myfaces api and impl jars are not needed. It just looks to me like you do not have tomahawk's jarfile in your webapp's WEB-INF/lib dir. I cannot think what else would be wrong. Regards, Simon Nuno Sousa schrieb: > Do I need to use MyFaces api

Tomahawk StringIndexOutOfBoundsException.

2008-04-15 Thread Pavan Shahi
Hi guys, I am using tomahawk component in my application it is working fine with normal window. But when I use this component in popup window component throws java.lang.StringIndexOutOfBoundsException. I have tried these ways to open a popup window 1. Using "target" attribute of command l

Re: sandbox - tableSuggestAjax, security alert in IE

2008-04-15 Thread Aart Verweij
Hi Andrew, I have a similar problem with the modalDialog; IE complains about unsecure items over HTTPS, which is caused by the modalDialog's iframe not having a src-attribute. The Tomahawk-sandbox version I use is 1.1.7-SNAPSHOT. I do use the ModalDialogRenderer. Perhaps the renderer could be ex

Re: MyFacesExtensionsFilter exception

2008-04-15 Thread Nuno Sousa
Do I need to use MyFaces api & imp jars? Because i was using Trinidad without them Thanks for any help On Tue, Apr 15, 2008 at 10:36 AM, Nuno Sousa <[EMAIL PROTECTED]> wrote: > Hi, > > I'm using seam+richfaces+trinidad+tomahawk and i'm having this Exception: > > (...) > 10:07:18,059 INFO [Compo

MyFacesExtensionsFilter exception

2008-04-15 Thread Nuno Sousa
Hi, I'm using seam+richfaces+trinidad+tomahawk and i'm having this Exception: (...) 10:07:18,059 INFO [Component] Component: treeTable, scope: EVENT, type: JAVA_BEAN, class: org.apache.myfaces.tomahawk.treetable.TreeTable 10:07:18,063 INFO [Contexts] starting up: org.jboss.seam.security.facesSe

[Trinidad] how to add default selection for Table

2008-04-15 Thread thomas.asel
Hi all, Im facing a problem with a tr:table that uses rowSelection="single". Depending on the displayed data, one Row should be selected as default. The selectedRowKeys-attribute takes an EL-expression that points to a RowKeySet. Since there aint no way to simply add a row-index to the keyset, I