2008/1/16, Jeromy Evans <[EMAIL PROTECTED]>:
>
> Link A
>
> HTML escaped is not equivalent:
> Link B
You forgot a semicolon. The correct link is:
Link B
And it *is* equivalent.
Antonio
Antonio Petrelli wrote:
2008/1/16, Jeromy Evans <[EMAIL PROTECTED]>:
Link A
HTML escaped is not equivalent:
Link B
You forgot a semicolon. The correct link is:
Link B
And it *is* equivalent.
Antonio
Ah, my bad. Okay, I'm convinced. :-)
On that basis, the anchor tag just need
2008/1/16, Jeromy Evans <[EMAIL PROTECTED]>:
>
> > You forgot a semicolon. The correct link is:
> > Link B
> > And it *is* equivalent.
> >
> > Antonio
> >
> >
> Ah, my bad. Okay, I'm convinced. :-)
>
> On that basis, the anchor tag just needs ?html added to the href
> attribute:
Not this fast J
Heres a problem people may want to take a crack at...
In one of my webapps I allow the admin users to set how long a users session
is valid for, in a servlet I can set this by doing
session.setMaxInactiveInterval when the user logs in, but can I do this in a
struts action?
I do that with
ServletActionContext.getRequest().getSession().setMaxInactiveInterval
Hope this helps
Il giorno 16/gen/08, alle ore 10:14, Al Sutton ha scritto:
Heres a problem people may want to take a crack at...
In one of my webapps I allow the admin users to set how long a users
sess
hi i have a form that has a delete button in it to delete the particular
record..
i want to put a confirmation message before it execute the deletion.
how should i do it in Struts 2?
I'm really new with this..please help me . Thanks in advance.
--
View this message in context:
http://www.nabble
Hello.
I have installed a netbeans 6 on jdk6u4 and all recent updates for it.
Then i Try to implement an interface in my custom class.
public class Site1AuthAction implements ServletRequestAware{
public void setServletRequest(HttpServletRequest request) {
}
}
I get strarge editor warn
Hi,
I have searched the archive but havn't found any
solution for the following problem:
I have an array of entries to display, so I use the
logic:iterate tag.
But due to customer request, the data should not be
just displayed (bean:write) and afterwards edited by
the usual EDIT Button and an su
Hello
I have two diferrent jsp for an action. Its works all right, only
problem is that, if there are validation errors it always returns to
the same jsp, and that sometimes it's not the jsp that posted the
data.
What configuration I have to do in struts.xml or how to I decide on
the validate met
hi,
you can use the attribute indexed="true" in html:text tag.
or in complex cases:
"/>
kind regards,
frank
-Ursprüngliche Nachricht-
Von: Oliver Thoms [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 16. Januar 2008 12:42
An: user@struts.apache.org
Betreff: logic:iterate - editabl
Might be an idea to ask the Netbeans list, sounds like they've got some
optimization problems with empty methods being eliminated.
- Original Message -
From: "Igor Vlasov" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, January 16, 2008 11:00 AM
Subject: Netbeans 6.0 Editor Error with struts
Thanks for the tip, I'd come to a similar solution (using
ServletRequestAware), but it feels iffy having to got back to the
ServletRequest object.
Al.
- Original Message -
From: "Andrea Vettori" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Wednesday, January 16, 2008 9:
Hmm, did you ask this question last week? Or did someone else ask almost the
exact same thing?
--- Mufaddal Khumri <[EMAIL PROTECTED]> wrote:
> Since struts2 actions are not shared amongst requests and if these
> actions are Aware of one of the scopes they essentially have a copy
> of that sco
--- Jeromy Evans <[EMAIL PROTECTED]> wrote:
> Did you make any progress with this?
Not particularly. Part of my confusion was syntactical on the Jasper side,
part of it was how our existing data structure was laid out. I created some
lists of "holder" objects and am using the normal collection dat
What happens if you annotate it with @Override?
d.
--- Igor Vlasov <[EMAIL PROTECTED]> wrote:
>
> Hello.
>
> I have installed a netbeans 6 on jdk6u4 and all recent updates for it.
>
> Then i Try to implement an interface in my custom class.
>
> public class Site1AuthAction implements Servl
--- carmi_cd <[EMAIL PROTECTED]> wrote:
> hi i have a form that has a delete button in it to delete the particular
> record..
> i want to put a confirmation message before it execute the deletion.
> how should i do it in Struts 2?
JavaScript; Google is your friend.
http://www.google.com/search?q=
hi all
i just see the rest-showcase. this is amazing approach
but i only see the example class , and no setting about this
anyone can give me the glue about this ?
still lost about how the REST in struts 2.1.11, how does it wor?
--
Frans Thamura
Hi,
vielen Dak für den Hint, ich erlaube mir, direkt
anzuschreiben:
ich nutze noch Struts 1.1 (ein Erbe einer großen
Firma)
Ich scheine mich echt blöd anzustellen:
Nutze ich den JAVA Typ ArrayList für meine Collection
dann funktioniert der Iterator, aber nicht das
indexed=true.
Nutze ich ein O
One of the results to the action stanza should be named "input". The
"input" result is the one that is selected when validation fails.
For an individual action, it looks something like this:
/Login.jsp
A default input result can also be set for an entire package, and then
ch
Another possible solution is to use an OGNL expression as the value for the
"input" result element and use either a form property or a non-form action
property for the value.
You could also set the "inputResultName" on the workflow interceptor [1],
although that might not be as flexible of a solut
I would check out the LazyActionForm for this which was added to Struts
1.2.6 and upwards in classic Struts.
http://www.niallp.pwp.blueyonder.co.uk/lazyactionform.html
Regards,
Randy Burgess
Sr. Web Applications Developer
Nuvox Communications
> From: Oliver Thoms <[EMAIL PROTECTED]>
> Reply-To
code snipet would be helpfull.
Thanks.
> From: [EMAIL PROTECTED]> To: user@struts.apache.org> Subject: Progress Bar>
> Date: Fri, 11 Jan 2008 16:14:00 -0500> > > Working a process which would take
> couple of mins to complete. Would like to use progress bar for this process.>
> > How to use
I am using Struts 2.0.9 and I have the following action:
/HTML/tiles/configuration/Plugins.jspx
name="input">/HTML/tiles/configuration/Plugins.jspx
The action is successfully executed, but the "indicator" does not stop
and it does not g
Hi,
I am wondering in the Validation example quiz-ajax.jsp (which is in the
struts 2.0's tutorial showcase
http://www.planetstruts.org/struts2-showcase/showcase.action), is there
a way to arrange the table into two columns. That means to make field
"name" and "age" on the same row.
Here is
--- "Wei, Mei" <[EMAIL PROTECTED]> wrote:
> [...] is there a way to arrange the table into two columns.
You'll want to explore themes and templates [1].
The nutshell version is that you'll probably want to either (a) use the
"simple" theme on your elements or (b) modify a template.
The default t
Dave Newton wrote:
(Well, I get a "illegal operation inside path" error when I open in Reader 7,
which is, of course, what we're deploying for, but that's a different issue
:(
That's just an issue caused by Jasper Reports 2.0.3 when the way the
borders are rendered was changed. Upgrade to
--- Jeromy Evans <[EMAIL PROTECTED]> wrote:
> That's just an issue caused by Jasper Reports 2.0.3 when the way the
> borders are rendered was changed. Upgrade to 2.0.4 and it goes away again.
Yep, did that this morning. Now I can go back to what 20 years of experience
has prepared me for.
Layin
Try removing the interceptors? If I'm not mistaken, the default stack has
it.
On Jan 17, 2008 2:32 AM, Pablo Vázquez Blázquez <[EMAIL PROTECTED]> wrote:
> I am using Struts 2.0.9 and I have the following action:
>
>class="AddPluginAction">
>
>
>
I am doing some research ajax+struts2. you know struts2.0 has the built-in
supprot for ajax based on Dojo, but I found the components is not very rich,
only have some basic function. I know there are a lot of ajax components for
JSF. So what did you do for struts2, develop your costom widgets or u
ExtJS and jQuery.
On Jan 16, 2008 5:56 PM, tzhang <[EMAIL PROTECTED]> wrote:
>
> I am doing some research ajax+struts2. you know struts2.0 has the built-in
> supprot for ajax based on Dojo, but I found the components is not very
> rich,
> only have some basic function. I know there are a lot of a
You can use any client-side library you choose with Struts2. There's no
reason why you should encounter incompatibilities provided the library
can handle html, xml or json responses from your actions.
I used Dojo 0.4 a lot but have completely moved over to YUI now. My
main frustration with D
I'm a fan of YUI myself.
A good way to go with Struts/Ajax integration is to make an ordinary
request to an action, and then return a JSON response. This provides
the benefits of JSON, but avoid some of the overhead of a JSON/RPC
call.
I actually did a presentation at the Boston Ajax Experience o
I am using Struts2.0.8. By default tags like , etc.. giving the value with commas (Ex: 2456 is
displaying as 2,456). I don't want comma to be displayed. One way is to
specify the format in .properties file and set the format such a way that
comma doesn't appear. But I want to disable this behavi
If I write:
@Override
public void setServletRequest(HttpServletRequest request) {
this.req = request;
}
then I got "method does not override or implement a method from a supertype"
newton.dave wrote:
>
> What happens if you annotate it with @Override?
>
> d.
>
> --- Igor Vlasov <[
This is not because an empty method:-/.
I try to write there but do not get any response. :-((
Al Sutton-4 wrote:
>
> Might be an idea to ask the Netbeans list, sounds like they've got some
> optimization problems with empty methods being eliminated.
>
> - Original Message -
>
Have you try
1) close netbeans
2) delete the cache folder under /.netbeans/6.0/var/ ?
3) open netbeans again.
HTH
On Jan 17, 2008 3:26 PM, Igor Vlasov <[EMAIL PROTECTED]> wrote:
>
> This is not because an empty method:-/.
>
> I try to write there but do not get any response. :-((
>
>
>
> Al
As far as I understand, at least most of the tags are implemented in Velocity
(in not all).
Some developers keep on complaining they can't get the Ajax controls if not
using JSP.
Are the Struts2 dojo tags supported in Velocity? What's the status here?
Our whole Struts1 application has been devel
37 matches
Mail list logo