.getRequestURI(); inside tapestry app

2014-03-08 Thread nhhockeyplayer nashua
Apache Maven 3.0.3 (r1075438; 2011-02-28 12:31:09-0500)
Java version: 1.6.0_32, vendor: Sun Microsystems Inc.
OS name: windows 7, version: 6.1, arch: x86, family: windows
T-5.4

Good Morning Folks,

I am trying to figure out why my request URI is compounded during this login 
attempt.

public Object onActionFrompphlLoginForm() throws IOException
{
Subject currentSubject = securityService.getSubject();
...
String requestURI = 
requestGlobals.getHTTPServletRequest().getRequestURI();
...
}

in debugger it looks like this...

/pphl/login.pphlloginform.pphlloginform

Thanks in advance for any tips

Best regards 
and thanks... KEN 

character sequence UTF8 failure ?

2014-03-08 Thread nhhockeyplayer nashua
Hi Folks,

Is this legal to do ?

?xml version=1.0 encoding=UTF-8?
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN 
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
html 

...
html

I am having difficulty with this character sequence...

205 a 
href=http://www.monsterenergy.com/;206
 img src=images/monster.jpg image=images/monster.jpg width=150 
height=60 title=© 2013 MonsterEnergy/207  
   /a
page fails on the title 

Application Exception

Tapestry Version: 5.4-beta-2


Application Version: 1.0-SNAPSHOT-1394283867462
An exception has occurred processing this request.
Exception assembling root component of page Home: Failure parsing 
template classpath:org/tynamo/examples/pphl/components/Layout.tml: 
Invalid byte 1 of 1-byte UTF-8 sequence.
java.lang.RuntimeExceptionException
 assembling root component of page Home: Failure parsing template 
classpath:org/tynamo/examples/pphl/components/Layout.tml: Invalid byte 1
 of 1-byte UTF-8 sequence.
org.apache.tapestry5.ioc.internal.OperationExceptionFailure parsing template 
classpath:org/tynamo/examples/pphl/components/Layout.tml: Invalid byte 1 of 
1-byte UTF-8 sequence.
locationclasspath:org/tynamo/examples/pphl/components/Layout.tml, line 206
  

Re: Tapestry App Not booting right - dependency tree help

2014-03-08 Thread Bob Harner
Ken, you're shooting yourself in your own foot. Without an apology for
those rants you might have trouble getting much help on this mailing
list from the many people you insulted. Just saying...

On Thu, Mar 6, 2014 at 3:17 PM, Thiago H de Paula Figueiredo
thiag...@gmail.com wrote:
 On Sun, 02 Mar 2014 15:30:23 -0300, nhhockeyplayer nashua
 nhhockeypla...@hotmail.com wrote:

 What I find worse though is open source project committers that
 deliberately maintain broken build tree compilation


 Who? The Tapestry team? If not, go complain in the right place.

 [long off-topic ramble that should have never]


 I think when America takes back ground stolen things will get better.
 Until then I wouldnt go commercial with anything unless its bare bones tight
 and independent. Americans are the best software engineers int he world. And
 the most generous.


 Dude, that's so much off-topic bullshit (both off-topic and bullshit, not to
 mention jingoistic and xenophobic) in that paragraph that I'll restrain
 myself and not answer it.


 --
 Thiago H. de Paula Figueiredo
 Tapestry, Java and Hibernate consultant and developer
 http://machina.com.br

 -
 To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
 For additional commands, e-mail: users-h...@tapestry.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re : Use cases for the any component

2014-03-08 Thread nhhockeyplayer nashua
I have had good luck animating structural fluff for the stuff using Any and 
having a custom component under the hood.

a href=# model=currentObject

t:pagelink t:page=Edit context=editPageContext 
t:Any t:id=imageComponentId id=imageComponentId 

img 
id=ImageWidget src=${photoLink} alt=${currentObject} 
width=200 height=160 
title=${currentObject.photo.fileName}
model=currentObject
image=${photoLink}

/

/t:Any
/t:pagelink
/a  

Re: character sequence UTF8 failure ?

2014-03-08 Thread Cezary Biernacki
I think  character is invalid. Check if your text editor is set up to
open this file in UTF-8.

Best regards,
Cezary
 On 8 Mar 2014 14:41, nhhockeyplayer nashua nhhockeypla...@hotmail.com
wrote:

 Hi Folks,

 Is this legal to do ?

 ?xml version=1.0 encoding=UTF-8?
 !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN 
 http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
 html 
 
 ...
 html

 I am having difficulty with this character sequence...

 205 a href=
 http://www.monsterenergy.com/;206
   img src=images/monster.jpg image=images/monster.jpg width=150
 height=60 title=© 2013 MonsterEnergy/207
 /a
 page fails on the title

 Application Exception

 Tapestry Version: 5.4-beta-2


 Application Version: 1.0-SNAPSHOT-1394283867462
 An exception has occurred processing this request.
 Exception assembling root component of page Home: Failure parsing
 template classpath:org/tynamo/examples/pphl/components/Layout.tml:
 Invalid byte 1 of 1-byte UTF-8 sequence.
 java.lang.RuntimeExceptionException
  assembling root component of page Home: Failure parsing template
 classpath:org/tynamo/examples/pphl/components/Layout.tml: Invalid byte 1
  of 1-byte UTF-8 sequence.
 org.apache.tapestry5.ioc.internal.OperationExceptionFailure parsing
 template classpath:org/tynamo/examples/pphl/components/Layout.tml: Invalid
 byte 1 of 1-byte UTF-8 sequence.
 locationclasspath:org/tynamo/examples/pphl/components/Layout.tml, line 206



T5.4 and JQuery Dev Tools/Plugins/IDE best tools available now

2014-03-08 Thread nhhockeyplayer nashua
Hi Folks,

I am seeing a surge of demand for JQuery, node.js, bootstrap, backbone, yadda 
yadda yadda

I am not sure this twisted cryptic object oriented way of managing dom objects 
is sufficient to throw away the whole server side.

From ambitious developers that are coming from PHP dot.net or graphic arts... 
who are leading the way into javascript code bases that are pure 100% 
javascript...

leads me to believe... as a veteran java developer... 

that the javascript will go thru the clouds and will be a huge pile of barely 
readable javascript and I am not sure if it will pass the manageability test.

What is worrisome is that they are coming out with MVC model binding stuff too.

I would like to take T5.4 into the javascript jquery tough test.

can anyone suggest eclipse plugins, editors, maven components that will enable 
me to out perform these 100% pure javascript zealouts ?

I believe I can get better modeling out of the whole stack instead of pushing 
everything into the script tag.

I dont know how far they think they will go without annotations.

Anyway, your help is appreciated. Is it not time for the java guys to start 
sticking together ?
I havent aquit/// yet
Best regards 
and thanks... KEN