Re: semi OT: converting strings to 80 column wide "pretty print"

2010-07-11 Thread Joe Little
And I have answered myself. The key wasn't max-width, but setting a pre-wrap for my tags: max-width: 90%; white-space: pre-wrap; On Sun, Jul 11, 2010 at 8:57 PM, Joe Little wrote: > One could say I'm looking for a better ERXSimpleHTMLFormatter -- one > that inserts breaks at appropriate points,

Re: semi OT: converting strings to 80 column wide "pretty print"

2010-07-11 Thread Joe Little
One could say I'm looking for a better ERXSimpleHTMLFormatter -- one that inserts breaks at appropriate points, but perhaps I'm looking for the wrong solution, and that CSS is the right thing here? On Sun, Jul 11, 2010 at 8:43 PM, Joe Little wrote: > I have a request in to deal with the usual Wo

semi OT: converting strings to 80 column wide "pretty print"

2010-07-11 Thread Joe Little
I have a request in to deal with the usual Word text pasted into a large text field. I found the great examples already on this list for solving odd character conversion. What I'm stuck on and hoping to avoid re-inventing a wheel on is converting the text from one long line whether for a browser or

Re: Reflexive relationship with same relationship name?

2010-07-11 Thread Mike Schrag
I've never had a problem with this ... It should work exactly like a regular relationship with a join entity. We routinely had "category" entities with parent and children categories via a "categorystructure" join. Deeply nested structures are pretty tricky to query optimally, though, with the n

Re: Reflexive relationship with same relationship name?

2010-07-11 Thread Simon
the short answer from our experience is that it's more pain than gain. we model these kinds of relationships "manually" - for example, in a typically user1 to user2 relationship we have a user table, and a "link" table in which we store the pk of user1, and the pk of user2, but we only model the r

Re: Reflexive relationship with same relationship name?

2010-07-11 Thread Joe Moreno
Chuck & Farrukh, Thanks for the feedback - it's much appreciated! - Joe On Jul 11, 2010, at 11:33:06, Farrukh Ijaz wrote: Very important point highlighted by Chuck. EOF is very efficient in maintaining all types of relations including recursive. You must becareful of cyclic reference as it

Re: Reflexive relationship with same relationship name?

2010-07-11 Thread Farrukh Ijaz
Very important point highlighted by Chuck. EOF is very efficient in maintaining all types of relations including recursive. You must becareful of cyclic reference as it may lead into stack overflow situation. Also make sure your model should care of the delete rule otherwise... I just deleted my

Re: Reflexive relationship with same relationship name?

2010-07-11 Thread Chuck Hill
I think that should be fine. You might want to plan out how you are going to qualify this for fetches. On Jul 10, 2010, at 2:25 PM, Joe Moreno wrote: > Is it possible for EOF to support a reflexive relationship back to the same > Entity with the same relationship property name through a flat