hi al
anyone can explain, a simple vision or direction if we wanna to use
Struts2-OSGI Plugins
got this URL
http://struts.apache.org/2.1.8.1/docs/osgi-plugin.html
but still dunno how to use it,
do we can use struts2-plugins or action modularity on top of it?
F
---
> > -Original Message-
> > From: jayakumar ala [mailto:alajay...@gmail.com]
> > Sent: Thursday, April 01, 2010 2:05 PM
> > To: Struts Users Mailing List
> > Subject: SImple question on bypassing prepare
> >
> > Hi All,
> > I am new to s
Mailing List
> Subject: SImple question on bypassing prepare
>
> Hi All,
> I am new to struts2 and need small help on how i can bypass
> calling prepare
> method before any other method. In my case i am trying to
> call customized
> method before prepare method to set so
What is it that calls your customized set method? If it's form parameter
data, move the prepare interceptor below the params interceptor in your
interceptor stack.
(*Chris*)
On Thu, Apr 1, 2010 at 11:04 AM, jayakumar ala wrote:
> Hi All,
> I am new to struts2 and need small help on how i can
Hi All,
I am new to struts2 and need small help on how i can bypass calling prepare
method before any other method. In my case i am trying to call customized
method before prepare method to set some values. I did set method in my
struts.xml but it is still calling prepare(). I want this prepare to
aluate-a-one-char-string.html
>Dave
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
--
View this message in context:
http://www.nabble.com/Simple-Qu
--- On Tue, 12/16/08, Oscar Alvarez wrote:
> try puting a comparator in your action like this
>
> public Boolean isPipeEditAction(){
>return "|".equals(getEditAction());
> }
>
> and then test it in your view
I think your font is fooling you--the original question was regarding a capital
x27;I',
> > %{editAction=='I'}, #editAction=='I',
> > >> %{#editAction=='I'},
> > >> %{getEditAction()=='I'} but nothing works.
> > >>
> > >&
>> %{#editAction=='I'},
> >> %{getEditAction()=='I'} but nothing works.
> >>
> >> I had thought that properties of an action class
> were available on the
> >> value
>
gt;> %{getEditAction()=='I'} but nothing works.
>>
>> I had thought that properties of an action class were available on the
>> value
>> stack. Do I need to use a .Equals() method?
>>
>> Why, why why is
a .Equals() method?
>
> Why, why why isn't this simple? Please put me out of my misery!
>
> Many thanks
>
>
> --
> View this message in context:
> http://www.nabble.com/Simple-Question--tp21037097p21037097.html
> Sent from the Struts - User mailing list archiv
perties of an action class were available on the value
stack. Do I need to use a .Equals() method?
Why, why why isn't this simple? Please put me out of my misery!
Many thanks
--
View this message in context:
http://www.nabble.com/Simple-Question--tp
Hi All,
I'm having following tabbedpanel,whenever I select a tabbed pane I'd like
to call a javascript method. I tried onselect/onclick but these are not working.
This is Panel1
This is Panel2
Thanks for your help in advance.
Regards,
2008/1/8, Rick Reumann <[EMAIL PROTECTED]>:
>
>
>
>
>
>
>
>
>
>
>
You are trying to fill the "dashboardContent" attribute of
"tasks.page" definition, that uses the "mainLayout.jsp" page as a
template, that has no "dashboardContent" attribute, so it is "obvious"
that it does n
Ok, I'm stuck using some old technologies here. Been googling around for
this but still seemed stumped. All I want to do is to be able to extend a
base tile definition that uses a JSP for main layout, and then create a
sublayout definition that can be extended by other page definitions.
Basically I
Oh.. Thanks so much!
You saved me from a lot of troubles.
If possibile it would be great to add it on the wiki page..
Thank you!
GF
> The value attribute is treated an OGNL expression so "John Jackson"
> means its trying to access a property with that name.
> Instead, you need to tell it you're
GF wrote:
But how can I assign a string to a variable?
Something like:
Hello, . How are you?
I tried it but seems not to work..
The value attribute is treated an OGNL expression so "John Jackson"
means its trying to access a property with that name.
Instead, you need to tell it you're
The wiki says:
Hello, . How are you?
But how can I assign a string to a variable?
Something like:
Hello, . How are you?
I tried it but seems not to work..
Thanks
GF
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addition
bProperty}
>
>
> I know, it's a bit of a pain.
>
> Zarar Siddiqi
>
--
View this message in context:
http://www.nabble.com/Simple-Question-about-FreeMarker-%2B-Struts-2-tf4394620.html#a12619549
Sent from the Struts - User mailing list archive at Nabble.com.
ruts? I
can find
great documentation on FreeMarker by itself and Struts by itself,
but I
can't find any docs or tutorials on using the two together. Any
suggestions?
--
View this message in context: http://www.nabble.com/Simple-Question-
about-FreeMarker-%2B-Struts-2-tf4394620.html#a12531
, but I
> can't find any docs or tutorials on using the two together. Any suggestions?
> --
> View this message in context:
> http://www.nabble.com/Simple-Question-about-FreeMarker-%2B-Struts-2-tf4394620.html#a12531237
> Sent from the Struts - User mailing list archive at Nabble.
on using the two together. Any suggestions?
--
View this message in context:
http://www.nabble.com/Simple-Question-about-FreeMarker-%2B-Struts-2-tf4394620.html#a12531237
Sent from the Struts - User mailing list archive at Nabble.com.
-
Doh, missed a ...
regards
On 11/8/06, Greg Reddin <[EMAIL PROTECTED]> wrote:
On Nov 8, 2006, at 8:12 AM, Antonio Petrelli wrote:
> Vinicius Carvalho ha scritto:
>> I have a list that is going to be iterated, and the bean inside it
>> will be checked, depending on a certain flag a tiles defini
On Nov 8, 2006, at 8:12 AM, Antonio Petrelli wrote:
Vinicius Carvalho ha scritto:
I have a list that is going to be iterated, and the bean inside it
will be checked, depending on a certain flag a tiles definition will
be used to display the content, kinda like this:
And the list goes on
Hi there Antonio, thanks for the quick response. I did not specified,
the code is pretty much the same I'm using (only the bean name is
other)
Inside my tiles I have this:
<%@ page language="java" contentType="text/html"
pageEncoding="ISO-8859-1"%>
<%@ include file="include/taglibs.jsp" %>
SIM
Vinicius Carvalho ha scritto:
I have a list that is going to be iterated, and the bean inside it
will be checked, depending on a certain flag a tiles definition will
be used to display the content, kinda like this:
And the list goes on ...
Now, inside my tiles I need to access someBean.
Hello there! I have a simple question on Tiles usage, hope I get some
advice here.
I know this is not the best usage for it, but we have a kinda of
emergency here...
I have a list that is going to be iterated, and the bean inside it
will be checked, depending on a certain flag a tiles definition
Hello.
In the top of my action class I have the following:
-**
* Administer Your Domain
*
* @struts.action name="domainAdministratorForm"
path="/admin/domainAdministrator" scope="request"
*parameter="method"
* @struts.action-forward name="domainAdministrator.page"
path=".domai
This is the MyViewController#createList method (it is a slightly changed
Rolodex#createTabs method):
public void createList(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
java.lang.Object displayElementRoot) {
List beans
>From: xzuma <[EMAIL PROTECTED]>
>
> Thanks for quick reply, Gary. I should have been more verbose, however, I
> thought this behaviour (printing raw jsp instead of html) was a very simple
> simptom of a simple problem.
Well, does you jsp file name end with a .jsp suffix or .html suffix?
>
Thanks for quick reply, Gary. I should have been more verbose, however, I
thought this behaviour (printing raw jsp instead of html) was a very simple
simptom of a simple problem.
I am putting a clay component into a working JSF application (I need to be
able to assemble a page dynamically from seve
>From: xzuma <[EMAIL PROTECTED]>
>
> Hello,
>
> I just started implementing my shale-clay application (looking at rolodex
> example) and upon creating a command link in my view controller,
Do you mean that you have an action method in the view controller? Or, are you
binding a JSF control t
Hello,
I just started implementing my shale-clay application (looking at rolodex
example) and upon creating a command link in my view controller, I can see
the link on the html page, but when I click it, the next page is blank and
the source code shows only the jsp code of one of the subviews of t
Look for "Prizetags" Tree Taglib. It was the most "elegant" way I found
to do it... an MVC web tree implementation.
- Original Message -
From: "Comain Chen" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, November 16, 2005 1:27 PM
Subject: A simple que
Hey, I am a new bie and the title maybe not approriate.
My problem is :
In a online-shopping site, we may have a tree of product categories, like:
root
book |electrical |
rry, I'm using web mail, and I keep sending responses directly to the
> sender by accident.
>
> Erik
>
>
> -Forwarded Message-
> From: [EMAIL PROTECTED]
> Sent: Aug 24, 2005 4:26 PM
> To: "Gilbert, Antoine" <[EMAIL PROTECTED]>
> Subject
Sorry, I'm using web mail, and I keep sending responses directly to the sender
by accident.
Erik
-Forwarded Message-
From: [EMAIL PROTECTED]
Sent: Aug 24, 2005 4:26 PM
To: "Gilbert, Antoine" <[EMAIL PROTECTED]>
Subject: RE: [OT] Re: xmlparser simple question
We
Gilbert, Antoine wrote:
I want to read an xml file using a SAXReader combined with a
ParserHandler. The file have n o XML root, so I have to find how to add
it in the parsing processing. Assuming that the file can be pretty big,
how I can do it without at any time having the entire file in memory
PROTECTED]
Sent: August 24, 2005 4:09 PM
To: Struts Users Mailing List
Subject: [OT] Re: xmlparser simple question
Gilbert,
SAX works on an event based model. Memory is not an issue unless *you*
are caching information as you receive events in your parser handler.
The parser starts reading the
I'm not sure though what you mean by "add the root in the parsing processing".
Perhaps you could explain further.
Erik
-Original Message-
From: "Gilbert, Antoine" <[EMAIL PROTECTED]>
Sent: Aug 24, 2005 3:59 PM
To: Struts Users Mailing List
Subject: xmlp
Hi
I want to read an xml file using a SAXReader combined with a
ParserHandler. The file have n o XML root, so I have to find how to add
it in the parsing processing. Assuming that the file can be pretty big,
how I can do it without at any time having the entire file in memory ?
That gets very messy for static content; you either end up having to serve
it all yourself instead of letting Tomcat do so, returning a 302 pointing
to a different webapp, or putting Apache in front of Tomcat to 'catch'
requests for static content and serve them without calling Tomcat...
L.
E
What about using a custom RequestProcessor? It would be a huge hack,
but you could map *everything* to struts action (map "/*" to struts
action) and then check inside the request processor if it's a valid
struts action, and if not, forward appropriately. Although the
"appropriately" part is a bit o
ori wrote:
currently i map all *.do requests to the action servlet.
i have an action at myHost/action.do.
i also want myHost/action to map to that same struts action.
how can i do this?
thanks a lot.
You only have two options for URL mapping: prefix or extension. In other
words, you can sa
currently i map all *.do requests to the action servlet.
i have an action at myHost/action.do.
i also want myHost/action to map to that same struts action.
how can i do this?
thanks a lot.
-
To unsubscribe, e-mail: [EMAIL P
On 4/24/05, Yan Hu <[EMAIL PROTECTED]> wrote:
> Hi:
> I came across a couple of articles about logout on the Web. They all do
> something like
> session.removeAttribute("user");
> session.invalidate();
> Can I just use session.invalidate()? Would "user" be destroyed automatically
> when the sess
Hi:
I came across a couple of articles about logout on the Web. They all do
something like
session.removeAttribute("user");
session.invalidate();
Can I just use session.invalidate()? Would "user" be destroyed automatically
when the session is
invalidated?
Thanks. By the way, i would rather gawk
> Sent: Friday, July 16, 2004 8:15 AM
> To: [EMAIL PROTECTED]
> Subject: simple Question
>
>
> hi friends,
> how can i prevent the user from refreshing the page
> and repeating the save process a second time?. Is the
> Transaction token is good for checking
Antony [mailto:[EMAIL PROTECTED]
> Sent: 16 July 2004 13:15
> To: [EMAIL PROTECTED]
> Subject: simple Question
>
>
> hi friends,
> how can i prevent the user from refreshing the page
> and repeating the save process a second time?. Is the
> Transaction token is goo
hi friends,
how can i prevent the user from refreshing the page and repeating the save
process a second time?. Is the Transaction token is good for checking this?
thanks a lot,
Alvin
Alvin Antony
Software Engineer
Ludwi
50 matches
Mail list logo