Simon Kitching wrote:
How about:
t:div rendered=#{pageBean.showPopup}
f:verbatim
script type=text/javascript
window.open(/popup.jsf, popupwin, );
/script
/f:verbatim
/t:div
Then in your method that is connected to the commandButton used to
submit the page,
I have also positioning problems within poertlet environment.
This mail is prefixed as SOLVED. Is this solved within the
inputCalendar-Component already?
Then I would come back from Jenia-Component for Calendar to Tomahawk :-)
Regards,
Stephan
-Original Message-
From: news
Hi Volker,
thank you for your answer.
However, I could not get the grip of the solution
for my tc:link problem from the popup-example.
My table (sheet) is filled by a database select.
One column is configured as link and the lable of the
link is filled with a specific Id (String).
When the link
I don't know if it should work, but you could try this:
define a request scope bean using spring, where you will store the ID.
Using Spring, inject this bean into bean where you need to use the ID.
Now, in the tc:link's listener, get yours link object from event, read
ID from it, and store it in
Hi,
if you use the actionListener attribute instead of the action attribute,
(if you need to do navagation here you need both) you get a
actionEvent in your method
and can get the actual rowdata:
tc:link actionListener=#{mainctrl.ctrDlgMainDialog.searchRightActionListener}
...
public void
Hi All,
Is anybody using Tomahawk t:inputCalender in RAD 6.0 and websphere
portal server 5.1.0.3.
Is it working properly.??
If so which version of tomahawk,RAD and Portal Server are you using.
Best Regards,
Pallavi
The information contained in this electronic message and any attachments
Hi,
I am looking for a way to check whether a managed bean has been created.
Is there any function for this in the JSF api ?
Or do I have to check all scopes manually ?
Michael
Hi,
I wanted to use it within Liferay Portal, but the popup is not rendered
correct there.
the popup has alwas an offset to the input-control.
Have also a look on the mail-thread of this week:
[Solved] inputCalendar position when using renderAsPopup=true
Currently I use jenia4faces popup
Strittmatter, Stephan schrieb:
I have also positioning problems within poertlet environment.
This mail is prefixed as SOLVED. Is this solved within the
inputCalendar-Component already?
Then I would come back from Jenia-Component for Calendar to Tomahawk :-)
Regards,
Not quite solved,
Hi!
To explain shortly, I have a page with a dataTable, and for each item in the
table I can click a link and open a popup (using the window.open function in
javascript) with specified information.
I also have some commandLinks and commandButtons inside my popup-page, and the
backing bean
Hello,
I'm facing the following problem:
I have an action, in which I want to trigger a popup window, in case the
triggered background job failed. According to the MyFaces Wiki
this can be achieved by
FacesContext context = getFacesContext();
ViewHandler viewHandler =
Okay, I see. I know these weekends and wifes asking why you are again at
your laptop ;-)
I can life with this intermediate solution of using the jenia component,
but I will looking forward to your fixes. If I can support you by
testing,
feel free to mail me your version. I use following
Hi,
perhaps it would be good idea to add new token to gridLayout, ex.
20px*
which would mean:
take remaining space, but at least 20px.
Now if you use * and there is no space left, the element will simply
not get rendered.
regards,
michael
--
[EMAIL PROTECTED]
http://stawicki.jasliska.pl
Strittmatter, Stephan schrieb:
Okay, I see. I know these weekends and wifes asking why you are again at
Actually less wife, more along the lines of total burnout,
and parents having reached a certain age and needed a helping hand.
your laptop ;-)
I can life with this intermediate solution
Hi!
I already seached this forum but found no answer for my problem that I hope
is simple to fix.
I have a selectOneListBox that displays Employees that should be selected. I
wrote a converter but I always get a Wert ist keine gültige Auswahl -
means value is invalid
Here is my code:
Hi Simon,
probably your Employee-Class is not serializable and do not implement equals?
If it is not implementing equals, every instance is different...
Regards,
Stephan
-Original Message-
From: simon.s [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 27, 2007 2:08 PM
To:
Hi Volker,
this was the perfect solution!
So far I never used internal classes like
UIComponent and UIData despite the amount of
code I have writen in Tobago.
I hope this brings me closer to understand
Tobago internals.
Thank you very much!
Regards
Clemens
Original-Nachricht
Strittmatter, Stephan wrote:
probably your Employee-Class is not serializable and do not implement
equals?
If it is not implementing equals, every instance is different...
Ok, I fixed that but had no success. If I do not use a SelectBox but a
simple text-input to type in the ID of the
Hi Eivind,
Suddenly all my commandLinks and commandButtons didn't work anymore, I
could press them and the form would submit (causing a reload of the page),
but no actions would be fired, and the updateActionListeners stopped
working as well.
Did you use the h:messages/ tag in your page to
hello,
I have a complex gui build up with tobago. I used renderedPartially
attribute to speed up the main window. now I build some popup as separate
window and every time I open a popup the complete page go reloading.
my question:
how I can use renderedPartially with popup and popup reference
Hi,
Fairly new to myFaces and trying to figure out how to solve stale form
submission in myFaces, as a result
of browser back button navigation. I've done some prelimenary tests
using myFaces 1.1.0 using a PhaseListener
and jsf_sequence from RenderUtils. I've noticed this has been replaced
by
Isn't the delegation supposed to allow registering of more then one view
handler?
On 3/27/07, Brad Smith [EMAIL PROTECTED] wrote:
Thank you Simon. Do you by chance know what to do when also using
something like Facelets which also has a custom ViewHandler? I mean as
far as how the faces config
From: Christian Kaltepoth [EMAIL PROTECTED]
Hi Eivind,
Suddenly all my commandLinks and commandButtons didn't work anymore, I
could press them and the form would submit (causing a reload of the page),
but no actions would be fired, and the updateActionListeners stopped
working as
From: Jörn Zaefferer [EMAIL PROTECTED]
Isn't the delegation supposed to allow registering of more then one view
handler?
Yes, but you can not control the order they are registered. You might have a
scenario where your view handler is registered before a greedy view handler
that wants the
Hi Eivind,
Suddenly all my commandLinks and commandButtons didn't work anymore, I
could press them and the form would submit (causing a reload of the page),
but no actions would be fired, and the updateActionListeners stopped
working as well.
Did you use the h:messages/ tag in your page to
Hi David,
the tobago demo [1] has a popup example with renderedPartially (config
for table demo).
the popupReference ins needed to open a popup from a command which is
not parent of the popup(used in the toolbar example).
Regards,
Volker
[1] lifedemo:
I have the following inputText
h:inputText value=#{someDate} id=endDate
f:convertDateTime pattern=MM/dd/ /
/h:inputText
However, I want the application to also recognize the pattern
MM/dd/yy...
Is it possible to specify two date patterns and have JSF convert them
both
Ok, so I got this to work by using this code in the first bean:
SecondBean bean =
(SecondBean)FacesContext.getCurrentInstance().getApplication().getVariableResolver().resolveVariable(
FacesContext.getCurrentInstance(), secondBean);
return bean.beginView();
It successfully initializes the second
Still seems to me like the easiest way to do this is with
uicommand action=#{page.save}
f:setPropertyActionListener target=#{page2.initialize}
value=anything/
f:setPropertyActionListener target=#{page3.initialize}
value=whatever/
/uicommand
On 3/27/07, Joe Reger, Jr. [EMAIL PROTECTED]
You'd need to write your own converter.
Subclass the standard JSF date converter, then override getAsObject()
to also try inputPattern2=-MM-dd's value if pattern didn't work.
On 3/27/07, Charbel Abdul-Massih [EMAIL PROTECTED] wrote:
I have the following inputText
h:inputText
Hello,
You can also consider using Trinidad, its date converter supports a primary
and secondary pattern.
Regards,
~ Simon
On 3/27/07, Mike Kienenberger [EMAIL PROTECTED] wrote:
You'd need to write your own converter.
Subclass the standard JSF date converter, then override getAsObject()
to
Carsten Kaiser wrote:
Hello,
I’m facing the following problem:
I have an action, in which I want to trigger a popup window, in case the
triggered background job failed. According to the MyFaces Wiki
this can be achieved by
FacesContext context = getFacesContext();
The best way to answer this is to check the source code and see what
JSF does when you reference a bean. It either retrieves the existing
bean or creates a new one. If there's an api to determine if the bean
already exists, that code would probably probably using it.
On 3/27/07, Michael
Marko Asplund wrote:
Simon Kitching wrote:
How about:
t:div rendered=#{pageBean.showPopup}
f:verbatim
script type=text/javascript
window.open(/popup.jsf, popupwin, );
/script
/f:verbatim
/t:div
Then in your method that is connected to the commandButton used
http://incubator.apache.org/adffaces/trinidad-api/tagdoc/tr_convertDateTime.html
On 3/27/07, Simon Lessard [EMAIL PROTECTED] wrote:
Hello,
You can also consider using Trinidad, its date converter supports a primary
and secondary pattern.
Regards,
~ Simon
On 3/27/07, Mike Kienenberger
Hi,
I have three tabs included on a jsp page say tab1,tab2 and tab3.
On tab1 I have two selectManyListboxes, and on tab2 three inputTexts and on
tab3 two selectmanyListboxes
I have common submit button for all three tabs.On submit I should get the
three tabs data and display it
on other jsp
Hi Mike! Thanks. That definitely works for my initial scenario. But I
hadn't considered the scenario of failed form validation on page2. When
that happens the creation of the backing bean is out of my control and JSF
doesn't give me an easy way to initialize.
And for all: I know this isn't a
I think the biggest problem with using the constructor is that it only
gets triggered on the initial view. It's not called if the object is
recreated while serialized. That's what you're seeing now. You
either need to save-state the initialized data, or you need to provide
initialization
Hello Simon,
Thank you for your thoughts. When I interpreted the description stated
on http://wiki.apache.org/myfaces/JavascriptOpenNewWindow correctly
, I would expect this inline javascript code to appear in the 'onload'
event of the body tag on the resulting page, so that the popup is
From: Volker Weber [EMAIL PROTECTED]
Reply-To: MyFaces Discussion users@myfaces.apache.org
To: MyFaces Discussion users@myfaces.apache.org
Subject: Re: [Tobago] using value from tc:link on server
Date: Tue, 27 Mar 2007 11:27:11 +0200
Hi,
if you use the actionListener attribute instead of
Hi
I am using Jenia4Faces 1.2.1 Nightly Build(from March 08th 2007) and MyFaces
1.1.5.
My problem is with single and multiple row selector, they are working fine
when I select something and submit the form. The backing bean has the list
and the object populated.
But I have an edit mode and that
I'm having a little trouble getting ajax4jsf to re-render an element nested
within an a4j:outputPanel. Essentially what I have is a drop-down menu with
a4j:support attached that populates another drop-down when the value
changes. This works fine, but I also want that menu to call another method
Jörn - I do not know. Any examples that I have seen (e.g. Facelets with
Trinidad or Facelets with Ajax4JSF) show Facelets being registered in
web.xml via a custom context configuration. I am having a difficult
time finding any specification for JSF configuration file
(faces-config.xml by default)
On 3/27/07, Carsten Kaiser [EMAIL PROTECTED] wrote:
But I'm still interested in getting some statement concerning the
description on the Wiki page referenced above.
Edit it :-)
Hello!
Is there a way to specify how text should be aligned within
tc:cell? I found no solution :(
With respect,
Boris
Mike Kienenberger wrote:
On 3/27/07, Carsten Kaiser [EMAIL PROTECTED] wrote:
But I'm still interested in getting some statement concerning the
description on the Wiki page referenced above.
Edit it :-)
I think Carsten is asking for an explanation of the example code.
After looking at it,
Hello Simon,
thank you very much for his hint. I really could have thought about
looking for any other value of resource position! I will give it a try!
Hope, that BODY_ONLOAD will not ask for the ResponseWriter...
Regards,
CAK
--
Carsten Kaiser
Principal Consultant
mailto:[EMAIL
Kai Jemella wrote:
Hello Bernd,
thank you very much for helping me.
Kai
2006/10/27, Bernd Bohmann [EMAIL PROTECTED]:
Hello Kai,
the parameter is only included in the case of the tc:link link attribute.
As suggested by Volker on this list you can use this
tc:column
Matthias Wessendorf wrote:
The Apache Trinidad Podling is pleased to announce the release of Trinidad Core
1.0.0-incubating.
Could you comment a bit on what this release means from an application
developer's point of view.
Is the release stable enough for production use? Should Trinidad be
Marko,
questions like this have already been asked on the trinidad user/dev list.
Please join them, because a bit OT here,
Is the release stable enough for production use? Should Trinidad be
used instead of ADF Faces in new projects?
yes. incubation != instable. Incubation means that a group
Web application using JSF deployed on JBoss runing on Linux. Another server
machine is Windows 2003. For file upload, all the file need to be stored in the
windows machine. Questions:
how to access the windows' file system from Linux?
For file upload, can the file be uploaded directly into
Hi Matthias,
I think that additionally to the region component, the af:cache
component didn't make it, right?
regards,
Martin
On 3/28/07, Matthias Wessendorf [EMAIL PROTECTED] wrote:
Marko,
questions like this have already been asked on the trinidad user/dev list.
Please join them, because
Hey Martin,
that component isn't shipped w/ ADF Faces ([1]). It's also not
developed by our team / group. I know that component only because
other mentioned :-)
-M
[1]
http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/exchange/jsf/doc/tagdoc/core/index.html
On 3/28/07,
53 matches
Mail list logo