Hi Jawahar,
what i would do is create one html:form's with 3 different response
presentation parts, one for every question type.
But the submit of such a form can always go to same action and have
one field "response". Then in action You can check if this question
has predefined answer and if yes s
Thanks for helping
here is the strutsProduct.xml ::
http://struts.apache.org/dtds/struts-2.0.dtd";>
true
InfoProduct
${idProduct}
/pages/error/role.jsp
/pages/product/infoOption.jsp
His editor should be fine with Unicode... hmm, post your action bean.
On Thu, 2010-07-01 at 14:30 -0700, Chris Pratt wrote:
> On my screen it looks like there's a British pound sign in the text, which I
> believe is outside the ASCII characters set, I'm just wondering if that
> could be causing t
On my screen it looks like there's a British pound sign in the text, which I
believe is outside the ASCII characters set, I'm just wondering if that
could be causing the trouble. It's definitely something I've never tried
myself.
(*Chris*)
On Thu, Jul 1, 2010 at 2:14 PM, wrote:
> Hi Chris. Th
Hi Chris. Thanks for responding. I can not see any invalid characters?
Chris
> Not sure but it looks like there's an invalid character in there. Could
> that be fouling things up?
> (*Chris*)
>
> On Thu, Jul 1, 2010 at 1:59 PM, Chris Miles wrote:
>
>> Does anyone have any ideas? Tearing my ha
Not sure but it looks like there's an invalid character in there. Could
that be fouling things up?
(*Chris*)
On Thu, Jul 1, 2010 at 1:59 PM, Chris Miles wrote:
> Does anyone have any ideas? Tearing my hair out with this.
>
>
> Chris
>
> - Original Message - From: "Chris Miles"
> To:
Does anyone have any ideas? Tearing my hair out with this.
Chris
- Original Message -
From: "Chris Miles"
To: "Struts Users Mailing List"
Sent: Tuesday, June 29, 2010 9:47 PM
Subject: Re: Nested Iterator Problem
Is there anything else in the logging I can enable to try and find out
On 7/1/10 4:08 PM, Ken wrote:
Adding 'var="header"' to the tag simply pushed a named
object onto the stack.
Am I missing something?
Yes.
Any use of an s:iterator always pushes the current item onto the top of
the stack during each iteration of the body. You can refer to that as
"top" if
On 7/1/10 3:51 PM, Ken wrote:
This produced the desired effect:
(added var="header" to iterator tag)
If you have var="header" in the iterator, the appropriate way to
reference that value within the iterator is "%{#header}"
This produced the desired effect:
(added var="header" to iterator tag)
On Thu, 2010-07-01 at 12:47 -0600, Ken wrote:
> In my jsp I have:
>
>
>
>
>
> Where list,
Please provide a trimmed down version of the form, the action bean and
the struts.xml file (if there is one) showing the issue.
On Thu, 2010-07-01 at 15:04 +0800, Stephane Cosmeur wrote:
> Hello struts users
>
> We are facing a strange problem. We submit a form with textfields which
> contain s
In my jsp I have:
Where list, is a List...
The above produces the following html:
[id,
app.mz.address.companynamelis...@e8e3b0,
com.opensymphony.xwork2.defaulttextprovi...@178cce2]
Got it working... :)
Thank you very much Jyothi,
On Thu, Jul 1, 2010 at 2:57 PM, Jyothi Rajesh wrote:
> You will need to have a dedicated action to generate the data for the grid.
> This action will have to be inlcluded in the main page. And since this
> action forwards to the same grid JSP, wh
One Solution what I am thinking... I don't know is it possible or not
- Creating a simple html form
- On submitting, I will make a xml of user response i.e. Options selected,
and not selected for examle
...
then setting this xml string to ResponseActionF
Hi,
I am developing a application which looks like and online exam. But the
format of questions are not same. Questions may be desriptive, Objective and
of Multiple choice.
I have a page shownextquestion.jsp. This read the next question from
database to be shown to user.
It checks if the q
Hello,
I want to select date in format dd.MM. h:mm:ss. How to do this with
datetimepicker? I can select only date (type=date) or time (type=time), but not
both to same date text input field... or is there same way to do this?
Thanks a lot.
Tom
--
You will need to have a dedicated action to generate the data for the grid.
This action will have to be inlcluded in the main page. And since this
action forwards to the same grid JSP, whether you include it in the main
page or through AJAX, it will give the same effect.
On Thu, Jul 1, 2010 at 1:27
As far as I remember, for Struts to populate a list you just give the
same name for a setter in the action that takes a List<> as a parameter
as the element(s) in the Jsp. So you can have 1 textboxes *with same
name*, and if this name happens to map to a list, the list will get
populated wi
hi,
I got a Maven 2 multi projects (EJB 3 / Struts 2.1.8 with convention pugin)
Deploying the war module to JBOSS 5.1.0 outside the EAR just work fine : the
plugin "config browser" show my action mapping, and the application is working
fine.
But when I try to package the war within the EAR (wit
Thanks for replying Jyothi,
I have some questions,
if we call that separate JSP file where the resides, then how
can i show it in the main page, if AJAX request call loads the grid page,
then how can i move back to main page, because the grid should appear on the
main page.
On Thu, Jul 1, 201
Dear List members,
More over I don;t know how many address will the user enter, it can 0 or
10, need to generate jsp code dynamically
Address [+]
How are we going to achieve this type of functionality.
What are best practices in setting multiple values of same object from FORM
or how to set
Dear List memeber,
I have a urgent requirement in which I will have to populate a list or set
and this set / list will be getModel() for an struts action.
How to write jsp code so that the set is populated directly here.
Like say I have a list of address and from form
address 1
address 2
addre
Hello struts users
We are facing a strange problem. We submit a form with textfields which
contain some float numbers.
When the entity is loaded the numbers appears in the textfield like this :
x.x
But when we submit the form, it is the input result which is returned. If we
change the numbers like
23 matches
Mail list logo