Hi all,
Is there any way in struts to download the page (view part) in Excel format.
Thanks & Regards,
SenthilRajan VS
On 7/12/05, Rivka Shisman <[EMAIL PROTECTED]> wrote:
> Hi Craig
>
> I understand that you did not follow this thread from the beginning.
> As I mentioned before - when working with int, short, byte types - my
> app works fine. I don't get any runtime exception!
>
If you are not getting an except
Frank,
I found a solution for it.
Thanks,
"Frank W. Zammetti" <[EMAIL PROTECTED]> wrote:
I had to do this for an application. While the code is fairly lengthy,
longer than I'd like to post here, if you come up against specific
problems feel free to ping me.
Although I didn't look at the a
On 7/11/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
>
> Very few had the idea of passing ActionForm as VO to persistence
> layer. This is some kind of backwards MVC. Contrary, the idea was to
> use BOs in ActionForm with session scope, thus making it a stateful
> interactive business object.
Nitish Kumar wrote:
"This is a HUGE problem with BeanUtils and why I end up having to
register custom converters:("
good point, but where do I register my custom converters? I dont want to do
it in my action classes, and writing a plugin just to register my converters
would be a big overhead.
Hi Craig
I understand that you did not follow this thread from the beginning.
As I mentioned before - when working with int, short, byte types - my
app works fine. I don't get any runtime exception!
Is it crucial for the Action Form to have String properties?
Rivka
-Original Message-
Fr
On 7/11/05, Borislav Sabev <[EMAIL PROTECTED]> wrote:
> Rick Reumann wrote:
>
> >
> > You shouldn't want a "default" at all provided by BeanUtils for cases
> > where it can be null! You are using the anomoly of the way Integer is
> > working and wanting to propogate that poor solution. null should
On 7/11/05, Craig McClanahan <[EMAIL PROTECTED]> wrote:
> I think of the state information represented by an ActionForm (in
> Struts 1.x) or potentially as properties of an "action" class (per the
> current discussion) to be part of the *view* tier. Further, I see the
> role of the execute method
Rick Reumann wrote:
You shouldn't want a "default" at all provided by BeanUtils for cases
where it can be null! You are using the anomoly of the way Integer is
working and wanting to propogate that poor solution. null should be
null.. it shouldn't be 0 or some default Date if null is provide
On 7/11/05, Rivka Shisman <[EMAIL PROTECTED]> wrote:
> Hi guys,
>
> Borislav - thank you for the time you spent debugging this issue :-)
>
> So now I wonder - is it o.k. to use typed properties in my Action Forms?
> Or is there an important reason why I should Strings only?
>
To answer this que
On 7/11/05, Nitish Kumar <[EMAIL PROTECTED]> wrote:
>
> "This is a HUGE problem with BeanUtils and why I end up having to
> register custom converters:("
>
> good point, but where do I register my custom converters? I dont want to do
> it in my action classes, and writing a plugin just to registe
On 7/11/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
> Craig McClanahan wrote:
> > There are reasons to have an "application scoped" front controller.
> > There are reasons to have a "view-scoped" front controller. There is
> > *no* reason I am aware of that requires these controllers to be th
Hi guys,
Borislav - thank you for the time you spent debugging this issue :-)
So now I wonder - is it o.k. to use typed properties in my Action Forms?
Or is there an important reason why I should Strings only?
I don't add my Action Form properties to the Struts config file. Is it
o.k. - or am I
"This is a HUGE problem with BeanUtils and why I end up having to
register custom converters:("
good point, but where do I register my custom converters? I dont want to do
it in my action classes, and writing a plugin just to register my converters
would be a big overhead.
Why cant we have decl
Craig McClanahan wrote:
There are reasons to have an "application scoped" front controller.
There are reasons to have a "view-scoped" front controller. There is
*no* reason I am aware of that requires these controllers to be the
same :-).
Good point. In fact, I don't think it would take much
On 7/11/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
> Craig McClanahan wrote:
> > I think of the state information represented by an ActionForm (in
> > Struts 1.x) or potentially as properties of an "action" class (per the
> > current discussion) to be part of the *view* tier. Further, I see
Craig McClanahan wrote:
I think of the state information represented by an ActionForm (in
Struts 1.x) or potentially as properties of an "action" class (per the
current discussion) to be part of the *view* tier. Further, I see the
role of the execute method on an action as being an Adapter Patte
On 7/11/05, Laurie Harper <[EMAIL PROTECTED]> wrote:
>
> Most of my validation is handled by the Validator framework right now
> which, admitedly, ties things to Struts to some extent (though there's no
> reason I couldn't pull Validator 'down' a level and use it under some other
> presentation te
On 7/11/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
[snip]
> By combining Actions and ActionForms, you are breaking the separation.
> There *IS* clearly benefit to doing so... cutting down class count is
> something I'm always in favor of, so long as line count doesn't increase
> as a resul
No, I don't have this problem for the moment! But, I might come across it as
the project progresses. Is there anything changing then?
In any case, thanks a lot for your help.
On 7/11/05, Durham David R Jr Ctr 805 CSPTS/SCE <
[EMAIL PROTECTED]> wrote:
>
> > I suspect my error is that instead of
Thanks, I got it!...
I needed to save the errors :)
Rick Thanks for ur advice about using another class to manage JDBC... I'll
review that... Do u know any samples about how to do that?..
Thanks again
--
Rafael Taboada
Software Engineer
Cell : +511-97753290
"No creo en el destino pues no me
On 7/11/05, Rafael Taboada <[EMAIL PROTECTED]> wrote:
> Hi. When I turned off validation yn mi struts-config.xml, validation isn't
> called. And when I turned off validation and call validate manually inside a
> method of my ActionClass, validation isn't called.
> I calle validate method in:
> pu
Rafael Taboada wrote the following on 7/11/2005 5:55 PM:
Hi. When I turned off validation yn mi struts-config.xml, validation isn't
called. And when I turned off validation and call validate manually inside a
method of my ActionClass, validation isn't called.
I calle validate method in:
publi
Michael Jouravlev wrote:
On 7/7/05, Laurie Harper <[EMAIL PROTECTED]> wrote:
Is not it easier to have one nested VO/BO with string properties, than
to copy properties back and forth from action form to VO? I use web
framework only to expose my real objects to the outer world.
If you don't
Schaub, Stephen wrote:
What I'm wanting is an explanation of why I should keep the ActionForm class
_separate_ from the Action class. It seems to me that this unnecessarily
complicates the application design.
When a Struts-based app is "properly" architected, the Actions are
nothing more tha
Hi. When I turned off validation yn mi struts-config.xml, validation isn't
called. And when I turned off validation and call validate manually inside a
method of my ActionClass, validation isn't called.
I calle validate method in:
public ActionForward buscarColor(ActionMapping mapping, ActionFo
Rafael Taboada wrote the following on 7/11/2005 5:34 PM:
Michael, it didn't work..
What didn't work? You still got validation when it was set to false?
(Also just a side note, it's good practice to move all the JDBC
Connection stuff to another class other than your Action. You might be
inten
Or a duck?
-Original Message-
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: 11 July 2005 21:34
To: Struts Users Mailing List
Subject: Re: [OT] Re: Unacceptable Behaviour of Mark Galbreath
Dakota Jack wrote:
>You know what a "canard" is Newton?
>
>
Front control surface on an airpl
I don't see how enabling BO/VO to read stringified data makes them
dependant on Struts packages.
On 7/8/05, Bill Schneider <[EMAIL PROTECTED]> wrote:
> Well put. To expand on #2, it's good to confine dependencies on the
> org.apache.struts packages to the presentation layer, and not build a
> Str
Yeah, that's a fair point, it is a bit more documenting than it probably
could be... then again, all modern IDEs will do it for you, right? And
I even have my UltraEdit macros to do it. Still, fair point.
Having not looked into it very much, does annotations in 1.5 help at all
in this regard
Michael, it didn't work..
My ActionMapping is:
My ActionForm is:
public class ColorForm extends ValidatorForm {
private String strFiltroDescripcion;
private List lstResultado;
private String idColor;
private String strDescripcion;
private String[] chkColores;
... // Each attribute has its get
On 7/11/05, Schaub, Stephen <[EMAIL PROTECTED]> wrote:
> Michael Jouravlev wrote:
> > On the other hand, Stephen, why do you want to have one class per
> > page?
>
> Because I don't want to have to have two classes per page. :)
you got me :) I wanted to ask, why would you want to have one *set of
>From this link, what I understood is that the only real solution is to
>manually call the validate method and push the errors in and out of the
>session. There is no way to automate it, correct?
Thanks,
Abdullah
-Original Message-
From: Michael Jouravlev [mailto:[EMAIL PROTECTED]
Sent:
String value1= request.getParameter("value1").replace('\'','`');
Just replace the quotation mark for a backtick. Users will not usually
notice the change :)
--- "Walter, Matt" <[EMAIL PROTECTED]> escribió:
> I was wondering if there was a tried and true method to handle form
> input that ha
> I suspect my error is that instead of sending the request directly to
> the *Action and then forward - in case of success - to a page
> definition, I tried to send the request to a page definition
> (containing the *Action) and from the *Action forwarding to a
> tile definition.
>
> Do you a
> W/ a Map:
> - you don't have VO/DTO classes, but still have layer, 0 code, 0 bugs
> - It's dynamic, when DAO SQL string changes... so does your
> jxTable/Displaytag.
>
> I removed an entire layer and still have the layer.
>
> Developers are so pasionate... that's what makes them good.
I'm with
I usually map multiple actions to the same form. Some have validate = true (for
example, doAdd), some have validate = false (for example, viewAdd). Slightly
different URL distinguishes them.
Does that help?
Erik
-Original Message-
From: Rafael Taboada <[EMAIL PROTECTED]>
Sent: Jul 11,
Michael Jouravlev wrote:
>
> First of all, to get it over with, Struts Dialogs has plans to combine
> Action and ActionForm but it is not there yet :)
>
> Second, the concept of Struts Dialogs is different. Stephen wants to
> have one class -> one page relation. JSF or ASP.NET is the way to go
>
Rafael, turn validation off and call form.validate() manually from
your event handler method.
Michael.
On 7/11/05, Rafael Taboada <[EMAIL PROTECTED]> wrote:
> Hi folks, I'm doing my validation for my form fields...
> I use validation framework, so I don't use validate method in my form bean.
>
Hi folks, I'm doing my validation for my form fields...
I use validation framework, so I don't use validate method in my form bean.
The problem I have is the validate is called when I use for first time the
module. I mean, when I see for frst ime the HTML form, validation is
called... Why???
W
To be short:
>From a tile1.jsp similar to the following:
control is passed to the page defined as:
SubmitOffer is mapped to the SubmitOfferAction that does the handling of the
request.
When I do that, the form is always reset before it arrives to the Action. If
instead of setting the ac
Oke
Did you read the "How to configure realm" how to doc and follow the
instructions ?
Take a look at
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/realm-howto.html
Also
Its been my experience 8.3 folder are identified coorectly where as NTFS
file names sometimes identified correctly
e.g.
I was wondering if there was a tried and true method to handle form
input that had been pasted from Microsoft Word which might contain
"fancy" quotation marks (U+201C & U+201D aka left and right double
quotation marks... see
http://www.fileformat.info/info/unicode/char/201c/index.htm). Currently,
i
Dakota Jack wrote:
You know what a "canard" is Newton?
Front control surface on an airplane?
Really, these questions are too easy.
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
There is no such tag, however, in your action do:
request.setAttribute("myformbean", form)
and your jsp below will work...
Abdullah
-Original Message-
From: Schaub, Stephen [mailto:[EMAIL PROTECTED]
Sent: Monday, July 11, 2005 3:08 PM
To: Struts Users Mailing List (E-mail)
Subject: Disp
On 7/11/05, Rick Reumann <[EMAIL PROTECTED]> wrote:
> Michael, don't worry we like your stuff:) You don't have to create posts
> from fake email addresses and names like Abdullah Jibaly and Stephen Schaub.
Rick, I hope you are kidding (is it Friday already?), because these
posts are real. At least
Rick Reumann wrote:
Call me stupid but I don't
even know what p-langs are (languages I can urinate on?:)
lol.
PHP (Friendster tried J2EE, went to PHP). Part of LAMP stack, conisdered
most effective. Try Tiki-Wiki or Drupal when you get a project, you are
80% done.
Python (used by Google
On 7/11/05, Rick Reumann <[EMAIL PROTECTED]> wrote:
> Ok, yes they'd have to extend that in order to utilize your processing
> in the ActionForm functionality. Bottom line is I think all you've done
> is move where you do the processing... you moved it from the Actions to
> the ActionForms. If you
netsql wrote the following on 7/11/2005 4:20 PM:
Realy Rick, please try Groovy... it's the answer that's looking for you.
I am sure you have read some of the Rails press.
Actually, Groovy is one of the things I do want to take a look at.
Hopefully one of these days I'll get to it:)
--
Rick
Michael Jouravlev wrote the following on 7/11/2005 4:11 PM:
On 7/11/05, Abdullah Jibaly <[EMAIL PROTECTED]> wrote:
Hi all,
I have two action: Display.do and Process.do.
Display.do forwards to a jsp page. Upon submit, Process.do is invoked. The
action mapping for Process.do specifies Display.
Rick Reumann wrote:
They have to look at a database model in order to figure
out how to get back a dateOfBirth field?
Yup. Each develolper has a 24" poster of the data model. DBA is in
charge, Model Driven. Just like client server days.
Now
they want to iterate over this list and display
Schaub, Stephen wrote the following on 7/11/2005 3:56 PM:
Yes -- it is supposed to be abstract -- each ActionForm subclass must
define an execute() method to perform the processing for that form.
(Right but in your example you were showing LoginAction as the
implementing class and you still k
On 7/11/05, Rick Reumann <[EMAIL PROTECTED]> wrote:
> Schaub, Stephen wrote the following on 7/11/2005 2:07 PM:
>
> > With this approach, most JSP pages could have a single Java class --
> > a SimpleActionForm subclass that handles both validation and
> > processing for the page:
>
> Michael, is
Mariano-
Can you show us the StackTrace from display or your logs???
Buena Suerte,
Martin-
- Original Message -
From: "Zarar Siddiqi" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Monday, July 11, 2005 2:32 PM
Subject: Re: I can't initialize de Serlvet Action :(
The troub
On 7/11/05, Abdullah Jibaly <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I have two action: Display.do and Process.do.
>
> Display.do forwards to a jsp page. Upon submit, Process.do is invoked. The
> action mapping for Process.do specifies Display.do as the input, however,
> when form validation fo
Zarar Siddiqi wrote:
> I think the ideal that you're searching for is "one class per
> view". Take a look at JSF.
That's correct. And I'm familiar with JSF -- but it's way too complicated for
my needs. Plus Struts is dictated for this project...
Stephen
--
For that specific capability I would contact Vignette directly at
[EMAIL PROTECTED]
Good Luck,
- Original Message -
From: "Rick Reumann" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Monday, July 11, 2005 3:14 PM
Subject: Re: Vignette V6 Struts-based web application
Kar
I think the ideal that you're searching for is "one class per view". Take a
look at JSF.
- Original Message -
From: "Schaub, Stephen" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Monday, July 11, 2005 3:56 PM
Subject: RE: Putting execute() in ActionForm
Rick Reumann
Newbie question:
Struts lets me bind ActionForm properties to HTML form components like this:
Enter customer name:
...
I don't have to name the form bean, because Struts will look it up in the
struts-config file for me.
I'm trying to get Struts to output the contents of an ActionForm
Frank W. Zammetti wrote the following on 7/11/2005 4:00 PM:
Ditto :)
(That's my Patrick Swayze moment for the day)
awhhh shucks, I thought you were a Rush Ditto-head for a moment:)
See I labeled this thread [FRIDAY] - I didn't want the sruts-list users
police showing up
(just messin arou
On 7/11/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
> A bean is self-documenting in that you can immediately tell what its
> attributes are and what types they are. I'm not even talking about
> generating javadoc from the source either, but that's certainly a very
> nice by-product.
If I cou
netsql wrote the following on 7/11/2005 3:36 PM:
Most of the sucessfull p-langs are dynamic. In flash, array and map are
same class even. I envy their sucess. For example, the home page of
Spring is done in Plone.
Vic, I love you man, but coming back with what Flash or some other
XML/kitchen
Rick Reumann wrote:
But also remember it's not just about how nice it is to find out the
types and names of the properties. Using Maps can introduce a lot of
hidden bugs that are difficult to track down (mentioned just a few in
last e-mail)
Ditto :)
(That's my Patrick Swayze moment for the d
Rick Reumann wrote:
> > With this approach, most JSP pages could have a single Java class --
> > a SimpleActionForm subclass that handles both validation and
> > processing for the page:
>
> Well they certainly wouldn't have a 'single' java class, you
> would have
> a LOT of them.
Sorry -- I m
-1 for maps after how strongly typed is an object???
+1 for Value Objects If you follow the axiom from Floyd Marinescu
Design custom value objects that wrap arbitrary sets of data as needed by
the client, completely decoupled from the layout of the domain model on the
serverDesign custom value o
Frank W. Zammetti wrote the following on 7/11/2005 3:48 PM:
A bean is self-documenting in that you can immediately tell what its
attributes are and what types they are. I'm not even talking about
generating javadoc from the source either, but that's certainly a very
nice by-product.
amen:)
netsql wrote the following on 7/11/2005 3:25 PM:
Rick Reumann wrote:
How does a developer working on your
code know how to even get the properties out of your Map? I guess he
has to look at some API contract saying put date of birth in the Map
as "dob" not "dateOfBirth."
As in iBatis, name
It's ironic to me that I had this same discussion with someone at work
just last week :)
I *was* in the "Maps are better" camp until a few months back when I
changed my mind, and it comes down to one thing:
Self-documenting code is better.
A bean is self-documenting in that you can immediate
Help please!
BACKGROUND
==
I want to store the digested version of user's
password in the database. Therefore, I imported
org.apache.catalina.realm.RealmBase so that I can use
the static DIGEST method in the class for the
digestion of the password
i.e.Digest(myBean.getUser_pass()).
I am
Larry Meadors wrote:
Hmm, of course, who needs things like refactoring, and compile time
name and type checking? That's why you have users, eh? They'll find
the bugs eventually. ;-)
Larry
Get/Set, Get/Set Half the time I have no idea what the db date will
come back as.
Look, I think som
Schaub, Stephen wrote the following on 7/11/2005 2:07 PM:
public class SimpleAction extends Action { public ActionForward
execute( ActionMapping mapping, ActionForm form, HttpServletRequest
request, HttpServletResponse response) throws Exception {
SimpleActionForm bean = (SimpleActionForm)form
Hi all,
I have two action: Display.do and Process.do.
Display.do forwards to a jsp page. Upon submit, Process.do is invoked. The
action mapping for Process.do specifies Display.do as the input, however, when
form validation for Process.do fails (validate is set to true), the url still
shows Pr
Rick Reumann wrote:
How does a developer working on your
code know how to even get the properties out of your Map? I guess he has
to look at some API contract saying put date of birth in the Map as
"dob" not "dateOfBirth."
As in iBatis, name of the map property is in my case the field name in
Hmm, of course, who needs things like refactoring, and compile time
name and type checking? That's why you have users, eh? They'll find
the bugs eventually. ;-)
Larry
On 7/11/05, netsql <[EMAIL PROTECTED]> wrote:
> of course... I use Collections (Maps and Lists) as VO/DTO.
> You can wrap them w/
Schaub, Stephen wrote the following on 7/11/2005 2:07 PM:
With this approach, most JSP pages could have a single Java class --
a SimpleActionForm subclass that handles both validation and
processing for the page:
Michael, is this guy a plant from your StrutsDialog camp?:)
--
Rick
---
Kareem Hassan wrote the following on 7/7/2005 5:59 AM:
I am new to Vignette CMS and was wandering that if someone could help me
out how a Struts-based web application can fit into Vignette CM model ?
I'm working on a Strut-based project and am told that I have to let
Vignette JSP controller to h
netsql wrote the following on 7/11/2005 2:15 PM:
I think it vastly simplifies to use Maps in places where I used to use
beans. (I even got rid of baseBeans domain how much I loved maps)
Vic I think you sleep with the Map API under your pillow at night or use
it as a Teddy Bear when you sleep:
On 7/11/05, Joe Germuska <[EMAIL PROTECTED]> wrote:
> When I've had to do something like this in the past, I didn't
> actually change the target, but rather caused the response page to
> use the new target as part of its page loading. That is, the
> response page would have an onload handler which
David Johnson wrote the following on 7/11/2005 2:23 PM:
Joe
Oh this one sounds good. I'm not sure how I'd actually DO that though.. can
you provide more info? All my pages are tiles definitions right now. How
would I cause the response page to use the new target (conditionally)?
what about s
The trouble is that you're not saying much.
- Original Message -
From: "Mariano Petrakovsky" <[EMAIL PROTECTED]>
To: "Lista de correo de Struts"
Sent: Monday, July 11, 2005 2:26 PM
Subject: I can't initialize de Serlvet Action :(
Throw an exception ServletAction can't load...
In
Help please!
BACKGROUND
==
I want to store the digested version of user's
password in the database. Therefore, I imported
org.apache.catalina.realm.RealmBase so that I can use
the static DIGEST method in the class for the
digestion of the password
i.e.Digest(myBean.getUser_pass()).
I am
Throw an exception ServletAction can't load...
In my .jsp say me same (I'm using eclipe)... what should be the troubble?
--
Mariano G. Petrakovsky
Programmer · Software Factory
AXG Tecnonexo - www.tecnonexo.com
Development facilities:Av. Maipú 1252 8º (C1006ACT) · Buenos Aires ·
Argentina.
Tel
Joe
Oh this one sounds good. I'm not sure how I'd actually DO that though.. can
you provide more info? All my pages are tiles definitions right now. How
would I cause the response page to use the new target (conditionally)?
On 7/11/05, Joe Germuska <[EMAIL PROTECTED]> wrote:
>
> When I've ha
Hmm.
I suppose it would be easier to just do the validation in JavaScript... but
I **really** dont want to. It just seems inconsistent.
So there's no way to change what browser the validate() returns to once
I've submitted the form and I'm in the validate() method? Some attribute on
the reques
Hi David,
If I'm understanding your goal correctly, then you won't be able to do
this without some sort of scripting because the form target is a purely
client-side attribute, you won't be able to change it from the
server-side, which is really what you'd want to do.
If scripting is OK with
of course... I use Collections (Maps and Lists) as VO/DTO.
You can wrap them w/ DynaMaps, you can validate a map, you don't have to
maintain deprecated gets/sets, it reduces duplication... your dao
can return a map/collection/list...
I think it vastly simplifies to use Maps in places where
When I've had to do something like this in the past, I didn't
actually change the target, but rather caused the response page to
use the new target as part of its page loading. That is, the
response page would have an onload handler which would load the
necessary content in a new target.
If
Got it.
Forward must be replaced by an action:
Instead of global forward:
-Original Message-
From: Faber, Szczepan [mailto:[EMAIL PROTECTED]
Sent: Monday, July 11, 2005 4:13 PM
To: Struts Users Mailing List
Subject: RE: tiles definition versus global forward issue
Correction:
def.
I'm interested in some feedback on the following:
I prefer to develop web applications using a page-centric model. I like the
simplicity of one JSP <-> one Java class for the view layer (not the model).
Struts, with its separate Action and ActionForm classes, tends toward at least
two Java clas
On 7/11/05, David Johnson <[EMAIL PROTECTED]> wrote:
> Hi all
> I have the following problem:
> I have a button on my form that uses javascript to change to form target
> before submitting because I'm exporting an RTF generated in my action to the
> new browser, as follows
>
> onclick="set('exp
David Johnson wrote the following on 7/11/2005 1:49 PM:
The thing is I want to be able to use the validate() method in my Form
object and return to the ORIGINAL browser if an error is encountered...
Hmmm, not sure about this, this sounds tricky but I bet someone more
knowledgeable knows the
Hi all
I have the following problem:
I have a button on my form that uses javascript to change to form target
before submitting because I'm exporting an RTF generated in my action to the
new browser, as follows
Create Graph (Popup)
function setFormTarget(newTarget){
document.forms[0].targe
Borislav Sabev wrote the following on 7/11/2005 1:37 PM:
In case of the Integer there is pre-load default value and EVEN if
conversion fails during the population phase, it just use is the dafault
value (and you think it's parsed correctly). In the previous example its
a coincidence that Rivka
I had to do this for an application. While the code is fairly lengthy,
longer than I'd like to post here, if you come up against specific
problems feel free to ping me.
Although I didn't look at the article Martin referenced for you, it's a
fairly generic problem, not something that you will
Nitish Kumar wrote:
I think raghavendra is right.
Rivka, your code is working because you are using primitive type int and not
the wrapper type Integer.
In case of primitive type in case of any exception, it gives you a default
value.
Thanks and Regards,
Nitish Kumar
So after small deb
ArgoUML will do it.
On 7/11/05, David Whipple <[EMAIL PROTECTED]> wrote:
> Anyone have any suggestions for an opensource/freeware tool for reverse
> engineering java code to class diagrams?
>
> Thanks,
> Dave
>
>
> -
> To uns
On 7/11/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
> JSF still differentiates "real" object (whatever it might be, a real
> business object or a VO) from visual component data, which I don't
> like. From my point of view, it is much easier to have an object with
> an ID, to view/edit it, or t
Anyone have any suggestions for an opensource/freeware tool for reverse
engineering java code to class diagrams?
Thanks,
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
There's probably something to that, Leon.
Of course, there's nothing new here, except maybe the metaphor. Using
the layers pattern in enteprise applications is well known. I believe
Bushman describes it in POSA. Here's another online treatment:
* http://www.stevenblack.com/PTN-Layers.asp
-Ted.
On 7/7/05, Laurie Harper <[EMAIL PROTECTED]> wrote:
> Personally I prefer to keep form beans and value objects seperate, for two
> key reasons:
>
> 1) form beans generally should consist of String data to facilitate
> round-tripping of invalid inputs. I like to constrain them to a clearly
> define
1 - 100 of 147 matches
Mail list logo