Re: [TObago] need for attribute matrix

2007-03-15 Thread Bernd Bohmann

Hello,

you can find the tlddoc here:

http://myfaces.apache.org/tobago/tobago-core/tlddoc-1.0.10/index.html

Regards

Bernd

yazid wrote:

Hi all;
Can anyone tell how to find the  Tobago 1.0.10 attribute matrix
Thanks


RE: FW: Tomahawk SelectItems

2007-03-15 Thread Mark Breman


It turned out that I had an older tomahawk-1.1.5-SNAPSHOT.jar on my
classpath. After downloading the latest nightly build t:selectItems was
found in the .tld and worked fine.

The latest myfaces-example-simple-1.1.5-SNAPSHOT.war (nightly build) also
have a t:selectItems example.

Regards. 

   

-Oorspronkelijk bericht-
Van: Mark Breman [mailto:[EMAIL PROTECTED] 
Verzonden: woensdag 14 maart 2007 17:28
Aan: 'MyFaces Discussion'
Onderwerp: RE: FW: Tomahawk SelectItems



Hm, looks like your right. I must have looked in the wrong .tld somehow.

I will investigate the problem further and post result here...

Thanks Gerald. 

-Oorspronkelijk bericht-
Van: Gerald Müllan [mailto:[EMAIL PROTECTED] 
Verzonden: dinsdag 13 maart 2007 14:55
Aan: MyFaces Discussion
Onderwerp: Re: FW: Tomahawk SelectItems

No, I am sure it is in since heavy using it in a current application
which uses latest tom-snapshot.

Are you using the ones from

http://people.apache.org/builds/myfaces/nightly/

?

cheers,

Gerald

On 3/13/07, Mark Breman <[EMAIL PROTECTED]> wrote:
> It looks like the t:selectItems tag is missing in the tag library in the
> latest nightly build tomahawk-1.1.5-SNAPSHOT.jar.
>
> Can someone please confirm this?
>
>
> -Oorspronkelijk bericht-
> Van: Simon Kitching [mailto:[EMAIL PROTECTED]
> Verzonden: woensdag 7 maart 2007 21:23
> Aan: MyFaces Discussion
> Onderwerp: Re: FW: Tomahawk SelectItems
>
> No, it's not in 1.1.3. However it is in 1.1.5-snapshot.
>
> If you're referring to this documentation, then it clearly says that it
> is built from 1.1.5-snapshot:
>http://myfaces.apache.org/tomahawk/apidocs/index.html
>
> Regards, Simon
>
> Cash, Jamie wrote:
> >
> >> Where is the tomahawk SelectItems class?
> >>
> >> It is listed in the tomahawk documentation as being here:
> >>  org.apache.myfaces.custom.selectitems.UISelectItems
> >>
> >> but this class doesn't exist in either version 1.1.2 or 1.1.3 of
> tomahawk.
> >>
> >> The tag t:selectItems is not recognised either.
> >>
> >> I hope someone can help.
>
>
>


-- 
http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces



AW: MyFaces 1.1.5 warning message on console

2007-03-15 Thread Pfau, Oliver
No I am using no AJAX. 

-Ursprüngliche Nachricht-
Von: Jeff Bischoff [mailto:[EMAIL PROTECTED] 
Gesendet: Donnerstag, 15. März 2007 18:48
An: MyFaces Discussion
Betreff: Re: MyFaces 1.1.5 warning message on console

Are you using AJAX?

Pfau, Oliver wrote:
> Hi,
>  
> what is meaning of this message:
>  
> "WARNING: There should always be a submitted value for an input if it is
> rendered, its form is submitted, and it is not disabled or read-only
> . Component : <...inputText>"
> 
> <...inputText> is an input text field which could be enabled or disabled
> by javascript. I have other input text fields without this message. Any
> idea ?
> 
> Regards,
> Oliver
> 
> 
> 





Re: Tomahawk release plans?

2007-03-15 Thread Martin Marinschek

Good idea!

regards,

Martin

On 3/16/07, Adrian Mitev <[EMAIL PROTECTED]> wrote:

I've posted RFE for jsf 2.0 [1] about api for component development.

https://javaserverfaces-spec-public.dev.java.net/issues/show_bug.cgi?id=246

2007/3/15, Jörn Zaefferer <[EMAIL PROTECTED]>:
> Absolutely! The JSF API itself isn't enough to write components without
duplicating tons of code. You either do duplication, or depend on a
particular implementation of the API.
>
> And this isn't just a problem with JSF alone. I wanted to replace the
default month renderer on tomahawks schedule component. I've now ended by
extending Renderer directly, I can't even reuse a single line of the
AbstractWhateverScheduleRenderers. Instead I have to
duplicate parts of them in my own renderer.
>
> About the three classes: When I want to quickly create my own component
for handle a particular problem, I need only the component class itself and
my facelets taglib. The component can do the rendering.
>
> Once I'd have those components ready to publish to a greater audience I
wouldn't mind writing renderer and tag classes.
>
>
> On 3/15/07, Werner Punz <[EMAIL PROTECTED]> wrote:
> > Jeff Bischoff schrieb:
> > > I agree, it would be great if that were part of the distro. Problem
is,
> > > Facelets still isn't officially supported by Tomahawk, and thus
> > > developers don't have to ensure their components will work in
Facelets,
> > > let alone provide the configuration and handler classes. Seems like a
> > > huge number of the userbase is already using or migrating to Facelets,
> > > though, so I would expect to see Facelet support improve over time.
This
> > > is, of course, a community project!
> > >
> > Getting away from the discussion itself...
> >
> > Actually having facelets in would be a great welcome for the component
> > devs too, I have been playing around with the thought of having parts
> > of the stuff I am doing being moved into the facelets domain, sort of
> > like a tomahawk facelets.
> > Problem is I cannot do it in the borders of the Tomahawk project
> > currently because those components would only work with facelets.
> > (There was a discussion in the myfaces list a while ago)
> >
> > I will give a description of the core problem.
> >
> > Simple JSF control == 3 classes (one tag class, one component class, one
> > renderer clasS)
> > two xml file entries
> >
> > each class is 100 locs code min and the renderer uses
> > a crude servlet like outputwriter api to the worst.
> > 90% of this code normally is just glue code.
> >
> > 90% of most of this code probably could be replaced by simply facelet
> > tags and only specialized stuff would have to be coded in the component
> > api itself.
> >
> > The component api probably is the biggest problem JSF has in my opinion
> > and it prevents a lot of people jumping onto the ship.
> > Facelets would be an easy entry point to add new components.
> >
> >
> > Heck everything which makes things easier and helps people to ease
> > coding is welcome, it does not have to be facelets.
> >
> >
>
>





--

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces


Re: Usage of Tag with JSF

2007-03-15 Thread Hans Reip

Hi @ all,

thanks for your help. I must say that this situation is a little bit
disappointing.
In my opinion it should be possible to use HTML Tags in the JSP.

At least it is possible to use the  tag but now I need to check if
it is possible to pass attributes like "style" or "class" to this tag.

Thanks.
Regards

hans
-- 
View this message in context: 
http://www.nabble.com/Usage-of-%3Ch1%3E-Tag-with-JSF-tf340.html#a9509139
Sent from the MyFaces - Users mailing list archive at Nabble.com.



Re: Tomahawk release plans?

2007-03-15 Thread Adrian Mitev

I've posted RFE for jsf 2.0 [1] about api for component development.

https://javaserverfaces-spec-public.dev.java.net/issues/show_bug.cgi?id=246

2007/3/15, Jörn Zaefferer <[EMAIL PROTECTED]>:


Absolutely! The JSF API itself isn't enough to write components without
duplicating tons of code. You either do duplication, or depend on a
particular implementation of the API.

And this isn't just a problem with JSF alone. I wanted to replace the
default month renderer on tomahawks schedule component. I've now ended by
extending Renderer directly, I can't even reuse a single line of the
AbstractWhateverScheduleRenderers. Instead I have to duplicate parts of them
in my own renderer.

About the three classes: When I want to quickly create my own component
for handle a particular problem, I need only the component class itself and
my facelets taglib. The component can do the rendering.

Once I'd have those components ready to publish to a greater audience I
wouldn't mind writing renderer and tag classes.

On 3/15/07, Werner Punz <[EMAIL PROTECTED]> wrote:
>
> Jeff Bischoff schrieb:
> > I agree, it would be great if that were part of the distro. Problem
> is,
> > Facelets still isn't officially supported by Tomahawk, and thus
> > developers don't have to ensure their components will work in
> Facelets,
> > let alone provide the configuration and handler classes. Seems like a
> > huge number of the userbase is already using or migrating to Facelets,
> > though, so I would expect to see Facelet support improve over time.
> This
> > is, of course, a community project!
> >
> Getting away from the discussion itself...
>
> Actually having facelets in would be a great welcome for the component
> devs too, I have been playing around with the thought of having parts
> of the stuff I am doing being moved into the facelets domain, sort of
> like a tomahawk facelets.
> Problem is I cannot do it in the borders of the Tomahawk project
> currently because those components would only work with facelets.
> (There was a discussion in the myfaces list a while ago)
>
> I will give a description of the core problem.
>
> Simple JSF control == 3 classes (one tag class, one component class, one
> renderer clasS)
> two xml file entries
>
> each class is 100 locs code min and the renderer uses
> a crude servlet like outputwriter api to the worst.
> 90% of this code normally is just glue code.
>
> 90% of most of this code probably could be replaced by simply facelet
> tags and only specialized stuff would have to be coded in the component
> api itself.
>
> The component api probably is the biggest problem JSF has in my opinion
> and it prevents a lot of people jumping onto the ship.
> Facelets would be an easy entry point to add new components.
>
>
> Heck everything which makes things easier and helps people to ease
> coding is welcome, it does not have to be facelets.
>
>



newspaperColumns

2007-03-15 Thread Dave
Can  newspaperColumns be bound to a bean variable? For example, 
   
  
   
  It was not working in version 1.5.  Is it working in nightly builds? If not, 
could someone help to fix it? It is a normal variable binding.
   
  Thanks!
  David

 
-
 Get your own web address.
 Have a HUGE year through Yahoo! Small Business.

Re: how to set page title programatically?

2007-03-15 Thread Simon Lessard

Hello Dave,

I suggest you place   rathen than inside  then
you'll be able to place a  in the title, or use EL directly in
the title tag if you use Facelets.


Regards,

~ Simon

On 3/15/07, Dave <[EMAIL PROTECTED]> wrote:


JSF view are inside body, but page title is in the head section of HTML
file. How to set page title programatically?

Thanks!
David

--
TV dinner still cooling?
Check out "Tonight's 
Picks"on Yahoo! TV.




how to set page title programatically?

2007-03-15 Thread Dave
JSF view are inside body, but page title is in the head section of HTML file. 
How to set page title programatically? 
   
  Thanks!
  David

 
-
TV dinner still cooling?
Check out "Tonight's Picks" on Yahoo! TV.

getting "java.lang.IllegalArgumentException: Value is no String" in 1.1.5

2007-03-15 Thread Andrew Robinson

I have switched from 1.1.3 to 1.1.5 and am trying to switch from
AjaxAnywhere to Ajax4Jsf and am having issues with
"java.lang.IllegalArgumentException: Value is no String" errors. The
problem comes from
"org.apache.myfaces.shared_impl.renderkit.RendererUtils$1". $1 is the
NOTHING class in RendererUtils. The problem code seems to get confused
when tomahawk is used since these are not the same instance:

org.apache.myfaces.shared_impl.renderkit.RendererUtils$1
org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils$1

The problem can occur when refreshing a page. Since there are no
submitted values in a refresh, problems can creep up in many of the
tomahawk components with this error (selectOneRadio and selectOneMenu
are two examples).

Can anyone tell me why
"component.setSubmittedValue(RendererUtils.NOTHING)" is used instead
of "component.setSubmittedValue(null)" when there is no submitted
value?

Using 1.1.5 Core and 1.1.5 snapshot for tomahawk as of yesterday (2007-03-14)

-Andrew

stack:
java.lang.IllegalArgumentException: Value is no String
(class=org.apache.myfaces.shared_impl.renderkit.RendererUtils$1,
[EMAIL PROTECTED])
and component zfpPanel:liveReportFilterDlg:_id174with path:
{Component-Path : [Class:
org.ajax4jsf.framework.ajax.AjaxViewRoot,ViewId:
/pages/liveReport/index.xhtml][Class:
org.apache.myfaces.custom.document.Document,Id: _id0][Class:
org.ajax4jsf.ajax.html.AjaxForm,Id: zfpForm][Class:
com.outlooksoft.cpm.faces.controls.HtmlGridBagPanel,Id:
zfpPanel][Class:
com.outlooksoft.cpm.faces.controls.HtmlGridBagCell,Id:
zfpContentCell][Class: org.ajax4jsf.ajax.html.HtmlAjaxOutputPanel,Id:
zfpBodyZone][Class:
com.outlooksoft.cpm.livereport.controls.HtmlReportFilterDialog,Id:
liveReportFilterDlg_composite][Class:
com.outlooksoft.cpm.faces.controls.UIDialog,Id:
liveReportFilterDlg][Class: org.ajax4jsf.ajax.html.HtmlAjaxRegion,Id:
_id172][Class: javax.faces.component.html.HtmlSelectOneRadio,Id:
_id174]} does not have a Converter
   at 
org.apache.myfaces.shared_impl.renderkit.RendererUtils.getConvertedStringValue(RendererUtils.java:513)
   at 
org.apache.myfaces.shared_impl.renderkit.html.HtmlRadioRendererBase.encodeEnd(HtmlRadioRendererBase.java:95)
   at 
javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:539)
   at 
org.ajax4jsf.framework.renderer.RendererBase.renderChild(RendererBase.java:256)
   at 
org.ajax4jsf.framework.renderer.RendererBase.renderChildren(RendererBase.java:232)
   at 
org.ajax4jsf.framework.renderer.AjaxContainerRenderer.encodeChildren(AjaxContainerRenderer.java:100)
   at 
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:527)
...


Re: [Tobago] Issue with Label Text alignment btw IE and Firefox

2007-03-15 Thread Vinay Konanki

Hi Arvid,



Thanks for your reply. I dont see any problem with live demo.

but only in my application, here im attaching Registration jsp

Do i need to do any thing with the theme/styles/css?

Awaiting reply.

Vinay

On 3/15/07, Arvid Hülsebus <[EMAIL PROTECTED]> wrote:
>
> Do you have the same problem with the life demo?
>
> http://tobago.atanion.net/tobago-example-demo/faces/overview/layout.jsp
>
> Perhaps you can send the JSP page (or whatever view technology you are
> using).
>
> Regards,
> Arvid
>
> Vinay Konanki wrote:
> > Hi all,
> >
> > I have an issue with label text alignments between IE7 and Firefox.
> > attached is the file that contains the snapshots both in IE and
> Firefox.
> > In IE the label text will be displayed in RHS where as in firefox it
> > will display on LHS.
> >
> > Can anyone suggest me how to over come this cross browsers issue.
> >
> > Thanks in advance,
> > Vinay
> >
> >
> 
> >
>



<%@ taglib uri="http://java.sun.com/jsf/core"; prefix="f" %>
<%@ taglib uri="http://myfaces.apache.org/tobago/component"; prefix="tc" %>
<%@ taglib uri="http://myfaces.apache.org/tobago/extension"; prefix="tx" %>
<%@ taglib tagdir="/WEB-INF/tags/layout" prefix="layout" %>





 






  



 
 
 
 






















































 

   
  
 
   
   
 
  






 
 

 













  
 

   




Re: [TOBAGO ] PLease Help "Select Item"

2007-03-15 Thread yazid

Thank you Volker;
But even with a panel named  "type2Pan" and attribute value
:page:validatorBox:RuleSearch:type2Pan ... it does'nt work

I 

Volker Weber-5 wrote:
> 
> Hi,
> 
> i think you mean 'on another tx:selectOneChoice' ?
> 
> The tx:selectOneChoice is not ajaxreloadable, but you can put it into
> a panel, and relad this one.
> 
> regards,
>   Volker
> 
> 
> 2007/3/15, yazid <[EMAIL PROTECTED]>:
>>
>>
>>  
>> 
>>
>>  > value=":page:subT1"/>
>>>
>>
>>  
>>
>> The subT1 pint on another selectItems whos value depend on the selected.
>> But I have an "error page" and nothing happens when I select an item
>> Please help
>> --
>> View this message in context:
>> http://www.nabble.com/-TOBAGO---PLease-Help-%22Select-Item%22-tf3411084.html#a9504000
>> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-TOBAGO---PLease-Help-%22Select-Item%22-tf3411084.html#a9504525
Sent from the MyFaces - Users mailing list archive at Nabble.com.



Re: Usage of Tag with JSF

2007-03-15 Thread Volker Weber

I can't currentyl reproduce this, but i'm sure i run into this last year.
Environment was jsp, sunRI and tobago.

regards,
 Volker

2007/3/15, Jeff Bischoff <[EMAIL PROTECTED]>:

Volker,

In what environment does that occur? I have never "lost" the contents of
my verbatim tags. I no longer use verbatim, now that I have Facelets,
but I used them extensively for quite a while.

I am aware that contents of verbatim are marked "transient", and thus do
not participate in state-saving... but as for actually having the markup
vanish from the page?

Regards,

Jeff Bischoff
Kenneth L Kurz & Associates, Inc.

Volker Weber wrote:
> A third solution, which i would prefer about the f:verbatim:
>
> 
>  
> 
>
> reason: content of verbatim tags dissapears after rerender in case of
> validation/conversion errors.
>
> Regards,
>  Volker
>
> 2007/3/15, Marcel Stonitsch <[EMAIL PROTECTED]>:
>> Another possibility I forgot in my previous mail: Put your html-code
>> into -tags.
>>
>> Mixing html-tags and jsf-tags can cause several problems.
>>
>> Hans Reip schrieb:
>> > Hi,
>> >
>> > I'm doing my first steps with JSF and myFaces and I hav a question
>> regarding
>> > html-tags and JSF.
>> >
>> > I want to output a resource bundle key inside a  html element.
>> So I did
>> > following:
>> > 
>> >
>> > What happens is, that the message from the resource bundle is
>> printed out
>> > and after this the empty .
>> > No error is returned, so I think it is an basical understanding
>> problem.
>> >
>> > I saw, that there is a  tag in the tomahawk tld but no 
>> tag.
>> > What do I do wrong? Isn't it possible to use html tags together with
>> JSF?
>> >
>> > Thanks in advance
>> > Regards
>> > Hans
>> >
>> >
>>
>>
>
>
>






Re: Usage of Tag with JSF

2007-03-15 Thread Volker Weber

Mike,

you are right, if you already have tomahawk in the app, this was just
a solution in plain jsf.

Regards,
 Volker

2007/3/15, Mike Kienenberger <[EMAIL PROTECTED]>:

Volker,

t:htmlTag is cleaner than h:outputText, but both solve it using the
same technique -- make the text into a componet.

On 3/15/07, Volker Weber <[EMAIL PROTECTED]> wrote:
> A third solution, which i would prefer about the f:verbatim:
>
> 
>   
> 
>
> reason: content of verbatim tags dissapears after rerender in case of
> validation/conversion errors.
>
> Regards,
>   Volker
>
> 2007/3/15, Marcel Stonitsch <[EMAIL PROTECTED]>:
> > Another possibility I forgot in my previous mail: Put your html-code
> > into -tags.
> >
> > Mixing html-tags and jsf-tags can cause several problems.
> >
> > Hans Reip schrieb:
> > > Hi,
> > >
> > > I'm doing my first steps with JSF and myFaces and I hav a question 
regarding
> > > html-tags and JSF.
> > >
> > > I want to output a resource bundle key inside a  html element. So I 
did
> > > following:
> > > 
> > >
> > > What happens is, that the message from the resource bundle is printed out
> > > and after this the empty .
> > > No error is returned, so I think it is an basical understanding problem.
> > >
> > > I saw, that there is a  tag in the tomahawk tld but no  tag.
> > > What do I do wrong? Isn't it possible to use html tags together with JSF?
> > >
> > > Thanks in advance
> > > Regards
> > > Hans
> > >
> > >
> >
> >
>



Re: [TOBAGO ] PLease Help "Select Item"

2007-03-15 Thread Volker Weber

Hi,

i think you mean 'on another tx:selectOneChoice' ?

The tx:selectOneChoice is not ajaxreloadable, but you can put it into
a panel, and relad this one.

regards,
 Volker


2007/3/15, yazid <[EMAIL PROTECTED]>:



 

   
 
   >
   
 

The subT1 pint on another selectItems whos value depend on the selected.
But I have an "error page" and nothing happens when I select an item
Please help
--
View this message in context: 
http://www.nabble.com/-TOBAGO---PLease-Help-%22Select-Item%22-tf3411084.html#a9504000
Sent from the MyFaces - Users mailing list archive at Nabble.com.




[TOBAGO ] PLease Help "Select Item"

2007-03-15 Thread yazid


 

   
 
   >
   
 

The subT1 pint on another selectItems whos value depend on the selected. 
But I have an "error page" and nothing happens when I select an item
Please help
-- 
View this message in context: 
http://www.nabble.com/-TOBAGO---PLease-Help-%22Select-Item%22-tf3411084.html#a9504000
Sent from the MyFaces - Users mailing list archive at Nabble.com.



Re: [Tobago] Popups background not disabled

2007-03-15 Thread Mike Kienenberger

If it's helpful, I have some pending components that detect keypresses
(by key type) and perform either javascript or a submit a JSF action.

* 
* 
* 
* 
* 

Sounds like you might already have some code to take care of this, though.


On 3/13/07, Arvid Hülsebus <[EMAIL PROTECTED]> wrote:

In a different project I installed something like a keyboard event sink
to avoid this. I will try to work this out together with Udo.

The select control problem doesn't exist in IE 7. For IE 6 we didn't
include an IFRAME hack up to now to hide the select controls. This was a
known issue, which we somehow forgot to fix.

Best regards,
Arvid

H. Swaczinna wrote:
> Hi,
>
> when the page shows a popup the background page is grayed and
> you can't activate any component by mouse. But you can activate
> any component by keyboard when you use the tab key. You can execute
> actions and modifiy fields. This is the serious problem because our
> customers users used to work more by keyboard than by mouse.
> With the IE there's another problem. Listboxes aren't disabled at all.
> You can pick entries by mouse.
>
> Regards
> Helmut
>
>



Re: [Tobago] Issue with Label Text alignment btw IE and Firefox

2007-03-15 Thread Vinay Konanki

Hi Arvid,
Thanks for your reply. I dont see any problem with live demo.
but only in my application, here im attaching Registration jsp

Do i need to do any thing with the themes?

Awaiting reply.

Vinay

On 3/15/07, Arvid Hülsebus <[EMAIL PROTECTED]> wrote:


Do you have the same problem with the life demo?

http://tobago.atanion.net/tobago-example-demo/faces/overview/layout.jsp

Perhaps you can send the JSP page (or whatever view technology you are
using).

Regards,
Arvid

Vinay Konanki wrote:
> Hi all,
>
> I have an issue with label text alignments between IE7 and Firefox.
> attached is the file that contains the snapshots both in IE and Firefox.
> In IE the label text will be displayed in RHS where as in firefox it
> will display on LHS.
>
> Can anyone suggest me how to over come this cross browsers issue.
>
> Thanks in advance,
> Vinay
>
> 
>

<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://myfaces.apache.org/tobago/component" prefix="tc" %>
<%@ taglib uri="http://myfaces.apache.org/tobago/extension" prefix="tx" %>
<%@ taglib tagdir="/WEB-INF/tags/layout" prefix="layout" %>





	 
			

	


	




 
 
 
 

	








	







	







	   				

	   	
	   	
	   	
	   	
	   				
	   		






	







	





 

   
  
 
   
   
 
  






 
 

 













  
 
			
			 




UIData (t:dataTable), sandbox subForm, and UIInput required=true

2007-03-15 Thread Mike Kienenberger

I want to provide a form for each row in my dataTable.
For each row, I want to have an input field and a commandButton.
I'd like to make the input field required if the commandButton is used.

My issue is that when I click the button, every row's input is checked
for required rather than just the row containing the button.

Is this a limitation of subForm?   Or can subForm be made intelligent
enough to understand  when it's used in a flyweight pattern?

For now, I'm checking the required condition in my action java code.

 
 
 Input
 







 


Re: Component coding questions

2007-03-15 Thread Volker Weber

Hi Marco,

you should set ids on your created components, otherwise you will run
into dublicateId exceptions sooner or later. Apart from this your code
looks ok for me.

As long as your component returns false for getRendersChildren() you
don't need to do it yourselve, this is done in the default
implementation of encodeEnd().

Can you explain the problems?

Regards,
 Volker


2007/3/15, Marko Asplund <[EMAIL PROTECTED]>:

Jörn Zaefferer wrote:
> This only helps you if you are already using Facelets or have the chance to
> start using them: Write a tag.

This component is used programmatically by a parent component for
which I've written a tag handler. I'm however running into some weird
problems and would like to get a confirmation that the component is
constructed in a proper way.


marko



[TObago] need for attribute matrix

2007-03-15 Thread yazid

Hi all;
Can anyone tell how to find the  Tobago 1.0.10 attribute matrix
Thanks
-- 
View this message in context: 
http://www.nabble.com/-TObago--need-for-attribute-matrix-tf3410879.html#a9503306
Sent from the MyFaces - Users mailing list archive at Nabble.com.



Re: MyFaces 1.1.5 warning message on console

2007-03-15 Thread Josué Alcalde González
El jue, 15-03-2007 a las 11:18 +0100, Pfau, Oliver escribió:
> Hi,
>  
> what is meaning of this message:
>  
> "WARNING: There should always be a submitted value for an input if it is
> rendered, its form is submitted, and it is not disabled or read-only
> . Component : <...inputText>"
> 
> <...inputText> is an input text field which could be enabled or disabled
> by javascript. I have other input text fields without this message. Any
> idea ?
> 
> Regards,
> Oliver

I had the same problem in a very complex form.
My solution: reenable all the inputs in the client side before submit.



Re: inputhidden and backingbean

2007-03-15 Thread Simon Kitching

Brummeline Braaten wrote:

How can I get the value of a inputhidden from the backingbean?
My jsp code is like this:

action="#{tabnavigering.velgKategori}">			
value="#{rader.categoryName}" id="kategorinavn"/>

  


When I click on the commandlink the method velgkategori is invoked. I would like
to find the kategoriid in my bean so that I can use it in other methods. How do
I do that?



Method rader.setCategoryId(newValue) will be called before your 
tabnavigering.velgKategoru method. If the tabnavigering bean has access 
to the rader bean then there is no problem.


If the tabnavigering class does not have easy access to the rader class 
then you could use this:



  


This should copy the categoryId value from the rader bean to the 
tabnavigering bean before calling the velgKategorei method. Or you could 
even do:

  


Regards,

Simon


Re: [Tobago] Issue with Label Text alignment btw IE and Firefox

2007-03-15 Thread Arvid Hülsebus

Do you have the same problem with the life demo?

http://tobago.atanion.net/tobago-example-demo/faces/overview/layout.jsp

Perhaps you can send the JSP page (or whatever view technology you are 
using).


Regards,
Arvid

Vinay Konanki wrote:

Hi all,

I have an issue with label text alignments between IE7 and Firefox. 
attached is the file that contains the snapshots both in IE and Firefox.
In IE the label text will be displayed in RHS where as in firefox it 
will display on LHS.


Can anyone suggest me how to over come this cross browsers issue.

Thanks in advance,
Vinay





Re: [Tobago] Popups background not disabled

2007-03-15 Thread Arvid Hülsebus
I'm a little bit busy right now. I have postponed some important work 
all too often. I will look into this stuff on Sunday.


Regards,
Arvid

Volker Weber wrote:

An iframe with transparent background?
I thought this is impossible. I had needed this on other places an
tryed without success.
I thought i had asked you before, obviously not.

btw: can you take a look at TOBAGO-213? I tryed without succes to hide
the selects with an iframe underlying the header.


Regards,
 Volker

2007/3/15, Arvid Hülsebus <[EMAIL PROTECTED]>:

I have built a solution with IFRAMEs which works in IE6 a long time ago.
I will try to make a minimal example.

Regards,
Arvid

Volker Weber wrote:
> Hi,
>
> The second problem (listboxes are not diabled in IE < 7) could afaik
> only solved by the iframe trick. An this is imho not an option,
> because this did not grey out the background but hide it completly.
>
> Regards,
>  Volker
>
> 2007/3/15, Bernd Bohmann <[EMAIL PROTECTED]>:
>> Hello Helmut,
>>
>> can you add an jira issue for this, please.
>>
>> Regards
>>
>> Bernd
>>
>> H. Swaczinna wrote:
>> > No, sorry, we can't switch to IE 7. I would be happier if we 
could...

>> >
>> > Regards
>> > Helmut
>> >
>> >
>> >> BTW, the same is true for the progress effect used for page
>> transitioning.
>> >>
>> >> Is switching to IE 7 an option?
>> >>
>> >> Regards,
>> >> Arvid
>> >>
>> >> Arvid Hülsebus wrote:
>> >>> In a different project I installed something like a keyboard 
event
>> >>> sink to avoid this. I will try to work this out together with 
Udo.

>> >>>
>> >>> The select control problem doesn't exist in IE 7. For IE 6 we 
didn't

>> >>> include an IFRAME hack up to now to hide the select controls.
>> This was
>> >>> a known issue, which we somehow forgot to fix.
>> >>>
>> >>> Best regards,
>> >>> Arvid
>> >>>
>> >>> H. Swaczinna wrote:
>>  Hi,
>> 
>>  when the page shows a popup the background page is grayed and
>>  you can't activate any component by mouse. But you can activate
>>  any component by keyboard when you use the tab key. You can 
execute
>>  actions and modifiy fields. This is the serious problem 
because our

>>  customers users used to work more by keyboard than by mouse.
>>  With the IE there's another problem. Listboxes aren't disabled
>> at all.
>>  You can pick entries by mouse.
>> 
>>  Regards
>>  Helmut
>> 
>> 
>> >
>>


�&Thu=


Re: Usage of Tag with JSF

2007-03-15 Thread Simon Kitching

Yep. JSF1.1+JSP has problems mixing plain text and jsf tags.

Unless you really need an  tag for some reason, why not just use css 
styles?

  

Define css style "h1" to be whatever you want, eg
.h1 {
  color: red;
  font-size: large;
}

Of course sometimes an  tag really is a good idea. In particular, 
screen-readers for the blind etc work better with meaningful markup.


Regards,

Simon

Marcel Stonitsch wrote:
Try />



Hans Reip schrieb:

Hi,

I'm doing my first steps with JSF and myFaces and I hav a question 
regarding

html-tags and JSF.

I want to output a resource bundle key inside a  html element. So 
I did

following:


What happens is, that the message from the resource bundle is printed out
and after this the empty .
No error is returned, so I think it is an basical understanding problem.

I saw, that there is a  tag in the tomahawk tld but no  tag.
What do I do wrong? Isn't it possible to use html tags together with JSF?

Thanks in advance
Regards
Hans

  






Re: Component coding questions

2007-03-15 Thread Marko Asplund

Jörn Zaefferer wrote:

This only helps you if you are already using Facelets or have the chance to
start using them: Write a tag.


This component is used programmatically by a parent component for
which I've written a tag handler. I'm however running into some weird
problems and would like to get a confirmation that the component is
constructed in a proper way.


marko


Re: MyFaces 1.1.5 warning message on console

2007-03-15 Thread Mike Kienenberger

I'm not an expert, but the documentation I've read says that
disabled=true doesn't resubmit the form value and that read-only=true
does resubmit the form value.   My guess is that the error message
above should be changed to remove the read-only caveat.

On 3/15/07, Jeff Bischoff <[EMAIL PROTECTED]> wrote:

I understand that Mike, but shouldn't read-only throw the same error
(judging by the error message)?

I had client-side javascript for disabling elements too, but found it
unwieldy in the context of JSF lifecycle and complex component IDs. I am
much happier having it on the server-side, but when that is too
heavyweight I add some AJAX to lighten up the request.

It's just another option you might want to consider Oliver. By all
means, give Mike's suggestion a try as he generally knows what he is
talking about and it should be a "quicker fix".

Regards,

Jeff Bischoff
Kenneth L Kurz & Associates, Inc.

Mike Kienenberger wrote:
> Jeff, he's doing this with javascript (clientside).   Doing it in a
> JSF-way would move that to server-side.   The best thing to do is to
> make it read-only.
>
> On 3/15/07, Jeff Bischoff <[EMAIL PROTECTED]> wrote:
>> Or better yet, disable it in a JSF way - ie, using the "disabled"
>> attribute of the component along with an "immediate" submit.
>>
>> Mike Kienenberger wrote:
>> > JSF expects to get a value back from this component when the form is
>> > submitted.  If you disable the element from javascript, that doesn't
>> > happen.   Instead of disabling it, make it read-only.
>> >
>> > http://webdesign.about.com/od/forms/a/aa071805.htm
>> >
>> > On 3/15/07, Pfau, Oliver <[EMAIL PROTECTED]> wrote:
>> >> Hi,
>> >>
>> >> what is meaning of this message:
>> >>
>> >> "WARNING: There should always be a submitted value for an input if
>> it is
>> >> rendered, its form is submitted, and it is not disabled or read-only
>> >> . Component : <...inputText>"
>> >>
>> >> <...inputText> is an input text field which could be enabled or
>> disabled
>> >> by javascript. I have other input text fields without this message.
>> Any
>> >> idea ?
>> >>
>> >> Regards,
>> >> Oliver
>> >>
>> >
>> >
>> >
>>
>>
>>
>>
>
>
>






Re: MyFaces 1.1.5 warning message on console

2007-03-15 Thread Jeff Bischoff
I understand that Mike, but shouldn't read-only throw the same error 
(judging by the error message)?


I had client-side javascript for disabling elements too, but found it 
unwieldy in the context of JSF lifecycle and complex component IDs. I am 
much happier having it on the server-side, but when that is too 
heavyweight I add some AJAX to lighten up the request.


It's just another option you might want to consider Oliver. By all 
means, give Mike's suggestion a try as he generally knows what he is 
talking about and it should be a "quicker fix".


Regards,

Jeff Bischoff
Kenneth L Kurz & Associates, Inc.

Mike Kienenberger wrote:

Jeff, he's doing this with javascript (clientside).   Doing it in a
JSF-way would move that to server-side.   The best thing to do is to
make it read-only.

On 3/15/07, Jeff Bischoff <[EMAIL PROTECTED]> wrote:

Or better yet, disable it in a JSF way - ie, using the "disabled"
attribute of the component along with an "immediate" submit.

Mike Kienenberger wrote:
> JSF expects to get a value back from this component when the form is
> submitted.  If you disable the element from javascript, that doesn't
> happen.   Instead of disabling it, make it read-only.
>
> http://webdesign.about.com/od/forms/a/aa071805.htm
>
> On 3/15/07, Pfau, Oliver <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> what is meaning of this message:
>>
>> "WARNING: There should always be a submitted value for an input if 
it is

>> rendered, its form is submitted, and it is not disabled or read-only
>> . Component : <...inputText>"
>>
>> <...inputText> is an input text field which could be enabled or 
disabled
>> by javascript. I have other input text fields without this message. 
Any

>> idea ?
>>
>> Regards,
>> Oliver
>>
>
>
>














Re: MyFaces 1.1.5 warning message on console

2007-03-15 Thread Mike Kienenberger

Jeff, he's doing this with javascript (clientside).   Doing it in a
JSF-way would move that to server-side.   The best thing to do is to
make it read-only.

On 3/15/07, Jeff Bischoff <[EMAIL PROTECTED]> wrote:

Or better yet, disable it in a JSF way - ie, using the "disabled"
attribute of the component along with an "immediate" submit.

Mike Kienenberger wrote:
> JSF expects to get a value back from this component when the form is
> submitted.  If you disable the element from javascript, that doesn't
> happen.   Instead of disabling it, make it read-only.
>
> http://webdesign.about.com/od/forms/a/aa071805.htm
>
> On 3/15/07, Pfau, Oliver <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> what is meaning of this message:
>>
>> "WARNING: There should always be a submitted value for an input if it is
>> rendered, its form is submitted, and it is not disabled or read-only
>> . Component : <...inputText>"
>>
>> <...inputText> is an input text field which could be enabled or disabled
>> by javascript. I have other input text fields without this message. Any
>> idea ?
>>
>> Regards,
>> Oliver
>>
>
>
>






RE: inputhidden and backingbean

2007-03-15 Thread Madhav Bhargava

You can do the following:
context.getExternalContext().getRequestParameterMap().get("key")

~madhav

-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Brummeline Braaten
Sent: Thursday, March 15, 2007 3:15 PM
To: users@myfaces.apache.org
Subject: inputhidden and backingbean

How can I get the value of a inputhidden from the backingbean?
My jsp code is like this:







When I click on the commandlink the method velgkategori is invoked. I
would like
to find the kategoriid in my bean so that I can use it in other methods.
How do
I do that?


 CAUTION - Disclaimer *
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely 
for the use of the addressee(s). If you are not the intended recipient, please 
notify the sender by e-mail and delete the original message. Further, you are 
not to copy, disclose, or distribute this e-mail or its contents to any other 
person and any such actions are unlawful. This e-mail may contain viruses. 
Infosys has taken every reasonable precaution to minimize this risk, but is not 
liable for any damage you may sustain as a result of any virus in this e-mail. 
You should carry out your own virus checks before opening the e-mail or 
attachment. Infosys reserves the right to monitor and review the content of all 
messages sent to or from this e-mail address. Messages sent to or from this 
e-mail address may be stored on the Infosys e-mail system.
***INFOSYS End of Disclaimer INFOSYS***


JSF Component of "List of Values"

2007-03-15 Thread Alexandre Jantsch (Compasso)
Hi, i'm looking for a component JSF for "List of values" (LOV). 
 
 
 
Alexandre Jantsch (Compasso)
Depto Tecnologia da Informacao
Fone: 51 3218-3044
Rua Sao Luiz,  77
Porto Alegre - RS
90620-170
www.rge-rs.com.br


 
Essa mensagem e enviada exclusivamente ao seu destinatario e o remetente nao 
envia copia oculta. O conteudo pode ser confidencial, protegido por sigilo 
profissional ou cuja divulgacao seja proibida por lei. O uso nao autorizado de 
tais informacoes e proibido e esta sujeito as penalidades cabiveis



Re: MyFaces 1.1.5 warning message on console

2007-03-15 Thread Jeff Bischoff
Or better yet, disable it in a JSF way - ie, using the "disabled" 
attribute of the component along with an "immediate" submit.


Mike Kienenberger wrote:

JSF expects to get a value back from this component when the form is
submitted.  If you disable the element from javascript, that doesn't
happen.   Instead of disabling it, make it read-only.

http://webdesign.about.com/od/forms/a/aa071805.htm

On 3/15/07, Pfau, Oliver <[EMAIL PROTECTED]> wrote:

Hi,

what is meaning of this message:

"WARNING: There should always be a submitted value for an input if it is
rendered, its form is submitted, and it is not disabled or read-only
. Component : <...inputText>"

<...inputText> is an input text field which could be enabled or disabled
by javascript. I have other input text fields without this message. Any
idea ?

Regards,
Oliver











Re: Usage of Tag with JSF

2007-03-15 Thread Jeff Bischoff

Volker,

In what environment does that occur? I have never "lost" the contents of 
my verbatim tags. I no longer use verbatim, now that I have Facelets, 
but I used them extensively for quite a while.


I am aware that contents of verbatim are marked "transient", and thus do 
not participate in state-saving... but as for actually having the markup 
vanish from the page?


Regards,

Jeff Bischoff
Kenneth L Kurz & Associates, Inc.

Volker Weber wrote:

A third solution, which i would prefer about the f:verbatim:


 


reason: content of verbatim tags dissapears after rerender in case of
validation/conversion errors.

Regards,
 Volker

2007/3/15, Marcel Stonitsch <[EMAIL PROTECTED]>:

Another possibility I forgot in my previous mail: Put your html-code
into -tags.

Mixing html-tags and jsf-tags can cause several problems.

Hans Reip schrieb:
> Hi,
>
> I'm doing my first steps with JSF and myFaces and I hav a question 
regarding

> html-tags and JSF.
>
> I want to output a resource bundle key inside a  html element. 
So I did

> following:
> 
>
> What happens is, that the message from the resource bundle is 
printed out

> and after this the empty .
> No error is returned, so I think it is an basical understanding 
problem.

>
> I saw, that there is a  tag in the tomahawk tld but no  
tag.
> What do I do wrong? Isn't it possible to use html tags together with 
JSF?

>
> Thanks in advance
> Regards
> Hans
>
>












Re: MyFaces 1.1.5 warning message on console

2007-03-15 Thread Mike Kienenberger

JSF expects to get a value back from this component when the form is
submitted.  If you disable the element from javascript, that doesn't
happen.   Instead of disabling it, make it read-only.

http://webdesign.about.com/od/forms/a/aa071805.htm

On 3/15/07, Pfau, Oliver <[EMAIL PROTECTED]> wrote:

Hi,

what is meaning of this message:

"WARNING: There should always be a submitted value for an input if it is
rendered, its form is submitted, and it is not disabled or read-only
. Component : <...inputText>"

<...inputText> is an input text field which could be enabled or disabled
by javascript. I have other input text fields without this message. Any
idea ?

Regards,
Oliver



Re: JSF Component of "List of Values"

2007-03-15 Thread Mike Kienenberger

Here's some (but not all) of the different ways you can do this in JSF:

http://www.irian.at/myfaces/selectbox.jsf


On 3/15/07, Alexandre Jantsch (Compasso) <[EMAIL PROTECTED]> wrote:


 Hi, i'm looking for a component JSF for "List of values" (LOV).








  Alexandre Jantsch (Compasso)
Depto Tecnologia da Informação
Fone: 51 3218-3044
Rua São Luiz, 77
Porto Alegre - RS
90620-170
www.rge-rs.com.br

Essa mensagem é enviada exclusivamente ao seu destinatário e o remetente
não envia cópia oculta. O conteúdo pode ser confidencial, protegido por
sigilo profissional ou cuja divulgação seja proibida por lei. O uso não
autorizado de tais informações é proibido e está sujeito às penalidades
cabíveis






Re: Usage of Tag with JSF

2007-03-15 Thread Mike Kienenberger

Volker,

t:htmlTag is cleaner than h:outputText, but both solve it using the
same technique -- make the text into a componet.

On 3/15/07, Volker Weber <[EMAIL PROTECTED]> wrote:

A third solution, which i would prefer about the f:verbatim:


  


reason: content of verbatim tags dissapears after rerender in case of
validation/conversion errors.

Regards,
  Volker

2007/3/15, Marcel Stonitsch <[EMAIL PROTECTED]>:
> Another possibility I forgot in my previous mail: Put your html-code
> into -tags.
>
> Mixing html-tags and jsf-tags can cause several problems.
>
> Hans Reip schrieb:
> > Hi,
> >
> > I'm doing my first steps with JSF and myFaces and I hav a question regarding
> > html-tags and JSF.
> >
> > I want to output a resource bundle key inside a  html element. So I did
> > following:
> > 
> >
> > What happens is, that the message from the resource bundle is printed out
> > and after this the empty .
> > No error is returned, so I think it is an basical understanding problem.
> >
> > I saw, that there is a  tag in the tomahawk tld but no  tag.
> > What do I do wrong? Isn't it possible to use html tags together with JSF?
> >
> > Thanks in advance
> > Regards
> > Hans
> >
> >
>
>



Re: Usage of Tag with JSF

2007-03-15 Thread Volker Weber

A third solution, which i would prefer about the f:verbatim:


 


reason: content of verbatim tags dissapears after rerender in case of
validation/conversion errors.

Regards,
 Volker

2007/3/15, Marcel Stonitsch <[EMAIL PROTECTED]>:

Another possibility I forgot in my previous mail: Put your html-code
into -tags.

Mixing html-tags and jsf-tags can cause several problems.

Hans Reip schrieb:
> Hi,
>
> I'm doing my first steps with JSF and myFaces and I hav a question regarding
> html-tags and JSF.
>
> I want to output a resource bundle key inside a  html element. So I did
> following:
> 
>
> What happens is, that the message from the resource bundle is printed out
> and after this the empty .
> No error is returned, so I think it is an basical understanding problem.
>
> I saw, that there is a  tag in the tomahawk tld but no  tag.
> What do I do wrong? Isn't it possible to use html tags together with JSF?
>
> Thanks in advance
> Regards
> Hans
>
>




Re: MyFaces 1.1.5 warning message on console

2007-03-15 Thread Jeff Bischoff

Are you using AJAX?

Pfau, Oliver wrote:

Hi,
 
what is meaning of this message:
 
"WARNING: There should always be a submitted value for an input if it is

rendered, its form is submitted, and it is not disabled or read-only
. Component : <...inputText>"

<...inputText> is an input text field which could be enabled or disabled
by javascript. I have other input text fields without this message. Any
idea ?

Regards,
Oliver









Re: Help !!! myfaces tomahawk JSF datatable component problem with Spring Web Flow...

2007-03-15 Thread Jörn Zaefferer

I've tried to get Webflow working with JSF in a portlet enviroment. It
actually works, and JSFs binding and validation is much better then Spring
MVC's.

According to the Webflow jira, there are problems with JSF and the
backbutton. But that is screwed in both portlet enviroments and JSF in
general anyway.

On 3/15/07, Veit Guna <[EMAIL PROTECTED]> wrote:


Yes, for example that you can't embed a dialog in a "normal" webapp that
has a menu. You have to put every outcome of the menu to the dialog
configuration then. And I'm not willing to do this. Nothing out-of-the-box
in shale-dialog can handle this, for now. There's a thread on the shale
mailing list from me about that...


 Original-Nachricht 
Datum: Thu, 15 Mar 2007 12:44:54 +0100
Von: "Matthias Wessendorf" <[EMAIL PROTECTED]>
An: "MyFaces Discussion" 
CC:
Betreff: Re: Help !!! myfaces tomahawk JSF datatable component problem
with Spring Web Flow...

> no-gos ?
>
> On 3/15/07, Veit Guna <[EMAIL PROTECTED]> wrote:
> > Yes, I took a look at shale dialog, but there're some no-go's for me
> with its dialog component. So I'm looking for an alternative.. and
spring
> webflow sounds good - but it has some problems with JSF...
> >
> >
> >  Original-Nachricht 
> > Datum: Thu, 15 Mar 2007 12:30:41 +0100
> > Von: "Matthias Wessendorf" <[EMAIL PROTECTED]>
> > An: "MyFaces Discussion" 
> > CC:
> > Betreff: Re: Help !!! myfaces tomahawk JSF datatable component problem
> with Spring Web Flow...
> >
> > > Veit,
> > >
> > > I am not a user of webflow, but since Shale dialog is only
supporting
> > > JSF, I'd consider to use that one, since it is much much closer to
JSF
> > > than webflow, I think
> > >
> > > -M
> > >
> > > On 3/15/07, Veit Guna <[EMAIL PROTECTED]> wrote:
> > > > No, sorry. But can I ask you a counterquestion :)?
> > > >
> > > > Independend of your current problem, how nice does spring webflow
> play
> > > together with JSF (myfaces)? I read about some problems in the
webflow
> jira
> > > concerning JSF. Which version do you use? How well does it handle
the
> > > browser navigation buttons with jsf? Is it easy to handle (more
> configuration
> > > than programming)?
> > > >
> > > > Veit
> > > >
> > > >
> > > >  Original-Nachricht 
> > > > Datum: Thu, 15 Mar 2007 03:45:41 -0700 (PDT)
> > > > Von: Alex Tian <[EMAIL PROTECTED]>
> > > > An: users@myfaces.apache.org
> > > > CC:
> > > > Betreff: Help !!! myfaces tomahawk JSF datatable component problem
> with
> > > Spring Web Flow...
> > > >
> > > > >
> > > > > Hi everyone,
> > > > > I'm a newbie to both Spring web flow and Javaserver faces,
> recently
> > > I've
> > > > > encounted a problem with Myfaces Tomahawk JSF datatable
component
> > > problem
> > > > > with SWF.
> > > > >
> > > > > I was trying to use Tomahawk's datatable component with
> AJAX-powered
> > > auto
> > > > > sorting and pagination. When page's been loaded, the table with
> the
> > > first
> > > > > page's data is dislplayed, but when I tried to click some
> links(e.g.
> > > > > fastforward or page number links) on this component, nothing
> > > happened...
> > > > > Has anyone tried to integrate Myfaces datatable components with
> Spring
> > > web
> > > > > flow ?
> > > > > Any help would be appreciated...
> > > > >
> > > > > --
> > > > > View this message in context:
> > > > >
> > >
>
http://www.nabble.com/Help-%21%21%21-myfaces-tomahawk-JSF-datatable-component-problem-with-Spring-Web-Flow...-tf3407508.html#a9491947
> > > > > Sent from the MyFaces - Users mailing list archive at Nabble.com
.
> > > >
> > > > --
> > > > Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
> > > > Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
> > > >
> > >
> > >
> > > --
> > > Matthias Wessendorf
> > > http://tinyurl.com/fmywh
> > >
> > > further stuff:
> > > blog: http://jroller.com/page/mwessendorf
> > > mail: mwessendorf-at-gmail-dot-com
> >
> > --
> > Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
> > Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
> >
>
>
> --
> Matthias Wessendorf
> http://tinyurl.com/fmywh
>
> further stuff:
> blog: http://jroller.com/page/mwessendorf
> mail: mwessendorf-at-gmail-dot-com

--
"Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: www.gmx.net/de/go/mailfooter/topmail-out



Re: Component coding questions

2007-03-15 Thread Jörn Zaefferer

This only helps you if you are already using Facelets or have the chance to
start using them: Write a tag.

On 3/15/07, Marko Asplund <[EMAIL PROTECTED]> wrote:


I'm trying to create a JSF component that would be composed of two
child components: an UIInput and a HtmlSelectManyListbox. The user
would be able to either use the text field or listbox to input a field
value.

How should the child components be created? Currently I'm doing it in
encodeBegin, when the component does not have any children. Is this a
proper way to create subcomponents?

If I don't override getRendersChildren, are child components rendered
automatically or should they be rendered manually? If child rendering
needs to be triggered explicitly, which methods should be called?

Since only the child components have state, there shouldn't be any
need to implement state handling in the parent, right?


Here's what my component looks like:

public class MyInputSelect extends UIInput {
public MyInputSelect() {
super();
setRendererType(null);
}

public void encodeBegin(FacesContext ctx) throws IOException {
if(this.getChildren().isEmpty()) createComponents();
}

private void createComponents() {
this.getChildren().add((UIInput)app.createComponent(
UIInput.COMPONENT_TYPE));
HtmlSelectManyListbox menu =
(HtmlSelectManyListbox)app.createComponent();
// populate menu
this.getChildren().add(menu);
}

public void decode(FacesContext ctx) {
// read child component values and set components value
accordingly
}

public String getFamily() { return COMPONENT_FAMILY; }
}



Re: Tomahawk release plans?

2007-03-15 Thread Jörn Zaefferer

Absolutely! The JSF API itself isn't enough to write components without
duplicating tons of code. You either do duplication, or depend on a
particular implementation of the API.

And this isn't just a problem with JSF alone. I wanted to replace the
default month renderer on tomahawks schedule component. I've now ended by
extending Renderer directly, I can't even reuse a single line of the
AbstractWhateverScheduleRenderers. Instead I have to duplicate parts of them
in my own renderer.

About the three classes: When I want to quickly create my own component for
handle a particular problem, I need only the component class itself and my
facelets taglib. The component can do the rendering.

Once I'd have those components ready to publish to a greater audience I
wouldn't mind writing renderer and tag classes.

On 3/15/07, Werner Punz <[EMAIL PROTECTED]> wrote:


Jeff Bischoff schrieb:
> I agree, it would be great if that were part of the distro. Problem is,
> Facelets still isn't officially supported by Tomahawk, and thus
> developers don't have to ensure their components will work in Facelets,
> let alone provide the configuration and handler classes. Seems like a
> huge number of the userbase is already using or migrating to Facelets,
> though, so I would expect to see Facelet support improve over time. This
> is, of course, a community project!
>
Getting away from the discussion itself...

Actually having facelets in would be a great welcome for the component
devs too, I have been playing around with the thought of having parts
of the stuff I am doing being moved into the facelets domain, sort of
like a tomahawk facelets.
Problem is I cannot do it in the borders of the Tomahawk project
currently because those components would only work with facelets.
(There was a discussion in the myfaces list a while ago)

I will give a description of the core problem.

Simple JSF control == 3 classes (one tag class, one component class, one
renderer clasS)
two xml file entries

each class is 100 locs code min and the renderer uses
a crude servlet like outputwriter api to the worst.
90% of this code normally is just glue code.

90% of most of this code probably could be replaced by simply facelet
tags and only specialized stuff would have to be coded in the component
api itself.

The component api probably is the biggest problem JSF has in my opinion
and it prevents a lot of people jumping onto the ship.
Facelets would be an easy entry point to add new components.


Heck everything which makes things easier and helps people to ease
coding is welcome, it does not have to be facelets.




Component coding questions

2007-03-15 Thread Marko Asplund

I'm trying to create a JSF component that would be composed of two
child components: an UIInput and a HtmlSelectManyListbox. The user
would be able to either use the text field or listbox to input a field
value.

How should the child components be created? Currently I'm doing it in
encodeBegin, when the component does not have any children. Is this a
proper way to create subcomponents?

If I don't override getRendersChildren, are child components rendered
automatically or should they be rendered manually? If child rendering
needs to be triggered explicitly, which methods should be called?

Since only the child components have state, there shouldn't be any
need to implement state handling in the parent, right?


Here's what my component looks like:

public class MyInputSelect extends UIInput {
   public MyInputSelect() {
   super();
   setRendererType(null);
   }

   public void encodeBegin(FacesContext ctx) throws IOException {
   if(this.getChildren().isEmpty()) createComponents();
   }

   private void createComponents() {
   
this.getChildren().add((UIInput)app.createComponent(UIInput.COMPONENT_TYPE));
HtmlSelectManyListbox menu = 
(HtmlSelectManyListbox)app.createComponent();
// populate menu
   this.getChildren().add(menu);
   }

   public void decode(FacesContext ctx) {
   // read child component values and set components value accordingly
   }

   public String getFamily() { return COMPONENT_FAMILY; }   
}


Re: Usage of Tag with JSF

2007-03-15 Thread Grant Smith

On 3/15/07, Marcel Stonitsch <[EMAIL PROTECTED]> wrote:


Another possibility I forgot in my previous mail: Put your html-code
into -tags.

Mixing html-tags and jsf-tags can cause several problems.




Unless you use Facelets, which is recommended.

Hans Reip schrieb:

> Hi,
>
> I'm doing my first steps with JSF and myFaces and I hav a question
regarding
> html-tags and JSF.
>
> I want to output a resource bundle key inside a  html element. So I
did
> following:
> 
>
> What happens is, that the message from the resource bundle is printed
out
> and after this the empty .
> No error is returned, so I think it is an basical understanding problem.
>
> I saw, that there is a  tag in the tomahawk tld but no 
tag.
> What do I do wrong? Isn't it possible to use html tags together with
JSF?
>
> Thanks in advance
> Regards
> Hans
>
>





--
Grant Smith


Re: Usage of Tag with JSF

2007-03-15 Thread Marcel Stonitsch
Another possibility I forgot in my previous mail: Put your html-code 
into -tags.


Mixing html-tags and jsf-tags can cause several problems.

Hans Reip schrieb:

Hi,

I'm doing my first steps with JSF and myFaces and I hav a question regarding
html-tags and JSF.

I want to output a resource bundle key inside a  html element. So I did
following:


What happens is, that the message from the resource bundle is printed out
and after this the empty .
No error is returned, so I think it is an basical understanding problem.

I saw, that there is a  tag in the tomahawk tld but no  tag.
What do I do wrong? Isn't it possible to use html tags together with JSF?

Thanks in advance
Regards
Hans

  




Re: Usage of Tag with JSF

2007-03-15 Thread Marcel Stonitsch
Try />



Hans Reip schrieb:

Hi,

I'm doing my first steps with JSF and myFaces and I hav a question regarding
html-tags and JSF.

I want to output a resource bundle key inside a  html element. So I did
following:


What happens is, that the message from the resource bundle is printed out
and after this the empty .
No error is returned, so I think it is an basical understanding problem.

I saw, that there is a  tag in the tomahawk tld but no  tag.
What do I do wrong? Isn't it possible to use html tags together with JSF?

Thanks in advance
Regards
Hans

  




Usage of Tag with JSF

2007-03-15 Thread Hans Reip

Hi,

I'm doing my first steps with JSF and myFaces and I hav a question regarding
html-tags and JSF.

I want to output a resource bundle key inside a  html element. So I did
following:


What happens is, that the message from the resource bundle is printed out
and after this the empty .
No error is returned, so I think it is an basical understanding problem.

I saw, that there is a  tag in the tomahawk tld but no  tag.
What do I do wrong? Isn't it possible to use html tags together with JSF?

Thanks in advance
Regards
Hans

-- 
View this message in context: 
http://www.nabble.com/Usage-of-%3Ch1%3E-Tag-with-JSF-tf340.html#a9496546
Sent from the MyFaces - Users mailing list archive at Nabble.com.



RE: internationalization in faclets

2007-03-15 Thread AMIR-TAHMASSEB Marc
You can do something like this :




regards,
 
Marc Kamran AMIR-TAHMASSEB
 


  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: 15 March 2007 15:35
To: users@myfaces.apache.org
Subject: internationalization in faclets



Hi,

Can anybody suggest me how to pass arguments for the
i18n in facelets?

Suppose I have a key like " {0} user name". I want to pass the
argument {0} from the facelets.

How can I pass my argument using EL?

 

Regards,

Basha



Re: internationalization in faclets

2007-03-15 Thread Adrian Mitev

use h:outputFormat

2007/3/15, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:


 Hi,

Can anybody suggest me how to pass arguments for the i18n in
facelets?

Suppose I have a key like " {0} user name". I want to pass the argument
{0} from the facelets.

How can I pass my argument using EL?



Regards,

Basha

The information contained in this electronic message and any attachments
to this message are intended for the exclusive use of the addressee(s) and
may contain proprietary, confidential or privileged information. If you are
not the intended recipient, you should not disseminate, distribute or copy
this e-mail. Please notify the sender immediately and destroy all copies of
this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient
should check this email and any attachments for the presence of viruses. The
company accepts no liability for any damage caused by any virus transmitted
by this email.

www.wipro.com



internationalization in faclets

2007-03-15 Thread shaikyesdani.basha

Hi,

Can anybody suggest me how to pass arguments for the i18n in
facelets?

Suppose I have a key like " {0} user name". I want to pass the argument
{0} from the facelets.

How can I pass my argument using EL?

 

Regards,

Basha




The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.
 
www.wipro.com

Re: [Tobago] Popups background not disabled

2007-03-15 Thread Volker Weber

Yes, please add a jira issue.

Regards,
 Volker

2007/3/15, H. Swaczinna <[EMAIL PROTECTED]>:

Hello Volker, hello Arvid, hello Bernd,

this seems to be a very difficult problem for you to solve.
I discussed this with my project manager. If there's no
simple solution you can leave it as it is. Our customer will
switch to IE 7 before the end of the year. We (he) can live with
this until then.

But the problem with the not disabled keyboard keys should be
fixed please. Should I add a jira issue for this?

Regards
Helmut


>An iframe with transparent background?
>I thought this is impossible. I had needed this on other places an
>tryed without success.
>I thought i had asked you before, obviously not.
>
>btw: can you take a look at TOBAGO-213? I tryed without succes to hide
>the selects with an iframe underlying the header.
>
>
>Regards,
>  Volker
>
>2007/3/15, Arvid Hülsebus <[EMAIL PROTECTED]>:
>> I have built a solution with IFRAMEs which works in IE6 a long time ago.
>> I will try to make a minimal example.
>>
>> Regards,
>> Arvid
>>
>> Volker Weber wrote:
>> > Hi,
>> >
>> > The second problem (listboxes are not diabled in IE < 7) could afaik
>> > only solved by the iframe trick. An this is imho not an option,
>> > because this did not grey out the background but hide it completly.
>> >
>> > Regards,
>> >  Volker
>> >
>> > 2007/3/15, Bernd Bohmann <[EMAIL PROTECTED]>:
>> >> Hello Helmut,
>> >>
>> >> can you add an jira issue for this, please.
>> >>
>> >> Regards
>> >>
>> >> Bernd
>> >>
>> >> H. Swaczinna wrote:
>> >> > No, sorry, we can't switch to IE 7. I would be happier if we could...
>> >> >
>> >> > Regards
>> >> > Helmut
>> >> >
>> >> >
>> >> >> BTW, the same is true for the progress effect used for page
>> >> transitioning.
>> >> >>
>> >> >> Is switching to IE 7 an option?
>> >> >>
>> >> >> Regards,
>> >> >> Arvid
>> >> >>
>> >> >> Arvid Hülsebus wrote:
>> >> >>> In a different project I installed something like a keyboard event
>> >> >>> sink to avoid this. I will try to work this out together with Udo.
>> >> >>>
>> >> >>> The select control problem doesn't exist in IE 7. For IE 6 we didn't
>> >> >>> include an IFRAME hack up to now to hide the select controls.
>> >> This was
>> >> >>> a known issue, which we somehow forgot to fix.
>> >> >>>
>> >> >>> Best regards,
>> >> >>> Arvid
>> >> >>>
>> >> >>> H. Swaczinna wrote:
>> >>  Hi,
>> >> 
>> >>  when the page shows a popup the background page is grayed and
>> >>  you can't activate any component by mouse. But you can activate
>> >>  any component by keyboard when you use the tab key. You can execute
>> >>  actions and modifiy fields. This is the serious problem because our
>> >>  customers users used to work more by keyboard than by mouse.
>> >>  With the IE there's another problem. Listboxes aren't disabled
>> >> at all.
>> >>  You can pick entries by mouse.
>> >> 
>> >>  Regards
>> >>  Helmut
>> >> 
>> >> 
>> >> >
>> >>
>>



Re: [ Tobago ] Change the Translation

2007-03-15 Thread madan chowdary
ok sure Volker, 

will post a issue regarding this..

Regards,
Madan

- Original Message 
From: Volker Weber <[EMAIL PROTECTED]>
To: MyFaces Discussion 
Sent: Thursday, 15 March, 2007 5:37:02 PM
Subject: Re: [ Tobago ] Change the Translation

Hi Madan,

could you please add a jira entry for this.

I'm not sure if this is are two problems or only one, but of cause the
translation layer should hide the complete app, and the popup should
open centered to the visible area and the layer should also hide the
full app.

Regards,
  Volker



2007/3/15, madan chowdary <[EMAIL PROTECTED]>:
>
> Hi All,
>
> Thnx for the suggestion...
>
> I have one more question to ask regarding the translations , popup and date
> picker.
>
> My screen resolution is 1024 * 768 px. So if at all a translations
> occur,then the whole screen is being covered by it and that works fine.
>
> But what happens in my case is, a few of my application forms is of height
> 1000px, as usual the submit buttons will be at the end of the form.
>
> Now when i submit the button, the translation occurs, but only upto a height
> of the standard 768px.
>
> The rest of the screen looks as such...this may confuse the customer and he
> has to move upwards to see whts happening
>
> And even the date picker, i have that at the end of the form say @ 900px,
> but its being displayed in the middle of 768px, so the user has to scrollup
> and select the date and again scroll down to submit the form.
>
> These doesn't affect the application during development , but will have an
> effect for the customer when it goes into production.
>
> how can i rectify these things ?
>
> Regards,
> Madan
>
>
> - Original Message 
> From: Volker Weber <[EMAIL PROTECTED]>
> To: MyFaces Discussion 
> Sent: Thursday, 15 March, 2007 1:36:50 AM
> Subject: Re: [ Tobago ] Change the Translation
>
> Hi,
>
> you did not need to derive a own theme.
>
> You can replace this image by providing one with the same path,
> starting with the 'html' in a tobago-resource-path in your
> application.
>
> e.g.
>
> configure the resource-path in the tobago-config.xml of your app:
>   tobago-resource
>
> and create this path in your webapp
>  tobago-resource/html/scarborough/standard/image/
> and put your replacement into this.
>
> Every tobago resource can be replaced this way.
>
> Regards,
>   Volker
>
> 2007/3/14, Arvid Hülsebus <[EMAIL PROTECTED]>:
> > Hello,
> >
> > the easiest way would be to derive a theme from the one you are using
> > (if you are using one of the provided ones) and replace the image
> >
> >
> ...\src\main\resources\org\apache\myfaces\tobago\renderkit\html\scarborough\standard\image\tobago-overlay-wait.gif
> >
> > For a minimal derived theme see
> ...\example\tobago-theme-example
> >
> > HTH,
> >
> > Arvid
> >
> > madan chowdary wrote:
> > > Hi All,
> > >
> > > Is there anyway to change the moving squares while translation
> > >
> > > and simply display " Page being loaded...Please wait "
> > >
> > > How can i do this ?
> > >
> > > Madan
> > >
> > >
> 
> > > Here's a new way to find what you're looking for - Yahoo! Answers
> > >
> 
> >
>
>
>  
>  Here's a new way to find what you're looking for - Yahoo! Answers








__
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/

Re: Question: Style for "Browse"-button of "inputFileUpload"?

2007-03-15 Thread thosters

Well, that's a pity. But it cannot be helped then. Guess I will have to go
with that standard "browse"-button.

Thanks everyone for your detailed replies, they were useful and helped me.



Volker Weber-5 wrote:
> 
> Hi,
> 
>> Any further ideas how to trigger a "browse"-dialog of a browser (using
>> jsf
>> only maybe)?
> 
> This is not possible for security reasons, and if you, ore somone
> other, find a way to do this, than you, or he, found a bug which may
> be fixed in the next update.
> 
> No html/javascript is allowed to access files on a system without user
> action by pressing a well known standard browse button. This is the
> reason why you can't modify this button.
> 
> regards,
>   volker
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Question%3A-Style-for-%22Browse%22-button-of-%22inputFileUpload%22--tf3355850.html#a9494791
Sent from the MyFaces - Users mailing list archive at Nabble.com.



Re: [Tobago] Popups background not disabled

2007-03-15 Thread H. Swaczinna
Hello Volker, hello Arvid, hello Bernd,

this seems to be a very difficult problem for you to solve.
I discussed this with my project manager. If there's no
simple solution you can leave it as it is. Our customer will
switch to IE 7 before the end of the year. We (he) can live with
this until then.

But the problem with the not disabled keyboard keys should be 
fixed please. Should I add a jira issue for this?

Regards
Helmut


>An iframe with transparent background?
>I thought this is impossible. I had needed this on other places an
>tryed without success.
>I thought i had asked you before, obviously not.
>
>btw: can you take a look at TOBAGO-213? I tryed without succes to hide
>the selects with an iframe underlying the header.
>
>
>Regards,
>  Volker
>
>2007/3/15, Arvid Hülsebus <[EMAIL PROTECTED]>:
>> I have built a solution with IFRAMEs which works in IE6 a long time ago.
>> I will try to make a minimal example.
>>
>> Regards,
>> Arvid
>>
>> Volker Weber wrote:
>> > Hi,
>> >
>> > The second problem (listboxes are not diabled in IE < 7) could afaik
>> > only solved by the iframe trick. An this is imho not an option,
>> > because this did not grey out the background but hide it completly.
>> >
>> > Regards,
>> >  Volker
>> >
>> > 2007/3/15, Bernd Bohmann <[EMAIL PROTECTED]>:
>> >> Hello Helmut,
>> >>
>> >> can you add an jira issue for this, please.
>> >>
>> >> Regards
>> >>
>> >> Bernd
>> >>
>> >> H. Swaczinna wrote:
>> >> > No, sorry, we can't switch to IE 7. I would be happier if we could...
>> >> >
>> >> > Regards
>> >> > Helmut
>> >> >
>> >> >
>> >> >> BTW, the same is true for the progress effect used for page
>> >> transitioning.
>> >> >>
>> >> >> Is switching to IE 7 an option?
>> >> >>
>> >> >> Regards,
>> >> >> Arvid
>> >> >>
>> >> >> Arvid Hülsebus wrote:
>> >> >>> In a different project I installed something like a keyboard event
>> >> >>> sink to avoid this. I will try to work this out together with Udo.
>> >> >>>
>> >> >>> The select control problem doesn't exist in IE 7. For IE 6 we didn't
>> >> >>> include an IFRAME hack up to now to hide the select controls.
>> >> This was
>> >> >>> a known issue, which we somehow forgot to fix.
>> >> >>>
>> >> >>> Best regards,
>> >> >>> Arvid
>> >> >>>
>> >> >>> H. Swaczinna wrote:
>> >>  Hi,
>> >> 
>> >>  when the page shows a popup the background page is grayed and
>> >>  you can't activate any component by mouse. But you can activate
>> >>  any component by keyboard when you use the tab key. You can execute
>> >>  actions and modifiy fields. This is the serious problem because our
>> >>  customers users used to work more by keyboard than by mouse.
>> >>  With the IE there's another problem. Listboxes aren't disabled
>> >> at all.
>> >>  You can pick entries by mouse.
>> >> 
>> >>  Regards
>> >>  Helmut
>> >> 
>> >> 
>> >> >
>> >>
>>


Re: Efficient (ajax) user validation

2007-03-15 Thread Werner Punz
Best bet here:

ajax4jsf
or
sandbox ppr

the case is simple enough that every partial page rendering should be
hable to handle it.



Oscar Duque schrieb:
> Greetings to all,
>  
> That's the general environment:
>  
> - I have a database table with the "Users" who can access the application.
> - I have an "login.jspx" JSF page which have two fields  id="username"> and  - I have a backing bean "login" for the "login.jspx" page
> - I have a session bean (myfacade) inside it i have a method "boolean
> validate_user(String un,String up,String error_message)", that method
> goes to the database and does the validation, returning true if success
> or false if the validation fails, additionaly and String error_message
> for the validation error.
> - I need to avoid the round trip of showing and "error_login.jspx" and
> returning back to "login.jspx", instead of that, i need to show the
> login "failed error message" in the same "login.jspx" in a JavaScript
> alert style, making use of myfaces ajax capabilities.
> - Or if the validation was success then navigate to the
> "second_page.jspx" jsf page.
>  
> According your experience and knowledge, might you reccommend to me how
> to do that  efficient (ajax) user validation against a database, please ?,
>  
> Thanks in advance,
>  
> Oscar Duque
> 
> 
> Express yourself instantly with MSN Messenger! MSN Messenger
>  Download today it's FREE!



Re: Tomahawk release plans?

2007-03-15 Thread Werner Punz
Matthias Wessendorf schrieb:
> Mike, Jeff;
> 
> For a Tomahawk², which should cover JSF 1.2 efforts of Tomahawk (and a
> clean up?) I'd like to see the Trinidad stuff used.
> 
Which reminds me, please guys, write a proper documentation for the
Trinidad codegen, I once wanted to use it, and ended up doing my own one
again because I could not figure out in my limited time what half of the
attributes (which often have very generic names) were doing.



Re: Tomahawk release plans?

2007-03-15 Thread Werner Punz
Jeff Bischoff schrieb:
> I agree, it would be great if that were part of the distro. Problem is,
> Facelets still isn't officially supported by Tomahawk, and thus
> developers don't have to ensure their components will work in Facelets,
> let alone provide the configuration and handler classes. Seems like a
> huge number of the userbase is already using or migrating to Facelets,
> though, so I would expect to see Facelet support improve over time. This
> is, of course, a community project!
> 
Getting away from the discussion itself...

Actually having facelets in would be a great welcome for the component
devs too, I have been playing around with the thought of having parts
of the stuff I am doing being moved into the facelets domain, sort of
like a tomahawk facelets.
Problem is I cannot do it in the borders of the Tomahawk project
currently because those components would only work with facelets.
(There was a discussion in the myfaces list a while ago)

I will give a description of the core problem.

Simple JSF control == 3 classes (one tag class, one component class, one
renderer clasS)
two xml file entries

each class is 100 locs code min and the renderer uses
a crude servlet like outputwriter api to the worst.
90% of this code normally is just glue code.

90% of most of this code probably could be replaced by simply facelet
tags and only specialized stuff would have to be coded in the component
api itself.

The component api probably is the biggest problem JSF has in my opinion
and it prevents a lot of people jumping onto the ship.
Facelets would be an easy entry point to add new components.


Heck everything which makes things easier and helps people to ease
coding is welcome, it does not have to be facelets.



Re: [Tobago] Ajax request timeout

2007-03-15 Thread H. Swaczinna
Hi Volker,

thank you for the info, I'll try this. 

Maybe the problem in my first mail was a followup problem of
an ajax timeout.

Regards
Helmut

>Hi Helmut,
>
>i think the problem in your first mail is not the ajax timeout.
>
>but to set this timout you can redefine the value of
>Tobago.Updater.UPDATE_TIMEOUT.
>
>e.g.
>
>
>  Tobago.Updater.UPDATE_TIMEOUT = 5000;
>
>
>5000 = 5 sec, is the default.
>
>Regards,
>  Volker
>
>2007/3/15, H. Swaczinna <[EMAIL PROTECTED]>:
>> Hello,
>>
>> I have to ask again, is there a way to set the timeout for ajax
>> requests? There're several problems when an ajax request timesout,
>> for example a popup doesn't popup.
>>
>> Regards
>> Helmut
>>
>>
>>
>> >Hello,
>> >
>> >the timeout for ajax request seems to be very small. If an ajax requests
>> >blocks for some seconds I get the error message
>> >
>> >2007-03-12 15:16:56 ERROR -
>> >org.apache.myfaces.tobago.ajax.api.AjaxPhaseListener - Ignoring 
>AjaxRequest
>> >without valid component tree!
>> >
>> >and ajax doesn't work anymore.
>> >
>> >How can I increase the ajax timeout?
>> >
>> >Regards
>> >Helmut
>>


Re: [Tobago] Ajax request timeout

2007-03-15 Thread Volker Weber

Hi Helmut,

i think the problem in your first mail is not the ajax timeout.

but to set this timout you can redefine the value of
Tobago.Updater.UPDATE_TIMEOUT.

e.g.


 Tobago.Updater.UPDATE_TIMEOUT = 5000;


5000 = 5 sec, is the default.

Regards,
 Volker

2007/3/15, H. Swaczinna <[EMAIL PROTECTED]>:

Hello,

I have to ask again, is there a way to set the timeout for ajax
requests? There're several problems when an ajax request timesout,
for example a popup doesn't popup.

Regards
Helmut



>Hello,
>
>the timeout for ajax request seems to be very small. If an ajax requests
>blocks for some seconds I get the error message
>
>2007-03-12 15:16:56 ERROR -
>org.apache.myfaces.tobago.ajax.api.AjaxPhaseListener - Ignoring AjaxRequest
>without valid component tree!
>
>and ajax doesn't work anymore.
>
>How can I increase the ajax timeout?
>
>Regards
>Helmut



Re: [ Tobago ] Change the Translation

2007-03-15 Thread Volker Weber

Hi Madan,

could you please add a jira entry for this.

I'm not sure if this is are two problems or only one, but of cause the
translation layer should hide the complete app, and the popup should
open centered to the visible area and the layer should also hide the
full app.

Regards,
 Volker



2007/3/15, madan chowdary <[EMAIL PROTECTED]>:


Hi All,

Thnx for the suggestion...

I have one more question to ask regarding the translations , popup and date
picker.

My screen resolution is 1024 * 768 px. So if at all a translations
occur,then the whole screen is being covered by it and that works fine.

But what happens in my case is, a few of my application forms is of height
1000px, as usual the submit buttons will be at the end of the form.

Now when i submit the button, the translation occurs, but only upto a height
of the standard 768px.

The rest of the screen looks as such...this may confuse the customer and he
has to move upwards to see whts happening

And even the date picker, i have that at the end of the form say @ 900px,
but its being displayed in the middle of 768px, so the user has to scrollup
and select the date and again scroll down to submit the form.

These doesn't affect the application during development , but will have an
effect for the customer when it goes into production.

how can i rectify these things ?

Regards,
Madan


- Original Message 
From: Volker Weber <[EMAIL PROTECTED]>
To: MyFaces Discussion 
Sent: Thursday, 15 March, 2007 1:36:50 AM
Subject: Re: [ Tobago ] Change the Translation

Hi,

you did not need to derive a own theme.

You can replace this image by providing one with the same path,
starting with the 'html' in a tobago-resource-path in your
application.

e.g.

configure the resource-path in the tobago-config.xml of your app:
  tobago-resource

and create this path in your webapp
 tobago-resource/html/scarborough/standard/image/
and put your replacement into this.

Every tobago resource can be replaced this way.

Regards,
  Volker

2007/3/14, Arvid Hülsebus <[EMAIL PROTECTED]>:
> Hello,
>
> the easiest way would be to derive a theme from the one you are using
> (if you are using one of the provided ones) and replace the image
>
>
...\src\main\resources\org\apache\myfaces\tobago\renderkit\html\scarborough\standard\image\tobago-overlay-wait.gif
>
> For a minimal derived theme see
...\example\tobago-theme-example
>
> HTH,
>
> Arvid
>
> madan chowdary wrote:
> > Hi All,
> >
> > Is there anyway to change the moving squares while translation
> >
> > and simply display " Page being loaded...Please wait "
> >
> > How can i do this ?
> >
> > Madan
> >
> >

> > Here's a new way to find what you're looking for - Yahoo! Answers
> >

>


 
 Here's a new way to find what you're looking for - Yahoo! Answers


Re: building tomahawk 1.1.3 from svn

2007-03-15 Thread Dmitry Kandalov

Thanks, Arvid! It builds now.
-- 
View this message in context: 
http://www.nabble.com/building-tomahawk-1.1.3-from-svn-tf3402482.html#a9493004
Sent from the MyFaces - Users mailing list archive at Nabble.com.



Re: Help !!! myfaces tomahawk JSF datatable component problem with Spring Web Flow...

2007-03-15 Thread Veit Guna
Yes, for example that you can't embed a dialog in a "normal" webapp that has a 
menu. You have to put every outcome of the menu to the dialog configuration 
then. And I'm not willing to do this. Nothing out-of-the-box
in shale-dialog can handle this, for now. There's a thread on the shale mailing 
list from me about that...


 Original-Nachricht 
Datum: Thu, 15 Mar 2007 12:44:54 +0100
Von: "Matthias Wessendorf" <[EMAIL PROTECTED]>
An: "MyFaces Discussion" 
CC: 
Betreff: Re: Help !!! myfaces tomahawk JSF datatable component problem with 
Spring Web Flow...

> no-gos ?
> 
> On 3/15/07, Veit Guna <[EMAIL PROTECTED]> wrote:
> > Yes, I took a look at shale dialog, but there're some no-go's for me
> with its dialog component. So I'm looking for an alternative.. and spring
> webflow sounds good - but it has some problems with JSF...
> >
> >
> >  Original-Nachricht 
> > Datum: Thu, 15 Mar 2007 12:30:41 +0100
> > Von: "Matthias Wessendorf" <[EMAIL PROTECTED]>
> > An: "MyFaces Discussion" 
> > CC:
> > Betreff: Re: Help !!! myfaces tomahawk JSF datatable component problem
> with Spring Web Flow...
> >
> > > Veit,
> > >
> > > I am not a user of webflow, but since Shale dialog is only supporting
> > > JSF, I'd consider to use that one, since it is much much closer to JSF
> > > than webflow, I think
> > >
> > > -M
> > >
> > > On 3/15/07, Veit Guna <[EMAIL PROTECTED]> wrote:
> > > > No, sorry. But can I ask you a counterquestion :)?
> > > >
> > > > Independend of your current problem, how nice does spring webflow
> play
> > > together with JSF (myfaces)? I read about some problems in the webflow
> jira
> > > concerning JSF. Which version do you use? How well does it handle the
> > > browser navigation buttons with jsf? Is it easy to handle (more
> configuration
> > > than programming)?
> > > >
> > > > Veit
> > > >
> > > >
> > > >  Original-Nachricht 
> > > > Datum: Thu, 15 Mar 2007 03:45:41 -0700 (PDT)
> > > > Von: Alex Tian <[EMAIL PROTECTED]>
> > > > An: users@myfaces.apache.org
> > > > CC:
> > > > Betreff: Help !!! myfaces tomahawk JSF datatable component problem
> with
> > > Spring Web Flow...
> > > >
> > > > >
> > > > > Hi everyone,
> > > > > I'm a newbie to both Spring web flow and Javaserver faces,
> recently
> > > I've
> > > > > encounted a problem with Myfaces Tomahawk JSF datatable component
> > > problem
> > > > > with SWF.
> > > > >
> > > > > I was trying to use Tomahawk's datatable component with
> AJAX-powered
> > > auto
> > > > > sorting and pagination. When page's been loaded, the table with
> the
> > > first
> > > > > page's data is dislplayed, but when I tried to click some
> links(e.g.
> > > > > fastforward or page number links) on this component, nothing
> > > happened...
> > > > > Has anyone tried to integrate Myfaces datatable components with
> Spring
> > > web
> > > > > flow ?
> > > > > Any help would be appreciated...
> > > > >
> > > > > --
> > > > > View this message in context:
> > > > >
> > >
> http://www.nabble.com/Help-%21%21%21-myfaces-tomahawk-JSF-datatable-component-problem-with-Spring-Web-Flow...-tf3407508.html#a9491947
> > > > > Sent from the MyFaces - Users mailing list archive at Nabble.com.
> > > >
> > > > --
> > > > Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
> > > > Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
> > > >
> > >
> > >
> > > --
> > > Matthias Wessendorf
> > > http://tinyurl.com/fmywh
> > >
> > > further stuff:
> > > blog: http://jroller.com/page/mwessendorf
> > > mail: mwessendorf-at-gmail-dot-com
> >
> > --
> > Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
> > Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
> >
> 
> 
> -- 
> Matthias Wessendorf
> http://tinyurl.com/fmywh
> 
> further stuff:
> blog: http://jroller.com/page/mwessendorf
> mail: mwessendorf-at-gmail-dot-com

-- 
"Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: www.gmx.net/de/go/mailfooter/topmail-out


Re: [ Tobago ] Change the Translation

2007-03-15 Thread madan chowdary
Hi All,

Thnx for the suggestion...

I have one more question to ask regarding the translations , popup and date 
picker.

My screen resolution is 1024 * 768 px. So if at all a translations occur,then 
the whole screen is being covered by it and that works fine.

But what happens in my case is, a few of my application forms is of height 
1000px, as usual the submit buttons will be at the end of the form.

Now when i submit the button, the translation occurs, but only upto a height of 
the standard 768px.

The rest of the screen looks as such...this may confuse the customer and he has 
to move upwards to see whts happening

And even the date picker, i have that at the end of the form say @ 900px, but 
its being displayed in the middle of 768px, so the user has to scrollup and 
select the date and again scroll down to submit the form.

These doesn't affect the application during development , but will have an 
effect for the customer when it goes into production.

how can i rectify these things ?

Regards,
Madan

- Original Message 
From: Volker Weber <[EMAIL PROTECTED]>
To: MyFaces Discussion 
Sent: Thursday, 15 March, 2007 1:36:50 AM
Subject: Re: [ Tobago ] Change the Translation

Hi,

you did not need to derive a own theme.

You can replace this image by providing one with the same path,
starting with the 'html' in a tobago-resource-path in your
application.

e.g.

configure the resource-path in the tobago-config.xml of your app:
  tobago-resource

and create this path in your webapp
 tobago-resource/html/scarborough/standard/image/
and put your replacement into this.

Every tobago resource can be replaced this way.

Regards,
  Volker

2007/3/14, Arvid Hülsebus <[EMAIL PROTECTED]>:
> Hello,
>
> the easiest way would be to derive a theme from the one you are using
> (if you are using one of the provided ones) and replace the image
>
> ...\src\main\resources\org\apache\myfaces\tobago\renderkit\html\scarborough\standard\image\tobago-overlay-wait.gif
>
> For a minimal derived theme see ...\example\tobago-theme-example
>
> HTH,
>
> Arvid
>
> madan chowdary wrote:
> > Hi All,
> >
> > Is there anyway to change the moving squares while translation
> >
> > and simply display " Page being loaded...Please wait "
> >
> > How can i do this ?
> >
> > Madan
> >
> > 
> > Here's a new way to find what you're looking for - Yahoo! Answers
> > 
>








__
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/

RE: [Tobago] Ajax request timeout

2007-03-15 Thread H. Swaczinna
Hello,

I have to ask again, is there a way to set the timeout for ajax
requests? There're several problems when an ajax request timesout,
for example a popup doesn't popup.

Regards
Helmut



>Hello,
>
>the timeout for ajax request seems to be very small. If an ajax requests 
>blocks for some seconds I get the error message 
>
>2007-03-12 15:16:56 ERROR - 
>org.apache.myfaces.tobago.ajax.api.AjaxPhaseListener - Ignoring AjaxRequest 
>without valid component tree!
>
>and ajax doesn't work anymore.
>
>How can I increase the ajax timeout?
>
>Regards
>Helmut


Re: Help !!! myfaces tomahawk JSF datatable component problem with Spring Web Flow...

2007-03-15 Thread Matthias Wessendorf

no-gos ?

On 3/15/07, Veit Guna <[EMAIL PROTECTED]> wrote:

Yes, I took a look at shale dialog, but there're some no-go's for me with its 
dialog component. So I'm looking for an alternative.. and spring webflow sounds 
good - but it has some problems with JSF...


 Original-Nachricht 
Datum: Thu, 15 Mar 2007 12:30:41 +0100
Von: "Matthias Wessendorf" <[EMAIL PROTECTED]>
An: "MyFaces Discussion" 
CC:
Betreff: Re: Help !!! myfaces tomahawk JSF datatable component problem with 
Spring Web Flow...

> Veit,
>
> I am not a user of webflow, but since Shale dialog is only supporting
> JSF, I'd consider to use that one, since it is much much closer to JSF
> than webflow, I think
>
> -M
>
> On 3/15/07, Veit Guna <[EMAIL PROTECTED]> wrote:
> > No, sorry. But can I ask you a counterquestion :)?
> >
> > Independend of your current problem, how nice does spring webflow play
> together with JSF (myfaces)? I read about some problems in the webflow jira
> concerning JSF. Which version do you use? How well does it handle the
> browser navigation buttons with jsf? Is it easy to handle (more configuration
> than programming)?
> >
> > Veit
> >
> >
> >  Original-Nachricht 
> > Datum: Thu, 15 Mar 2007 03:45:41 -0700 (PDT)
> > Von: Alex Tian <[EMAIL PROTECTED]>
> > An: users@myfaces.apache.org
> > CC:
> > Betreff: Help !!! myfaces tomahawk JSF datatable component problem with
> Spring Web Flow...
> >
> > >
> > > Hi everyone,
> > > I'm a newbie to both Spring web flow and Javaserver faces, recently
> I've
> > > encounted a problem with Myfaces Tomahawk JSF datatable component
> problem
> > > with SWF.
> > >
> > > I was trying to use Tomahawk's datatable component with AJAX-powered
> auto
> > > sorting and pagination. When page's been loaded, the table with the
> first
> > > page's data is dislplayed, but when I tried to click some links(e.g.
> > > fastforward or page number links) on this component, nothing
> happened...
> > > Has anyone tried to integrate Myfaces datatable components with Spring
> web
> > > flow ?
> > > Any help would be appreciated...
> > >
> > > --
> > > View this message in context:
> > >
> 
http://www.nabble.com/Help-%21%21%21-myfaces-tomahawk-JSF-datatable-component-problem-with-Spring-Web-Flow...-tf3407508.html#a9491947
> > > Sent from the MyFaces - Users mailing list archive at Nabble.com.
> >
> > --
> > Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
> > Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
> >
>
>
> --
> Matthias Wessendorf
> http://tinyurl.com/fmywh
>
> further stuff:
> blog: http://jroller.com/page/mwessendorf
> mail: mwessendorf-at-gmail-dot-com

--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer




--
Matthias Wessendorf
http://tinyurl.com/fmywh

further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com


Re: Help !!! myfaces tomahawk JSF datatable component problem with Spring Web Flow...

2007-03-15 Thread Veit Guna
Yes, I took a look at shale dialog, but there're some no-go's for me with its 
dialog component. So I'm looking for an alternative.. and spring webflow sounds 
good - but it has some problems with JSF...


 Original-Nachricht 
Datum: Thu, 15 Mar 2007 12:30:41 +0100
Von: "Matthias Wessendorf" <[EMAIL PROTECTED]>
An: "MyFaces Discussion" 
CC: 
Betreff: Re: Help !!! myfaces tomahawk JSF datatable component problem with 
Spring Web Flow...

> Veit,
> 
> I am not a user of webflow, but since Shale dialog is only supporting
> JSF, I'd consider to use that one, since it is much much closer to JSF
> than webflow, I think
> 
> -M
> 
> On 3/15/07, Veit Guna <[EMAIL PROTECTED]> wrote:
> > No, sorry. But can I ask you a counterquestion :)?
> >
> > Independend of your current problem, how nice does spring webflow play
> together with JSF (myfaces)? I read about some problems in the webflow jira
> concerning JSF. Which version do you use? How well does it handle the
> browser navigation buttons with jsf? Is it easy to handle (more configuration
> than programming)?
> >
> > Veit
> >
> >
> >  Original-Nachricht 
> > Datum: Thu, 15 Mar 2007 03:45:41 -0700 (PDT)
> > Von: Alex Tian <[EMAIL PROTECTED]>
> > An: users@myfaces.apache.org
> > CC:
> > Betreff: Help !!! myfaces tomahawk JSF datatable component problem with
> Spring Web Flow...
> >
> > >
> > > Hi everyone,
> > > I'm a newbie to both Spring web flow and Javaserver faces, recently
> I've
> > > encounted a problem with Myfaces Tomahawk JSF datatable component
> problem
> > > with SWF.
> > >
> > > I was trying to use Tomahawk's datatable component with AJAX-powered
> auto
> > > sorting and pagination. When page's been loaded, the table with the
> first
> > > page's data is dislplayed, but when I tried to click some links(e.g.
> > > fastforward or page number links) on this component, nothing
> happened...
> > > Has anyone tried to integrate Myfaces datatable components with Spring
> web
> > > flow ?
> > > Any help would be appreciated...
> > >
> > > --
> > > View this message in context:
> > >
> http://www.nabble.com/Help-%21%21%21-myfaces-tomahawk-JSF-datatable-component-problem-with-Spring-Web-Flow...-tf3407508.html#a9491947
> > > Sent from the MyFaces - Users mailing list archive at Nabble.com.
> >
> > --
> > Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
> > Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
> >
> 
> 
> -- 
> Matthias Wessendorf
> http://tinyurl.com/fmywh
> 
> further stuff:
> blog: http://jroller.com/page/mwessendorf
> mail: mwessendorf-at-gmail-dot-com

-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer


Re: Help !!! myfaces tomahawk JSF datatable component problem with Spring Web Flow...

2007-03-15 Thread Werner Punz
Matthias Wessendorf schrieb:
> Veit,
> 
> I am not a user of webflow, but since Shale dialog is only supporting
> JSF, I'd consider to use that one, since it is much much closer to JSF
> than webflow, I think
> 
> -M
> 
I second that, if you need a sophisticated dialog mechanism, please
consider shale dialog it is very close to webflow in concept but more
jsf centric.



Re: Help !!! myfaces tomahawk JSF datatable component problem with Spring Web Flow...

2007-03-15 Thread Matthias Wessendorf

Veit,

I am not a user of webflow, but since Shale dialog is only supporting
JSF, I'd consider to use that one, since it is much much closer to JSF
than webflow, I think

-M

On 3/15/07, Veit Guna <[EMAIL PROTECTED]> wrote:

No, sorry. But can I ask you a counterquestion :)?

Independend of your current problem, how nice does spring webflow play together 
with JSF (myfaces)? I read about some problems in the webflow jira concerning 
JSF. Which version do you use? How well does it handle the browser navigation 
buttons with jsf? Is it easy to handle (more configuration than programming)?

Veit


 Original-Nachricht 
Datum: Thu, 15 Mar 2007 03:45:41 -0700 (PDT)
Von: Alex Tian <[EMAIL PROTECTED]>
An: users@myfaces.apache.org
CC:
Betreff: Help !!! myfaces tomahawk JSF datatable component problem with Spring 
Web Flow...

>
> Hi everyone,
> I'm a newbie to both Spring web flow and Javaserver faces, recently I've
> encounted a problem with Myfaces Tomahawk JSF datatable component problem
> with SWF.
>
> I was trying to use Tomahawk's datatable component with AJAX-powered auto
> sorting and pagination. When page's been loaded, the table with the first
> page's data is dislplayed, but when I tried to click some links(e.g.
> fastforward or page number links) on this component, nothing happened...
> Has anyone tried to integrate Myfaces datatable components with Spring web
> flow ?
> Any help would be appreciated...
>
> --
> View this message in context:
> 
http://www.nabble.com/Help-%21%21%21-myfaces-tomahawk-JSF-datatable-component-problem-with-Spring-Web-Flow...-tf3407508.html#a9491947
> Sent from the MyFaces - Users mailing list archive at Nabble.com.

--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer




--
Matthias Wessendorf
http://tinyurl.com/fmywh

further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com


Re: Help !!! myfaces tomahawk JSF datatable component problem with Spring Web Flow...

2007-03-15 Thread Alex Tian

I am using Tomahawk's datatable with auto sorting and pagination.


Gerald Müllan wrote:
> 
> Hi,
> 
> which ajax-support are you using; ajax4jsf, or something other?
> 
> The problem should be more concerned to the combination of dataTable
> and the ajax-mechanism.
> 
> cheers,
> 
> Gerald
> 
> On 3/15/07, Alex Tian <[EMAIL PROTECTED]> wrote:
>>  Hi everyone, I'm a newbie to both Spring web flow and Javaserver faces,
>> recently I've encounted a problem with Myfaces Tomahawk JSF datatable
>> component problem with SWF. I was trying to use Tomahawk's datatable
>> component with AJAX-powered auto sorting and pagination. When page's been
>> loaded, the table with the first page's data is dislplayed, but when I
>> tried
>> to click some links(e.g. fastforward or page number links) on this
>> component, nothing happened... Has anyone tried to integrate Myfaces
>> datatable components with Spring web flow ? Any help would be
>> appreciated...
>> 
>>  View this message in context: Help !!! myfaces tomahawk JSF datatable
>> component problem with Spring Web Flow...
>>  Sent from the MyFaces - Users mailing list archive at Nabble.com.
>>
> 
> 
> -- 
> http://www.irian.at
> 
> Your JSF powerhouse -
> JSF Consulting, Development and
> Courses in English and German
> 
> Professional Support for Apache MyFaces
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Help-%21%21%21-myfaces-tomahawk-JSF-datatable-component-problem-with-Spring-Web-Flow...-tf3407508.html#a9492605
Sent from the MyFaces - Users mailing list archive at Nabble.com.



Re: Help !!! myfaces tomahawk JSF datatable component problem with Spring Web Flow...

2007-03-15 Thread Alex Tian

Generally speaking, when integrate them tegother, it's not that difficult
except for some sophisticated AJAXified JSF components, you have to take
care of the flowExecutionKey... I am still doing research on it... found a
sample elsewhere, gonna try it out...


Veit Guna-2 wrote:
> 
> No, sorry. But can I ask you a counterquestion :)?
> 
> Independend of your current problem, how nice does spring webflow play
> together with JSF (myfaces)? I read about some problems in the webflow
> jira concerning JSF. Which version do you use? How well does it handle the
> browser navigation buttons with jsf? Is it easy to handle (more
> configuration than programming)?
> 
> Veit
> 
> 
>  Original-Nachricht 
> Datum: Thu, 15 Mar 2007 03:45:41 -0700 (PDT)
> Von: Alex Tian <[EMAIL PROTECTED]>
> An: users@myfaces.apache.org
> CC: 
> Betreff: Help !!! myfaces tomahawk JSF datatable component problem with
> Spring Web Flow...
> 
>> 
>> Hi everyone,
>> I'm a newbie to both Spring web flow and Javaserver faces, recently I've
>> encounted a problem with Myfaces Tomahawk JSF datatable component problem
>> with SWF.
>> 
>> I was trying to use Tomahawk's datatable component with AJAX-powered auto
>> sorting and pagination. When page's been loaded, the table with the first
>> page's data is dislplayed, but when I tried to click some links(e.g.
>> fastforward or page number links) on this component, nothing happened... 
>> Has anyone tried to integrate Myfaces datatable components with Spring
>> web
>> flow ?
>> Any help would be appreciated...
>> 
>> -- 
>> View this message in context:
>> http://www.nabble.com/Help-%21%21%21-myfaces-tomahawk-JSF-datatable-component-problem-with-Spring-Web-Flow...-tf3407508.html#a9491947
>> Sent from the MyFaces - Users mailing list archive at Nabble.com.
> 
> -- 
> Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
> Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Help-%21%21%21-myfaces-tomahawk-JSF-datatable-component-problem-with-Spring-Web-Flow...-tf3407508.html#a9492594
Sent from the MyFaces - Users mailing list archive at Nabble.com.



Re: Help !!! myfaces tomahawk JSF datatable component problem with Spring Web Flow...

2007-03-15 Thread Gerald Müllan

Hi,

which ajax-support are you using; ajax4jsf, or something other?

The problem should be more concerned to the combination of dataTable
and the ajax-mechanism.

cheers,

Gerald

On 3/15/07, Alex Tian <[EMAIL PROTECTED]> wrote:

 Hi everyone, I'm a newbie to both Spring web flow and Javaserver faces,
recently I've encounted a problem with Myfaces Tomahawk JSF datatable
component problem with SWF. I was trying to use Tomahawk's datatable
component with AJAX-powered auto sorting and pagination. When page's been
loaded, the table with the first page's data is dislplayed, but when I tried
to click some links(e.g. fastforward or page number links) on this
component, nothing happened... Has anyone tried to integrate Myfaces
datatable components with Spring web flow ? Any help would be appreciated...

 View this message in context: Help !!! myfaces tomahawk JSF datatable
component problem with Spring Web Flow...
 Sent from the MyFaces - Users mailing list archive at Nabble.com.




--
http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces


CompatibilityMatrix

2007-03-15 Thread Marcus Beyer

Hello all,

after trying wildest combinations of MyFaces and Tomahawk,
I finally discovered .


My question: why on earth is this important page not linked from
 after the sentence
"Of course the custom components can also be used with the Apache
MyFaces JSF implementation."??

I strongly recommend to do so.

Another interesting question is: don't we also need a
CompatibilityMatrix for JSR RI with Tomahawk? I e.g. did not
manage to get all Tomahawk components to work with JSF RI.
 didn't work ...

cheers
Marcus



Re: What i can use in web.xml when I use extentionFilter?

2007-03-15 Thread liny

Can anyone help me?
-- 
View this message in context: 
http://www.nabble.com/What-%3Cinit-param%3E-i-can-use-in-web.xml-when-I-use-extentionFilter--tf3374977.html#a9492493
Sent from the MyFaces - Users mailing list archive at Nabble.com.



Re: Help !!! myfaces tomahawk JSF datatable component problem with Spring Web Flow...

2007-03-15 Thread Veit Guna
No, sorry. But can I ask you a counterquestion :)?

Independend of your current problem, how nice does spring webflow play together 
with JSF (myfaces)? I read about some problems in the webflow jira concerning 
JSF. Which version do you use? How well does it handle the browser navigation 
buttons with jsf? Is it easy to handle (more configuration than programming)?

Veit


 Original-Nachricht 
Datum: Thu, 15 Mar 2007 03:45:41 -0700 (PDT)
Von: Alex Tian <[EMAIL PROTECTED]>
An: users@myfaces.apache.org
CC: 
Betreff: Help !!! myfaces tomahawk JSF datatable component problem with Spring 
Web Flow...

> 
> Hi everyone,
> I'm a newbie to both Spring web flow and Javaserver faces, recently I've
> encounted a problem with Myfaces Tomahawk JSF datatable component problem
> with SWF.
> 
> I was trying to use Tomahawk's datatable component with AJAX-powered auto
> sorting and pagination. When page's been loaded, the table with the first
> page's data is dislplayed, but when I tried to click some links(e.g.
> fastforward or page number links) on this component, nothing happened... 
> Has anyone tried to integrate Myfaces datatable components with Spring web
> flow ?
> Any help would be appreciated...
> 
> -- 
> View this message in context:
> http://www.nabble.com/Help-%21%21%21-myfaces-tomahawk-JSF-datatable-component-problem-with-Spring-Web-Flow...-tf3407508.html#a9491947
> Sent from the MyFaces - Users mailing list archive at Nabble.com.

-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer


Help !!! myfaces tomahawk JSF datatable component problem with Spring Web Flow...

2007-03-15 Thread Alex Tian

Hi everyone,
I'm a newbie to both Spring web flow and Javaserver faces, recently I've
encounted a problem with Myfaces Tomahawk JSF datatable component problem
with SWF.

I was trying to use Tomahawk's datatable component with AJAX-powered auto
sorting and pagination. When page's been loaded, the table with the first
page's data is dislplayed, but when I tried to click some links(e.g.
fastforward or page number links) on this component, nothing happened... 
Has anyone tried to integrate Myfaces datatable components with Spring web
flow ?
Any help would be appreciated...

-- 
View this message in context: 
http://www.nabble.com/Help-%21%21%21-myfaces-tomahawk-JSF-datatable-component-problem-with-Spring-Web-Flow...-tf3407508.html#a9491947
Sent from the MyFaces - Users mailing list archive at Nabble.com.


Re: inputhidden and backingbean-Solved!

2007-03-15 Thread Brummeline Braaten
Brummeline Braaten  gmail.com> writes:

> 
> How can I get the value of a inputhidden from the backingbean?
> My jsp code is like this:
> 
>  action="#{tabnavigering.velgKategori}">   
>  value="#{rader.categoryName}" id="kategorinavn"/> 
>  value="#{rader.categoryId}" id="kategoriid"/>
>   
> 
> 
> When I click on the commandlink the method velgkategori is invoked. 
I would like
> to find the kategoriid in my bean so that I can use it in other methods. 
How do
> I do that?
> 
> 

I've solved the problem!
The solution is to be found here http://balusc.xs4all.nl/srv/dev-jep-com.html




MyFaces 1.1.5 warning message on console

2007-03-15 Thread Pfau, Oliver
Hi,
 
what is meaning of this message:
 
"WARNING: There should always be a submitted value for an input if it is
rendered, its form is submitted, and it is not disabled or read-only
. Component : <...inputText>"

<...inputText> is an input text field which could be enabled or disabled
by javascript. I have other input text fields without this message. Any
idea ?

Regards,
Oliver


inputhidden and backingbean

2007-03-15 Thread Brummeline Braaten
How can I get the value of a inputhidden from the backingbean?
My jsp code is like this:

 
   




When I click on the commandlink the method velgkategori is invoked. I would like
to find the kategoriid in my bean so that I can use it in other methods. How do
I do that?



Re: [Tobago] Popups background not disabled

2007-03-15 Thread Volker Weber

An iframe with transparent background?
I thought this is impossible. I had needed this on other places an
tryed without success.
I thought i had asked you before, obviously not.

btw: can you take a look at TOBAGO-213? I tryed without succes to hide
the selects with an iframe underlying the header.


Regards,
 Volker

2007/3/15, Arvid Hülsebus <[EMAIL PROTECTED]>:

I have built a solution with IFRAMEs which works in IE6 a long time ago.
I will try to make a minimal example.

Regards,
Arvid

Volker Weber wrote:
> Hi,
>
> The second problem (listboxes are not diabled in IE < 7) could afaik
> only solved by the iframe trick. An this is imho not an option,
> because this did not grey out the background but hide it completly.
>
> Regards,
>  Volker
>
> 2007/3/15, Bernd Bohmann <[EMAIL PROTECTED]>:
>> Hello Helmut,
>>
>> can you add an jira issue for this, please.
>>
>> Regards
>>
>> Bernd
>>
>> H. Swaczinna wrote:
>> > No, sorry, we can't switch to IE 7. I would be happier if we could...
>> >
>> > Regards
>> > Helmut
>> >
>> >
>> >> BTW, the same is true for the progress effect used for page
>> transitioning.
>> >>
>> >> Is switching to IE 7 an option?
>> >>
>> >> Regards,
>> >> Arvid
>> >>
>> >> Arvid Hülsebus wrote:
>> >>> In a different project I installed something like a keyboard event
>> >>> sink to avoid this. I will try to work this out together with Udo.
>> >>>
>> >>> The select control problem doesn't exist in IE 7. For IE 6 we didn't
>> >>> include an IFRAME hack up to now to hide the select controls.
>> This was
>> >>> a known issue, which we somehow forgot to fix.
>> >>>
>> >>> Best regards,
>> >>> Arvid
>> >>>
>> >>> H. Swaczinna wrote:
>>  Hi,
>> 
>>  when the page shows a popup the background page is grayed and
>>  you can't activate any component by mouse. But you can activate
>>  any component by keyboard when you use the tab key. You can execute
>>  actions and modifiy fields. This is the serious problem because our
>>  customers users used to work more by keyboard than by mouse.
>>  With the IE there's another problem. Listboxes aren't disabled
>> at all.
>>  You can pick entries by mouse.
>> 
>>  Regards
>>  Helmut
>> 
>> 
>> >
>>



Re: Problem with t:selectItems

2007-03-15 Thread Gerald Müllan

Hi,

sure, you only have to initialize the selectedItems Array with the
corresponding Goups/Ids which have to be checked.

cheers,

Gerald

On 3/15/07, Wiebke Henrici <[EMAIL PROTECTED]> wrote:

Hi,

thank you very much for this answer. It works now :-)
Now I have one more question: When I display the checkboxes, I would like to 
have the groups, my object is associated with, checked. Right now, I read 
simply all groups from the database for the checkboxes, but it would be nice if 
the user could see which groups already belong to the object. Is there any 
possibility to do this?

Wiebke

> -Ursprüngliche Nachricht-
> Von: Gerald Müllan [mailto:[EMAIL PROTECTED]
> Gesendet: Mittwoch, 14. März 2007 16:55
> An: MyFaces Discussion
> Betreff: Re: Problem with t:selectItems
>
> Hi,
>
> this component is a nice counterpart to returning back a list of
> SelectItems in your model bean code.
>
> So, what you actually need is a label and a value for each entry in
> the list, which in turn is exactly the same as filling a list of
> SelectItems.
>
> You are right with your first try when writing
> itemValue="#{Group.id}". The itemValue must be a unique identifier for
> mapping the value to a group object after the response in order to
> know which entry (or entries) has (have) been choosen.
>
> So, the expected type given in the value field (selectedItems in your
> case) has to be the same as the itemValue type. E.g. Group.id is a
> Long, so selectedItems has to be of type Long[]. In case of a
> SelectOne component it would be simply a Long.
>
> Just generate setters and getters for the value field, and this should
> do the trick.
>
> Hope this helps,
>
> cheers - Gerald
>
> On 3/14/07, Wiebke Henrici <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I want to use t:selectItems within a t:selectManyCheckbox. My problem is
> > that I always get a validation error saying that the value is not valid.
> >
> > My JSP:
> >  > value="#{sensorBacker.selectedItems}" layout="pageDirection"
> > layoutWidth="3">
> >  > itemLabel="#{Group.name}" itemValue="#{Group.id}" />
> > 
> >
> > The definition of sensorBacker.selectedItems and sensorBacker.groups:
> > private Collection groups;
> > private ArrayList selectedItems = new ArrayList();
> >
> > When I load my JSP, I fill groups with:
> > groups = remoteReader.readAllGroups();
> > This works alright, there is one checkbox per group.
> >
> > I am not really sure what to use as itemValue in the t:selectItems. I
> > tried with "Group", this didn't work either and gave the same error.
> > I tried with Group.name, this gave no validation error but a
> > ClassCastException in my backing when I tried to do a loop like that:
> >
> > for (GroupBean group: selectedItems){
> > (some debugging output here)
> > }
> >
> > Can anyone tell me what kind of value has to be there for itemValue? Or
> > what else am I doing wrong?
> >
> > Wiebke
> >
>
>
> --
> http://www.irian.at
>
> Your JSF powerhouse -
> JSF Consulting, Development and
> Courses in English and German
>
> Professional Support for Apache MyFaces




--
http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces


Re: [Tobago] Popups background not disabled

2007-03-15 Thread Arvid Hülsebus
I have built a solution with IFRAMEs which works in IE6 a long time ago. 
I will try to make a minimal example.


Regards,
Arvid

Volker Weber wrote:

Hi,

The second problem (listboxes are not diabled in IE < 7) could afaik
only solved by the iframe trick. An this is imho not an option,
because this did not grey out the background but hide it completly.

Regards,
 Volker

2007/3/15, Bernd Bohmann <[EMAIL PROTECTED]>:

Hello Helmut,

can you add an jira issue for this, please.

Regards

Bernd

H. Swaczinna wrote:
> No, sorry, we can't switch to IE 7. I would be happier if we could...
>
> Regards
> Helmut
>
>
>> BTW, the same is true for the progress effect used for page 
transitioning.

>>
>> Is switching to IE 7 an option?
>>
>> Regards,
>> Arvid
>>
>> Arvid Hülsebus wrote:
>>> In a different project I installed something like a keyboard event
>>> sink to avoid this. I will try to work this out together with Udo.
>>>
>>> The select control problem doesn't exist in IE 7. For IE 6 we didn't
>>> include an IFRAME hack up to now to hide the select controls. 
This was

>>> a known issue, which we somehow forgot to fix.
>>>
>>> Best regards,
>>> Arvid
>>>
>>> H. Swaczinna wrote:
 Hi,

 when the page shows a popup the background page is grayed and
 you can't activate any component by mouse. But you can activate
 any component by keyboard when you use the tab key. You can execute
 actions and modifiy fields. This is the serious problem because our
 customers users used to work more by keyboard than by mouse.
 With the IE there's another problem. Listboxes aren't disabled 
at all.

 You can pick entries by mouse.

 Regards
 Helmut


>



Re: Tomahawk release plans?

2007-03-15 Thread Matthias Wessendorf

Mike, Jeff;

For a Tomahawk², which should cover JSF 1.2 efforts of Tomahawk (and a
clean up?) I'd like to see the Trinidad stuff used.

-M

On 3/14/07, Jeff Bischoff <[EMAIL PROTECTED]> wrote:

Yeah I'm really hopeful that the code generation stuff from Trinidad, as
well as all the effort in that area going on in the 1.2 branch, will be
a big boon to the future facelets support.

Mike Kienenberger wrote:
> I know that one of the biggest hold-ups for me is that I don't know
> enough about Maven to set up a tomahawk-facelets module for dealing
> with it.
>
> The second issue is getting a form of code generation up and running
> to handle all of the configuration files.  This might be in place by
> this point, but even if it wasn't, Trinidad has a good solution in
> place that could be ported over to deal with code generation issues.
>
> Once the infrastructure was in place, it'd be a lot easier to address
> all of the issues for individual components.
>
> On 3/14/07, Jeff Bischoff <[EMAIL PROTECTED]> wrote:
>> I agree, it would be great if that were part of the distro. Problem is,
>> Facelets still isn't officially supported by Tomahawk, and thus
>> developers don't have to ensure their components will work in Facelets,
>> let alone provide the configuration and handler classes. Seems like a
>> huge number of the userbase is already using or migrating to Facelets,
>> though, so I would expect to see Facelet support improve over time. This
>> is, of course, a community project!
>>
>> Tis said that to move a mountain, one must begin by carrying small
>> stones. To that end, every little bit helps - like updating the wiki, or
>> providing little patches to improve facelets compatibility (such as
>> TOMAHAWK-914). Maybe soon we can get it where everything works great out
>> of the box. :D
>>
>> Regards,
>>
>> Jeff Bischoff
>> Kenneth L Kurz & Associates, Inc.
>>
>> Jörn Zaefferer wrote:
>> > Ok, good to know someone is working on that. Still, it seems like a
>> good
>> > idea to stuff that into the official release, "forcing" every
>> commiter to
>> > provide the necessary  descriptions or even custom tag handlers. In
>> most
>> > cases, its only three or four lines of xml, nothing compared to the
>> > tld-effort.
>> >
>> > I can't imagine to use JSF ever again without Facelets... It just
>> doesn't
>> > make any sense ;)
>> >
>> > On 3/14/07, Jeff Bischoff <[EMAIL PROTECTED]> wrote:
>> >>
>> >> When I say "update the Wiki" here, I am specifically talking about the
>> >> taglib.xml mantained there.
>> >>
>> >> Jeff Bischoff wrote:
>> >> > Jörn,
>> >> >
>> >> > AFAIK, no. I'm not a committer, but I do monitor the dev list pretty
>> >> > closely.
>> >> >
>> >> > I do, however, plan to help update the Wiki to make sure it is
>> >> > up-to-date with the new components, following the release. Any
>> help is
>> >> > welcome and appreciated! :)
>> >> >
>> >> > Regards,
>> >> >
>> >> > Jeff Bischoff
>> >> > Kenneth L Kurz & Associates, Inc.
>> >> >
>> >> > Jörn Zaefferer wrote:
>> >> >> Good to know that a released is coming soon.
>> >> >>
>> >> >> Any idea if it is planned to include the
>> tomahawk-facelets-taglib.xml
>> >> >> in the
>> >> >> release?
>> >> >>
>> >> >> On 3/14/07, Gerald Müllan <[EMAIL PROTECTED]> wrote:
>> >> >>>
>> >> >>> Hi,
>> >> >>>
>> >> >>> on the dev-list there is an actual discussion about the
>> release. It
>> >> >>> should hopefully occur within the next 2 weeks.
>> >> >>>
>> >> >>> cheers,
>> >> >>>
>> >> >>> Gerald
>> >> >>>
>> >> >>> On 3/13/07, GUILLEMOT Simon <[EMAIL PROTECTED]> wrote:
>> >> >>> >
>> >> >>> > I'm also interested to known when the next release is planned.
>> >> >>> > More next month or more next week :)
>> >> >>> >
>> >> >>> > Thx,
>> >> >>> >
>> >> >>> >
>> >> >>> >
>> >> >>> > -Message d'origine-
>> >> >>> > De : Ronald Johnson [mailto:[EMAIL PROTECTED]
>> >> >>> > Envoyé : mardi 13 mars 2007 10:26
>> >> >>> > À : users@myfaces.apache.org
>> >> >>> > Objet : Tomahawk release plans?
>> >> >>> >
>> >> >>> > Hi,
>> >> >>> >
>> >> >>> > I could not find any roadmap for the Tomahawk versions 1.1.4 /
>> >> 1.1.5
>> >> .
>> >> >>> > When will these be released?
>> >> >>> >
>> >> >>> > cheers
>> >> >>> >
>> >> >>> >
>> >> >>> > This message contains information that may be privileged or
>> >> >>> confidential
>> >> >>> and is the property of the Capgemini Group. It is intended only
>> for
>> >> the
>> >> >>> person to whom it is addressed. If you are not the intended
>> >> >>> recipient,  you
>> >> >>> are not authorized to read, print, retain, copy, disseminate,
>> >> >>> distribute,
>> >> >>> or use this message or any part thereof. If you receive this
>> message
>> >> in
>> >> >>> error, please notify the sender immediately and delete all
>> copies of
>> >> >>> this
>> >> >>> message.
>> >> >>> >
>> >> >>> >
>> >> >>>
>> >> >>>
>> >> >>> --
>> >> >>> http://www.irian.at
>> >> >>>
>> >> >>> Your JSF powerhouse -
>> >> >>> JSF Consulting, Development and
>> >> >>> 

Re: [Tobago] Popups background not disabled

2007-03-15 Thread Volker Weber

Hi,

The second problem (listboxes are not diabled in IE < 7) could afaik
only solved by the iframe trick. An this is imho not an option,
because this did not grey out the background but hide it completly.

Regards,
 Volker

2007/3/15, Bernd Bohmann <[EMAIL PROTECTED]>:

Hello Helmut,

can you add an jira issue for this, please.

Regards

Bernd

H. Swaczinna wrote:
> No, sorry, we can't switch to IE 7. I would be happier if we could...
>
> Regards
> Helmut
>
>
>> BTW, the same is true for the progress effect used for page transitioning.
>>
>> Is switching to IE 7 an option?
>>
>> Regards,
>> Arvid
>>
>> Arvid Hülsebus wrote:
>>> In a different project I installed something like a keyboard event
>>> sink to avoid this. I will try to work this out together with Udo.
>>>
>>> The select control problem doesn't exist in IE 7. For IE 6 we didn't
>>> include an IFRAME hack up to now to hide the select controls. This was
>>> a known issue, which we somehow forgot to fix.
>>>
>>> Best regards,
>>> Arvid
>>>
>>> H. Swaczinna wrote:
 Hi,

 when the page shows a popup the background page is grayed and
 you can't activate any component by mouse. But you can activate
 any component by keyboard when you use the tab key. You can execute
 actions and modifiy fields. This is the serious problem because our
 customers users used to work more by keyboard than by mouse.
 With the IE there's another problem. Listboxes aren't disabled at all.
 You can pick entries by mouse.

 Regards
 Helmut


>



AW: Problem with t:selectItems

2007-03-15 Thread Wiebke Henrici
Hi,

thank you very much for this answer. It works now :-) 
Now I have one more question: When I display the checkboxes, I would like to 
have the groups, my object is associated with, checked. Right now, I read 
simply all groups from the database for the checkboxes, but it would be nice if 
the user could see which groups already belong to the object. Is there any 
possibility to do this?

Wiebke

> -Ursprüngliche Nachricht-
> Von: Gerald Müllan [mailto:[EMAIL PROTECTED]
> Gesendet: Mittwoch, 14. März 2007 16:55
> An: MyFaces Discussion
> Betreff: Re: Problem with t:selectItems
> 
> Hi,
> 
> this component is a nice counterpart to returning back a list of
> SelectItems in your model bean code.
> 
> So, what you actually need is a label and a value for each entry in
> the list, which in turn is exactly the same as filling a list of
> SelectItems.
> 
> You are right with your first try when writing
> itemValue="#{Group.id}". The itemValue must be a unique identifier for
> mapping the value to a group object after the response in order to
> know which entry (or entries) has (have) been choosen.
> 
> So, the expected type given in the value field (selectedItems in your
> case) has to be the same as the itemValue type. E.g. Group.id is a
> Long, so selectedItems has to be of type Long[]. In case of a
> SelectOne component it would be simply a Long.
> 
> Just generate setters and getters for the value field, and this should
> do the trick.
> 
> Hope this helps,
> 
> cheers - Gerald
> 
> On 3/14/07, Wiebke Henrici <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I want to use t:selectItems within a t:selectManyCheckbox. My problem is
> > that I always get a validation error saying that the value is not valid.
> >
> > My JSP:
> >  > value="#{sensorBacker.selectedItems}" layout="pageDirection"
> > layoutWidth="3">
> >  > itemLabel="#{Group.name}" itemValue="#{Group.id}" />
> > 
> >
> > The definition of sensorBacker.selectedItems and sensorBacker.groups:
> > private Collection groups;
> > private ArrayList selectedItems = new ArrayList();
> >
> > When I load my JSP, I fill groups with:
> > groups = remoteReader.readAllGroups();
> > This works alright, there is one checkbox per group.
> >
> > I am not really sure what to use as itemValue in the t:selectItems. I
> > tried with "Group", this didn't work either and gave the same error.
> > I tried with Group.name, this gave no validation error but a
> > ClassCastException in my backing when I tried to do a loop like that:
> >
> > for (GroupBean group: selectedItems){
> > (some debugging output here)
> > }
> >
> > Can anyone tell me what kind of value has to be there for itemValue? Or
> > what else am I doing wrong?
> >
> > Wiebke
> >
> 
> 
> --
> http://www.irian.at
> 
> Your JSF powerhouse -
> JSF Consulting, Development and
> Courses in English and German
> 
> Professional Support for Apache MyFaces


Re: [Tobago] Popups background not disabled

2007-03-15 Thread Bernd Bohmann

Hello Helmut,

can you add an jira issue for this, please.

Regards

Bernd

H. Swaczinna wrote:

No, sorry, we can't switch to IE 7. I would be happier if we could...

Regards
Helmut



BTW, the same is true for the progress effect used for page transitioning.

Is switching to IE 7 an option?

Regards,
Arvid

Arvid Hülsebus wrote:
In a different project I installed something like a keyboard event 
sink to avoid this. I will try to work this out together with Udo.


The select control problem doesn't exist in IE 7. For IE 6 we didn't 
include an IFRAME hack up to now to hide the select controls. This was 
a known issue, which we somehow forgot to fix.


Best regards,
Arvid

H. Swaczinna wrote:

Hi,

when the page shows a popup the background page is grayed and
you can't activate any component by mouse. But you can activate
any component by keyboard when you use the tab key. You can execute
actions and modifiy fields. This is the serious problem because our
customers users used to work more by keyboard than by mouse.
With the IE there's another problem. Listboxes aren't disabled at all.
You can pick entries by mouse.

Regards
Helmut