Hi Boris,
do you use jsp or faclets?
If jsp which version of tobago?
In jsp the generated input .../ should be the same in tc and tx.
Regards,
Volker
2007/4/13, Boris Kovalenko [EMAIL PROTECTED]:
Hello!
When I use tc:in id='...'/ the element rendered with proper
id=page:name. When I
2007/4/12, Simon Kitching [EMAIL PROTECTED]:
And forceId sucks anyway. I'd like to see it deprecated and removed from
Tomahawk completely.
+1
:-)
Regards,
Volker
This is not needed when javascript is invoked from the onclick of a
component, which is most of the time. Just pass the this
i revert to +0.5 because im not realy involved in tomahawk.
But if someone try to introduce forceId to tobago he gets my -1.
I still can't see any reason to use this (except user/password fields
on form based login).
Regards,
Volker
2007/4/13, Volker Weber [EMAIL PROTECTED]:
2007/4/12,
Hello!
I use facelets 1.1.12, Tobago 1.0.10
Hi Boris,
do you use jsp or faclets?
If jsp which version of tobago?
In jsp the generated input .../ should be the same in tc and tx.
Regards,
Volker
2007/4/13, Boris Kovalenko [EMAIL PROTECTED]:
Hello!
When I use tc:in id='...'/ the
Hello!
In this page I get validation error (userPassword is required) even
if #{maSearchForm.account.new} is true. What am I doing wrong again?
ui:composition template=template.xhtml
xmlns:f=http://java.sun.com/jsf/core;
xmlns:ui=http://java.sun.com/jsf/facelets;
Hello!
Forgot to add - #{maSearchForm.account.new} is return (dn == null ||
dn.length() == 0);
Hello!
In this page I get validation error (userPassword is required) even
if #{maSearchForm.account.new} is true. What am I doing wrong again?
ui:composition template=template.xhtml
Hi Stephane,
One way to do this is to set a hidden field as the *last* component on
your page.
h:inputHidden id=loginCheck validator=#{backingBean.validateLogin}
value=needed
Note : you need to have some value for the field, hence 'value=needed'
When you run your validation on this
Hi,
i don't know how the tx tags works in faclets, maybe this thread helps:
http://www.nabble.com/--Tobago---problem-with-component-binding-tf3552563.html
Regards,
Volker
2007/4/13, Boris Kovalenko [EMAIL PROTECTED]:
Hello!
I use facelets 1.1.12, Tobago 1.0.10
Hi Boris,
do you use
Hi,
my be a facelets problem,
please try to replace the tx:in with
tc:panel
f:facet name=layout
tc:gridLayout colums=fixed;1*/
/f:facet
tc:label value=Идентификатор for=@auto/
tc:in ... /
tc:panel
If this works it IS a tx-faclets problem.
Regards,
Volker
2007/4/13, Boris Kovalenko
Hello!
Yes... this helps.. Thank You, Volker...
Hi,
i don't know how the tx tags works in faclets, maybe this thread helps:
http://www.nabble.com/--Tobago---problem-with-component-binding-tf3552563.html
Regards,
Volker
2007/4/13, Boris Kovalenko [EMAIL PROTECTED]:
Hello!
I use
Hello!
I have problems with field userPassword. It should be required only
for new users. Changing this field to
tc:panel
f:facet name=layout
tc:gridLayout columns=fixed;1*/
/f:facet
tc:label
Hello!
I found, the problem is again bean scope related. Hmmm IMHO we
really need the preserveDataModel feature.
With respect,
Boris
? preserveDataModel may become a attribute of sheet, but here was
afaik no sheet involved.
2007/4/13, Boris Kovalenko [EMAIL PROTECTED]:
Hello!
I found, the problem is again bean scope related. Hmmm IMHO we
really need the preserveDataModel feature.
With respect,
Boris
I think we need the tomahawk saveState move to a myfaces-commons.jar
2007/4/13, Volker Weber [EMAIL PROTECTED]:
? preserveDataModel may become a attribute of sheet, but here was
afaik no sheet involved.
2007/4/13, Boris Kovalenko [EMAIL PROTECTED]:
Hello!
I found, the problem is again
Hello!
Yes, but the maSearchForm.account was the like to element of the
sheet (from actionListener). My mistake, I have not tell You about this.
I will do more tests... to avoid shallow copies.
? preserveDataModel may become a attribute of sheet, but here was
afaik no sheet involved.
Hello!
In previous message was the like should be was the link
With respect,
Boris
Hello Bernd,
how about this problem? This a really serious problem. We can't live
with this behaviour. Please have a look at it.
Regards
Helmut
Hello Bernd,
I'm using myFaces 1.1.5 and Tobago 1.0.11 from yesterday.
I build a simple test case for you. The problem is only with tc:link
I found
En l'instant précis du 12/04/07 10:58, Eugine F s'exprimait en ces termes:
Hello Simon,
Thanks I think you got me right. I want to let the viewhandler get all
the views from the databse. I would ceratainly be working with
facelets. The idea behind it is developing something liake a content
firefow can load svg using object tag, so you should check the the
object tag is correct and the the pointed svg file is at proper location.
En l'instant précis du 12/04/07 16:10, mathias °ö° s'exprimait en ces
termes:
i have tested with f:verbatim:
at browser (ie and firefox) i see only a grey
I am using t:dataTable and t:dataScroller.
When I click in a row, a new page is opened to edit it.
When I return to the page where the t:dataTable and t:dataScroller is,
the first page is shown.
Is there any way to mantain the page of t:dataScroller when I return?
--
hi all,
i have a little problem; all post i've seen in this forum with problems with
file upload have t:inputFileUpload accept=image/* or accept=*; well
i have to do upload of only excel files...and nothing else...i've tried
accept=xls, accept=xls/* , accept=*.xls,
Hi,
to maintain the page in scroller set first attribute of dataTable to
EL of backing bean (Integer or int).
Don't forget to reset it to 0 whenever you populate new data in table.
But there's a catch - there was hidden bug in scroller (not setting
first to new value).
Bug was fixed and now
Hi!
I'd like to announce that the latest tomahawk-sandbox (as per today)
contains an enhanced version of the ModalDialog component.
Its now possible to render another view within the content area of the
dialog.
To achieve this I've added three new attributes to the component:
dialogTitle -
Hi folks,
I'm looking for a datagrid component that runs on WebSphere Portal 5.1 and
6. It must support sorting and paging via ajax. License doesn't matter, both
commercial and opensource is ok.
Please consider that I've already tried quite a lot of component framworks,
so only hints at
Leaving UBS unsubscribing myself ;-(
--
Peter Pilgrim
UBS Investment Bank,
Client Portal Dev LDN,
Triton Court, 14 Finsbury Square, London, EC2A 1PD
United Kingdom ( +44 (0)207 56 75692 )
:: Java EE Spring 2.0 Hibernate 3.2 Development ::
Visit our website at http://www.ubs.com
This message
Hey Mario,
that sounds really nice. At least the title and viewId is something I
really appreciate. At least the viewId make the page, containing the
dialog more readable.
Is the closeButton rendering a x image? If yes, I think it might be
nice to have that button rendered as default. And only
El vie, 13-04-2007 a las 12:36 +0200, Zdeněk Sochor escribió:
Hi,
to maintain the page in scroller set first attribute of dataTable to
EL of backing bean (Integer or int).
Don't forget to reset it to 0 whenever you populate new data in table.
But there's a catch - there was hidden bug in
Hi Matthias!
Is the closeButton rendering a x image? If yes, I think it might be
nice to have that button rendered as default.
Yes I thought that too ... ok, will do so.
Thanks for your input!
Ciao,
Mario
smime.p7s
Description: S/MIME Cryptographic Signature
Hi all,
I have a problem with Tomahawk 1.1.5-SNAPSHOT and MyFaces 1.1.5.
When I try to use a t:panelTabbedPane I get the following Error:
2007-04-13 17:03:41,750 INFO
[org.apache.myfaces.shared_tomahawk.config.MyfacesConfig] - Starting up
Tomahawk on the MyFaces-JSF-Implementation
2007-04-13
Hi,
i see several errors.
1. you're mapping jsp, NOT jsf (replace to *.jsf or add new mapping) in:
filter-mapping
filter-nameMyFacesExtensionsFilter/filter-name
url-pattern*.jsp/url-pattern
/filter-mapping
2. using Tomahawk in portlets is not so easy due to massive use of
Hello,
I set up a new project with myfaces-api-1.1.5.jar,
myfaces-impl-1.1.5.jar, tomahawk-1.1.3.jar and everything works fine
so far.
Non I added tomahawk-sandbox-1.1.5-SNAPSHOT.jar from the nightly
builds to test some sandbox components. The problem is, that I can't
use the sandbox component
There are some usecases, where it is really, really useful to have a
definite id on the component and where forceid is needed: eg. if you want to
use tinyMCE as texteditor on a textfield. Using a defined id is the only
solution to style different textfields with different tinyMCE-Skins.
The
There are two reasons why I am using forceId, but both of them are
probably because I am not doing something correctly.
1) When I use an addMessage(id, ...) I have to specify the id of the
control for the message is intended. It seems (maybe I am wrong) that
if I don't use forceId, the id used
Hi,
forceId is not needed to get defined ids on the html elements.
if you set a id to each namingContainer tag, and to the relevant tag,
you will get defined ids.
any other usecase?
Regards,
Volker
2007/4/13, Stefan Frank [EMAIL PROTECTED]:
There are some usecases, where it is really,
Recently i came upon a strange behaviour using myfaces Tree2.
I have a tree2,a textfield
(required =true, id=code)
on my screen.
Iadd nodes to this tree (increasing depth), until i reach tree depth 44.
After this point: if i select ANY node with depth44, things are fine.
BUT, if I select ANY
For addMessage, you need to provide
component.getClientId(FacesContext.getCurrentInstance())
You can either explicitly bind the component to your backing bean so
you have a reference to it, or you can use a findComponent method.
On 4/13/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
There
I tried looking into this approach of having a binding component in the
backing bean, but that seems *highly* onerous. I would need a binding
component for nearly every input control. I prefer using the forceId
approach.
- Original Message -
From: Mike Kienenberger [EMAIL PROTECTED]
You only have to bind components that you're actually going to use as
addMessage targets. In my experience, that happens infrequently
since most of the time the messages are generated by a validator or
converter.
And as I said, another approach is using findComponent instead of
explicitly
I have a bean with 2 fields, state and city, with a valueChangeListener
on the state field. The listener will set the city based on new new
state. The problem is the city is being overwritten in the model update
phase. So my question is:
What is the best way to update another field
Hi:
I am using JBoss 4.0.5. Do you think I should configure it on
JBoss for hiding the jsessionid on the URL?
I have used the following code from this links
http://randomcoder.com/articles/jsessionid-considered-harmful
Unfortunately, I was not able to re-login the app again. Thanks.
Use Myfaces Core 1.1.5 and the Myfaces Tomahawk/Sandbox 1.1.5 release
candidate found here:
http://people.apache.org/builds/myfaces/tomahawk-1.1.5/
On 4/13/07, Rudi Steiner [EMAIL PROTECTED] wrote:
Hello,
I set up a new project with myfaces-api-1.1.5.jar,
myfaces-impl-1.1.5.jar,
http://myfaces.apache.org/sandbox/tlddoc/s/valueChangeNotifier.html
I've never used it as
t:updateActionListener/f:setPropertyActionListener has always worked
in my own use cases.
On 4/13/07, Paul Spencer [EMAIL PROTECTED] wrote:
I have a bean with 2 fields, state and city, with a
Another alternative will be to call facesContext.renderResponse() to skip
update model.
On 4/13/07, Mike Kienenberger [EMAIL PROTECTED] wrote:
http://myfaces.apache.org/sandbox/tlddoc/s/valueChangeNotifier.html
I've never used it as
t:updateActionListener/f:setPropertyActionListener has
Mike,
I found the following. Does it look reasonable?
public void changeState(ValueChangeEvent event)
{
PhaseId phaseId = event.getPhaseId();
if (phaseId.equals(PhaseId.ANY_PHASE))
{
event.setPhaseId(PhaseId.UPDATE_MODEL_VALUES);
event.queue();
}
else if
Paul, isn't something along these lines what valueChangeNotifier
already does? Seems like it'd be easier and safer to simply use the
existing component.
Like I said, I haven't used it, but I think it just defers the event
handling like you've proposed below. A first glance at your code
before
Hi,
I have created a survey titled Slow Computers and Developer
Productivity with the aim of finding the possible effects of slow
computer performance on developer productivity, behavior, and ROI for
companies. It is a small survey with only 5 items. I have created this
experimental survey for
Hi,
I have created a survey titled Slow Computers and Developer
Productivity with the aim of finding the possible effects of slow
computer performance on developer productivity, behavior, and ROI for
companies. It is a small survey with only 5 items. I have created this
experimental survey for
47 matches
Mail list logo