Hai
The OGNL-StackTrace disappeared without changing the implementation
to Ajax when I set in Struts.properties "dev mode=false" ( struts.devMode =
false )
So, there seems to be a problem with S2 / OGNL that appears
in DevMode but don't prevent correct functionality in application to user.
HI Friends
i have a problem that for viewing data DynaValidatorForm is not working
well.
if i create normal formbean it is displaying all the data well
but when i use DynaValidatorForm, the last record only displaying repeatedly
(exactly oracle count(*) returned value times )
why this is ?
i hav
Hai
A trivial question ?
I have a problem with DisplayTags (DT) in Struts2 where OGNL throws
exception from DT-
parameter like 'o-434343-p'. (See discussion "Struts2, DisplayTags
OGNL-error Sakari.Isoniemi " )
So the solution is to use Ajax to bybass Struts2-frame and OGNL ?
/S
-Origina
Never mind! The solution involved some not-so-obvious steps
1. download and install the jstl (ok, this should have been obvious)
2. Change the top of my web.xml (this was not obvious...see
http://forum.java.sun.com/thread.jspa?threadID=629437&tstart=0)
3. read the docs on jstl and FormBeans
On 12/19/06, Rick Schumeyer <[EMAIL PROTECTED]> wrote:
These should be easy questions, but I can't find the answers...if
someone could either answer them or point me to the right docs, I would
appreciate it.
1. What is the proper uri for the jstl core library? According to my
JSP book it should
> As Don mentions, you can use JSF components with Struts2 pretty easily, and
> that can be a good avenue if you primarily want JSF for the visual
> components part, and don't need/want the managed beans and lifecycle
> controller parts. If a "framework on top of JSF" is what you are after
> (whic
These should be easy questions, but I can't find the answers...if
someone could either answer them or point me to the right docs, I would
appreciate it.
1. What is the proper uri for the jstl core library? According to my
JSP book it should be
<%@ taglib prefix="c" uri="http://java.sun.com/
> JSF is considered a MVC framework, just as ASP.NET is a MVC framework.
> These frameworks are component-centric. You build pages by assembling
> components, and the components can each fire their own actions to
> obtain and maintain state. Frameworks like Struts and Spring MVC are
> action-centri
If you put the displayTag inside the ajax:area it won't get reloaded
after the ajax call, what you can do is put the displayTag on a page
let's say A, the create a page B that has:
<%@ include file="A.jsp" %> //or call the action here
then create an action, that the ajax:area will call
On 12/19/06, Piero Sartini <[EMAIL PROTECTED]> wrote:
Hello list,
the last days I've read a lot about web frameworks in java. And the more I
read, the more questions I have. Just writing this down, maybe someone has
some thoughts that can help me.
My problem is simple, or lets say it should be
On 12/19/06, Don Brown <[EMAIL PROTECTED]> wrote:
It isn't an either/or question. You can use JSF actions, components,
and configuration in a Struts 2 app, using the Struts 2 JSF Plugin.
If you prefer an action-centric design, but want to use JSF
components, then it is worth looking into. If y
No it's from the AjaxTags project.
I tried to post to JWP mailing list but got bounce for some reason,
hence the [OT]
I use struts 1.3.5 though, not s2
Musachy Barroso wrote:
I don't think "ajax:area" is an S2 tag. Is that form another ajax
library?
regards
musachy
Joseph McGranaghan wrot
I don't think "ajax:area" is an S2 tag. Is that form another ajax library?
regards
musachy
Joseph McGranaghan wrote:
I'm trying to use an ajaxArea for the main portion of my site.
Inside it I have control panel of several tiles.
One of the tiles contains a displayTag that I want ajaxified
unt
I'm trying to use an ajaxArea for the main portion of my site.
Inside it I have control panel of several tiles.
One of the tiles contains a displayTag that I want ajaxified
unto it's own self, not the whole main ajaxArea.
Matter of fact, I can't even get it to work right with the enclosed
ajaxA
I should add, it therefore would be possible to run Struts 2, Shale,
and JSF in the same application. :)
Don
On 12/19/06, Don Brown <[EMAIL PROTECTED]> wrote:
Off topic, but AFAIK, Shale doesn't depend on any specific JSF
implementation. It's goal is to "fill in the gaps" in the JSF
spec/fram
Off topic, but AFAIK, Shale doesn't depend on any specific JSF
implementation. It's goal is to "fill in the gaps" in the JSF
spec/framework for the user.
Don
On 12/19/06, robin bajaj <[EMAIL PROTECTED]> wrote:
Hi there,
May I ask a corollary question in this context.
What is the current stat
The roadmap has info pertaining to this thread.
http://struts.apache.org/roadmap.html
-Original Message-
From: robin bajaj [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 19, 2006 6:04 PM
To: Struts Users Mailing List
Subject: Re: Struts2, Shale, Seam, pure JSF - what to use?
Hi there,
Hi there,
May I ask a corollary question in this context.
What is the current status of Shale, is it build on top of SUN's JSF Ref.
Implementation or MyFaces
or Can I just use any JSF distro with Shale.
Thanks for your replies in advance,
regards
robin
On 12/19/06, Don Brown <[EMAIL PROTECTED]
It isn't an either/or question. You can use JSF actions, components,
and configuration in a Struts 2 app, using the Struts 2 JSF Plugin.
If you prefer an action-centric design, but want to use JSF
components, then it is worth looking into. If you want a pure JSF
approach, especially if you have
Hello list,
the last days I've read a lot about web frameworks in java. And the more I
read, the more questions I have. Just writing this down, maybe someone has
some thoughts that can help me.
My problem is simple, or lets say it should be simple: What webframework is a
good choice to start a
Hi
Thanks for your help.
I want to get rid of
<% if ( ((idx.intValue())%2) == 0 ) { %>
<% } else { %>
<% } %>
and replace it with 'evenStyleC
red phoenix wrote:
I use struts2 ,like follows:
---SimpleCounter---
package test;
public class SimpleCounter{
String foo;
public void setFoo(String foo){
System.out.println("set foo="+foo);
this.foo=foo;
}
public String getFoo(){
System.out.println("get foo="+foo);
return foo;
}
}
---test.
red phoenix wrote:
I want to change my code from struts1 to struts2,I use displaytag and
to show following code,it can run well, will show 1,2,
<%@ taglib uri="/struts-tags" prefix="s" %>
>
I know struts2 will use and use to
replace ,so I modify code like
follows:
<%@ taglib uri="/stru
Pille wrote:
And in the action mapping specify the name of the Form Bean that you are
about to use. In this case the form bean that contains the List you'r going
to initiate..
i tried all of this. when i spcified the name of DynaValidatorForm in
the prepare-mapping i got an exception. but it wo
Meenakshi j wrote:
Hello,
I am new to struts and would like to change the code below
property="directors">
<% if ( ((idx.intValue())%2) == 0 ) { %>
<% } else { %>
Hello,
I am new to struts and would like to change the code below
<% if ( ((idx.intValue())%2) == 0 ) { %>
<% } else { %>
<% } %>
to style c
The Struts 2 JSF plugin doesn't depend on any specific JSF
implementation, so you should be able to use the one of your choice.
As for whether multiple implementions can live together, if it is
usually possible in the JSF world, then it should be possible here.
As for JSF support in Struts 1.3.x,
hi All,
I heard that Struts2 can use JSF components selectively on per-page
basis. Does this mean, I can use any JSF distribution including ICESoft,
MyFaces, Sun's JSF RI etc. or does it have any limits as per the JSF
distro is concerned.
And can we mix match using a couple of distros, ie. us
Yes, that works perfectly!
A whole lot cleaner too.
Now people will find this in the archives.
Thanks,
Joe
Niall Pemberton wrote:
On 12/19/06, Joseph McGranaghan <[EMAIL PROTECTED]> wrote:
Solved my problem:
ActionContext ac = (ActionContext)context;
ac.setForwardConfig(new ActionForwar
Hello,
I tried a little example on validation with struts2.
Here is the Login.jsp:
<%@ taglib prefix="s" uri="/struts-tags" %>
Login
Login
Hi,
I dont know anything about portlets,but our project may have to migrate to it
in future..This line is from the "Struts 2" features.What does it mean?
"Easy portlets - Automatic portlet support allows portal and servlet
deployments with no code changes."
thanks
Rahul
From: red phoenix [mailto:[EMAIL PROTECTED]
> <%
> request.setAttribute("tt",new String("1"));
> %>
>
>
Request and session are different?
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EM
On 12/19/06, Joseph McGranaghan <[EMAIL PROTECTED]> wrote:
Solved my problem:
ActionContext ac = (ActionContext)context;
ac.setForwardConfig(new ActionForward("/myaction.do"));
If anyone has a cleaner, non-hardcoded my, I'm all ears!
Can you not just do this as one action mapping and specify
Hi all,
I make a request in my dB MySql with a variable "date" :
PersistenceManager pm=JDOFactory.getInstance().getPM();
pm.currentTransaction().begin();
Collection c = (Collection)
pm.newQuery(SuiviTraitement.class,
"'date'=='"+date+"'").execute(); //(-mm-dd)
thanks for your clarification !
On 12/19/06, Wendy Smoak <[EMAIL PROTECTED]> wrote:
On 12/18/06, Lixin Chu <[EMAIL PROTECTED]> wrote:
> the linked provided on WiKi seems broken:
> http://people.apache.org/builds/struts/1.3.6<
http://people.apache.org/builds/struts/1.3.6>
>
> are we going
Solved my problem:
ActionContext ac = (ActionContext)context;
ac.setForwardConfig(new ActionForward("/myaction.do"));
If anyone has a cleaner, non-hardcoded my, I'm all ears!
Thanks,
Joe
Joseph McGranaghan wrote:
This should be simple, but for the life of me I can't get find the
answ
This should be simple, but for the life of me I can't get find the answer.
All I want to do is have a chain execute and then go to an action
Right now it goes through the chain and outputs a blank web page with no
source code at all.
struts-config:
command="mychain">
Hey niall,
its working!
Thanks
On 12/19/06, Niall Pemberton <[EMAIL PROTECTED]> wrote:
Try changing to use the "name" attribute instead of "property" on the
"messagesPresent" and "messages" tags:
Niall
On 12/19/06, Kranti <[EMAIL PROTECTED]> wrote:
> I am trying to get t
Struts2 distributes apps only struts2-blank-2.0.1,struts2-mailreader-2.0.1,
struts2-portlet-2.0.1 and struts2-showcase-2.0.1,I can't find
org.apache.struts2.example.* files!
On 12/19/06, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote:
Weren't they in Struts2 distribution ...\apps ?
/S
-O
Try changing to use the "name" attribute instead of "property" on the
"messagesPresent" and "messages" tags:
Niall
On 12/19/06, Kranti <[EMAIL PROTECTED]> wrote:
I am trying to get the action messages from action class as follows but not
getting the message but record is inse
red phoenix ha scritto:
I want to change my code from struts1 to struts2,I use displaytag and
to show following code,it can run well, will show 1,2,
I think it is better wo use JSTL tag:
http://java.sun.com/products/jsp/jstl/1.1/docs/tlddocs/c/out.html
Ciao
Antonio
Weren't they in Struts2 distribution ...\apps ?
/S
-Original Message-
From: red phoenix [mailto:[EMAIL PROTECTED]
Sent: 19. joulukuuta 2006 9:49
To: Struts Users Mailing List
Subject: where to download struts2.0 examples files?
In struts doc,I often see "org.apache.struts2.example.*"
I use struts2 ,like follows:
---SimpleCounter---
package test;
public class SimpleCounter{
String foo;
public void setFoo(String foo){
System.out.println("set foo="+foo);
this.foo=foo;
}
public String getFoo(){
System.out.println("get foo="+foo);
return foo;
}
}
---test.jsp---
<%@ taglib ur
I am trying to get the action messages from action class as follows but not
getting the message but record is inserted properly
*in action class*
if(isInserted==true){
ActionMessages addTaskMessages = new ActionMessages();
addTaskMessages.add("addtasksuccess", new ActionMessage("
message.addtask
44 matches
Mail list logo