Re: [TRINIDAD] LocaleElements js cannot be found

2010-02-09 Thread A. Nieves
For anyone who stumbles with the same problem:

You have to make the Seam context available for the Trinidad resources
servlet (maybe because Seam manages the locale? idn) as explained in
30.1.4.8. Context management for custom servlets (
http://docs.jboss.org/seam/latest/reference/en-US/html_single/#d0e24092).

Redux; you'll have to add this entry to the components.xml:

 web:context-filter url-pattern=/adf/*/

On Tue, Feb 9, 2010 at 2:15 AM, Matthias Wessendorf mat...@apache.orgwrote:

 some (paranoid) security for resources folder? :)

 -Matthias

 On Tue, Feb 9, 2010 at 7:07 AM, A. Nieves daraii.t...@gmail.com wrote:
  Can anyone that uses Seam give some input?
  If I deploy a test project in JBoss 5.1 I get an
 HTTP Status 403 - Access to the requested resource has
  been denied
   error when trying to see the
  http://host:port/test/adf/jsLibs/resources/LocaleElements_es1_2_12.js
  resource, but I can access the http://
  host:port/test/adf/jsLibs/Common1_2_12.js
 
 
  Thanx.
 
  On Tue, Feb 9, 2010 at 1:30 AM, Matthias Wessendorf mat...@apache.org
 wrote:
 
  actually not sure on that. Never done Seam for over a 1.5 years
 
  On Mon, Feb 8, 2010 at 11:44 PM, A. Nieves daraii.t...@gmail.com
 wrote:
   I created a test EAR project with Facelets 1.1.15 , Trinidad 1.2.12
 and
   MyFaces 1.2.8 without Seam and I can see the LocaleElements resource.
 Can
  it
   be something in Seam's configuration? It's weird because I can see the
   Common1_2_12.js.
  
  
   On Mon, Feb 8, 2010 at 11:59 AM, A. Nieves daraii.t...@gmail.com
  wrote:
  
   Yes, I have another example deployment (the only difference it is a
 WAR
  and
   not an EAR) and it works correctly. But I was wondering what can be
   different in my current configuration because it does't work.
  
  
   On Mon, Feb 8, 2010 at 3:34 AM, Matthias Wessendorf 
 mat...@apache.org
  wrote:
  
   I see it here:
  
  
  
 
 http://example.irian.at/trinidad-components-showcase/adf/jsLibs/resources/LocaleElements_es1_2_14.js?loc=es
  
   -Matthias
  
   On Sun, Feb 7, 2010 at 11:49 PM, A. Nieves daraii.t...@gmail.com
  wrote:
Hello,
   
I'm having problems when I try to submit a form and one of the
 input
elements has a validator that uses LocaleElements javascript (In
 my
particular case the *LocaleElements_es1_2_12.js*) The script is
  included
   in
the page
   
 (src=/test/adf/jsLibs/resources/LocaleElements_es1_2_12.js?loc=es)
  but
   the
resource is not available (if you try to load the js in the web
 page
  it
displays an error). The other js resources, such as
  *Common1_2_12.js*,
   are
found.
   
If I change the locale I have the same problem.
   
I'm using Facelets 1.1.15 , Seam 2.2, Trinidad 1.2.12 and MyFaces
  1.2.8
   and
this is my *web.xml* (
   
  
 
 https://docs.google.com/leaf?id=0B1ms0mMJOqpPMDA1YTBiMzYtMzVjNi00YmVhLWFmOTItNGIyNjU1NDdlNjE2hl=en
)
   
   
I appreciate the help. Thnx.
   
  
  
  
   --
   Matthias Wessendorf
  
   blog: http://matthiaswessendorf.wordpress.com/
   sessions: http://www.slideshare.net/mwessendorf
   twitter: http://twitter.com/mwessendorf
  
  
  
  
 
 
 
  --
  Matthias Wessendorf
 
  blog: http://matthiaswessendorf.wordpress.com/
  sessions: http://www.slideshare.net/mwessendorf
  twitter: http://twitter.com/mwessendorf
 
 



 --
 Matthias Wessendorf

 blog: http://matthiaswessendorf.wordpress.com/
 sessions: http://www.slideshare.net/mwessendorf
 twitter: http://twitter.com/mwessendorf



Re: [TRINIDAD] LocaleElements js cannot be found

2010-02-09 Thread Matthias Wessendorf
cool!

Do you mind adding this info to the wiki page ?

-Matthias

On Tue, Feb 9, 2010 at 5:31 PM, A. Nieves daraii.t...@gmail.com wrote:
 For anyone who stumbles with the same problem:

 You have to make the Seam context available for the Trinidad resources
 servlet (maybe because Seam manages the locale? idn) as explained in
 30.1.4.8. Context management for custom servlets (
 http://docs.jboss.org/seam/latest/reference/en-US/html_single/#d0e24092).

 Redux; you'll have to add this entry to the components.xml:

  web:context-filter url-pattern=/adf/*/

 On Tue, Feb 9, 2010 at 2:15 AM, Matthias Wessendorf mat...@apache.orgwrote:

 some (paranoid) security for resources folder? :)

 -Matthias

 On Tue, Feb 9, 2010 at 7:07 AM, A. Nieves daraii.t...@gmail.com wrote:
  Can anyone that uses Seam give some input?
  If I deploy a test project in JBoss 5.1 I get an
                     HTTP Status 403 - Access to the requested resource has
  been denied
   error when trying to see the
  http://host:port/test/adf/jsLibs/resources/LocaleElements_es1_2_12.js
  resource, but I can access the http://
  host:port/test/adf/jsLibs/Common1_2_12.js
 
 
  Thanx.
 
  On Tue, Feb 9, 2010 at 1:30 AM, Matthias Wessendorf mat...@apache.org
 wrote:
 
  actually not sure on that. Never done Seam for over a 1.5 years
 
  On Mon, Feb 8, 2010 at 11:44 PM, A. Nieves daraii.t...@gmail.com
 wrote:
   I created a test EAR project with Facelets 1.1.15 , Trinidad 1.2.12
 and
   MyFaces 1.2.8 without Seam and I can see the LocaleElements resource.
 Can
  it
   be something in Seam's configuration? It's weird because I can see the
   Common1_2_12.js.
  
  
   On Mon, Feb 8, 2010 at 11:59 AM, A. Nieves daraii.t...@gmail.com
  wrote:
  
   Yes, I have another example deployment (the only difference it is a
 WAR
  and
   not an EAR) and it works correctly. But I was wondering what can be
   different in my current configuration because it does't work.
  
  
   On Mon, Feb 8, 2010 at 3:34 AM, Matthias Wessendorf 
 mat...@apache.org
  wrote:
  
   I see it here:
  
  
  
 
 http://example.irian.at/trinidad-components-showcase/adf/jsLibs/resources/LocaleElements_es1_2_14.js?loc=es
  
   -Matthias
  
   On Sun, Feb 7, 2010 at 11:49 PM, A. Nieves daraii.t...@gmail.com
  wrote:
Hello,
   
I'm having problems when I try to submit a form and one of the
 input
elements has a validator that uses LocaleElements javascript (In
 my
particular case the *LocaleElements_es1_2_12.js*) The script is
  included
   in
the page
   
 (src=/test/adf/jsLibs/resources/LocaleElements_es1_2_12.js?loc=es)
  but
   the
resource is not available (if you try to load the js in the web
 page
  it
displays an error). The other js resources, such as
  *Common1_2_12.js*,
   are
found.
   
If I change the locale I have the same problem.
   
I'm using Facelets 1.1.15 , Seam 2.2, Trinidad 1.2.12 and MyFaces
  1.2.8
   and
this is my *web.xml* (
   
  
 
 https://docs.google.com/leaf?id=0B1ms0mMJOqpPMDA1YTBiMzYtMzVjNi00YmVhLWFmOTItNGIyNjU1NDdlNjE2hl=en
)
   
   
I appreciate the help. Thnx.
   
  
  
  
   --
   Matthias Wessendorf
  
   blog: http://matthiaswessendorf.wordpress.com/
   sessions: http://www.slideshare.net/mwessendorf
   twitter: http://twitter.com/mwessendorf
  
  
  
  
 
 
 
  --
  Matthias Wessendorf
 
  blog: http://matthiaswessendorf.wordpress.com/
  sessions: http://www.slideshare.net/mwessendorf
  twitter: http://twitter.com/mwessendorf
 
 



 --
 Matthias Wessendorf

 blog: http://matthiaswessendorf.wordpress.com/
 sessions: http://www.slideshare.net/mwessendorf
 twitter: http://twitter.com/mwessendorf





-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: [TRINIDAD] LocaleElements js cannot be found

2010-02-09 Thread A. Nieves
Done.

http://wiki.apache.org/myfaces/Trinidad_And_Seam

On Tue, Feb 9, 2010 at 12:47 PM, Matthias Wessendorf mat...@apache.orgwrote:

 cool!

 Do you mind adding this info to the wiki page ?

 -Matthias

 On Tue, Feb 9, 2010 at 5:31 PM, A. Nieves daraii.t...@gmail.com wrote:
  For anyone who stumbles with the same problem:
 
  You have to make the Seam context available for the Trinidad resources
  servlet (maybe because Seam manages the locale? idn) as explained in
  30.1.4.8. Context management for custom servlets (
  http://docs.jboss.org/seam/latest/reference/en-US/html_single/#d0e24092
 ).
 
  Redux; you'll have to add this entry to the components.xml:
 
   web:context-filter url-pattern=/adf/*/
 
  On Tue, Feb 9, 2010 at 2:15 AM, Matthias Wessendorf mat...@apache.org
 wrote:
 
  some (paranoid) security for resources folder? :)
 
  -Matthias
 
  On Tue, Feb 9, 2010 at 7:07 AM, A. Nieves daraii.t...@gmail.com
 wrote:
   Can anyone that uses Seam give some input?
   If I deploy a test project in JBoss 5.1 I get an
  HTTP Status 403 - Access to the requested resource
 has
   been denied
error when trying to see the
   http://
 host:port/test/adf/jsLibs/resources/LocaleElements_es1_2_12.js
   resource, but I can access the http://
   host:port/test/adf/jsLibs/Common1_2_12.js
  
  
   Thanx.
  
   On Tue, Feb 9, 2010 at 1:30 AM, Matthias Wessendorf 
 mat...@apache.org
  wrote:
  
   actually not sure on that. Never done Seam for over a 1.5 years
  
   On Mon, Feb 8, 2010 at 11:44 PM, A. Nieves daraii.t...@gmail.com
  wrote:
I created a test EAR project with Facelets 1.1.15 , Trinidad 1.2.12
  and
MyFaces 1.2.8 without Seam and I can see the LocaleElements
 resource.
  Can
   it
be something in Seam's configuration? It's weird because I can see
 the
Common1_2_12.js.
   
   
On Mon, Feb 8, 2010 at 11:59 AM, A. Nieves daraii.t...@gmail.com
   wrote:
   
Yes, I have another example deployment (the only difference it is
 a
  WAR
   and
not an EAR) and it works correctly. But I was wondering what can
 be
different in my current configuration because it does't work.
   
   
On Mon, Feb 8, 2010 at 3:34 AM, Matthias Wessendorf 
  mat...@apache.org
   wrote:
   
I see it here:
   
   
   
  
 
 http://example.irian.at/trinidad-components-showcase/adf/jsLibs/resources/LocaleElements_es1_2_14.js?loc=es
   
-Matthias
   
On Sun, Feb 7, 2010 at 11:49 PM, A. Nieves 
 daraii.t...@gmail.com
   wrote:
 Hello,

 I'm having problems when I try to submit a form and one of the
  input
 elements has a validator that uses LocaleElements javascript
 (In
  my
 particular case the *LocaleElements_es1_2_12.js*) The script is
   included
in
 the page

  (src=/test/adf/jsLibs/resources/LocaleElements_es1_2_12.js?loc=es)
   but
the
 resource is not available (if you try to load the js in the web
  page
   it
 displays an error). The other js resources, such as
   *Common1_2_12.js*,
are
 found.

 If I change the locale I have the same problem.

 I'm using Facelets 1.1.15 , Seam 2.2, Trinidad 1.2.12 and
 MyFaces
   1.2.8
and
 this is my *web.xml* (

   
  
 
 https://docs.google.com/leaf?id=0B1ms0mMJOqpPMDA1YTBiMzYtMzVjNi00YmVhLWFmOTItNGIyNjU1NDdlNjE2hl=en
 )


 I appreciate the help. Thnx.

   
   
   
--
Matthias Wessendorf
   
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf
   
   
   
   
  
  
  
   --
   Matthias Wessendorf
  
   blog: http://matthiaswessendorf.wordpress.com/
   sessions: http://www.slideshare.net/mwessendorf
   twitter: http://twitter.com/mwessendorf
  
  
 
 
 
  --
  Matthias Wessendorf
 
  blog: http://matthiaswessendorf.wordpress.com/
  sessions: http://www.slideshare.net/mwessendorf
  twitter: http://twitter.com/mwessendorf
 
 



 --
 Matthias Wessendorf

 blog: http://matthiaswessendorf.wordpress.com/
 sessions: http://www.slideshare.net/mwessendorf
 twitter: http://twitter.com/mwessendorf



Tobago Renderer with JSF RI

2010-02-09 Thread Pierre Martin
Hi all,

I got this project that runs basically with simple JSF RI components.
Now I'm trying to include Tobago components in the project. Since I included
all the libs required, it seems taht my RI components are trying to get
rendered by my tobago renderer.

In glassfish I got this stack :
Wrong type: Need org.apache.myfaces.tobago.component.UICommand, but was
javax.faces.component.html.HtmlCommandLink

I'm very new to tobago. Am I doing something wrong?

Here is my tobago-config.xml
tobago-config
  theme-config
default-themerichmond/default-theme
  /theme-config
  resource-dirtobago-resource/resource-dir
  resource-dirorg/apache/myfaces/tobago/renderkit/resource-dir
/tobago-config

tanx!



--

A man is rich in proportion to the number of things he can afford to let
alone.  - Thoreau


el expression in plain html

2010-02-09 Thread baeschtu baeschtu
Hello
I need to pass a param in plain html, but the el expression is not parsed.
How can I make it work!

..
tr:panelFormLayout
applet code=MyApplet.class archive=MyApplet.jar width=500
height=400
param name=paramName value=#{myBackingBean.paramName}/
/applet
/tr:panelFormLayout
..

thanks


[Trinidad] Slider component in Trinidad for mobile devices

2010-02-09 Thread Seema Richard (UST, IND)
Hi,

 

We need to develop a web application supporting multiple mobile devices
like Blackberry, iPhone, Android and so on and we were considering
Apache Trinidad. The client has already supplied the mock up pages which
seem to have a lot of Ajax functionality and controls like Slider. I
could not find a slider control in Trinidad. Does this mean that we
would need to create a custom component instead?

 

Thanks,

Seema



Re: el expression in plain html

2010-02-09 Thread Anton Gavazuk
Hi,
you cannot do it actually in such way
I see 2 ways to do this:
1) provide your param inside h:inputhidden field and put some javascript
onWindow logic which will get this param and provide it to applet code
2) write your own JSF component which will render applet markup

Cheers,
Anton

2010/2/10 baeschtu baeschtu baesc...@gmail.com

 Hello
 I need to pass a param in plain html, but the el expression is not parsed.
 How can I make it work!

 ..
 tr:panelFormLayout
applet code=MyApplet.class archive=MyApplet.jar width=500
 height=400
param name=paramName value=#{myBackingBean.paramName}/
/applet
 /tr:panelFormLayout
 ..

 thanks



RE: el expression in plain html

2010-02-09 Thread Krishna K. Pandit
What do you need exactly?

If you want to call a method getParamName() of Bean named
myBackingBean then you can use this #{myBackingBean.paramName}.

If need any other thing please elaborate.


Thanks
Krishna Pandit


-Original Message-
From: baeschtu baeschtu [mailto:baesc...@gmail.com] 
Sent: 10 February 2010 05:47
To: MyFaces Discussion
Subject: el expression in plain html

Hello
I need to pass a param in plain html, but the el expression is not
parsed.
How can I make it work!

..
tr:panelFormLayout
applet code=MyApplet.class archive=MyApplet.jar width=500
height=400
param name=paramName value=#{myBackingBean.paramName}/
/applet
/tr:panelFormLayout
..

thanks
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the sender by email
reply and delete it from your system.
The integrity and security of this email cannot be guaranteed on the Internet.




Klaus SCHUSTER ist außer Haus.

2010-02-09 Thread Klaus SCHUSTER





Ich werde ab  08.02.2010 nicht im Büro sein. Ich kehre zurück am
15.02.2010.
In dringenden Fällen wenden Sie sich bitte an Hr. Hollin Wolfgang DW 1443.
(hol...@racon-linz.at) oder Hr. Heinz Huber DW 1664 (hhu...@racon-linz.at)
oder Hr. Martin Schütz (schu...@racon-linz.at) DW 1467

Die Rückmeldung bezieht sich auf ein Mail mit folgendem Thema:
Re: [TRINIDAD] LocaleElements js cannot be found


Gesendet (c) GRZ/RACON Linz 2001 Agent 'Abwesenheit'


Der Austausch von Nachrichten mit o.a. Absender via e-mail
dient ausschließlich Informationszwecken. Rechtsgeschäftliche
Erklärungen dürfen über dieses Medium nicht ausgetauscht
werden.

Correspondence with a.m. sender via e-mail is only for
information purposes. This medium is not to be used for the
exchange of legally-binding communications.




Re: el expression in plain html

2010-02-09 Thread mamallan . uthaman
Assuming your requirement is to pass a parameter and its value on page 
submission, you can use tr:inputHidden id = paramName  
value=#{myBackingBean.paramValue}/.

- Mamallan


On 2/9/2010 7:05 PM, Krishna K. Pandit wrote:

What do you need exactly?

If you want to call a method getParamName() of Bean named
myBackingBean then you can use this #{myBackingBean.paramName}.

If need any other thing please elaborate.


Thanks
Krishna Pandit


-Original Message-
From: baeschtu baeschtu [mailto:baesc...@gmail.com] 
Sent: 10 February 2010 05:47

To: MyFaces Discussion
Subject: el expression in plain html

Hello
I need to pass a param in plain html, but the el expression is not
parsed.
How can I make it work!

..
tr:panelFormLayout
applet code=MyApplet.class archive=MyApplet.jar width=500
height=400
param name=paramName value=#{myBackingBean.paramName}/
/applet
/tr:panelFormLayout
..

thanks
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the sender by email
reply and delete it from your system.
The integrity and security of this email cannot be guaranteed on the Internet.


  


el expression

2010-02-09 Thread Krishna K. Pandit
Hi all

Can any one can help me how to pass a parameter to a method while
calling it in EL expression.
Im trying this

#{myBean.method('JAVA')}

But I m getting errors while rendering.

Thanks
Krishna Pandit
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the sender by email
reply and delete it from your system.
The integrity and security of this email cannot be guaranteed on the Internet.




Re: [Trinidad] Sample applications

2010-02-09 Thread Matthias Wessendorf
hello,

yes. I know :) We for sure need to fix the links:
http://myfaces.apache.org/trinidad/download.html

The new show-case:
http://example.irian.at/trinidad-components-showcase/

I not yet there; will be included in 1.2.14 (out soon)

-Matthias

On Wed, Feb 10, 2010 at 3:22 AM, Seema Richard (UST, IND)
seema.rich...@ust-global.com wrote:
 Hi,



 This page appears to be broken.

 http://myfaces.apache.org/trinidad/trinidad-example/download.html

 Where can I download sample web applications using Trinidad?



 Thanks,

 Seema





-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf