optionsCollection and messages

2006-10-19 Thread Konrad Billewicz
Hello, How to use html:optionsCollection together with struts messages (from .properties file)? When I'm setting label value for optionsCollection, I'm setting the property which will be printed. Is it possible to set property which will be _key_ of message which will be printed? Something lik

SELECT ... FOR UPDATE

2006-08-25 Thread Konrad Billewicz
solve this problem? Best regards, Konrad Billewicz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

loadMessages?

2006-08-09 Thread Konrad Billewicz
Hello, I would like to get ActionMessages saved in the request. It is something opposite to saveMessages. How should I do it? Best regards, Konrad Billewicz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Struts Menu & Websphere

2006-06-15 Thread Konrad Billewicz
a:223) at org.apache.jsp._index._jspService(_index.java:110) (...) Is this problem known? How to handle it? Can Struts Menu be used with Websphere AS? Best regards, Konrad Billewicz - To unsubscribe, e-mail: [EMAIL PROT

Is Scaffold project dead?

2005-12-28 Thread Konrad Billewicz
Hello, I have read Struts in Action and wished to use some of presented there Scaffold classes. But, project seems to be dead, there is not even release of the toolkit. Am I right? Are there any other solutions like this? Best regards, Konrad Billewicz

Re: Right way to handle compilcated form

2005-12-27 Thread Konrad Billewicz
and the JSP: ... Best regards, Konrad Billewicz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Right way to handle compilcated form

2005-12-27 Thread Konrad Billewicz
such cases? I look thought Struts manual, Struts in Action and the Web but found nothing interesting. Best regards, Konrad Billewicz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Best way to store config variables

2005-08-18 Thread Konrad Billewicz
nfiguration using Spring? Best regards, Konrad Billewicz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Best way to store config variables

2005-08-17 Thread Konrad Billewicz
s). Thank you for advice and argumentation. During installation I will do as you wrote - export appliction as war file and change configuration options only using context. Best regards, Konrad Billewicz - To unsubscrib

Best way to store config variables

2005-08-17 Thread Konrad Billewicz
What do you think about it? Best regards, Konrad Billewicz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Struts and Hibernate lazy

2005-08-10 Thread Konrad Billewicz
Gareth Evans msoft.co.uk> writes: > http://www.javalobby.org/java/forums/t20533.html While ago other kind person gave mi a link to the Hibernate web site and I solved my problem. I'll read this article later. Thank you for it. Best regards, Konra

Re: [OT]: Struts and Hibernate lazy

2005-08-10 Thread Konrad Billewicz
> An example of this technique is on the Hibernate site > (http://www.hibernate.org/43.html) This is exactly what I need. Thank you very kindly. Best regards, Konrad Billewicz - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Struts and Hibernate lazy

2005-08-10 Thread Konrad Billewicz
help with this pattern. Could you tell me more? Which filter? Do you mean Tomcat filters? Which plugin? Your answer is very interesting but you gave me only a few clues. Best regards, Konrad Billewicz - To unsubscribe, e-mail: [

Struts and Hibernate lazy

2005-08-09 Thread Konrad Billewicz
the end of each JSP... but it is a very dirty method. :-( As far as I know, there is no method to run any code "at the end" of Struts execution. If you have any ideas or solutions I would be very gratefull. Best regar

[Request] Struts documentation update

2005-08-04 Thread Konrad Billewicz
ts developers who will face it in the future. So far you were helping me and it is time to start paying back. ;-) Best regards, Konrad Billewicz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: HTML labels and Struts

2005-08-03 Thread Konrad Billewicz
GET send method. Variable from the addAction form was replacing the current action and real nasty things where taking place. >From that on, I started naming my action variable "_action". So... beware. ;-) Best regards, Konrad Billewicz --

Re: MessageResources file encoding

2005-08-03 Thread Konrad Billewicz
regards, Konrad Billewicz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

MessageResources file encoding

2005-08-03 Thread Konrad Billewicz
for this tag. I, of course, can convert file to UTF but, as usually, I wish to do what I want not what I can. ;-) Best regards, Konrad Billewicz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: HTML labels and Struts

2005-08-03 Thread Konrad Billewicz
location.hash = "<%=request.getAttribute("hash")%>"; > <% } %> > } > > > It works very nice. I have only changed getAttribute() to getParameter() in order to use redirects. Thank you very kindly. Best regards, Konrad Billewicz -

HTML labels and Struts

2005-08-01 Thread Konrad Billewicz
Hello, I would like to make a redirect (code 302) and include in the URL a HTML label name - something like "someAction.do#someLabel". Unfortunately I'm getting an error saying that action "someAction.do#someLabel" is unknown. How would you handle this problem? Best

Re: String concatenation

2005-07-29 Thread Konrad Billewicz
hnology. But I'll look at it closely. Thank you for advice. Best regards, Konrad Billewicz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: String concatenation

2005-07-28 Thread Konrad Billewicz
y, this action (createDictionaryEntity) can be accessed both from form and from link (using ). I wish to have one, clear method of passing parameters to it. Of course, I can at first check the request and secondly the form (or inversely) but it is not, in my opinion, elegant solutio

Filtering bean properties

2005-07-28 Thread Konrad Billewicz
page (showing all colums) is similar to this: Agreement type Agreement symbol In my opinion reports are quite common, so it should be a quite common problem. How would you handle it? Best regards, Konrad Bill

Re: String concatenation

2005-07-28 Thread Konrad Billewicz
> do you need to put dictionaryId to querystring? > i come up with > > "> > as an alternative It is a good idea. But... shouldn't I avoid using non-Struts HTML form tags in Struts-driven applications? I am quite new in Struts and I don't want to get bad

Re: String concatenation

2005-07-28 Thread Konrad Billewicz
ought that using <% and %> in Struts-driven applications is rather bad idea for common things. Such form action with parameter is probably common thing... Was I right? Best regards, Konrad Billewicz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

String concatenation

2005-07-28 Thread Konrad Billewicz
g action = "createDictionaryEntity.do?dictionary=" + (Integer) dictionaryId; %> Probably it's quite easy and straightforward but I have been searching and haven't found an answer. Best regards, Konrad Billewicz -