Tobago 1.0.10
MyFaces 1.1.5
Facelets 1.1.11
Tomcat 5.5.17
Netbeans 5.5
the problem is, in a stripped example ajax works, but if I put this code in
the complete gui the value doesnt works.
I used the firebug extension from firefox and watch the reload javascript
function. two times popup open
Now is my project unable to start in tomcat. and it doesnt help to setting
on tobago 1.0.10 :-( that is a bad day ...
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it
from fulfilling this request.
exception
Hi David,
please check the librarys in you war. Seems that you have mixed up
different versions.
AjaxUtils.getAjaxComponents() is new in 1.0.11-SNAPSHOT.
Regards,
Volker
2007/3/30, David Steinkopff [EMAIL PROTECTED]:
Now is my project unable to start in tomcat. and it doesnt help to setting
Hi again,
i don't know the firebug extension, is it possible to examine the
object type of the container from the statement LOG.warn(Illegal
Container for reload: + (typeof container));?
This should never occur, there is a object registered as
ajaxReloadable, but not string(sould be the id of a
Hi All,
I need to forward to a page based upon a condition that i need to check.
I was doing some thing like this,
tc:panel rendered=#{!shoppingCart.cartContainsItems}
f:verbatim
jsp:forward page=%=request.getContextPath()%/jsp/checkout.faces/
/f:verbatim
/tc:panel
But this
Complex: container: div#pageid:tabgroup.tobago-panel-default
Stripped: container: div#pageid:tabgroup.tobago-panel-default
I believe firebug have a strange behavior. here line number to line number
641-644,647-648,664,668. ?-(
There is no different for me between 1.0.10 and 1.0.11nightly
So I
Hi,
I thought that if I return null from button's action method, this
would be equal to validation faild, and would prevent the popup from
opening. Unfortunately, it doesn't work this way. Is the only way to
achieve this behavior to use the rendered attribute od popup?
regards,
michael
--
Hi all,
I'm just confronted with the same problem at the moment. Has anybody a
solution?
my jsf tobago code:
tc:tree value=#{demo.tree} id=tree idReference=userObject.id
nameReference=userObject.name showIcons=true
showJunctions=true
showRootJunction=true
From: Simon Kitching [EMAIL PROTECTED]
Reply-To: MyFaces Discussion users@myfaces.apache.org
To: MyFaces Discussion users@myfaces.apache.org
Subject: Re: Faces context not found
Date: Fri, 30 Mar 2007 07:57:46 +1200
Eugine Fosah wrote:
Hi everyone out there
I am developing an application
Hi Cyrill,
place the following code(with respect to urs) in between tc:tree and
/tc:tree
f:facet name=treeNodeCommand
tc:command actionListener=#{inventorySearch.browseCategories}
action=#{inventorySearch.showSearchResults} /
/f:facet
Regards,
Madan
- Original Message
Simon Kitching wrote:
The solution I ended up with was for a page to use t:outputLink to
render a list of links to available documents. Each link looks like:
h:outputLink value=/showDoc target=document
f:param name=docId value=#{row.id}/
t:outputText value=#{row.docName}/
/h:ouputLink
Hello To all,
I am developing an application with JSF and facelets. I have a form with
some fileds.I am having the follwing problem. I do not have any error
messages displayed on my page when I click the submit button even though
required attribute was set. The beans have all been defined
Use h:messages/ to see validation messages in your form.
En l'instant précis du 30/03/07 14:53, Eugine F s'exprimait en ces termes:
Hello To all,
I am developing an application with JSF and facelets. I have a form
with some fileds.I am having the follwing problem. I do not have any
error
This does not work.
The ? must be part of the EL expression, or ?
What I want is that if MyBean.checkA is true, then
doJS('staticvalue','#{beanA.value}'); should be printed into the attribute
value.
This expression has to be in single quotes.
The problem is that the JavaScript parameters in
A simpler sample:
attribute=#{ MyBean.checkA ? 'alert('aaa');':'alert ('bbb');'}
results in org.apache.commons.el.parser.ParseException: Encountered ? \'alert
(\' aaa at line 1, column 52.
Michael
-Original Message-
From: Michael Heinen [mailto:[EMAIL PROTECTED]
Sent: Freitag, 30.
So what you really want is
#{MyBean.checkA
? 'doJS('staticvalue',' + beanA.value + ');'
: 'alert('hello'));'
Some of the issues I see
- You need to somehow escape the single quotes in the javascript
- You need to be able to concat the doJS expression.
I've solved the second issue by
Perhaps escape quotes? \' ?
michał
On 30/03/07, Michael Heinen [EMAIL PROTECTED] wrote:
A simpler sample:
attribute=#{ MyBean.checkA ? 'alert('aaa');':'alert ('bbb');'}
results in org.apache.commons.el.parser.ParseException: Encountered ? \'alert (\'
aaa at line 1, column 52.
Michael
yes, I also had this bug: It does not appear in development, only
after a certain runtime and nobody seems to know why this is
happening. Apart from replacing ui:repeat with t:dataList, I found
that adding a size=n to the ui:repeat, where n is greater than what
you expect your result-set to be,
Hello all,
I am wondering if it is possible to make sure that no user input is
possible/allowed whilst the server is processing in other words when the
startText of the a4j:status is displayed. Do I need some sort of a modal
component? Any best practice one of you could advise? How can I disable
Unfortunatedly I am still using jsps instead of facelets.
Escaping with slashes or backslashes does not work.
EL really sucks.
I do now the following:
attribute=#{MyBean.checkA?'realJsFunction':'dummyJsFunction'}('staticvalue','#{beanA.value}');
Where dummyJS is an empty javascript function.
A
Null is not equal to a validation failure. It means that the view
doesn't need to be recreated from the navigation rules, just reuse the
old one.
No idea what you're detecting for validation failure, but you could
always set a create a FacesMessage from your action if you needed to
do so. I
One thought...
You can use divs with z-index layering to accomplish this task. This will
allow you to use a transparent div on top of page (essentially functioning
as the glass pane in a Swing application).
On 3/30/07, Julien Martin [EMAIL PROTECTED] wrote:
Hello all,
I am wondering if it
Thanks for clarification
Hi,
i take the following approach in order to get a freeze-screen during a
(native, non-ajax) request-response-cycle:
add the attribute onclick=waitDuringRequestDialogVar.show(); to your
command component which raises the submit.
s:modalDialog dialogId=waitDuringRequestDialog
A fancy way for doing modal windows and disabling other userinput are
either thickbox (http://jquery.com/demo/thickbox/) or greybox
(http://orangoo.com/labs/GreyBox/) - they both allow you to show
arbitrary content while users are waiting for background processing.
Just make sure you don't
thanks for your input I am going to have a look at all this.
J.
2007/3/30, Stefan Frank [EMAIL PROTECTED]:
A fancy way for doing modal windows and disabling other userinput are
either thickbox (http://jquery.com/demo/thickbox/) or greybox
(http://orangoo.com/labs/GreyBox/) - they both allow
Hello
I already have this problem.
I do how is mike example
s:inputSuggestAjax id=pointOfConsumptionFilter
suggestedItemsMethod=#{
pagedDeliveryScheduleSort.findPointOfConsumptions }
value=#{
Edney,
The only thing I can suggest is that you try it with the latest
MyFaces/Tomahawk/Sandbox.
This code works. I don't know if the t:dojoInitializer part matters
-- I've never used it for other components.
f:view
h:form id=form
t:dojoInitializer bindEncoding=utf-8/
Hi, jscookMenu works well and I can prepare a tree of
NavigationMenuItems where a few of them are disabled.
However I'm not able to show them through a different style, such as grayed.
NavigationMenuItem offers a setDisabledStyleClass() setter - but this
seems ignored by rendering - since on
Here's one that really has me scratching my head. I have two drop-down menus
on my page pulling values from a database. When one changes, an a4j:support
event should populate the other with appropriate values. It seems to work
fine except that the value in the backing been attached to the first
Mike Kienenberger wrote:
Yes, that's how I would do it. If you specify an itemValue, then that
value must be of the correct type. Ie, is not a containerType
(Srinivas) and 0 is not a region (Carl).
Ouch. The assumption is that there is a one-one correspondence between the
list items
Here's how the tomahawk examples do it:
h:selectOneMenu id=selone_menu_colors
value=#{carconf.color} styleClass=selectOneMenu
converter=#{carconf.colorConverter}
f:selectItem itemValue=
itemLabel=#{example_messages['empty_selitem']} /
public Object
Hmmm. I must be missing something. Other than parameterization, including
your use of disable and null values, I don't see any significant differences
(I also tried moving the converter into the h:selectOneMenu - no effect). In
fact, the Tomahawk example uses as a nothing -selected value, just
Post the getAsObject method from ProjectTypeConverter.
On 3/30/07, fastbob [EMAIL PROTECTED] wrote:
Hmmm. I must be missing something. Other than parameterization, including
your use of disable and null values, I don't see any significant differences
(I also tried moving the converter into the
Sure. See below. But before you check that, we're making it through the apply
values phase. If the user does not select a value from the list, they get an
error due to required=true (oops - when I edited for posting I deleted the
required). If they do select a value, the converter is called with
Yes, I think you're right. It's not the form String - Object that's
causing the issue.
It looks like it's the contents of the selectItem values. What are
you initializing the selectItem value fields with?
What's the contents of selectItem.value when it's of type String?
On 3/30/07, fastbob
Hi All,
Is there any way to do such kind of thing...?
Madan
- Original Message
From: madan chowdary [EMAIL PROTECTED]
To: MyFaces Discussion users@myfaces.apache.org
Sent: Friday, 30 March, 2007 2:57:27 PM
Subject: [Tobago] jsp:forward in Tobago pages
Hi All,
I need to forward to a
37 matches
Mail list logo