Renzo Tomaselli wrote:
Hi, I wonder if any component in Trinidad is suitable for rendering a
pre-formatted chunk of html text.
Assume I allow to edit html through TinyMCE or alike, then I save the
resulting html text. Whenever I want to render it in readonly mode, I
need to include it as it is
See also Spring's own documentation:
http://static.springframework.org/spring/docs/2.5.x/reference/webintegration.html#jsf
and, linked from there:
http://jsf-spring.sourceforge.net/
or just try:
Francisco Passos wrote:
Great to know you've got it working.
I'm now using the process scope feature of Trinidad and it's works fine but
it means that I will have to clear the process scope context manually
at the
appropriate time within the application to avoid high memory
consumption on
I just upgraded an application from a pre-release build of
1.0-incubating to a snapshot of 1.0.1 build from trunk a couple of days
ago, and (after making a few changes to my templates to accommodate
component name changes and such) am getting the following errors in my
logs.
Can anyone offer
I just tried upgrading to the latest Maven and have the same error. For
now, I've hacked my local poms to require 1.0.1-incubating-SNAPSHOT of
this plugin as a work-around. I'll repost the build error to the dev
list for further attention.
L.
Laurie Harper wrote:
I just tried checking out
I just tried checking out the current trunk from its new home and found
I can't build it :-( I get a failure building the plugins, which then
leads to a failure to build the 'trinidad' module.
The failure is in the build for the Apache Trinidad Maven XRTS Plugin
and looks like either an issue
I have a requirement to register a custom NavigationHandler
implementation at the bottom of the delegation stack, rather than at the
top as happens when registering through WEB-INF/faces-config.xml.
Basically, I need to make sure that delegating navigation handlers, such
as Shale's
How do I create an 'empty' SelectItem? I'd like to present a
selectOneChoice which allows the target model value to be set to 'null'.
But I can't create a 'null' SelectItem:
SelectItems[] items = new SelectItems[] {
new SelectItem(null, (none)),
new SelectItem(1, one),
...
};
a bunch of converters
just to allow this :-( Unfortunately, it sounds like the only way to do
that may be to write a custom component, which seems a bit crazy...
I'll have a look at whether there's support for this in Tomahawk or
Trinidad first, though.
L.
On 8/12/06, Laurie Harper [EMAIL
Matthias Wessendorf wrote:
Looks like a Shale /Struts/ related question.
Yes, any further questions on this topic should be asked on the
struts-users list.
Your backing bean needs to be a ViewController, when using Shale.
If your page is located like /trees/entry.jsf the bb behind needs to
Legolas Woodland wrote:
Hi
thank you for reading my post.
I have this problem in my web application :
generated html which i view in my browser has this :
[code]
span id=form1:staticText8 style=border-width: 1px; border-style:
solid; border-color: rgb(0, 0, 0) rgb(0, 0, 0) rgb(0, 0, 0) rgb(0,
[EMAIL PROTECTED] wrote:
so it turns out I can't use *.jsf as the file extension if I am already
using for the filter stuff to go to Faces Servlet. What is bizarre though
is when I start using *.faces as my filter and *.jsf as my file extension,
MyFaces sends back jsp:root and stuff to the
I should probably point out that now Dojo is in MyFaces (albeit in
sandbox) there's YYAC (yet yet another calendar :-); Dojo has a 'date
picker' widget. It's very pretty, but less functional than Edwin's looks
to be - for example, I don't think it's internationalized at all.
Just thought I'd
The dependency would be to support the Tomahawk Tiles support I expect.
It ought to marked optional, but would still be needed to compile.
The problem may be due to a recent move of the Tiles artifacts in the
ASF Maven repository. I know Tiles now lives under a different group ID.
The old
Yep, that's the simplest solution. If you don't want to emit the
style/styleClass value from a backing bean you can also use a variant
such as
h:inputText ... styleClass=#{mybean.required ? 'required' : ''}/
Regarding your concern about doing this in a data table, you shouldn't
have any
Mario Ivankovits wrote:
Hi Dean!
but, unfortunately, I have to query another service for the URL to
really redirect to!!! This means, I can't put the URL in the
faces-config.xml file. Is there any way to do any of these options(or
otherslist is not exhaustive probably)
I am not
Yee CN wrote:
I am in the middle of migrating to facelets and at the same time planning
for Shale. It seems to me that Shale Clay and Facelets templating overlaps
to a large degree. Is there any guideline on whether the two should/can
coexist and which one should be use for any particular
Garner, Shawn wrote:
I tried using tiles with JSF and found it does not work very well.
You end up having to define every page in the tiles.xml file that you want
to use the template for.
Are there any other approaches to creating a reusable template that uses
multiple jsp pages?
Seems like I
Michel Goldstein wrote:
Hi,
I have a very basic use case in which I need to access an external service
on a getter. However, this access might fail and cause an exception. When
the exception happens, I would like to redirect the user to an error page
that would explain that the service is
Yasushi Okubo wrote:
Hi, experts
I would like to create a simple text link that kicks off javascript by
onmouseover, but avoid to do submit() or go to another webpage, and I
also need to show the data stored in my backing bean.
The Html line could be like the following. I played with both
See the skinning guide:
http://www.oracle.com/technology/products/jdev/101/howtos/adfskins/index.html
L.
Yogesh Chaudhari wrote:
Hi Jonas,
I am using ADF faces since last couple of months, I liked the Oracle
skin, I am using this theme for our Intranet application.
I just want to change the
Or ditch JSPs altogether and switch to Facelets or Shale Clay; much
nicer ;-)
L.
Volker Weber wrote:
You need to enclose all plain html in verbatim, but don't put jsf in
verbatim.
try somthing like this:
t:div rendered=#{portalbean.useCase eq 'submitNew'}
f:verbatim
tr
not want to create new theme, I just want
to change font for Oracle theme. But I guess I have to use themes as
it or write my own.
Thanks, Yogesh
On 2/20/06, Laurie Harper [EMAIL PROTECTED] wrote:
See the skinning guide:
http://www.oracle.com/technology/products/jdev/101/howtos/adfskins/index.html
L
Why bother? Just do
f:selectItem ... style=background-image:
url(/images/icons/someIcon.gif);/
L.
Andrew Robinson wrote:
You could build your own custom renderer to do this.
On 2/17/06, Mike Duffy [EMAIL PROTECTED] wrote:
There is a cool technique to add image icons to drop-down lists:
Craig McClanahan wrote:
This part of the problem, at least, is pretty easy to deal with :-). Call
FacesContext.setResponseWriter() -- perhaps after calling
getResponseWriter() to save the original one, if any -- in a before render
response phase listener, and do the inject-and-copy trick in the
, which has always been _link_hidden_ .
Dennis Byrne
-Original Message-
From: Laurie Harper [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 16, 2006 04:38 PM
To: users@myfaces.apache.org
Subject: commandLink encode/decode behaviour
From the reference documentation
Costa Basil wrote:
Hi:
I am using tiles and I noticed that the final html content contains this piece of javascript code at the end after the /html tag.
Is there a way to fix this? Things seem to work tough in IE, however, it kind
of worries me.
Thanks
form id=linkDummyForm
Werner Punz wrote:
Laurie Harper schrieb:
I have a need for similar functionality to the Tomahawk Extensions
filter, and have been thinking about ways to achieve it without
requiring user config. I was hoping I could find a standard JSF hook
that I could plug into through a faces-config entry
Craig McClanahan wrote:
Interesting. I was under the impression that Weblets did not and would
not support the 'add script elements to the document head' part of the
equation. I'll have to have another look at it.
I think that is true for weblets, and it is definitely true for Shale
Remoting.
Craig McClanahan wrote:
On 2/17/06, Laurie Harper [EMAIL PROTECTED] wrote:
Craig McClanahan wrote:
Interesting. I was under the impression that Weblets did not and would
not support the 'add script elements to the document head' part of
the
equation. I'll have to have another look at it.
I
James Moores wrote:
Hi,
I know that it's probably a bit early to be looking for ADF Faces help
here in light of the fact that it's only just joined MyFaces, but I'm
getting no joy at all on the Oracle forums and people on this list have
been so helpful that I thought it was worth a try:
I use
I have a need for similar functionality to the Tomahawk Extensions
filter, and have been thinking about ways to achieve it without
requiring user config. I was hoping I could find a standard JSF hook
that I could plug into through a faces-config entry but haven't come up
with anything viable
From the reference documentation for the commandLink component:
Both the encode and decode behavior require the ability
to get the id/name for a hidden field whose value is set
by the JavaScript form submit. This name must be constructed
as follows:
* Get the clientId for
Craig McClanahan wrote:
On 2/16/06, Cagatay Civici [EMAIL PROTECTED] wrote:
Hi Laurie,
It seems a phaselistener is what you are looking for, it is pluggable and
does not require any user configuration.
One thing you can do in a filter that you cannot in a phase listener is wrap
the response
CONNER, BRENDAN (SBCSI) wrote:
After having done several native MyFaces application implementations,
I'm just starting to do initial research into Shale. The motivation to
do this is that, from my understanding, Shale offers a framework
allowing relatively painless debugging of JSF actions.
I
Dave Brondsema wrote:
Now that myfaces is using maven to build, what is the proper way for my
project to declare its dependencies on JSF? I want to only declare my
dependency on JSF, not on MyFaces in particular. For example:
dependency
Dave wrote:
In a PhaseListener, first get all the clientId(s) with queued messages, then
try to find the components. But ViewRoot.findComponent(clientId) return null.
public void beforePhase(PhaseEvent event) {
FacesContext context = event.getFacesContext();
UIViewRoot root =
Or use c:set to store it into a bean.
Andrew Robinson wrote:
If you are using facelets, you could use an EL function to format the value
On 2/9/06, Peter Maas [EMAIL PROTECTED] wrote:
Hi all,
I wondered how to store formatted values in a parameter. Say I would like
to set a formatted date as
Tom Butler wrote:
Can I use Oracle ADF components together within a MyFaces application? Same
question for other component libraries? Or, are these mutually exclusive
(use a different front controller)?
You can use ADF Faces together with MyFaces and/or the Tomahawk
components. Component
Yogesh Chaudhari wrote:
Hi,
I would like to read show managed property value in InvoiceBean
class constructor so I can populate different resultset in invoices
arraylist to display on page.
Thanks, Yogesh
public class InvoiceBean {
private String show;
ArrayList invoices;
Volker Weber wrote:
Hi Laurie,
Laurie Harper wrote:
Thanks for the response, but that's not what I'm trying to do. I don't
need to locate and invoke an existing command link; I don't have a
command link to invoke. I need to achieve the same effect as clicking a
command link would give
Hi, I need to do the equivalent of clicking a commandLink in Javascript;
in other words, I need to write an onClick handler that does the same
thing as clicking on a commandLink would. Is there a standard way to do
that? I'm not sure if the JSF spec includes any specifics on client-side
APIs.
Ryan Wynn wrote:
On 2/1/06, Laurie Harper [EMAIL PROTECTED] wrote:
Hi, I need to do the equivalent of clicking a commandLink in Javascript;
in other words, I need to write an onClick handler that does the same
thing as clicking on a commandLink would. Is there a standard way to do
that? I'm
Senior Consultants Inc. wrote:
Hello:
We would like to be able to handle the ActionListener event without
converters
and validators (associated with fields on the form) generating error
messages.
When the form is submitted, we do want the field converters and validators
to
generate appropriate
If you're building the view programmatically, why can't you just use
ResponseWriter directly?
writer.startElement(h1);
writer.writeText(header 1);
writer.startElement(h2);
writer.writeText(nested header 2);
writer.endElement(h2);
writer.endElement(h1);
L.
Matthias Kahlau wrote:
Ali Raza wrote:
Greetings,
Is there any way to determine whether a page has been refresehed ? Is there
some object in the request Map or something to indicate that the page has
been refreshed from the client instead of actual postback from some submit
button ?
My problem is that when the page
.
L.
Ali Raza wrote:
hey Laurie,
I browsed the shale package details etc and all the functionality was either
devlopoing or evolving in terms of stability ratings. are there any stable
alternatives ?
Thanx
ALI
On 2/2/06, Laurie Harper [EMAIL PROTECTED] wrote:
Ali Raza wrote:
Greetings
Correct. myfaces-commons contains code common to myfaces and tomahawk,
not copies of the commons-* packages.
L.
James Reynolds wrote:
I tried it a few ways. I'm not sure what's all included in
myfaces-commons-1.1.2-SNAPSHOT.jar so I tried it with and without all my
other commons-files. I
Martin Marinschek wrote:
It is a snapshot of the ADF-faces code, so in this sense, yes, it is
ready for production integration.
That's a bold statement, given that the code that's been made available
doesn't correspond to a released product -- the closest thing to a
release was the Early
Of Laurie Harper
Sent: Thursday, January 12, 2006 10:52 PM
To: users@myfaces.apache.org
Subject: Re: How to override the MyFaces 1.1.1 taglib listener
registration?
David, I have a solution for this based on subclassing
FaceletsViewHandler; the trick is to map the view ID to a view, load the
view
Gary VanMatre wrote:
From: Julián García [EMAIL PROTECTED]
Hi,
I am using Hibernate + Spring + Myfaces. It's been working but I think
that I am writing a LOT of code in the view layer. I have a small custom
validation framework of my own, and my own init mechanisms in my beans.
I use
David, I have a solution for this based on subclassing
FaceletsViewHandler; the trick is to map the view ID to a view, load the
view to create the component tree, but retain the view ID. It's a little
tricky -- and can't be done in a way that's portable, so if you're not
using Facelets my
Dave wrote:
Is there any way to access faces.config?
I need to know the to-view-id(JSP page) given from-view-id and from-outcome. The NavigationHanlder has only one method handle(..), Thanks.
Dave
Unfortunately not, short of parsing faces-config yourself and
re-implementing the algorithm
Martin, have you tried changing your selector to
#formId\:namingContainerId\:myComponentId
i.e. escaping the colons?
Martin Marinschek wrote:
There is one very, very valid reason for forceId I keep reiterating
over and over (me not being a friend of forceId in the firstplace, but
very
this one. Sorry.
-Original Message-
From: Laurie Harper [mailto:[EMAIL PROTECTED]
Sent: Friday, January 6, 2006 02:33 PM
To: users@myfaces.apache.org
Subject: Re: Managing List properties: MyFaces vs. RI
Dennis Byrne wrote:
Can you please post either of these stack traces?
Sure
Dennis Byrne wrote:
Can you please post either of these stack traces?
Sure; this is the MyFaces stack trace. I'll post the one from the RI in
a separate message.
javax.faces.el.PropertyNotFoundException: /templates/mainLayout.xhtml
@65,104 value=#{menuModel.model}: Bean:
Dennis Byrne wrote:
Can you please post either of these stack traces?
And here's the one from the RI:
ERROR [http-8080-Processor25] com.sun.faces.application.ApplicationImpl
- Managedbean menuTreeModel could not be created Can't instantiate
class: 'instance'.
javax.faces.FacesException:
Legolas Woodland wrote:
Hi
Thank you for reading my post.
Can some one please help me to add a taglib to my jsf page ?
Im using Creator 2 EA 2 , I add all jar files to its build path and also
to web-inf/lib
now when i add the taglib definition to a page it say :
The markup in the document
I have this really weird problem I can't explain. I'm hoping someone can
give me some insight. The problem is that my backing bean isn't being
updated properly during the update model phase, *unless* I include a
hidden input. With the source listed below it works fine, but if I
remove the
parameter in the view ID, which is
where I intend to end up to support bookmarking.
L.
-Original Message-
From: Laurie Harper [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 5, 2006 04:01 PM
To: users@myfaces.apache.org
Subject: model update failing, I can't see why
I have
Dennis Byrne wrote:
Er, a couple of times :-) Yes, it makes sense; either getDescription()
will be called to render the outputText (view) or it will be called to
render the inputText (edit). And because (without the hidden field)
renderMode is effectively not preserved through the whole 'edit
Marti, Adrian (Adrian) wrote:
Hello all,
First post, hopefully not too common a question.
Working on a project with a lot of preexisting javascript
functions where the id's of components need to be exactly what is
expected. JSF seems to want to prefix all of my component
I was just looking at implementing a custom navigation handler. I need
to basically replace the standard implementation with my own to extend
the semantics.
I thought I'd start with the MyFaces implementation and just tweak it to
do what I need. But NavigationHandlerImpl depends on a bunch of
I seem to have stumbled into a mini-constellation of inter-related and
conflicting bugs between MyFaces (1.1.1) and the RI (1.1_01) around
configuring managed List properties. Perhaps someone can help me figure
out what the correct behaviour(s) should be so I can identify which are
bugs in
Dennis Byrne wrote:
So, in cases where I need to output something, I know I'll have it
there. Isn't what you're talking about only an issue if I go from a view
with an input component to one that expects to display the input value,
rather than validation returning to the same view that has the
Craig McClanahan wrote:
On 1/5/06, Laurie Harper [EMAIL PROTECTED] wrote:
I was just looking at implementing a custom navigation handler. I need
to basically replace the standard implementation with my own to extend
the semantics.
I thought I'd start with the MyFaces implementation and just
Craig McClanahan wrote:
On 12/31/05, Matthias Wessendorf [EMAIL PROTECTED] wrote:
Hi Legolas,
I haven't used Studio Creator w/ MyFaces' tomahawk (or sandbox). But
you should be able (as Alexandre pointed out) to *use* MyFaces stuff
in Creator.
Currently there is no *design time* support for
Greg Reddin wrote:
Hi,
I'm looking for some good JSF books. However, I want more than just
This is how it works. I'd really like to find books that talk about
Here are some good patterns and here are some antipatterns. I've
looked at Core JSF and it looks pretty good, but seems to contain
Does the browser(IE) or inputText do the encoding of characters?
If the inputText component has an initial value, it will be encoded
server-side using the view's output encoding. When you submit the form,
the browser will encode the current value of the inputText using
whatever encoding it
But what about if you need to do this for the initial page? (i.e. you
don't have a page to put a command link on...)
I want this to be able to have bookmarkable URLs in my app, where
different URLs may map to the same view (JSP) -- for example, URLs
/app/users/tom and /app/users/jim would
Oops, spoke too soon... the trouble with the servlet approach is that
to-view-id in faces-config isn't a context relative path, it's relative
to the Faces servlet... So I guess it's time to dig into custom nav
handlers.
L.
Laurie Harper wrote:
But what about if you need to do
71 matches
Mail list logo