[S2] Problems including dojo

2008-11-13 Thread Jan Froehlich
! Regards Jan Froehlich - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

AW: Tree default expanded ??

2008-10-08 Thread Jan Froehlich
"tree/treeCreate", function treeCreated(node) { alert("Tree Loaded"); }); this is not fired after page is loaded. if possible can you give your tree and div construct also here? On Tue, Oct 7, 2008 at 4:11 PM, Jan Froehlich <[EMAIL PROTECTED]>wrote: > Hi... >

AW: Tree default expanded ??

2008-10-07 Thread Jan Froehlich
Hi... I think I already posted that code snippet to the list, but here again just for you! ;) The code expands all nodes in my tree, and preselects a node. After all is done, it publishes a topic to notify a sx:div to refresh... Possibly not the best solution, but working fine for me! dojo.event

AW: AW: ExecuteAndWait Interceptor

2008-10-02 Thread Jan Froehlich
Thank you very much Dale, I'll take a look at that. Jan -Ursprüngliche Nachricht- Von: Dale Newfield [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 2. Oktober 2008 19:02 An: Struts Users Mailing List Betreff: Re: AW: ExecuteAndWait Interceptor Jan Froehlich wrote: > Ca

AW: ExecuteAndWait Interceptor

2008-10-02 Thread Jan Froehlich
Hi... Can no one give me a hint with that?? All sources (google, books...) say that it is really easy to work with that interceptor... Is there any good tutorial, or a list of things I have to obey? Regards Jan -Ursprüngliche Nachricht- Von: Jan Froehlich [mailto:[EMAIL

AW: how to get the Name of the executed Action

2008-09-29 Thread Jan Froehlich
Hi Alexander, try using the action context. I got this statement in my jsps to display the action name. #context['struts.actionMapping'].Name Hope that helps! Regards Jan -Ursprüngliche Nachricht- Von: Alexander Baetz [mailto:[EMAIL PROTECTED] Gesendet: Montag, 29. September 2008 16

AW: Accessing "id" bean-property (not tag attribute) in freemarker template

2008-09-29 Thread Jan Froehlich
Possibly just one of those reserved keywords!? Might not be very helpful, but just think in that direction... Regards Jan -Ursprüngliche Nachricht- Von: Sven Grünewald [mailto:[EMAIL PROTECTED] Gesendet: Montag, 29. September 2008 16:07 An: Struts Users Mailing List Betreff: Re: Acces

ExecuteAndWait Interceptor

2008-09-29 Thread Jan Froehlich
Hi I tried to add the ExecAndWait Interceptor to one of my actions. For that I added to my action configuration the interceptor-ref for it. input,back,cancel c:\temp\xsl\ page.xml page.xml.error The action is call

AW: Struts 2.1 Tree Problem

2008-09-12 Thread Jan Froehlich
Hi... just try to add this short script to the page that contains your tree... Might possibly be not the most beautiful solution, but works for me! dojo.event.topic.subscribe("tree/treeCreate", function treeCreated(node) { // get all treenodes and iterate through

AW: Re: Implementing ParameterAware but still getting Unexpected Exception caught setting 'name' on 'class....

2008-07-30 Thread Jan Froehlich
a cosmetic fix, but I try to understand more of s2 and how to avoid things like that. I have no functional problems with the exception - everything else works like expected! So thanks for your answer, it just would be fine to get rid of it, its not a show stopper, if it can be called like that!

Implementing ParameterAware but still getting Unexpected Exception caught setting 'name' on 'class....

2008-07-25 Thread Jan Froehlich
made for. But even then I get those "Unexpected Exception caught setting.". Is there a way to tell s2 that it should stop doing it? Well, ok - not the most clever question, but I just want to get rid of those Exceptions! Thanks in advance & a nice weekend! Re

Weired browser behaviour

2008-07-17 Thread Jan Froehlich
in Firefox 2.x - Internet Explorer 7 and Firefox 3 seem to have problems to find the input fields in the sx:div jsp page. I also tried to get the values from the input fields with dojo.byId - but its just the same. Any hints how to send the values of the input fiel

AW: Struts2 configuration problems

2008-07-14 Thread Jan Froehlich
ment of S1 configuration file. 2008/7/14 Jan Froehlich <[EMAIL PROTECTED]>: > Hello List... > > I tried to extend a existing webapp based on a own framework with some > actions using struts2. > After I added all necessary libraries, the struts2 filter and the > struts.xml I have som

Struts2 configuration problems

2008-07-14 Thread Jan Froehlich
exception gave just a few responses, but with no clue how to fix it. Thanks in advance! Jan Froehlich Parse Error at line 2 column 16: Document root element "struts-config", must match DOCTYPE root "null". org.xml.sax.SAXParseException: Document root element "struts-config&

AW: Something like getCurrentAction(...)

2008-06-26 Thread Jan Froehlich
I'm sorry - found it.. Just ignore my last message! That will return an object of this type: http://struts.apache.org/2.0.11.1/struts2-core/apidocs/org/apache/struts 2/dispatcher/mapper/ActionMapping.html musachy On Thu, Jun 26, 2008 at 11:21 AM, Jan Froehlich <[EMAIL PROTECTED

AW: Something like getCurrentAction(...)

2008-06-26 Thread Jan Froehlich
; > On Thu, Jun 26, 2008 at 10:15 AM, Jan Froehlich > <[EMAIL PROTECTED]> wrote: >> Something I forgot to tell >> >> I already tried the way using the but > as >> I use a default action for most of my calls its not a possibility... >> >> >

AW: Something like getCurrentAction(...)

2008-06-26 Thread Jan Froehlich
Can you give me a quick hint, how I can access what I need? Not sure what I should search for Try this: http://struts.apache.org/2.x/docs/how-do-we-access-the-action-invocation -action-name-or-namespace-from-a-view.html On Thu, Jun 26, 2008 at 10:15 AM, Jan Froehlich <[EMAIL PROTEC

AW: Something like getCurrentAction(...)

2008-06-26 Thread Jan Froehlich
Something I forgot to tell I already tried the way using the but as I use a default action for most of my calls its not a possibility... Hi all, As I am not sure if I can explain the whole context of my problem just a short description of what I got and what I want: I got an Action extend

Something like getCurrentAction(...)

2008-06-26 Thread Jan Froehlich
Hi all, As I am not sure if I can explain the whole context of my problem just a short description of what I got and what I want: I got an Action extending ActionSupport where I added a getCurrentAction() method. public String getCurrentAction() { String sRequestURL = getR

Struts 2.1.2 DateTimePicker

2008-06-20 Thread Jan Froehlich
Hi @all... Are there any other themes or styles or stylesheets for the Struts 2.1.2 datetimepicker available? Or do I have to overwrite all css classes to change the appearance? The "dropdown" is very small so its really hard to pick a date. FYI: It looks like that in IE7 and Firefox 2. Regards

AW: Notify topics in struts2.1.2

2008-06-18 Thread Jan Froehlich
Mittwoch, 18. Juni 2008 16:55 An: Struts Users Mailing List Betreff: Re: Notify topics in struts2.1.2 Pushing my memory to the limit: I think it is the DOM object (in this case the anchor), that triggered the topic. You can also pass parameters to topics, check Dojo's documentation. musachy O

AW: Notify topics in struts2.1.2

2008-06-18 Thread Jan Froehlich
the wrote: > Hi Musachy, > > thanks for that hint, I tried both, but if you say that it doesn't matter I > might have another problem - it worked with neither solution. > > Do you think that > > should be enough to trigger that topic update?? > > Thanks in advance

AW: Notify topics in struts2.1.2

2008-06-18 Thread Jan Froehlich
Hi Musachy, thanks for that hint, I tried both, but if you say that it doesn't matter I might have another problem - it worked with neither solution. Do you think that should be enough to trigger that topic update?? Thanks in advance! Regards Jan Froehlich -Ursprüngliche Nach

Notify topics in struts2.1.2

2008-06-18 Thread Jan Froehlich
rrect that this function has also just one parameter??? Any help apreciated! Regards Jan Froehlich - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]