Struts2-OSGI, Simple Question

2011-02-12 Thread Frans Thamura
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 ---

Re: SImple question on bypassing prepare

2010-04-01 Thread jayakumar ala
> > -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

RE: SImple question on bypassing prepare

2010-04-01 Thread Kawczynski, David
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

Re: SImple question on bypassing prepare

2010-04-01 Thread Chris Pratt
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

SImple question on bypassing prepare

2010-04-01 Thread jayakumar ala
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

Re: Simple Question?

2008-12-16 Thread Mark Rollins
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

Re: Simple Question?

2008-12-16 Thread Dave Newton
--- 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

Re: Simple Question?

2008-12-16 Thread Oscar Alvarez
x27;I', > > %{editAction=='I'}, #editAction=='I', > > >> %{#editAction=='I'}, > > >> %{getEditAction()=='I'} but nothing works. > > >> > > >&

Re: Simple Question?

2008-12-16 Thread Dave Newton
>> %{#editAction=='I'}, > >> %{getEditAction()=='I'} but nothing works. > >> > >> I had thought that properties of an action class > were available on the > >> value >

Re: Simple Question?

2008-12-16 Thread Milan Milanovic
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

Re: Simple Question?

2008-12-16 Thread Musachy Barroso
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

Simple Question?

2008-12-16 Thread Mark Rollins
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

Simple question in

2008-04-03 Thread sharath karnati
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,

Re: Old skool hopefully simple question - Tiles1 and nesting??

2008-01-08 Thread Antonio Petrelli
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

Old skool hopefully simple question - Tiles1 and nesting??

2008-01-08 Thread Rick Reumann
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

Re: [S2] simple question about s:set

2008-01-08 Thread GF
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

Re: [S2] simple question about s:set

2008-01-08 Thread Jeromy Evans
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

[S2] simple question about s:set

2008-01-08 Thread GF
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

Re: Simple Question about FreeMarker + Struts 2

2007-09-11 Thread Kenton
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.

Re: Simple Question about FreeMarker + Struts 2

2007-09-08 Thread Jim Cushing
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

Re: Simple Question about FreeMarker + Struts 2

2007-09-08 Thread Zarar Siddiqi
, 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.

Simple Question about FreeMarker + Struts 2

2007-09-06 Thread Kenton
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. -

Re: Simple Question about Tiles

2006-11-08 Thread Vinicius Carvalho
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

Re: Simple Question about Tiles

2006-11-08 Thread Greg Reddin
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

Re: Simple Question about Tiles

2006-11-08 Thread Vinicius Carvalho
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

Re: Simple Question about Tiles

2006-11-08 Thread Antonio Petrelli
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.

Simple Question about Tiles

2006-11-08 Thread Vinicius Carvalho
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

Simple question regarding Action class

2006-07-04 Thread Shervin Asgari
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

Re: Simple question about shale-clay responding with the raw jsp instead of html

2006-01-25 Thread xzuma
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

Re: Simple question about shale-clay responding with the raw jsp instead of html

2006-01-25 Thread Gary VanMatre
>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? >

Re: Simple question about shale-clay responding with the raw jsp instead of html

2006-01-25 Thread xzuma
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

Re: Simple question about shale-clay responding with the raw jsp instead of html

2006-01-25 Thread Gary VanMatre
>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

Simple question about shale-clay responding with the raw jsp instead of html

2006-01-25 Thread xzuma
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

Re: A simple question about web design

2005-11-16 Thread Marcio Ghiraldelli
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

A simple question about web design

2005-11-16 Thread Comain Chen
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 |

Re: Fw: RE: [OT] Re: xmlparser simple question

2005-08-24 Thread Anil Pathak
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

Fw: RE: [OT] Re: xmlparser simple question

2005-08-24 Thread erikweber
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

Re: xmlparser simple question

2005-08-24 Thread Greg Reddin
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

RE: [OT] Re: xmlparser simple question

2005-08-24 Thread Gilbert, Antoine
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

[OT] Re: xmlparser simple question

2005-08-24 Thread erikweber
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

xmlparser simple question

2005-08-24 Thread Gilbert, Antoine
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 ?

Re: quick simple question

2005-06-29 Thread Laurie Harper
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

Re: quick simple question

2005-06-29 Thread Ed Griebel
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

Re: quick simple question

2005-06-28 Thread Laurie Harper
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

quick simple question

2005-06-28 Thread ori
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

Re: A simple question about logging out

2005-04-24 Thread Craig McClanahan
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

A simple question about logging out

2005-04-24 Thread Yan Hu
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

RE: simple Question

2004-07-16 Thread Geeta Ramani
> 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

RE: simple Question

2004-07-16 Thread Paul McCulloch
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

simple Question

2004-07-16 Thread Alvin Antony
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