Re: Tobago sheet using jdbc ResultSet example request

2006-03-06 Thread Bernd Bohmann
John schrieb: Thank you very much for the example. The trick seems to be having a function called 'select' within the backing bean, which tobago's sheet looks for to return data into the resultSet which has been provided within the sheet's value. Yes? No, the select method is for the detail

Can I customize Validation Error Message

2006-03-06 Thread Anthony Hong
If I write this in this way, h:inputText id=txtDebtorLimit size=20 value=#DebtorController.currentDebtor.limit}/ h:message for=txtDebtorLimit errorClass=error_message/ when error occured, it shows: txtCustomerID Value is required. But I want to change txtCustomerID to support mulit language, it

Re: Portlet support - multiple instances of a portlet.

2006-03-06 Thread Patrick Dalla Bernardina
From JSR 168. PLT.15.2 Session Scope PortletSession objects must be scoped at the portlet application context level. Each portlet application has its own distinct PortletSession object per user session. The portlet container must not share the PortletSession object or the attributes stored in

RE: how to run MyFaces examples on SunApplication Server 8.2 ???? URGENT!

2006-03-06 Thread Jesse Alexander \(KBSA 21\)
In such a case extracts form the server-logs might help more... Have yo checked: http://wiki.apache.org/myfaces/Installation_and_Configuration? hth Alexander From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of DuduSent: Monday, March 06, 2006 1:47 PMTo: MyFaces

RE: Can I customize Validation Error Message

2006-03-06 Thread sia far
One quick way to do it is to use t:message and the attribute summaryFormat. You can take a look at the api at http://myfaces.apache.org/tomahawk/tlddoc/index.html From: Anthony Hong [EMAIL PROTECTED] Reply-To: MyFaces Discussion users@myfaces.apache.org To: MyFaces Discussion

Re: Can I customize Validation Error Message

2006-03-06 Thread Hubert Rabago
Can I do that? Is that means I have to rewrite all validator in My Faces implementation? Why rewrite? Reuse! Take a look at Shale's Commons Validator [1] support. The messages are controlled by a properties file you can customize, and you can even specify a unique message for a particular

DataTable/ DataScroller - Problem with changing Data

2006-03-06 Thread Christian Schmülling
Hello. DataTable and DateScroller works fine most time. I got a problem with changing data in my dataTable. For example: - I've a result with 3 pages. - I scroll to page 3. - I change data on the same site. So data in dateTable has changed. The result size gets smaller! - My dataTable should

Re: Can I customize Validation Error Message

2006-03-06 Thread Enrique Medina
Hi Anthony,I think you want to have the exact keys for the messages used by Myfaces by default.If you're using myfaces-all.jar, open it with Winrar or Winzip or whatever zipping tool, and go to javax/faces. You will find several properties files. If you open the Messages.properties, you will find

Re: Two row entries on dataTable?

2006-03-06 Thread Andrew Robinson
The tomahawk or JSF datatable cannot do this. There is no support for colspan. If you want this, you have to use ADF's table (this discussion has been brought up before BTW), or write your own component, or use one column and layout the items in that column yourself. -Andrew On 3/6/06, Alexander

Re: duplicate id problem

2006-03-06 Thread Andrew Robinson
1) you can't 2) it is a myfaces bug 3) you need to use myfaces nightlies For some reason this major bug was not fixed in the stable release of myfaces. It seems like all 1.1.1 bugs are only fixed in the nightlies, which unfortunately leaves us with no stable and production quality JSF

RE: WebSphere 6.0 JSF implementation change for MyFaces

2006-03-06 Thread CONNER, BRENDAN \(SBCSI\)
Title: Message I'd be interested in that as well. The "official" way that IBM seems to recommend is to use PARENT_LAST class-loading, which will cause the server to look at the classes withinthe application JARfiles before those in the server JAR files. However, this causes other problems

DataTable columns

2006-03-06 Thread Marco Mistroni
Hello all,i was wondering, with a datatable how can i display 'more than 1 row of data' on the same table row.Let me explain betterSuppose i have a dataTable containing n of MyObject objects (with two properties, propA and propB) instead of displaying one object per table row, is it possible to,

Re: DataTable columns

2006-03-06 Thread Andrew Robinson
The best thing I can think of is to have your objects grouped in the bean. For example: public ListListBean getData(); t:dataTable var=innerList value=#{mybean.data} Then you can put as many beans per row as you want. The innerList variable would be a ListBean. -Andrew On 3/6/06, Marco

Re: DataTable columns

2006-03-06 Thread Jana Parvanova
Maybe Tomahawk's Newspaper table could help you? http://myfaces.apache.org/tomahawk/newspaperTable.html - Original Message - From: Marco Mistroni [EMAIL PROTECTED] To: MyFaces Discussion users@myfaces.apache.org Sent: Monday, March 06, 2006 6:13 PM Subject: DataTable columns Hello

Re: DataTable columns

2006-03-06 Thread Marco Mistroni
Thanx Jana, that's exactly what i need ..regardsmarcoOn 3/6/06, Jana Parvanova [EMAIL PROTECTED] wrote: Maybe Tomahawk's Newspaper table could help you? http://myfaces.apache.org/tomahawk/newspaperTable.html- Original Message -From: Marco Mistroni [EMAIL PROTECTED]To: MyFaces Discussion

myfaces popup question

2006-03-06 Thread Yixing Ma
Hi, I have a question about tree2 and popup. Something like the attached picture. For each element of the tree, I have a popup window which has some optional actions (commandLinks). Like in the picture, for those five programs, they all have Delete Program action that is implemented by

Urgent help needed: AA question and JSF state. Size limit on AJAX?

2006-03-06 Thread Andrew Robinson
Okay, the AjaxAnywhere forum is pretty hard to get a response. I'm hoping for some help here. I have found a possible bug that is completely killing what I need to do. I need to have new controls within my AjaxZone (posting back in my AjaxZone changes the view state). Since MyFaces cannot handle

jenia popup w/ input text

2006-03-06 Thread Richard Frazer
Has anybody tried something like this: jp:popupBox f:facet name=buttonUser Id/f:facet f:facet name=content h:panelGrid columns=3 Filter h:inputText id=userIdFilter value=#{userListBean.userIdFilter}/ h:commandLink value=go action=#{userListBean.filter}/ /h:panelGrid

RE: Tobago sheet using jdbc ResultSet example request

2006-03-06 Thread John
Ok. My bean is retrieving 2 rows, but they are not being displayed. In the definition of the tobago sheet, the var definition: It's arbitrary, I'm assuming and doesn't map to any real variables in any beans. Ok. So assuming a var definition of: QuarantineRec Then in the t:outs if I'm using:

Re: Strange problems when including

2006-03-06 Thread Mike Kienenberger
On 3/6/06, Jana Parvanova [EMAIL PROTECTED] wrote: I met another problem when making a static include of another page - this time with Tomahawk's selectOneRadio. After submit (immediate) the submitted value of the binding component is null. When the page fragment is not included and is put

Re: jenia popup w/ input text

2006-03-06 Thread Mike Kienenberger
Oops. Dropped the list from the reply. On 3/6/06, Mike Kienenberger [EMAIL PROTECTED] wrote: What happens if you stick the expression in a comment or elsewhere outside your popup box (as close to the top-level as possible)? Facelets will evaluate it even inside of a comment. Or better yet,

Re: Tobago sheet using jdbc ResultSet example request

2006-03-06 Thread Bernd Bohmann
John, please send the sheet jsp and the definition of the table. Maybe a case-sensitive problem. Bernd John schrieb: Ok. My bean is retrieving 2 rows, but they are not being displayed. In the definition of the tobago sheet, the var definition: It's arbitrary, I'm assuming and doesn't map

RE: Tobago sheet using jdbc ResultSet example request

2006-03-06 Thread John
That's what I thought - so I changed it to uppercase. Didn't affect the results. createTableStatement.execute(CREATE CACHED TABLE quarantine(FILENAME CHAR(64), SENDER CHAR(128), RECIPIENT CHAR(128), SUBJECT CHAR(128), FILTEREDBY CHAR(24), MATCHTEXT CHAR(128), CONSTRAINT cQuarPRI PRIMARY KEY

myfaces popup coodination (x,y) difference in IE and (Netscape,Mozilla, firefox)

2006-03-06 Thread Yixing Ma
What should I set to displayAtDistanceX and displayAtDistanceY? The location of the popup in IE and (Netscape,Mozilla, firefox) is different. Did anyone have the same problem? Thanks for help, Yixing Ma

Re: Urgent help needed: AA question and JSF state. Size limit on AJAX?

2006-03-06 Thread Andrew Robinson
Okay found the issue, never mind. It is a bug in AjaxAnywhere. The JS code doesn't handle the firefox results correctly On 3/6/06, Andrew Robinson [EMAIL PROTECTED] wrote: More information: This works fine in IE, but fails in firefox. In the AjaxAnywhere.prototype.callback = function() {

Re: Tobago sheet using jdbc ResultSet example request

2006-03-06 Thread Bernd Bohmann
Please remove the state attribute it should be a ref to a SheetState Instance. Please remove showRowRage, showDirectLinks and directLinkCount attributes they make no sense for a dataModel for a resultSet because the dataModel returns rowCount -1 for a resultSet. Can you send me the

problems with enconde in jdbc connection on linux

2006-03-06 Thread Dudu
My application runs well on windows but on the linux, some characters is showed wrong...the 'ç' is switched by a '?' in the browser...I'm using a firebird database.. in the connection string i put the parameter 'lc_ctype=unicode' but is not working... What more I need to set up on linux

RE: Tobago sheet using jdbc ResultSet example request

2006-03-06 Thread John
No change except no rows found is not reported. package com.pop3gateway; import com.pop3gateway.MessageObject.*; import java.util.HashMap; import java.util.*; import java.io.Serializable; import java.io.*; import java.sql.*; /** * pTitle: Extensible Messaging Platform/p * pDescription:

RE: myfaces popup coodination (x,y) difference in IE and (Netscape,Mozilla, firefox)

2006-03-06 Thread Lance Frohman
If your html element is nested inside another (div, Iframe, ...) the x,y will be reported differently between the different browsers. I think I.E. gives the absolute x,y and Netscape/ Mozilla/Firefox is relative to the parent element, so you need to use _javascript_ to add up successive

Re: Tobago sheet using jdbc ResultSet example request

2006-03-06 Thread Bernd Bohmann
Are you sure that getRslt() returns not null? And can you check that the resultSet contains rows? John schrieb: No change except no rows found is not reported. package com.pop3gateway; import com.pop3gateway.MessageObject.*; import java.util.HashMap; import java.util.*; import

Duplicate ID reproduced in MyFaces nightlies

2006-03-06 Thread Andrew Robinson
Use case: Facelets being included in a page. The children of the component have their renderer flag set based on a backing bean state. Image buttons (commandLink with graphicImage under it) are changed based on the current state using c:choose/c:when/c:otherwise. Using AjaxAnywhere to post back to

Drinking beer in Vienna/Austria

2006-03-06 Thread Mario Ivankovits
Hi! I'll invite everyone who has some time to a meeting in vienna/austria. Location: Ma Pitom Date: 28.3.2006 Time: 18:30 We have no free stickers, no t-shirts or any other gift, just a meeting to drink a beer - or two - maximum. You meet me (if this is of any interest) and some guys from the

Re: Drinking beer in Vienna/Austria

2006-03-06 Thread Martin Marinschek
Yes, of course, one beer maximum! (at a time, per person ;) regards, Martin On 3/6/06, Mario Ivankovits [EMAIL PROTECTED] wrote: Hi! I'll invite everyone who has some time to a meeting in vienna/austria. Location: Ma Pitom Date: 28.3.2006 Time: 18:30 We have no free stickers, no

Re: myfaces popup coodination (x,y) difference in IE and (Netscape,Mozilla, firefox)

2006-03-06 Thread Andrew Robinson
If you want x y css co-ordinates to be relative to your parent, the parent must be a positional element, not an inline element. Typically the HTML/BODY tag is the reference as it is the positional element. If you set your parent position:relative, then all top left CSS attributes of children

Re: Duplicate ID reproduced in MyFaces nightlies

2006-03-06 Thread Andrew Robinson
SOLVED! Posting this here for others that get the same error. Jacob solved my whole 1.1.1 duplicate ID problem. The culprit is the JSTL tag support in facelets combined with ID generation in MyFaces. The c:if or c:choose/c:when/c:otherwise are causing components to be added subtracted into my

RE: Drinking beer in Vienna/Austria

2006-03-06 Thread CONNER, BRENDAN \(SBCSI\)
Next time, if you schedule it on a Saturday, I'll schedule a long weekend and fly out to participate - Brendan -Original Message- From: Mario Ivankovits [mailto:[EMAIL PROTECTED] Sent: Monday, March 06, 2006 2:51 PM To: MyFaces Development; MyFaces Discussion; Jakarta Commons Users

Load-Tests

2006-03-06 Thread Martin Marinschek
Hi *, anyone willing to share their JMeter configuration scripts for load-testing (our huge production level app with 200+jspx files) with us? The app runs fast, but we want to be even faster - MyFaces performance. We want more of it ;) regards, Martin -- http://www.irian.at Your JSF

Re: Tobago sheet using jdbc ResultSet example request

2006-03-06 Thread Bernd Bohmann
Have you played with my example? I can't see the problem maybe i have to setup a own example with your content but this takes some time. Good Night Bernd John schrieb: Yes. I verified within the GetRslt() that there are rows being returned. I did a System.out.println(rslt.getRow()) John

Re: Can I customize Validation Error Message

2006-03-06 Thread Anthony Hong
Yes, I can redfine it in my properties. What I mean is I want to use current my faces message in detail mode but I don't want it output for id eg: javax.faces.component.UIInput.REQUIRED_detail = {0}: Value is required. I want it to be javax.faces.component.UIInput.REQUIRED_detail = Value is

action link

2006-03-06 Thread David Schlotfeldt
I need a way to have a URL that will cause a JSF action to take place. Anyone know of a way? (For an example, lets say I need to put the link in an email.) All I find are hackerish javascript solutions to this issue. Would it be possible to create a version of the commandLink that didn't

[ANNOUNCE] MyFaces Core 1.1.2 Ready For Testing

2006-03-06 Thread Sean Schofield
We now have a stable 1.1.2 build of the MyFaces Core ready for testing. You can find the build at http://cvs.apache.org/builds/myfaces/nightly/. Please be sure to test the core 1.1.2 snapshot *only*. The rest (including core 1.1.3) is nightly stuff that is automatically produced from the trunk

Re: action link

2006-03-06 Thread Craig McClanahan
On 3/6/06, David Schlotfeldt [EMAIL PROTECTED] wrote: I need a way to have a URL that will cause a JSF action to take place.Anyone know of a way? (For an example, lets say I need to put the linkin an email.)All I find are hackerish _javascript_ solutions to this issue. Would it be possible to

Re: [ANNOUNCE] MyFaces Core 1.1.2 Ready For Testing

2006-03-06 Thread Andrew Robinson
Is it possible to support the sandbox in these nightly builds as well as tomahawk? (create archives for sandbox just like those of the tomahawk) On 3/6/06, Sean Schofield [EMAIL PROTECTED] wrote: We now have a stable 1.1.2 build of the MyFaces Core ready for testing. You can find the build at

Re: action link

2006-03-06 Thread Mike Kienenberger
See this page for other ideas: http://wiki.apache.org/myfaces/InvokingJsfPagesWithStandardUrls The NonFacesRequestServlet seems particularly popular for solving this problem. On 3/6/06, David Schlotfeldt [EMAIL PROTECTED] wrote: I need a way to have a URL that will cause a JSF action to take

Re: [ANNOUNCE] MyFaces Core 1.1.2 Ready For Testing

2006-03-06 Thread Sean Schofield
We'll look into that after the release. I think the exclusion was deliberate since the sandbox is not officially supported but I think that it would probably be helpful to have the sandbox stuff available to users without them having to build it themselves. Sean On 3/6/06, Andrew Robinson

javascript function getScrolling()

2006-03-06 Thread Ken McArthur
Sometimes I'm returning to the same jsp page after executing an action. Page is rebuilt fine but position in browser returns to where I was. Looks like culprit is _javascript_ function called getScrolling(). Anyone know how to suppress this _javascript_? I've put into my body tag but load now

1.1.3 and 1.1.2 SNAPSHOT which one to use?

2006-03-06 Thread Yee CN
Hi, I see myfaces-core 1.1.2SNAPSHOT and myfaces-core 1.1.3SNAPSHOT in nightly. What are the differences? Which one should I use? Many thanks in advance. Regards, Yee

t:panelNavigation

2006-03-06 Thread Garner Shawn
I have a panel navigation.The structure of the links ist:panelNavigation id=panelNavigation1 ...t:commandNavigation id=productLink2 action="" value=Software Products t:commandNavigation id=exampleProductLink2 action="" value=Example Product t:commandNavigation id=exampleProductDownloadLink2

t:dataTable

2006-03-06 Thread Le Van
Hi all, I met a problems with t:dataTable. At my search.jsp, when user enter right value, search action do and the results display on the table. When user enter bad value, error occur ( validation, conversion), then the user enter right input value again, the search action still get right

RE: 1.1.3 and 1.1.2 SNAPSHOT which one to use?

2006-03-06 Thread Yee CN
I found the answer. Sorry for the trouble. Regards, Yee From: Yee CN [mailto:[EMAIL PROTECTED] Sent: Tuesday, 7 March 2006 1:13 PM To: 'MyFaces Discussion' Subject: 1.1.3 and 1.1.2 SNAPSHOT which one to use? Hi, I see myfaces-core 1.1.2SNAPSHOT and myfaces-core

Re: Strange problems when including

2006-03-06 Thread Jana Parvanova
Yes. It does not help. :( - Original Message - From: Mike Kienenberger [EMAIL PROTECTED] To: MyFaces Discussion users@myfaces.apache.org Sent: Monday, March 06, 2006 8:39 PM Subject: Re: Strange problems when including On 3/6/06, Jana Parvanova [EMAIL PROTECTED] wrote: I met

Re: javascript function getScrolling()

2006-03-06 Thread Jana Parvanova
I think you could change this behaviour by changing context-param param-nameorg.apache.myfaces.AUTO_SCROLL/param-name param-valuetrue/param-value /context-param in your web.xml to context-param param-nameorg.apache.myfaces.AUTO_SCROLL/param-name param-valuefalse/param-value /context-param