Re: T5: does actionlink work different in Firefox than in IE?

2008-05-25 Thread jg433
Unfortunately this makes no difference.

By the way, in IE I can turn the cards using right-click and choose from the 
menu "open link" (what is not an option of course ;-))
And also the cursor does not change to pointer.

Thanks for your opinion,
Juliane



-Ursprüngliche Nachricht-
Von: "Tapestry users" 
Gesendet: 25.05.08 21:22:30
An: Tapestry users 
Betreff: Re: T5: does actionlink work different in Firefox than in IE?

Hmm. Internet Explorer might not be happy with the relative URIs 
generated by Tapestry.

What happens if you set tapestry.force-absolute-uris to true?

You'll need this in your AppModule:

   public static void 
contributeApplicationDefaults(MappedConfiguration 
configuration) {
 configuration.add("tapestry.force-absolute-uris", "true");
   }

See if that helps.

-Filip

On 2008-05-25 21:08, [EMAIL PROTECTED] wrote:
> Hi Filip,
> 
> if you go to this adress:
> http://www.neotopos.de/memory/
> and click enter you see a row of "cards" (i.e. pictures,  - items).
> The code I posted here is what lays out those rows.
> In Firefox you can click on one card to let it show you its value.
> In IE those images are unclickable, and I do not understand why ...
> 
> Thank you for helping,
> Juliane
> 
> 
> 
> -Ursprüngliche Nachricht-
> Von: "Tapestry users" 
> Gesendet: 25.05.08 13:23:04
> An: Tapestry users 
> Betreff: Re: T5: does actionlink work different in Firefox than in IE?
> 
> Hi,
> 
> What does the generated markup look like? Something's definitely not 
> right here, must be an IE bug... :O
> 
> -Filip
> 
> On 2008-05-25 10:31, [EMAIL PROTECTED] wrote:
>> Hi,
>> I have an actionlink which works fine in Firefox but not in Internet 
>> Explorer (6.0).
>> Can anybody point me to the cause or how I could change the code that it 
>> runs fine on both browsers?
>> Thanks a lot!
>> Juliane
>>
>> 
>>  
>>  ${card.text}  
>>   
>>  
>>  > />  
>>  
>> 
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 
> ___
> EINE FÜR ALLE: die kostenlose WEB.DE-Plattform für Freunde und Deine
> Homepage mit eigenem Namen. Jetzt starten! http://unddu.de/[EMAIL PROTECTED]
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




_
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=0066


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: T5: zone frustration ...

2008-05-25 Thread Peter Stavrinides
Hi Stephane
we can only echo your frustration. To me, zones are the one area of Tapestry 
that feel quite unfinished, there are at least 14 open Jira's... you should get 
your vote in for the ones that are causing you the most grief.

Peter



- Original Message -
From: "Stephane Decleire" <[EMAIL PROTECTED]>
To: "Tapestry users" 
Sent: Sunday, 25 May, 2008 7:46:45 PM GMT +02:00 Athens, Beirut, Bucharest, 
Istanbul
Subject: T5: zone frustration ...

I'm really frustrated with tapestry zones, each time i try to use zones 
in something more complex than simply hide or show a block it doesn't work :
- I can't put a zone in another one to build a more complex component 
(like dependant dropdown boxes).
- I can't use a grid in a zone since the links of the pager no more works.
- The triggering of a zone is reserved to the checkbox component (i 
thought one of the goal of mixins was to be used by several components) 
... why can't we use the result of a selection box or a radio box ?
- I can't find the way to refresh zones included in a form and still 
refresh the whole page on submit.

... but perhaps i have missed something and don't know how to use them ...

Stephane

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: t5: better way using Intellj with T5?

2008-05-25 Thread Richard Clark
I just wrote up how I've been using T5, IDEA, and Jetty (both with and
without Maven). The directions look long, but it's actually a very
quick setup and handles hot code reloading and debugging *very*
quickly.

http://wiki.apache.org/tapestry/Tapestry5_Run_Jetty_From_IDEA

...Richard

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



T5: A problem with generics in data classes

2008-05-25 Thread Bill Holloway
Hi, I'm illustrating an interesting issue with generic classes in our
data model.  Here is the very simple page class and template used:

public class TestPageGenericProb
{
@Property
private List _foos = new LinkedList();

void setupRender ()
{
Foo f1 = new Foo();
_foos.add( f1 );
}
}

TestPageGenericProb.tml:

http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>





The data classes are

public class Foo extends Bla
{
private Long _id;
public Long getId () { return _id; }
public void setId (Long id) { _id = id; }
}

public abstract class Bla extends Baz
{
}

public abstract class Baz 
{
private W _dealyBob;
public W getDealyBob () { return _dealyBob; }
public void setDealyBob (W dealyBob) { _dealyBob = dealyBob; }
}

On visiting the page, I get Render queue error in
SetupRender[TestPageGenericProb:grid]: Failure reading parameter
'model' of component TestPageGenericProb:grid:
java.lang.ArrayIndexOutOfBoundsException: 1.

The first several elements of the stack trace are:

# 
org.apache.tapestry.ioc.internal.util.GenericsUtils.extractGenericReturnType(GenericsUtils.java:75)
# 
org.apache.tapestry.ioc.internal.services.ClassPropertyAdapterImpl.(ClassPropertyAdapterImpl.java:47)
# 
org.apache.tapestry.ioc.internal.services.PropertyAccessImpl.buildAdapter(PropertyAccessImpl.java:93)
# 
org.apache.tapestry.ioc.internal.services.PropertyAccessImpl.getAdapter(PropertyAccessImpl.java:65)
# 
org.apache.tapestry.internal.services.BeanModelSourceImpl.create(BeanModelSourceImpl.java:74)
# org.apache.tapestry.corelib.components.Grid$1.get(Grid.java:336)
# 
org.apache.tapestry.internal.structure.InternalComponentResourcesImpl.readParameter(InternalComponentResourcesImpl.java:233)
# 
org.apache.tapestry.internal.structure.InternalComponentResourcesImpl.readParameter(InternalComponentResourcesImpl.java:248)
# org.apache.tapestry.corelib.components.Grid._$read_parameter_model(Grid.java)
# org.apache.tapestry.corelib.components.Grid.setupDataSource(Grid.java:382)
# org.apache.tapestry.corelib.components.Grid.setupRender(Grid.java:367)
# org.apache.tapestry.corelib.components.Grid.setupRender(Grid.java)

It doesn't matter if I add data to my original foo instance for all
the fields, same result.   However, if I fold the implementation of
Baz into Bla, I render fine.  Thoughts?
-- 
Bill @ PeoplePad

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tapestry 5 validation for cross site scripting

2008-05-25 Thread 9902468

In that case the answer is simple as Howard already mentioned: just filter
all unwanted stuff in parseClient or with custom validator.

The story is much more challenging when user is allowed to enter some
markup, or even javascript, but not the malicious type :) (We even have had
this in a requirement doc in one project. =D )

 -99


Peter Stavrinides wrote:
> 
> The data in our database is shared by other apps, so its integrity is most
> important and requires extensive validation... therefore I would have to
> take a more defensive approach and filter out unwanted markup upfront.
> 
> - Original Message -
> From: "9902468" <[EMAIL PROTECTED]>
> To: users@tapestry.apache.org
> Sent: Friday, 23 May, 2008 3:40:20 PM GMT +02:00 Athens, Beirut,
> Bucharest, Istanbul
> Subject: Re: Tapestry 5 validation for cross site scripting
> 
> 
> Hi,
> 
> we have always done it so that user can input anything they like, but when
> the page renders some marks like < and > are encoded to html entities.
> This
> way the data is in the database exactly like the user intended, and 
> browser
> etc. is safe because dangerous characters are encoded.
> 
> If you encode the data that goes to database then other systems might fail
> that use your data. (For an example < encoded has no meaning to some
> systems...
> 
> All this is much harder when user is actually allowed to enter markup
> directly to page using, lets say Editor component (that uses fckeditor and
> is missing proper connector...), and that must be displayed correctly.
> Then
> the detection of dangerous markup is little more difficult but javascript
> should be encoded in this situation entirely.
> 
>  - 99
> 
> Ps. feel free to elaborate and comment that approach
> 
> 
> Peter Stavrinides wrote:
>> 
>> Hi All
>> 
>> Can anyone offer suggestions on best practice for handling validation
>> specifically for preventing cross site scripting and code injection etc
>> in
>> Tapestry applications. Is there anything built into the framework I could
>> use... if not what is the best way to plug something of my own in. What I
>> mean is should I write my own validator/s and use them in every form
>> component?, or is there a more elegant way I should know about, say a
>> filter or something? Does anyone use a 3rd party library written
>> specifically for this?
>> 
>> Thanks
>> Peter
>> 
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> 
>> 
>> 
> 
> -- 
> View this message in context:
> http://www.nabble.com/Tapestry-5-validation-for-cross-site-scripting-tp17423136p17424712.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Tapestry-5-validation-for-cross-site-scripting-tp17423136p17465939.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: T5 - integrating with a RIA

2008-05-25 Thread nille hammer

Hi Topby,

@Inject  private ComponentResources resources;
and then resources.getPageName();
should do the trick.

Good night, nillehammer


- original Nachricht 

Betreff: T5 - integrating with a RIA
Gesendet: Mo, 26. Mai 2008
Von: Toby Hobson<[EMAIL PROTECTED]>

> I'm trying to integrate a flash application with my T5 code.  My flash app
> (built using OpenLaszlo) will make various http get and post requests to the
> server. Ideally I would like to write a custom component which will render
> the flash swf on the page and also handle all the callbacks from the swf to
> the server. Rendering the swf is easy but I'd like to know if there is a
> recommended pattern to follow for handling get and post requests which
> aren't generated by tapestry components i.e. I can't simply write an event
> handler.
> 
> I can access the underlying request and response objects so I guess I could
> do something like request.getParameter() etc. The problem is how do I tell
> the flash app which url to send requests to - the component could be
> embedded in any page so I can't be certain of the url. Is there some way I
> could find out the correct path and pass this into the swf when I render it?
> 
> Toby
> 
> 

--- original Nachricht Ende 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



T5 - integrating with a RIA

2008-05-25 Thread Toby Hobson
I'm trying to integrate a flash application with my T5 code.  My flash app 
(built using OpenLaszlo) will make various http get and post requests to the 
server. Ideally I would like to write a custom component which will render the 
flash swf on the page and also handle all the callbacks from the swf to the 
server. Rendering the swf is easy but I'd like to know if there is a 
recommended pattern to follow for handling get and post requests which aren't 
generated by tapestry components i.e. I can't simply write an event handler.

I can access the underlying request and response objects so I guess I could do 
something like request.getParameter() etc. The problem is how do I tell the 
flash app which url to send requests to - the component could be embedded in 
any page so I can't be certain of the url. Is there some way I could find out 
the correct path and pass this into the swf when I render it?

Toby



Re: T5: Grid in a zone

2008-05-25 Thread Marcus
Hi Stephane,

I already have a zone including my grid and with the inPlace parameter, my
> grid is no more refreshed.
>

You don't need any zone component, just the atribute inPlace.




Marcus


Re: T5: does actionlink work different in Firefox than in IE?

2008-05-25 Thread Filip S. Adamsen
Hmm. Internet Explorer might not be happy with the relative URIs 
generated by Tapestry.


What happens if you set tapestry.force-absolute-uris to true?

You'll need this in your AppModule:

  public static void 
contributeApplicationDefaults(MappedConfiguration 
configuration) {

configuration.add("tapestry.force-absolute-uris", "true");
  }

See if that helps.

-Filip

On 2008-05-25 21:08, [EMAIL PROTECTED] wrote:

Hi Filip,

if you go to this adress:
http://www.neotopos.de/memory/
and click enter you see a row of "cards" (i.e. pictures,  - items).
The code I posted here is what lays out those rows.
In Firefox you can click on one card to let it show you its value.
In IE those images are unclickable, and I do not understand why ...

Thank you for helping,
Juliane



-Ursprüngliche Nachricht-
Von: "Tapestry users" 
Gesendet: 25.05.08 13:23:04
An: Tapestry users 
Betreff: Re: T5: does actionlink work different in Firefox than in IE?

Hi,

What does the generated markup look like? Something's definitely not 
right here, must be an IE bug... :O


-Filip

On 2008-05-25 10:31, [EMAIL PROTECTED] wrote:

Hi,
I have an actionlink which works fine in Firefox but not in Internet Explorer 
(6.0).
Can anybody point me to the cause or how I could change the code that it runs 
fine on both browsers?
Thanks a lot!
Juliane



${card.text}
   




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




___
EINE FÜR ALLE: die kostenlose WEB.DE-Plattform für Freunde und Deine
Homepage mit eigenem Namen. Jetzt starten! http://unddu.de/[EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: T5: does actionlink work different in Firefox than in IE?

2008-05-25 Thread jg433
Hi Filip,

if you go to this adress:
http://www.neotopos.de/memory/
and click enter you see a row of "cards" (i.e. pictures,  - items).
The code I posted here is what lays out those rows.
In Firefox you can click on one card to let it show you its value.
In IE those images are unclickable, and I do not understand why ...

Thank you for helping,
Juliane



-Ursprüngliche Nachricht-
Von: "Tapestry users" 
Gesendet: 25.05.08 13:23:04
An: Tapestry users 
Betreff: Re: T5: does actionlink work different in Firefox than in IE?

Hi,

What does the generated markup look like? Something's definitely not 
right here, must be an IE bug... :O

-Filip

On 2008-05-25 10:31, [EMAIL PROTECTED] wrote:
> Hi,
> I have an actionlink which works fine in Firefox but not in Internet Explorer 
> (6.0).
> Can anybody point me to the cause or how I could change the code that it runs 
> fine on both browsers?
> Thanks a lot!
> Juliane
> 
> 
>   
>   ${card.text}  
>
>   
>/>  
>   
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




___
EINE FÜR ALLE: die kostenlose WEB.DE-Plattform für Freunde und Deine
Homepage mit eigenem Namen. Jetzt starten! http://unddu.de/[EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



T5: zone frustration ...

2008-05-25 Thread Stephane Decleire
I'm really frustrated with tapestry zones, each time i try to use zones 
in something more complex than simply hide or show a block it doesn't work :
- I can't put a zone in another one to build a more complex component 
(like dependant dropdown boxes).

- I can't use a grid in a zone since the links of the pager no more works.
- The triggering of a zone is reserved to the checkbox component (i 
thought one of the goal of mixins was to be used by several components) 
... why can't we use the result of a selection box or a radio box ?
- I can't find the way to refresh zones included in a form and still 
refresh the whole page on submit.


... but perhaps i have missed something and don't know how to use them ...

Stephane


Re: T5: Grid in a zone

2008-05-25 Thread Stephane Decleire

Unfortunately not ...
I already have a zone including my grid and with the inPlace parameter, 
my grid is no more refreshed.
I don't understand the goal of the inPlace parameter. Why not let the 
programmer choose its own zone with a zone parameter like in the links 
or form components ?


Stephane

Filip S. Adamsen a écrit :

Hi,

If you're on Tapestry 5.0.12-SNAPSHOT you can set the inplace 
parameter on Grid to true to automatically wrap it in a zone.


Does that solve your problem?

-Filip

Stephane Decleire skrev:
I would like to use a grid component in a zone. So how can i tell the 
pager links to refresh only the zone ?

Thanks in advance.

Stephane



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: T5.0.12 : MappedConfiguration error in AppModule

2008-05-25 Thread Stephane Decleire
I've just found the problem. I had integrated tapestry-acegi which is 
not ported under 5.0.12 yet ...


Stephane Decleire a écrit :

Here is my complete stack trace :

12:57:12.140 INFO   [main] 
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:198) 
>09> Root WebApplicationContext: initialization completed in 4058 ms
Exception in thread "main" java.lang.NoClassDefFoundError: 
org/apache/tapestry/ioc/MappedConfiguration

   at java.lang.Class.getDeclaredMethods0(Native Method)
   at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
   at java.lang.Class.privateGetPublicMethods(Class.java:2547)
   at java.lang.Class.getMethods(Class.java:1410)
   at 
org.apache.tapestry5.ioc.internal.DefaultModuleDefImpl.grind(DefaultModuleDefImpl.java:137) 

   at 
org.apache.tapestry5.ioc.internal.DefaultModuleDefImpl.(DefaultModuleDefImpl.java:106) 

   at 
org.apache.tapestry5.ioc.RegistryBuilder.add(RegistryBuilder.java:121)
   at 
org.apache.tapestry5.ioc.RegistryBuilder.add(RegistryBuilder.java:148)
   at 
org.apache.tapestry5.ioc.IOCUtilities.addModulesInList(IOCUtilities.java:120) 

   at 
org.apache.tapestry5.ioc.IOCUtilities.addModulesInManifest(IOCUtilities.java:104) 

   at 
org.apache.tapestry5.ioc.IOCUtilities.addDefaultModules(IOCUtilities.java:76) 

   at 
org.apache.tapestry5.internal.TapestryAppInitializer.(TapestryAppInitializer.java:75) 


   at org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:72)
   at org.mortbay.jetty.servlet.FilterHolder.start(FilterHolder.java:71)
   at 
org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(WebApplicationHandler.java:310) 

   at 
org.mortbay.jetty.servlet.WebApplicationContext.doStart(WebApplicationContext.java:509) 


   at org.mortbay.util.Container.start(Container.java:72)
   at org.mortbay.http.HttpServer.doStart(HttpServer.java:708)
   at org.mortbay.util.Container.start(Container.java:72)
   at 
com.iw.plugins.jettyrunner.PluginRunner.launch(PluginRunner.java:282)
   at 
com.iw.plugins.jettyrunner.PluginRunner.launch(PluginRunner.java:104)

   at com.iw.plugins.jettyrunner.PluginRunner.main(PluginRunner.java:75)

I still don't understand why the right package (tapestry5) is used has 
shown in the stack trace and the error message refers to the old 
tapestry package ...


Stephane

Filip S. Adamsen a écrit :
That's weird. Have you changed the 
org.apache.tapestry:tapestry-annotations dependency to 
org.apache.tapestry:tapestry5-annotations?


-Filip

Stephane Decleire skrev:
I use Maven and i have forced a refresh of my repository but i get 
the same error ...


Stephane

Filip S. Adamsen a écrit :

Hi,

This is most likely due to classpath conflicts. Make absolutely 
sure that you don't have any old Tapestry jars around from before 
the package rename.


-Filip

On 2008-05-23 00:54, Stephane Decleire wrote:

Hi,

I've just tried to move an application from T5.0.11 to 
5.0.12-SNAPSHOT but get the following error at startup :


Exception in thread "main" java.lang.NoClassDefFoundError: 
org/apache/tapestry/ioc/MappedConfiguration


Looking at my AppModule class, i have :

import org.apache.tapestry5.ioc.MappedConfiguration;
...
public static void 
contributeApplicationDefaults(MappedConfiguration 
configuration) {

   ...
}

Has anybody already faced the same error ? I don't understand why 
the NoClassDefFoundError refers the org.apache.tapestry package 
while i use the org.apache.tapestry5 package ...


Stephane



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





Re: T5: Hidden visibility-field of fomfragment is not set properly

2008-05-25 Thread Peer Brink
Hi,

please ignore this thread. It has been fixed during the last days and
is working with a recent snapshot.

Thanks a lot,
Peer.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: T5: prohibit directory listing

2008-05-25 Thread Filip S. Adamsen
Or maybe it's a configuration issue. But I don't know enough about the 
Tapestry internals to say for sure.


-Filip

On 2008-05-25 16:59, Toby Hobson wrote:

AH ... maybe it has been fixed in 5.0.12 ... I hope so!

- Original Message 
From: Filip S. Adamsen <[EMAIL PROTECTED]>
To: Tapestry users 
Sent: Sunday, 25 May, 2008 3:57:41 PM
Subject: Re: T5: prohibit directory listing

I'm on 5.0.12-SNAPSHOT.

-Filip

On 2008-05-25 16:55, Toby Hobson wrote:

Hi Filip ... which version of T5 are you using? i'm using 5.0.11 and I can 
browse my classpath!

- Original Message 
From: Filip S. Adamsen <[EMAIL PROTECTED]>
To: Tapestry users 
Sent: Sunday, 25 May, 2008 3:45:32 PM
Subject: Re: T5: prohibit directory listing

Hi,

On 2008-05-25 16:28, Toby Hobson wrote:

Sadly it's a bit more scary than that :( if you try 
http://myserver/contextRoot/assets you will get a (not very nice) surprise!

You mean a 404 Not Found or blank page depending on whether or not I put 
a slash at the end?



[...]

Toby

-Filip

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]







-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]







-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: T5: prohibit directory listing

2008-05-25 Thread Toby Hobson
AH ... maybe it has been fixed in 5.0.12 ... I hope so!

- Original Message 
From: Filip S. Adamsen <[EMAIL PROTECTED]>
To: Tapestry users 
Sent: Sunday, 25 May, 2008 3:57:41 PM
Subject: Re: T5: prohibit directory listing

I'm on 5.0.12-SNAPSHOT.

-Filip

On 2008-05-25 16:55, Toby Hobson wrote:
> Hi Filip ... which version of T5 are you using? i'm using 5.0.11 and I can 
> browse my classpath!
> 
> - Original Message 
> From: Filip S. Adamsen <[EMAIL PROTECTED]>
> To: Tapestry users 
> Sent: Sunday, 25 May, 2008 3:45:32 PM
> Subject: Re: T5: prohibit directory listing
> 
> Hi,
> 
> On 2008-05-25 16:28, Toby Hobson wrote:
>> Sadly it's a bit more scary than that :( if you try 
>> http://myserver/contextRoot/assets you will get a (not very nice) surprise!
>>
> 
> You mean a 404 Not Found or blank page depending on whether or not I put 
> a slash at the end?
> 
>> [...]
>>
>> Toby
> 
> -Filip
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 
> 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






Re: T5: prohibit directory listing

2008-05-25 Thread Filip S. Adamsen

I'm on 5.0.12-SNAPSHOT.

-Filip

On 2008-05-25 16:55, Toby Hobson wrote:

Hi Filip ... which version of T5 are you using? i'm using 5.0.11 and I can 
browse my classpath!

- Original Message 
From: Filip S. Adamsen <[EMAIL PROTECTED]>
To: Tapestry users 
Sent: Sunday, 25 May, 2008 3:45:32 PM
Subject: Re: T5: prohibit directory listing

Hi,

On 2008-05-25 16:28, Toby Hobson wrote:

Sadly it's a bit more scary than that :( if you try 
http://myserver/contextRoot/assets you will get a (not very nice) surprise!



You mean a 404 Not Found or blank page depending on whether or not I put 
a slash at the end?



[...]

Toby


-Filip

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]







-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: T5: prohibit directory listing

2008-05-25 Thread Toby Hobson
Hi Filip ... which version of T5 are you using? i'm using 5.0.11 and I can 
browse my classpath!

- Original Message 
From: Filip S. Adamsen <[EMAIL PROTECTED]>
To: Tapestry users 
Sent: Sunday, 25 May, 2008 3:45:32 PM
Subject: Re: T5: prohibit directory listing

Hi,

On 2008-05-25 16:28, Toby Hobson wrote:
> Sadly it's a bit more scary than that :( if you try 
> http://myserver/contextRoot/assets you will get a (not very nice) surprise!
> 

You mean a 404 Not Found or blank page depending on whether or not I put 
a slash at the end?

> [...]
> 
> Toby

-Filip

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






T5: Hidden visibility-field of fomfragment is not set properly

2008-05-25 Thread Peer Brink
Hi,

I hope someone can help me with the following problem.

I have a simple radiogroup (two options) with a formfragment linked to
the second option (html and java below). The formfragment appears when
klicking OptionB but the server-side processing will not be done.

The server-side processing wil be performed if the formfragment is
initially visible. But it does not work if it is initially invisible
and will be activated by user-interaction.

Strangely it works with a simple trick: add the validation-attribute
to the textfield inside the formfragment like this:



In this case "setValueB" will be called!

But this does not help if you have for example a checkbox inside the
formfragment which does not allow the validate-attribute.

It seems that the "hidden field to track its client-side visibility"
is not updated properly. Or am I missing something?

Thanks in advance,
Peer.



http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
  


  
Option A
Option B
  

  
Value B: 
  

  


  




public class RadioTest {

public enum Options {OPTIONA, OPTIONB};
@Persist
private Options option;
@Persist
private String valueB;

public Options getOption () {
return option;
}
public void setOption (Options option) {
this.option=option;
}
public Options getOptionA() {
return Options.OPTIONA;
}
public Options getOptionB() {
return Options.OPTIONB;
}
public boolean getBChoosen () {
return option==Options.OPTIONB;
}
public String getValueB() {
return valueB;
}
public void setValueB(String valueB) {
this.valueB = valueB;
}
}

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: T5: prohibit directory listing

2008-05-25 Thread Filip S. Adamsen

Hi,

On 2008-05-25 16:28, Toby Hobson wrote:

Sadly it's a bit more scary than that :( if you try 
http://myserver/contextRoot/assets you will get a (not very nice) surprise!



You mean a 404 Not Found or blank page depending on whether or not I put 
a slash at the end?



[...]

Toby


-Filip

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: T5: prohibit directory listing

2008-05-25 Thread Toby Hobson
I think that setting TapestryConstants.PRODUCTION_MODE_SYMBOL, "true" should 
only allow clients to download *.css, *.js and *.jpg, *.gif etc. files from the 
asset service

What do you guys think?

Toby

- Original Message 
From: Toby Hobson <[EMAIL PROTECTED]>
To: Tapestry users 
Sent: Sunday, 25 May, 2008 3:28:09 PM
Subject: Re: T5: prohibit directory listing

Sadly it's a bit more scary than that :( if you try 
http://myserver/contextRoot/assets you will get a (not very nice) surprise!

I'm using acegi to block access to everything except *.css, *.js and images 
under the assets path but I believe Robert has written a dispatcher which also 
controls access to files on the classpath - see

http://markmail.org/search/?q=t5%20directory%20listings#query:t5%20directory%20listings+page:1+mid:qptioejs3jbfyroz+state:results

The whole security aspect of T5 is a little worrying to be honest - I think at 
the very least there needs to be a note on the T5 home page about this stuff - 
I bet quite a few people will deploy T5 apps without knowing that most of their 
classpath can be viewed by anyone!

Toby

- Original Message 
From: Jesper Zedlitz <[EMAIL PROTECTED]>
To: users@tapestry.apache.org
Sent: Sunday, 25 May, 2008 2:32:03 PM
Subject: T5: prohibit directory listing

Hi, 

I hope someone can help me with this little problem:

In src/main/webapp folder I have a subdirectory user/ that contains a
Start.tml page. Everything works fine with the URL .../user/start. But when
a user tries to go to the parent directory .../user/ he can see all .tml
files. 

Any idea how to redirect .../user/ to .../user/start or show the content of
Start.tml immediately?

Jesper

-- 
Jesper Zedlitz   Dept. for Computer Science, CAU of Kiel
Room 1108Communication Systems Research Group
 Phone:+49-(0)431-880-7279
Christian-Albrechts-Platz 4  Fax:  +49-(0)431-880-7615
24098 Kiel - Germany [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]









Re: T5: prohibit directory listing

2008-05-25 Thread Toby Hobson
Sadly it's a bit more scary than that :( if you try 
http://myserver/contextRoot/assets you will get a (not very nice) surprise!

I'm using acegi to block access to everything except *.css, *.js and images 
under the assets path but I believe Robert has written a dispatcher which also 
controls access to files on the classpath - see

http://markmail.org/search/?q=t5%20directory%20listings#query:t5%20directory%20listings+page:1+mid:qptioejs3jbfyroz+state:results

The whole security aspect of T5 is a little worrying to be honest - I think at 
the very least there needs to be a note on the T5 home page about this stuff - 
I bet quite a few people will deploy T5 apps without knowing that most of their 
classpath can be viewed by anyone!

Toby

- Original Message 
From: Jesper Zedlitz <[EMAIL PROTECTED]>
To: users@tapestry.apache.org
Sent: Sunday, 25 May, 2008 2:32:03 PM
Subject: T5: prohibit directory listing

Hi, 

I hope someone can help me with this little problem:

In src/main/webapp folder I have a subdirectory user/ that contains a
Start.tml page. Everything works fine with the URL .../user/start. But when
a user tries to go to the parent directory .../user/ he can see all .tml
files. 

Any idea how to redirect .../user/ to .../user/start or show the content of
Start.tml immediately?

Jesper

-- 
Jesper Zedlitz   Dept. for Computer Science, CAU of Kiel
Room 1108Communication Systems Research Group
 Phone:+49-(0)431-880-7279
Christian-Albrechts-Platz 4  Fax:  +49-(0)431-880-7615
24098 Kiel - Germany [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






Re: T5.0.11 + Hibernate

2008-05-25 Thread Toby Hobson
I'm pretty sure I got this error when I tried to use a newer version of 
hibernate, but 3.2.2.ga worked ok.

Btw the tapestry-hibernate stuff works brilliantly ... well done to all the T5 
and T5-Hibernate team!

Toby
- Original Message 
From: János Jarecsni <[EMAIL PROTECTED]>
To: Tapestry users 
Sent: Sunday, 25 May, 2008 12:33:50 PM
Subject: Re: T5.0.11 + Hibernate

Hi Howard,

thanks for the link, I'll have a look!
Below is the stack trace:


   - java.lang.RuntimeExceptionNo service implements the interface
   org.apache.tapestry.ioc.services.PerthreadManager.
   Stack trace
  -
  
org.apache.tapestry.ioc.internal.RegistryImpl.getService(RegistryImpl.java:517)
  -
  
org.apache.tapestry.ioc.internal.services.MasterObjectProviderImpl.provide(MasterObjectProviderImpl.java:46)
  -
  
org.apache.tapestry.ioc.internal.RegistryImpl.getObject(RegistryImpl.java:621)
  -
  
org.apache.tapestry.ioc.internal.RegistryImpl.getObject(RegistryImpl.java:675)
  -
  
org.apache.tapestry.ioc.internal.ObjectLocatorImpl.getObject(ObjectLocatorImpl.java:50)
  -
  
org.apache.tapestry.ioc.internal.util.InternalUtils.calculateParameterValue(InternalUtils.java:207)
  -
  
org.apache.tapestry.ioc.internal.util.InternalUtils.calculateParameters(InternalUtils.java:237)
  -
  
org.apache.tapestry.ioc.internal.util.InternalUtils.calculateParametersForMethod(InternalUtils.java:216)
  -
  
org.apache.tapestry.ioc.internal.ServiceBuilderMethodInvoker.createObject(ServiceBuilderMethodInvoker.java:68)
  -
  
org.apache.tapestry.ioc.internal.services.PerThreadServiceCreator.initialValue(PerThreadServiceCreator.java:47)
  - java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:141)
  - java.lang.ThreadLocal.get(ThreadLocal.java:131)
  -
  
org.apache.tapestry.ioc.internal.services.PerThreadServiceCreator.createObject(PerThreadServiceCreator.java:53)
  -
  hu.intellynet.mojito.incubator.pages.HbAction.getList(HbAction.java:27)
  -
  org.apache.tapestry.internal.bindings.PropBinding.get(PropBinding.java:54)
  -
  
org.apache.tapestry.internal.structure.InternalComponentResourcesImpl.readParameter(InternalComponentResourcesImpl.java:214)
  -
  
org.apache.tapestry.internal.structure.InternalComponentResourcesImpl.readParameter(InternalComponentResourcesImpl.java:229)
  -
  
org.apache.tapestry.corelib.components.Loop._$read_parameter_source(Loop.java)
  - org.apache.tapestry.corelib.components.Loop.setup(Loop.java:219)
  - org.apache.tapestry.corelib.components.Loop.setupRender(Loop.java)
  -
  
org.apache.tapestry.internal.structure.ComponentPageElementImpl$13$1.run(ComponentPageElementImpl.java:478)
  -
  
org.apache.tapestry.internal.structure.ComponentPageElementImpl.invoke(ComponentPageElementImpl.java:874)
  -
  
org.apache.tapestry.internal.structure.ComponentPageElementImpl.access$100(ComponentPageElementImpl.java:54)
  -
  
org.apache.tapestry.internal.structure.ComponentPageElementImpl$13.render(ComponentPageElementImpl.java:482)
  -
  
org.apache.tapestry.internal.services.RenderQueueImpl.run(RenderQueueImpl.java:63)
  -
  
org.apache.tapestry.internal.services.PageRenderQueueImpl.render(PageRenderQueueImpl.java:63)
  -
  
org.apache.tapestry.services.TapestryModule$19.renderMarkup(TapestryModule.java:1289)
  -
  
org.apache.tapestry.services.TapestryModule$23.renderMarkup(TapestryModule.java:1397)
  -
  
org.apache.tapestry.services.TapestryModule$22.renderMarkup(TapestryModule.java:1378)
  -
  
org.apache.tapestry.services.TapestryModule$21.renderMarkup(TapestryModule.java:1360)
  -
  
org.apache.tapestry.services.TapestryModule$20.renderMarkup(TapestryModule.java:1342)
  -
  
org.apache.tapestry.internal.services.PageMarkupRendererImpl.renderPageMarkup(PageMarkupRendererImpl.java:55)
  -
  
org.apache.tapestry.internal.services.PageResponseRendererImpl.renderPageResponse(PageResponseRendererImpl.java:57)
  -
  
org.apache.tapestry.internal.services.PageRenderRequestHandlerImpl.handle(PageRenderRequestHandlerImpl.java:59)
  -
  
org.apache.tapestry.internal.services.PageRenderDispatcher.dispatch(PageRenderDispatcher.java:77)
  -
  
org.apache.tapestry.services.TapestryModule$13.service(TapestryModule.java:911)
  -
  
hu.intellynet.mojito.incubator.services.AppModule$1.service(AppModule.java:94)
  -
  
org.apache.tapestry.internal.services.LocalizationFilter.service(LocalizationFilter.java:43)
  -
  
org.apache.tapestry.services.TapestryModule$3.service(TapestryModule.java:529)
  -
  
org.apache.tapestry.services.TapestryModule$2.service(TapestryModule.java:504)
  -
  
org.apache.tapestry.internal.services.StaticFilesFilter.service(StaticFilesFilter.java:79)
  -
  
org.apache.tapestry.internal.services.Che

T5: prohibit directory listing

2008-05-25 Thread Jesper Zedlitz
Hi, 

I hope someone can help me with this little problem:

In src/main/webapp folder I have a subdirectory user/ that contains a
Start.tml page. Everything works fine with the URL .../user/start. But when
a user tries to go to the parent directory .../user/ he can see all .tml
files. 

Any idea how to redirect .../user/ to .../user/start or show the content of
Start.tml immediately?

Jesper

-- 
Jesper Zedlitz   Dept. for Computer Science, CAU of Kiel
Room 1108Communication Systems Research Group
 Phone:+49-(0)431-880-7279
Christian-Albrechts-Platz 4  Fax:  +49-(0)431-880-7615
24098 Kiel - Germany [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: T5.0.11 + Hibernate

2008-05-25 Thread János Jarecsni
hi Howard,

I had to realize, that somehow T5.0.10 jars have got distributed mixed with
5.0.11. I think this is due to the maven artefact somehow. So from Netbeans
I properly link 5.0.11 libraries with the project, but from the target
folder the old libs are added as well... I will try to remember this :)

thanks anyway!

janos




2008/5/25 János Jarecsni <[EMAIL PROTECTED]>:

> Hi Howard,
>
> thanks for the link, I'll have a look!
> Below is the stack trace:
>
>
>- java.lang.RuntimeExceptionNo service implements the interface
>org.apache.tapestry.ioc.services.PerthreadManager.
>Stack trace
>   -
>   
> org.apache.tapestry.ioc.internal.RegistryImpl.getService(RegistryImpl.java:517)
>   -
>   
> org.apache.tapestry.ioc.internal.services.MasterObjectProviderImpl.provide(MasterObjectProviderImpl.java:46)
>   -
>   
> org.apache.tapestry.ioc.internal.RegistryImpl.getObject(RegistryImpl.java:621)
>   -
>   
> org.apache.tapestry.ioc.internal.RegistryImpl.getObject(RegistryImpl.java:675)
>   -
>   
> org.apache.tapestry.ioc.internal.ObjectLocatorImpl.getObject(ObjectLocatorImpl.java:50)
>   -
>   
> org.apache.tapestry.ioc.internal.util.InternalUtils.calculateParameterValue(InternalUtils.java:207)
>   -
>   
> org.apache.tapestry.ioc.internal.util.InternalUtils.calculateParameters(InternalUtils.java:237)
>   -
>   
> org.apache.tapestry.ioc.internal.util.InternalUtils.calculateParametersForMethod(InternalUtils.java:216)
>   -
>   
> org.apache.tapestry.ioc.internal.ServiceBuilderMethodInvoker.createObject(ServiceBuilderMethodInvoker.java:68)
>   -
>   
> org.apache.tapestry.ioc.internal.services.PerThreadServiceCreator.initialValue(PerThreadServiceCreator.java:47)
>   - java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:141)
>   - java.lang.ThreadLocal.get(ThreadLocal.java:131)
>   -
>   
> org.apache.tapestry.ioc.internal.services.PerThreadServiceCreator.createObject(PerThreadServiceCreator.java:53)
>   -
>   hu.intellynet.mojito.incubator.pages.HbAction.getList(HbAction.java:27)
>   -
>   
> org.apache.tapestry.internal.bindings.PropBinding.get(PropBinding.java:54)
>   -
>   
> org.apache.tapestry.internal.structure.InternalComponentResourcesImpl.readParameter(InternalComponentResourcesImpl.java:214)
>   -
>   
> org.apache.tapestry.internal.structure.InternalComponentResourcesImpl.readParameter(InternalComponentResourcesImpl.java:229)
>   -
>   
> org.apache.tapestry.corelib.components.Loop._$read_parameter_source(Loop.java)
>   - org.apache.tapestry.corelib.components.Loop.setup(Loop.java:219)
>   - org.apache.tapestry.corelib.components.Loop.setupRender(Loop.java)
>   -
>   
> org.apache.tapestry.internal.structure.ComponentPageElementImpl$13$1.run(ComponentPageElementImpl.java:478)
>   -
>   
> org.apache.tapestry.internal.structure.ComponentPageElementImpl.invoke(ComponentPageElementImpl.java:874)
>   -
>   
> org.apache.tapestry.internal.structure.ComponentPageElementImpl.access$100(ComponentPageElementImpl.java:54)
>   -
>   
> org.apache.tapestry.internal.structure.ComponentPageElementImpl$13.render(ComponentPageElementImpl.java:482)
>   -
>   
> org.apache.tapestry.internal.services.RenderQueueImpl.run(RenderQueueImpl.java:63)
>   -
>   
> org.apache.tapestry.internal.services.PageRenderQueueImpl.render(PageRenderQueueImpl.java:63)
>   -
>   
> org.apache.tapestry.services.TapestryModule$19.renderMarkup(TapestryModule.java:1289)
>   -
>   
> org.apache.tapestry.services.TapestryModule$23.renderMarkup(TapestryModule.java:1397)
>   -
>   
> org.apache.tapestry.services.TapestryModule$22.renderMarkup(TapestryModule.java:1378)
>   -
>   
> org.apache.tapestry.services.TapestryModule$21.renderMarkup(TapestryModule.java:1360)
>   -
>   
> org.apache.tapestry.services.TapestryModule$20.renderMarkup(TapestryModule.java:1342)
>   -
>   
> org.apache.tapestry.internal.services.PageMarkupRendererImpl.renderPageMarkup(PageMarkupRendererImpl.java:55)
>   -
>   
> org.apache.tapestry.internal.services.PageResponseRendererImpl.renderPageResponse(PageResponseRendererImpl.java:57)
>   -
>   
> org.apache.tapestry.internal.services.PageRenderRequestHandlerImpl.handle(PageRenderRequestHandlerImpl.java:59)
>   -
>   
> org.apache.tapestry.internal.services.PageRenderDispatcher.dispatch(PageRenderDispatcher.java:77)
>   -
>   
> org.apache.tapestry.services.TapestryModule$13.service(TapestryModule.java:911)
>   -
>   
> hu.intellynet.mojito.incubator.services.AppModule$1.service(AppModule.java:94)
>   -
>   
> org.apache.tapestry.internal.services.LocalizationFilter.service(LocalizationFilter.java:43)
>   -
>   
> org.apache.tapestry.services.TapestryModule$3.service(TapestryModule.java:529)
>   -
>   
> or

Re: T5.0.11 + Hibernate

2008-05-25 Thread János Jarecsni
Hi Howard,

thanks for the link, I'll have a look!
Below is the stack trace:


   - java.lang.RuntimeExceptionNo service implements the interface
   org.apache.tapestry.ioc.services.PerthreadManager.
   Stack trace
  -
  
org.apache.tapestry.ioc.internal.RegistryImpl.getService(RegistryImpl.java:517)
  -
  
org.apache.tapestry.ioc.internal.services.MasterObjectProviderImpl.provide(MasterObjectProviderImpl.java:46)
  -
  
org.apache.tapestry.ioc.internal.RegistryImpl.getObject(RegistryImpl.java:621)
  -
  
org.apache.tapestry.ioc.internal.RegistryImpl.getObject(RegistryImpl.java:675)
  -
  
org.apache.tapestry.ioc.internal.ObjectLocatorImpl.getObject(ObjectLocatorImpl.java:50)
  -
  
org.apache.tapestry.ioc.internal.util.InternalUtils.calculateParameterValue(InternalUtils.java:207)
  -
  
org.apache.tapestry.ioc.internal.util.InternalUtils.calculateParameters(InternalUtils.java:237)
  -
  
org.apache.tapestry.ioc.internal.util.InternalUtils.calculateParametersForMethod(InternalUtils.java:216)
  -
  
org.apache.tapestry.ioc.internal.ServiceBuilderMethodInvoker.createObject(ServiceBuilderMethodInvoker.java:68)
  -
  
org.apache.tapestry.ioc.internal.services.PerThreadServiceCreator.initialValue(PerThreadServiceCreator.java:47)
  - java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:141)
  - java.lang.ThreadLocal.get(ThreadLocal.java:131)
  -
  
org.apache.tapestry.ioc.internal.services.PerThreadServiceCreator.createObject(PerThreadServiceCreator.java:53)
  -
  hu.intellynet.mojito.incubator.pages.HbAction.getList(HbAction.java:27)
  -
  org.apache.tapestry.internal.bindings.PropBinding.get(PropBinding.java:54)
  -
  
org.apache.tapestry.internal.structure.InternalComponentResourcesImpl.readParameter(InternalComponentResourcesImpl.java:214)
  -
  
org.apache.tapestry.internal.structure.InternalComponentResourcesImpl.readParameter(InternalComponentResourcesImpl.java:229)
  -
  
org.apache.tapestry.corelib.components.Loop._$read_parameter_source(Loop.java)
  - org.apache.tapestry.corelib.components.Loop.setup(Loop.java:219)
  - org.apache.tapestry.corelib.components.Loop.setupRender(Loop.java)
  -
  
org.apache.tapestry.internal.structure.ComponentPageElementImpl$13$1.run(ComponentPageElementImpl.java:478)
  -
  
org.apache.tapestry.internal.structure.ComponentPageElementImpl.invoke(ComponentPageElementImpl.java:874)
  -
  
org.apache.tapestry.internal.structure.ComponentPageElementImpl.access$100(ComponentPageElementImpl.java:54)
  -
  
org.apache.tapestry.internal.structure.ComponentPageElementImpl$13.render(ComponentPageElementImpl.java:482)
  -
  
org.apache.tapestry.internal.services.RenderQueueImpl.run(RenderQueueImpl.java:63)
  -
  
org.apache.tapestry.internal.services.PageRenderQueueImpl.render(PageRenderQueueImpl.java:63)
  -
  
org.apache.tapestry.services.TapestryModule$19.renderMarkup(TapestryModule.java:1289)
  -
  
org.apache.tapestry.services.TapestryModule$23.renderMarkup(TapestryModule.java:1397)
  -
  
org.apache.tapestry.services.TapestryModule$22.renderMarkup(TapestryModule.java:1378)
  -
  
org.apache.tapestry.services.TapestryModule$21.renderMarkup(TapestryModule.java:1360)
  -
  
org.apache.tapestry.services.TapestryModule$20.renderMarkup(TapestryModule.java:1342)
  -
  
org.apache.tapestry.internal.services.PageMarkupRendererImpl.renderPageMarkup(PageMarkupRendererImpl.java:55)
  -
  
org.apache.tapestry.internal.services.PageResponseRendererImpl.renderPageResponse(PageResponseRendererImpl.java:57)
  -
  
org.apache.tapestry.internal.services.PageRenderRequestHandlerImpl.handle(PageRenderRequestHandlerImpl.java:59)
  -
  
org.apache.tapestry.internal.services.PageRenderDispatcher.dispatch(PageRenderDispatcher.java:77)
  -
  
org.apache.tapestry.services.TapestryModule$13.service(TapestryModule.java:911)
  -
  
hu.intellynet.mojito.incubator.services.AppModule$1.service(AppModule.java:94)
  -
  
org.apache.tapestry.internal.services.LocalizationFilter.service(LocalizationFilter.java:43)
  -
  
org.apache.tapestry.services.TapestryModule$3.service(TapestryModule.java:529)
  -
  
org.apache.tapestry.services.TapestryModule$2.service(TapestryModule.java:504)
  -
  
org.apache.tapestry.internal.services.StaticFilesFilter.service(StaticFilesFilter.java:79)
  -
  
org.apache.tapestry.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:93)
  -
  
org.apache.tapestry.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:84)
  -
  
org.apache.tapestry.ioc.internal.util.ConcurrentBarrier.withRead(ConcurrentBarrier.java:77)
  -
  
org.apache.tapestry.internal.services.CheckForUpdatesFilter.service(CheckForUpdatesF

Re: T5: does actionlink work different in Firefox than in IE?

2008-05-25 Thread Filip S. Adamsen

Hi,

What does the generated markup look like? Something's definitely not 
right here, must be an IE bug... :O


-Filip

On 2008-05-25 10:31, [EMAIL PROTECTED] wrote:

Hi,
I have an actionlink which works fine in Firefox but not in Internet Explorer 
(6.0).
Can anybody point me to the cause or how I could change the code that it runs 
fine on both browsers?
Thanks a lot!
Juliane



${card.text}
   




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: t5 - Classloader issues with System classpath

2008-05-25 Thread adamh

Hi Ben,

I'm no classloader expert but I had a similar problem running with
RunJettyRun, that might be related to your problem, but I think its a clash
between the SLF4J in Jetty and the one in your app see
http://wiki.apache.org/tapestry/Tapestry5HowToSetupEclipseRunJettyRun

Regards,
Adam.
-- 
View this message in context: 
http://www.nabble.com/t5---Classloader-issues-with-System-classpath-tp17455266p17455858.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



T5: does actionlink work different in Firefox than in IE?

2008-05-25 Thread jg433
Hi,
I have an actionlink which works fine in Firefox but not in Internet Explorer 
(6.0).
Can anybody point me to the cause or how I could change the code that it runs 
fine on both browsers?
Thanks a lot!
Juliane



${card.text}  
 

  

 
___
EINE FÜR ALLE: die kostenlose WEB.DE-Plattform für Freunde und Deine
Homepage mit eigenem Namen. Jetzt starten! http://unddu.de/[EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



t5 - Classloader issues with System classpath

2008-05-25 Thread Ben Gidley
Hi,
I tend to run my applications by creating a run main class in my IDE
(intellij) and let that start a Jetty instance. This has the nice benefit of
getting all the classes on the classpath without any hassles and allowing
easy debugging. This works fine for Tapestry 5 until I start referring to
libraries (e.g. SLF4J) that are loaded at the System level. The then start
to get class def not found.

e.g. My system class loader has
-> slf4j
-> tapestry5
-> etc

My start part works fine until I put a reference to SLF4J in it. At that
point it complains (when run via a main()  ) that is can't find slf4j.

Running the same code via mvn jetty:run the apps works fine.

It looks like the generated class doesn't have access to the system class
loader and can only see a subset of the classes. (SLF4J is definitely there
and working fine for Tapestry core classes).

Any ideas how I can work around this?