?
If not, what is involved in writing a ResourceResolver?
This incompatibility is preventing me from using MyFaces 2.2 with Karaf v3.0.x
Paul Spencer
On Sep 6, 2014, at 6:49 PM, Leonardo Uribe lu4...@gmail.com wrote:
Hi
The line that throw the exception has this code:
String alias
)[638:org.apache.myfaces.core.impl:2.2.4]
Paul Spencer
On Sep 5, 2014, at 8:09 PM, Paul Spencer pau...@apache.org wrote:
I enabled TRACE logging to provide more information. Notice the URL starts
used to create the facelet.
2014-09-05 19:59:31,889 | TRACE | qtp2017355996-82
://github.com/ops4j/org.ops4j.pax.web/tree/master/samples/war-jsf-primefaces
Paul Spencer
Facelet used to
create View Metadata for: bundle://636.1:0/helloWorld.xhtml
2
Paul Spencer
On Sep 5, 2014, at 7:46 PM, Paul Spencer pau...@apache.org wrote:
I am getting the following exception when browsing to a JSF page when using
MyFaces 2.2.4 and Karaf 3.0.1. No exception is thrown
I am looking for a features.xml to easily install the MyFaces bundle and its
dependent bundles into Karaf. I looked in the MyFaces website, but only found
the bundle. Does such a file exist? If so, where?
Paul Spencer
=#{flowScope.firstName}
location=/campaigns/campaigns.xhtml at line 76 and column 82/ - State
size:246 bytes
***
* Scopes Value
***
Request Parameters
Name Value
j_id_s:firstName
j_id_s:j_id_x Continue
j_id_s_SUBMIT 1
jfwid -lbh0f813a
Is this normal?
Paul Spencer
to enable CDI?
Paul Spencer
=text-align: center; color: black; background-color:
white;
ui:insert name=page_title /
/h1
/ui:component
/body
/html
Paul Spencer
in the parts you need an ui:define
to be taken into account when the templates are resolved.
regards,
Leonardo Uribe
2014-07-01 9:29 GMT-05:00 Paul Spencer p...@intekon.com:
Using MyFaces 2.2.3
The intent is for the contents of the ui:define variable page_title to
appear both in the browser
The caption facet is not document for the tag h:datatable.
http://myfaces.apache.org/core22/myfaces-impl/tagdoc/h_dataTable.html
Should I create an issue for this?
Paul Spencer
+state:results
Paul Spencer
On Jun 3, 2011, at 4:35 AM, Iratxe Lejarreta wrote:
Hi,
I have downloaded Trinidad examples but I can't deploy the war files with
tomcat.
I tried with the following versions:
- Apache MyFaces Trinidad 2.0.0
- Apache MyFaces Trinidad
matches the EL in the column value, #{row.column_0}.
Paul Spencer
On Jun 1, 2011, at 8:42 PM, Paul Spencer wrote:
Trinidad v2.0.0
I am creating a table in Java and saving as the managed bean #{dynamicTable}.
Setting the Value property is working, by the Var does not. I know
.
ValueExpression columnValue = ef.createValueExpression(elContext,
#{row.column_ + i + },
Object.class);
outputText.setValueExpression(VALUE_KEY.getName(), columnValue);
Am I setting the correct property for the row variable?
Paul Spencer
I would like to use a database instead of properties files as the source of the
resource bundle used for displaying text on a web page. So instead of a
properties file for each locale, the locale, key, and values would be stored in
a database.
What is the best way to implement this?
Paul
);
}
Paul Spencer
[1] http://myfaces.apache.org/trinidad/skin-selectors.html
a blue line 5 px high?
2) How to I display a box above the name of the stop?
It appears the css selector af|train::stop is used, but how do
I use the selector is use to an icon and text position?
3) How do I change set Plus One navigation for the train?
Paul Spencer
_ Name 2_ Name 3
_ Name 4 _ Name 5_ Name 6
_ Name 7 _ Name 8_ Name 9
Paul Spencer
On Feb 2, 2009, at 9:24 AM, Omar Elprince wrote:
I am not sure if I understand what your question? Could you
elaborate more?
If the columns are in table.
If would be help full if you
How can I display checkboxes in columns?
As an example I need to display 2 columns of names. Each name is
selectable. Displaying the list in one column or row would force the
user to scroll around the page to see all of the names.
Paul Spencer
used by many applications?
What are the future plans for pageFlowScope?
Is their a JSF 2.0 equivalent?
Are the other solutions I should look into?
Paul Spencer
[1]http://myfaces.apache.org/trinidad/devguide/communicatingBetweenPages.html#pageFlowScope
Andreas,
As I understand it, the h:form tag is required by the JSF 1.x spec.
Prior versions of Tomahawk did support command buttons outside of
h:form, but that has been removed.
Paul Spencer
Andreas Niemeyer wrote:
Hi,
Is there a more `html' friendly way to create a faces link without
Simon Kitching wrote:
Paul Spencer schrieb:
I am dynamically adding child components to a form via the forms's
binding, h:form .. binding=#{myBean.form} /. My current challenge
is related to the valueChangeListner. Specifically the listener is
not called on the first change, but is called
the property being changed is updated in the response as
expected on both the first and second change.
1) Any ideas why I am seeing this behavior out of the listener?
2) Are their some issues/pointers/pitfalls I should be aware of when
dynamically adding child components to an existing bean?
Paul
/dependency
I am using version 1.0, not 1.2 like Stephan. I do not know the difference.
Paul Spencer
Stefan Hedtfeld wrote:
Hi,
it is part of java ee5. Using maven you can include the following
dependency (not sure which version you need - 1.2 is the latest I found):
dependency
groupIdjavax.el
:
presNameComp.addValueChangeListener(valueChangeListener);
The input text components in the form and in the column are defined the
same way, so I am not sure why the listener is not called for the input
text in the column. The components correctly display their values.
Ideas?
Paul Spencer
not work
Suggestions?
Paul Spencer
Andrew,
This works.
Thank you.
Paul Spencer
Andrew Robinson wrote:
Oops, here is a better version:
FacesContext facesContext = FacesContext.getCurrentInstance();
CoreInputText childComponent = childComponent = (CoreInputText)
facesContext.getApplication().createComponent
Spencer
Paul Spencer wrote:
Trinidad 1.2.9 MyFaces 1.2.3
I want to use rowsByDepth to control the vertical space occupied by
the tree. Below is the tag I am using to limit any level to 3 rows. It
is adapted form the Tree Table example[1], but I am not seeing the
pagination rows.
tr:treeTable
Thank you for the responses. I will look into the options.
Paul Spencer
Andrew Robinson wrote:
An easier alternative is for you to write an EL function that does the
conversion. For example:
rowsByDepth=#{myLib:convertToIntArray('1 2 3 4 5')}
-Andrew
On Wed, Aug 27, 2008 at 2:10 PM, Andrew
=#{enterprise.model}
rendered=true
rowsByDepth=3
initiallyExpanded=true
summary=Demo of treeTable
binding=#{enterprise.table}
Suggestions?
Paul Spencer
[1] http://www.irian.at/trinidad-demo/faces/components/treeTable.jspx
Joris,
I am using the Tomahawk component, t:columns, inside a t:dataTable.
The table is inside a Trinidad component. I do not know the answer to
you question.
I suggest you pose the question in a new post with an appropriate subject.
Paul Spencer
Joris Kimpe wrote:
Thanks Paul
Joris,
I am doing something similar using t:columns. Their is documentation
on the wiki when this component was in the sandbox [1].
Paul Spencer
[1]http://wiki.apache.org/myfaces/Dynamic_Columns?highlight=(columns)
Joris Kimpe wrote:
Hi all,
I have a number of counters that I want to show
Is this a bug in the css parser?
Thanks,
Jeanne
Paul Spencer wrote, On 5/19/2008 8:51 AM PT:
I would like to to remove buttons from printed copies of a web page.
To do this using CSS, I simply add @media print{ myStyle{
display:none;}} This does appear to where with Trinidad. I tried
How do I set location of appAbout facet of tr:Page to lower left
corner of the page?
I want the page footer to have appAbout on the left side and
appCopyright centered.
version 1.0Copyright 1999 foo.com
Paul Spencer
(my_print_style.css) print;
Suggestions?
Paul Spencer
Simon,
What about jsp:include?
Paul Spencer
Simon Lessard wrote:
Hello Paul,
You could use tr:icon and define your branding as an icon in the skin, thus
centralizing the link to it. It's not as perfect as using a template, but if
you cannot use Facelets, I guess it's the best way.
Regards
maxFractionDigits=0 /
/t:outputText
Displays Mean idle time is 6.977 minutes as tool tip.
I prefer Mean idle time is 7 minutes. The question is how can I
format the text?
Paul Spencer
I would like to share a common branding across many pages, i.e. the
logo, and do it in such a way that changes to the branding only need to
be made in one place. What are the options to do this?
Paul Spencer
Simon,
What about jsp:include?
Paul Spencer
Simon Lessard wrote:
Hello Paul,
You could use tr:icon and define your branding as an icon in the skin, thus
centralizing the link to it. It's not as perfect as using a template, but if
you cannot use Facelets, I guess it's the best way.
Regards
) Assuming the answer to #1 is no, how to I center the contents of
brandingApp
Paul Spencer
that tr:statusIndicator is part of the answer.
My question is how should I do this?
Paul Spencer
Markus,
If no PPR is involved, it gets a bit tricky. You could use a
JavaScript to display some hidden image when the button is clicked.
When page loading is done, it should always be invisible.
Can you expand on this?
Paul Spencer
Markus,
If no PPR is involved, it gets a bit tricky. You could use a
JavaScript to display some hidden image when the button is clicked.
When page loading is done, it should always be invisible.
Can you expand on this?
Paul Spencer
.
Is this a restriction, a bug, or am I missing something?
Paul Spencer
[1]http://myfaces.markmail.org/search/%22/faces/*%22%20%22*.jsf%22%20servlet%20mapping%20ADFv?page=1
?
What do you use for Target of the desired menu item for the click command?
Paul Spencer
Svi,
Thank you point me to user-extensions. I was hoping for a simpler
solution :)
Paul Spencer
Svilen Ivanov wrote:
Hi,
I use selenium to test t:tree2. My problem was how to locate the [+]
or [-] icon in front of specific node. I ended up writing my own
locator (in selenium terms
Paul Spencer
[1] http://maven.apache.org
Anupama Dande wrote:
Hi,
I am running Trinidad + Facelets + JSF web application from Eclipse.
Whenever I try to publish the webapp from eclipse (Using eclipse default
build file) it sometimes deploys only WEB-INF\classes and I have to copy
other files
on the MyFaces wiki site that may
be helpful.
http://wiki.apache.org/myfaces/Eclipse_IDE
http://wiki.apache.org/myfaces/Using_MyFaces_in_a_Project_built_with_Maven
Paul Spencer
are Anupama Dande wrote:
Hi Paul,
Isn't Maven like ANT, java based build tool, that uses pom.xml instead
of build.xml
. This definition tests Tomahawk using the RI, instead of
MyFaces.
Paul Spencer
Grant Smith wrote:
Following up to dev list...
Looks like the Tomahawk maven build is failing from continuum with:
Missing:
--
1) javax.servlet.jsp:jsp-api:jar:1.2.0
Wendy, do you know if we have
Paul Spencer
DZISIAK Jean-Paul wrote:
Hello,
It seems that a NavigationMenuItem is unable to display both a label *and* an icon. It can however display only one of them.
Moreover when an icon is displayed a 1px border is displayed. Id'd like to get
rid of it. How can this be achieved
Eric,
The table must be inside a h:form
Paul Spencer
[EMAIL PROTECTED] wrote:
Hi,
I'm trying to get t:column/ elements to display custom
ascending/descending sort arrows. I've converted the following code (which
works well but displays the default text sort arrows):
t:column sortable
sort property for column [totalWasteLbsColumn]
Adding the attribute sortPropertyName to t:column resolves both problems,
but why is this
necessary?
Is this a bug?
Paul Spencer
You can get the current TLD documentation from the Project Information section
for each project
on the MyFaces website. In the case of Tomahawk see
http://myfaces.apache.org/tomahawk/project-reports.html
Paul Spencer
fischman_98 wrote:
To All:
Is there tld link for the latest 1.1.5
: The second property is not rendered when the first property is true. This
works
as expected.
Any ideas how to force the validation to use the new value of the first
property when
the first value changes?
Paul Spencer
changing the loggging setting [2] to see what MyFaces is doing.
Although I am using sortable table with Tomahawk 1.1.5, I have not used
t:commandSortHeader
Paul Spencer
[1]
http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/examples/simple/src/main/webapp/sortTable.jsp?view=markup
[2] http
should NOT display the list of
selectedSignals and perform not validation on selectedSignals.
Paul Spencer
Mike Kienenberger wrote:
Paul, this should work, although I'd expect some issues with
cross-validation. Ie, i'd put the checkbox in a subForm so you can
toggle it even when the list
Micheal,
The artifacts exist in the repository repo1.maven.org/maven2. They also
exist in ibiblio.
Paul Spencer
Zohner, Michael wrote:
Hi,
When will it be available in maven repository ?
regards
-Original Message-
From: Martin Marinschek [mailto:[EMAIL PROTECTED]
Sent: 19
inside a
valueChangeListener so the updated value is not overwritten?
Paul Spencer
Spencer
Mike Kienenberger wrote:
http://myfaces.apache.org/sandbox/tlddoc/s/valueChangeNotifier.html
I've never used it as
t:updateActionListener/f:setPropertyActionListener has always worked
in my own use cases.
On 4/13/07, Paul Spencer [EMAIL PROTECTED] wrote:
I have a bean with 2 fields, state
Kevin,
Please post a question to only 1 list, in this case the user list.
Paul Spencer
kevin wu wrote:
Are there mature JSF WAP components in MyFaces or the other JSF implements?
Where can I find them?
Mikael,
I suggest the action should spawn a thread or post a todo for another
thread/process to do the actual work. This way the action will return
quickly.
Paul Spencer
Mikael Andersson wrote:
Hi,
I'm afraid I don't quite understand.
First a little more on my problem:
I have a page
Iakouchev,
I see the same behavior.
I was expecting one of the following behaviors:
1) The row bean that was expanded before the sort would be expanded
after the sort.
2) No rows would be expanded after the sort.
Paul Spencer
Iakouchev Alexander-EAL027C wrote:
I experienced a sorting
} /
/f:facet
h:outputText value=#{vehicle.vehicleId} /
/t:column
...
/t:dataTable
Thank you,
Paul Spencer
Cooper, Stephen wrote:
You need to specify
rowId=#{ pcbLab.someUniqueIdentifier}
That should address the issue you're seeing.
Coop
_
From: Iakouchev Alexander-EAL027C
Pierre,
I am not sure I understand you answer.
Are you saying the HTML generated by t:jscookMenu is
missing input type=hidden name=jscook_action /?
Can you open an issue and submit a patch.
Paul Spencer
Pierre Raoul wrote:
Paul,
I asked a similar question [1]. I suspect their is a bug
://wiki.apache.org/myfaces/Automated_Testing
Paul Spencer
Colin Chalmers wrote:
hi all,
We're developing a site based om MyFaces and Ajax4Jsf.
In order to improve quality and time-to-martket I want to automate the
testing utilising scripts for both regression and load testing. Our
tester says
Pierre,
I asked a similar question [1]. I suspect their is a bug because the
action is not called when the menu item is clicked. I do not think
you want the action called when the menu item is generated, which
would occur when the EL is evaluated.
Paul Spencer
[1]http://www.mail-archive.com
', 'navForm_navMenu_menu:A]dialog:addVendor',
'navForm', null]
The following does start the dialog:
h:commandButton action=dialog:addVendor value=Add Vendor/
Why do t:navigationMenuItem and h:commandButton behave differently
when using the same action?
Paul Spencer
Jeff,
I am not sure of the correct behavior. Have you tested with Sun's RI?
Paul Spencer
Jeff Bischoff wrote:
Greetings colleagues,
I have used in my web pages a pattern that apparently was not safe, yet
it worked fine with all versions of MyFaces until the current trunk
(1.1.5
is referencing the property, not the getter.
Paul Spencer
Aneesha Govil wrote:
Hi,
I am trying to integrate my JSF pages with an existing JSP application. I
have edited a JSP and removed most of JSP stuff in it and added JSF. I
added
a commandButton as follows:
h:commandButton value=Set
Shekar,
From searching MyFace's wiki
http://wiki.apache.org/myfaces/User-role_Awareness?highlight=%28role%29
Paul Spencer
I have not styl9090 wrote:
It would be great if someone helps me in using Tomahawk tabs.
styl9090 wrote:
Hello All,
I am new to myfaces and JSF..
I am using Tomahawk
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.15.22/590 - Release Date: 12/16/2006
5:39 PM
Paul Spencer
Cristi,
Below are some correction to my previous response and additional information.
Paul Spencer wrote:
Cristi,
See below.
Cristi Toth wrote:
Hi,
I am using a t:panelTabbedPane with serverSideTabSwitch turned on
I have some input fields on a tab and others on another tab.
If I enter some
Behi,
Use the layoutWidth attribute of t:selectManyCheckbox
See
http://wiki.apache.org/myfaces/HtmlSelectManyCheckbox?highlight=%28checkbox%29
Paul Spencer
Behrang Saeedzadeh wrote:
Hi,
The default HtmlSelectManyCheckbox only supports two layouts
(pageDirection, lineDirection). I have
Frank,
I suspect you are not running the same version of MyFaces and Tomahawk as
www.irian.at. They are running a recent 1.1.5-SNAPSHOT. For more information
on building the current snapshot see:
http://wiki.apache.org/myfaces/Building_With_Maven
Paul Spencer
Oellien, F (Frank) wrote
Frank,
Yes, Tomahawk does work with Sun's RI.
The attribute newspaperColumns in the t:dataTable was added after
Tomahawk 1.1.3. You can build MyFaces and Tomahawk 1.1.5-SNAPSHOT
just use Tomahawk 1.1.5-SNAPSHOT with Sun's RI.
Paul Spencer
Oellien, F (Frank) wrote:
Hello Paul,
I only use
Jeff,
I am not sure when you mean by that's.
If you are referring to the Sun's RI, no Apache does
not distribute it.
Paul Spencer
Jeff Bischoff wrote:
Oellien, F (Frank) wrote:
Hello Paul,
I only use tomahawk 1.1.3 without the MyFaces implementation in Tomcat.
I thought that tomahawk
process. Their are services, like
HostedQA [2], the can run a Selenium test as a part of the Maven build process.
FYI: If you choose to use Selenium, I strongly suggest using the id attribute on
any tag being test. This will make the test less brittle and more reliable.
Paul Spencer
[1] http
their are integrated framework in the market place, I have
not used any of them.
Paul Spencer
[1] http://maven.apache.org/guides/mini/guide-attached-tests.html
[2] http://www.mail-archive.com/users@maven.apache.org/msg46848.html
lightbulb432 wrote:
If I need to test both business logic and presentation
Any suggestion regarding the use of MyFaces with a Blackberry client?
I need to develop a UI to a Blackberry and would like to use MyFaces, but I
need some advice/pointer/war stories.
Paul Spencer
Marcus,
Please post to ONE list.
Paul Spencer
Marcus Beyer wrote:
Am 30.11.2006 um 15:23 schrieb Gerald Müllan:
Hi,
ok sorry, I have had a quick look on it; it`s right, with client side
tab switching also inputs with type=submit are rendered.
So, there must be some change in the renderer
JS,
I am not sure what you are asking for. A radio button is not a link,
this it can not be used to select a row. See the MasterDetail
example[1] for an example of linking from an detail row.
Paul Spencer
[1]http://example.irian.at/example-simple-20061125/masterDetail.jsf
JS wrote:
Hi
Barf,
Their is a lot in information in the wiki [1]. The MyFaces components
wiki page [2] is good place to find information that has not made it
into the documentation. After that, searching the MyFaces mailing list [3].
Hope this helps.
Paul Spencer
[1] http://wiki.apache.org/myfaces/
[2
Steve,
Just a guess.
example_messages is a bean that is tied to a resource and
nav_Sample_1 is a key property in that resource.
Paul Spencer
barf wrote:
Thanks Paul,
I'll go through those links. If you're still there could you briefly explain
what :
t:navigationMenuItem id=nav_2_1
thing work
as expected :(
1) Is this a bug?
2) Suggested workarounds?
Paul Spencer
What package is HtmlDataScroller in ? Look at you imports.
Paul Spencer
Angelo Luis wrote:
i'm having a unusual ClassCastException in my code, then i do that test and
dont understand this result:
System.out.println(scroller instanceof HtmlDataScroller);
System.out.println(scroller);
12:27
Mjovanov,
I just have time for short answers. You will need to do the research.
1) Media specific CSS Classes may be the answer. This way the user
prints from the browser without the need of a Printable Format page.
2) Shale Dialogs. http://shale.apache.org.
Paul Spencer
mjovanov
Seshireddy,
The short answer is to use CSS Classes. The width can be set with
width property.
Paul Spencer
Seshireddy G wrote:
Hi
I am facing a problem with setting the width for t:column in
t:dataTable.
I want restrict or to wrap the text.
plz help me out in this.
Product then MyFaces.
Paul Spencer
Stephen Osella wrote:
Does anybody know where to get the source files for the examples in the
myfaces-example-simple-1.1.5-SNAPSHOT.war file?
Thanks
, every thing work
as expected :(
1) Is this a bug?
2) Suggested workarounds?
Paul Spencer
should only
display object where row.isInStock() is true.
I know that a new list containing only inStock object can be created and
that list could be passed to t:dataTable, but I have simplified the
example for the purpose of this illustration.
Paul Spencer
John,
I though about adding rendered=#{not row.inStock} to each
h:outputText value=#{row} tag, but the table row will still
exist. In addition I suspect the number of rows displayed will not
match the number of rows defined by the row attribute of t:dataTable.
Paul Spencer
John Ruffin
is to be displayed for 1 second then then
processing state will be checked again.
So how can I implement the above?
Paul Spencer
the JSR?
What is the best way to include 2+ children. In my case I use converters in the
h:outputText/, so they
cannot be combined.
Paul Spencer
That works!
I will add it to the wiki.
Paul Spencer
Mike Kienenberger wrote:
All facets are limited to one child.
Use h:panelGroup as the child and add the rest as children of h:panelGroup.
On 8/24/06, Paul Spencer [EMAIL PROTECTED] wrote:
I am using the footer facet in a data table column
That works!
I will add it to the wiki.
Paul Spencer
Mike Kienenberger wrote:
All facets are limited to one child.
Use h:panelGroup as the child and add the rest as children of h:panelGroup.
On 8/24/06, Paul Spencer [EMAIL PROTECTED] wrote:
I am using the footer facet in a data table column
While debugging my application, I do NOT what managed beans save and restored
when restarting
Tomcat. How to I accomplish this?
Paul Spencer
the how to use a snapshot version. In the case
of 1.1.5, the version for the myfaces dependencies is 1.1.5-SNAPSHOT.
Paul Spencer
Leyzerzon, Simeon wrote:
Hi,
What's the latest released version, people are talking about 1.1.5, but I can
only see 1.1.3 on the site?
Also where can one get
Make sure the extension filter is defined in web.xml.
http://myfaces.apache.org/tomahawk/extensionsFilter.html
Paul Spencer
Leyzerzon, Simeon wrote:
When comparing the 'view source' from the page in my application and the page
of the jscookmenu.jsf in the simple.war sample download, I've
was displayed. Looking at
the HTML source, the expected table, tr, and td tags where present.
Does this need to be reported as a JIRA issue?
Paul Spencer
/t:panelTab
/t:panelTabbedPane
Paul Spencer
Gerald Müllan wrote:
Hi Paul,
If i get your question, the problem is the normal post via the save
button for all the tabs, which has nothing to do with tabbedPane
component.
All the tabs are rendered to the web page, on one of them the
validation error
?
Paul Spencer
Mike Kienenberger wrote:
Paul, one thing to remember is that in JSF, forms are really just
organizational units rather than separate pages in traditional http.
About the only thing they're good for is determining the default
submit button when you hit the return key or doing
1 - 100 of 155 matches
Mail list logo