<< 28-August-2008 : bevinbot on ##jsf at freenode [download] [back] >>
 
 
time nick message

02:37

<jdlee>

my header facet's not showing up in my dataTable :(

02:50

<edburns>

~seen rlubke

02:50

<javabot>

edburns, At 8/27/08 6:12 PM rlubke said: anyone know of a way to configure a timeout for connecting to a repository when gathering dependencies using maven2?

03:09

<jdlee>

edburns: ryan can't make it on to irc. he wants to know if he should call

03:15

<edburns>

jdlee: Really? That would be great.

03:15

<edburns>

jdlee: I love this community!

03:15

<jdlee>

okie dokie

03:16

<edburns>

I don't know how you come by this information, some non-IRC IM?

03:18

<edburns>

jdlee: Hello?

03:20

<jdlee>

edburns: sorry... Yahoo IM, think

03:20

<jdlee>

he might have walked away, but i passed the message along :)

03:22

<jdlee>

speaking of walking away, it's time to watch The Greatest American Dog with my wife, then more JSFOne prep work until unseemly hours of the night... :)

03:22

<edited>

when is JSFOne?

03:22

<jdlee>

next week

03:22

<jdlee>

9/4-9/6 in Virginia, USA :)

03:22

<jdlee>

http://jsfone.com

03:23

<jdlee>

lots of smart people presenting. and me.. hehe

03:23

<jdlee>

self-deprecation++

03:23

<jdlee>

8-)

03:23

<jdlee>

biab

06:29

<cofeineSunshine>

good morning people

07:25

<AdrienC>

hi

07:29

<cofeineSunshine>

howdy

07:29

<cofeineSunshine>

wanna see high russian goverment person?

07:29

<cofeineSunshine>

http://www.youtube.com/watch?v=VGV25M2kpfM

09:57

<b52deb_>

ppl any step by step jsf book ?

11:38

<redrebel_>

I have a table populated by a database. I want to add a column that has a button for each row

11:39

<redrebel_>

how do I extract that row when the button is clicked?

11:39

<redrebel_>

I'm using netbeans woodstock components

12:13

<acidjnk>

redrebel__, one way is to inject the whole table to a backing bean, then access the current row with getRowData or similar.

12:13

<acidjnk>

with a binding

12:36

<edburns>

PHEW!

12:49

<vezzoni>

morning

12:49

<cofeineSunshine>

redrebel__: another way is add <f:setPropertyActionListener> to commandButton, and provide currentRow value, or elements ID

12:52

<cofeineSunshine>

before this i have been using a commandLink with atached <f:param/>. It simply sets request parameter

13:13

<jdlee>

mornin'

13:13

<edburns>

jdlee: Hello.

13:13

<edburns>

jdlee: As evidence of our slowing economy here in the U.S.A., a conference I was supposed to speak at in San Jose in October was just "rescheduled" to February.

13:14

<edburns>

jdlee: Do you have any concrete evidence in your life that supports the claims that the economy is slowing?

13:14

<edburns>

jdlee: If I may ask, of course.

13:14

<edburns>

jdlee: I mean, have you seen anything FIRST HAND to support the oft sensationalized claims one hears in the corporate media?

13:15

<dragonOfTheWest>

I'm riding my bike to work, and I don't want to -- does that count as evidence?

13:15

<edburns>

dragonOfTheWest: Sure does.

13:16

<edburns>

dragonOfTheWest: How far is the ride, and how hot is it outside?

13:16

<dragonOfTheWest>

Here in Salt Lake City it's about 67F when I ride in, and it's about a 1/2 bike ride.

13:16

<dragonOfTheWest>

1/2 hour*

13:17

<dragonOfTheWest>

but about a month ago it was pretty hot.

13:23

<jdlee>

jdlee: tbh, i don't have any real first hand experience. we've been nelst enough that I haven't felt (or at least noticed) just a whole lot

13:23

<jdlee>

beyond gas and the like, but, like I said, we've been blessed enough to have enough cushion that those things aren't too painful

13:40

<jdlee>

edburns_away: fwiw, here's Jonah Goldberg's take on the economy:

13:41

<jdlee>

I've been watching the Democratic Convention closely, so I know for a fact the American dream has been delivered vicious beat down and the economy is little better than North Korea's. So how come the government just announced the economy grew at 3.3% last quarter?

13:41

<jdlee>

hehe

14:00

<raydecampo>

Government numbers are lies

14:05

<raydecampo>

If they calculated inflation by the formula in use in the 70s we would have double digit inflation

14:06

<jdlee>

maybe that formula was flawed?

14:06

<jdlee>

like the GNP vs GDP thing?

14:06

<jdlee>

jdlee is not an economist :P

14:06

<raydecampo>

Neither am I

14:06

<raydecampo>

Let me see if I can find the article on it

14:13

<raydecampo>

I can't find the original article I read but this one seems pretty similar: http://www.investorsadv.com/market-commentary/by-matt/the-cpi-lie/

14:16

<raydecampo>

I wish I could find the original article it had a chart with the inflation numbers using the three different formulas over the past few decades

14:16

<raydecampo>

Each time they change it inflation goes down

14:16

<jdlee>

magic! :)

14:44

<TOV_>

dragonOfTheWest: Hi are you here?

14:44

<dragonOfTheWest>

TOV_: yup

14:44

<TOV_>

dragonOfTheWest: I have gott a lttle problem with acegi

14:45

<TOV_>

dragonOfTheWest: ??? ??? ???? ??,

14:45

<TOV_>

dragonOfTheWest: can you help me?

14:45

<dragonOfTheWest>

TOV_: I'll try

14:45

<TOV_>

ok thanx

14:46

<TOV_>

dragonOfTheWest: the problem is its seems to me that accessDecisionManager doesnt work in common

14:46

<TOV_>

I attached acegi sources

14:46

<TOV_>

And my login page doesnt work

14:46

<TOV_>

any password/login is wrong

14:47

<TOV_>

<property name="usersByUsernameQuery">

14:47

<TOV_>

<value>

14:47

<TOV_>

select users_id as username,password, enabled

14:47

<TOV_>

from users_id

14:47

<TOV_>

where user_id=?

14:47

<TOV_>

</value>

14:47

<TOV_>

</property>

14:47

<TOV_>

I enter valid login/pass

14:47

<TOV_>

and been redirected to error page

14:47

<dragonOfTheWest>

~tell TOV_ about pastebin

14:47

<javabot>

TOV_, http://rifers.org/paste

14:47

<TOV_>

ok sorry

14:48

<TOV_>

http://rifers.org/paste/show/7987

14:48

<TOV_>

SO I attached sources

14:48

<TOV_>

UnanimousBased.java

14:48

<TOV_>

there is method called "decide"

14:49

<TOV_>

I added there breakpoint

14:49

<TOV_>

And this breakpoint have never launched

14:49

<jottinger>

re

14:50

<jdlee>

jottinger: hey

14:50

<dragonOfTheWest>

TOV_: should the users_id be user_id?

14:50

<jottinger>

added two things to the qotd today... "show all classes in package X" and date parsing :)

14:51

<dragonOfTheWest>

TOV_: in the select

14:52

<TOV_>

dragonOfTheWest mm what you mean? my table for users called users_id and there is a field named user_id

14:52

<dragonOfTheWest>

TOV_: select user_id as username instead of select users_id as username

14:55

<TOV_>

dragonOfTheWest oh sorry but I think that throuble not in this

14:56

<dragonOfTheWest>

TOV_: right, I'm just pointing that out

14:56

<dragonOfTheWest>

TOV_: so, can you paste your config.xml

14:57

<TOV_>

dragonOfTheWest no i changed user_id it didnt helped

14:57

<TOV_>

moment

14:57

<TOV_>

dragonOfTheWest which config?

14:57

<TOV_>

dragonOfTheWest spring?

14:58

<dragonOfTheWest>

TOV_: yep

15:00

<TOV_>

http://www.papernapkin.org/pastebin/view/2458/

15:00

<dragonOfTheWest>

dragonOfTheWest looking

15:01

<TOV_>

http://www.papernapkin.org/pastebin/view/2459/

15:01

<TOV_>

last right

15:03

<TOV_>

dragonOfTheWest: probably it can be situation with contexts files

15:03

<TOV_>

dragonOfTheWest: I include my authContext.xml in applicationContext.xml

15:03

<TOV_>

not in servlet context

15:03

<TOV_>

I read that this is right

15:04

<TOV_>

But is seems that acegi doesnt work

15:04

<TOV_>

May be smth listener was not configured or smth else

15:07

<dragonOfTheWest>

TOV_: are you getting errors in your server log on startup?

15:07

<TOV_>

nothing

15:07

<TOV_>

everything is file

15:07

<TOV_>

no exceptions no messages

15:07

<dragonOfTheWest>

and when you try and login -- what happens?

15:08

<TOV_>

I am redirecting to the error page

15:08

<TOV_>

in any case

15:08

<dragonOfTheWest>

is the sql query being called?

15:08

<TOV_>

Where I can see it?

15:09

<TOV_>

I thought that its in decide method

15:09

<TOV_>

"decide"

15:09

<TOV_>

But this method never invokes

15:09

<TOV_>

breakpoints never accesses

15:10

<dragonOfTheWest>

dragonOfTheWest still thinking and looking

15:10

<TOV_>

But where I can see whether query called or not?

15:11

<TOV_>

TOV_ wil be avail in 5 mins

15:18

<dragonOfTheWest>

TOV_: usually there's a setting in your jdbc properties file that let's you turn on the output of the sql being generated

15:19

<dragonOfTheWest>

TOV_: other than that, nothing jumps out at me. I would change what you have for httpSessionContextIntegrationFilter to this, until you get it working. http://www.papernapkin.org/pastebin/view/2460/

15:19

<dragonOfTheWest>

TOV_: it just seems safer.

15:20

<dragonOfTheWest>

TOV_: can you pastebin your web.xml as well?

15:27

<SummerWO>

I'm using a valueChangeListener to recognize when a h:selectBooleanCheckbox changes state.. Unfortunately it only fires on a check, not on an uncheck.. Is there something I must do?

15:39

<jdlee>

wow.. deja vu

15:39

<jdlee>

:)

15:39

<jdlee>

pastebin your page

15:42

<SummerWO>

=)

15:43

<SummerWO>

I wish I could, it's on another computer. I can retype parts of it..

15:44

<SummerWO>

Is there a pastebin for this channel?

15:46

<jottinger>

jdlee: any comments on the immediate thing?

15:48

<TOV_>

dragonOfTheWest: Hi I am back

15:49

<TOV_>

dragonOfTheWest thats my web.xml

15:49

<TOV_>

http://www.papernapkin.org/pastebin/view/2461/

15:49

<SummerWO>

http://pastebin.com/m2d132025

15:49

<SummerWO>

Sorry.. I did that before Isaw the link.

15:49

<TOV_>

I have changed bean as you said-no effect

15:50

<SummerWO>

jdlee: If you'd like more of the page, please let me know.

15:52

<jdlee>

SummerWO: ooh... that's inside a table, which makes things trickier

15:52

<jdlee>

jottinger: i haven't had a chance to read it closely

15:54

<TOV_>

dragonOfTheWest: can you see it?

15:54

<dragonOfTheWest>

TOV_: yes, and it looks fine to me

15:54

<TOV_>

ok thanx

15:54

<dragonOfTheWest>

TOV_: I don't know what else to try -- gl

15:54

<TOV_>

but in this case I cant understand whats wrong

15:54

<TOV_>

ok np thanks

15:55

<dragonOfTheWest>

TOV_: yeah, it's hard to find what's not working, when you're not getting feedback from anything in your logs

15:55

<TOV_>

yes

15:55

<dragonOfTheWest>

TOV_: let me know when you figure it out

15:55

<SummerWO>

jdlee: What must I do differently inside a table? I didn't realize it was more complicated.

15:55

<TOV_>

ok course thanks

15:56

<SummerWO>

Should I put the <h:form> just around the checkboxes as opposed to the entire table?

15:58

<nikolaj_a>

Hi guys.

16:00

<SummerWO>

The latter did not work.. ugh.. I'd like this to work right!

16:01

<TOV_>

hehehe

16:01

<TOV_>

PreparedStatementCallback; bad SQL grammar [SELECT username,password,enabled FROM users WHERE username = ?]

16:01

<TOV_>

dragonOfTheWest: you see? thats acegi debug

16:02

<TOV_>

but why there is users table I have configured it for users_id table

16:02

<TOV_>

looks like spring ignoring my parameters and beans

16:04

<SummerWO>

jdlee: I'm not trying to push you.. Just curious if you're still available to help?

16:05

<jdlee>

SummerWO: gimme just a few minutes...

16:06

<SummerWO>

No problem! Just checking. Thank yo.

16:11

<SummerWO>

The next question is how do I figure out which checkbox was selected.. Which row.. Which Item do I need to update..

16:16

<dragonOfTheWest>

TOV_: ah -- at least you have something to work from :)

16:16

<TOV_>

yes

16:17

<TOV_>

It want to see users table or simply it could not eat my spring beans

16:17

<TOV_>

My users table called users_id

16:17

<TOV_>

I dont want to call it like users

16:17

<TOV_>

"users"

16:18

<TOV_>

I attached acegi sources and began to debug

16:18

<TOV_>

It says me that mydb.users table doesnt exist

16:18

<TOV_>

and thats right

16:18

<TOV_>

there is no users table in my db

16:19

<TOV_>

but there is users_id table there

16:21

<TOV_>

I renamed table to users

16:21

<TOV_>

but now it needs columns named like username password and enabled

16:21

<TOV_>

I cant understand this is a right acegi situation or smth wrong in spring?

16:22

<TOV_>

I have specified sql to authorise in spring config

16:22

<TOV_>

Why it tries to execute default sql?

16:28

<SummerWO>

jdlee: If I run out for about an hour, will you still be here? I'm anxious to learn how to do this.. But I do need to take care of something..

16:32

<jdlee>

i'll be here all day (until 5pm CST at least and probably later)

16:33

<SummerWO>

Okay, I'll be back in a little. Mind if I msg you my email just in case I miss your response?

16:36

<jdlee>

no problem

16:39

<nikolaj_a>

nikolaj_a eyes jdlee loading his spam cannon.

16:39

<jdlee>

hahaha

16:40

<nikolaj_a>

:D

16:40

<SummerWO>

I'm still here.

16:40

<SummerWO>

=)

Drone v1.4 © 2002-2005 Uwyn RIFE powered