RE: Perfomance Testing Tapestry App

2006-11-27 Thread Detlef Schulze
Some tool that I like much more than Jmeter (although I have to admit
that it is quite some time ago I last checked it) is Microsofts Web
Application Stress Test tool.

You can freely download and use it:
http://www.microsoft.com/downloads/details.aspx?FamilyID=E2C0585A-062A-4
39E-A67D-75A89AA36495displaylang=en


Although it is from Microsoft, it is a really nice tool.

Cheers,
Detlef

 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Montag, 27. November 2006 15:05
To: users@tapestry.apache.org
Subject: RE: Perfomance Testing Tapestry App

I second that advice.  After 30-45 minutes of following their online
demo, you can have JMeter up and running and simulating dozens of users
with form input, logins, etc.

http://jakarta.apache.org/jmeter/
http://jakarta.apache.org/jmeter/usermanual/index.html



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Thursday, November 23, 2006 9:17 AM
To: users@tapestry.apache.org
Subject: RE: Perfomance Testing Tapestry App

I would highly recommend Jakarta JMeter. You can use it as a proxy to
record some user actions, and then play back as many users as you want
to simulate, and much more.

-Greg

-Original Message-
From: news [mailto:[EMAIL PROTECTED] Behalf Of Dennis Sinelnikov
Sent: Wednesday, November 22, 2006 10:48 PM
To: users@tapestry.apache.org
Subject: Perfomance Testing Tapestry App


Hey guys,

I have some performance requirements and would like to gather input from

the tapestry community on what is the right approach.  For example, how
do I properly simulate X number of users?  I have some UIs that require
user input.  I guess I can tailor http requests.

Any guidance/links/tips/past experiences are greatly appreciated.

Thanks,
Dennis


-
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]


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



Problem with TableView in Tap 3

2006-10-18 Thread Detlef Schulze
Hi,

this is the first time I use a TableView and I have a problem with it.

The page containing the TableView is a Search + Search Result page. I
have two buttons that trigger an action. One of them clears a List with
search results, the other one performs a search over some database
tables. The List with the search results is stored as a persistent
property.

When the user clears the results and clicks the back button, then
initiates a new Search I get the infamous stale link exception that
seems to happen because the TableView keeps track of the state of the
table with hidden fields but no results are there anymore.


[...]
input type=hidden name=Form0
value=APPLICATION_DD,$TextField,$TextField$0,TS_CREATE,$TextField$1,$Te
xtField$2,$LinkSubmit,$LinkSubmit$0,hiddenCurrentPage,hiddenPageCount,hi
ddenStartPage,hiddenStopPage,linkFirst,linkBack,linkPage,linkFwd,linkLas
t/
input type=hidden name=hiddenCurrentPage value=1/
input type=hidden name=hiddenPageCount value=2/
input type=hidden name=hiddenStartPage value=1/
input type=hidden name=hiddenStopPage value=2/
[...]


Since the search results were cleared before, I then get the exception.

So the question is: how do I handle this situation?

tia
Detlef

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



RE: File Downloading in Tapestry

2006-10-09 Thread Detlef Schulze
For version 3 there is an example in the online FAQ. Should work for 4
too.


-Original Message-
From: Dobrin Ivanov [mailto:[EMAIL PROTECTED] 
Sent: Montag, 9. Oktober 2006 00:43
To: Tapestry users
Subject: File Downloading in Tapestry

Hi,
I'm wondering which is the best way to download files
via Tapestry. It could be done via servlet, I have
found a good example here:

http://jspwiki.org/wiki/MakingADownloadServlet

But, is there another way to do it all in Tapestry?
... or the above is the best solution?

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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]



RE: File copy - Access denied error

2006-09-08 Thread Detlef Schulze
First of all, this will not compile because the backslashes are not
escaped.

Second, you are opening a OutputStream to a Directory, not a file ...
This will obviously not work.


-Original Message-
From: Peter Dawn [mailto:[EMAIL PROTECTED] 
Sent: Freitag, 8. September 2006 07:14
To: tapestry-user@jakarta.apache.org
Subject: File copy - Access denied error

guys,

i am trying to implement a file upload function within my web app. now
i am allowing the user to select a file using a browse button and then
when they click upload, i copy it to a set folder on my server.

however when i try to implement it i am getting a Access is denied
error. I am using standard fileoutstream.

uploadData = new FileOutputStream(C:\Share\);

any ideas.

-
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: Fast testing of Tapestry Apps

2006-08-21 Thread Detlef Schulze
... startup the container with
-Dorg.apache.tapestry.disable-caching=true (command line option).

At least that's with tap3, not sure if tap4 uses the same switch.



-Original Message-
From: Fabbed [mailto:[EMAIL PROTECTED] 
Sent: Montag, 21. August 2006 13:34
To: users@tapestry.apache.org
Subject: Fast testing of Tapestry Apps


Hi everybody,

i am relative new to Tapestry. I was wondering if there is a way of fast
testing my tapestry apps or do i always have to deploy my source code in
the
tomcat servlet container before testing my app in the browser?
That takes so much time...

What i liked about JSP or for instance PHP is that you have your editor
open, you save your code, you presss alt+tab switch to your web browser,
press F5 and you see the results. How can i do that while developing in
Tapestry?

Thanks for any advice.
-- 
View this message in context:
http://www.nabble.com/Fast-testing-of-Tapestry-Apps-tf2139725.html#a5905
141
Sent from the Tapestry - User forum 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]



RE: Tapestry with Hibernate vs JSF with Hibernate (Object binding question)

2006-08-21 Thread Detlef Schulze
The problem you are facing is due to the nature tapestry works (the
rewind-cycle). There is documentation online, you might read it to
understand this behaviour and to solve it without a persistent
attribute.

In short: when the page renders you have your data, when you submit a
form rewinding of the exact same form takes place. If your attribute is
not persistent it might be gone by now (unless you recreate it from
database for example). There are different strategies for solving this
problem, RTFM ;-)


Cheers,
detlef



-Original Message-
From: Vinicius Carvalho [mailto:[EMAIL PROTECTED] 
Sent: Montag, 21. August 2006 14:01
To: Tapestry users
Subject: Re: Tapestry with Hibernate vs JSF with Hibernate (Object
binding question)

Sorry for the delay. Well, object equals and hashcodes are fully
implemented. What solved the problem was setting the property
persistent, which I really did no liked :(

When using a volatile property, tapestry is overwriting the objects,
by fresh new ones, filled only with forms values (as I said, there are
some properties that are not displayed for the user but important).

When switch to a persistent object (session bound) it preserves the
values, changing only the ones that changed

This is kinda awkward, I solved using a persistent strategy due the
lack of time of the project, but I really would like to check it
deeper, as I'd not like to have a lot of objects floating around my
session.

Best regards

On 8/19/06, Ryan Holmes [EMAIL PROTECTED] wrote:
 Just to clarify, Tapestry does not overwrite bound objects with new
 instances. iow, if a bound value is a Hibernate proxy, that's what
 you'll get -- for better or worse ;)

 -Ryan

 On Aug 19, 2006, at 7:20 AM, Vinicius Carvalho wrote:

  Hello there! As I said on previous emails, I'm migrating a JSF app
to
  tapestry, I'm about to finish. One thing that is really tricking me
is
  the way that the Hibernate entities are bound on both frameworks (I
  might being doing something wrong here).
 
  My edit page has an object (Event) that has a many-to-one
relationship
  to User, so on the same screen I add/edit an user and an event.
 
  Well on the JSF, when I hit the service  layer (both apps share the
  same model desing, with same entities and spring transaction managed
  classes) the Event has an user (that is a EnhancedByCGLIB user) with
  all it's original values (even those that are not displayed to the
  user on the screen), so calling: eventDAO.update(event), updates my
  user as well.
 
  On Tapestry side, hitting the service layer, the Event has a User
  (POJO) and all other values have just gone, it seems that tapestry,
  when binding it's values it does something like this:
 
  User user = new User();
  ... //set properties present on the screen, dump all other from
  database
  event.setUser(user);
 
  This not only mess my database, but also makes hibernate to create a
  new user for my event, instead of updating an existing one.
 
  Well, I'm pretty sure I'm doing stupid things here, could anyone
  help me out?
 
  Best Regards
 
  Vinicius
 
 
-
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 

 Ryan Holmes, CISSP

 [EMAIL PROTECTED]
 ph. (213) 626-0026



 -
 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: its working, but a problem

2006-08-20 Thread Detlef Schulze
sigh Like always: please post some code, it is quite hard to guess
what you did wrong when it is not visible WHAT you did exactly

cheers,
detlef


-Original Message-
From: zqzuk [mailto:[EMAIL PROTECTED] 
Sent: Sonntag, 20. August 2006 17:15
To: users@tapestry.apache.org
Subject: its working, but a problem


Hi, thanks for your hints, and its working, generally, but i m stuck
with a
problem which i doubt if its a bug?

suppose my form produces rows such like this, data are retrieved from
databases

---
name attended
--
johnticked
henry  unticked
-

and now i change change it by checking the boxes to

---
name attended
--
johnunticked
henry  ticked
-

and click Submit. supprisingly, i got such result:
---
name attended
--
johnticked
henry  ticked
-


then again i unchecked the box for john on the last page produced by the
first submit, and submitted 
the form again, and again surprisingly i got the correct result:
---
name attended
--
johnunticked
henry  ticked
-


i tried this many times, it keeps doin the same:

when the page is loaded with some boxes ticked and some unticked, if i
untick the ticked boxex, and tick some unticked boxes and then submit
the
form. on first submit, those originally unticked boxex are all ticked,
producing the correct result; however, those origianlly ticked boxes are
still ticked, although i did untick them before submitting; then if i do
untick again for all ticked boxes and submit the form for the second
time, i
got correct result - i.e. originally ticked boxes are unticked this
time.
and if i do 3rd, 4th ... submit its all correct. its just the first
submit
that produce incorrect result for orginally ticked boxes!

i m not sure if theres something wrong with my code but i dont think so
cause the 2nd, 3rd, 4th ... submits work correctly wat have i done
wrong? any hints please, thanks!
-- 
View this message in context:
http://www.nabble.com/hi%2C-is-it-possible-to-do-this-with-tapestry...-t
f2126696.html#a5894223
Sent from the Tapestry - User forum 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]



RE: Tapestry with Hibernate vs JSF with Hibernate (Object binding question)

2006-08-19 Thread Detlef Schulze
I don't fully understand, but it sounds a bit like you have a property
on your page which should be marked as persistent but isn't.

Could you post some code (java, page, html)?

Cheers,
Detlef


-Original Message-
From: Vinicius Carvalho [mailto:[EMAIL PROTECTED] 
Sent: Samstag, 19. August 2006 16:21
To: Tapestry users
Subject: Tapestry with Hibernate vs JSF with Hibernate (Object binding
question)

Hello there! As I said on previous emails, I'm migrating a JSF app to
tapestry, I'm about to finish. One thing that is really tricking me is
the way that the Hibernate entities are bound on both frameworks (I
might being doing something wrong here).

My edit page has an object (Event) that has a many-to-one relationship
to User, so on the same screen I add/edit an user and an event.

Well on the JSF, when I hit the service  layer (both apps share the
same model desing, with same entities and spring transaction managed
classes) the Event has an user (that is a EnhancedByCGLIB user) with
all it's original values (even those that are not displayed to the
user on the screen), so calling: eventDAO.update(event), updates my
user as well.

On Tapestry side, hitting the service layer, the Event has a User
(POJO) and all other values have just gone, it seems that tapestry,
when binding it's values it does something like this:

User user = new User();
... //set properties present on the screen, dump all other from database
event.setUser(user);

This not only mess my database, but also makes hibernate to create a
new user for my event, instead of updating an existing one.

Well, I'm pretty sure I'm doing stupid things here, could anyone help me
out?

Best Regards

Vinicius

-
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: Re: Contrib:Table problems with layout

2006-08-11 Thread Detlef Schulze
You should remove the hivemind libs from the eclipse start configuration
for your container (at least that was the case with jetty)

-Original Message-
From: hv @ Fashion Content [mailto:[EMAIL PROTECTED] 
Sent: Freitag, 11. August 2006 17:08
To: users@tapestry.apache.org
Subject: Re: Contrib:Table problems with layout

mimetypes  DOCTYPES influence wether the browser goes in quirks mode or

compliant mode.

When you serve a page using a web server it may get a diffrent mime type

than the one you get if you show a file on your harddisk.

Test like for like when comparing starting out with identical files and 
modify them until you get rid of/first see the problem. Use Firefox with

extra developer plugins, then you can see what mode the browser is
using.

http://www.456bereastreet.com/ links to some really good books on CSS

Henrik

Murray Collingwood [EMAIL PROTECTED] skrev i en
meddelelse 
news:[EMAIL PROTECTED]
 This sounds like an HTML issue.

 Tapestry components are added into standard HTML, they do not generate
any 
 different
 HTML than you have already specified.

 For example, you say the contribTable appears at the right of the
page, 
 perhaps you are
 specifying widths on your static tables - maybe you need to add the
width 
 parameter to your
 contribTable.

 Cheers
 mc

 On 10 Aug 2006 at 18:48, Vinicius Carvalho wrote:

 Hello there! *I've seen some discussions regarding this topic but
 didn't find one that could help* I was having problems with the
layout
 of my table, but I was ignoring, thinking that might have been a tag
 opened that I left open. Today I look it closer and found out that
 seems to be a bug. My page uses a template with
 renderbody/renderblock, it's something like this., really simple:

 html @shell
 body @body
 table
 tr
 td//header goes here/td
 /tr
 tr
 tdspan [EMAIL PROTECTED]//td
 /tr
 /table

 That's it for the template. The page I insert the table has a table
and a 
 form:

 span jwcid=@MyLayout
 span @Form
 table .../table
 br
 table jwcid=contribTable/table
 /span
 /span

 What's happening is that the contrib table is being displayed totally
 out of place, on the right side of the page.
 I've replaced the dynamic generated table by a static one, and It is
 laid on the correct place.

 Any ideas?

 PS:Hope get some answers on this post (after so many empty :( ) :P

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




 FOCUS Computing - web design
 Mob: 0415 24 26 24
 [EMAIL PROTECTED]
 http://www.focus-computing.com.au




 -- 
 No virus found in this outgoing message.
 Checked by AVG Free Edition.
 Version: 7.1.405 / Virus Database: 268.10.8/415 - Release Date:
9/08/2006


 -
 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: Strange HiveMind/T4 error message

2006-08-11 Thread Detlef Schulze
You should remove the hivemind libs from the eclipse start configuration for 
your container (at least that was the case with jetty)

-Original Message-
From: James Carman [mailto:[EMAIL PROTECTED] 
Sent: Freitag, 11. August 2006 17:05
To: 'Tapestry users'
Subject: RE: Strange HiveMind/T4 error message

There is a workaround for this.  I don't remember it off the top of my head,
but many have encountered this.  Just search this list for the answer.  It
has something to do with the Jetty launcher in Eclipse setting up duplicate
classpaths or something.

-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of hv @ Fashion Content
Sent: Friday, August 11, 2006 11:02 AM
To: users@tapestry.apache.org
Subject: Re: Strange HiveMind/T4 error message

Hivemind and Tapestry JARs need to be in the same place if you use Tomcat, 
not sure about Jetty. The problem arisises if they are not using the same 
classloader. Do you have HM JARs in a shared/lib directory?
I just put everything in WEB-INF/lib. Other options are just too much bother

with classloader issues.

Henrik

Michael Gentry (Yes, I'm a Contractor) [EMAIL PROTECTED] 
skrev i en meddelelse news:[EMAIL PROTECTED]
Environment: T4 4.0.2, HM 1.1.1, Jetty 5.1.8, Eclipse 3.2, JettyLauncher
1.4.1

In Eclipse, I have a Tapestry and HiveMind User Library defined which
specifies all the JAR files in a directory path outside of the Eclipse
workspace.  I included these User Libraries in my project and all was fine.
I could launch using JettyLauncher and run/debug.  I then removed the User
Libraries from the project and copied the JAR files directly into the
project¹s context/WEB-INF/lib directory.  All was no longer fine.  I would
get the following strange error.  If you look closely, the path it specifies
as containing the duplicate module is the same exact path.  Any ideas why?
I removed all the JAR files and went back to using the User Library
defintions.

Thanks!

/dev/mrg

PS. When I ran using the HiveMind User Library definition, but had the T4
JAR files copied into context/WEB-INF/lib, I¹d get a similar error message.
In a nutshell, I couldn¹t have HiveMind or Tapestry JAR files in
context/WEB-INF/lib.



org.apache.hivemind.ApplicationRuntimeException: Error: Module hivemind is
duplicated!  Definition in
jar:file:/usr/local/mrg/Projects/eclipse/workspace/TapestryStarter/context/W
EB-INF/lib/hivemind-1.1.1.jar!/META-INF/hivemodule.xml has been ignored in
favor of existing definition from
jar:file:/usr/local/mrg/Projects/eclipse/workspace/TapestryStarter/context/W
EB-INF/lib/hivemind-1.1.1.jar!/META-INF/hivemodule.xml.
org.apache.hivemind.impl.StrictErrorHandler.error(StrictErrorHandler.java:39
)
org.apache.hivemind.impl.RegistryInfrastructureConstructor.addModuleDescript
or(RegistryInfrastructureConstructor.java:202)
org.apache.hivemind.impl.RegistryBuilder.processModuleDescriptorProvider(Reg
istryBuilder.java:168)
org.apache.hivemind.impl.RegistryBuilder.constructRegistry(RegistryBuilder.j
ava:143)
org.apache.tapestry.ApplicationServlet.constructRegistry(ApplicationServlet.
java:253)
org.apache.tapestry.ApplicationServlet.init(ApplicationServlet.java:194)
org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:383)
org.mortbay.jetty.servlet.ServletHolder.start(ServletHolder.java:243)
org.mortbay.jetty.servlet.ServletHandler.initializeServlets(ServletHandler.j
ava:446)
org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(WebApplic
ationHandler.java:321)
org.mortbay.jetty.servlet.WebApplicationContext.doStart(WebApplicationContex
t.java:509)
org.mortbay.util.Container.start(Container.java:72)
org.mortbay.http.HttpServer.doStart(HttpServer.java:708)
org.mortbay.util.Container.start(Container.java:72)
com.iw.plugins.jettyrunner.PluginRunner.launch(PluginRunner.java:282)
com.iw.plugins.jettyrunner.PluginRunner.launch(PluginRunner.java:104)
com.iw.plugins.jettyrunner.PluginRunner.main(PluginRunner.java:75)





-
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: Re: Contrib:Table problems with layout

2006-08-11 Thread Detlef Schulze
Ups. Sorry, wrong thread.

-Original Message-
From: Detlef Schulze 
Sent: Freitag, 11. August 2006 17:13
To: Tapestry users
Subject: RE: Re: Contrib:Table problems with layout

You should remove the hivemind libs from the eclipse start configuration
for your container (at least that was the case with jetty)

-Original Message-
From: hv @ Fashion Content [mailto:[EMAIL PROTECTED] 
Sent: Freitag, 11. August 2006 17:08
To: users@tapestry.apache.org
Subject: Re: Contrib:Table problems with layout
[...]

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



RE: Forcing all @If to evaluate to True on Form Submit

2006-08-04 Thread Detlef Schulze
Javascript runs on the client browser, the @If is evaluated on the
server

What are you trying to accomplish ?!?!?!?!?


-Original Message-
From: Karthik N [mailto:[EMAIL PROTECTED] 
Sent: Freitag, 4. August 2006 14:45
To: Tapestry users
Subject: Forcing all @If to evaluate to True on Form Submit

I have a rather bizzare requirement  (I think)

My Form has 3 or 4 @If components.  At any point only one of the @If is
True, all others are false.

But, for a particular Submit button I want all the @If to force-evaluate
to
True on the Rewind.

One ugly way is to actually change the HTML using javascript so that all
the
@Ifs have 'True' set in their values.

But is there a more elegant way?

If not, I guess I'll have to write my own custom component.

Thanks, Karthik

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



RE: dynamic links to non tapestry pages

2006-07-28 Thread Detlef Schulze
Use the Any component to create the link.

Cheers,
detlef

-Original Message-
From: Jani Lindqvist [mailto:[EMAIL PROTECTED] 
Sent: Freitag, 28. Juli 2006 14:55
To: Tapestry users
Subject: dynamic links to non tapestry pages

I tried to find a solution to this from the documents but couldnt really
find it.

We just switched from spring mvc to tapestry and when adding new pages i
need to keep the old pages also fully functional until they are converted to
tapestry.

I have a page where i loop a list of objects with For component, and for
every object i´d like to create a link to a page generated by spring mvc and
pass the id of the object in the url.

in other words i need a a href=details.html?id=Nitemtitle/a link per
object in the list, where N is the id of the object

how should it be done?

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



RE: Streaming files from Tapestry

2006-07-27 Thread Detlef Schulze
If you only want to stream a file to the browser the example in the faq
is perfectly ok.

If you want to do something else, for example create an image from a
database blob or whatever for displaying it in a page, you should create
your own engine service for that.

IIRC there is an example for that (ChartService) in the demo application
that you can download (workbench or virtual library) at least that was
the case with tap 3.

Cheers,
detlef

-Original Message-
From: Murray Collingwood [mailto:[EMAIL PROTECTED] 
Sent: Donnerstag, 27. Juli 2006 09:49
To: tapestry users
Subject: Streaming files from Tapestry

Hi all

This faq page http://tapestry.apache.org/tapestry4/faq.html answers a
common question 
people have about how to serve images or other binary files from a
Tapestry application.  
The details are provided under:

2.6. How do I stream a file to the user from Tapestry?

The example that follows works for a 'Document' type which is fine,
however the 'disowner' at 
the bottom of the answer indicates that this is not the way this should
be done.  Also, recently 
in the forum when somebody tried this they found it only worked if you
were sending this 
document as the only result (not as an image or other object type in the
midst of a page).

So, can somebody please document the answer to this question how it
should be done?  And 
of course - update the faq.

Cheers
mc



FOCUS Computing - web design
Mob: 0415 24 26 24
[EMAIL PROTECTED]
http://www.focus-computing.com.au




-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.4/401 - Release Date:
26/07/2006


-
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: Controlling length of session

2006-07-27 Thread Detlef Schulze
Do you send the session cookie? Or include the jsessionid= in the
URL? Otherwise this would be the normal behaviour because there is no
way for the server to identify the right session.

Cheers,
detlef




-Original Message-
From: Kevin Menard [mailto:[EMAIL PROTECTED] 
Sent: Donnerstag, 27. Juli 2006 16:56
To: 'Tapestry users'
Subject: RE: Controlling length of session

 -Original Message-
 From: Rui Pacheco [mailto:[EMAIL PROTECTED]
 Sent: Thursday, July 27, 2006 10:53 AM
 To: Tapestry users
 Subject: Re: Controlling length of session
 
 I believe sessions also timeout after 20 minutes of inactivity, but I
am
 not
 sure of the exact length of time.

Okay, maybe I jumped the gun.  I'll have to spend a bit more time
tracking
this down.

Basically, I'm trying to simulate a browser via HttpURLConnection, but
it
seems my session keeps dropping.  The fact the connection was being
closed
was the best I could come up with :-/

-- 
Kevin


-
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: Controlling length of session

2006-07-27 Thread Detlef Schulze
Don't use it. Use

http://jakarta.apache.org/commons/httpclient/

instead.

-Original Message-
From: Kevin Menard [mailto:[EMAIL PROTECTED] 
Sent: Donnerstag, 27. Juli 2006 17:20
To: 'Tapestry users'
Subject: RE: Controlling length of session

 -Original Message-
 From: Detlef Schulze [mailto:[EMAIL PROTECTED]
 Sent: Thursday, July 27, 2006 11:17 AM
 To: Tapestry users
 Subject: RE: Controlling length of session
 
 Do you send the session cookie? Or include the jsessionid= in the
 URL? Otherwise this would be the normal behaviour because there is no
 way for the server to identify the right session.

Yeap.  I'm capturing the cookie the first time around and sending it
back on
subsequent requests.  I may have that part hosed though.  I have to
admit
that I don't think I really understand HttpURLConnection.  It's awfully
convoluted way to be doing HTTP stuff.

Thanks for the help.

-- 
Kevin


-
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]



Dynamically adding pages to T3 application

2006-07-17 Thread Detlef Schulze
Hi everybody,

we have a rather large application that runs with homegrown framework
and that we will migrate to tapestry. Since spindle is not available for
tap 4 yet it has been decided to start with t3 and later move to t4.

The problem is that this application is based on a modular design and
modules can be added and removed in runtime. Modules contain business
logic and pages.

So the question is if it is possible somehow to add/remove tapestry
pages in runtime ... I would be very grateful for hints or pointers to
possible solutions how to accomplish this.

Cheers,
Detlef

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



RE: All proposed logos so far

2006-05-19 Thread Detlef Schulze
First of all I would like to state that I am quite happy with the logo
as it is now and I do not see any need for a change.

Second, and I really do not want to insult anybody, there are already
lots of open source projects that have logos that may cause eye cancer.

If I have learned one thing about graphic design, then it is that this
is a task that should be done by professional designers and definitely
not by developers. The same applies to java development done by graphic
designers.

Just my 0.02 euro

detlef





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



RE: List blocking files

2006-05-18 Thread Detlef Schulze
-1

This would probably slow down the list too much ...

Imagine a 1 MB attachment sent to 2000 people. That's 1 * 2000 = 2GB
traffic.


-Original Message-
From: Rui Pacheco [mailto:[EMAIL PROTECTED] 
Sent: Donnerstag, 18. Mai 2006 13:04
To: Tapestry users
Subject: Re: List blocking files

+1

On 5/18/06, Andreas Bulling [EMAIL PROTECTED] wrote:

 Just because during the logo discussion the problem occured several
 times: Why does the list block attachments at all? Would it be
possible
 to allow attachments? I'd vote +1 for that...

 Kind regards,
   Andreas

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




-- 
Cumprimentos,
Rui Pacheco

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



RE: tapestryforums.com

2006-05-09 Thread Detlef Schulze
+1

Stop sending mails from the forum to the list. This is really annoying.

-Original Message-
From: Jesse Kuhnert [mailto:[EMAIL PROTECTED] 
Sent: Dienstag, 9. Mai 2006 15:27
To: users@tapestry.apache.org
Subject: tapestryforums.com

I think some agreement needs to be come to about tapestryforums.com. As
we
receive a ~lot~ of spam from this service every day I'm less and less
enthusiastic about its continued operation. (at least as far as sending
emails to our users list goes)

Please find a way to fix your user registration to disallow spam bots or
discontinue your service altogether. I speak only for myself in this
matter
but if not stopped by the other devs have no problem taking it up with
the
proper entities at the ASF to get it stopped.

--
Jesse Kuhnert
Tacos/Tapestry, team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind.

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