Hi Julian,
You should let a managed bean create your saveState bean.
This is a bit difficult because the bean is polymorphic. The
polymorphism drastically reduces the complexity of the code elsewhere in
my app, so if I have to do a bit of extra work to create the bean then
no problem :)
Hi John,
you can use tobagos script tag to embed javacript into the page.
The body of the tag is included as javascript section into the html head
tag.
Regards,
Volker
John wrote:
Oh yes
I have Javascript code which when embedded within a page, permits IE to
display PNGs with
Hi John,
wrote my first mail to fast, youre already use t:script :-).
as i wrote in th first mail the body of t:script is rendered inside hrml
script tags, and
!--[if lt IE 7.]
script defer type=text/javascript src=js/pngfix.js/script
![endif]--
is no valid javascript :-(.
try this:
Hello, This is my nightmare for three days.I want to make two inputSuggestAjax dependent the list of values for the second one will depend on the choosen value of the first one.I've managed to get the value of the prefix of the first inputSuggest but when the user choose a value from the list not
Hi,
Getting a valueChangeListener is not possible with the current state
of the component.
The renderer does not render the input field through it`s superclass,
instead writes a dojo-specific tag. This is parsed by dojo and
converted into some more html markup which represents the input field,
Hi Gerald,
you wrote:
It`s not best practice to have jsf corresponding tags and
plain html on the same page ...
Sure, it would be nice to have jsf pages without plain html.
But in reallity this wouldn't happen:
In 90% of the projects I know, HTML is delivered from web-designer experts.
You may be in the market for facelets. See the following...https://facelets.dev.java.net/nonav/docs/dev/docbook.html#taglib-use-jsfc
It is possible to map simple input elements to jsf ui objects, but keeping standard html syntax. I haven't personally used this, and I assume it wouldn't work for
From: Chrisi [EMAIL PROTECTED] Hi Gerald, you wrote:It`s not best practice to have jsf corresponding tags and plain html on the same page ... Sure, it would be nice to have jsf pages without plain html. But in reallity this wouldn't happen: In 90% of the projects I know, HTML is
Chrisi-
you may also take a look at [1]. It explains lot's of JSF 1.1 issues.
JSF 1.2 is fixing this.
Or (today), use Facelets.
-Matthias
[1] http://www.onjava.com/pub/a/onjava/2004/06/09/jsf.html
On 5/20/06, Gerald Müllan [EMAIL PROTECTED] wrote:
Hi,
I see the main problem in this that
Cosma-
you can also have a look at ADF Faces dialog system.
Go ahead to the ADF Faces user list here at Apache.
-Matthias
On 5/19/06, Werner Punz [EMAIL PROTECTED] wrote:
Cosma Colanicchia schrieb:
I was thinking about a solution for the popup window problem in JSF..
someone has suggested
Thanks Matthias, the article was the explanation I was looking for. :)
Does JSF 1.2 have also some solution for the bookmarking/crawling issue?
Please see:
http://www.nabble.com/Bookmarking+and+Crawling+of+JSF-t1613503.html#a4373933
On 5/21/06, Matthias Wessendorf [EMAIL PROTECTED] wrote:
Volker,
Thanks - but it doesn't cause the pngs to work.
One thing I noticed, was (when viewing the rendered pages source), is
that the call to the pngfix in the onload is before a lot of the Tobago
onLoad functions. Since the pngfix works by rewriting code and applying
spans, is it possible that
Hi John,
the tobago onload functions did not change any class or style attributes.
but the menu is created via onload, so if your images are inside
menuItems this can't work.
you can try to enclose the original script code inside of f:verbatim tags.
Regards,
Volker
John wrote:
Volker,
Not within menuItems but they are the image of a ToolBarCommand...
-Original Message-
From: Volker Weber [mailto:[EMAIL PROTECTED]
Sent: Sunday, May 21, 2006 11:40 AM
To: MyFaces Discussion
Subject: Re: Does anyone have the IE png fix working with
Tobago/myFaces?
Hi John,
the tobago
If the f:verbatim not works, pleas send me one of your images, i can try
it out tomorrow.
see the footer how to build my email.
John wrote:
Not within menuItems but they are the image of a ToolBarCommand...
-Original Message-
From: Volker Weber [mailto:[EMAIL PROTECTED]
Sent:
I've been looking into the tag/component thing, and it seems like
rather a lot of work. The way I see it, I would have to reimplement
all of the tag/component/renderer groups where the component extends
UIInput, and that is a little ridiculous. Any suggestions for
alternatives?
benjamin
On
Could this be the forceId issue? I have another Javascript on the page
that I'm sure it is the issue.
How do you forceId with Tobago?
-Original Message-
From: Volker Weber [mailto:[EMAIL PROTECTED]
Sent: Sunday, May 21, 2006 12:06 PM
To: MyFaces Discussion
Subject: Re: Does anyone have
As for collections, I tend to use custom collections for getting
updates from JSF. It isn't the cleanest solution by any means, but has
helped me out with the limitations of the EL language.
I have made wrappers something like (I am not at my work computer, so
can't bring up the exact code):
One other idea, would a converter be able to do this? I know it
wouldn't be conventional, but you could convert the value to a
different bean and then restore the unmodified value so that the
original value is untouched on the source bean. The trick is how to
get this to fit into the correct JSF
I could maybe share the code sometime (meaning contribute it), but I
just created a custom renderer for my images, that I change the source
tag to a blank.gif file and then put the URL in the css filter
property on component render. Makes all images work. It wouldn't help
tobago out as I did it
I'm using PNG Behavior in my JSF/Facelets apps:http://webfx.eae.net/dhtml/pngbehavior/pngbehavior.htmlworks fine for me...
get this to fit into the correct JSF phase as the converters are
applied (I believe) during the processing of validators and not during
the updating of the model.
Yes.
In Process Validations the converters are called before the
validation is started.
Since you need a converted object before you
This afternoon I hacked up something like your wrapper collection. I
wrapped the individual Post objects in a class whose constructor takes
the Post object and a reference to the backing bean. The wrapper's
getContent() method returns this.post.getContent() and setContent()
sets
Yes. I just realized that's what we're using on our
website and it works fine.
But, I tried it and it's not
working...
Can you be more specific about how you included
it...
I simply put the htc file in the app's root and did
a:
t:scriptstyle
type="text/css"img { behavior:
I like PHP too, but I find it hard to maintain. I tried to refactor an
object in a medium sized site and it was a nightmare (wish I had a
compiler). Since JSF is new, hopefully it will continue to grow and
adapt as Sun and the development community flushes out shortcommings
as people adopt, use
Tony,
I don't believe the examples for Tomahawk have been updated yet. The
ServletContextListener should be in the utils
subpackage (Check your tomahawk jar for the full package name of the update
ServletContextListener class. I believe it
was discussed earlier this week on this list.
This works! Thank
you.
The trick is:
1) making sure the blank.gif is in the root of the web
application with the pngbehavior.htc file
2) use f:verbatim tags surrounding the style
tags at the beginning of the document
f:verbatim
style type="text/css"
img {
behavior:
Andrew,
I certainly see a lot of potential for JSF, and I certainly appreciate
the creativity and time that you and the rest community put forth to
work out the unforseen kinks. But at this point, it's too much effort
(and not fair to my summer employer) for me to have to chase down a
hack for
Thank you everyone! Sorry for the late reply! We use a lot of client side saveState. We tried the solution that the application saves everything on server side session but we can see in the near future this will definitely cause problem as the number of modules increase, so we choosed to use
29 matches
Mail list logo