Hi,
I have a number of result pages for my action, and I would like them to appear
in different frames. Is there a way to define the target frame for each result
page?
Thanks,
Session
-
To unsubscribe, e-mail: [EMAIL
hello guys..its me again..
I have a problem regarding my validation of html:text which is inside the
iteration and the validation will depends if the corresponding checkbox has
been selected.
this is my JSP
bitratebox is for the multibox
and
bitrateTxt is for the text
logic:iterate
Hi Frank, Paul
Thanks again for the tips. The thing is, having a NPE isn't actually a
problem for me. I am quite (well, not entirely) happy for the code to
throw it since by that time, my RequestDispatcher.forward method has
already got my request to the browser by then, and the user is viewing
Hi,
Is there a way to configure an s:form tag so that the 2 submit buttons appear
side by side instead of one under the other? I use a css file with
input.actionButtons {float: left;} to move both of them to the left, but
they're not appearing next to each other.
Thanks,
Session
Hi,
There is a Tabbedpanel in the UI Tag's doc
(http://struts.apache.org/2.x/docs/tabbedpanel.html) but this seems to
have disappeard in v2.1.0.
Is there a new packaged way of handeling tabs in JSP ?
Thanks.
Hallo list,
I have an ActionForm with an attribute (String) to print the value of
this attribute I use bean:write name=myBean property=myAttr/.
The problem is the String could have small and capital letters but I
would like to print it always the same. For example always with capital
letters.
Hello,
I'm using Eclipse 3.2.2, isn't it possible to get tag insight, syntax
coloring, code completion etc. when editing JSP pages using struts-tags ?
It's currently just raw black text.
--
View this message in context:
Hi,
I tried this way. Hope this may help u too.
Css file:
.button {
margin-top: 0;
font-size: 10pt;
text-align: center;
background-color: white;
}
.buttonbar {
padding-top: 1em;
text-align: right;
}
Form:
table
tr
td
Hi all,
I'm having big trouble while trying to acces to the parameters values.
I'm simply trying to retrieve a parameter value from my interceptor class.
The Action class that is intercepted implements the ParameterAware
interface and has getter and setter method
related to parameters attribute
Do you have WTP installed in your Eclipse?
On 8/2/07, appel [EMAIL PROTECTED] wrote:
Hello,
I'm using Eclipse 3.2.2, isn't it possible to get tag insight, syntax
coloring, code completion etc. when editing JSP pages using struts-tags ?
It's currently just raw black text.
--
View this
Nils, I love you for that :)
It was on my wishlist for so long, but I never found the time to get
into it.
Cheers,
Rene
Nils-Helge Garli schrieb:
I think I've managed to get all the steps written down:
http://portletwork.blogspot.com/2007/07/mvnjetty-and-portlets.html
Also, I took a struts
On 8/2/07, Alexander Jede [EMAIL PROTECTED] wrote:
Hallo list,
I have an ActionForm with an attribute (String) to print the value of
this attribute I use bean:write name=myBean property=myAttr/.
The problem is the String could have small and capital letters but I
would like to print it always
I pretty much like the webfx stuff:
http://webfx.eae.net/
They recently changed their license from GPL to ASL2, so no licensing
issues here.
Note: one of my what-i-would-do-if-i-only-had-time-list point was
encapsulating the webfx menu stuff into some s2 tags...
Regards,
Rene
James Holmes
2007/7/31, Frank W. Zammetti [EMAIL PROTECTED]:
is the GPL compatible with the ASL?
Absolutely not! Neither for binary releases nor for sources.
See:
http://people.apache.org/~cliffs/3party.html
Antonio
-
To unsubscribe,
Hi,
Why don't you use MyEclipse. Download and install this. It will search for
ur Eclipse and get installed in the appropriate location. Then open all JSP
files and xml files using MyEclipse editor.
Sahil
-Original Message-
From: appel [mailto:[EMAIL PROTECTED]
Sent: Thursday, August
Since entering a NAN value for a number property should result in
conversion errors, you might want to checkout this:
http://cwiki.apache.org/confluence/display/WW/conversion+validator
Richard Sayre schrieb:
Is there a way to use the XML validation to check to see if a field is
a number? I
You are right, there is no bundled BigDecimal related validator in
place, but it should be quite easy to implement (eg. extend
FieldValidatorSupport). For registering, see
http://cwiki.apache.org/confluence/display/WW/Validation
BTW, is it really validation you are searching for, or is it
I could use some advice from some folks with more experience and
knowledge of Struts2 than I to assist me in determining the correct way
(or lay out some viable options) to design a solution for the following
senario:
We need to generate a PDF report real time based on data in a database
that is
You should definitely have a look into the struts2-jasperreports-plugin
- both for checking out how to write own results and evaluating if you
might want to use jasper over FOP, since full s2 result support is
already available for jasper.
The plugin is part of the struts2 source distribution.
pageContext.findAttribute(Your formname) will return the ActionForm
instance .
On 8/2/07, Oleg Konovalov [EMAIL PROTECTED] wrote:
Hi,
How can I access an ActionForm from my JSP in Struts 1.2-1.3 ?
Thank you,
Oleg.
--
Yoge,
AdventNet, Inc.
925-965-6528
[EMAIL PROTECTED]
site24x7.com
I suppose there is a lot of other way to generate pdf with struts2.
Certainly a plugin. But I don't know how it works.
However, to invoke a jsp and get the result in your action, you can use
a requestDispatcher to obtain the resut of a jsp execution.
Here is something I already done with
Hi,
I cannot install WTP unless I have EMF, and I cannot install EMF unless I
have Eclipse 3.3.0 (I have Eclipse 3.2.2). So therefor I cannot install WTP!
:|
Also, I don't want to install a new Eclipse editor, it's a total pain
maintaining 2 or 3 Eclipse installs, with 3 different workspaces.
I think we can't specify the string format using bean write may u can handle
this thing using CSS
- Original Message -
From: Alexander Jede [EMAIL PROTECTED]
To: user@struts.apache.org
Sent: Thursday, August 02, 2007 2:22 PM
Subject: [S1]minipulate output of bean:write
Hallo list,
I
Thanks, Rene!
I actually just found that after sending my question. Somehow I missed
it earlier. We are definitely going to take a look at Jasper and the
plugin as it appears a lot of the heavy lifting may already be done for
us.
Thank you!
-Original Message-
From: Rene Gielen
Having used FOP briefly, I would add only one thing. It is generally
considered a good practice to generate traditional XML first, then
transform your data to XSLFO using a transform (pardon me if I am
getting the terms wrong). Basically, create your XML data, then have an
XSL file that transforms
-Original Message-
From: Session A Mwamufiya [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 02, 2007 1:39 PM
To: user@struts.apache.org
Subject: placing 2 buttons next to each other
Hi,
Is there a way to configure an s:form tag so that the 2 submit buttons
appear side by side
In 2.1 all ajax/javascript related tags where moved to the dojo plugin.
musachy
On 8/2/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi,
There is a Tabbedpanel in the UI Tag's doc
(http://struts.apache.org/2.x/docs/tabbedpanel.html) but this seems to
have disappeard in v2.1.0.
Is there a
I think you are missing your application context:
http://localhost:8080/myapp/struts/dojo/dojo.js
musachy
On 8/2/07, Struts2 Fan [EMAIL PROTECTED] wrote:
Ok so When I put a s:head theme=ajax/ it creates some js scripts such as
the below.
script type=text/javascript
Hello,
I need some simple login page for my web. There is only one account, and
I'll probably just hardcode the user/pass in the code.
Can't figure out how to do it properly with the struts2 framework, been
googling and reading the docs... do I need a interceptor for this or?
Thank you!
--
Dave:
Did you give up on this?
Neil
--
Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com
FREE! Eliminate junk email and reclaim your inbox.
Visit http://www.spammilter.com for details.
-Original Message-
From: Neil Aggarwal [mailto:[EMAIL PROTECTED]
Sent: Wednesday,
When I used XSLFO (maybe 3-4 years ago) it was really a pain. I can't
see how it could have gotten any better - without a visual designer
anyway.
Have a look at http://www.eclipse.org/birt (Birt) - It can generate
PDF's, export data, has a good designer etc.
(also if you are thinking
Hi Alex,
If I understand what you are trying to do, you can use JSTL to accomplish
the task as such:
c:out value=${fn:toUpperCase(myAttr)} /
HTH,
-Rod
-Original Message-
From: Alexander Jede [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 02, 2007 04:53
To: user@struts.apache.org
Appfuse uses struts-menu
http://struts-menu.sourceforge.net/
James Holmes-2 wrote:
Anyone know what Matt is using for AppFuse.org?
Is that the type of menu people would like to see?
--
View this message in context:
--- Neil Aggarwal [EMAIL PROTECTED] wrote:
Did you give up on this?
No, I'm just not actually physically attached to my
computer and teh intarwebs 24/7 and the boss keeps
blathering on and on about some sort of do stuff for
me BS.
I haven't done anything with setting the
i18n.resources
Hi,
I try to validate a double, but it generates this in my JSP :
// field name: familleProduit.chargeTravail
// validator name: double
if (form.elements['familleProduit.chargeTravail']) {
field = form.elements['familleProduit.chargeTravail'];
var
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Appel,
appel wrote:
I need some simple login page for my web. There is only one account, and
I'll probably just hardcode the user/pass in the code.
Can't figure out how to do it properly with the struts2 framework, been
googling and reading the
The thing is, I'm not entirely sure there's another viable option. I
could certainly see extending DownloadAction in some way so that there is
kind of a verify() method called first that detects the problem that your
checking for (the if(problem) statement)... if a problem is detected,
i.e., file
Dave:
Thanks for getting back to me. I was not
assuming you were available 24x7. I just
wondered if you were frustrated by my
inexperience.
I put a package.properties file in my
WEB-INF/classes/page directory since that
is the package that contains the action class.
It works perfectly!
Same with int validation.
field name=familleProduit.chargeTravail
field-validator type=int
message key=errors.int/
/field-validator
/field
generates :
// field name: familleProduit.chargeTravail
// validator name: int
if
Hey guys,
I need some help using nested tag library and javascript. I have an
actionForm named RegistrationForm that has two AddressForm; mailing and
billing addresses. I need to implement a requirement if a user clicks a
checkbox say 'same as mailing', I need to copy the textfield values from
--- Neil Aggarwal [EMAIL PROTECTED] wrote:
I tried moving the package.properties to
WEB-INF/classes so it would be application
wide but that seems to be ignored.
Hmm, I guess I would have thought that would work, but
I've never tried.
I would still really like a way to make a global
Hi,
I've got this tag:
html:cancel styleId=cancelButton
styleClass=submitbutton /
But the isCancelled() in the action then always return
false, even if I hit the cancel button.
If I replace the tag with a default
html:cancel/html:cancel
then it works. Looks like something with the generated
Paste in the generated HTML for both cases please.
Thanks,
Paul
On 8/2/07, Charl Gerber [EMAIL PROTECTED] wrote:
Hi,
I've got this tag:
html:cancel styleId=cancelButton
styleClass=submitbutton /
But the isCancelled() in the action then always return
false, even if I hit the cancel
input type=submit
name=org.apache.struts.taglib.html.CANCEL
value=Cancel onclick=bCancel=true;
input type=submit
name=org.apache.struts.taglib.html.CANCEL
value=Cancel onclick=bCancel=true;
id=cancelButton class=submitbutton
Paste in the generated HTML for both cases please.
Thanks,
Paul
Dave:
Arrgh. I just figured it out.
I need to set the constant to the name of
the file *without* the .properties extension.
So, in struts.xml, I put this:
constant name=struts.custom.i18n.resources value=application/
and it loads application.properties just fine.
Thank you for your help on
Is there away to stop the label of a checkbox from being escaped?
s:checkbox
key=legal
label=I have read the a href='/about/legal/'legal stuff/a/
results in:
label for=_legal class=checkboxLabelI have read the lt;a
href='/about/legal/'gt;legal stufflt;/agt;/label
TIA
Kevin
You mean check in my action class?
Why should the name change? Its the same for both
cancel buttons, one works, the other not just
the id and class extras that breaks it.
--- Paul Benedict [EMAIL PROTECTED] wrote:
This is interesting. The name isn't changing so I
don't know what is going
Some Knows how to build my own layout in Struts 2 ??
I want to use Ajax and the UI Tags and make my own layout.
Thanks
Manuel
OK, more info if I remove the styleId attribute,
then it works. Maybe something to do with the actual
style id (#submitButton) not being declared in the
.css?
--- Paul Benedict [EMAIL PROTECTED] wrote:
This is interesting. The name isn't changing so I
don't know what is going
on. Can
I want to have one div in the left and when some click in some link
refresh the div in the right, with Ajax.
Manuel
-Original Message-
From: Manuel Correa [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 02, 2007 1:51 PM
To: user@struts.apache.org
Subject: layout Struts 2
Some Knows
server
--- Paul Benedict [EMAIL PROTECTED] wrote:
Is the problem with server or client validation?
On 8/2/07, Charl Gerber [EMAIL PROTECTED]
wrote:
OK, more info if I remove the styleId
attribute,
then it works. Maybe something to do with the
actual
style id (#submitButton)
Hi,
I have two frames and would like to have the submit button from one frame be
handled by that frame's action and do the following:
1. capture values from the frame and put them in the session object
2. load a different page in the current frame
3. force the other frame to reload
Getting 1
Is the problem with server or client validation?
On 8/2/07, Charl Gerber [EMAIL PROTECTED] wrote:
OK, more info if I remove the styleId attribute,
then it works. Maybe something to do with the actual
style id (#submitButton) not being declared in the
.css?
--- Paul Benedict [EMAIL
Session A Mwamufiya wrote:
1. capture values from the frame and put them in the session object
2. load a different page in the current frame
3. force the other frame to reload
Getting 1 and 2 are fine with the standard struts 2 flow of events (1 in the
action, and 2 as the result page), but
Hi,
How I show the erros(validation) when using simple theme ?
Herrera
--
View this message in context:
http://www.nabble.com/display-validation-error-to-simple-theme-tf4208443.html#a11971725
Sent from the Struts - User mailing list archive at Nabble.com.
Hi,
Do you have your form's theme set to css_xhtml ?
Leena
On 7/31/07, Session A Mwamufiya [EMAIL PROTECTED] wrote:
Hi,
I have a page with various strut objects in a form (buttons, textfields,
and listboxes), and would like to be able to control the layout. I tried
using a css file to
It also looks like you're referencing the actionButton style class
td valign=top
s:form target=SMIG_Editor
s:submit value=Add Category action=CategoryEditor
cssClass=actionButton /
/s:form
/td
But you defined the style as the button class.
input.button {
On 8/1/07, Oguz Kologlu [EMAIL PROTECTED] wrote:
Unexpected Exception caught setting 'contacts%5B0%5D.firstName' on
'class easybed.web.struts2.ContactsAction: Error setting expression
'contacts%5B0%5D.firstName' with value '[Ljava.lang.String;@284bf3'
Dojo 0.4.3 used to work ok (probably it
I got it cleared up, it was an issue with not using the absolute path in my
link.
Thanks,
Session
Hi, Do you have your form's theme set to css_xhtml ?
Leena
On 7/31/07, Session A Mwamufiya [EMAIL PROTECTED] wrote:
Hi,
I have a page with various strut objects in a form (buttons,
The following jsp is a Result in an action called 'listTypes'.
%@ include file=/includes/header.jsp%
h1s:property value=pageTitle//h1
br/
s:action name=getTypeParamTree executeResult=true/
%@ include file=/includes/footer.jsp%
getTypeParamTree result is xslt and is configured as follows:
Use the s:fielderror/ tag
On 8/2/07, Pedro Herrera [EMAIL PROTECTED] wrote:
Hi,
How I show the erros(validation) when using simple theme ?
Herrera
--
View this message in context:
http://www.nabble.com/display-validation-error-to-simple-theme-tf4208443.html#a11971725
Sent from the
The first page of my app is a Login page. Every other page is correctly
localized, because the app gets the user's preferred locale from a DB, and
Struts handles it, but until they have logged in the DB is not available. I
want it to be localized from cookies. I created a filter which
Hi,
[I'm using struts 1.2.7 (with EL from contrib) on Tomcat 5.5.9].
I'm attempting to submit variable amounts of form data in a table following
the model of James Turner:
http://www.developer.com/java/ejb/article.php/10931_3321521_1.
The goal is to retrieve items (user-configured alerts)
Ok, I finally see the error of my ways:
I originally defined my parameter like this:
s:param name=inputPath value=/images/bg_pattern.gif /
when it should be like this:
s:param name=inputPath value=%{'/images/bg_pattern.gif'} /
now the proper string is passed.
Thanks so much for the help!
I have the following situation:
a searchfield is on top of a table presenting results. if there is only one
result, the user should be redirected without the need of clicking on the
list..
now my problem is how to redirect to an action and passing a parameter from
within my original action..
Hi,
WTP
1.5http://download.eclipse.org/webtools/downloads/drops/R1.5/R-1.5.4-200705021353/with
EMF
2.2 http://www.eclipse.org/modeling/emf/downloads/?project=emf will run
fine in Eclipse 3.2.2. ;-)
On 8/2/07, appel [EMAIL PROTECTED] wrote:
Hi,
I cannot install WTP unless I have EMF, and I
I'm not so sure if this is some bug, but I noticed an odd behaviour with my
AJAX forms in IE.
For Firefox, if I hit the submit button for my form, my output is displayed
in my DIV area as exepcted. Same for IE. But in IE, when I hit enter button
instead of clicking on my submit button the whole
Piero Sartini wrote:
I have the following situation:
a searchfield is on top of a table presenting results. if there is only one
result, the user should be redirected without the need of clicking on the
list..
If you just want them to see the list for X seconds, then the link to be
No I am using Jetty and I have no application context.
As I said before I can see all the js files except /struts/dojo/dojo.js
Musachy Barroso wrote:
I think you are missing your application context:
http://localhost:8080/myapp/struts/dojo/dojo.js
musachy
--
View this message in
Hi,
I have 3 projects (web project, EJB and Java Client) which I have deployed
using a single EAR. The EJB and the client reference the web project (will
there be a problem with a reference in this direction?). After successful
deployment, the Client and the EJB are unable to find the
70 matches
Mail list logo