Hi All,
just as a side note,
300 users is a very small quantity of users.
So i would recomend to check if there is a performance problem at all.
Best greetings,
Paweł Wielgus.
2009/6/9 Jim Collings :
> Can't put em in your database as BLOB's with all the other user info?
>
> On Tue, Jun 9, 2009
Yes, please put it in on the Wiki or Tracker.
At the moment the plugin supports multiple targets
for anchor and submit. You can see it at the wiki.
Best Regards
Johannes Geppert
http://www.jgeppert.com
Miguel-55 wrote:
>
> I have a little js script that allows multiple targets (using jquery
>
Yeah windoze still honors extension, but they have added the ability
to make multiple associations. However, if memory serves, IE honors
content-type. So if set it to application/msword or whatever it should
try to launch a word doc viewer. I noticed an example of "the wrong
way" recently while dow
Hi all,
I decided to externally paginate the display tag, by implementing the
org.displaytag.pagination.PaginatedList interface in my struts action.
As I already had all the fields the interface defined (but with
different names), it's only adding some extra getters.
The weirdness comes here:
The P
Jim Kiley wrote:
That surprises me, since I had always assumed that Windows based the
application of choice on the file extension. I wonder what other guidance
is being used. Content-type?
AFAIK it's extension in both XP and Vista. Can't check the XP machine
now, but my Vista machine configu
On Tue, Jun 9, 2009 at 6:25 PM, Dave Newton wrote:
> Jim Kiley wrote:
>
>> Just for fun I just tried it -- made a trivial HTML file, named it
>> "foo.doc," and double-clicked, and it did open in Word. Properly
>> formatted
>> and so on too. Word is happy to open HTML files. It loves you and it
Yup, didn't work either, but I found the workaround, thanks.
(*Chris*)
On Tue, Jun 9, 2009 at 3:56 PM, Musachy Barroso wrote:
> did you try "${session.formToken}" (case sensitive)
>
> On Tue, Jun 9, 2009 at 2:08 PM, Chris Pratt
> wrote:
> > ${Session.formToken}
>
>
>
> --
> "Hey you! Would you
did you try "${session.formToken}" (case sensitive)
On Tue, Jun 9, 2009 at 2:08 PM, Chris Pratt wrote:
> ${Session.formToken}
--
"Hey you! Would you help me to carry the stone?" Pink Floyd
-
To unsubscribe, e-mail: user-unsub
Jim Kiley wrote:
Just for fun I just tried it -- made a trivial HTML file, named it
"foo.doc," and double-clicked, and it did open in Word. Properly formatted
and so on too. Word is happy to open HTML files. It loves you and it wants
you to be happy.
On *your* machine, perhaps. On all my Win
On Tue, Jun 9, 2009 at 4:31 PM, Dave Newton wrote:
> Jim Collings wrote:
>
>> It's a report and the requirement I'm trying to satisfy is that you
>> have to be able to save it as a MS Word *.doc file. What I've
>> discovered is that you can take a stand-alone html file (i.e. no
>> external files
in your ftl try
This page has no title
the secret password is: <@s.property value="#session.fubar"/>
?
Martin Gainty
__
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
Diese Nachricht ist vertraulich. Sollten Sie
Awesome!
You just improved my understanding of how the theme works. I appreciate
the input from you and Dave.
Best Regards,
MG
-Original Message-
From: Wes Wannemacher [mailto:w...@wantii.com]
Sent: Tuesday, June 09, 2009 3:59 PM
To: Struts Users Mailing List
Subject: Re: How can I i
As usually happens after three hours of searching the web, finally breaking
down and asking the question, I ran across the answer and was able to find a
solution. So for anyone else out there that runs into this problem, this
won't work:
but this will:
Thanks.
(*Chris*)
On Tue, Jun
I need to access a session variable from one of the FreeMarker Theme
templates, and I can't seem to find the proper syntax. One site said to use
${Session.formToken}, but that seems to give me a lovely red on yellow error
box across my display. I've also tried ${#session.formToken} thinking OGNL
On Tue, Jun 9, 2009 at 4:51 PM, Griffith, Michael
* wrote:
> Thanks Dave! That was too easy. Here I thought I would have to edit the
> template. I'm always over thinking S2.
>
> How can I make my submit buttons show up next to each other, rather than
> on separate rows (using xhtml template)
>
> o
I have a little js script that allows multiple targets (using jquery
selectors), using a comma separated list.
Should I mail it or put in on the wiki?
Also, I think better control is acchieved using selectors, than plain
targets. what do you think?
Si quieres ser más positivo, pierde un electrón
Thanks Dave! That was too easy. Here I thought I would have to edit the
template. I'm always over thinking S2.
How can I make my submit buttons show up next to each other, rather than
on separate rows (using xhtml template)
Cheers!
mg
-Original Message-
From: Dave Newton [mailto:new
You can easily use Themes created with jQuery Themeroller.
Take a look in the Wiki about Custume Themes
http://code.google.com/p/struts2-jquery/wiki/HeadTag
BTW: I also have handcoding befor but a taglib can speed up
the development and reduce the javaScript Code in my jsp.
mgainty wrote:
>
Griffith, Michael * wrote:
Create a ...
Do this in my form, or change the template?
On your page.
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
Griffith, Michael * wrote:
It would be a nice feature to have as a struts tag to allow other tags
or HTML into the form without mucking about with the template.
Something like:
class="displaytag"
name="search-results"
requestURI="summary.action">
title="Short Name"
Jim Collings wrote:
It's a report and the requirement I'm trying to satisfy is that you
have to be able to save it as a MS Word *.doc file. What I've
discovered is that you can take a stand-alone html file (i.e. no
external files like images or CSS etc. ) change the file extension
from *.html to
Dave,
Thanks for the reply.
>> Create a ...
Do this in my form, or change the template?
MG
-Original Message-
From: Dave Newton [mailto:newton.d...@yahoo.com]
Sent: Tuesday, June 09, 2009 3:27 PM
To: Struts Users Mailing List
Subject: Re: How can I insert a table into a struts form?
Can't put em in your database as BLOB's with all the other user info?
On Tue, Jun 9, 2009 at 4:26 PM, Dave Newton wrote:
> fireapple wrote:
>>
>> If I want to persist images to the hard drive of server. Shall I persist
>> the
>> data inside WAR or outside? Because user can change their portrait, d
Griffith, Michael * wrote:
I'm wondering is there a way I can insert a displayTag table into my
struts form? I want the table to appear under form edit controls, but
before the buttons, like a master detail type of view. I'd like to know
if there is a way to do this without making changes to the
fireapple wrote:
If I want to persist images to the hard drive of server. Shall I persist the
data inside WAR or outside? Because user can change their portrait, does it
mean it must be persisted outside WAR?
You can't write stuff into your WAR.
Dave
--
It would be a nice feature to have as a struts tag to allow other tags
or HTML into the form without mucking about with the template.
Something like:
-Original Message-
From: Wes Wannemacher [mailto:w...@wantii.com]
Sent: Tuesday, June 09, 2009 2
It's a report and the requirement I'm trying to satisfy is that you
have to be able to save it as a MS Word *.doc file. What I've
discovered is that you can take a stand-alone html file (i.e. no
external files like images or CSS etc. ) change the file extension
from *.html to *.doc and double click
I don't think there is a really great way to do it. If you really want
to get a solid handle on it, look through
template/xhtml/controlheader*.ftl and
template/xhtml/controlfooter*.ftl do. To summarize it, they create a
two-column row in the table :)
I think you can pretty easily add your element
Sorry, yes -- Struts 2 (2.1.6).
-Original Message-
From: Wes Wannemacher [mailto:w...@wantii.com]
Sent: Tuesday, June 09, 2009 2:21 PM
To: Struts Users Mailing List
Subject: Re: Can I insert a table into a struts form without changing
the template?
Michael, which version of struts? (ass
Michael, which version of struts? (assuming Struts 2 since you mention
templates, but want to be sure)
-Wes
On Tue, Jun 9, 2009 at 3:17 PM, Griffith, Michael
* wrote:
> Hello everyone,
>
> I'm wondering is there a way I can insert a displayTag table into my
> struts form? I want the table to appe
Hello everyone,
I'm wondering is there a way I can insert a displayTag table into my
struts form? I want the table to appear under form edit controls, but
before the buttons, like a master detail type of view. I'd like to know
if there is a way to do this without making changes to the default
te
Hello everyone,
I'm wondering is there a way I can insert a displayTag table into my
struts form? I want the table to appear under form edit controls, but
before the buttons, like a master detail type of view. I'd like to know
if there is a way to do this without making changes to the default
te
Richard Sayre wrote:
>
> You should persist the images as bytes, in a binary field or something
> similar.
>
>> 1. Because the image is large, it's not efficient to store it in
>> objects(beans).
>
> Well this depends on the Bean. Is the bean stored in session? If yes
> then it will take up
You need to set hte requestURI attribute
see
http://displaytag.sourceforge.net/1.2/displaytag/tagreference.html#display-el:table
On Mon, Jun 8, 2009 at 12:11 PM, Bhaarat Sharma wrote:
> Hi guys,
> I'm starting displaytag for the first time.
>
> I have a simple Struts2 action that is returning a
You should persist the images as bytes, in a binary field or something similar.
> 1. Because the image is large, it's not efficient to store it in
> objects(beans).
Well this depends on the Bean. Is the bean stored in session? If yes
then it will take up some memory. If you dont have alot of m
I opted to go with application/json because of this -
http://www.ietf.org/rfc/rfc4627.txt
it is accepted by the IANA.
Anyhow, that serialization, and deserialization in the unit test is
only there until the JSON result type gets officially brought into
core.
-Wes
On Tue, Jun 9, 2009 at 12:09 P
ruby folks seem to favour a content-type of "text/x-json" over
"application/json"
http://www.ruby-forum.com/topic/94728
(prevailing argument with text is you can read it)
wikipedia seems to lean to automatically associating application/json as JSON
http://en.wikipedia.org/wiki/JSON#Data_types.2C
Firstly, I persist the portraits (images) of all users in the db as Strings
(large one, say length 5000). Then, I want to get the String and display the
portraits of users on the web page(like a topic in a forum). Here I know
three solutions but none of them is efficient:
1. Because the image is
Okay, since it came up recently, I created a plugin with slightly
better multipart request handling capabilities.
I had to make a few small changes to struts2-core, so if you want to
test out the fileupload plugin, you'll have to either grab struts2
from svn and build it yourself, or download the
Hi Folks,
In Struts 2.1.6, if we have a ,
for example,
generateReport
/genReport
pie
Refer to:
http://struts.apache.org/2.1.6/struts2-core/apidocs/org/apache/struts2/dispatcher/ServletActionRedirectResult.html
We will get errors in the log as:
ERROR (Co
anything different with ThemeRoller?
BTW: nothing wrong with handcoding
its what us old-timers had to do before IDEs
Muchas Gracias/Vielen Danke
Martin Gainty
__
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
Diese Nachric
thats fine. in many cases it has the same syntax like the sx tags.
e.g.
Link
looks with the jquery plugin
Link
The sx:a and sx:div tags has an Attribute to highlight the Target after
result is finished.
With the jQuery Plugin you can choose the effect you like, that was bundled
with jQuery UI
Hi Abdul,
the error log You have shown states that the setPriceMrpPerPiece
method is causing a problem,
so look again in Your app, add some debuging. Converting from/to Long
should work out of the box.
Best greetings,
Paweł Wielgus.
2009/6/8 Abdul Qayyum :
> Hi,
> I am doing a simple CURD using
43 matches
Mail list logo