Re: unclear behavior of submit-control

2008-05-22 Thread Alec C4
not working :( but looks like a -- View this message in context: http://www.nabble.com/unclear-behavior-of-submit-control-tp17402365p17412337.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscr

Re: unclear behavior of submit-control

2008-05-22 Thread Alec C4
ognl.OgnlException: source is null for getProperty(null, "registration") at ognl.OgnlRuntime.getProperty(OgnlRuntime.java:1638) at ognl.ASTProperty.getValueBody(ASTProperty.java:92) at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170) at ognl.SimpleNode.getV

unclear behavior of submit-control

2008-05-22 Thread Alec C4
throws OgnlException. But works fine. what does it means? How to access some.key.from.resource.bundle to display it as label? -- View this message in context: http://www.nabble.com/unclear-behavior-of-submit-control-tp17402365p17402365.html Sent from the Struts - User mailing list archive at N

struts 2.1.2 - strange bug

2008-05-08 Thread Alec C4
Hi, all. I have a config with /pages/register.jsp /pages/result.jsp /pages/register.jsp action with public String execute() { userM

Re: forwardPattern and Action Relaying

2005-11-13 Thread alec lee
Paul Benedict yahoo.com> writes: > > >> /myApp/WEB-INF/module/actionB.do! > > I never ever seen Struts resolve to WEB-INF. That's a file system path. Struts paths are URI which > are not in the file system. > > That is because of the I used which prepend "/WEB-INF" to every p

Re: forwardPattern and Action Relaying

2005-11-13 Thread alec lee
Paul Benedict yahoo.com> writes: > > There is a module attribute to the forward tag. From the DTD: "The module prefix to use with this > path. This value should begin with a slash ("/")." > Thx but after using the URL resolves to "/myApp/WEB-INF/module/actionB.do"! What I need is a url that

forwardPattern and Action Relaying

2005-11-13 Thread alec lee
I am using modules and placing my JSPs under /WEB-INF. My understanding is that struts support this configuration by using forwardPattern="/WEB-INF$M$P" > in my struts-config-module.xml to map forward path to the proper module relative URL. However, what if now I want to relay from one action

forwardPattern and Modules

2005-11-13 Thread alec lee
I am using Struts 1.2.4. I have 2 modules and was trying to switch from default to moduleA. In my moduleA, I've used , since my JSP's are inside WEB-INF. In my default module, I have these lines: ... path="/switch.do?prefix=/moduleA&page=/synForm.do" contextRelative="false"

SwitchAction get Affected by forwardPattern

2005-11-11 Thread alec lee
I am using Struts 1.2.4. I have 2 modules and was trying to switch from default to moduleA. In my moduleA, I've used , since my JSP's are inside WEB-INF. In my default module, I have these lines: ... path="/switch.do?prefix=/moduleA&page=/synForm.do" contextRelative="false"

SwitchAction get Affected by forwardPattern

2005-11-08 Thread alec lee
I am using Struts 1.2.4. I have 2 modules and was trying to switch from default to moduleA. In my moduleA, I've used , since my JSP's are inside WEB-INF. In my default module, I have these lines: ... path="/switch.do?prefix=/moduleA&page=/synForm.do" contextRelative="false"

Sample Code for Desclarative Security in Struts

2005-05-08 Thread alec
Would there be any sample code showing how to use declarative security in Struts? I guess this would be a bit tricky as there is only 1 web resource to protect (ActionServlet) Appreciate any pointer. - To unsubscribe, e-mail:

Re: Integrating reports in Struts Framework

2005-05-08 Thread alec
try jasperreport. I used it to generate pdf for browser to download "Shajee" <[EMAIL PROTECTED]> ??? news:[EMAIL PROTECTED] ???... Hi, I'm new to the group and Struts Framework. There're a few urgent queries for which i'm unable to get some good answers. Thought you guys might be helpful Is the