Hi, all:
I have a question to ask: is it possible to open a new browser page in the
server side instead of using form.target=__blank?
User submits a form then the server side codes do some validations. If the form
valid, a new page is return for printing, or the original page is returned with
As following:
s:radio name=registration.gender list=#{'M':'Male','F':'Female'}
value=%{'F'}/
Crazyreal
-邮件原件-
发件人: merryba [mailto:[EMAIL PROTECTED]
发送时间: 2007年7月26日 7:13
收件人: user@struts.apache.org
主题: Radio Buttons in Struts
Hi,
Please I am newbie to Sruts2.
I want the radio
A bit strange, it does work in my test app.
Crazyreal
-邮件原件-
发件人: merryba [mailto:[EMAIL PROTECTED]
发送时间: 2007年7月26日 9:27
收件人: user@struts.apache.org
主题: Re: 答复: Radio Buttons in Struts
It doesn't work .Still I am not getting as one of the radio buttons to be
selected by default.
Real
You should modify your bean definition,
If you’re using spring 2.0.x,
bean id=” AccountAction” class=”com.xxx.AcountAction” scope=”prototype”
….
/bean
Spring 1.xx
bean id=”AccountAction” class=”com.xxxAccountAction” singleton=”false”
/bean
That ensure a new action
Neil:
Your should extend package tiles-default and use tiles result type, as
following:
package name=mydefault namespace=/my extends=tiles-default
action name=top/Home
result name=success type=tilestiles.definition/result
/action
/package
Package tiles-default
Actually, I didn't understand why you gave s:actionmessage .../ a key
attribute. Meanwhile, you should change constant
name=struts.custom.i18n.resources
value=ApplicationResources.properties/ to constant
name=struts.custom.i18n.resources
value=ApplicationResources/
Crazyreal
-邮件原件-
Struts2 xslt can’t work under oc4j, and get the following exception:
javax.xml.transform.TransformerException: XML-22101: (Fatal Error) DOMSource
node as this type not supported.
at
oracle.xml.jaxp.JXTransformer.reportException(JXTransformer.java:883)
at
Is there a way to keep all JSPs in WEB-INF/pages without moving them?
On 6/21/07, chenshibing [EMAIL PROTECTED] wrote:
You should add a name space for person and product package, as following:
package name=person extends=struts-default namespace=/person
action name=list method=execute class
You should add a name space for person and product package, as following:
package name=person extends=struts-default namespace=/person
action name=list method=execute class=personAction
resultpages/persons.jsp/result
/action
/package
package name=product
9 matches
Mail list logo