The issue was that tabbedPane renders a form
so the form for the links of the tree are a nested html form
java script can't access the form in that case.
overhauling the page helped
Thx,
Matt
On 11/16/06, Matthias Wessendorf [EMAIL PROTECTED] wrote:
what is rendered for the treeform
form
... it renders the form only when not embedded in a form...
h:form
t:tabbe
did the trick (and removing the *nested* forms) of course
On 11/17/06, Matthias Wessendorf [EMAIL PROTECTED] wrote:
The issue was that tabbedPane renders a form
so the form for the links of the tree are a nested
Thanks! This was a very useful response.
David Chandler a écrit :
Oh, I think I see now. You could write a phase listener to run before
RENDER_RESPONSE that looks for messages associated with your
sub-components, removes them from the messages queue, and adds them
associated with the parent
Hi,
I've a problem with an application.
I want to present a document in an new window as effect of clicking on a
button (the form values should be transported to the server before the
document is rendered). In the button's onclick I set the form's target.
But after my javascript code another
On 11/16/06, Pfau, Oliver [EMAIL PROTECTED] wrote:
Another question...is there a difference is I register a phase listener in
my backing bean constructor or in the faces-config.xml ?
One of the issues not yet addressed in this thread is really important ...
when does your phase listener get
Hello,
with a own theme you can define additonal markup for components that
support the markup property. At this time out, in and box (trunk).
I will prepare a short howto for Own Theme and Custom Markup later.
Because lack of time this won't be finished until tonight :-(
Regards
Bernd
My question is not how to get it via java script. My questions it how to
send it to the server - add hidden component on each form or something like
that...
2006/11/16, Andrew Robinson [EMAIL PROTECTED]:
Are you looking for the viewable space inside the browser (the pixel
dimensions of the
Hi Udo,
Thanks for reply.
I tried scenario you described on demo application - changed sheet on
client side tab demo. However if I put the same sheet on different tabs
like:
tc:tab ...
tc:sheet ...
tc:column ...
tc:column ...
tc:tab ...
tc:sheet ...
hi all,
i have a problem with passing parameters to window.open; i've searched this
forum , i saw resolvings but non works for me; let me show you my context of
problem:
i have a jsf page with a commandLink:
t:commandLink action=#{MB1.showSottoscritori}
Hello Bernd,
thank you for this information. This is what I needed. I'll wait for
your howto then. You don't need to hurry with the howto. Next week will be ok.
Regards
Helmut
Hello,
with a own theme you can define additonal markup for components that
support the markup property. At this
Hi,
Ty this:
0) layout you page like this
form id=main.../form
form id=popupForm target=ThePopup.../form
1) do a javascript 'window.open' like this
window.open('','ThePopup','left=220,top=300,width=600,height=250,scrollbars=1,status=1,toolbar=0,resizable=0,menubar=0');
2) transfert, if needed,
We use a filter which examines the request and creates a bean detailing the
client's capabilities and other info which is then pushed into the session.
Hidden JS-driven form fields in the form capture any aspect we wish to track
while the rest of the info comes from the headers. Our backing beans
Hi,
My page starts with %@ page contentType=text/html; charset=utf-8...,
but apparently charset is not taken into account. I.e. when a page is
rendered as JSP (with all JSF-specific contents removed, of course), non-
ASCII characters are written in UTF-8 encoding, as expected. However, if
the
Im having a set of data that are coming dynamically from some source and
displaying it in a dataTable.
Also, I have given support for sorting on columns using CommandSortHeader.
Basically i used two t:columns. i.e
t:dataTable
t:columns value=#{TableBean.keyColumnDataModel} var=kcolumn
Hi,
I'm using tomahawk datatable with dynamic columns. Is it possible to invoke
an action (similiar to a h:commandbutton) for rowOnDblClick?
Documentation says only javascript is allowed there. Would be nice to be
able to invoke an action, so I dont have to create a button/commandlink for
each
Hi,
you mean something like this?
http://example.irian.at/example-sandbox-20061117/selectOneRow.jsf
It is a sandbox addition to dataTable, but works very fine.
cheers,
Gerald
On 11/17/06, Sudhakar Mekathotti [EMAIL PROTECTED] wrote:
Hi,
I'm using tomahawk datatable with dynamic columns
On 11/17/06, Gerald Müllan [EMAIL PROTECTED] wrote:
you mean something like this?
http://example.irian.at/example-sandbox-20061117/selectOneRow.jsf
It is a sandbox addition to dataTable, but works very fine.
No, not really. I'm would like to do.
t:datatable rowOnDblClick
I am getting wierd behavior from what I would expect my layout positioning
should be, and (as usual) it is different in both IE and Firefox. Does JSF
put hidden elements that the browser messes up on? Is there a preferred way
to layout pages in JSF? I have seen facelets and layout tags. Any
You're going to have to be more specific (simple code examples w/
CSS). JSF doesn't put any CSS in the page unless you are using things
like inputCalendar, and those controls shouldn't affect anything but
themselves.
I recommend using firefox with the web developer toolbar to
troubleshoot the
://wiki.apache.org/myfaces/SubmitPageOnValueChange
Javascript shouldn't limit you at all.
On 11/17/06, Sudhakar Mekathotti [EMAIL PROTECTED] wrote:
On 11/17/06, Gerald Müllan [EMAIL PROTECTED] wrote:
you mean something like this?
http://example.irian.at/example-sandbox-20061117/selectOneRow.jsf
Paul,
I haven't had any trouble using UTF-8 so far. Can you confirm that you
have the following in your pages:
%@ page contentType=text/html; charset=utf-8 language=java %
...
head
...
meta http-equiv=Content-Type content=text/html; charset=utf-8/
/head
I'm pretty sure you need both.
Andrew,
Thanks for the tip...
One *wierd* thing that occurred when I did use the Web Developer plug in is
that when I first load the page, the one div block that is giving me fits is
rendered badly (basically flowing under a div block to its left). However,
when I select Disable All Styles
Jeff Bischoff wrote:
I haven't had any trouble using UTF-8 so far. Can you confirm that you
have the following in your pages:
%@ page contentType=text/html; charset=utf-8 language=java %
...
head
...
meta http-equiv=Content-Type content=text/html; charset=utf-8/
/head
I'm pretty
Stephen,
The unfortunate answer to that is... Possibly. JSF tags (depending on
the renderkit of course) will have multiple elements within the tags.
Especially when using facelets, it is like 90% useless to use tags that
simply replace existing HTML tags. Therefore, the tags you are using
I wrote:
Jeff Bischoff wrote:
I haven't had any trouble using UTF-8 so far. Can you confirm that you
have the following in your pages:
%@ page contentType=text/html; charset=utf-8 language=java %
...
head
...
meta http-equiv=Content-Type content=text/html; charset=utf-8/
I'm just starting myFaces and want to understand how the documentation works.
For example the JSCookMenu component described at
http://myfaces.apache.org/tomahawk/jscookmenu.html
http://myfaces.apache.org/tomahawk/jscookmenu.html has the usage section :
t:jscookMenu [
So i need to to recursively to find all forms and add them hidden field and
javascript? And how i get this info when the user session is created so the
first opened page could be rendered according to this info?
2006/11/17, Julian Ray [EMAIL PROTECTED]:
We use a filter which examines the
Why not create a simple control which adds the hidden field and JS and drop
it into each form. For the first form you can drop the control into the
logon page or use a redirect.
_
From: Adrian Mitev [mailto:[EMAIL PROTECTED]
Sent: Friday, November 17, 2006 4:18 PM
To: MyFaces Discussion
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/
Thanks Paul,
I'll go through those links. If you're still there could you briefly explain
what :
t:navigationMenuItem id=nav_2_1
itemLabel=#{example_messages['nav_Sample_1']} action=go_sample1
/
the #{example_messages['nav_Sample_1']} part of this is.
Steve
--
View this message in
How to do it using redirect?
2006/11/17, Julian Ray [EMAIL PROTECTED]:
Why not create a simple control which adds the hidden field and JS and
drop it into each form. For the first form you can drop the control into the
logon page or use a redirect.
--
*From:*
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
Hello,
is there any way to run tobago + myfaces + facelets on liferay portal?
Maybe do you have any simple application?
Thanks,
Maciek.
--
View this message in context:
http://www.nabble.com/Tobago-and-liferay-tf2657399.html#a7412509
Sent from the MyFaces - Users mailing list archive at
We're using myfaces+facelets+tomahawk on liferay successfully, but haven't had
need of tobago integration yet.
is there any way to run tobago + myfaces + facelets on liferay portal?
Maybe do you have any simple application?
Hi,
Somebody on the list may have implemented this. I have two
SelectOneMenu, A and B, with the same list. But, when Menu A is
selected, the list of B has to be recreated with (full list minus the
item selected in Menu A).
My valueChangeEvent is something like the following:
public void
Hi,
Can you please tell me how can I use myfaces to implement a wizard
type application?
1. User go to a page, fill in a form. pass to second page
2. the second page is built based on information from page #1
3. user fill in second pages, go to third page.
When user clicks 'cancel' or finish
One way is to use the tomahawk saveState control. Use a single request level
bean to collect your form data. Save the bean use saveState in each page of
the wizard. If the user wants to cancel use an action which either navigates
to a page where there is not saveState (the wizard backing bean is
Conversational state is made for this type of work. There is one in
the sandbox (haven't used it). JBoss-Seam is excellent for
conversations (what I used). Also the shale framework has a dialog
manager that can do something similar I think.
Other than that, use t:saveState or a4j:keepAlive
38 matches
Mail list logo