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
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
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
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
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
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
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
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
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
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
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
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,
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
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
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
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
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
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
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:
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
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,
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
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
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
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() {
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
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
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:
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
52 matches
Mail list logo