myfaces tags gives you extermely simple way of creating your ui ...that,s all
..the rest is struts
Rukka <[EMAIL PROTECTED]> wrote: Not trying to hijack the thread. Just a
curious question. What is the
reasons/benefits of using Struts-Myfaces-Tiles combo? I mean MyFaces
instead of jsp.
Than
Not trying to hijack the thread. Just a curious question. What is the
reasons/benefits of using Struts-Myfaces-Tiles combo? I mean MyFaces
instead of jsp.
Thanks
rukka
PETER BLIZNAK wrote:
Hi Rodrigo,
must admit I am not familiar with ajax4jsf tags. My setup is
Struts-Myfaces-Tiles and I h
The descripted behavior seems to me as unusual since it's not documented
anywhere. Anyway, I followed your advice and it works.
Thx!
Jia Guo wrote:
>
> I think you should copy the file and save to where you want it be by
> yourself inside you Action.
>
>
> 2007/2/1, deccico <[EMAIL PROTECT
Hi Rodrigo,
must admit I am not familiar with ajax4jsf tags. My setup is
Struts-Myfaces-Tiles and I have pages I have to prepopulate pages with radio
and check boxes based on what is coming from LDAP - for that I am forwarding to
Struts action which then populates action form and the I am using
Stuart Piltch wrote:
Laurie Harper holoweb.net> writes:
Hi Laurie,
I ran into a similar problem a few days ago. I posted my workaround here:
http://article.gmane.org/gmane.comp.jakarta.struts.user/134624
Since then, I've been using FreeMarker for some of the results. That ends up
giving o
Hi Peter,
thanks for your reply.
I want to have an actionForm act as a managed bean just to use ajax (
ajax4jfs tags ).
Basically I want to populate 4 fields according to the value of another field.
Thanks,
Rodrigo Pereira
On 2/1/07, PETER BLIZNAK <[EMAIL PROTECTED]> wrote:
Hi Rodrigo,
I do n
What vaildator method - If you have 2 forms, why not just have 2
validator form definitions (one for each form). Or is it you actually
have one form where for one mapping the field is mandatory, and the
other mapping the field is optional, and you wish to validate in both
actions?
Some solutions
Here goes:
_BEGIN__
/**
*
*/
package eu.goncalo.solid.presentation;
import java.util.Collection;
import java.util.Map;
import org.apache.struts2.dispatcher.DefaultActionSupport;
import org.apache.struts2.interceptor.SessionAware;
import eu.goncalo.s
--- Gonçalo Luiz <[EMAIL PROTECTED]> wrote:
> I think it does not make sense because many messages
> that are presented are originated in the previous
> interaction.
Well, that's what session is for, I guess.
> Just inherit your actions from this class and do
> things normally... the messages wil
I think it does not make sense because many messages that are
presented are originated in the previous interaction.
I consider the following class I just developed an elegant workaround.
Just inherit your actions from this class and do things normally...
the messages will be automatically persist
I used the Spring plugin jar from the showcase app.
--- shahab <[EMAIL PROTECTED]> wrote:
>
> Hi Dave:
>
> I have spring.jar. But I couldnt find the
> "struts2-Spring-plugin.jar"
> anywhere.
>
> Just to let you know, I am trying sometihng that
> Musachy has in
>
http://cwiki.apache.org/S2WIKI/
--- Gonçalo Luiz <[EMAIL PROTECTED]> wrote:
> I want to display a "user sucessfully created,
please
> proceed to login" [...] However in after the
redirect
> hte message seems to desappear...
Um... if you're redirecting to a different action
wouldn't it make sense that a message set in the
curren
Hi Dave:
I have spring.jar. But I couldnt find the "struts2-Spring-plugin.jar"
anywhere.
Just to let you know, I am trying sometihng that Musachy has in
http://cwiki.apache.org/S2WIKI/struts-2-spring-jpa-ajax.html.
thanx
Shahab
Dave Newton-4 wrote:
>
> Whoops.
>
> Do you have the Spring plu
Whoops.
Do you have the Spring plugin jar in lib?
--- shahab <[EMAIL PROTECTED]> wrote:
>
> Thanx
>
> However, I am still getting the following error -
>
> SEVERE: Exception starting filter struts2
> Cannot locate the chosen ObjectFactory
> implementation: spring - [unknown
> location]
>
--- shahab <[EMAIL PROTECTED]> wrote:
> However, I am still getting the following error -
>
> SEVERE: Exception starting filter struts2
> Cannot locate the chosen ObjectFactory
> implementation: spring - [unknown
> location]
> at
>
org.apache.struts2.config.BeanSelectionProvider.alias(BeanSel
Hello,
Consider the following scenario:
I present a "create new user" dialog to a user. After the user hits
"submit" the user is created, and the login dialog is presented. I
want to display a "user sucessfully created, please proceed to login"
in the login page.
This message must be set from th
Thanx
However, I am still getting the following error -
SEVERE: Exception starting filter struts2
Cannot locate the chosen ObjectFactory implementation: spring - [unknown
location]
at
org.apache.struts2.config.BeanSelectionProvider.alias(BeanSelectionProvider.java:224)
thanx
Shahab
Dave
--- shahab <[EMAIL PROTECTED]> wrote:
> How do I download 2.0.5 or the jar that you changed?
The JAR that I changed is
struts2-pell-multipart-plugin-2.0.4.jar; you already
have it. FWIW I'm having a different issue that may or
may not be related, so I don't know if making the same
change will work
Hi:
How do I download 2.0.5 or the jar that you changed?
thanx
Shahab
Dave Newton-4 wrote:
>
> --- shahab <[EMAIL PROTECTED]> wrote:
>> [...] PellMultiPartRequest
>
> https://issues.apache.org/struts/browse/WW-1692
>
> I changed the plugin config to the right name and
> re-jarred; YIMV.
>
>
Hi,
I see people have this problem often but the cause seems to be big
files and/or a slow connection. This is not the case for me and I'm
baffled.
Windows users using IE6, IE7 get an exception, while Linux users using
IE5.5, IE6, (not sure about IE7), and Firefox and Windows users using
Firef
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Sriharsha,
[EMAIL PROTECTED] wrote:
> I am new to struts and these are kind of first footprints towards it.
Your questions does not seem to be directly Struts-related, which is why
I have marked it as "off topic". I do have some notes, though, below.
Is struts.enable.SlashesInActionNames in 2.0.4?
struts.xml:
/test/Quux.page
I am getting the "There is no Action mapped for
namespace..." error that I got before I set
SlashesInActionNames in 2.0.3.
tia,
d.
Hi Rodrigo,
I do not have an answer to your question, but let me ask you why would you
wanted to have actionForm act as a managed bean? I am guessing it is because
you want to use it for loading data into dataTable component. If that is a case
you don't have to use managedBean - any "ordinary" b
You might wish to try the html:multibox option. Not sure if that is
what you want but might be worth a shot. Alternatively you will
probably have to use java code within jsp tags of the value option (e.g.
). You might find an interesting tidbit on it at
http://husted.com/struts/FAQ/view-html.htm
Maya menon wrote:
My question is: if users try to open another window and do
simultaneous tasks, how can I avoid same user from working in two or
more different windows in a Struts based j2ee application ?
If your worry is that someone might submit changes to an object that has
changed since
Hi,
I am new to struts and these are kind of first footprints towards it.
My Question:
Suppose my present application which is using extensive javascript and has
some functionality like this: If a text box value is something then
display and populate a select box besides it.
How do we achiev
--- Maya menon <[EMAIL PROTECTED]> wrote:
> Yes I had the variable initially set in session.
> Then when I did Cntrl+N[open new window] from the
> existing browser window, I see the same result in
> the second window.
If you open a new window in IE it will take the
parameters from the current wi
I am talking about two browser windows.
User A logs in in browser A and sees DB results in results.jsp page
Then, User A open Browser B from Browser A. if he does that, he will see
results in two pages, browser A and browser B. and then he will be able to do
different edits from differen
Dave,
Thanks for the reply.
Yes I had the variable initially set in session. Then when I did Cntrl+N[open
new window] from the existing browser window, I see the same result in the
second window.
Even when I set it in request object and do[open new window] the same result
is being
--- shahab <[EMAIL PROTECTED]> wrote:
> [...] PellMultiPartRequest
https://issues.apache.org/struts/browse/WW-1692
I changed the plugin config to the right name and
re-jarred; YIMV.
Dave
The fish are biting
Are you talking about different browser "windows" or just new "tabs" in
the same browser? Perhaps try an application scoped variable that tests
the current user, allowing only one instance of the user to operate the
app.
-Original Message-
From: Maya menon [mailto:[EMAIL PROTECTED]
Sent:
--- Maya menon <[EMAIL PROTECTED]> wrote:
> My question is: if users try to open another
> window and do simultaneous tasks, how can I avoid
> same user from working in two or more different
> windows in a Struts based j2ee application ?
I don't know as you can (easily), but your scenario
doesn
I have a struts based J2ee app which displays data from DB in the results.jsp
page. For DB data access, I use a DAO which returns a serialized object. This
serialized object, I set it to request object using setAttribute and retrieve
it using tag i n jsp page.
My question is: if users tr
thanx.
However, after I got the new jars tomcat cannot start the app, I get the
following erorr in locahost log -
SEVERE: Exception starting filter struts2
Unable to load bean: type:org.apache.struts2.dispatcher.MultiPartRequest
class:org.apache.struts2.dispatcher.PellMultiPartRequest - bean -
On Thu, 2007-02-01 at 07:21 -0800, styl9090 wrote:
> Hi All,
>
> In my application, I need to generate check boxes for every row of data.
> I set the data as a list of objects in my controller and I access the same
> in JSP using
> For each row of this data, I need to add a checkbox with 'value'
--- styl9090 <[EMAIL PROTECTED]> wrote:
> As I could not find any resolution for this issue, I
> would like to write java code in JSP :(
Life goes on.
> [...] checkbox with 'value' attribute as a field in
> the data row object... here it is user_id.(data set
> is in request scope)
Maybe the EL
As I could not find any resolution for this issue, I would like to write java
code in JSP :(
styl9090 wrote:
>
> Hi All,
>
> In my application, I need to generate check boxes for every row of data.
> I set the data as a list of objects in my controller and I access the same
> in JSP using
>
Hi,
In my s:form element, i would like to show a textinput box only if
certain value is selected in the s:select element. Using the code
below, although the s:textfiled is enclosed in a div with "display:
none", the textfield it still displayed on the page.
> oops.. its common-fileuploads-1.1.1.jar sorry for the mistake...-
I experienced the missing params behaviour while using that jar as well.
___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
--
Hi all,
is it possible for a class to play both roles: Struts FormBean, and
JSF ManagesBean?
I mean, can I declare it on faces-config.xml, and struts-config.xml?
Thanks,
Rodrigo Pereira
-
To unsubscribe, e-mail: [EMAIL PROTECTED
On showcase, tabbed panel, example 3, I tried this:
dojo.widget.createWidget("BindDiv", {label:'Details', executeScripts:true,
href:'/struts2-showcase/AjaxTest.action', parseContent:true,
refreshOnShow:false, id:'ryh1'});
And the first request that it makes it to load "dojo.js" (caching
problem
Hi All,
In my application, I need to generate check boxes for every row of data.
I set the data as a list of objects in my controller and I access the same
in JSP using
For each row of this data, I need to add a checkbox with 'value' attribute
as a field in the data row object... here it is user
--- shahab <[EMAIL PROTECTED]> wrote:
> Where can you get struts 2.0.3?
One place is http://people.apache.org/builds/struts/
but I don't know if that's the official location or
not.
Dave
Do you Yahoo!?
Every
Try using "targets" instead of "resultDivId", which is deprecated, but
should work anyway. Are there any javascript errors on the page when
this happens?
regards
musachy
Siva Gurusamy wrote:
HI,
I am having a problem in using ajax in Struts 2 Application.
Can someone explain me how to resol
I think you should copy the file and save to where you want it be by
yourself inside you Action.
2007/2/1, deccico <[EMAIL PROTECTED]>:
Hi, I am having some troubles trying to upload a file with struts 2.0.1
According to the log (which is at the end) the file is created but after
that is rem
Hi:
Please ignore my silliness, as I am new to this.
Where can you get struts 2.0.3? In the Struts download site, I only see
2.0.1.
Again, I apologize for my ignornance.
thanx
Shahab
Musachy Barroso-2 wrote:
>
> It was written using 2.0.3 :)
>
> musachy
>
> Don Brown wrote:
>> I believe t
Don's reply? Your's is the only reply to make it to me.
Can you send me a copy of this other reply?
I will see about changing my DOCTYPE line.
On 1/31/07, Simons Kevin <[EMAIL PROTECTED]> wrote:
On top of Don's reply
I once had done the same mistake. I thought they told me that your version
ht
Folks
I need to internationalize an app - returning Locale specific formats for
currency and date.
One way to do that is to add getLocalised() and setLocalised() to the
formbeans for each affected property. These methods will then apply whatever formatting is needed.
But, for the tag to wo
Hi,
> I am not able to see the ConvertUtilsBean in the commons-beanutils-1-0.jar
> that I am using. Has this class been added in later versions of Struts?
It's part of beanutils since version 1.7:
http://jakarta.apache.org/commons/beanutils/api/org/apache/commons/beanutils/ConvertUtilsBean.html
>
Gonçalo Luiz wrote:
>
> I forgot to mention:
>
> Struts - version struts2-api-2.0.1
> Tiles - version struts2-tiles-plugin-2.0.1
>
>
Hi!
I tried for about one week to get this version running with tiles, then i
found a post, where someone (sorry cant find the link right now) said that
with
Hi, I am having some troubles trying to upload a file with struts 2.0.1
According to the log (which is at the end) the file is created but after
that is removed. Why?
Also I tried with the Showcase example that comes with Struts and the same
behavior seems to happen since the uploaded file do no
Probably simple solution, but I can't find any solutions on Google. I have two
forms whom use the same validatorMethod. However, in one form, a field doesn't
exist, where it exists in the other form. I want to check if the field exists
and use that value in my validation. Does anybody know h
Hi All,
Why the BindDiv inside a tabbed pane does two posts insted for one?
Like if I run this code:
dojo.widget.createWidget("BindDiv", {label:'Details',
executeScripts:true, href:'personDetails.action', parseContent:true,
refreshOnShow:false, id:'detailTab'});
The dojo makes two posts... I
Hi Thorsten,
I am not able to see the ConvertUtilsBean in the commons-beanutils-1-0.jar that
I am using. Has this class been added in later versions of Struts? Also, is
ConvertUtilsBean a singleton class or can I have multiple instances of it? Or
if not, can I register multiple converters for sa
Nitin,
I just took another look into the beanutils classes: there are not only the
static classes (e.g., ConvertUtils), but also corresponding non-static classes
(e.g., ConvertUtilsBean). You could create a Hashmap with Locale as its key and
the ConvertUtilsBean configured with the locale specific
55 matches
Mail list logo