One more thing i would i like to add
i am using struts2 based select tag and here the list is getting populated
dynamicaly from the back end
so if i am able to create the tag based on the code generated by struts2
source code how can i provide the values dynamically to them???
On Fri, Dec 5, 200
Hi Dave,
Can you just describe what you mean by this may be i am unable to graspe
what you have suggested
a little description can help me a lot...
thanks
-s
On Thu, Dec 4, 2008 at 10:09 PM, Dave Newton <[EMAIL PROTECTED]> wrote:
> Just duplicate what the S2 tags would emit--I think that'd
Using "${userId}" i did my work. :-)
Thank You.
--
View this message in context:
http://www.nabble.com/%3Cbean%3Awrite%3E-value-print-in-%3Chtml%3Atext%3E-tp20832676p20847538.html
Sent from the Struts - User mailing list archive at Nabble.com.
I figured it was an easy solution, just couldn't find the answer for
some reason. Many thanks!
On Thu, Dec 4, 2008 at 9:23 PM, Dave Newton <[EMAIL PROTECTED]> wrote:
> --- On Thu, 12/4/08, Burton Rhodes wrote:
>> I am trying to figure out how to serve a requested data file
>> to the user using st
It is somewhat trivial. You use the Stream result type ->
On Thu, 2008-12-04 at 21:02 -0600, Burton Rhodes wrote:
> I am trying to figure out how to serve a requested data file to the
> user using struts 2. The file repository on my disk drive is
> obviously not a public folder, so I retrieve th
--- On Thu, 12/4/08, Burton Rhodes wrote:
> I am trying to figure out how to serve a requested data file
> to the user using struts 2. The file repository on my disk
> drive is obviously not a public folder, so I retrieve the file
> in the action class... but I am confused as to how to send it
I am trying to figure out how to serve a requested data file to the
user using struts 2. The file repository on my disk drive is
obviously not a public folder, so I retrieve the file in the action
class... but I am confused as to how to send it to the browser since
all I can return from my action
--- On Thu, 12/4/08, Musachy Barroso wrote:
> Dave is right.
It happens on rare occasions ;)
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
A couple of comments, although with the configuration provided I'm not getting
as far as you are.
--- On Thu, 12/4/08, Robert Graf-Waczenski wrote:
>
> name="com.blah.blurp"
>extends="struts-default">
> class="com.blah.blurp.actions2.AddAction">
>
Dave is right.
On Thu, Dec 4, 2008 at 12:46 PM, Dave Newton <[EMAIL PROTECTED]> wrote:
> I suspect s/he is, but that it wasn't sent plain-text.
>
> Assuming that's the issue, if someone configured a "params" then the
> "defaultStack" wouldn't the "params" in the default stack still set the
> pa
I suspect s/he is, but that it wasn't sent plain-text.
Assuming that's the issue, if someone configured a "params" then the
"defaultStack" wouldn't the "params" in the default stack still set the
parameters, since the resulting stack is a "params" then all the default
interceptors?
DAve
---
you are not setting the regular expression in the "excludeParameters"
attribute of the interceptor.
musachy
On Thu, Dec 4, 2008 at 12:11 PM, RajibJana <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I am using Struts 2.0.14 and dojo 1.2.2 to build a RIA application.
>
> In the application, I use dojo for
You don't need to keep your jsp's under WEB-INF, you can setup a security
constraint to prevent access to your raw jsp files.
We keep our jsp's in a /struts folder and use this security constraint in
the web.xml file.
The key is the constraint has no roles so no access is allowed.
Hi,
I am using Struts 2.0.14 and dojo 1.2.2 to build a RIA application.
In the application, I use dojo form widget to submit the form value to
action class using POST method.
In the form widget, I have userid and password field that are mapped to
action class fields, but there is a dojo button
Just duplicate what the S2 tags would emit--I think that'd be the easiest.
Dave
--- On Thu, 12/4/08, shekher awasthi <[EMAIL PROTECTED]> wrote:
> From: shekher awasthi <[EMAIL PROTECTED]>
> Subject: Creating struts2 form elements dynamically
> To: user@struts.apache.org
> Date: Thursday, Decemb
Hi All,
I need to create rows of struts2 form elements in my jsp on onclick event of
a button.
Whenever user clicks on the button, a new row of input types struts2 form
elements should be created dynamically.
I know creating simple html form elements using javascript but dont know how
to do same
If I write in my jsp:
with in my i18n.properies:
home.hits=Foto visitate: {0}/{1}
the output in html is:
Foto visitate: 187/27.912
Is there a way to not write the .?
Thank you, guys
Gianluca
the code is here:
i have a tag file called page.tag
<%@ tag body-content="scriptless" %>
<%@ tag pageEncoding="UTF-8" %>
<[EMAIL PROTECTED] prefix="s" uri="/struts-tags" %>
<[EMAIL PROTECTED] prefix="sicat2" uri="/WEB-INF/sicat2.tld" %>
http://www.w3.org/TR/html4/loose.dtd";>
--- On Thu, 12/4/08, Eugenio Perrotta Neto wrote:
> i know that. but it just happen when i use tiles or a Tag
> file. if a use a plain JSP it does not happen
>
You'll probably have to supply some example configuraton/pages/definitions/etc.
that duplicate the problem for us to help; I'm using Tile
im gonna put some code :
i have a tag file called page.tag
<%@ tag body-content="scriptless" %>
<%@ tag pageEncoding="UTF-8" %>
<[EMAIL PROTECTED] prefix="s" uri="/struts-tags" %>
<[EMAIL PROTECTED] prefix="sicat2" uri="/WEB-INF/sicat2.tld" %>
http://www.w3.org/TR/html4/loose.dtd";>
i know that. but it just happen when i use tiles or a Tag file.
if a use a plain JSP it does not happen
On Thu, Dec 4, 2008 at 1:50 PM, Jim Kiley <[EMAIL PROTECTED]> wrote:
> The getter for a given property will get called once every time the page
> requests the property.
>
> On Thu, Dec 4, 2008
It happens in both browsers
But if use a plain jsp this dont happen
On Thu, Dec 4, 2008 at 1:48 PM, Gianluca Musella <[EMAIL PROTECTED]
> wrote:
> What browser do you use?
>
> It can be an ffx3 bug, if you use ffx3 try with ie.
>
> Hope this help
>
> Gianluca
>
> 2008/12/4 Eugenio Perrotta Neto
The getter for a given property will get called once every time the page
requests the property.
On Thu, Dec 4, 2008 at 10:45 AM, Eugenio Perrotta Neto <
[EMAIL PROTECTED]> wrote:
> Hi all.
>
> I nedd a very urgent help.
>
> I dont know why when i use tiles or use Tag files whith struts 2, my gett
What browser do you use?
It can be an ffx3 bug, if you use ffx3 try with ie.
Hope this help
Gianluca
2008/12/4 Eugenio Perrotta Neto <[EMAIL PROTECTED]>
> Hi all.
>
> I nedd a very urgent help.
>
> I dont know why when i use tiles or use Tag files whith struts 2, my getter
> methods in the act
Hi all.
I nedd a very urgent help.
I dont know why when i use tiles or use Tag files whith struts 2, my getter
methods in the action class are been calling twice.
Anybody could help me?
Sorry, my english is not very good
--
Eugenio Perrotta Neto
Tel: (27) 9913-8080
Were you able to get this to pass through as a date? After reading what was
posted here it seems like it definitely should be possible, but that you were
still having issues.
-Tim
Dimitar Vlasev wrote:
Though it would be even elegant enough solution if I was able to refer
to the static patter
Dave Newton wrote:
--- On Thu, 12/4/08, Robert Graf-Waczenski wrote:
I'm using Struts 2.0.14, any chance that this is a fixed bug?
If it is unknown, i'll go file a bug then.
I dunno; I've used this pattern on a few apps (ScopedModelDriven, too) so I'm
skeptical it's a bug. Could you p
You'll have to set the default value to your action property:
private String medicalCheckup = "Yes";
public String getMedicalCheckup() {
return medicalCheckup;
}
public void setMedicalCheckup(String medicalCheckup) {
this.m
>
> I vote for "${userId}", but only if it's under JSP 2.
>
In that case, I'd like to change my vote ;)
> Sure seems like people try to nest tags a lot :/
>
Yeah FAQ entry?
Nils-H
-
To unsubscribe, e-mail: [EMAIL PROTECTED
--- On Thu, 12/4/08, Robert Graf-Waczenski wrote:
> I'm using Struts 2.0.14, any chance that this is a fixed bug?
> If it is unknown, i'll go file a bug then.
I dunno; I've used this pattern on a few apps (ScopedModelDriven, too) so I'm
skeptical it's a bug. Could you post the config for the act
Dave Newton wrote:
--- On Thu, 12/4/08, Robert Graf-Waczenski wrote:
The form field is only pre-filled if i explicitly use
value="#session...", but with this, [...]
If the action implements modelDriven, and the getModel() call returns the
session bean under mySessionBeanKey, then yo
--- On Thu, 12/4/08, Nils-Helge Garli Hegvik wrote:
> You can't have jsp tags inside jsp tag attributes. Try
> value="<%= request.getAttribute("userId") %>" or
> something instead.
I vote for "${userId}", but only if it's under JSP 2.
Sure seems like people try to nest tags a lot :/
Dave
-
You can't have jsp tags inside jsp tag attributes. Try value="<%=
request.getAttribute("userId") %>" or something instead.
Nils-H
On Thu, Dec 4, 2008 at 1:42 PM, mthalis <[EMAIL PROTECTED]> wrote:
>
>
> I want to show values in the text box for editing purpose. I'm able to get &
> show the value
--- On Thu, 12/4/08, Robert Graf-Waczenski wrote:
> value="#session.mySessionBeanKey.theValue"/>
>
> The form field is only pre-filled if i explicitly use
> value="#session...", but with this, [...]
If the action implements modelDriven, and the getModel() call returns the
session bean under myS
I want to show values in the text box for editing purpose. I'm able to get &
show the value using tag. But i can't assign the value to text
box. If i use like below code it's showing the full tag as
String.
" />
i have used below code to set the value of the bean
request.setAttribute("userID
Thx Boss
On Thu, Dec 4, 2008 at 5:36 PM, Seshagiri V <[EMAIL PROTECTED]> wrote:
> I am sending a radio tag. Please use ...
>
> list="#{'true':'Yes','false':'No'}" instead of
> list="#{'Yes':'Yes','No':'No'}"/>.
>
> list="#{'true':'Yes','false':
I am sending a radio tag. Please use ...
list="#{'true':'Yes','false':'No'}" instead of
list="#{'Yes':'Yes','No':'No'}"/>.
This is working fine in my project.
Thank you,
Seshagiri V
[EMAIL PROTECTED]
US Main: 877 KENSIUM
Hi All,
I am using a radio tag ,I want default value of it to be yes I tried using
value="yes" but stiill the same
can any one help me .
regards
srinivas
HI,
Iam stuck in one problem where iam trying to validate user email ID on my
signup form,When user enter Email id in and press tab then i
have used Ajax to validate wether this email ID exist in database or
not,Following is portion of my code
Hello,
I have the Struts app with several properties files (example,
application_en.properties, application_ru.properties). This files are
assembled to jar-file. Also, I wanna give an opportunity to users create
own
properties files are located in other directory. Example, I have lang dir
Hi!
We were previously using Struts1 session scope form beans to achieve
what we feel was rather natural: We frequently have a pattern were a
user needs to change some settings in some model bean stored in a
persistent storage. With Struts1, we had a jsp with a tag
that was bound to an actio
> Though it would be even elegant enough solution if I was able to refer
> to the static pattern String in the .jsp like that
>
> But I got exception:
> According to TLD or attribute directive in tag file, attribute
> displayFormat does not accept any expressions
Accessing static properties resol
2008/12/4 Faraz Ali <[EMAIL PROTECTED]>:
> I have defined few constants in interface and enum. Now i want to access
> these in my jsp. How to do this? Because when i am trying to do <%=, its
> saying that expressions are not allowed. How to do this in very struts2
> style?
Take a look on that [1]
43 matches
Mail list logo