Hi,
I have the following question about one of myFaces custom components.
inputFileUpload
I managed to do everything except one thing. I don't know how to save
the state of the input field where the path to a specified file
is entered. When I reload the page, I am developing, the state is
Hi,
For security reason, in HTML (not related to JSF), it's impossible to
set an initial value for an upload field.
En l'instant précis du 05/06/07 10:55, ncheltsov s'exprimait en ces termes:
Hi,
I have the following question about one of myFaces custom components.
inputFileUpload
I
So, it is intended to work like this and it is not an omission?
You mean, that if I want something like this, I must implement it by my self
and to take all the responsibility of a probable security holes?
David Delbecq wrote:
Hi,
For security reason, in HTML (not related to JSF), it's
Hi,
yes, it is intended to work like this.
And if you want to implement it yourself, you need to implement a
custom browser.
The existing browsers (IE, firefox, opera, ...) dit not allow this.
In HTML it is not possible to set an initial value, (nor set the value
by javascript later) to a
Hello everybody,
I'm trying to configure a sample application using Spring-Webflow,
myfaces, tobago to run under tomcat and java 1.4 using the retro
libraries. Everything works fine without tobago, b ut when I try to
include tobago I get the following error:
javax.servlet.ServletException
Hi, as a matter of debugging help I would need to find out sources of
el-api.jar and el-ri.jar.
Sometime ago I found out some sparse sources (from Glassfish svn ?), but
there was some mismatch between debugger source lines and jar binaries
as usually distributed along common JSF packages.
Hi All,
I want to design datatTable as,
---
Edit | Personal Information| Account Information |
// first row
I am not sure, that I fully understand your question, but I think, that
h:dataTable element is not intended
for such use. You can display with it some tabular information, set
header and footer and apply some visual cosmetic.
That's all. Consider using other component.
P.S. Of course I can
el-api.jar and el-ri.jar are available from the Apache Tomcat 6.x project.
I don't know the details of how to fetch them. Asking on that mailing
list is probably your best bet.
Wendy posted this in the past for maven users:
dependency
groupIdorg.apache.tomcat/groupId
I am using Selenium to test the UI portion of my application. Currently
I am having trouble testing the menus generated by the JSCookMenu.
Specifically I do not know what to enter for Target when trying to
click on the menu using the click command.
Is any testing JSCookMenus with Selenium?
Hi,
I use selenium to test t:tree2. My problem was how to locate the [+]
or [-] icon in front of specific node. I ended up writing my own
locator (in selenium terms) that traverses the DOM near the node's
text and finds image tags with specific URL (plus.png/minus.png).
Locating the image makes
Svi,
Thank you point me to user-extensions. I was hoping for a simpler
solution :)
Paul Spencer
Svilen Ivanov wrote:
Hi,
I use selenium to test t:tree2. My problem was how to locate the [+]
or [-] icon in front of specific node. I ended up writing my own
locator (in selenium terms) that
t:dataList allows you more fine grained control over the display.
On 6/5/07, ncheltsov [EMAIL PROTECTED] wrote:
I am not sure, that I fully understand your question, but I think, that
h:dataTable element is not intended
for such use. You can display with it some tabular information, set
header
Thanks for your response Ernst!
Yeah, I have looked around at pretty much every JSF AJAX framework out
there and it isn't that I'm not impressed. There are definitely some
smart people working to create generic components to be consumed by the
masses. In our current position though I don't
You've already summarized the general answer to your question: use
component bindings and manually validate and update the values.
There may be other options (sandbox:subForm, perhaps), but it will
require that you post specifically what you're trying to do.
On 6/4/07, Sertic Mirko, Bedag
Labels are a component like anything else.
However, I suspect you'd need to iterate through the entire component
tree, looking for any h:label component that contains a reference to
the current component.
Another way to go is to use the t:message/messages component with
replaceIdWithLabel=true
Hello Mike,
Thanks for you suggestion.
Using a fully-qualified client-id does work indeed. It took some
trail-and-error to determine the proper path from the NamingContainer,
but I got a proper reference to the t:selectOneRadio for the
t:radio-tag.
So I started to use the following code:
Hi,
I'm using the trinidad SVN source.
When i want to save a simple form, i get the JS error e.getFacesMessage
is no Function.
There seems to be a problem initialising the TrConverterException in
Locale.js cause the LocaleElements array is empty.
Someone familiar with Locale.js could help me
what values are you binding to your input controls ?
looks like a JS issue, when trying to throw JS TrConverterException
-M
On 6/5/07, David Uebelacker [EMAIL PROTECTED] wrote:
Hi,
I'm using the trinidad SVN source.
When i want to save a simple form, i get the JS error e.getFacesMessage
is
You're using the same variable name for two different things:
t:selectItems
var=seeker
t:dataList
var=seeker
I wouldn't recommend doing this as it's only going to cause confusion
(even though they are both in different scopes).
I'm guessing the ordering problem is caused by how
I'd suggest seeing a stacktrace to find out what phase this is
being invoked in. RequestContext.isPostback() doesn't work
until the end of Restore View phase, and I suspect your
code is being called during Restore View.
-- Adam
On 6/4/07, Francisco Passos [EMAIL PROTECTED] wrote:
Actually
Hi,
I want to have a tree with it's nodes selectable AND an associated
treeNodeCommand.
But it's impossible to have both together. When the nodes are selectable the
treeNodeCommand
is not executed. You can see this in the demo.
Regards
Helmut
Hello Mike,
I'm already using facelets with MyFaces for my application ( who isn't
these days? ), so the suggestion to use a panelGroup isn't necessary.
I followed your advice and changed one of the values of the
var-attribute and that solved the problem. Now I can place the
t:radio-tag before
Wow. I'm surprised that the var value was the cause of the problem. I
don't really know why that would be. Glad it worked out, though.
On 6/5/07, Beelen, Marco [EMAIL PROTECTED] wrote:
Hello Mike,
I'm already using facelets with MyFaces for my application ( who isn't
these days? ), so the
I have a MyFaces portlet with 5 or so tabs, each with its own set of
independent (i would hope) fields and submit buttons... However, all
elements in all tabs are submitted and validated when either of tabs
has a submit button clicked...
Is this really how it is supposed to be? I'm using
Hello,
When can we expect a 1.2 version of MyFaces??
Thanks in advance,
Julien.
hi,
im using the tr:inputText with Double values ... but i will strip it
down to a small example tomorrow
David
Matthias Wessendorf schrieb:
what values are you binding to your input controls ?
looks like a JS issue, when trying to throw JS TrConverterException
-M
On 6/5/07, David
a release will be out soon.
the nightly builds are available and the TCK has been passed.
-Matthias
On 6/5/07, Julien Martin [EMAIL PROTECTED] wrote:
Hello,
When can we expect a 1.2 version of MyFaces??
Thanks in advance,
Julien.
--
Matthias Wessendorf
further stuff:
blog:
I don't think you can safely mix different Tomahawk and Tomahawk
Sandbox versions.
These two jar files are tightly-coupled. Be sure you are using jars
built from the same source.
This is probably also the reason for the other problems you posted.
On 6/4/07, is_maximum [EMAIL PROTECTED] wrote:
I'm using server side... But still get the undesired result...
Any clues?
On Jun 5, 2007, at 12:35 PM, Mike Kienenberger wrote:
It's been awhile since I used tabs, but I think if you use server-side
tab switching, only the current tab will be rendered (and submitted
and validated).
If you
There are one or two bugs and I am adding most of the stuff added to
1.1 since we created the branch for 1.2 whenever is compatible.
So, yes, the release is going to be done pretty soon,
Cheers,
Bruno
On 05/06/07, Matthias Wessendorf [EMAIL PROTECTED] wrote:
a release will be out soon.
the
Hi Stan,
Thank you for the insights to your solution. It sounds very interesting
indeed. Hope we'll hear again from you on the list.
kind regards
Ernst
On 6/5/07, Stan Carney [EMAIL PROTECTED] wrote:
Thanks for your response Ernst!
Yeah, I have looked around at pretty much every JSF AJAX
Hi Mike
but all of them are latest version. both sandbox and tomahawk are 1.1.5
the only myfaces core api is 1.1.6
Mike Kienenberger wrote:
I don't think you can safely mix different Tomahawk and Tomahawk
Sandbox versions.
These two jar files are tightly-coupled. Be sure you are using
Here's the wiki page showing how to create a PDF download action.
http://wiki.apache.org/myfaces/Sending_Files
On 6/2/07, Erlend Hamnaberg [EMAIL PROTECTED] wrote:
Hello.
I need to create a component that can render a PDF file from a given
model object.
The pdf needs to be written to the
Hello all,
I have created a Trinidad component that allows input text boxes to have a user
defined mask for entries on the client (similar to Atlas MaskEdit
http://www.fci.com.br/maskedit/MaskEdit/MaskEdit.aspx). I would like to know
what the process/procedure is to commit this component to
No Mike I'm sure this is not the Seam issue, because other components of
sandbox work fine.
and Also I studied the source code of the TimedNotifier
in decode() method it is written an if statement:
if(component instanceof UIInput){
}else{
throw new UnsupportedOperationException(...);
Hello David,
if you are paging the sheet the stateChangeListener is only called.
Maybe we should define in which cases the stateChangeListener should
called. Maybe a selectionListener is a better alternative.
Please add a bug report to the jira.
Regards
Bernd
David Steinkopff wrote:
Hi
Hello Leonhard,
I think tobago is not configured correctly. Can you check the log files.
Please look for a log info message '*** contextInitialized ***'
Regards
Bernd
Leonhard Holzer wrote:
Hello everybody,
I'm trying to configure a sample application using Spring-Webflow,
myfaces, tobago
I guess you meant server side tab switch... i tried that, but when I
use it, the action or action listener methods are never visited when
buttons are clicked... it is very messed up...
thanks!
On Jun 5, 2007, at 1:01 PM, Alexander Wallace wrote:
I'm using server side... But still get the
well the tabbedPane always renders all components but just displays
only one tab. As it uses links it needs the form around the whole and
submits it in one piece...
hth
Alexander
-Original Message-
From: Alexander Wallace [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 05, 2007 10:26
if you are doing this in a portlet, we have a working one... let me
know...
On Jun 5, 2007, at 2:03 PM, Mike Kienenberger wrote:
You will be more likely to get a response if you post your question to
the correct list.
I've redirected my answer to the MyFaces User mailing list
Thanks Kito for the suggestion. I would like to do something like this ...
public String createManufacturer() {
try{
manufManager.createManufacturer(namsManufacturer);
FacesUtils.addInfoMessage(save, Manufacturer,
namsManufacturer.getName());
Ok... i guess that's then the expected behavior, just not what I
expected...
thanks!
On Jun 5, 2007, at 3:37 PM, Jesse Alexander ((KSFD 121)) wrote:
well the tabbedPane always renders all components but just displays
only one tab. As it uses links it needs the form around the whole and
Roughly speaking, you:
- Create an issue on JIRA
- Attach a patch
- If it's a significant quantity of code, file a CLA
http://www.apache.org/licenses/icla.txt
It's also generally a good thing to talk over the
design first. I'd thing it'd be great if this were part of
the client-side validation
Hi people.
I getting the following error when trying to start the Tomcat 5.5 server. I
am using myfaces 1.1.3...
org.apache.jasper.JasperException: com/sun/faces/taglib/jsf_core/ViewTag
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
Bansi,
Usually, you would just add a new FacesMessage to the FacesContext like so:
facesContext.addMessage(null,
new FacesMessage(FacesMessage.SEVERITY_ERROR,
Duplicate id found, detailed
description));
(I'm assuming that
Hi Thanks All,
Actually I do not want to change my h:dataTable now.
I want to keep h:dataTable(which displaying second row header).
So is it possible with normal html table.Since I tried with it but its not
accepting colspan for normal html.
Any code sample will be great help for me.
Thanks
Mike Kienenberger wrote:
I've also had it happen if the page changes and the facelets component
tree (or jsp page) is still cached somewhere.
I'm almost completely certain it is not a caching issue (although it
would be good to know if one could configure Tomcat not to cache
anything, ever...)
48 matches
Mail list logo