You can read short instruction about ajax-based file upload with
progress-bar implementation here:
http://www.emforge.org/wiki/AjaxBasedFileUploadForJava
2007/4/12, Adrian Mitev <[EMAIL PROTECTED]>:
Trinidad got working progress bar.
2007/4/12, Frozone <[EMAIL PROTECTED]>:
>
>
> Hi Newsgroup,
With the risk of stating the obvious:
Have you taken a look at:
http://myfaces.apache.org/sandbox/selectManyPicklist.html
It does the trick for me perfectly!
With regards,
Marco
-Original Message-
From: monkeyden [mailto:[EMAIL PROTECTED]
Sent: donderdag 12 april 2007 4:45
To: [EMAIL
Hello Shree,
My managed-bean has a method: public List getMessagesForList().
To get the content of the messages rendered I use the t:dataTable like
this:
Hi Volker,
downloaded the nightly build jars of Tobago 1.0.11 .
But i have seen a new Issue in that. If at all i enter some values in textfield
in the sheet and then update that to my bean, those values are not set and null
is being passed to them.
As my previous issue, the values are not show
I've got a datatable with a number of commandlinks. When I click on one of the
links, I would like the style for that actual link to change.
My code is like this:
graphicImage renders a tag. Svgs are not supposed to be
included with such tags. It's like trying to use a img tag to show a
flash object.
See here how to include svg in your page:
http://wiki.svg.org/SVG_and_HTML
When you have understand this, you can use either the ajx4jsf 'media'
component or
Hi Bernd,
ok, I understand, the tobago-facelets source code is only a custom
tablib with facelets
thanks for your answer.
david
2007/4/11, Bernd Bohmann <[EMAIL PROTECTED]>:
Hi David,
it's not possible to set the binding for the tf tags in facelets.
You can define you own composition with bi
hi david
thanks for your answer
i have done follow steps
1. setup tomcat
svg
image/svg+xml
svgz
image/svg+xml
2. use htmTag component
but is does not work. how i handle htmlTag Attributes?
best regards
mathias °ö°
David Delbecq-2 wrote:
>
> graphicImage renders a tag. Sv
Hi Madan,
sorry my fix introduced another big bug :-(, just commited the fix for this.
The only was to get the jars from last week is to build them from
sources, this is not so complicated.
do a checkout with -r
Regards,
Volker
2007/4/12, madan chowdary <[EMAIL PROTECTED]>:
Hi Volker,
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 management system. I
would now have a good look at JspViewHandlerImpl, FacesSer
http://wiki.apache.org/myfaces/SecurityContext
Reading the above, their should be definitions for
#{securityContext.ifAllGranted['rolename1,rolename2']} : Returns true if
user is in all of the roles given in the roles list, vice versa
* #{securityContext.ifAnyGranted['rolename1,rolename2']}
It was exactly this. I was not thinking about that, stupid me.
Thank you very much.
Best regards
Fabio
Stefan Frank wrote:
>
> This sounds like a classloader-problem: You should maybe check where
> you deploy your tomahawk-jars - maybe you have it in two different
> locations (and thereby clas
Hi Volker,
checked out the code and build using MVN.
Now the sheet works fine as usual as before. Thnx for the quick response.
But i have another doubt.
The sheet has 4 columns out of which three are sortable and the last column
has a textfield which is not sortable.
I have entered some value
Thank you very much Marco.the link you have provided is too good.
--
View this message in context:
http://www.nabble.com/regarding-%3Ch%3AdataTable%3E-tf3563628.html#a9957216
Sent from the MyFaces - Users mailing list archive at Nabble.com.
Hi Madan,
could you please update and build again?
I just committed a fix for another problem i found today[1].
I could be that this fixes also your problem.
Regards,
Volker
[1]: https://issues.apache.org/jira/browse/TOBAGO-354
2007/4/12, Madan Narra <[EMAIL PROTECTED]>:
Hi Volker,
check
Hi Volker,
Ya its working perfectly now..
Thnx for your quick response...
Regards,
Madan
On 4/12/07, Volker Weber <[EMAIL PROTECTED]> wrote:
Hi Madan,
could you please update and build again?
I just committed a fix for another problem i found today[1].
I could be that this fixes also yo
Thanks for the hints. I already saw that Tobago has a progress bar. But did
not find any examples.
Can anyone supply a link?
Greetz
Frozone
Alexey Kakunin-2 wrote:
>
> You can read short instruction about ajax-based file upload with
> progress-bar implementation here:
> http://www.emforge.org
Is there any way with jsf to put the body of a tag in a variable?
Something like the c:set of jstl.
Pierre
Thanks for your link. I looked at a4j:page document at
http://labs.jboss.com/file-access/default/members/jbossajax4jsf/freezone
/docs/devguide/ch06s15.html and noticed that this tag is deprecated :(
I heard somewhere (I don't remember where) that Tomahawk uses
document.write in t:inputCalendar whi
Indeed, now you say this, am not sure the tomahwak htmlTag component
accepts attributes other than the default uioutput ones.
maybe something along this?
In facelets i would simply make, without verbatim
but won't work in JSP. Also the media tag of ajax4jsf is made to ouput
'media' in var
monkeyden wrote:
>
> "I know Tomahawk has something like this in the sandbox. We're using
> ICEFaces but I think this is a standard JSF question."
>
I'm not switching for one control. I've programmatically updated the
backing bean's List. All I need to know is how to tell JSF to
update the
i have tested with :
at browser (ie and firefox) i see only a grey frame. the browser can´t load
the svg image.
(if i start the svg image from my file browser it will open.)
my next step i try with component , but im not sure which
attribute i must set.
but this code-snapshot does not work.
You'll have to make your own evaluations. I use t:inputCalendar for
everything, but I don't use ajax4jsf. I also don't do much directly
with javascript.
The response writer used for most components is here:
myfaces-shared-core:
org.apache.myfaces.shared.renderkit.html.HtmlResponseWriterImp
Ah, I didn't really think you were using client-side javascript.
Yes, if you're using javascript to move the stuff around, then it's a
different story.
Yes, overriding a renderer (or component if that works) would change
the behavior for the entire application. What you'd probably want to
do i
The sandbox component doesn't do what you want anyway. It's all
server-side, not client-side.
On 4/12/07, monkeyden <[EMAIL PROTECTED]> wrote:
monkeyden wrote:
>
> "I know Tomahawk has something like this in the sandbox. We're using
> ICEFaces but I think this is a standard JSF question."
>
I guess another possibility would be to add a
before-validation-phase-listener that temporarily adds the List A
values to the List B component's allowed choices, then removes them in
the after phase.
I think trying to handle this after validation is going to cause too
many other problems.
On 4/1
I tried the partialSubmit attribute in ICEFaces (server-side control with
Ajax updates to the client), which works nicely for text fields, radios,
checkboxes and small to medium sized select lists. Mine were too large
(400-500 items) so it dragged. It works exactly as I would expect (only
sendin
Isn't there a simple way to tell JSF to ask the backing bean for the
SelectList again, after I've matched it with the submitted values in the
VCL? I tried setLocalValueSet(false), in hopes that it would tell JSF that
the local value needs to be updated. Not sure if this is the right method
as th
Use the following to put a component into a state where it should
fetch values from the backing bean model:
component.setSubmittedValue(null);
component.setLocalValueSet(false);
On 4/12/07, monkeyden <[EMAIL PROTECTED]> wrote:
Isn't there a simple way to tell JSF to ask the backing be
Hi:
Could we hide the session id on the URL? It seems if I capture
the URL with the session id, I was able to get into the application.
Thanks.
--> Sam Wong
If you want to manage the link styles separately, you'll need to use a
different variable in the backing bean for each one. You'll probably
need to base it on the row index. You could probably use an
actionListener to set the style for current row.
On 4/12/07, Brummeline Braaten <[EMAIL PROTEC
t:buffer will render the enclosed components into a string instead of
into the page.
On 4/12/07, Pierre Raoul <[EMAIL PROTECTED]> wrote:
Is there any way with jsf to put the body of a tag in a variable?
Something like the c:set of jstl.
Pierre
Haven't experience those issues.
Try:
1) Make sure you use a date time converter with the correct time zone
(if you are not setting the time zone it will use GMT/UTC and not the
server's time zone)
2) Are you setting CSS styles that would interfere with the calender's elements?
On 4/11/07, bans
Hi,
In a login page I have 3 components:
Login
Password
Domain
I have a validator for Login & Password
I should like in Validator of password to "knows" the value of the Domain.
The value of the domain is not set when I validate the password.
Do I have somethink special to do for defining the
You can take a look at the details of how to handle cross-component
validation by reading the source code for the Tomahawk sandbox
t:compareToValidator validator.
However, this is probably a case where it makes more sense to perform
your business validation in the action.
On 4/12/07, [EMAIL PROT
I tired this. The component still fails validation, so JSF still has the old
version of the list.
Mike Kienenberger wrote:
>
> Use the following to put a component into a state where it should
> fetch values from the backing bean model:
>
> component.setSubmittedValue(null);
> compo
This is a standard issue with servlet applications.
One solution is to track the original ip address in the session, and
reject any requests that come from a different ip address.
Another solution is to configure your container/application to store
session information in cookies instead of the url
Thanks for hint.
Where can I find a sample of usage of t:compareToValidator ?
Thanks.
PS: It should be better for me to make the vaidation in the validators... For
several reasons to long to explain here.
Thanks for help again.
-Original Message-
From: Mike Kienenberger [mailto:[EM
http://myfaces.apache.org/sandbox/validateCompareTo.html
Also in comments in the source code.
On 4/12/07, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
Thanks for hint.
Where can I find a sample of usage of t:compareToValidator ?
Thanks.
PS: It should be better for me to make the vaidation i
Hi:
Do you have an examples file to configure the
container/application to store session information in cookies instead of
the url? is it on the web.xml file? Thanks.
-Original Message-
From: Mike Kienenberger [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 12, 2007 12:10 PM
To:
Hi,
Maybe I'm wrong... But I think I can't use it for my problem.
I try to explain little more my problem:
If user that try to login select "DOMAIN_A" as domain, the validator for
password should validate password rules of domain_A
If user that try to login select "DOMAIN_B" as domain, the vali
No, I don't remember how to do this off the top of my head. The one
place I know how to do it (OC4J) is a container-specific web page.
It might be in the web.xml file as well, though.
A google search or docs for your container are probably the best place to look.
On 4/12/07, Wong, Emmanuel (Sam)
Right, I didn't say you could use it to solve your problem. I said
you can use it to understand how to create a validator that accesses
the values (both submitted/prevalidated and validated) of other
components.
Once you see the effort involved, my guess is that you'll re-evaluate
doing this in
It's NOT in the web.xml. It's container specific and controls the
behavior of the encodeURL method which is responsible for putting that
information on the url.
Scott
Mike Kienenberger wrote:
No, I don't remember how to do this off the top of my head. The one
place I know how to do it (OC4J
Do you know where is that file I could modify it? Thanks. I tried
google search and have not yet find the solution.
-Original Message-
From: Scott O'Bryan [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 12, 2007 1:04 PM
To: MyFaces Discussion
Subject: Re: [tobago] Can we hide the session
I'll try it soon.
Thanks a lot
2007/4/11, Mike Kienenberger <[EMAIL PROTECTED]>:
I have modified the Tomahawk dataTable to support two new methods
relating to preserveRowStates=true. The delete method has worked for
my own situation. This is now part of the Tomahawk 1.1.6 snapshot.
http:/
Ok. I've actually gone a step further and attempted to make this work
transparently so long as you set preserveRowStates=true, and your
backing data model doesn't have duplicate objects in the list.
You can try out the patch to Tomahawk 1.1.6 (should also work against
the Tomahawk 1.1.5 release)
I guess an alternative would be to simply write a *component* that
dynamically creates its child components based on data from the database.
Then you would be using a normal view-handler, with a page definition
that looks like:
and this custom component then creates the necessary childre
Wondering if you figured out why this happened. It just happened to us also.
We precompiled and the icon for the
Tomahawk calendar was not showing up. Basically it appeared that the
ExtensionsFilter was unable to add the necessary javascript files to the
page while it was rendering. We changed to
Don't know if this has been discussed here before...
I am getting warnings that the 'forceId' attribute is not on various
types, e.g., org.apache.myfaces.component.html.ext.HtmlInputText. I
recently ported to facelets and I don't remember seeing this warning
when I was just using myfaces alone.
What version of the RI?
Yaron Spektor wrote:
>
> Hi
>
> I was wondering if any of you had any experience with this bug:
>
> Were using sun RI and tomahawk 1.1.5.
>
> Java version 1.5.0_10_b03
>
> As well as Spring and Hibernate. Up to a week ago every thing worked
> fine on our tomcat 5.5
Probably because facelets detects valid attributes by looking for a
concrete getter.
ForceId is implemented as a generic getter, so facelets will never be
able to find a "getForceId()" method on a component.You can ignore
the warning as facelets will just set/get using the generic method
when
And forceId sucks anyway. I'd like to see it deprecated and removed from
Tomahawk completely.
This is not needed when javascript is invoked from the "onclick" of a
component, which is most of the time. Just pass the "this" component to
the javascript function and resolve the desired component
Thank you, I was wondering what this problem was.
ajax4JSF also conflicts with inputHtml.
Thanks
Danny
On 4/12/07, Andrew Robinson <[EMAIL PROTECTED]> wrote:
Haven't experience those issues.
Try:
1) Make sure you use a date time converter with the correct time zone
(if you are not setting
Hello!
When I use the element rendered with proper
id="page:name". When I use this with tx:in, the id is generated
randomly. Is this bug? Documentation said nothing about this feature.
With respect,
Boris
55 matches
Mail list logo