Re: ERXDisplayGroup --- ERXBatchingDisplayGroup

2012-04-09 Thread Ron X
but in such case in DirectAction i can not do common action. so i will need to make every time action for the component in different context. for example - i will use this ERXDirectActionBatchNavigationBar for search pagination, main page pagination, user cart pagination. so for 1 component i need

Quick Question about ListExcel*

2012-04-09 Thread Markus Ruggiero
Hi, I have Excel listings working in my D2W app. How can I specify the default column width? I have not found anything helpful yet. Could this be done in ExcelStyles.plist? How? Thanks for your help ---markus--- ___ Do not post admin requests to

Re: preventing direct component access

2012-04-09 Thread Patrick Robinson
Yeah, that _does_ sound rather annoying! :-P Is there a perhaps less-annoying way to approximate similar behavior? On Apr 5, 2012, at 2:46 PM, Mike Schrag wrote: I changed this in WO core, and unfortunately it's kind of annoying to fix without some hackery, but in

Re: preventing direct component access

2012-04-09 Thread Mike Schrag
probably just catch any time you have a .wo in your URL and throw ... you could do it in the url rewriter or something. i don't think there's ever any reason to have a .wo reference in a normal app. ms On Apr 9, 2012, at 10:00 AM, Patrick Robinson wrote: Yeah, that _does_ sound rather

Rest Components Questions

2012-04-09 Thread Emmanuel Tote Dominguez Torres
Good Afternoon List, hope everybody is ok, I am working using ERRest and I had this wild idea, so I would like to know if it is possible to achieve this and some pointers (if it is indeed possible), I have been using the automatic html routing and it has been working great, but I want to take

Re: preventing direct component access

2012-04-09 Thread Patrick Robinson
But it doesn't even have to have the .wo on the end of the page name for this hack to work. If the app has a SecretPage.wo component, then a URL like this will instantiate and return it: https://myhost.mydomain/cgi-bin/WebObjects/MyApp.woa/wo/SecretPage//88.99 - Patrick On Apr 9, 2012,

Re: preventing direct component access

2012-04-09 Thread Mike Schrag
Yeah, you're right ... might be kind of a pain in the butt to fix without hackery then :) On Apr 9, 2012, at 3:41 PM, Patrick Robinson wrote: But it doesn't even have to have the .wo on the end of the page name for this hack to work. If the app has a SecretPage.wo component, then a URL

Re: preventing direct component access

2012-04-09 Thread Amedeo Mantica
Try this in your Application.java: public WOComponent pageWithName(String pageName, WOContext context) { if((context.senderID()==null)(componentRequestHandlerKey().equals(context.request().requestHandlerKey( {

Re: preventing direct component access

2012-04-09 Thread Patrick Robinson
That code represents the per-app version of the conventional wisdom that I started out questioning, below. The problem with this is that the user can specifiy a senderID (as in the URL I gave there), and then senderID() will *not* return null; in the case below, it'll be 99. On Apr 9, 2012,

Re: Optimizing EOF Applications - what does this mean to you?

2012-04-09 Thread Ken Anderson
Hey Pascal, I didn't know databases had BLOG columns now ;) On Apr 3, 2012, at 3:41 PM, Pascal Robert wrote: Using the cache correctly (to make less requests to backend) Dealing with mass fetching/updates/deletes Design (for example: having BLOG columns in a separate table) Hi, My topic

Re: Optimizing EOF Applications - what does this mean to you?

2012-04-09 Thread Ken Anderson
Chuck, Do add what Pascal said - I would go a little further into what the pros and cons are of the different inheritance structures. When to choose single table for performance over horizontal (and tell everyone to never use vertical! ) :) Ken On Apr 3, 2012, at 3:37 PM, Chuck Hill wrote:

Re: preventing direct component access

2012-04-09 Thread Amedeo Mantica
Yes, true I didn't noticed. Is very bad Amedeo On 09/apr/2012, at 22:52, Patrick Robinson wrote: That code represents the per-app version of the conventional wisdom that I started out questioning, below. The problem with this is that the user can specifiy a senderID (as in the URL I gave

Re: preventing direct component access

2012-04-09 Thread Ramsey Gurley
On Apr 5, 2012, at 11:39 AM, Patrick Robinson wrote: My point here is, there are more ways of hacking a WebObjects URL than I had previously considered. Does anyone have what they consider to be an ironclad solution to this problem? D2W ;-) Ramsey

Re: preventing direct component access

2012-04-09 Thread Cheong Hee (Gmail)
Hi Patrick This is an interesting old issue. Just curious, what will be your ultimate ideal resolution to this? Bar the access of the page, or reduce the redundant sessions creation or something else ... Cheers Cheong Hee - Original Message - From: Patrick Robinson p...@vt.edu

Log4J logging during WOUnit tests

2012-04-09 Thread Paul Hoadley
Hi Henrique, Should Log4J logging in EOs under test just work during WOUnit testing? The EOs and WOUnit tests are in a single framework. I have Properties.paulh in that framework where I'm setting log levels and properties for a console appender. I can see the properties get picked up at