Hi Gerald!My extended dataTables holds DTOs with several attributes. Every dataTable can have an empty list up to a list with n elements. At my tests the lists are between 0 antd 15 elements. Yes, I've rendered everytime every table after trying the preserveDataModel attribute first.
The effect wa
I was able use tag
thanks a lot
Mike
dcypher wrote:
>
> One other solution:
>
>
> "
>
> .
> .
> .
>
> On 9/12/06, Mike Kienenberger <[EMAIL PROTECTED]> wrote:
>>
>> If you're using facelets or JSF 1.2, I think you can simply use:
>>
>>
>>
>> Otherwise, you could use
>>
>>
>>
>> %">
>>
One other solution:"...On 9/12/06, Mike Kienenberger <[EMAIL PROTECTED]> wrote:
If you're using facelets or JSF 1.2, I think you can simply use:Otherwise, you could use%">You might need to translate the <> symbols into < >
There's also t:div which can do this for you:http://myfaces.apache.org/tomah
The suggested workaround works.
--- THIEN PHAM <[EMAIL PROTECTED]> wrote:
> BTW, this is on WAS 6.1 which I think is using JSF
> RI,
> but who knows, maybe IBM has its own implementation
> of
> JSF just like it does with JDK.
>
> Upon further investigation, in the case of using
> Myfaces core, I
If you're using facelets or JSF 1.2, I think you can simply use:
Otherwise, you could use
%">
You might need to translate the <> symbols into < >
There's also t:div which can do this for you:
http://myfaces.apache.org/tomahawk/tlddoc/t/div.html
On 9/12/06, Mike Shaw <[EMAIL PROTECTE
My dates are stored in UTC and I set my default TimeZone to UTC as well (so
when I create new java.util.Date objects the time zone gets set to UTC). I
am trying to use the tag. Is there an equivalent (or can
t:schedule use) tag for ? Or how is anybody
else handling a similar issue?
Hi,
I need to add following tag in my jsf page
where div width can have different value coming from backing bean
Thanks
Mike
--
View this message in context:
http://www.nabble.com/how-to-add-dynamic-%3Cdiv%3E-tag-tf2262091.html#a6276458
Sent from the MyFaces - Users forum at Nabble.com
You can check out the 1.2 branch now.
You can also go into the issue tracker and look at all of the open JSR
252 issues.
http://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=true&&pid=10600&resolution=-1&component=12310871&sorter/field=priority&sorter/order=DESC
When all of these are f
Of the code you posted, it looks ok to me.
However, id="#{index + 'working'}" is not legal. id must be a static value.
On 9/12/06, Toppac <[EMAIL PROTECTED]> wrote:
I am trying to use a datatable to render bunch of data and display an image
next to each row rendered based on the rowIndex.
BTW, this is on WAS 6.1 which I think is using JSF RI,
but who knows, maybe IBM has its own implementation of
JSF just like it does with JDK.
Upon further investigation, in the case of using
Myfaces core, I found out that when
HtmlSortCommandHeader.getClientId() is invoked, the
call goes all the w
Try setting the timezone in the f:convertDateTime.
Ex.
where bean.timeZone is defined as
public TimeZone getTimeZone() {
return TimeZone.getDefault();
}
-- Original message --
From: "Neuman, Ben J., A&M IRM" <[EMAIL PROTECTED]>
> I see that thi
I am trying to use a datatable to render bunch of data and display an image
next to each row rendered based on the rowIndex. My code is below. The
problem I am seeing is that inside the graphicImage tag, the index doesn't
have scope. I can print the index before and after the graphicImage, but
whe
Thx! With saveState no warning appear.
On 9/13/06, Martin Marinschek <[EMAIL PROTECTED]> wrote:
I'd guess that your rendered or displayValueOnly attribute is toggling
its value between requests - make sure you have those values in the
session or saved with a t:saveState.
regards,
Martin
On 9/
I'd guess that your rendered or displayValueOnly attribute is toggling
its value between requests - make sure you have those values in the
session or saved with a t:saveState.
regards,
Martin
On 9/12/06, Mike Kienenberger <[EMAIL PROTECTED]> wrote:
Gerald,
panelGroup won't render a span unles
Gerald,
panelGroup won't render a span unless you set an id, style, or some
other html-generating attribute.
On 9/12/06, Gerald Müllan <[EMAIL PROTECTED]> wrote:
Hi,
does it work as you expected?
Don`t know if it is the problem, but the panelGroup component which
renders a span between the
Hi,
Thanks for prompt response.
MyFaces currently integrates with portlets with a MyFacesGenericPortlet
which contains faces initialization code. I think this replaces some
other listener usually declared in web.xml (don't remember anymore). In
any case, why have is state serialization initializ
I see that this has come up before, however, I continue to experience this
problem with the sandbox datetime converter.
I'm using an inputText component to capture the date using pattern ''.
The date returned is always Dec. 31, -1. Could this be the GMT/local
time conversion problem? If
Hi Cagaty,
Nasil sin ;-) ?
Thanks for pointing to the workaround. I'll test it tomorrow at work :-)
Regards,
Behi
On 9/12/06, Cagatay Civici <[EMAIL PROTECTED]> wrote:
Hi,
Try using f:verbatim around the html table. That'll work.
Cagatay Civici
[EMAIL PROTECTED]
On 9/12/06, Behrang Saeedz
Hi,
the vm crashes because of insufficient memory? This cannot be a bug in
myfaces :)
How large are your dataTables? Are you rendering everytime all tables?
Maybe it is possible to use some stuff like collapsiblePanel to render
only the tables
on which header you had clicked before. You can als
Hi,
does it work as you expected?
Don`t know if it is the problem, but the panelGroup component which
renders a span between the declarations doesn`t make
generated html well formed.
You should achieve this rendered scenario another way.
regards,
Gerald
On 9/12/06, Adrian Mitev <[EMAIL PRO
Hi Borislav,
I am the author of your problem, but I am not a Portlet developer. Perhaps I
can help you fix this and you can educate me more on portlets?
Why isn't StartupServletContextListener is called?
What happens if you can fire something like this as your application starts ...
if(servle
Title: Strange EL behavior of HtmlSelectOneMenu
Hi,
We've discovered an interesting behavior of the HtmlSelectOneMenu component. Could someone explain why it is:
When doing this:
HtmlSelectOneMenu chooser = new HtmlSelectOneMenu();
chooser.setId("reportId");
chooser.setT
Hi,
I get this in WebSphere Portal:
Caused by: java.lang.NullPointerException: serialFactory
[9/12/06 16:00:33:839 EDT] 5fd004e0 SystemErr R at
org.apache.myfaces.shared_impl.util.StateUtils.getAsByteArray(StateUtils.java:174)
[9/12/06 16:00:33:839 EDT] 5fd004e0 SystemEr
I have some difficulty getting html content of the current jsf page from
http request, after form was submitted.
Alex.
What about the JSF-Extensions project? Isn't the Avatar solution there
closer to what will be in the future spec? If so, I think it might be
better to start with that. Does anyone know if it is production ready,
though? That would be my only concern...
Frank Russo
Senior Developer
FX Alliance, LLC
No, i don't have! Here is the code:
Hi!
I've got a real big problem. I tried to use several tabbedPanes with 1-5 panels inside. At every panel I've got one extended datatable.
I think there were 10 extended datatable alltogether. Every time I called the page my portalserver (weblogic 8.1 SP5) crashed!!!
If I reduced the number of e
Is there an estimate (even a very rough estimate) as to when
jsf 1.2 will be supported?
Do you have JavaScript that altered the HTML control?
On 9/12/06, Adrian Mitev <[EMAIL PROTECTED]> wrote:
Hi all! I have form with several input fields. When i submit the form
i get this message for the first two input components:
WARN [HtmlRendererUtils]:86 - There should always be a submitte
Hi,
Has anyone made an attempt to JSFy the x library from http://cross-browser.com?
The guy has a lot of awesom components which I would love to use in my JSF apps.
And it does not seem that complex.
Bye.
/lexi
Hi all! I have form with several input fields. When i submit the form
i get this message for the first two input components:
WARN [HtmlRendererUtils]:86 - There should always be a submitted
value for an input if it is rendered, its form is submitted, and it is
not disabled or read-only.
What is
f with varying degree
> (but not complete)
> > success.
> > > Your opinion and recommendations would be
> greatly appreciated.
> > >
> > Disclaimer: This electronic mail and any
> attachments are confidential and may be privileged.
> If you are no
I have a single page in which to the left there is a t:tree2 and to the center
a simple form. I see that when i collapse or decollapse different branches of
the tree the form to the right is rebuilded through the class
TreeStructureManager (org.apache.myfaces.application).
Every component of th
Yes. It looks something like this:
Hello everybody!
Is anybody can recommend
best way how get in jsf static html content from dynamically generated jsp
page?
I need send email containing dynamically creating html
content in jsf.
Before I used “t:buffer” jsf tags.
Any help appreciated.
Alex.
Hi Mario,
returning back to the AddResource discussion, I have found a nice trick for
adding styles.
[description starts here]
Scripts are currently managed a bit differently, but I think this is
also gonna change.
No, there is no need to render scripts in the head, so for
StreamingAddReso
Perhaps this is another solution as well (kinda ugly but maybe it will work)
"/>
Any thoughts?
On 9/12/06, Mike Kienenberger <[EMAIL PROTECTED]> wrote:
On 9/12/06, Jeff Bischoff <[EMAIL PROTECTED]> wrote:
> You know, I think I tried something like this initially. Ran into some> sort of proble
On 9/12/06, Jeff Bischoff <[EMAIL PROTECTED]> wrote:
You know, I think I tried something like this initially. Ran into some
sort of problem where it wouldn't let me make the id attribute dynamic.
I believe MyFaces actually threw an exception stating such, when I tried
to view the page.
Well, th
ons would be greatly appreciated.
> >
> Disclaimer: This electronic mail and any attachments are
confidential and may be privileged. If you are not the intended
recipient, please notify the sender immediately by replying to this
email, and destroy all copies of this email and any att
Dominik said that he has about 50, yes.
In my application, we typically have 10-20 possibilities for each
value-bound include.
> 1 subview with maybe a value binding for the id of the subview and a
> binding for the page source might do the trick?
>
> Then you could dynamically assign the id f
Hi.
AJAX and JSF can definitely work together, but it's tricky because AJAX
can't be added incrementally; it has to be built into the JSF components
themselves.
ajax4jsf is capable of adding AJAX functionality to the existing JSF components.
That's the incremental addition you talk about.
Additional fact: when changing javax.faces.STATE_SAVING_METHOD to client, the
flow seems to go into the getter every time which is what I need. I still
don't understand why this is happenning, could someone knowledgeable enlighten
me, please? Not sure if changing the state saving method to cli
CD,
Okay, this is an alternative way to do this. However, in your solution
there must be a separate include for each possible content page. In your
code snippet, there are 2, but in reality there would be 50. And each
subview would need to point to a separate booleanShown1() method,
resulting
I think the getter is called once on tree creation and the setter is
called each request.
Instead of the getter, restoreState will be called for the 2nd and
following requests to recreate the component.
This is all speculation -- I don't know if it's true.
On 9/12/06, Leyzerzon, Simeon <[EMAIL P
AJAX and JSF can definitely work together, but it's tricky because AJAX
can't be added incrementally; it has to be built into the JSF components
themselves. You can't just take prototype.js and point it at
JSF-generated HTML DOM elements. A good example to illustrate is
dynamic select options
Title: State doesn't get updated
Hi,
Could someone explain this behavior please:
I have an html panel grid bound to a backing bean property and populated dynamically. It seems that it only works once, all the subsequent times, the grid's getter in the backing bean (getPanelGrid() method b
I tried to google on the tag library. I could not find an all in one guide.
The old ones are tlds in JSP, new ones on facelet and taglib.xml. I never find
out if they are suppose to work together. I only know that I could not find
tlds for Tomahawk tag libraries. But they work in my environ
Yes, if you are using a lot of non-standard jsp tags, then converting
to facelets will require a lot of work to port those tags to JSF.
And you cannot include a jsp file into a facelets xhtml file -- when
facelets is processing an xhtml file, it doesn't use the jsp compiler.
If you are only using
not the intended recipient, please notify the
> sender immediately by replying to this email, and destroy all copies of this
> email and any attachments. Thank you.
>
>
>
> __ NOD32 1.1751 (20060912) Informacija __
>
> Ova je poruka provjerena NOD32 antivirusnim sistemom.
> http://www.nod32.com.hr
Shoot, I forgot the JSP needs TLD files, I never wrote one, as I was
thinking in "pure" JSF terms.
On 9/12/06, Jiang, Jane (NIH/NCI) [C] <[EMAIL PROTECTED]> wrote:
Hi Andrew,
You war file work fine in my environment. But I could not figure out why I can
not get your tag library to work. I go
To clarify on my post a bit...
I did not include full code as maybe I should have. The way we accomplish this task is
This approach does work for our needs however, maybe I don't understand what is attempting to be done in this case. I apologize for the lack of good c
plying to this email, and destroy all copies of this email and
any attachments. Thank you.
>
>
>
> __ NOD32 1.1751 (20060912) Informacija __
>
> Ova je poruka provjerena NOD32 antivirusnim sistemom.
> http://www.nod32.com.hr
--
http://www.irian.at
Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German
Professional Support for Apache MyFaces
> So, using hard coded id's for every component on my included pages
(And that are a lot.. I have about 50 pages or more) is the only
solution? You are using hard coded ids for every component ??
>
Gladly, no... this is not the only solution. It's not what we are doing
either! :)
Let me expl
ou.
__ NOD32 1.1751 (20060912) Informacija __
Ova je poruka provjerena NOD32 antivirusnim sistemom.
http://www.nod32.com.hr
Hi,
I would also suggest Ajax4Jsf!
Especially for beginners who are playing around with AJAX and JSF this
is the one framework which is most easy to understand. Also to get
AJAX into existing JSF web apps.
Furthermore AjaxAnywhere will be of value to have a look on.
cheers,
Gerald
On 9/12/06
A facelets function worked great, thanks for reminding me about that!
For anyone else interested in this, java.net.URLEncoder converts " "
into "+" as per the HTML specification for form URL encoding. I wanted
URL encoding (" " to "%20") as per the URL specification. So you do
need a bit of your
Is a version of Ajax4Jsf planned to support portlets
?
Von: Adam Brod [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 12. September 2006 15:53An: MyFaces
DiscussionBetreff: Re: AJAX for JSF
Ajax4Jsf is really good. The
DynamicFaces project in jsf-extensions is very promising, but it isn't r
Just try to delete all myfaces jars, maybe you are playing round with
very old ones.
And get the ones from the latest release:
http://myfaces.apache.org/download.html
In a few days the newest release is getting out.
regards,
Gerald
Ajax4Jsf is really good. The DynamicFaces
project in jsf-extensions is very promising, but it isn't ready to be used
in a real application yet.
I really think Ajax4Jsf is your best
bet if you want to develop JSF + Ajax today.
Adam Brod
Product Development Team
"Stephen Osella" <[EMAIL PROTECT
Hi Andrew,
You war file work fine in my environment. But I could not figure out why I can
not get your tag library to work. I got this error
javax.servlet.ServletException: The absolute uri:
http://jsf-comp.sourceforge.net/aa cannot be resolved in either web.xml or the
jar files deployed with
Is there a good (i.e., working!) AJAX for JSF framework? I have tried
AjaxAnywhere and Ajax4jsf with varying degree (but not complete) success.
Your opinion and recommendations would be greatly appreciated.
Is there anywhere public that the MyFaces
community publishes their planned release schedules? Something similar
to what eclipse does would be terriffic. http://www.eclipse.org/eclipse/development/eclipse_project_plan_3_3.html
That would really help people such as
me plan ahead for releases.
T
1) What does the containsDate(java.util.Date) actually main? That is, when
is the Date set that this method considers it to be contained within the
ScheduleModel? Is it when you use setSelectedDate() or when you use
addEntry()?
2) When do you actually call ScheduleModel.refresh()? What is i
It looks as if you'd have several versions of MyFaces-jars around, and
some class gets loaded from a different class-loader and this is why
you get a ClassCast-exception.
Did you clean out everything?
Tried to get rid of the MyFaces jars included in JBoss?
regards,
Martin
On 9/12/06, [EMAIL P
Hi Martin,
Yes, thats it.
This was the only one alternative I didn't try out. ;)
Thank you very much.
Joerg
On Tue, 12 Sep 2006, Martin Marinschek wrote:
Hi Jörg,
use this:
#{addressListBean.addressBeanMap[type].zipcode}
regards,
Martin
On 9/12/06, Joerg Bredlau <[EMAIL PROTECTE
Hi,
Same behaviour here, different solution. We just manually remove the
session cookie from the browser prior to reaccess the webpage as the
forms are stored in user sessions. It takes 2 clicks and can be done
while the script is copying the new jsp to replace old ones.
Thorbjørn Ravn Andersen a
I have found that during development I often have to manually increment
a id attribute on the h:form tag in order to have changes picked up in
the view. My gut feeling is that changing attributes is not discovered.
Is there a way to tell myfaces + tomahawk (both 1.1.3) to build a page
view co
I tried to add this to my web.xml:
MyFacesExtensionsFilter
org.apache.myfaces.component.html.util.ExtensionsFilter
maxFileSize
20m
MyFacesExtensionsFilter
/faces/*
But I am still getting the same error (I apparent
If you only use standard components you shouldn`t need it. But if it
comes down to stuff which needs serving of resources then extensions
filter is obligatory.
If you have configured it the common way:
http://myfaces.apache.org/tomahawk/extensionsFilter.html
There should be no problem.
But it
Hi Jörg,
use this:
#{addressListBean.addressBeanMap[type].zipcode}
regards,
Martin
On 9/12/06, Joerg Bredlau <[EMAIL PROTECTED]> wrote:
Hello,
is it possible to nest one EL-Variable into another? I want to use it as a
dynamic key for a hashmap like this:
${addressListBean.addressBeanMap['
Hello,
is it possible to nest one EL-Variable into another? I want to use it as a
dynamic key for a hashmap like this:
${addressListBean.addressBeanMap['${type}'].zipcode}
The type-variable comes from a facelet ui:param like this:
But it seems that ${type} is empty and therefore no
Thanks again. For sure MyClass is declared.
But if I want to use tomahawk do I need something like this in my web.xml:
MyFacesExtensionsFilter
/faces/myFacesExtensionResource/*
I keep having the error: org.apache.myfaces.config.MyfacesConfig
Is it possible that tomahawk is not compatible wit
Hi,
sure, MyClass has to be declared as a managed bean in your faces-config.xml.
The t:updateActionListener should be used as follows:
Just use it inside a commandLink like:
With the help of this component, you know (via the id) in the backend
which entry was clicked on. You can also
Hi!
Thanks for your help.
I tried to use this dataTable tag as follow:
But I am getting this error: javax.faces.FacesException:
org.apache.myfaces.config.MyfacesC
Hello, and thank for pointing out this article on jsp/jsf flaws.
However, getting in the docs of facelets, i see to 2 points preventing
us to go facelets, maybe your experience can lighten this a bit, if am
not abusing your time.
1) facelets use .taglib.xml taglib definition that are not the same a
Martin Marinschek schrieb:
> There are several AJAX-components in the MyFaces tomahawk library
> included, so this can't be a general problem. I rather suspect you've
> found some incompatibily between what the Sun components do and
> MyFaces, or there's something wrong in your setup.
>
I had a qu
Hi.
Aleksei,
This is very interesting what you've done.
> The source code would definitely be more enlightening.
As far as I understood my management, we won't be releaseing it open source. But
of course I can share parts of the code.
> How do you do these expanding/contracting panels?
The
77 matches
Mail list logo